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

 Copyright Google LLC All Rights Reserved.

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


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

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

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

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

 The MIT License

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

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

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

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

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

 Copyright Google LLC All Rights Reserved.

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

 SPDX-License-Identifier: Apache-2.0
*/
var f,aa=function(a,b){if(Error.captureStackTrace)Error.captureStackTrace(this,aa);else{var c=Error().stack;c&&(this.stack=c)}a&&(this.message=String(a));void 0!==b&&(this.cause=b);this.reportErrorToServer=!0},aaa=function(a,b){a=a.split("%s");for(var c="",d=a.length-1,e=0;e<d;e++)c+=a[e]+(e<b.length?b[e]:"%s");aa.call(this,c+a[d])},baa=function(a){ba.setTimeout(function(){throw a;},0)},ca=function(){var a=ba.navigator;return a&&(a=a.userAgent)?a:""},caa=function(a){return da?ea?ea.brands.some(function(b){return(b=
b.brand)&&fa(b,a)}):!1:!1},ha=function(a){return fa(ca(),a)},ia=function(){return da?!!ea&&0<ea.brands.length:!1},daa=function(){return ia()?!1:ha("Opera")},eaa=function(){return ia()?!1:ha("Trident")||ha("MSIE")},faa=function(){return ia()?!1:ha("Edge")},gaa=function(){return ia()?caa("Microsoft Edge"):ha("Edg/")},haa=function(){return ha("Firefox")||ha("FxiOS")},jaa=function(){return ha("Safari")&&!(iaa()||(ia()?0:ha("Coast"))||daa()||faa()||gaa()||(ia()?caa("Opera"):ha("OPR"))||haa()||ha("Silk")||
ha("Android"))},iaa=function(){return ia()?caa("Chromium"):(ha("Chrome")||ha("CriOS"))&&!faa()||ha("Silk")},kaa=function(){return ha("Android")&&!(iaa()||haa()||daa()||ha("Silk"))},laa=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})]||""}},maa=function(a){var b=ca();if("Internet Explorer"===a){if(eaa())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=laa(c);switch(a){case "Opera":if(daa())return b(["Version","Opera"]);if(ia()?caa("Opera"):ha("OPR"))return b(["OPR"]);break;case "Microsoft Edge":if(faa())return b(["Edge"]);if(gaa())return b(["Edg"]);
break;case "Chromium":if(iaa())return b(["Chrome","CriOS","HeadlessChrome"])}return"Firefox"===a&&haa()||"Safari"===a&&jaa()||"Android Browser"===a&&kaa()||"Silk"===a&&ha("Silk")?(b=c[2])&&b[1]||"":""},naa=function(a){if(ia()&&"Silk"!==a){var b=ea.brands.find(function(c){return c.brand===a});if(!b||!b.version)return NaN;b=b.version.split(".")}else{b=maa(a);if(""===b)return NaN;b=b.split(".")}return 0===b.length?NaN:Number(b[0])},ja=function(){return da?!!ea&&!!ea.platform:!1},oaa=function(){return ja()?
"Android"===ea.platform:ha("Android")},paa=function(){return ha("iPhone")&&!ha("iPod")&&!ha("iPad")},la=function(){return paa()||ha("iPad")||ha("iPod")},qaa=function(){return ja()?"macOS"===ea.platform:ha("Macintosh")},raa=function(){return ja()?"Windows"===ea.platform:ha("Windows")},saa=function(){return ja()?"Chrome OS"===ea.platform:ha("CrOS")},uaa=function(){var a=ca(),b="";raa()?(b=/Windows (?:NT|Phone) ([0-9.]+)/,b=(a=b.exec(a))?a[1]:"0.0"):la()?(b=/(?:iPhone|iPod|iPad|CPU)\s+OS\s+(\S+)/,b=
(a=b.exec(a))&&a[1].replace(/_/g,".")):qaa()?(b=/Mac OS X ([0-9_.]+)/,b=(a=b.exec(a))?a[1].replace(/_/g,"."):"10"):na(ca(),"KaiOS")?(b=/(?:KaiOS)\/(\S+)/i,b=(a=b.exec(a))&&a[1]):oaa()?(b=/Android\s+([^\);]+)(\)|;)/,b=(a=b.exec(a))&&a[1]):saa()&&(b=/(?:CrOS\s+(?:i686|x86_64)\s+([0-9.]+))/,b=(a=b.exec(a))&&a[1]);return 0<=taa(b||"",12)},oa=function(a){return a[a.length-1]},vaa=function(a,b){var c=0;pa(a,function(d,e,g){b.call(void 0,d,e,g)&&++c});return c},waa=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},qa=function(a,b){return 0<=xaa(a,b)},yaa=function(a){if(!Array.isArray(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0},ra=function(a,b){b=xaa(a,b);var c;(c=0<=b)&&zaa(a,b);return c},zaa=function(a,b){Array.prototype.splice.call(a,b,1)},sa=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&&zaa(a,b)},ta=function(a){var b=
a.length;if(0<b){for(var c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]},Aaa=function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(ua(d)){var e=a.length||0,g=d.length||0;a.length=e+g;for(var h=0;h<g;h++)a[e+h]=d[h]}else a.push(d)}},Caa=function(a,b,c,d){return Array.prototype.splice.apply(a,Baa(arguments,1))},Baa=function(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)},Daa=function(a,b,c){b=b||a;var d=function(q){return va(q)?
"o"+xa(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},Faa=function(a,b){a.sort(b||Eaa)},Gaa=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||Eaa;Faa(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},Eaa=function(a,b){return a>b?1:a<b?-1:0},Haa=function(){for(var a=[],b=0;5>b;b+=1)a.push(b);return a},
Iaa=function(a,b,c){b=Array.prototype.splice.call(a,b,1);Array.prototype.splice.call(a,c,0,b[0])},Laa=function(a){if(!Jaa)return Kaa(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)},Naa=function(a){return Maa[a]||""},Qaa=function(a){if(!Jaa)return Oaa(a);Paa.test(a)&&(a=a.replace(Paa,Naa));a=atob(a);for(var b=new Uint8Array(a.length),c=0;c<a.length;c++)b[c]=a.charCodeAt(c);return b},
ya=function(a){return Raa&&null!=a&&a instanceof Uint8Array},Taa=function(){return Saa||(Saa=new Uint8Array(0))},Uaa=function(a,b){var c=a.length;if(c!==b.length)return!1;for(var d=0;d<c;d++)if(a[d]!==b[d])return!1;return!0},Vaa=function(a){return 0==a.length?Aa():new Ca(a,Da)},Waa=function(a){if("string"===typeof a)return{buffer:Qaa(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===Ca)return{buffer:Ea(a)||Taa(),isImmutable:!0};if(a instanceof Uint8Array)return{buffer:new Uint8Array(a.buffer,a.byteOffset,a.byteLength),isImmutable:!1};throw Error("I");},Yaa=function(a){var b=0>a;a=Math.abs(a);var c=a>>>0;a=Math.floor((a-c)/4294967296);b&&(c=k(Xaa(c,a)),b=c.next().value,a=c.next().value,c=b);Fa=c>>>0;Ga=a>>>0},Zaa=function(a,b){return 4294967296*b+(a>>>0)},$aa=function(a,b){var c=b&2147483648;c&&(a=
~a+1>>>0,b=~b>>>0,0==a&&(b=b+1>>>0));a=Zaa(a,b);return c?-a:a},cba=function(a,b){b>>>=0;a>>>=0;if(2097151>=b)var c=""+(4294967296*b+a);else aba?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+bba(c)+bba(a));return c},bba=function(a){a=String(a);return"0000000".slice(a.length)+a},dba=function(a){if(16>a.length)Yaa(Number(a));else if(aba)a=
BigInt(a),Fa=Number(a&BigInt(4294967295))>>>0,Ga=Number(a>>BigInt(32)&BigInt(4294967295));else{var b=+("-"===a[0]);Ga=Fa=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)),Ga*=1E6,Fa=1E6*Fa+d,4294967296<=Fa&&(Ga+=Fa/4294967296|0,Fa%=4294967296);b&&(b=k(Xaa(Fa,Ga)),a=b.next().value,b=b.next().value,Fa=a,Ga=b)}},Xaa=function(a,b){b=~b;a?a=~a+1:b+=1;return[a,b]},Ha=function(a){return Array.prototype.slice.call(a)},Ja=function(a,b){Ia?a[Ia]|=b:void 0!==a.internalArrayState?a.internalArrayState|=
b:Object.defineProperties(a,{internalArrayState:{value:b,configurable:!0,writable:!0,enumerable:!1}})},eba=function(a){var b=La(a);1!==(b&1)&&(Object.isFrozen(a)&&(a=Ha(a)),Oa(a,b|1));return a},fba=function(a,b){Ia?a[Ia]&&(a[Ia]&=~b):void 0!==a.internalArrayState&&(a.internalArrayState&=~b)},La=function(a){var b;Ia?b=a[Ia]:b=a.internalArrayState;return b|0},Oa=function(a,b){Ia?a[Ia]=b:void 0!==a.internalArrayState?a.internalArrayState=b:Object.defineProperties(a,{internalArrayState:{value:b,configurable:!0,
writable:!0,enumerable:!1}});return a},gba=function(a,b){Object.isFrozen(a)&&(a=Ha(a));Oa(a,b);return a},Pa=function(a){Ja(a,1);return a},Qa=function(a){return!!(La(a)&2)},Ra=function(a){Ja(a,18);return a},hba=function(a){Ja(a,16);return a},iba=function(a,b){Oa(b,(a|0)&-51)},jba=function(a,b){Oa(b,(a|18)&-41)},Ta=function(a){return null!==a&&"object"===typeof a&&!Array.isArray(a)&&a.constructor===Object},Va=function(a,b,c){if(null!=a)if("string"===typeof a)a=a?new Ca(a,Da):Aa();else if(a.constructor!==
Ca)if(ya(a))a=c?Vaa(a):a.length?new Ca(new Uint8Array(a),Da):Aa();else{if(!b)throw Error();a=void 0}return a},kba=function(a,b,c){if(!Array.isArray(a)||a.length)return!1;var d=La(a);if(d&1)return!0;if(!b||!b.includes(c))return!1;Oa(a,d|1);return!0},Wa=function(a){lba(La(a.internalArray_))},lba=function(a){if(a&2)throw Error();},Xa=function(a,b){if("number"!==typeof b||0>b||b>=a.length)throw Error();},mba=function(a,b){if("number"!==typeof b||0>b||b>a.length)throw Error();},nba=function(a){return~~a},
oba=function(a){return"number"===typeof a||"NaN"===a||"Infinity"===a||"-Infinity"===a},qba=function(a){return pba(a)},pba=function(a){if("number"!==typeof a)throw Error("J`"+typeof a+"`"+a);return a},Za=function(a){if(null!=a&&"number"!==typeof a)throw Error("K`"+typeof a+"`"+a);return a},rba=function(a){if(null==a)return a;if(oba(a))return Number(a)},ab=function(a){return null==a?a:!!a},sba=function(a){if(null==a)return a;switch(typeof a){case "string":return+a;case "number":return a}},tba=function(a){if(null==
a)return a;switch(typeof a){case "string":return+a;case "number":return a}},uba=function(a){return a},vba=function(a){return null==a?a:a},cb=function(a){return a},db=function(a){return a},wba=function(a){return a},xba=function(a){return a},eb=function(a){return a},yba=function(a){return a},zba=function(a){return a},Bba=function(a,b,c,d){var e=!1;if(null!=a&&"object"===typeof a&&!(e=Array.isArray(a))&&a.messagePrototypeMarker===gb)return a;if(!e)return c?d&2?Aba(b):new b:void 0;e=c=La(a);0===e&&(e|=
d&16);e|=d&2;e!==c&&Oa(a,e);return new b(a)},Aba=function(a){var b=a[Cba];if(b)return b;b=new a;Ra(b.internalArray_);return a[Cba]=b},Dba=function(a){return a},ib=function(a,b,c){return"boolean"===typeof a||"number"===typeof a?!!a:c?!1:void 0},Eba=function(a,b,c){b=typeof a;return"number"===b||"string"===b?nba(a):c?0:void 0},Fba=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},Gba=function(a,b,c){return oba(a)?Number(a):
c?0:void 0},kb=function(a,b,c){return"string"===typeof a?a:c?"":void 0},Hba=function(a,b,c){a=a||{};b=b||{};var d={},e;for(e in a)d[e]=0;for(var g in b)d[g]=0;for(var h in d)if(!isNaN(h)&&!lb(a,h,a[h],b,h,b[h],c,0))return!1;return!0},Iba=function(a,b,c){null!=a&&(a instanceof Map?a.set(b,c):a[b]=c);return c},Jba=function(a,b){if("string"===typeof b)try{b=Qaa(b)}catch(c){return!1}return ya(b)&&Uaa(a,b)},Kba=function(a,b){var c=void 0;if(a.messagePrototypeMarker===gb){var d=a.constructor.repeatedFields_;
c=a.arrayIndexOffset;a=a.internalArray_}b.messagePrototypeMarker===gb&&(d=d||b.constructor.repeatedFields_,c=null==c?b.arrayIndexOffset:c,b=b.internalArray_);return lb(void 0,void 0,a,void 0,void 0,b,d,c)},lb=function(a,b,c,d,e,g,h,l){l=void 0===l?9999:l;if(c===g||null==c&&null==g)return!0;if(c instanceof mb)return Lba(c,g);if(g instanceof mb)return Lba(g,c);if(null==c)return kba(g,h,+b-l);if(null==g)return kba(c,h,+e-l);if(c instanceof Ca)return Mba(c,g,d,e);if(g instanceof Ca)return Mba(g,c,a,b);
if(ya(c))return Jba(c,g);if(ya(g))return Jba(g,c);a=typeof c;b=typeof g;if("object"!==a||"object"!==b)return Number.isNaN(c)||Number.isNaN(g)?String(c)===String(g):"string"===a&&"number"===b||"number"===a&&"string"===b?+c===+g:"boolean"===a&&"number"===b||"number"===a&&"boolean"===b?!c===!g:!1;if(c.messagePrototypeMarker===gb||g.messagePrototypeMarker===gb)return Kba(c,g);if(c.constructor!=g.constructor)return!1;if(c.constructor===Array){b=a=void 0;d=c.length;e=g.length;for(var q=Math.max(d,e),x=
0;x<q;x++){var A=x>=d?void 0:c[x],B=x>=e?void 0:g[x];A&&x==d-1&&Ta(A)&&(a=A,A=void 0);B&&x==e-1&&Ta(B)&&(b=B,B=void 0);null==B&&kba(A,h,x-l)&&(A=void 0);null==A&&kba(B,h,x-l)&&(B=void 0);if(!lb(c,x,A,g,x,B))return!1}return a||b?Hba(a,b,h):!0}if(c.constructor===Object)return Hba(c,g);throw Error();},Nba=function(a,b,c,d,e,g){a=Bba(a,d,c,g);e&&(a=nb(a));return a},Oba=function(a){return a},Pba=function(a,b){if(a.size!=b.size)return!1;var c=!0;a.forEach(function(d,e){lb(a,e,d,b,e,b.get(e))||(c=!1)});
return c},Qba=function(a,b){if(!Array.isArray(a)||!Array.isArray(b))return 0;a=a[0];b=b[0];return a===b?0:a<b?-1:1},Rba=function(a,b){if(null==b)return 0===a.size;if(!Array.isArray(b)||a.size>b.length)return!1;b=Array.prototype.slice.call(b);b.sort(Qba);for(var c=0,d=void 0,e=b.length-1;0<=e;e--){var g=b[e];if(!g||!Array.isArray(g)||2!==g.length)return!1;var h=g[0];if(h!==d){if(!lb(a,h,a.get(h),g,1,g[1]))return!1;d=h;c++}}return c===a.size},Sba=function(a,b,c,d,e){var g=m(a,b,d);Array.isArray(g)||
(g=ob);var h=La(g);h&1||Pa(g);if(e)h&2||Ra(g),c&1||Object.freeze(g);else{e=!(c&2);var l=h&2;c&1||!l?e&&h&16&&!l&&fba(g,16):(g=Pa(Ha(g)),pb(a,b,g,d))}return g},rb=function(a,b,c,d,e){var g=Qa(a.internalArray_),h=Sba(a,b,e||1,d,g),l=La(h);if(!(l&4)){Object.isFrozen(h)&&(h=Pa(Ha(h)),pb(a,b,h,d));for(var q=0,x=0;q<h.length;q++){var A=c(h[q]);null!=A&&(h[x++]=A)}x<q&&(h.length=x);l|=5;g&&(l|=18);Oa(h,l);l&2&&Object.freeze(h)}if(2===e)return h;!g&&(l&2||Object.isFrozen(h))&&(h=Ha(h),Ja(h,5),pb(a,b,h,d));
return h},Tba=function(a){return Va(a,!0,!0)},Uba=function(a){return Va(a,!0,!1)},Xba=function(){return Vba||(Vba=new mb(Ra([]),void 0,void 0,void 0,Wba))},Zba=function(a,b,c,d,e,g){var h=Qa(a.internalArray_);a:{var l=b;b=!1;if(null==l){if(h){a=Xba();break a}l=[]}else if(l.constructor===mb){if(0==(l.arrayState&2)||h){a=l;break a}l=Yba(l)}else Array.isArray(l)?b=Qa(l):l=[];if(h){if(!l.length){a=Xba();break a}b||(b=!0,Ra(l))}else if(b){b=!1;l=Ha(l);for(var q=0;q<l.length;q++){var x=l[q]=Ha(l[q]);Array.isArray(x[1])&&
(x[1]=Ra(x[1]))}}b||(La(l)&32?fba(l,16):La(a.internalArray_)&16&&hba(l));e=new mb(l,d,e,g);pb(a,c,e,!1);a=e}if(null==a)return a;!h&&d&&(a.callToMutableOnAccess=!0);return a},sb=function(a,b,c){return Zba(a,m(a,b),b,void 0,kb,c)},tb=function(a,b,c,d){if(null==c)return n(a,b);var e=La(c);if(!(e&4)){if(e&2||Object.isFrozen(c))c=Ha(c);for(var g=0;g<c.length;g++)c[g]=d(c[g]);Oa(c,e|5)}return n(a,b,c)},ub=function(a,b){pb(a,b,void 0,!1)},vb=function(a,b,c,d){Wa(a);c!==d?pb(a,b,c):ub(a,b);return a},wb=function(a,
b,c,d){Wa(a);b=Sba(a,b,2,void 0,!1);void 0!=d?b.splice(d,0,c):b.push(c);return a},xb=function(a,b,c,d,e){Wa(a);b=e(a,b,!1,2);mba(b,c);b[c]=d;return a},$ba=function(a,b,c,d,e,g){var h=!!(g&2),l=Sba(a,c,1,d,h);if(l===ob||!(La(l)&4)){var q=l;l=!!(g&2);var x=!!(La(q)&2);h=q;!l&&x&&(q=Ha(q));var A=g|(x?2:0);g=x||void 0;for(var B=x=0;x<q.length;x++){var K=Bba(q[x],b,!1,A);void 0!==K&&(g=g||!!(2&La(K.internalArray_)),q[B++]=K)}B<x&&(q.length=B);b=q;q=La(b);A=q|5;g=g?A&-9:A|8;q!=g&&(b=gba(b,g));q=b;h!==q&&
pb(a,c,q,d);(l&&2!==e||1===e)&&Object.freeze(q);return q}if(3===e)return l;h||(h=Object.isFrozen(l),1===e?h||Object.freeze(l):(e=La(l),b=e&-19,h&&(l=Ha(l),e=0,pb(a,c,l,d)),e!==b&&Oa(l,b)));return l},zb=function(a,b,c,d,e,g,h){var l=La(a.internalArray_);lba(l);a=$ba(a,c,b,g,2,l);c=null!=d?d:new c;h&&mba(a,e);void 0!=e?a.splice(e,h,c):a.push(c);c.isImmutable()&&fba(a,8);return c},Ab=function(a,b,c){return vb(a,b,ab(c),!1)},Bb=function(a,b,c){return vb(a,b,c,0)},Cb=function(a,b,c){return vb(a,b,c,0)},
Db=function(a,b){return null==a?b:a},bca=function(a,b){aca=b;a=new a(b);aca=void 0;return a},dca=function(a,b){return cca(b)},cca=function(a){switch(typeof a){case "number":return isFinite(a)?a:String(a);case "boolean":return a?1:0;case "object":if(a&&!Array.isArray(a)){if(ya(a))return Laa(a);if(a instanceof Ca)return Eb(a);if(a instanceof mb)return eca(a)}}return a},fca=function(a,b){for(var c=Ha(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=bca(a.constructor,hba(c));a.internalUnknownFields_&&(b.internalUnknownFields_=Ha(a.internalUnknownFields_));return b},hca=function(a,b,c,d,e,g){if(null!=a){if(Array.isArray(a))a=e&&0==a.length&&La(a)&1?void 0:g&&La(a)&2?a:gca(a,b,c,void 0!==d,e,g);else if(Ta(a)){var h={},l;for(l in a)h[l]=hca(a[l],b,c,d,e,g);a=h}else a=b(a,d);return a}},gca=function(a,b,c,d,e,g){var h=d||c?La(a):0;d=d?!!(h&16):void 0;a=Ha(a);for(var l=0;l<a.length;l++)a[l]=hca(a[l],b,c,d,e,g);c&&c(h,
a);return a},jca=function(a){return hca(a,ica,void 0,void 0,!1,!1)},ica=function(a){return a.messagePrototypeMarker===gb?a.toJSON():a instanceof mb?eca(a,jca):cca(a)},kca=function(a){return gca(a,ica,void 0,void 0,!1,!1)},lca=function(a,b,c){c=void 0===c?jba:c;if(null!=a){if(Raa&&a instanceof Uint8Array)return b?a:new Uint8Array(a);if(Array.isArray(a)){var d=La(a);if(d&2)return a;if(b&&!(d&32)&&(d&16||0===d))return Oa(a,d|18),a;a=gca(a,lca,d&4?jba:c,!0,!1,!0);b=La(a);b&4&&b&2&&Object.freeze(a);return a}a.messagePrototypeMarker===
gb?Qa(a.internalArray_)||(a=mca(a,!0),Ra(a.internalArray_)):a instanceof mb&&(b=Ra(Yba(a,lca)),a=new mb(b,a.valueCtor,a.keyToApi,a.valueToApi));return a}},mca=function(a,b){var c=La(a.internalArray_),d=b||c&2?jba:iba,e=!!(c&16);return fca(a,function(g){return lca(g,e,d)})},nb=function(a){if(!(La(a.internalArray_)&2))return a;var b=mca(a,!1);b.internalCachedImmutable_=a;return b},nca=function(a,b,c){var d=a?a.constructor.repeatedFields_:void 0,e=a.pivot_;if(d){if(!c){b=Ha(b);var g;if(b.length&&Ta(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 x=e[q];null==x?e[q]=c?ob:Pa([]):c&&x!==ob&&eba(x)}else l||(x=void 0,e.length&&Ta(x=e[e.length-1])?l=x:e.push(l={})),x=l[q],null==l[q]?l[q]=c?ob:Pa([]):c&&x!==ob&&eba(x)}}return b},tca=function(a){var b=a[oca];if(!b){var c=pca(a),d=c.messageSetReader;b=d?function(e,g){return d(e,g,c)}:function(e,g){for(;qca(g)&&
4!=g.nextWireType_;){var h=g.nextField_,l=c[h];if(!l){var q=c.extensions;q&&(q=q[h])&&(l=c[h]=rca(q))}if(!l||!l(g,e,h))if(q=g,l=e,h=q.fieldCursor_,sca(q),!q.discardUnknownFields){var x=q.decoder_.getCursor()-h;q.decoder_.cursor_=h;h=q.decoder_.readByteString(x);(q=l.internalUnknownFields_)?q.push(h):l.internalUnknownFields_=[h]}}return e};a[oca]=b}return b},uca=function(a){if(a=a.binaryFieldsInitializer)return tca(a)},rca=function(a){var b=uca(a),c=a.readerWriterSelector.$$binaryReaderFn;if(b){var d=
pca(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)}},vca=function(a,b){var c=a[b];"function"==typeof c&&0===c.length&&(c=c(),a[b]=c);return Array.isArray(c)&&(Gb in c||Hb in c||0<c.length&&"function"==typeof c[0])?c:void 0},wca=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=vca(a,e))?(e++,b[g]=d(l,h)):b[g]=c(l,a[e++]);break;case 2:h=e++;h=vca(a,h);b[g]=d(l,h,a[e++]);break;default:throw Error("V`"+h);}}return b},Aca=function(a){var b=a[xca];if(!b){var c=yca(a);b=function(d,e){return zca(d,e,c)};a[xca]=b}return b},Bca=function(a){return a.$$binaryWriterFn},Cca=function(a,b){var c=Aca(b),d=yca(b).ctor,e=a.$$binaryWriterFn;return function(g,h,l){return e(g,h,l,d,c)}},
yca=function(a){var b=a[Hb];if(b)return b;b=wca(a,a[Hb]={},Bca,Cca);Gb in a&&Hb in a&&(a.length=0);return b},Dca=function(a,b){var c=a.$$binaryReaderFn;return b?function(d,e,g){return c(d,e,g,b)}:c},Eca=function(a,b,c){var d=a.$$binaryReaderFn,e=tca(b),g=pca(b).ctor;return function(h,l,q){return d(h,l,q,g,e,c)}},pca=function(a){var b=a[Gb];if(b)return b;b=wca(a,a[Gb]={},Dca,Eca);Gb in a&&Hb in a&&(a.length=0);return b},Fca=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=Aca(d),h=yca(d).ctor;c=function(l,q,x){return e(l,q,x,h,g)}}else c=e;return a[b]=c}},zca=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&&Ta(l))for(var q in l){var x=+q;if(!Number.isNaN(x)&&null!=l[q]){var A=Fca(c,x);A&&A(b,a,x)}}else l=h-e,(x=Fca(c,l))&&x(b,a,l)}if(a=a.internalUnknownFields_)for(Gca(b,b.encoder_.end()),c=0;c<a.length;c++)Gca(b,
Ea(a[c])||Taa())},Ib=function(a,b){return new Hca(a,b)},Jb=function(a,b,c,d){return new Ica(a,b,c,d)},Kb=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):Jca(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?Kb(g,l):l(g):g}}},Kca=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},Pb=function(a){return null==a?void 0:Array.isArray(a)?a.map(function(b){return Eb(b)}):Eb(a)},Lca=function(a){a=m(a,2);if(null==a)return"";if("string"===typeof a)return a;if(ya(a))return Laa(a);if(Array.isArray(a))return kca(a);if(a instanceof Ca)return Eb(a);if(a instanceof r)return a.toJSON();throw Error("W`"+a);},t=function(a){if(Qa(a.internalArray_))throw Error("Z");
},Mca=function(a){return function(b){b=JSON.parse(b);if(!Array.isArray(b))throw Error("U`"+Qb(b)+"`"+b);Ra(b);return new a(b)}},Rb=function(a){return function(b){return Nca(a,b)}},Sb=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)},Tb=function(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c},Oca=function(a,b){var c={},d;for(d in a)c[d]=b.call(void 0,a[d],d,a);return c},Pca=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1},Qca=function(a){var b=[],
c=0,d;for(d in a)b[c++]=a[d];return b},Rca=function(a,b){return null!==a&&b in a},Sca=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return c},Tca=function(a,b){return(b=Sca(a,b))&&a[b]},Ub=function(a){for(var b in a)return!1;return!0},Uca=function(a){for(var b in a)delete a[b]},Vb=function(a,b){b in a&&delete a[b]},Vca=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},Xca=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<Wca.length;g++)c=Wca[g],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}},Yca=function(a){var b=arguments.length;if(1==b&&Array.isArray(arguments[0]))return Yca.apply(null,arguments[0]);for(var c={},d=0;d<b;d++)c[arguments[d]]=!0;return c},eda=function(a){if(a instanceof Xb)return'url("'+Yb(a).replace(/</g,"%3c").replace(/[\\"]/g,"\\$&")+'")';if(a instanceof Zb)a=$b(a);else{a=String(a);var b=a.replace(Zca,"$1").replace(Zca,"$1").replace($ca,"url");if(ada.test(b)){if(b=
!bda.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&&cda(a)}a=b?dda(a):"zClosurez"}else a="zClosurez"}if(/[{;}]/.test(a))throw new aaa("Value does not allow [{;}], got: %s.",[a]);return a},cda=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},dda=function(a){return a.replace($ca,function(b,c,d,e){var g="";
d=d.replace(/^(['"])(.*)\1$/,function(h,l,q){g=l;return q});b=(fda(d)||gda).getTypedStringValue();return c+g+b+g+e})},hda=function(a,b){return Zone.current.wrap(a,b)},ida=function(a,b){for(var c=a.length-1;0<=c;c--)"function"===typeof a[c]&&(a[c]=hda(a[c],b+"_"+c));return a},kda=function(a){for(var b=["getCurrentPosition","watchPosition"],c=a.constructor.name,d={},e=0;e<b.length;d={$jscomp$loop$prop$name$2249:d.$jscomp$loop$prop$name$2249},e++){d.$jscomp$loop$prop$name$2249=b[e];var g=a[d.$jscomp$loop$prop$name$2249];
if(g){var h=ac(a,d.$jscomp$loop$prop$name$2249);jda(h)&&(a[d.$jscomp$loop$prop$name$2249]=function(l){return function(q){var x=function(){return q.apply(this,ida(arguments,c+"."+l.$jscomp$loop$prop$name$2249))};bc(x,q);return x}}(d)(g))}}},jda=function(a){return a?!1===a.writable?!1:!("function"===typeof a.get&&"undefined"===typeof a.set):!0},oda=function(a,b,c){var d=ac(a,b);!d&&c&&ac(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=lda[h];l||(l=lda[h]=cc("ON_PROPERTY"+h));d.set=function(q){var x=this;x||a!==dc||(x=dc);x&&("function"===typeof x[l]&&x.removeEventListener(h,mda),g&&g.call(x,null),x[l]=q,"function"===typeof q&&x.addEventListener(h,mda,!1))};d.get=function(){var q=this;q||a!==dc||(q=dc);if(!q)return null;var x=q[l];return x?x:e&&(x=e.call(this))?(d.set.call(this,x),"function"===typeof q.removeAttribute&&q.removeAttribute(b),x):null};nda(a,b,d);a[c]=!0}},pda=function(a,
b,c){if(b)for(var d=0;d<b.length;d++)oda(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++)oda(a,b[d],c)}},fc=function(a){var b=dc[a];if(b){dc[cc(a)]=b;dc[a]=function(){var e=ida(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)}:nda(dc[a].prototype,e,{set:function(g){"function"===typeof g?(this[ec][e]=hda(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])}},hc=function(a,b,c){for(var d=a;d&&!d.hasOwnProperty(b);)d=qda(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&&ac(d,b);if(jda(g)){var h=c(e,a,b);d[b]=function(){return h(this,arguments)};bc(d[b],e)}}return e},rda=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=hc(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},uda=function(){if(sda)return tda;sda=!0;try{var a=ic.navigator.userAgent;if(-1!==a.indexOf("MSIE ")||-1!==a.indexOf("Trident/")||-1!==a.indexOf("Edge/"))tda=!0}catch(b){}return tda},vda=function(a,b){var c=(b?b(a):a)+"false";b=(b?b(a):a)+"true";c=kc+c;b=kc+b;lc[a]={};lc[a]["false"]=c;lc[a]["true"]=b},Cda=function(a,b,c,d){function e(ka,ma,za){if(ma=ma||a.event){ka=ka||ma.target||a;var Ba=ka[lc[ma.type][za?"true":"false"]];if(Ba){za=[];if(1===Ba.length)(ma=K(Ba[0],ka,ma))&&za.push(ma);else{Ba=Ba.slice();
for(var Ma=0;Ma<Ba.length&&(!ma||!0!==ma[wda]);Ma++){var Sa=K(Ba[Ma],ka,ma);Sa&&za.push(Sa)}}if(1===za.length)throw za[0];ma={};for(ka=0;ka<za.length;ma={$jscomp$loop$prop$err$1774$2251:ma.$jscomp$loop$prop$err$1774$2251},ka++)ma.$jscomp$loop$prop$err$1774$2251=za[ka],b.nativeScheduleMicroTask(function(Ua){return function(){throw Ua.$jscomp$loop$prop$err$1774$2251;}}(ma))}}}function g(ka,ma){if(!ka)return!1;var za=!0;ma&&void 0!==ma.useG&&(za=ma.useG);var Ba=ma&&ma.vh,Ma=!0;ma&&void 0!==ma.chkDup&&
(Ma=ma.chkDup);var Sa=!1;ma&&void 0!==ma.rt&&(Sa=ma.rt);for(var Ua=ka;Ua&&!Ua.hasOwnProperty(h);)Ua=qda(Ua);!Ua&&ka[h]&&(Ua=ka);if(!Ua||Ua[A])return!1;var Lb=ma&&ma.eventNameToString,qb={},Ya=Ua[A]=Ua[h],wa=Ua[cc(l)]=Ua[l];ka=Ua[cc(q)]=Ua[q];var Ka=Ua[cc(x)]=Ua[x],Na;ma&&ma.prepend&&(Na=Ua[cc(ma.prepend)]=Ua[ma.prepend]);var fb=function(jb){if(!jb.isRemoved){var Mb=lc[jb.eventName],jc;Mb&&(jc=Mb[jb.capture?"true":"false"]);if(Mb=jc&&jb.target[jc])for(var Dc=0;Dc<Mb.length;Dc++)if(Mb[Dc]===jb){Mb.splice(Dc,
1);jb.isRemoved=!0;0===Mb.length&&(jb.allRemoved=!0,jb.target[jc]=null);break}}if(jb.allRemoved)return wa.call(jb.target,jb.eventName,jb.capture?P:N,jb.options)},bb=function(jb){return Ya.call(qb.target,qb.eventName,jb.invoke,qb.options)},Tc=function(jb){return Na.call(qb.target,qb.eventName,jb.invoke,qb.options)},hb=function(jb){return wa.call(jb.target,jb.eventName,jb.invoke,jb.options)};bb=za?function(){if(!qb.isExisting)return Ya.call(qb.target,qb.eventName,qb.capture?P:N,qb.options)}:bb;fb=za?
fb:hb;hb=function(jb,Mb){var jc=typeof Mb;return"function"===jc&&jb.callback===Mb||"object"===jc&&jb.originalDelegate===Mb};var yb=ma&&ma.diff?ma.diff:hb,$a=Zone[cc("UNPATCHED_EVENTS")],Fb=a[cc("PASSIVE_EVENTS")];hb=function(jb,Mb,jc,Dc,Uc,ff){Uc=void 0===Uc?!1:Uc;ff=void 0===ff?!1:ff;return function(){var Fd=this||a,oe=arguments[0];ma&&ma.transferEventName&&(oe=ma.transferEventName(oe));var Ki=arguments[1];if(!Ki||xda&&"uncaughtException"===oe)return jb.apply(this,arguments);var EU=!1;if("function"!==
typeof Ki){if(!Ki.handleEvent)return jb.apply(this,arguments);EU=!0}if(!Ba||Ba(jb,Ki,Fd,arguments)){var So=mc&&!!Fb&&-1!==Fb.indexOf(oe);var ig=arguments[2];ig=!mc&&"object"===typeof ig&&ig?!!ig.capture:mc&&So?"boolean"===typeof ig?{capture:ig,passive:!0}:ig?"object"===typeof ig&&!1!==ig.passive?Object.assign({},ig,{passive:!0}):ig:{passive:!0}:ig;if($a)for(var wD=0;wD<$a.length;wD++)if(oe===$a[wD])return So?jb.call(Fd,oe,Ki,ig):jb.apply(this,arguments);So=ig?"boolean"===typeof ig?!0:ig.capture:!1;
wD=ig&&"object"===typeof ig?ig.once:!1;var eBa=Zone.current,To=lc[oe];To||(vda(oe,Lb),To=lc[oe]);var gr=To[So?"true":"false"];To=Fd[gr];var ay=!1;if(To){if(ay=!0,Ma)for(gr=0;gr<To.length;gr++)if(yb(To[gr],Ki))return}else To=Fd[gr]=[];var Jk;gr=Fd.constructor.name;var Jka=yda[gr];Jka&&(Jk=Jka[oe]);Jk||(Jk=gr+Mb+(Lb?Lb(oe):oe));qb.options=ig;wD&&(qb.options.once=!1);qb.target=Fd;qb.capture=So;qb.eventName=oe;qb.isExisting=ay;if(ay=za?zda:void 0)ay.taskData=qb;Jk=eBa.scheduleEventTask(Jk,Ki,ay,jc,Dc);
qb.target=null;ay&&(ay.taskData=null);wD&&(ig.once=!0);if(mc||"boolean"!==typeof Jk.options)Jk.options=ig;Jk.target=Fd;Jk.capture=So;Jk.eventName=oe;EU&&(Jk.originalDelegate=Ki);ff?To.unshift(Jk):To.push(Jk);if(Uc)return Fd}}};Ua[h]=hb(Ya,B,bb,fb,Sa);Na&&(Ua.prependListener=hb(Na,".prependListener:",Tc,fb,Sa,!0));Ua[l]=function(){var jb=this||a,Mb=arguments[0];ma&&ma.transferEventName&&(Mb=ma.transferEventName(Mb));var jc=arguments[2],Dc=jc?"boolean"===typeof jc?!0:jc.capture:!1;jc=arguments[1];if(!jc)return wa.apply(this,
arguments);if(!Ba||Ba(wa,jc,jb,arguments)){var Uc=lc[Mb],ff;Uc&&(ff=Uc[Dc?"true":"false"]);if(Dc=ff&&jb[ff])for(Uc=0;Uc<Dc.length;Uc++){var Fd=Dc[Uc];if(yb(Fd,jc)){Dc.splice(Uc,1);Fd.isRemoved=!0;0===Dc.length&&(Fd.allRemoved=!0,jb[ff]=null,"string"===typeof Mb&&(jb[kc+"ON_PROPERTY"+Mb]=null));Fd.zone.cancelTask(Fd);if(Sa)return jb;return}}return wa.apply(this,arguments)}};Ua[q]=function(jb){var Mb=this||a,jc=jb;ma&&ma.transferEventName&&(jc=ma.transferEventName(jc));jb=[];Mb=Ada(Mb,Lb?Lb(jc):jc);
for(jc=0;jc<Mb.length;jc++){var Dc=Mb[jc];jb.push(Dc.originalDelegate?Dc.originalDelegate:Dc.callback)}return jb};Ua[x]=function(jb){var Mb=this||a;if(jb){ma&&ma.transferEventName&&(jb=ma.transferEventName(jb));var jc=lc[jb];if(jc){var Dc=Mb[jc["false"]];Mb=Mb[jc["true"]];if(Dc)for(Dc=Dc.slice(),jc=0;jc<Dc.length;jc++){var Uc=Dc[jc];this[l].call(this,jb,Uc.originalDelegate?Uc.originalDelegate:Uc.callback,Uc.options)}if(Mb)for(Mb=Mb.slice(),Dc=0;Dc<Mb.length;Dc++)jc=Mb[Dc],this[l].call(this,jb,jc.originalDelegate?
jc.originalDelegate:jc.callback,jc.options)}}else{jb=Object.keys(Mb);for(Mb=0;Mb<jb.length;Mb++)(Dc=(Dc=Bda.exec(jb[Mb]))&&Dc[1])&&"removeListener"!==Dc&&this[x].call(this,Dc);this[x].call(this,"removeListener")}if(Sa)return this};bc(Ua[h],Ya);bc(Ua[l],wa);Ka&&bc(Ua[x],Ka);ka&&bc(Ua[q],ka);return!0}for(var h=d&&d.add||"addEventListener",l=d&&d.rm||"removeEventListener",q=d&&d.listeners||"eventListeners",x=d&&d.rmAll||"removeAllListeners",A=cc(h),B="."+h+":",K=function(ka,ma,za){if(!ka.isRemoved){var Ba=
ka.callback;"object"===typeof Ba&&Ba.handleEvent&&(ka.callback=function(Ua){return Ba.handleEvent(Ua)},ka.originalDelegate=Ba);try{ka.invoke(ka,ma,[za])}catch(Ua){var Ma=Ua}var Sa=ka.options;Sa&&"object"===typeof Sa&&Sa.once&&ma[l].call(ma,za.type,ka.originalDelegate?ka.originalDelegate:ka.callback,Sa);return Ma}},N=function(ka){return e(this,ka,!1)},P=function(ka){return e(this,ka,!0)},Y=[],X=0;X<c.length;X++)Y[X]=g(c[X],d);return Y},Ada=function(a,b){if(!b){var c=[],d;for(d in a){var e=Bda.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=lc[b];c||(vda(b),c=lc[b]);b=a[c["false"]];a=a[c["true"]];return b?a?b.concat(a):b.slice():a?a.slice():[]},Dda=function(a,b){(a=a.Event)&&a.prototype&&b.patchMethod(a.prototype,"stopImmediatePropagation",function(c){return function(d,e){d[wda]=!0;c&&c.apply(d,e)}})},Eda=function(a,b){b.patchMethod(a,"queueMicrotask",function(){return function(c,d){Zone.current.scheduleMicroTask("queueMicrotask",d[0])}})},nc=function(a,
b,c,d){function e(x){var A=x.data;A.args[0]=function(){return x.invoke.apply(this,arguments)};A.handleId=h.apply(a,A.args);return x}function g(x){return l.call(a,x.data.handleId)}var h=null,l=null;b+=d;c+=d;var q={};h=hc(a,b,function(x){return function(A,B){if("function"===typeof B[0]){var K={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{K.isPeriodic||("number"===typeof K.handleId?delete q[K.handleId]:
K.handleId&&(K.handleId[Fda]=null))}};A=Zone.current.scheduleMacroTask(b,B[0],K,e,g);if(!A)return A;B=A.data.handleId;"number"===typeof B?q[B]=A:B&&(B[Fda]=A);B&&B.ref&&B.unref&&"function"===typeof B.ref&&"function"===typeof B.unref&&(A.ref=B.ref.bind(B),A.unref=B.unref.bind(B));return"number"===typeof B||B?B:A}return x.apply(a,B)}});l=hc(a,c,function(x){return function(A,B){A=B[0];if("number"===typeof A)var K=q[A];else(K=A&&A[Fda])||(K=A);K&&"string"===typeof K.type?"notScheduled"!==K.state&&(K.cancelFn&&
K.data.isPeriodic||0===K.runCount)&&("number"===typeof A?delete q[A]:A&&(A[Fda]=null),K.zone.cancelTask(K)):x.apply(a,B)}})},Gda=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,x){q&&q.prototype&&e.forEach(function(A){var B=c+"."+d+"::"+A,K=q.prototype;try{if(K.hasOwnProperty(A)){var N=a.ObjectGetOwnPropertyDescriptor(K,A);N&&N.value?(N.value=a.wrapWithCurrentZone(N.value,B),a._redefineProperty(q.prototype,A,N)):K[A]&&(K[A]=a.wrapWithCurrentZone(K[A],B))}else K[A]&&
(K[A]=a.wrapWithCurrentZone(K[A],B))}catch(P){}});return h.call(b,l,q,x)};a.attachOriginToPatched(b[d],h)}},Hda=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)})},Ida=function(a){return Object.getOwnPropertyNames(a).filter(function(b){return b.startsWith("on")&&2<b.length}).map(function(b){return b.substring(2)})},Pda=function(){Jda=Zone.__symbol__;
Kda=Object[Jda("defineProperty")]=Object.defineProperty;Lda=Object[Jda("getOwnPropertyDescriptor")]=Object.getOwnPropertyDescriptor;Mda=Object.create;oc=Jda("unconfigurables");Object.defineProperty=function(a,b,c){if(a&&a[oc]&&a[oc][b])throw new TypeError("ua`"+b+"`"+a);var d=c.configurable;"prototype"!==b&&(c=Nda(a,b,c));return Oda(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]=Nda(a,c,b[c])});return Mda(a,b)};Object.getOwnPropertyDescriptor=function(a,b){var c=Lda(a,b);c&&a&&a[oc]&&a[oc][b]&&(c.configurable=!1);return c}},Qda=function(a,b,c){var d=c.configurable;c=Nda(a,b,c);return Oda(a,b,c,d)},Nda=function(a,b,c){Object.isFrozen(c)||
(c.configurable=!0);c.configurable||(a[oc]||Object.isFrozen(a)||Kda(a,oc,{writable:!0,value:{}}),a[oc]&&(a[oc][b]=!0));return c},Oda=function(a,b,c,d){try{return Kda(a,b,c)}catch(e){if(c.configurable){"undefined"==typeof d?delete c.configurable:c.configurable=d;try{return Kda(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;}},Rda=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,x="ApplicationCache EventSource FileReader InputMethodContext MediaController MessagePort Node Performance SVGElementInstance SharedWorker TextTrack TextTrackCue TextTrackList WebKitNamedFlow Window Worker WorkerGlobalScope XMLHttpRequest XMLHttpRequestEventTarget XMLHttpRequestUpload IDBRequest IDBOpenDBRequest IDBDatabase IDBTransaction IDBCursor DBIndex WebSocket".split(" ");
c=[];var A="Anchor Area Audio BR Base BaseFont Body Button Canvas Content DList Directory Div Embed FieldSet Font Form Frame FrameSet HR Head Heading Html IFrame Image Input Keygen LI Label Legend Link Map Marquee Media Menu Meta Meter Mod OList Object OptGroup Option Output Paragraph Pre Progress Quote Script Select Source Span Style TableCaption TableCell TableCol Table TableRow TableSection TextArea Title Track UList Unknown Video".split(" ");a.wtf?c=A.map(function(ma){return"HTML"+ma+"Element"}).concat(x):
a.EventTarget?c.push("EventTarget"):c=x;var B=a.__Zone_disable_IE_check||!1,K=a.__Zone_enable_cross_context_check||!1,N=b.isIEOrEdge(),P={MSPointerCancel:"pointercancel",MSPointerDown:"pointerdown",MSPointerEnter:"pointerenter",MSPointerHover:"pointerhover",MSPointerLeave:"pointerleave",MSPointerMove:"pointermove",MSPointerOut:"pointerout",MSPointerOver:"pointerover",MSPointerUp:"pointerup"};for(x=0;x<d.length;x++){var Y=d[x],X=q+(Y+l),ka=q+(Y+h);g[Y]={};g[Y][l]=X;g[Y][h]=ka}for(g=0;g<A.length;g++)for(h=
A[g],l=e[h]={},q=0;q<d.length;q++)x=d[q],l[x]=h+".addEventListener:"+x;d=[];for(e=0;e<c.length;e++)A=a[c[e]],d.push(A&&A.prototype);b.patchEventTarget(a,b,d,{vh:function(ma,za,Ba,Ma){if(!B&&N)if(K)try{var Sa=za.toString();if("[object FunctionWrapper]"===Sa||"function __BROWSERTOOLS_CONSOLE_SAFEFUNC() { [native code] }"==Sa)return ma.apply(Ba,Ma),!1}catch(Ua){return ma.apply(Ba,Ma),!1}else{if(za=za.toString(),"[object FunctionWrapper]"===za||"function __BROWSERTOOLS_CONSOLE_SAFEFUNC() { [native code] }"==
za)return ma.apply(Ba,Ma),!1}else if(K)try{za.toString()}catch(Ua){return ma.apply(Ba,Ma),!1}return!0},transferEventName:function(ma){return P[ma]||ma}});Zone[b.symbol("patchEventTarget")]=!!a.EventTarget},Sda=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 x=1<arguments.length?new g(l,q):new g(l),A=a.ObjectGetOwnPropertyDescriptor(x,"onmessage");if(A&&
!1===A.configurable){var B=a.ObjectCreate(x);var K=x;[d,e,"send","close"].forEach(function(N){B[N]=function(){var P=a.ArraySlice.call(arguments);if(N===d||N===e){var Y=0<P.length?P[0]:void 0;Y&&(Y=Zone.__symbol__("ON_PROPERTY"+Y),x[Y]=B[Y])}return x[N].apply(x,P)}})}else B=x;a.patchOnProperties(B,["close","error","message","open"],K);return B};c=b.WebSocket;for(var h in g)c[h]=g[h]},Tda=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},Vda=function(a){for(var b=a.symbol("unbound"),c={},d=0;d<Uda.length;c={$jscomp$loop$prop$onproperty$2258:c.$jscomp$loop$prop$onproperty$2258},
d++){var e=Uda[d];c.$jscomp$loop$prop$onproperty$2258="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$2258:"unknown."+g.$jscomp$loop$prop$onproperty$2258;h;){if(h[g.$jscomp$loop$prop$onproperty$2258]&&!h[g.$jscomp$loop$prop$onproperty$2258][b]){var q=a.wrapWithCurrentZone(h[g.$jscomp$loop$prop$onproperty$2258],l);q[b]=h[g.$jscomp$loop$prop$onproperty$2258];h[g.$jscomp$loop$prop$onproperty$2258]=q}h=h.parentElement}}}(c),
!0)}},pc=function(a){for(var b in a)if(a[b]===pc)return b;throw Error("va");},Wda=function(a,b){for(var c in b)b.hasOwnProperty(c)&&!a.hasOwnProperty(c)&&(a[c]=b[c])},qc=function(a){return{token:a.token,providedIn:a.providedIn||null,factory:a.factory,value:void 0}},rc=function(a){return{providers:a.providers||[],imports:a.imports||[]}},Zda=function(a){var b;(b=a.hasOwnProperty(Xda)?a[Xda]:null)||(b=a.hasOwnProperty(Yda)?a[Yda]:null);return b},$da=function(a){return(a=a&&(a[Xda]||a[Yda]))?a:null},
cea=function(a){return a&&(a.hasOwnProperty(aea)||a.hasOwnProperty(bea))?a[aea]:null},sc=function(a){return"string"===typeof a?a:null==a?"":String(a)},tc=function(a){if("string"===typeof a)return a;if(Array.isArray(a))return"["+a.map(tc).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)},dea=function(a,b){return null==a||""===a?null===b?"":b:null==b||
""===b?a:a+" "+b},eea=function(){throw new uc(-201,!1);},vc=function(a){var b=fea;fea=a;return b},gea=function(a,b,c){var d=Zda(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;eea(tc(a))},wc=function(a){a.__forward_ref__=wc;a.toString=function(){return tc(this())};return a},xc=function(a){return hea(a)?a():a},hea=function(a){return"function"===typeof a&&a.hasOwnProperty(iea)&&a.__forward_ref__===wc},zc=function(a){var b=yc;
yc=a;return b},jea=function(a,b){b=void 0===b?0:b;if(void 0===yc)throw new uc(-203,!1);return null===yc?gea(a,void 0,b):yc.get(a,b&8?null:void 0,b)},u=function(a,b){b=void 0===b?0:b;return(fea||jea)(xc(a),b)},Ac=function(a,b){return u(a,kea(void 0===b?0:b))},kea=function(a){return"undefined"===typeof a||"number"===typeof a?a:0|(a.optional&&8)|(a.host&&1)|(a.self&&2)|(a.skipSelf&&4)},lea=function(a){for(var b=[],c=0;c<a.length;c++){var d=xc(a[c]);if(Array.isArray(d)){if(0===d.length)throw new uc(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(u(e,g))}else b.push(u(d))}return b},Bc=function(a,b){a.__NG_DI_FLAG__=b;a.prototype.__NG_DI_FLAG__=b;return a},mea=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}},nea=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++}},Cc=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?oea(a,c,e,b[++d]):oea(a,c,e,null))}return a},oea=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)},pea=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 x=d&8?q:b[++l];if(d&8&&null!==a.attrs){a:{q=a.attrs;for(var A=c,B=0,K=!0;B<q.length;){var N=q[B++];if("string"===typeof N&&K){var P=q[B++];if(A&&"class"===N&&-1!==mea(P.toLowerCase(),x)){x=!0;break a}}else if(1===N){for(;B<q.length&&"string"==typeof(N=q[B++]);)if(N.toLowerCase()===x){x=!0;break a}break}else"number"===typeof N&&(K=!1)}x=!1}if(!x){if(0===(d&1))return!1;h=!0}}else{a:if(q=
d&8?"class":q,null===e)q=-1;else if(A=0,c||4!==a.type||"ng-template"===a.value){for(B=!1;A<e.length;){K=e[A];if(K===q){q=A;break a}if(3===K||6===K)B=!0;else if(1===K||2===K){for(K=e[++A];"string"===typeof K;)K=e[++A];continue}else if(4===K)break;else if(0===K){A+=4;continue}A+=B?1:2}q=-1}else b:{A=e.indexOf(4);if(-1<A)for(A++;A<e.length;){B=e[A];if("number"===typeof B)break;if(B===q){q=A;break b}A++}q=-1}if(-1===q){if(0===(d&1))return!1;h=!0}else if(""!==x&&(q=q>g?"":e[q+1].toLowerCase(),(A=d&8?q:
null)&&-1!==mea(A,x)||d&2&&x!==q)){if(0===(d&1))return!1;h=!0}}}}return 0===(d&1)||h},qea=function(a,b,c){c=void 0===c?!1:c;for(var d=0;d<b.length;d++)if(pea(a,b[d],c))return!0;return!1},rea=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},
Ec=function(a){return{toString:a}.toString()},Gc=function(a){return Ec(function(){var b=sea(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||Fc,_:null,schemas:a.schemas||null,tView:null,
id:""});tea(b);c=a.dependencies;b.directiveDefs=uea(c,!1);b.pipeDefs=uea(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})},vea=function(a,b){a=
a.\u0275cmp;a.directiveDefs=uea(b,!1);a.pipeDefs=uea([],!0)},xea=function(a){return a[Hc]||a[wea]||null},yea=function(a){return null!==a},Ic=function(a){return Ec(function(){return{type:a.type,bootstrap:a.bootstrap||Fc,declarations:a.declarations||Fc,imports:a.imports||Fc,exports:a.exports||Fc,transitiveCompileScopes:null,schemas:a.schemas||null,id:a.id||null}})},zea=function(a,b){if(null==a)return Jc;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},Kc=function(a){return Ec(function(){var b=sea(a);tea(b);return b})},Lc=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}},Bea=function(a){return a[Aea]||null},sea=function(a){var b={};return{type:a.type,providersResolver:null,factory:null,hostBindings:a.hostBindings||null,hostVars:a.hostVars||0,hostAttrs:a.hostAttrs||null,contentQueries:a.contentQueries||null,declaredInputs:b,
inputTransforms:null,inputConfig:a.inputs||Jc,exportAs:a.exportAs||null,standalone:!0===a.standalone,signals:!0===a.signals,selectors:a.selectors||Fc,viewQuery:a.viewQuery||null,features:a.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:zea(a.inputs,b),outputs:zea(a.outputs)}},tea=function(a){var b;null==(b=a.features)||b.forEach(function(c){return c(a)})},uea=function(a,b){if(!a)return null;var c=b?Bea:xea;return function(){return("function"===typeof a?a():a).map(function(d){return c(d)}).filter(yea)}},
Mc=function(a){return a.hasOwnProperty(Cea)?a[Cea]:null},Dea=function(a,b){a.forEach(function(c){return Array.isArray(c)?Dea(c,b):b(c)})},Eea=function(a,b){return b>=a.length-1?a.pop():a.splice(b,1)[0]},Fea=function(a,b){for(var c=[],d=0;d<a;d++)c.push(b);return c},Oc=function(a,b,c){var d=Nc(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},Gea=function(a,b){b=Nc(a,
b);if(0<=b)return a[b|1]},Nc=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)},Iea=function(){return{"\u0275providers":Hea(!0,Pc.apply(0,arguments)),"\u0275fromNgModule":!0}},Hea=function(a){var b=[],c=new Set,d;Dea(Pc.apply(1,arguments),function(e){Jea(e,b,[],c)&&(d||(d=[]),d.push(e))});void 0!==d&&Kea(d,b);return b},Kea=function(a,b){for(var c={},d=0;d<a.length;c={$jscomp$loop$prop$providers$2260:c.$jscomp$loop$prop$providers$2260,
$jscomp$loop$prop$ngModule$2261:c.$jscomp$loop$prop$ngModule$2261},d++){var e=a[d];c.$jscomp$loop$prop$ngModule$2261=e.ngModule;c.$jscomp$loop$prop$providers$2260=e.providers;Lea(c.$jscomp$loop$prop$providers$2260,function(){return function(g){b.push(g)}}(c))}},Jea=function(a,b,c,d){a=xc(a);if(!a)return!1;var e=null,g=cea(a),h=!g&&(a[Hc]||null);if(g||h){if(h&&!h.standalone)return!1;e=a}else{var l=a.ngModule;if(g=cea(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())Jea(l.value,b,c,d)}else if(g){if(null!=g.imports&&!l){d.add(e);var q;Dea(g.imports,function(x){Jea(x,b,c,d)&&(q||(q=[]),q.push(x))});void 0!==q&&Kea(q,b)}l||(h=Mc(e)||function(){return new e},b.push({provide:e,useFactory:h,deps:Fc},{provide:Mea,useValue:e,multi:!0},{provide:Nea,useValue:function(){return u(e)},multi:!0}));g=g.providers;null==g||l||Lea(g,function(x){b.push(x)})}else return!1;return e!==
a&&void 0!==a.providers},Lea=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)?Lea(c,b):b(c)},Pea=function(a){return null!==a&&"object"==typeof a&&Oea in a},Qc=function(a){return"function"===typeof a},Sea=function(){void 0===Qea&&(Qea=new Rea);return Qea},Uea=function(a){var b=Zda(a);b=null!==b?b.factory:Mc(a);if(null!==b)return b;if(a instanceof Rc)throw new uc(204,!1);if(a instanceof Function)return Tea(a);throw new uc(204,
!1);},Tea=function(a){var b=a.length;if(0<b)throw Fea(b,"?"),new uc(204,!1);var c=$da(a);return null!==c?function(){return c.factory(a)}:function(){return new a}},Xea=function(a){if(Pea(a))return Sc(void 0,a.useValue);a=Vea(a);return Sc(a,Wea)},Vea=function(a){var b=void 0;if(Qc(a))return b=xc(a),Mc(b)||Uea(b);if(Pea(a))b=function(){return xc(a.useValue)};else if(a&&a.useFactory)b=function(){return a.useFactory.apply(a,Vc(lea(a.deps||[])))};else if(a&&a.useExisting)b=function(){return u(xc(a.useExisting))};
else{var c=xc(a&&(a.useClass||a.provide));if(a.deps)b=function(){return new (Function.prototype.bind.apply(c,[null].concat(Vc(lea(a.deps)))))};else return Mc(c)||Uea(c)}return b},Sc=function(a,b,c){return{factory:a,value:b,multi:(void 0===c?0:c)?[]:void 0}},Yea=function(a,b){a=k(a);for(var c=a.next();!c.done;c=a.next())c=c.value,Array.isArray(c)?Yea(c,b):c&&c&&c.\u0275providers?Yea(c.\u0275providers,b):b(c)},Zea=function(a){return function(){var b=Pc.apply(0,arguments);if(a){b=a.apply(null,Vc(b));
for(var c in b)this[c]=b[c]}}},Wc=function(a){return Ec(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=Pc.apply(0,arguments);if(this instanceof b)return c.apply(this,e),this;var g=new (Function.prototype.bind.apply(b,[null].concat(Vc(e))));d.annotation=g;return d}var c=Zea(a);return b})},Xc=function(a){return Array.isArray(a)&&
"object"===typeof a[1]},Yc=function(a){return Array.isArray(a)&&!0===a[1]},Zc=function(){return $ea},$ea=function(a){a.type.prototype.ngOnChanges&&(a.setInput=afa);return bfa},bfa=function(){var a=this.__ngSimpleChanges__||null,b=null==a?void 0:a.current;if(b){var c=a.previous;if(c===Jc)a.previous=b;else for(var d in b)c[d]=b[d];a.current=null;this.ngOnChanges(b)}},afa=function(a,b,c,d){c=this.declaredInputs[c];var e;(e=a.__ngSimpleChanges__||null)||(e=a.__ngSimpleChanges__={previous:Jc,current:null});
var g=e;e=g.current||(g.current={});g=g.previous;var h=g[c];e[c]=new cfa(h&&h.currentValue,b,g===Jc);a[d]=b},$c=function(a){for(;Array.isArray(a);)a=a[0];return a},ad=function(a,b){return $c(b[a.index])},bd=function(a,b){a=b[a];return Xc(a)?a:a[0]},cd=function(a,b){return null===b||void 0===b?null:a[b]},efa=function(a){a[2]&1024&&(a[2]&=-1025,dfa(a,-1))},dfa=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]}},v=function(){return dd.lView},
w=function(a){dd.contextLView=a;return a[8]},y=function(a){dd.contextLView=null;return a},ed=function(){for(var a=dd.currentTNode;null!==a&&64===a.type;)a=a.parent;return a},fd=function(a,b){var c=dd;c.currentTNode=a;c.isParent=b},gd=function(){var a=dd,b=a.bindingRootIndex;-1===b&&(b=a.bindingRootIndex=a.tView.bindingStartIndex);return b},hd=function(a){var b=dd,c=b.bindingIndex;b.bindingIndex+=a;return c},ffa=function(a){var b=dd.currentDirectiveIndex;return-1===b?null:a[b]},hfa=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=dd=gfa();c.currentTNode=b;c.lView=a;return!0},ifa=function(a){var b=gfa(),c=a[1];dd=b;b.currentTNode=c.firstChild;b.lView=a;b.tView=c;b.contextLView=a;b.bindingIndex=c.bindingStartIndex;b.inI18n=!1},gfa=function(){var a=dd,b=null===a?null:a.child;return null===b?jfa(a):b},jfa=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},kfa=function(){var a=dd;dd=a.parent;a.currentTNode=null;a.lView=null;return a},lfa=function(){var a=kfa();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},id=function(){var a=dd;return a.tView.data[a.selectedIndex]},jd=function(){dd.currentNamespace="svg"},kd=function(){dd.currentNamespace=null},ld=function(a){var b=mfa;mfa=a;return b},nfa=function(a){var b=ld(null);try{return a()}finally{ld(b)}},ofa=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,x=
void 0;(null!=(x=(q=a).contentHooks)?x: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))}},pfa=function(a,b,c,d){(a[2]&3)===c&&md(a,b,c,d)},qfa=function(a,b){var c=a[2];(c&3)===b&&(a[2]=(c&8191)+1)},md=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],x=b[l+1],A=a[q?-b[l]:b[l]];q?a[2]>>13<a[17]>>16&&(a[2]&3)===c&&(a[2]+=8192,rfa(A,x)):rfa(A,x);a[17]=(a[17]&4294901760)+l+2}l++}},rfa=function(a,b){var c=ld(null);try{b.call(a)}finally{ld(c)}},
sfa=function(a,b){for(a>>=16;0<a;)b=b[14],a--;return b},ufa=function(a){var b=tfa;tfa=a;return b},wfa=function(a,b,c){var d;"string"===typeof c?d=c.charCodeAt(0)||0:c.hasOwnProperty(nd)&&(d=c[nd]);null==d&&(d=c[nd]=vfa++);c=d&255;b.data[a+(c>>5)]|=1<<c},Afa=function(a,b){var c=xfa(a,b);if(-1!==c)return c;c=b[1];c.firstCreatePass&&(a.injectorIndex=b.length,yfa(c.data,a),yfa(b,null),yfa(c.blueprint,null));c=zfa(a,b);a=a.injectorIndex;if(-1!==c)for(var d=c&32767,e=sfa(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},yfa=function(a,b){a.push(0,0,0,0,0,0,0,0,b)},xfa=function(a,b){return-1===a.injectorIndex||a.parent&&a.parent.injectorIndex===a.injectorIndex||null===b[a.injectorIndex+8]?-1:a.injectorIndex},zfa=function(a,b){if(a.parent&&-1!==a.parent.injectorIndex)return a.parent.injectorIndex;a=0;for(var c=b;null!==c;){b=Bfa(c);if(null===b)break;a++;c=c[14];if(-1!==b.injectorIndex)return b.injectorIndex|a<<16}return-1},od=function(a){var b=ed();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},Cfa=function(a,b,c,d){c&8&&void 0===d&&(d=null);if(0===(c&3)){a=a[9];var e=vc();try{return a?a.get(b,d,c&8):gea(b,d,c&8)}finally{vc(e)}}c&8||void 0!==d?b=d:(eea(),b=void 0);return b},Efa=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=pd,l=a,q=b;null!==l&&null!==q&&q[2]&2048&&!(q[2]&512);){var x=Dfa(l,q,c,g|2);if(x!==pd){g=x;break a}l=l.parent;if(!l){if(l=q[20])if(l=l.get(c,pd,g),l!==pd){g=l;break a}l=Bfa(q);q=q[14]}}g=h}if(g!==pd)return g}a=Dfa(a,b,c,d);if(a!==pd)return a}return Cfa(b,c,d,e)},Dfa=function(a,b,c,d){var e=pd;if("string"===typeof c)var g=c.charCodeAt(0)||0;else g=c.hasOwnProperty(nd)?c[nd]:void 0,g="number"===typeof g?0<=g?g&255:Ffa:g;if("function"===typeof g){if(!hfa(b,a,d))return d&1?d&8||void 0!==
e?b=e:(eea(),b=void 0):b=Cfa(b,c,d,e),b;try{var h=g(d);if(null!=h||d&8)return h;eea()}finally{kfa()}}else if("number"===typeof g){h=null;var l=xfa(a,b),q=d&1?b[15][6]:null;if(-1===l||d&4){var x=-1===l?zfa(a,b):b[l+8];-1===x||d&2?l=-1:(h=b[1],l=x&32767,b=sfa(x,b))}for(;-1!==l;){a=b[1];if(a.data[l+(g>>5)]&1<<g){x=b[1];var A=x.data[l+8],B=Gfa(A,x,c,null==h?-1<A.componentOffset&&tfa:h!=x&&0!==(A.type&3),d&1&&q===A);x=null!==B?qd(b,x,B,A):pd;if(x!==pd)return x}x=b[l+8];-1!==x&&!(d&2||d&1&&b[1].data[l+
8]===q)&&b[l+(g>>5)]&1<<g?(h=a,l=x&32767,b=sfa(x,b)):l=-1}}return e},Gfa=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},qd=function(a,b,c,d){var e=a[c],g=b.data;if(e instanceof rd){var h=e;if(h.resolving)throw a=g[c],new uc(-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():sc(a)));var l=ufa(h.canSeeViewProviders);h.resolving=!0;var q=h.injectImpl?vc(h.injectImpl):null;hfa(a,d,0);try{if(e=a[c]=h.factory(void 0,g,a,d),b.firstCreatePass&&c>=d.directiveStart){var x=g[c],A=x.type.prototype,B=A.ngOnInit,K=A.ngDoCheck;if(A.ngOnChanges){var N=$ea(x),P;(null!=(P=b.preOrderHooks)?P:b.preOrderHooks=[]).push(c,N);var Y;(null!=(Y=b.preOrderCheckHooks)?Y:b.preOrderCheckHooks=[]).push(c,N)}if(B){var X;
(null!=(X=b.preOrderHooks)?X:b.preOrderHooks=[]).push(-c,B)}if(K){var ka;(null!=(ka=b.preOrderHooks)?ka:b.preOrderHooks=[]).push(c,K);var ma;(null!=(ma=b.preOrderCheckHooks)?ma:b.preOrderCheckHooks=[]).push(c,K)}}}finally{null!==q&&vc(q),ufa(l),h.resolving=!1,kfa()}}return e},Ffa=function(){return new sd(ed(),v())},td=function(a){return Ec(function(){var b=a.prototype.constructor;b=b[Cea]||Hfa(b);for(var c=Object.prototype,d=Object.getPrototypeOf(a.prototype).constructor;d&&d!==c;){var e=d[Cea]||
Hfa(d);if(e&&e!==b)return e;d=Object.getPrototypeOf(d)}return function(g){return new g}})},Hfa=function(a){return hea(a)?function(){var b=Hfa(xc(a));return b&&b()}:Mc(a)},Bfa=function(a){var b=a[1],c=b.type;return 2===c?b.declTNode:1===c?a[6]:null},Kfa=function(a,b,c,d){a=Ifa(a,void 0===b?null:b,void 0===c?null:c,d);Jfa(a);return a},Ifa=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)||Fc,Iea(a)];d=d||("object"===typeof a?void 0:tc(a));return new ud(c,b||Sea(),
d||null,e)},Mfa=function(){if(void 0!==Lfa)return Lfa;if("undefined"!==typeof document)return document;throw new uc(210,!1);},wd=function(a,b){return new vd(ad(a,b))},Nfa=function(a){return a instanceof vd?a.nativeElement:a},xd=function(a,b){Xc(b)?(a.__ngContext__=b[19],Ofa.set(b[19],b)):a.__ngContext__=b},Pfa=function(a){a=a[3];return Yc(a)?a[3]:a},Qfa=function(a){for(;null!==a&&!Yc(a);)a=a[4];return a},Rfa=function(a){for(;a;){a[2]|=64;var b=Pfa(a);if(0!==(a[2]&512)&&!b)break;a=b}},yd=function(a){return a.ownerDocument.defaultView},
Sfa=function(a){return a.ownerDocument},z=function(a){Tfa(dd.tView,v(),dd.selectedIndex+a)},Tfa=function(a,b,c){3===(b[2]&3)?(a=a.preOrderCheckHooks,null!==a&&md(b,a,3,c)):(a=a.preOrderHooks,null!==a&&pfa(b,a,0,c));dd.selectedIndex=c},C=function(a,b){b=void 0===b?0:b;var c=v();return null===c?u(a,b):Efa(ed(),c,xc(a),b)},zd=function(){throw Error("za");},Wfa=function(){return"".replace(Ufa,function(a){return a.replace(Vfa,"\u200b$1\u200b")})},Ad=function(a,b,c,d,e){if(null!=d){var g=!1;if(Yc(d))var h=
d;else Xc(d)&&(g=!0,d=d[0]);d=$c(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=$c(h),d!==g&&Ad(a,b,c,d,e),e=11;e<h.length;e++)g=h[e],Bd(b,a,g[1].firstChild,g,c,d,!1)}},Xfa=function(a,b){a=a[9];var c=a.indexOf(b);efa(b);a.splice(c,1)},Yfa=function(a,b){if(!(11>=a.length)){var c=11+b,d=a[c];if(d){var e=
d[16];null!==e&&e!==a&&Xfa(e,d);0<b&&(a[c-1][4]=d[4]);a=Eea(a,11+b);Bd(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}},$fa=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&&Bd(c,3,a.firstChild,b,null,null,!1);if(a=b[12])for(;a;){c=null;Xc(a)?c=a[12]:(d=a[11])&&(c=d);if(!c){for(;a&&!a[4]&&a!==b;)Xc(a)&&Zfa(a[1],a),a=a[3];null===a&&(a=b);
Xc(a)&&Zfa(a[1],a);c=a&&a[4]}a=c}else Zfa(b[1],b)}},Zfa=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 rd)){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&&Yc(b[3])&&(c!==b[3]&&Xfa(c,b),c=b[18],null!==c&&c.detachView(a));Ofa.delete(b[19])}},aga=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:ad(b,c)},bga=function(a,b,c,d){a=aga(a,d.parent,b);var e=b[11];d=d.parent||b[6];b=d.type&40?ad(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)},dga=function(a,b){if(null!==b){var c=b.type;if(c&3)return ad(b,a);if(c&4)return cga(-1,a[b.index]);if(c&8){c=b.child;if(null!==c)return dga(a,c);a=a[b.index];return Yc(a)?cga(-1,a):$c(a)}if(c&32)return(void 0)(b,a)()||$c(a[b.index]);c=null!==b?a[15][6].projection[b.projection]:null;if(null!==c){if(Array.isArray(c))return c[0];a=Pfa(a[15]);return dga(a,c)}return dga(a,
b.next)}return null},cga=function(a,b){a+=12;if(a<b.length){a=b[a];var c=a[1].firstChild;if(null!==c)return dga(a,c)}return b[7]},Bd=function(a,b,c,d,e,g,h){for(;null!=c;){var l=d[c.index],q=c.type;h&&0===b&&(l&&xd($c(l),d),c.flags|=2);if(32!==(c.flags&32))if(q&8)Bd(a,b,c.child,d,e,g,!1),Ad(b,a,e,l,g);else if(q&32){q=(void 0)(c,d);for(var x;x=q();)Ad(b,a,e,x,g);Ad(b,a,e,l,g)}else q&16?ega(a,b,d,c,e,g):Ad(b,a,e,l,g);c=h?c.projectionNext:c.next}},ega=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++)Ad(b,a,e,c[d],g);else h=h[3],128===(d.flags&128)&&(c.flags|=128),Bd(a,b,c,h,e,g,!0)},fga=function(a,b,c){var d=c.mergedAttrs,e=c.classes;c=c.styles;null!==d&&nea(a,b,d);null!==e&&(""===e?a.removeAttribute(b,"class"):a.setAttribute(b,"class",e));null!==c&&a.setAttribute(b,"style",c)},gga=function(){null!=Cd||(Cd=new Dd);return Cd},hga=function(a,b){var c;return null!=(c=a[b])?c:gga()},iga=function(a,b){var c=gga();c.hasReadASignal&&(a[b]=Cd,c.lView=a,Cd=new Dd)},
Gd=function(a){return a instanceof Ed?a.changingThisBreaksApplicationSecurity:a},Hd=function(a,b){a=a instanceof Ed&&a.getTypeName()||null;if(null!=a&&a!==b){if("ResourceURL"===a&&"URL"===b)return!0;throw Error("Aa`"+b+"`"+a);}return a===b},kga=function(){if(void 0===jga&&(jga=null,Id.trustedTypes))try{jga=Id.trustedTypes.createPolicy("angular",{createHTML:function(a){return a},createScript:function(a){return a},createScriptURL:function(a){return a}})}catch(a){}return jga},lga=function(a){var b;return(null==
(b=kga())?void 0:b.createHTML(a))||a},nga=function(a){a=String(a);return a.match(mga)?a:"unsafe:"+a},Jd=function(a){var b={};a=k(a.split(","));for(var c=a.next();!c.done;c=a.next())b[c.value]=!0;return b},Kd=function(){for(var a={},b=k(Pc.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},qga=function(a){return a.replace(/&/g,"&amp;").replace(oga,function(b){return"&#"+(1024*(b.charCodeAt(0)-55296)+(b.charCodeAt(1)-56320)+65536)+";"}).replace(pga,
function(b){return"&#"+b.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")},Aga=function(a,b){var c=null;try{var d;if(!(d=rga)){var e=new sga(a);try{var g=!!(new window.DOMParser).parseFromString(lga(""),"text/html")}catch(ka){g=!1}d=g?new tga(e):e}rga=d;var h=b?String(b):"";c=rga.getInertBodyElement(h);a=5;b=h;do{if(0===a)throw Error("Ca");a--;h=b;b=c.innerHTML;c=rga.getInertBodyElement(h)}while(h!==b);var l=new uga,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 x=b.nodeName.toLowerCase();if(vga.hasOwnProperty(x)){a.buf.push("<");a.buf.push(x);var A=b.attributes;for(b=0;b<A.length;b++){var B=A.item(b),K=B.name,N=K.toLowerCase();if(wga.hasOwnProperty(N)){var P=B.value;xga[N]&&(P=nga(P));a.buf.push(" ",K,'="',qga(P),'"')}}a.buf.push(">");h=!0}else h=!yga.hasOwnProperty(x)}else q.nodeType===Node.TEXT_NODE&&l.buf.push(qga(q.nodeValue));if(h&&q.firstChild)q=q.firstChild;
else for(;q;){q.nodeType===Node.ELEMENT_NODE&&l.endElement(q);var Y=zga(q,q.nextSibling);if(Y){q=Y;break}q=zga(q,q.parentNode)}}var X=l.buf.join("");return lga(X)}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)}},Cga=function(){if(void 0===Bga&&(Bga=null,Id.trustedTypes))try{Bga=Id.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:function(a){return a},createScript:function(a){return a},
createScriptURL:function(a){return a}})}catch(a){}return Bga},Dga=function(a){var b;return(null==(b=Cga())?void 0:b.createHTML(a))||a},Ega=function(a){var b;return(null==(b=Cga())?void 0:b.createScriptURL(a))||a},Ld=function(a){var b=Fga();return b?Dga(b.sanitize(1,a)||""):Hd(a,"HTML")?Dga(Gd(a)):Aga(Mfa(),sc(a))},Gga=function(a){var b=Fga();return b?b.sanitize(2,a)||"":Hd(a,"Style")?Gd(a):sc(a)},Md=function(a){var b=Fga();return b?b.sanitize(4,a)||"":Hd(a,"URL")?Gd(a):nga(sc(a))},Hga=function(a){var b=
Fga();if(b)return Ega(b.sanitize(5,a)||"");if(Hd(a,"ResourceURL"))return Ega(Gd(a));throw new uc(904,!1);},Fga=function(){var a=v();return a&&a[10].sanitizer},Jga=function(a,b,c,d,e,g,h,l,q,x,A){var B=b.blueprint.slice();B[0]=e;B[2]=d|140;if(null!==x||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]=Iga++;B[22]=A;B[20]=x;B[15]=2==b.type?a[15]:B;return B},Nd=function(a,b,c,d,e){var g=a.data[b];if(null===g){g=dd.currentTNode;
var h=dd.isParent,l=a.data,q=h?g:g&&g.parent,x=q?q.injectorIndex:-1,A=0;null!==Kga&&(A|=128);b=l[b]={type:c,index:b,insertBeforeIndex:null,injectorIndex:x,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:A,providerIndexes:0,value:d,attrs:e,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:q,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,
classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0};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;dd.inI18n&&(g.flags|=32)}else g.type&64&&(g.type=c,g.value=d,g.attrs=e,a=dd,b=a.currentTNode,a=a.isParent?b:b.parent,g.injectorIndex=null===a?-1:a.injectorIndex);fd(g,!0);return g},Lga=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},Mga=function(a,b,c,d,e){var g=hga(b,23),h=dd.selectedIndex,l=d&2;try{if(dd.selectedIndex=-1,l&&25<b.length&&Tfa(a,b,25),l)g.runInContext(c,d,e);else{var q=ld(null);try{c(d,e)}finally{ld(q)}}}finally{l&&null===b[23]&&iga(b,23),dd.selectedIndex=h}},Nga=function(a,b,c){if(0!==(b.flags&4)){var d=ld(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{ld(d)}}},Sga=function(a,b,c){var d=ad(c,b),e=
c.directiveStart,g=c.directiveEnd;if(-1<c.componentOffset){var h=a.data[e+c.componentOffset],l=ad(c,b),q=Oga(h),x=b[10].rendererFactory,A=16;h.signals?A=4096:h.onPush&&(A=64);h=Pga(b,Jga(b,q,null,A,l,c,null,x.createRenderer(l,h),null,null,null));b[c.index]=h}a.firstCreatePass||Afa(c,b);xd(d,b);d=c.initialInputs;for(h=e;h<g;h++){l=a.data[h];q=qd(b,a,h,c);xd(q,b);if(null!==d&&(x=d[h-e],null!==x))for(A=0;A<x.length;){var B=x[A++],K=x[A++],N=x[A++];Qga(l,q,B,K,N)}l.template&&(bd(c.index,b)[8]=qd(b,a,
h,c))}64===(c.flags&64)&&Rga(a,b,c)},Tga=function(a,b,c){c=void 0===c?ad: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}},Oga=function(a){var b=a.tView;return null===b||b.incompleteFirstPass?a.tView=Uga(1,null,a.template,a.decls,a.vars,a.directiveDefs,a.pipeDefs,a.viewQuery,a.schemas,a.consts,a.id):b},Uga=function(a,b,c,d,e,g,h,l,q,x,A){d=25+d;e=d+e;for(var B=[],K=0;K<e;K++)B.push(K<d?null:Od);x="function"===typeof x?x():x;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:x,incompleteFirstPass:!1,ssrId:A}},Vga=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},Pd=function(a,b,c,d,e,g,h,l){var q=ad(b,c),x=b.inputs,A;!l&&null!=x&&(A=x[d])?(Wga(a,c,A,d,e),-1<b.componentOffset&&(a=bd(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))},Zga=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 x=g[q];if(qea(c,x.selectors,!1))if(h||(h=[]),x.template)if(null!==x.findHostDirectiveDefs){var A=[];l=l||new Map;x.findHostDirectiveDefs(x,A,l);h.unshift.apply(h,
[].concat(Vc(A),[x]));Xga(a,c,A.length)}else h.unshift(x),Xga(a,c,0);else{l=l||new Map;var B=A=void 0;null==(B=(A=x).findHostDirectiveDefs)||B.call(A,x,h,l);h.push(x)}}g=null===h?null:[h,l];null===g?g=h=null:(h=k(g),g=h.next().value,h=h.next().value);null!==g&&Yga(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 uc(-301,!1);a.push(d[b],g)}c.mergedAttrs=Cc(c.mergedAttrs,c.attrs)},Yga=function(a,b,c,d,e,g){for(var h=0;h<d.length;h++){var l=Afa(c,b);wfa(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,x=!1;h=Lga(a,b,d.length,null);for(l=0;l<d.length;l++){var A=d[l];c.mergedAttrs=Cc(c.mergedAttrs,A.hostAttrs);var B=a,K=c,N=b,P=h;B.data[P]=A;var Y=A.factory||(A.factory=Mc(A.type));Y=new rd(Y,!!A.template);B.blueprint[P]=Y;N[P]=Y;var X=K;N=Lga(B,N,A.hostVars,Od);if(K=A.hostBindings){Y=B.hostBindingOpCodes;null===
Y&&(Y=B.hostBindingOpCodes=[]);B=~X.index;a:{for(X=Y.length;0<X;){var ka=Y[--X];if("number"===typeof ka&&0>ka){X=ka;break a}}X=0}X!=B&&Y.push(B);Y.push(P,N,K)}B=h;if(P=e){if(A.exportAs)for(N=0;N<A.exportAs.length;N++)P[A.exportAs[N]]=B;A.template&&(P[""]=B)}null!==A.contentQueries&&(c.flags|=4);if(null!==A.hostBindings||null!==A.hostAttrs||0!==A.hostVars)c.flags|=64;A=A.type.prototype;!q&&(A.ngOnChanges||A.ngOnInit||A.ngDoCheck)&&(B=q=void 0,(null!=(B=(q=a).preOrderHooks)?B:q.preOrderHooks=[]).push(c.index),
q=!0);x||!A.ngOnChanges&&!A.ngDoCheck||(A=x=void 0,(null!=(A=(x=a).preOrderCheckHooks)?A:x.preOrderCheckHooks=[]).push(c.index),x=!0);h++}b=c.directiveEnd;a=a.data;d=c.attrs;e=[];l=h=null;for(q=c.directiveStart;q<b;q++){x=a[q];B=(A=g?g.get(x):null)?A.outputs:null;h=Vga(x.inputs,q,h,A?A.inputs:null);l=Vga(x.outputs,q,l,B);if(null===h||null===d||4===c.type&&"ng-template"!==c.value)x=null;else{x=h;A=q;B=null;for(P=0;P<d.length;)if(N=d[P],0===N)P+=4;else{if(5!==N){if("number"===typeof N)break;if(x.hasOwnProperty(N))for(null===
B&&(B=[]),K=x[N],Y=0;Y<K.length;Y+=2)if(K[Y]===A){B.push(N,K[Y+1],d[P+1]);break}}P+=2}x=B}e.push(x)}null!==h&&(h.hasOwnProperty("class")&&(c.flags|=8),h.hasOwnProperty("style")&&(c.flags|=16));c.initialInputs=e;c.inputs=h;c.outputs=l},Rga=function(a,b,c){var d=c.directiveStart,e=c.directiveEnd,g=c.index;c=dd.currentDirectiveIndex;try{for(dd.selectedIndex=g;d<e;d++){var h=a.data[d],l=b[d];dd.currentDirectiveIndex=d;null===h.hostBindings&&0===h.hostVars&&null===h.hostAttrs||null===h.hostBindings||h.hostBindings(1,
l)}}finally{dd.selectedIndex=-1,dd.currentDirectiveIndex=c}},Xga=function(a,b,c){b.componentOffset=c;var d;(null!=(d=a.components)?d:a.components=[]).push(b.index)},$ga=function(a,b,c,d,e,g){var h=ad(a,b);b=b[11];a=a.value;null==d?b.removeAttribute(h,c,g):(d=null==e?sc(d):e(d,a||"",c),b.setAttribute(h,c,d,g))},Qga=function(a,b,c,d,e){var g=ld(null);try{var h=a.inputTransforms;null!==h&&h.hasOwnProperty(d)&&(e=h[d].call(b,e));null!==a.setInput?a.setInput(b,e,c,d):b[d]=e}finally{ld(g)}},aha=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];dd.currentQueryIndex=e;h.contentQueries(2,b[g],g)}}},Pga=function(a,b){a[12]?a[13][4]=b:a[12]=b;return a[13]=b},bha=function(a,b,c){dd.currentQueryIndex=0;var d=ld(null);try{b(a,c)}finally{ld(d)}},cha=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]},dha=function(a,b){(a=(a=a[9])?a.get(Qd,null):
null)&&a.handleError(b)},Wga=function(a,b,c,d,e){for(var g=0;g<c.length;){var h=c[g++],l=c[g++];Qga(a.data[h],b[h],d,l,e)}},eha=function(a,b){var c=$c(a[dd.selectedIndex]);a[11].setValue(c,b)},fha=function(a,b,c){ifa(b);try{var d=a.viewQuery;null!==d&&bha(1,d,c);var e=a.template;null!==e&&Mga(a,b,e,1,c);a.firstCreatePass&&(a.firstCreatePass=!1);a.staticContentQueries&&aha(a,b);a.staticViewQueries&&bha(2,a.viewQuery,c);var g=a.components;if(null!==g)for(c=0;c<g.length;c++){var h=bd(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);fha(l,h,h[8])}}catch(x){throw a.firstCreatePass&&(a.incompleteFirstPass=!0,a.firstCreatePass=!1),x;}finally{b[2]&=-5,lfa()}},gha=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=dea(e,l);else if(2==g){var q=b[++h];d=dea(d,l+": "+q+";")}}c?a.styles=d:a.stylesWithoutHost=d;c?a.classes=
e:a.classesWithoutHost=e},hha=function(a,b,c,d,e){for(e=void 0===e?!1:e;null!==c;){var g=b[c.index];null!==g&&d.push($c(g));if(Yc(g)){for(var h=11;h<g.length;h++){var l=g[h],q=l[1].firstChild;null!==q&&hha(l[1],l,q,d)}g[7]!==g[0]&&d.push(g[7])}g=c.type;if(g&8)hha(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,Vc(g)):(h=Pfa(b[15]),hha(h[1],h,g,d,!0)));c=e?c.projectionNext:c.next}return d},
jha=function(a,b,c,d){d=void 0===d?!0:d;var e=b[10].rendererFactory;e.begin&&e.begin();try{iha(a,b,a.template,c)}catch(h){throw d&&dha(b,h),h;}finally{e.end&&e.end();var g;null!=(g=b[10].effectManager)&&g.flush()}},iha=function(a,b,c,d){var e=b[2];if(256!==(e&256)){var g;null!=(g=b[10].effectManager)&&g.flush();ifa(b);try{b[17]=0;dd.bindingIndex=a.bindingStartIndex;null!==c&&Mga(a,b,c,2,d);if(c=3===(e&3)){var h=a.preOrderCheckHooks;null!==h&&md(b,h,3,null)}else{var l=a.preOrderHooks;null!==l&&pfa(b,
l,0,null);qfa(b,0)}for(var q=Qfa(b[12]);null!==q;q=Qfa(q[4]))if(q[2]){var x=q[9];for(h=0;h<x.length;h++){var A=x[h];0===(A[2]&1024)&&(A[2]|=1024,dfa(A,1))}}kha(b,2);null!==a.contentQueries&&aha(a,b);if(c){var B=a.contentCheckHooks;null!==B&&md(b,B,3)}else{var K=a.contentHooks;null!==K&&pfa(b,K,1);qfa(b,1)}var N=a.hostBindingOpCodes;if(null!==N){var P=hga(b,24);try{for(q=0;q<N.length;q++){var Y=N[q];if(0>Y)dd.selectedIndex=~Y;else{x=Y;var X=N[++q],ka=N[++q];A=dd;A.bindingIndex=A.bindingRootIndex=X;
dd.currentDirectiveIndex=x;P.runInContext(ka,2,b[x])}}}finally{null===b[24]&&iga(b,24),dd.selectedIndex=-1}}var ma=a.components;if(null!==ma)for(N=0;N<ma.length;N++){var za=bd(ma[N],b);lha(za,0)}var Ba=a.viewQuery;null!==Ba&&bha(2,Ba,d);if(c){var Ma=a.viewCheckHooks;null!==Ma&&md(b,Ma,3)}else{var Sa=a.viewHooks;null!==Sa&&pfa(b,Sa,2);qfa(b,2)}!0===a.firstUpdatePass&&(a.firstUpdatePass=!1);b[2]&=-73;efa(b)}finally{lfa()}}},kha=function(a,b){for(a=Qfa(a[12]);null!==a;a=Qfa(a[4]))for(var c=11;c<a.length;c++)lha(a[c],
b)},lha=function(a,b){if(128===(a[2]&128)){var c=a[1];if(a[2]&80&&0===b||a[2]&1024||2===b)iha(c,a,c.template,a[8]);else if(0<a[5]&&(kha(a,1),b=a[1].components,null!==b))for(c=0;c<b.length;c++){var d=bd(b[c],a);lha(d,1)}}},mha=function(a){var b=[],c;for(c in a)a.hasOwnProperty(c)&&b.push({propName:a[c],templateName:c});return b},nha=function(){ofa(v()[1],ed())},oha=function(a,b,c){return new Rd(a,b,c)},qha=function(a,b,c){return(new pha({providers:a,parent:b,debugName:void 0===c?null:c,runEnvironmentInitializers:!0})).injector},
Sd=function(a){return!!a&&"function"===typeof a.then},rha=function(a){return!!a&&"function"===typeof a.subscribe},Td=function(a){var b=a.toLowerCase().replace(/_/g,"-");if(a=sha(b))return a;b=b.split("-")[0];if(a=sha(b))return a;if("en"===b)return tha;throw new uc(701,!1);},sha=function(a){a in uha||(uha[a]=Id.ng&&Id.ng.common&&Id.ng.common.locales&&Id.ng.common.locales[a]);return uha[a]},Ud=function(a){setTimeout(function(){throw a;},0)},Vd=function(a){return"function"===typeof a},vha=function(a){return null!==
a&&"object"===typeof a},wha=function(a){return a instanceof Wd||a&&"closed"in a&&"function"===typeof a.remove&&"function"===typeof a.add&&"function"===typeof a.unsubscribe},xha=function(a){return a.reduce(function(b,c){return b.concat(c instanceof Xd?c.errors:c)},[])},yha=function(a){for(;a;){var b=a,c=b.destination,d=b.isStopped;if(b.closed||d)return!1;c&&c instanceof Yd?a=c:a=null}return!0},Zd=function(a){return a},zha=function(a){return 0===a.length?Zd:1===a.length?a[0]:function(b){return a.reduce(function(c,
d){return d(c)},b)}},Aha=function(a){return a&&"function"===typeof a.next&&"function"===typeof a.error&&"function"===typeof a.complete},Bha=function(a){a||(a=$d.Promise||Promise);if(!a)throw Error("Fa");return a},Cha=function(a){return new ae(function(b){return a.schedule(function(){return b.complete()})})},Dha=function(a,b){return new ae(function(c){var d=new Wd,e=0;d.add(b.schedule(function(){e===a.length?c.complete():(c.next(a[e++]),c.closed||d.add(this.schedule()))}));return d})},be=function(a,
b){return b?Dha(a,b):new ae(Eha(a))},ce=function(a){return a&&"function"===typeof a.schedule},Fha=function(){var a=Pc.apply(0,arguments),b=a[a.length-1];return ce(b)?(a.pop(),Dha(a,b)):be(a)},Gha=function(a){a.subscriber.error(a.error)},de=function(a,b){if(a&&"function"===typeof a.lift)return a.lift(b);throw new TypeError("Ga");},Hha=function(a,b,c){if(a&&"function"===typeof a.lift)return a.lift.call(b,c);throw new TypeError("Ga");},ee=function(){return function(a){return de(a,new Iha)}},D=function(a){return function(b){if("function"!==
typeof a)throw new TypeError("Ha");return de(b,new Jha(a))}},Kha=function(a,b,c){if(b)if(ce(b))c=b;else return function(){return Kha(a,c).apply(null,Vc(Pc.apply(0,arguments))).pipe(D(function(d){return fe(d)?b.apply(null,Vc(d)):b(d)}))};return function(){var d=Pc.apply(0,arguments),e=this,g,h={context:e,subject:void 0,callbackFunc:a,scheduler:c};return new ae(function(l){if(c)return c.schedule(Lha,0,{args:d,subscriber:l,params:h});if(!g){g=new ge;var q=function(){var x=Pc.apply(0,arguments);g.next(1>=
x.length?x[0]:x);g.complete()};try{a.apply(e,[].concat(Vc(d),[q]))}catch(x){yha(g)?g.error(x):console.warn(x)}}return g.subscribe(l)})}},Lha=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 ge;e=function(){var q=Pc.apply(0,arguments);b.add(h.schedule(Mha,0,{value:1>=q.length?q[0]:q,subject:l}))};try{a.apply(g,[].concat(Vc(c),[e]))}catch(q){l.error(q)}}this.add(l.subscribe(d))},Mha=function(a){var b=a.subject;
b.next(a.value);b.complete()},Nha=function(a,b,c){if(b)if(ce(b))c=b;else return function(){return Nha(a,c).apply(null,Vc(Pc.apply(0,arguments))).pipe(D(function(d){return fe(d)?b.apply(null,Vc(d)):b(d)}))};return function(){var d=Pc.apply(0,arguments),e={subject:void 0,args:d,callbackFunc:a,scheduler:c,context:this};return new ae(function(g){var h=e.context,l=e.subject;if(c)return c.schedule(Oha,0,{params:e,subscriber:g,context:h});if(!l){l=e.subject=new ge;var q=function(){var x=Pc.apply(0,arguments),
A=x.shift();A?l.error(A):(l.next(1>=x.length?x[0]:x),l.complete())};try{a.apply(h,[].concat(Vc(d),[q]))}catch(x){yha(l)?l.error(x):console.warn(x)}}return l.subscribe(g)})}},Oha=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 ge;c=function(){var q=Pc.apply(0,arguments),x=q.shift();x?b.add(h.schedule(Pha,0,{err:x,subject:l})):b.add(h.schedule(Qha,0,{value:1>=q.length?q[0]:q,subject:l}))};try{e.apply(a,[].concat(Vc(g),
[c]))}catch(q){this.add(h.schedule(Pha,0,{err:q,subject:l}))}}this.add(l.subscribe(d))},Qha=function(a){var b=a.subject;b.next(a.value);b.complete()},Pha=function(a){a.subject.error(a.err)},Rha=function(a){return!!a&&"function"!==typeof a.subscribe&&"function"===typeof a.then},Tha=function(a){return function(b){Sha(a,b).catch(function(c){return b.error(c)})}},Sha=function(a,b){var c,d,e,g,h,l;return he(function(q){switch(q.nextAddress){case 1:ie(q,2,3);var x=a[Symbol.asyncIterator];g=void 0!==x?x.call(a):
new Uha(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:je(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:je(q,0,0,1);if(c)throw c.error;ke(q,10,1);break;case 10:ke(q,4);break;case 2:l=le(q);c={error:l};q.jumpTo(3);break;case 4:b.complete(),me(q)}})},ne=function(a,b){if(!b.closed)return a instanceof ae?a.subscribe(b):Vha(a)(b)},Wha=function(a,
b){if(!a)throw Error("Ka");return new ae(function(c){var d=new Wd;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})},Xha=function(a,b){if(!a)throw Error("Ka");return new ae(function(c){var d=new Wd,e;d.add(function(){e&&"function"===typeof e.return&&e.return()});d.add(b.schedule(function(){e=a[pe]();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})},Yha=function(a,b){return new ae(function(c){var d=new Wd;d.add(b.schedule(function(){var e=a[qe]();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})},Zha=function(a,b){return new ae(function(c){var d=
new Wd;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})},aia=function(a,b){if(null!=a){if(a&&"function"===typeof a[qe])return Yha(a,b);if(Rha(a))return Zha(a,b);if($ha(a))return Dha(a,b);if(a&&"function"===typeof a[pe]||"string"===typeof a)return Xha(a,b);if(Symbol&&Symbol.asyncIterator&&"function"===typeof a[Symbol.asyncIterator])return Wha(a,
b)}throw new TypeError("La`"+(null!==a&&typeof a||a));},re=function(a,b){return b?aia(a,b):a instanceof ae?a:new ae(Vha(a))},se=function(a,b){var c=void 0===c?Infinity:c;if("function"===typeof b)return function(d){return d.pipe(se(function(e,g){return re(a(e,g)).pipe(D(function(h,l){return b(e,h,g,l)}))},c))};"number"===typeof b&&(c=b);return function(d){return de(d,new bia(a,c))}},te=function(a){a=void 0===a?Infinity:a;return se(Zd,a)},ue=function(){return te(1)(Fha.apply(null,Vc(Pc.apply(0,arguments))))},
cia=function(a){return new ae(function(b){try{var c=a()}catch(d){b.error(d);return}return re(c).subscribe(b)})},fia=function(a){return new ae(function(b){var c=a||dia,d=c.now(),e=function(h){var l=c.now();b.next({timestamp:a?l:h,elapsed:l-d});b.closed||(g=eia(e))};var g=eia(e);return function(){return g.unsubscribe()}})},gia=function(a,b){return new ae(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$2268:0};l.$jscomp$loop$prop$i$2268<d;l={$jscomp$loop$prop$hasValue$2269:l.$jscomp$loop$prop$hasValue$2269,
$jscomp$loop$prop$i$2268:l.$jscomp$loop$prop$i$2268},l.$jscomp$loop$prop$i$2268++){var q=re(a[l.$jscomp$loop$prop$i$2268]);l.$jscomp$loop$prop$hasValue$2269=!1;c.add(q.subscribe({next:function(x){return function(A){x.$jscomp$loop$prop$hasValue$2269||(x.$jscomp$loop$prop$hasValue$2269=!0,h++);e[x.$jscomp$loop$prop$i$2268]=A}}(l),error:function(x){return c.error(x)},complete:function(x){return function(){g++;g!==d&&x.$jscomp$loop$prop$hasValue$2269||(h===d&&c.next(b?b.reduce(function(A,B,K){return A[B]=
e[K],A},{}):e),c.complete())}}(l)}))}})},hia=function(a,b,c,d){Vd(c)&&(d=c,c=void 0);return d?hia(a,b,c).pipe(D(function(e){return fe(e)?d.apply(null,Vc(e)):d(e)})):new ae(function(e){iia(a,b,function(g){1<arguments.length?e.next(Array.prototype.slice.call(arguments)):e.next(g)},e,c)})},iia=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++)iia(a[h],b,c,d,e);else throw new TypeError("Ma");d.add(g)},jia=function(a,b,c){return c?jia(a,b).pipe(D(function(d){return fe(d)?c.apply(null,Vc(d)):c(d)})):new ae(function(d){var e=function(){var h=Pc.apply(0,arguments);return d.next(1===
h.length?h[0]:h)};try{var g=a(e)}catch(h){d.error(h);return}if(Vd(b))return function(){return b(e,g)}})},kia=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)}},lia=function(a){return!fe(a)&&
0<=a-parseFloat(a)+1},mia=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)},ve=function(){},nia=function(){var a=Pc.apply(0,arguments);if(0===a.length)return we;var b=k(a),c=b.next().value,d=xe(b);return 1===a.length&&fe(c)?nia.apply(null,Vc(c)):new ae(function(e){var g=function(){return e.add(nia.apply(null,Vc(d)).subscribe(e))};return re(c).subscribe({next:function(h){e.next(h)},error:g,complete:g})})},oia=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()},ye=function(a,b){return function(c){return de(c,new pia(a,b))}},qia=function(a,b){function c(){return!c.pred.apply(c.thisArg,arguments)}c.pred=a;c.thisArg=b;return c},sia=function(){var a=Pc.apply(0,arguments);if(1===a.length)if(fe(a[0]))a=a[0];else return re(a[0]);return de(be(a),new ria)},tia=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)))},uia=function(a){return a instanceof Date&&!isNaN(a)},wia=function(a,b,c){a=void 0===a?0:a;var d=-1;null!=b&&(ce(b)?c=b:d=b);ce(c)||(c=ze);return new ae(function(e){var g=Math.max(0,uia(a)?+a-c.now():a);return c.schedule(via,g,{counter:0,period:d,subscriber:e})})},via=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:ze;if(uia(a))var l=a;else if("number"===typeof a)d=a;else{l=a.first;d=a.each;e=a.with;b=a.scheduler||ze;var q;g=null!=(q=a.meta)?q:null}var x;e=null!=(x=e)?x:xia;if(null==l&&null==d)throw new TypeError("Oa");return de(c,function(A){var B=this,K=new Wd,N,P=null,Y=null,X=0,ka=function(ma){K.add(P=b.schedule(function(){var za={meta:g,lastValue:Y,seen:X};try{var Ba=re(e(za))}catch(Ma){B.error(Ma);return}N.unsubscribe();
K.add(Ba.subscribe(B))},ma))};K.add(N=A.subscribe({next:function(ma){var za;null==(za=P)||za.unsubscribe();P=null;X++;Y=ma;null!=d&&0<d&&ka(d);B.next(ma)},error:function(ma){return B.error(ma)},complete:function(){return B.complete()}}));A=null!=l?"number"===typeof l?l:+l-b.now():d;ka(A);return K})}},xia=function(a){throw new yia(a);},Aia=function(a){return a in zia?(delete zia[a],!0):!1},Cia=function(a){"undefined"===typeof Zone?Bia.then(function(){a&&a.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",
a)},Dia=function(a){return function(b){setTimeout(a,void 0,b)}},Eia=function(){},Gia=function(a){return function(b){return de(b,new Fia(a))}},Be=function(a,b){b=void 0===b?ze:b;return Gia(function(){return wia(a,b)})},Iia=function(a){return function(b){return de(b,new Hia(a))}},Ce=function(a){return function(b){return de(b,function(c){var d=this,e=new Wd,g=null,h=!1,l;g=c.subscribe({next:function(q){return d.next(q)},error:function(q){try{l=re(a(q,Ce(a)(c)))}catch(x){d.error(x)}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})}},Kia=function(){var a=Pc.apply(0,arguments),b=void 0;"function"===typeof a[a.length-1]&&(b=a.pop());1===a.length&&fe(a[0])&&(a=a[0].slice());return function(c){return Hha(c,re([c].concat(Vc(a))),new Jia(b))}},Lia=function(){return Kia.apply(null,Vc(Pc.apply(0,arguments)))},Mia=function(){var a=Pc.apply(0,arguments);return function(b){return Hha(b,ue.apply(null,
[b].concat(Vc(a))))}},Nia=function(){var a=Pc.apply(0,arguments);return function(b){return Hha(b,ue.apply(null,[b].concat(Vc(a))))}},Pia=function(a){return function(b){return de(b,new Oia(a))}},De=function(a,b){b=void 0===b?ze:b;return function(c){return de(c,new Qia(a,b))}},Sia=function(a){Ria(a)},Uia=function(a){a=void 0===a?null:a;return function(b){return de(b,new Tia(a))}},Ee=function(a,b){b=void 0===b?ze:b;var c=uia(a)?+a-b.now():Math.abs(a);return function(d){return de(d,new Via(c,b))}},Fe=
function(a){return function(b){return de(b,new Wia(a))}},Ge=function(){if(isNaN(1))throw new TypeError("Pa");return function(a){return de(a,new Xia)}},$ia=function(a){a=void 0===a?Yia:a;return function(b){return de(b,new Zia(a))}},Yia=function(){return new He},Ie=function(a){return function(b){return de(b,new aja(a))}},Je=function(a,b){var c=2<=arguments.length;return function(d){return d.pipe(a?ye(function(e,g){return a(e,g,d)}):Zd,Ge(),c?Uia(b):$ia(function(){return new He}))}},cja=function(){return function(a){return de(a,
new bja)}},eja=function(){if(isNaN(1))throw new TypeError("Pa");return function(a){return de(a,new dja)}},fja=function(a,b){var c=2<=arguments.length;return function(d){return d.pipe(a?ye(function(e,g){return a(e,g,d)}):Zd,eja(),c?Uia(b):$ia(function(){return new He}))}},Ke=function(a){return function(b){return de(b,new gja(a))}},Le=function(a,b){var c=!1;2<=arguments.length&&(c=!0);return function(d){return de(d,new hja(a,b,c))}},jja=function(a){return function(b){var c="function"===typeof a?a:function(){return a};
var d=Object.create(b,ija);d.source=b;d.subjectFactory=c;return d}},kja=function(){var a=new Me(1,void 0,void 0);return function(b){return jja(function(){return a})(b)}},lja=function(){var a=Pc.apply(0,arguments);return function(b){return 0===a.length?b:Hha(b,sia.apply(null,[b].concat(Vc(a))))}},mja=function(){return new Ne},Oe=function(){return function(a){return ee()(jja(mja)(a))}},Pe=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 de(c,
nja(b))}},nja=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 x=g.subscribe(this);else g=new Me(b,c,e),x=g.subscribe(this),l=q.subscribe({next:function(A){g.next(A)},error:function(A){var B=g;g=l=void 0;B.error(A)},complete:function(){l=void 0;g.complete()}}),l.closed&&(l=void 0);this.add(function(){h--;x.unsubscribe();d&&0===h&&l&&(l.unsubscribe(),g=l=void 0)})}},Qe=function(a){return function(b){return de(b,
new oja(a))}},Re=function(){var a=Pc.apply(0,arguments),b=a[a.length-1];return ce(b)?(a.pop(),function(c){return ue(a,c,b)}):function(c){return ue(a,c)}},Se=function(a){return function(b){return de(b,new pja(a))}},Te=function(a){return function(b){return de(b,new qja(a))}},sja=function(a){var b=void 0===b?!1:b;return function(c){return de(c,new rja(a,b))}},Ue=function(a,b){return function(c){return de(c,new tja(a,b))}},wja=function(a){var b=void 0===b?uja:b;return function(c){return de(c,new vja(a,
!!b.leading,!!b.trailing))}},Ve=function(){var a=Pc.apply(0,arguments);return function(b){var c;"function"===typeof a[a.length-1]&&(c=a.pop());return de(b,new xja(a,c))}},yja=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}}},Aja=function(a){a.isCheckStableRunning||-1!==a.lastRequestAnimationFrameId||
(a.lastRequestAnimationFrameId=a.nativeRequestAnimationFrame.call(Id,function(){a.fakeTopEventTask||(a.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",function(){a.lastRequestAnimationFrameId=-1;zja(a);a.isCheckStableRunning=!0;yja(a);a.isCheckStableRunning=!1},void 0,function(){},function(){}));a.fakeTopEventTask.invoke()}),zja(a))},Cja=function(a){a._inner=a._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(b,c,d,e,g,h){try{return Bja(a),b.invokeTask(d,
e,g,h)}finally{(a.shouldCoalesceEventChangeDetection&&"eventTask"===e.type||a.shouldCoalesceRunChangeDetection)&&Aja(a),a._nesting--,yja(a)}},onInvoke:function(b,c,d,e,g,h,l){try{return Bja(a),b.invoke(d,e,g,h,l)}finally{a.shouldCoalesceRunChangeDetection&&Aja(a),a._nesting--,yja(a)}},onHasTask:function(b,c,d,e){b.hasTask(d,e);c===d&&("microTask"==e.change?(a._hasPendingMicrotasks=e.microTask,zja(a),yja(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}})},zja=function(a){a.hasPendingMicrotasks=a._hasPendingMicrotasks||(a.shouldCoalesceEventChangeDetection||a.shouldCoalesceRunChangeDetection)&&-1!==a.lastRequestAnimationFrameId?!0:!1},Bja=function(a){a._nesting++;a.isStable&&(a.isStable=!1,a.onUnstable.emit(null))},Fja=function(){var a=Ac(We),b=!0;return(0,E.merge)(new E.Observable(function(c){b=a.isStable&&!a.hasPendingMacrotasks&&!a.hasPendingMicrotasks;a.runOutsideAngular(function(){c.next(b);
c.complete()})}),(new E.Observable(function(c){var d;a.runOutsideAngular(function(){d=a.onStable.subscribe(function(){Dja();Cia(function(){b||a.hasPendingMacrotasks||a.hasPendingMicrotasks||(b=!0,c.next(!0))})})});var e=a.onUnstable.subscribe(function(){if(!Eja())throw new uc(909,!1);b&&(b=!1,a.runOutsideAngular(function(){c.next(!1)}))});return function(){d.unsubscribe();e.unsubscribe()}})).pipe(Oe()))},Hja=function(a){var b;null==(b=a.get(Gja,null))||b.forEach(function(c){return c()})},Lja=function(a,
b,c){c=void 0===c?[]:c;var d="Platform: "+b,e=new Rc(d);return function(g){g=void 0===g?[]:g;var h=Ija();if(!h||h.injector.get(Jja,!1))if(g=[].concat(Vc(c),Vc(g),[{provide:e,useValue:!0}]),a)a(g);else{g=Kja(g,d);if(Xe&&!Xe.get(Jja,!1))throw new uc(400,!1);Xe=g;g.get(Ye);Hja(g)}g=Ija();if(!g)throw new uc(401,!1);return g}},Kja=function(a,b){a=void 0===a?[]:a;return Ze({name:b,providers:[{provide:Mja,useValue:"platform"},{provide:Nja,useValue:new Set([function(){return Xe=null}])}].concat(Vc(a))})},
Ija=function(){var a,b;return null!=(b=null==(a=Xe)?void 0:a.get(Ye))?b:null},Oja=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}},Pja=function(a,b){a=void 0===a?"zone.js":a;return"noop"===a?new $e:"zone.js"===a?new We(b):a},Qja=function(a,b,c){try{var d=c();return Sd(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;}},Rja=function(a,b){return Array.isArray(b)?b.reduce(Rja,a):Object.assign({},a,b)},Sja=function(a,b){b=a.indexOf(b);-1<b&&a.splice(b,1)},Tja=function(){var a=Ac(We),b=Ac(Qd);return function(c){return a.runOutsideAngular(function(){return b.handleError(c)})}},Wja=function(a){return[{provide:We,useFactory:a},{provide:Nea,multi:!0,useFactory:function(){var b=Ac(af,{optional:!0});return function(){return b.initialize()}}},
{provide:Uja,useFactory:Tja},{provide:Vja,useFactory:Fja}]},bf=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 uc(903,!1);e=b.\u0275dir}if(e){if(c){d.push(e);var g=a;g.inputs=Xja(a.inputs);g.inputTransforms=Xja(a.inputTransforms);g.declaredInputs=Xja(a.declaredInputs);g.outputs=Xja(a.outputs);var h=e.hostBindings;h&&Yja(a,h);h=e.viewQuery;var l=e.contentQueries;h&&Zja(a,h);l&&$ja(a,
l);Wda(a.inputs,e.inputs);Wda(a.declaredInputs,e.declaredInputs);Wda(a.outputs,e.outputs);null!==e.inputTransforms&&(null===g.inputTransforms&&(g.inputTransforms={}),Wda(g.inputTransforms,e.inputTransforms));e.template&&e.data.animation&&(g=a.data,g.animation=(g.animation||[]).concat(e.data.animation))}if(e=e.features)for(g=0;g<e.length;g++)(h=e[g])&&h.ngInherit&&h(a),h===bf&&(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=Cc(e.hostAttrs,
b=Cc(b,e.hostAttrs))},Xja=function(a){return a===Jc?{}:a===Fc?[]:a},Zja=function(a,b){var c=a.viewQuery;a.viewQuery=c?function(d,e){b(d,e);c(d,e)}:b},$ja=function(a,b){var c=a.contentQueries;a.contentQueries=c?function(d,e,g){b(d,e,g);c(d,e,g)}:b},Yja=function(a,b){var c=a.hostBindings;a.hostBindings=c?function(d,e){b(d,e);c(d,e)}:b},bka=function(a){return aka(a)?Array.isArray(a)||!(a instanceof Map)&&Symbol.iterator in a:!1},cka=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)},aka=function(a){return null!==a&&("function"===typeof a||"object"===typeof a)},cf=function(a,b,c){return a[b]=c},df=function(a,b,c){if(Object.is(a[b],c))return!1;a[b]=c;return!0},ef=function(a,b,c,d){c=df(a,b,c);return df(a,b+1,d)||c},gf=function(a,b,c,d){var e=v(),g=dd.bindingIndex++;df(e,g,b)&&(g=id(),$ga(g,e,a,b,c,d));return gf},hf=function(a,b,c,d){return df(a,dd.bindingIndex++,c)?b+sc(c)+d:Od},dka=function(a,b,c,d,e,g){a=ef(a,dd.bindingIndex,
c,e);hd(2);return a?b+sc(c)+d+sc(e)+g:Od},jf=function(a,b,c,d,e,g){var h=v();b=hf(h,b,c,d);b!==Od&&(c=id(),$ga(c,h,a,b,e,g));return jf},kf=function(a,b,c,d,e,g,h,l){var q=v();b=dka(q,b,c,d,e,g);b!==Od&&(c=id(),$ga(c,q,a,b,h,l));return kf},eka=function(a,b,c,d,e,g,h,l,q,x){var A=v();var B=dd.bindingIndex;var K=ef(A,B,c,e);B=df(A,B+2,h)||K;hd(3);b=B?b+sc(c)+d+sc(e)+g+sc(h)+l:Od;b!==Od&&(c=id(),$ga(c,A,a,b,q,x));return eka},F=function(a,b,c){var d=v(),e=dd.bindingIndex++;if(df(d,e,b)){e=dd.tView;var g=
id();Pd(e,g,d,a,b,d[11],c,!1)}return F},fka=function(a,b,c,d,e){e=e?"class":"style";Wga(a,c,b.inputs[e],e,d)},gka=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],x=a[h],A=b;if(null===x||null==A||(Array.isArray(x)?x[1]:x)===A||Array.isArray(x)&&"string"===typeof A&&0<=Nc(x,A))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)},hka=function(a,b){var c=lf;if(c===b)return-1;for(b=mf=b;b<c&&32<a.charCodeAt(b);)b++;
b=nf=b;return of(a,b,c)},mka=function(a,b){var c=lf;b=mf=of(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=nf=b;b=ika(a,b,c);d=b=jka=of(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=kka(a,q,h,c):d===h-4&&85===g&&82===e&&76===b&&40===q?l=h=kka(a,41,h,c):32<q&&(l=h);g=e;e=b;b=q&-33}b=lka=l;return ika(a,b,c)},of=function(a,b,c){for(;b<c&&32>=a.charCodeAt(b);)b++;return b},
ika=function(a,b,c){b=of(a,b,c);b<c&&b++;return b},kka=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();},pf=function(a,b,c){nka(a,b,c,!1);return pf},qf=function(a,b){nka(a,b,null,!0);return qf},pka=function(a,b){var c;lka=jka=nf=mf=0;lf=b.length;for(c=mka(b,of(b,0,lf));0<=c;c=mka(b,c))oka(a,b.substring(mf,nf),b.substring(jka,lka))},rf=function(a){qka(rka,ska,a,!0)},ska=function(a,b){var c;lka=jka=nf=mf=0;lf=b.length;for(c=hka(b,
of(b,0,lf));0<=c;c=hka(b,c))Oc(a,b.substring(mf,nf),!0)},nka=function(a,b,c,d){var e=v(),g=dd.tView,h=hd(2);g.firstUpdatePass&&tka(g,a,h,d);if(b!==Od&&df(e,h,b)){var l=g.data[dd.selectedIndex],q=e[11];null!=b&&""!==b&&("string"===typeof c?b+=c:"object"===typeof b&&(b=tc(Gd(b))));uka(g,l,e,q,a,e[h+1]=b,d,h)}},qka=function(a,b,c,d){var e=dd.tView,g=hd(2);e.firstUpdatePass&&tka(e,null,g,d);var h=v();if(c!==Od&&df(h,g,c)){var l=e.data[dd.selectedIndex];if(0===(l.flags&(d?8:16))||g>=e.expandoStartIndex){var q=
h[11],x=h[g+1];if(null==c||""===c)a=Fc;else{var A=[];c=Gd(c);if(Array.isArray(c))for(b=0;b<c.length;b++)a(A,c[b],!0);else if("object"===typeof c)for(var B in c)c.hasOwnProperty(B)&&a(A,B,c[B]);else"string"===typeof c&&b(A,c);a=A}a=h[g+1]=a;x===Od&&(x=Fc);b=A=0;c=0<x.length?x[0]:null;for(B=0<a.length?a[0]:null;null!==c||null!==B;){var K=A<x.length?x[A+1]:void 0,N=b<a.length?a[b+1]:void 0,P=null,Y=void 0;c===B?(A+=2,b+=2,K!==N&&(P=B,Y=N)):null===B||null!==c&&c<B?(A+=2,P=c):(b+=2,P=B,Y=N);null!==P&&
uka(e,l,h,q,P,Y,d,g);c=A<x.length?x[A]:null;B=b<a.length?a[b]:null}}else g=d?l.classesWithoutHost:l.stylesWithoutHost,null!==g&&(c=dea(g,c?c:"")),fka(e,l,h,c,d)}},tka=function(a,b,c,d){var e=a.data;if(null===e[c+1]){var g=e[dd.selectedIndex];a=c>=a.expandoStartIndex;0!==(g.flags&(d?8:16))&&null===b&&!a&&(b=!1);var h=ffa(e),l=d?g.residualClasses:g.residualStyles;if(null===h)0===(d?g.classBindings:g.styleBindings)&&(b=vka(null,e,g,b,d),b=sf(b,g.attrs,d),l=null);else{var q=g.directiveStylingLast;if(-1===
q||e[q]!==h)if(b=vka(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=vka(null,e,g,h[1],d),h=sf(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=sf(l,e[q].hostAttrs,d);l=sf(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 x=!1;if(Array.isArray(q)){if(h=
q[1],null===h||0<Nc(q,h))x=!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);x&&(e[c+1]=e[c+1]|2);gka(e,h,c,!0);gka(e,h,c,!1);a=d?g.residualClasses:g.residualStyles;null!=a&&"string"==typeof h&&0<=Nc(a,h)&&(e[c+1]=e[c+1]|1);l=b<<17|l<<2;d?g.classBindings=l:g.styleBindings=l}},vka=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=sf(d,l.hostAttrs,e);if(l===a)break;h++}null!==a&&(c.directiveStylingLast=h);return d},sf=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]),Oc(a,h,c?!0:b[++g]))}return void 0===a?null:a},oka=function(a,b,c){Oc(a,b,Gd(c))},rka=function(a,b,c){b=String(b);""===b||b.includes(" ")||Oc(a,b,c)},uka=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)?wka(a,b,c,e,(q&131068)>>2,h):void 0)&&(void 0!==g||2==(q&2)&&(g=wka(a,null,c,e,l,h)),b=$c(c[dd.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))))}},wka=function(a,b,c,d,e,g){for(var h=null===b,l=void 0;0<e;){var q=a[e],x=Array.isArray(q),A=x?q[1]:q,B=null===A,K=c[e+1];K===Od&&(K=B?
Fc:void 0);A=B?Gea(K,d):A===d?K:void 0;x&&void 0===A&&(A=Gea(q,d));if(void 0!==A&&(l=A,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=Gea(a,d)));return l},tf=function(a,b,c){a=hf(v(),a,b,c);qka(Oc,ska,a,!0)},G=function(a,b,c,d){var e=v(),g=dd.tView,h=25+a;a=e[11];if(g.firstCreatePass){var l=g.consts;c=cd(l,c);c=Nd(g,h,2,b,c);Zga(g,e,c,cd(l,d));null!==c.attrs&&gha(c,c.attrs,!1);null!==c.mergedAttrs&&gha(c,c.mergedAttrs,!0);null!==g.queries&&
g.queries.elementStart(g,c);l=c}else l=g.data[h];uf=!0;b=a.createElement(b,dd.currentNamespace);e[h]=b;h=1===(l.flags&1);fd(l,!0);fga(a,b,l);32!==(l.flags&32)&&uf&&bga(g,e,b,l);0===dd.elementDepthCount&&xd(b,e);dd.elementDepthCount++;h&&(Sga(g,e,l),Nga(g,l,e));null!==d&&Tga(e,l);return G},H=function(){var a=ed();dd.isParent?dd.isParent=!1:(a=a.parent,fd(a,!1));var b=a;Kga===b&&(Kga=null);dd.elementDepthCount--;var c=dd.tView;c.firstCreatePass&&(ofa(c,a),0!==(a.flags&4)&&c.queries.elementEnd(a));null!=
b.classesWithoutHost&&0!==(b.flags&8)&&fka(c,b,v(),b.classesWithoutHost,!0);null!=b.stylesWithoutHost&&0!==(b.flags&16)&&fka(c,b,v(),b.stylesWithoutHost,!1);return H},I=function(a,b,c,d){G(a,b,c,d);H();return I},J=function(a,b,c){var d=v(),e=dd.tView;a+=25;if(e.firstCreatePass){var g=e.consts;var h=cd(g,b);b=Nd(e,a,8,"ng-container",h);null!==h&&gha(b,h,!0);g=cd(g,c);Zga(e,d,b,g);null!==e.queries&&e.queries.elementStart(e,b);g=b}else g=e.data[a];fd(g,!0);uf=!0;b=d[11].createComment(Wfa());d[a]=b;uf&&
bga(e,d,b,g);xd(b,d);1===(g.flags&1)&&(Sga(e,d,g),Nga(e,g,d));null!=c&&Tga(d,g);return J},L=function(){var a=ed(),b=dd.tView;dd.isParent?dd.isParent=!1:(a=a.parent,fd(a,!1));b.firstCreatePass&&(ofa(b,a),0!==(a.flags&4)&&b.queries.elementEnd(a));return L},vf=function(a,b,c){J(a,b,c);L();return vf},wf=function(a,b,c){var d=v(),e=dd.bindingIndex++;if(df(d,e,b)){e=dd.tView;var g=id();Pd(e,g,d,a,b,d[11],c,!0)}return wf},xka=function(a,b,c){var d=v(),e=dd.bindingIndex++;if(df(d,e,b)){e=dd.tView;var g=id(),
h=cha(ffa(e.data),g,d);Pd(e,g,d,a,b,h,c,!0)}return xka},M=function(a,b,c,d){c=v();yka(dd.tView,c,c[11],ed(),a,b,d);return M},zka=function(a,b){var c=ed(),d=v(),e=dd.tView,g=cha(ffa(e.data),c,d);yka(e,d,g,c,a,b);return zka},Aka=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},yka=function(a,b,c,d,e,g,h){var l=1===(d.flags&1),q=a.firstCreatePass&&(a.cleanup||(a.cleanup=
[])),x=b[7]||(b[7]=[]),A=!0;if(d.type&3||h){var B=ad(d,b),K=h?h(B):B;B=x.length;var N=h?function(X){return h($c(X[d.index]))}:d.index,P=null;!h&&l&&(P=Aka(a,b,e,d.index));null!==P?((P.__ngLastListenerFn__||P).__ngNextListenerFn__=g,P.__ngLastListenerFn__=g,A=!1):(g=Bka(d,b,g),a=c.listen(K,e,g),x.push(g,a),q&&q.push(e,N,B,B+1))}else g=Bka(d,b,g);a=d.outputs;var Y;if(A&&null!==a&&(Y=a[e])&&(A=Y.length))for(a=0;a<A;a+=2)c=b[Y[a]][Y[a+1]].subscribe(g),l=x.length,x.push(g,c),q&&q.push(e,d.index,l,-(l+
1))},Cka=function(a,b,c){try{return!1!==b(c)}catch(d){return dha(a,d),!1}finally{}},Bka=function(a,b,c){return function g(e){if(e===Function)return c;var h=-1<a.componentOffset?bd(a.index,b):b;Rfa(h);h=Cka(b,c,e);for(var l=g.__ngNextListenerFn__;l;)h=Cka(b,l,e)&&h,l=l.__ngNextListenerFn__;return h}},O=function(a){var b=dd;a=void 0===a?1:a;for(var c=dd.contextLView;0<a;)c=c[14],a--;return(b.contextLView=c)[8]},xf=function(a){var b=v()[15][6];if(!b.projection){var c=b.projection=Fea(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 x=g[q];if("*"===x)h=q;else{if(null===l)x=qea(e,x,!0);else b:{var A=0;c:for(;A<x.length;A++){var B=x[A];if(l.length===B.length){for(var K=0;K<l.length;K++)if(l[K]!==B[K])continue c;x=!0;break b}}x=!1}if(x){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}}},yf=function(a,b,c){b=
void 0===b?0:b;var d=v(),e=dd.tView;a=Nd(e,25+a,16,null,c||null);null===a.projection&&(a.projection=b);dd.isParent=!1;d[22]&&null===Kga||32===(a.flags&32)||(b=d[11],e=aga(e,a.parent,d),c=a.parent||d[6],c=c.type&40?ad(c,d):null,ega(b,0,d,a,e,c))},Af=function(a,b,c){zf(a,"",b,"",c);return Af},zf=function(a,b,c,d,e){var g=v();b=hf(g,b,c,d);b!==Od&&(c=dd.tView,d=id(),Pd(c,d,g,a,b,g[11],e,!1));return zf},Bf=function(a,b,c,d,e,g,h){var l=v();b=dka(l,b,c,d,e,g);b!==Od&&(c=dd.tView,d=id(),Pd(c,d,l,a,b,l[11],
h,!1));return Bf},Cf=function(a){return dd.contextLView[25+a]},Q=function(a,b,c,d,e,g,h,l){var q=v(),x=dd.tView,A=a+25;if(x.firstCreatePass){var B=x.consts;e=Nd(x,A,4,e||null,cd(B,g));Zga(x,q,e,cd(B,h));ofa(x,e);b=e.tView=Uga(2,e,b,c,d,x.directiveRegistry,x.pipeRegistry,null,x.schemas,B,null);null!==x.queries&&(x.queries.template(x,e),b.queries=x.queries.embeddedTView(e));b=e}else b=x.data[A];fd(b,!1);a=Dka(x,q,b,a);uf&&bga(x,q,a,b);xd(a,q);Pga(q,q[A]=[a,!0,!1,q,null,0,b,a,null,null,null]);1===(b.flags&
1)&&Sga(x,q,b);null!=h&&Tga(q,b,l)},Eka=function(a,b){uf=!0;return b[11].createComment("")},R=function(a,b){b=void 0===b?"":b;var c=v(),d=dd.tView;a+=25;var e=d.firstCreatePass?Nd(d,a,1,b,null):d.data[a];uf=!0;b=c[11].createText(b);c[a]=b;uf&&bga(d,c,b,e);fd(e,!1)},Ef=function(a){Df("",a,"");return Ef},Df=function(a,b,c){var d=v();a=hf(d,a,b,c);a!==Od&&eha(d,a);return Df},Ff=function(a,b,c,d,e){var g=v();a=dka(g,a,b,c,d,e);a!==Od&&eha(g,a);return Ff},Fka=function(a,b,c,d,e,g,h,l,q){var x=v();var A=
dd.bindingIndex;var B=ef(x,A,b,d);A=ef(x,A+2,g,l)||B;hd(4);a=A?a+sc(b)+c+sc(d)+e+sc(g)+h+sc(l)+q:Od;a!==Od&&eha(x,a);return Fka},Gka=function(a,b,c,d,e){a=xc(a);if(Array.isArray(a))for(var g=0;g<a.length;g++)Gka(a[g],b,c,d,e);else{g=dd.tView;var h=v(),l=Qc(a)?a:xc(a.provide),q=Vea(a),x=ed(),A=x.providerIndexes&1048575,B=x.directiveStart,K=x.providerIndexes>>20;if(Qc(a)||!a.multi)d=new rd(q,e),q=Hka(l,b,e?A:A+K,B),-1===q?(q=Afa(x,h),wfa(q,g,l),Ika(g,a,b.length),b.push(l),x.directiveStart++,x.directiveEnd++,
e&&(x.providerIndexes+=1048576),c.push(d),h.push(d)):(c[q]=d,h[q]=d);else{B=Hka(l,b,A+K,B);A=Hka(l,b,A,A+K);var N=0<=B&&c[B];K=0<=A&&c[A];e&&!K||!e&&!N?(B=Afa(x,h),wfa(B,g,l),B=c.length,N=new rd(e?Kka:Lka,e),N.multi=[],N.index=B,N.componentProviders=0,d&&!e&&N.componentProviders++,N.multi.push(q),!e&&K&&(c[A].providerFactory=N),Ika(g,a,b.length,0),b.push(l),x.directiveStart++,x.directiveEnd++,e&&(x.providerIndexes+=1048576),c.push(N),h.push(N)):(b=c[e?A:B],!e&&d&&b.componentProviders++,b=b.multi.push(q)-
1,Ika(g,a,-1<B?B:A,b));!e&&d&&K&&c[A].componentProviders++}}},Ika=function(a,b,c,d){var e=Qc(b),g=!!b.useClass;if(e||g)if(g=(g?xc(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)},Hka=function(a,b,c,d){for(;c<d;c++)if(b[c]===a)return c;return-1},Lka=function(){return Mka(this.multi,[])},Kka=function(a,b,c,d){b=this.multi;if(this.providerFactory){var e=this.providerFactory.componentProviders;
d=qd(c,c[1],this.providerFactory.index,d);c=d.slice(0,e);Mka(b,c);for(b=e;b<d.length;b++)c.push(d[b])}else c=[],Mka(b,c);return c},Mka=function(a,b){for(var c=0;c<a.length;c++)b.push((0,a[c])());return b},Gf=function(a){var b=void 0===b?[]:b;return function(c){c.providersResolver=function(d,e){e=e?e(a):a;var g=dd.tView;g.firstCreatePass&&(d=!!d.template,Gka(b,g.data,g.blueprint,d,!0),Gka(e,g.data,g.blueprint,d,!1))}}},Nka=function(a){a.getStandaloneInjector=function(b){b=b.get(Hf);if(a.standalone){if(!b.cachedInjectors.has(a.id)){var c=
Hea(!1,a.type);c=0<c.length?qha([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}},If=function(a,b){a=gd()+a;var c=v();return c[a]===Od?cf(c,a,b()):c[a]},Jf=function(a,b,c){return Oka(v(),gd(),a,b,c)},Kf=function(a,b,c,d){return Pka(v(),gd(),a,b,c,d)},Lf=function(a,b,c,d){return Qka(v(),gd(),2,a,b,c,d)},Ska=function(a,b,c,d,e,g){var h=Rka,l=gd()+8,q=v();var x=ef(q,l,a,b);x=ef(q,l+2,c,d)||x;return ef(q,l+4,e,g)||x?
cf(q,l+6,h(a,b,c,d,e,g)):q[l+6]},Tka=function(a,b){a=a[b];return a===Od?void 0:a},Oka=function(a,b,c,d,e,g){b+=c;return df(a,b,e)?cf(a,b+1,g?d.call(g,e):d(e)):Tka(a,b+1)},Pka=function(a,b,c,d,e,g,h){b+=c;return ef(a,b,e,g)?cf(a,b+2,h?d.call(h,e,g):d(e,g)):Tka(a,b+2)},Qka=function(a,b,c,d,e,g,h,l){b+=c;c=ef(a,b,e,g);return df(a,b+2,h)||c?cf(a,b+3,l?d.call(l,e,g,h):d(e,g,h)):Tka(a,b+3)},S=function(a,b){var c=dd.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=Mc(b.type));b=vc(C);try{var l=ufa(!1),q=h();ufa(l);var x=v();a>=c.data.length&&(c.data[a]=null,c.blueprint[a]=null);x[a]=q}finally{vc(b)}},T=function(a,b,c){a+=25;var d=v(),e=d[a];return d[1].data[a].pure?Oka(d,gd(),b,e.transform,c,e):e.transform(c)},Mf=function(a,b,c,d){a+=25;var e=v(),g=e[a];return e[1].data[a].pure?
Pka(e,gd(),b,g.transform,c,d,g):g.transform(c,d)},Nf=function(a,b,c,d,e){a+=25;var g=v(),h=g[a];return g[1].data[a].pure?Qka(g,gd(),b,h.transform,c,d,e,h):h.transform(c,d,e)},Uka=function(){return this._results[Symbol.iterator]()},Wka=function(){return Vka(ed(),v())},Vka=function(a,b){return a.type&4?new Of(b,a,wd(a,b)):null},Yka=function(){return Xka(ed(),v())},Zka=function(a){return a[8]||(a[8]=[])},Xka=function(a,b){var c=b[a.index];if(Yc(c))var d=c;else d=[c,!0,!1,b,null,0,a,null,null,null,null],
b[a.index]=d,Pga(b,d);$ka(d,b,a,c);return new Pf(d,a,b)},ala=function(a,b,c,d){if(!a[7]){if(c.type&8)d=$c(d);else{d=b[11];var e=d.createComment("");c=ad(c,b);b=d.parentNode(c);c=d.nextSibling(c);d.insertBefore(b,e,c,!1);d=e}a[7]=d}},bla=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,x=q.push,A=b,B=a[l],K=e[h+1];l=c.metadata.read;-1===K?(l=B,A=l.type&11?wd(l,A):l.type&4?Vka(l,A):null):-2===
K?A=l===vd?wd(B,A):l===Qf?Vka(B,A):l===Rf?Xka(B,A):void 0:A=qd(A,A[1],K,B);x.call(q,A)}}d.matches=g}return d.matches},cla=function(a,b,c,d){var e=a.queries.queries[c],g=e.matches;if(null!==g)for(a=bla(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]&&cla(q[1],q,e,d)}if(null!==h[9])for(h=h[9],l=0;l<h.length;l++)q=h[l],cla(q[1],q,e,d)}}return d},Tf=function(a){var b=v(),c=dd.tView,d=dd.currentQueryIndex;dd.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?cla(c,b,d,[]):bla(c,b,e,d),a.reset(b,Nfa),Sf(a)),!0):!1},Uf=function(a,b,c){var d=dd.tView;d.firstCreatePass&&(dla(d,new ela(a,b,c),-1),2===(b&2)&&(d.staticViewQueries=!0));fla(d,b)},Vf=function(a,b,c,d){var e=dd.tView;e.firstCreatePass&&(dla(e,new ela(b,c,d),ed().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));fla(e,c)},Wf=function(){return v()[18].queries[dd.currentQueryIndex].queryList},fla=function(a,b){var c=v();b=new Xf(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 gla);c[18].queries.push(new hla(b))},dla=function(a,b,c){null===a.queries&&(a.queries=new ila);a.queries.track(new Yf(b,c))},Zf=function(a,b){return Vka(a,b)},jla=function(a){var b=ed(),c=v();-1<
b.componentOffset&&16!==(a&16)?(a=bd(b.index,c),a=new $f(a,a)):a=b.type&47?new $f(c[15],c):null;return a},kla=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},ag=function(a){return"boolean"===typeof a?a:null!=a&&"false"!==a},lla=function(a){var b=a[Hc]||null;if(!b)return null;var c=new bg(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}}},mla=function(a,b){if(b&&!b.createEmbeddedView)throw Error("Ra`"+a+"`"+tc(b));},nla=function(a,b,c){a=Td(a);b=cg([a[1],a[2]],b);return cg(b,c)},ola=function(a,b,c){a=Td(a);b=cg([a[3],a[4]],b);return cg(b,c)},pla=function(a,b,c){a=Td(a);b=cg([a[5],a[6]],b);return cg(b,c)},qla=function(a,b){a=Td(a)[7];return cg(a,b)},rla=function(a,b){a=Td(a);return cg(a[10],b)},sla=function(a,b){a=Td(a);return cg(a[11],b)},tla=function(a,b){a=
Td(a)[12];return cg(a,b)},dg=function(a,b){a=Td(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},ula=function(a){if(!a[21])throw Error("Sa`"+a[0]);},wla=function(a){a=Td(a);ula(a);return(a[21][2]||[]).map(function(b){return"string"===typeof b?vla(b):[vla(b[0]),vla(b[1])]})},xla=function(a,b,c){a=Td(a);ula(a);b=cg([a[21][0],a[21][1]],b)||[];return cg(b,c)||[]},cg=function(a,b){for(;-1<b;b--)if("undefined"!==typeof a[b])return a[b];throw Error("Ta");
},vla=function(a){var b=k(a.split(":"));a=b.next().value;b=b.next().value;return{hours:+a,minutes:+b}},eg=function(){return new uc(2100,!1)},Gla=function(a,b,c,d){var e=yla(a);b=fg(c,b)||b;a=[];for(var g;b;)if(g=zla.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=Ala(d,h),e=Bla(e,d));var l="";a.forEach(function(q){a:if(Cla[q])var x=Cla[q];else{switch(q){case "G":case "GG":case "GGG":x=gg(3,1);break;case "GGGG":x=gg(3,2);break;case "GGGGG":x=
gg(3,0);break;case "y":x=hg(0,1,0,!1,!0);break;case "yy":x=hg(0,2,0,!0,!0);break;case "yyy":x=hg(0,3,0,!1,!0);break;case "yyyy":x=hg(0,4,0,!1,!0);break;case "Y":x=Dla(1);break;case "YY":x=Dla(2,!0);break;case "YYY":x=Dla(3);break;case "YYYY":x=Dla(4);break;case "M":case "L":x=hg(1,1,1);break;case "MM":case "LL":x=hg(1,2,1);break;case "MMM":x=gg(2,1);break;case "MMMM":x=gg(2,2);break;case "MMMMM":x=gg(2,0);break;case "LLL":x=gg(2,1,1);break;case "LLLL":x=gg(2,2,1);break;case "LLLLL":x=gg(2,0,1);break;
case "w":x=Ela(1);break;case "ww":x=Ela(2);break;case "W":x=Ela(1,!0);break;case "d":x=hg(2,1);break;case "dd":x=hg(2,2);break;case "c":case "cc":x=hg(7,1);break;case "ccc":x=gg(1,1,1);break;case "cccc":x=gg(1,2,1);break;case "ccccc":x=gg(1,0,1);break;case "cccccc":x=gg(1,3,1);break;case "E":case "EE":case "EEE":x=gg(1,1);break;case "EEEE":x=gg(1,2);break;case "EEEEE":x=gg(1,0);break;case "EEEEEE":x=gg(1,3);break;case "a":case "aa":case "aaa":x=gg(0,1);break;case "aaaa":x=gg(0,2);break;case "aaaaa":x=
gg(0,0);break;case "b":case "bb":case "bbb":x=gg(0,1,1,!0);break;case "bbbb":x=gg(0,2,1,!0);break;case "bbbbb":x=gg(0,0,1,!0);break;case "B":case "BB":case "BBB":x=gg(0,1,0,!0);break;case "BBBB":x=gg(0,2,0,!0);break;case "BBBBB":x=gg(0,0,0,!0);break;case "h":x=hg(3,1,-12);break;case "hh":x=hg(3,2,-12);break;case "H":x=hg(3,1);break;case "HH":x=hg(3,2);break;case "m":x=hg(4,1);break;case "mm":x=hg(4,2);break;case "s":x=hg(5,1);break;case "ss":x=hg(5,2);break;case "S":x=hg(6,1);break;case "SS":x=hg(6,
2);break;case "SSS":x=hg(6,3);break;case "Z":case "ZZ":case "ZZZ":x=Fla(0);break;case "ZZZZZ":x=Fla(3);break;case "O":case "OO":case "OOO":case "z":case "zz":case "zzz":x=Fla(1);break;case "OOOO":case "ZZZZ":case "zzzz":x=Fla(2);break;default:x=null;break a}Cla[q]=x}l+=x?x(e,c,h):"''"===q?"'":q.replace(/(^'|'$)/g,"").replace(/''/g,"'")});return l},Hla=function(a,b,c){var d=new Date(0);d.setFullYear(a,b,c);d.setHours(0,0,0);return d},fg=function(a,b){var c=Td(a)[0];jg[c]=jg[c]||{};if(jg[c][b])return jg[c][b];
var d="";switch(b){case "shortDate":d=rla(a,0);break;case "mediumDate":d=rla(a,1);break;case "longDate":d=rla(a,2);break;case "fullDate":d=rla(a,3);break;case "shortTime":d=sla(a,0);break;case "mediumTime":d=sla(a,1);break;case "longTime":d=sla(a,2);break;case "fullTime":d=sla(a,3);break;case "short":d=fg(a,"shortTime");var e=fg(a,"shortDate");d=Ila(tla(a,0),[d,e]);break;case "medium":d=fg(a,"mediumTime");e=fg(a,"mediumDate");d=Ila(tla(a,1),[d,e]);break;case "long":d=fg(a,"longTime");e=fg(a,"longDate");
d=Ila(tla(a,2),[d,e]);break;case "full":d=fg(a,"fullTime"),e=fg(a,"fullDate"),d=Ila(tla(a,3),[d,e])}d&&(jg[c][b]=d);return d},Ila=function(a,b){b&&(a=a.replace(/\{([^}]+)}/g,function(c,d){return null!=b&&d in b?b[d]:c}));return a},kg=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},hg=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=Jla(a,g);
if(0<c||g>-c)g+=c;if(3===a)0===g&&-12===c&&(g=12);else if(6===a)return kg(g,3).substring(0,b);h=dg(h,5);return kg(g,b,h,d,e)}},Jla=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);}},gg=function(a,b,c,d){c=void 0===c?0:c;d=void 0===d?!1:d;return function(e,g){return Kla(e,
g,a,b,c,d)}},Kla=function(a,b,c,d,e,g){switch(c){case 2:return pla(b,e,d)[a.getMonth()];case 1:return ola(b,e,d)[a.getDay()];case 0:var h=a.getHours(),l=a.getMinutes();return g&&(c=wla(b),a=xla(b,e,d),c=c.findIndex(function(q){if(Array.isArray(q)){var x=k(q);q=x.next().value;x=x.next().value;var A=h>=q.hours&&l>=q.minutes,B=h<x.hours||h===x.hours&&l<x.minutes;if(q.hours<x.hours){if(A&&B)return!0}else if(A||B)return!0}else if(q.hours===h&&q.minutes===l)return!0;return!1}),-1!==c)?a[c]:nla(b,e,d)[12>
h?0:1];case 3:return qla(b,d)[0>=a.getFullYear()?0:1];default:throw Error("Va`"+c);}},Fla=function(a){return function(b,c,d){b=-1*d;c=dg(c,5);var e=0<b?Math.floor(b/60):Math.ceil(b/60);switch(a){case 0:return(0<=b?"+":"")+kg(e,2,c)+kg(Math.abs(b%60),2,c);case 1:return"GMT"+(0<=b?"+":"")+kg(e,1,c);case 2:return"GMT"+(0<=b?"+":"")+kg(e,2,c)+":"+kg(Math.abs(b%60),2,c);case 3:return 0===d?"Z":(0<=b?"+":"")+kg(e,2,c)+":"+kg(Math.abs(b%60),2,c);default:throw Error("Wa`"+a);}}},Lla=function(a){return Hla(a.getFullYear(),
a.getMonth(),a.getDate()+(4-a.getDay()))},Ela=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=Lla(c);c=e.getFullYear();var g=Hla(c,0,1).getDay();c=Hla(c,0,1+(4>=g?4:11)-g);e=e.getTime()-c.getTime();e=1+Math.round(e/6048E5)}return kg(e,a,dg(d,5))}},Dla=function(a,b){b=void 0===b?!1:b;return function(c,d){c=Lla(c).getFullYear();return kg(c,a,dg(d,5),b)}},Ala=function(a,b){a=a.replace(/:/g,
"");a=Date.parse("Jan 01, 1970 00:00:00 "+a)/6E4;return isNaN(a)?b:a},Bla=function(a,b){var c=a.getTimezoneOffset();b=Ala(b,c);a=new Date(a.getTime());a.setMinutes(a.getMinutes()+-1*(b-c));return a},yla=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 Hla(a,c-1,void 0===b?1:b)}b=parseFloat(a);if(!isNaN(a-b))return new Date(b);if(b=a.match(Mla))return Nla(b)}b=new Date(a);if(!(b instanceof Date)||isNaN(b.valueOf()))throw Error("Xa`"+a);return b},Nla=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},Ola=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},Ula=function(a,b,c,d){var e=void 0===e?!1:e;var g="",h=!1;if(isFinite(a)){h=Pla(a);e&&(h=Qla(h));g=b.minInt;
e=b.minFrac;var l=b.maxFrac;if(d){var q=d.match(Rla);if(null===q)throw Error("Ya`"+d);d=q[1];var x=q[3];q=q[5];null!=d&&(g=Sla(d));null!=x&&(e=Sla(x));null!=q?l=Sla(q):null!=x&&e>l&&(l=e)}Tla(h,e,l);d=h.digits;q=h.integerLen;e=h.exponent;l=[];for(h=d.every(function(A){return!A});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(dg(c,1));l.length&&(g+=dg(c,0)+l.join(""));e&&(g+=dg(c,6)+"+"+e)}else g=dg(c,9);return g=0>a&&!h?b.negPre+g+b.negSuf:b.posPre+g+b.posSuf},Qla=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},Pla=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}},Tla=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,x=b+a.integerLen;if(b=d.reduceRight(function(A,B,K,N){B+=A;N[K]=10>B?B:B-10;q&&(0===N[K]&&K>=x?N.pop():q=!1);return 10<=B?1:0},0))d.unshift(b),a.integerLen++},Sla=function(a){var b=parseInt(a);if(isNaN(b))throw Error("$a`"+a);return b},Vla=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},Wla=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)},lg=function(a){return a&&"?"!==a[0]?"?"+a:a},Xla=function(a){return RegExp("^(https?:)?//").test(a)?(a=k(a.split(/\/\/[^\/]+/)),a.next(),a.next().value):a},Yla=function(a){return null==a||("string"===typeof a||Array.isArray(a))&&0===a.length},Zla=function(a){return function(b){if(Yla(b.value)||
Yla(a))return null;var c=parseFloat(b.value);return!isNaN(c)&&c<a?{min:{min:a,actual:b.value}}:null}},$la=function(a){return Yla(a.value)?{required:!0}:null},ama=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}},cma=function(a){if(!a)return bma;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(Yla(d.value))return null;d=d.value;return c.test(d)?null:{pattern:{requiredPattern:b,actualValue:d}}}},bma=function(){return null},dma=function(a){return null!=a},ema=function(a){return Sd(a)?(0,E.from)(a):a},fma=function(a){var b={};a.forEach(function(c){b=null!=c?Object.assign({},b,c):b});return 0===Object.keys(b).length?null:b},gma=function(a,b){return b.map(function(c){return c(a)})},hma=function(a){return a.map(function(b){return b.validate?function(c){return b.validate(c)}:
b})},ima=function(a){if(!a)return null;var b=a.filter(dma);return 0==b.length?null:function(c){return fma(gma(c,b))}},jma=function(a){return null!=a?ima(hma(a)):null},kma=function(a){if(!a)return null;var b=a.filter(dma);return 0==b.length?null:function(c){c=gma(c,b).map(ema);return(0,E.forkJoin)(c).pipe(D(fma))}},lma=function(a){return null!=a?kma(hma(a)):null},mma=function(a,b){return null===a?[b]:Array.isArray(a)?[].concat(Vc(a),[b]):[a,b]},nma=function(a,b){return[].concat(Vc(b.path),[a])},mg=
function(a,b,c){c=void 0===c?"whenDisabledForLegacyCode":c;oma(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)}pma(a,b);qma(a,b);rma(a,b);sma(a,b)},uma=function(a,b){var c=function(){};b.valueAccessor&&(b.valueAccessor.registerOnChange(c),b.valueAccessor.registerOnTouched(c));tma(a,b);a&&(b._invokeOnDestroyCallbacks(),a._registerOnCollectionChange(function(){}))},vma=function(a,b){a.forEach(function(c){c.registerOnValidatorChange&&
c.registerOnValidatorChange(b)})},sma=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)})}},oma=function(a,b){var c=a._rawValidators;null!==b.validator?wma(a,mma(c,b.validator)):"function"===typeof c&&wma(a,[c]);c=a._rawAsyncValidators;null!==b.asyncValidator?xma(a,mma(c,b.asyncValidator)):"function"===typeof c&&xma(a,[c]);c=function(){return ng(a)};
vma(b._rawValidators,c);vma(b._rawAsyncValidators,c)},tma=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(){};vma(b._rawValidators,
a);vma(b._rawAsyncValidators,a);return c},pma=function(a,b){b.valueAccessor.registerOnChange(function(c){a._pendingValue=c;a._pendingChange=!0;a._pendingDirty=!0;"change"===a.updateOn&&yma(a,b)})},rma=function(a,b){b.valueAccessor.registerOnTouched(function(){a._pendingTouched=!0;"blur"===a.updateOn&&a._pendingChange&&yma(a,b);"submit"!==a.updateOn&&zma(a)})},yma=function(a,b){a._pendingDirty&&Ama(a);a.setValue(a._pendingValue,{emitModelToViewChange:!1});b.viewToModelUpdate(a._pendingValue);a._pendingChange=
!1},qma=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)})},Bma=function(a,b){if(!a.hasOwnProperty("model"))return!1;a=a.model;return a.isFirstChange()?!0:!Object.is(b,a.currentValue)},Cma=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)})},Dma=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===og?b=e:Object.getPrototypeOf(e.constructor)===pg?c=e:d=e});return d?d:c?c:b?b:null},Ema=function(a){return(qg(a)?a.validators:a)||null},qg=function(a){return null!=a&&!Array.isArray(a)&&"object"===typeof a},Fma=function(a,b){a._forEachChild(function(c,d){if(void 0===b[d])throw new uc(1002,"");})},Gma=function(a){return"object"===typeof a&&null!==a&&2===Object.keys(a).length&&"value"in a&&"disabled"in a},Jma=function(){if(Hma)return Hma;
if("object"!==typeof document||!document)return Hma=new Set(Ima);var a=document.createElement("input");return Hma=new Set(Ima.filter(function(b){a.setAttribute("type",b);return a.type===b}))},Kma=function(){if(null==rg&&"undefined"!==typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return rg=!0}}))}finally{rg=rg||!1}return rg},sg=function(a){return Kma()?a:!!a.capture},Lma=function(){if(null==tg){if("object"!==typeof document||!document||"function"!==
typeof Element||!Element)return tg=!1;if("scrollBehavior"in document.documentElement.style)tg=!0;else{var a=Element.prototype.scrollTo;tg=a?!/\{\s*\[native code\]\s*\}/.test(a.toString()):!1}}return tg},Nma=function(){if("object"!==typeof document||!document)return 0;if(null==Mma){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);Mma=0;0===a.scrollLeft&&(a.scrollLeft=1,Mma=0===a.scrollLeft?1:2);a.remove()}return Mma},Pma=function(a){if(null==Oma){var b="undefined"!==typeof document?document.head:null;Oma=!(!b||!b.createShadowRoot&&!b.attachShadow)}return Oma&&(a=a.getRootNode?a.getRootNode():null,"undefined"!==typeof ShadowRoot&&ShadowRoot&&a instanceof ShadowRoot)?a:null},ug=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},vg=function(a){return a.composedPath?a.composedPath()[0]:a.target},Qma=function(){return"undefined"!==typeof __karma__&&!!__karma__||"undefined"!==typeof jasmine&&!!jasmine||"undefined"!==typeof jest&&!!jest||"undefined"!==typeof Mocha&&!!Mocha},Rma=function(a){if(!a.hasAttribute("tabindex")||void 0===a.tabIndex)return!1;a=a.getAttribute("tabindex");return!(!a||isNaN(parseInt(a,10)))},Sma=function(a){if(!Rma(a))return null;a=parseInt(a.getAttribute("tabindex")||
"",10);return isNaN(a)?-1:a},wg=function(a){return Array.isArray(a)?a:[a]},xg=function(a){return null!=a&&"false"!==""+a},yg=function(a){return null==a?"":"string"===typeof a?a:a+"px"},zg=function(a){return a instanceof vd?a.nativeElement:a},Ag=function(a,b){return isNaN(parseFloat(a))||isNaN(Number(a))?void 0===b?0:b:Number(a)},Tma=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},Uma=function(a){return 0===a.buttons||0===a.offsetX&&0===a.offsetY},Vma=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)},Bg=function(a){var b=Pc.apply(1,arguments);return b.length?b.some(function(c){return a[c]}):a.altKey||a.shiftKey||a.ctrlKey||a.metaKey},Xma=function(a,b){return b.map(function(c){return c.replace(Wma,a)})},Yma=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},ana=function(a){return encodeURIComponent(a).replace(Zma,function(b,c){var d;return null!=(d=$ma[c])?d:b})},bna=function(a){return""+a},cna=function(a){return"undefined"!==typeof ArrayBuffer&&a instanceof ArrayBuffer},
dna=function(a){return"undefined"!==typeof Blob&&a instanceof Blob},ena=function(a){return"undefined"!==typeof FormData&&a instanceof FormData},fna=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}},gna=function(a,b){return b(a)},hna=function(a,b){return function(c,d){return b.intercept(c,{handle:function(e){return a(e,d)}})}},ina=function(a,b,c){return function(d,
e){return c.runInContext(function(){return b(d,function(g){return a(g,e)})})}},mna=function(a,b){var c=a.url.toLowerCase();if(!Ac(jna)||"GET"===a.method||"HEAD"===a.method||c.startsWith("http://")||c.startsWith("https://"))return b(a);c=Ac(kna).getToken();var d=Ac(lna);null==c||a.headers.has(d)||(a=a.clone({headers:a.headers.set(d,c)}));return b(a)},Eg=function(a){var b=void 0===b?{}:b;if(a instanceof Cg)return a;a=a.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,
"&apos;");b.preserveSpaces&&(a=a.replace(/(^|[\r\n\t ]) /g,"$1&#160;"));b.preserveNewlines&&(a=a.replace(/(\r\n|\n|\r)/g,"<br>"));b.preserveTabs&&(a=a.replace(/(\t+)/g,'<span style="white-space:pre">$1</span>'));return Dg(a)},ona=function(a){if(a instanceof Xb)a=Yb(a);else{b:if(nna){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},
Gg=function(a){var b=Pc.apply(1,arguments);if(0===b.length)return Fg(a[0]);for(var c=a[0],d=0;d<b.length;d++)c+=encodeURIComponent(b[d])+a[d+1];return Fg(c)},Hg=function(a){return new pna(function(b){return b.substr(0,a.length+1).toLowerCase()===a+":"})},Jg=function(a){var b=void 0===b?qna:b;a:{b=void 0===b?qna:b;for(var c=0;c<b.length;++c){var d=b[c];if(d instanceof pna&&d.isValid(a)){a=Ig(a);break a}}a=void 0}return a||gda},tna=function(a,b){var c=[];"string"==typeof a?a.split(/\s*,\s*/).forEach(function(d){a:{if(":"==
d[0]&&(d=rna(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 uc(3015,!1)),d=c;else{d=e[1];var g=e[2];e=e[3];c.push(sna(d,e));"<"!=g[0]||"*"==d&&"*"==e||c.push(sna(e,d));d=void 0}}return d}):c.push(a);return c},rna=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 uc(3016,!1)),"* => *"}},sna=function(a,b){var c=una.has(a)||vna.has(a),d=una.has(b)||vna.has(b);return function(e,g){var h="*"==a||a==e,l="*"==b||b==g;!h&&c&&"boolean"===typeof e&&(h=e?una.has(a):vna.has(a));!l&&d&&"boolean"===typeof g&&(l=g?una.has(b):vna.has(b));return h&&l}},Kg=function(a,b){return{type:7,name:a,definitions:b,options:{}}},Lg=function(a,b){return{type:4,styles:void 0===b?null:b,timings:a}},Mg=function(a){return{type:6,
styles:a,offset:null}},Ng=function(a,b){return{type:0,name:a,styles:b,options:void 0}},Og=function(a,b,c){return{type:1,expr:a,animation:b,options:void 0===c?null:c}},wna=function(){return{type:9,options:null}},xna=function(a,b){var c={optional:!0};return{type:11,selector:a,animation:b,options:void 0===c?null:c}},Qg=function(a){switch(a.length){case 0:return new Pg;case 1:return a[0];default:return new yna(a)}},Bna=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"),x=q==g,A=x&&h||new Map;l.forEach(function(B,K){var N=K;if("offset"!==K)switch(N=zna(N),B){case "!":B=b.get(K);break;case "*":B=c.get(K);break;default:B=Ana(N,B,d)}A.set(N,B)});x||e.push(A);h=A;g=q});if(d.length)throw new uc(3502,!1);return e},Dna=function(a,b,c,d){switch(b){case "start":a.onStart(function(){return d(c&&Cna(c,"start",a))});break;case "done":a.onDone(function(){return d(c&&Cna(c,"done",a))});break;case "destroy":a.onDestroy(function(){return d(c&&
Cna(c,"destroy",a))})}},Cna=function(a,b,c){var d=c.totalTime;b=Ena(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},Ena=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}},Rg=function(a,b,c){var d=a.get(b);d||a.set(b,d=c);return d},Fna=function(a){var b=a.indexOf(":"),c=a.substring(1,b);a=a.slice(b+1);return[c,a]},
Hna=function(a){a=a.parentNode||a.host||null;return a===Gna?null:a},Ina=function(a,b){for(;b;){if(b===a)return!0;b=Hna(b)}return!1},Jna=function(a,b,c){return c?Array.from(a.querySelectorAll(b)):(a=a.querySelector(b))?[a]:[]},Sg=function(a){if("number"==typeof a)return a;a=a.match(/^(-?[\.\d]+)(m?s)/);return!a||2>a.length?0:Kna(parseFloat(a[1]),a[2])},Kna=function(a,b){switch(b){case "s":return 1E3*a;default:return a}},Lna=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 uc(3E3,!1));b={duration:0,delay:0,easing:""};break a}a=Kna(parseFloat(d[1]),d[2]);var h=d[3];null!=h&&(e=Kna(parseFloat(h),d[4]));(d=d[5])&&(g=d)}c||(c=!1,d=b.length,0>a&&(b.push(new uc(3100,!1)),c=!0),0>e&&(b.push(new uc(3101,!1)),c=!0),c&&b.splice(d,0,new uc(3E3,!1)));b={duration:a,delay:e,easing:g}}return b},Tg=function(a){var b=void 0===b?{}:b;Object.keys(a).forEach(function(c){b[c]=a[c]});return b},Mna=function(a){var b=new Map;
Object.keys(a).forEach(function(c){b.set(c,a[c])});return b},Nna=function(a){return a.length?a[0]instanceof Map?a:a.map(function(b){return Mna(b)}):[]},Ug=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},Vg=function(a,b,c){b.forEach(function(d,e){var g=zna(e);c&&!c.has(e)&&c.set(e,a.style[g]);
a.style[g]=d})},Wg=function(a,b){b.forEach(function(c,d){d=zna(d);a.style[d]=""})},Xg=function(a){return Array.isArray(a)?1==a.length?a[0]:{type:2,steps:a,options:null}:a},Pna=function(a,b,c){var d=b.params||{};a=Ona(a);a.length&&a.forEach(function(e){d.hasOwnProperty(e)||c.push(new uc(3001,!1))})},Ona=function(a){var b=[];if("string"===typeof a){for(var c;c=Qna.exec(a);)b.push(c[1]);Qna.lastIndex=0}return b},Yg=function(a,b,c){var d=a.toString(),e=d.replace(Qna,function(g,h){h=b[h];null==h&&(c.push(new uc(3003,
!1)),h="");return h.toString()});return e==d?a:e},Rna=function(a){for(var b=[],c=a.next();!c.done;)b.push(c.value),c=a.next();return b},zna=function(a){return a.replace(Sna,function(){return Pc.apply(0,arguments)[1].toUpperCase()})},Tna=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$2274:c.$jscomp$loop$prop$kf$2274},g++)c.$jscomp$loop$prop$kf$2274=b[g],e.forEach(function(h){return function(l){var q=
h.$jscomp$loop$prop$kf$2274,x=q.set;var A=window.getComputedStyle(a)[l];return x.call(q,l,A)}}(c))}}return b},Zg=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 uc(3004,!1);}},Vna=function(a){var b=a.split(/\s*,\s*/).find(function(c){return":self"==c})?!0:!1;b&&(a=a.replace(Una,""));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]},Wna=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},Xna=function(a,b){if(a.hasOwnProperty("duration"))return a;if("number"==typeof a)return{duration:Lna(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=Lna(a,b);return{duration:a.duration,delay:a.delay,easing:a.easing}},$g=function(a){if(a){if(a=Tg(a),a.params){var b=
a;var c=(c=a.params)?Tg(c):null;b.params=c}}else a={};return a},Yna=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}},$na=function(a,b,c,d,e,g,h,l,q,x){g=void 0===g?new Map:g;h=void 0===h?new Map:h;x=void 0===x?[]:x;return(new Zna).buildKeyframes(a,b,c,d,e,g,h,l,q,x)},aoa=function(a){var b=Math.pow(10,2);return Math.round(a*b)/b},boa=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 Ug(e,c)});return c},coa=function(a,b,c,d,e,g,h,l,q,x,A,B,K){return{type:0,element:a,triggerName:b,isRemovalTransition:e,fromState:c,fromStyles:g,toState:d,toStyles:h,timelines:l,queriedElements:q,preStyleProps:x,postStyleProps:A,totalTime:B,errors:K}},doa=function(a,b,c,d,e){return a.some(function(g){return g(b,c,d,e)})},eoa=function(a,b){b=Tg(b);for(var c in a)a.hasOwnProperty(c)&&null!=a[c]&&(b[c]=a[c]);return b},
foa=function(a,b){return new ah(a,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(){return!0}],options:null,queryCount:0,depCount:0},b)},goa=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))},hoa=function(a){return a&&1===a.nodeType},ioa=function(a,b){var c=a.style.display;a.style.display=null!=b?b:"none";return c},koa=function(a,b,c,d,e){var g=[];c.forEach(function(q){return g.push(ioa(q))});var h=[];d.forEach(function(q,x){var A=new Map;q.forEach(function(B){var K=
b.computeStyle(x,B,e);A.set(B,K);K&&0!=K.length||(x.__ng_removed=joa,h.push(x))});a.set(x,A)});var l=0;c.forEach(function(q){return ioa(q,g[l++])});return h},loa=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},bh=function(a,b){var c;
null==(c=a.classList)||c.add(b)},ch=function(a,b){var c;null==(c=a.classList)||c.remove(b)},moa=function(a,b,c){Qg(c).onDone(function(){return dh(a,b)})},ooa=function(a){var b=[];noa(a,b);return b},noa=function(a,b){for(var c=0;c<a.length;c++){var d=a[c];d instanceof yna?noa(d.players,b):b.push(d)}},poa=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},qoa=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},toa=function(a,b){var c=null,d=null;Array.isArray(b)&&b.length?(c=roa(b[0]),1<b.length&&(d=roa(b[b.length-1]))):b instanceof Map&&(c=roa(b));return c||d?new soa(a,c,d):null},roa=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},uoa=function(a){switch(a){case "body":return document.body;case "document":return document;case "window":return window;
default:return a}},voa=function(a){var b=a.indexOf("."),c=a.substring(0,b);a=a.slice(b+1);return[c,a]},woa=function(a){return{matches:"all"===a||""===a,media:a,addListener:function(){},removeListener:function(){}}},xoa=function(a){return a.map(function(b){return b.split(",")}).reduce(function(b,c){return b.concat(c)}).map(function(b){return b.trim()})},yoa=function(){return null},Aoa=function(a,b,c){var d=zoa(a,b);d.some(function(e){return e.trim()==c.trim()})||(d.push(c.trim()),a.setAttribute(b,
d.join(" ")))},eh=function(a,b,c){var d=zoa(a,b).filter(function(e){return e!=c.trim()});d.length?a.setAttribute(b,d.join(" ")):a.removeAttribute(b)},zoa=function(a,b){return(a.getAttribute(b)||"").match(/\S+/g)||[]},Boa=function(a,b){return"string"===typeof a?(b||"")+"/"+a:a},Doa=function(a,b){a.id||(a.id="cdk-describedby-message-"+b+"-"+Coa++)},Eoa=function(){return Ac(fh)},Foa=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})},Goa=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})},Hoa=function(a){return a&&"function"===typeof a.connect&&!(a instanceof E.ConnectableObservable)},gh=function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])},Joa=function(a){if("number"!==typeof a&&null!=a){var b=k(a.split(Ioa));a=b.next().value;return(b=b.next().value)&&"px"!==b?null:parseFloat(a)}return a||null},Koa=function(a){return{top:Math.floor(a.top),
right:Math.floor(a.right),bottom:Math.floor(a.bottom),left:Math.floor(a.left),width:Math.floor(a.width),height:Math.floor(a.height)}},ih=function(a,b){var c=function(){var d=a.apply(this,[].concat(Vc(Pc.apply(0,arguments))))||this;d.defaultColor=b;d.color=b;return d};U(c,a);hh.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},jh=function(a){var b=function(){var c=a.apply(this,[].concat(Vc(Pc.apply(0,arguments))))||this;c._disableRipple=!1;return c};U(b,a);hh.Object.defineProperties(b.prototype,{disableRipple:{configurable:!0,enumerable:!0,get:function(){return this._disableRipple},set:function(c){this._disableRipple=xg(c)}}});return b},kh=function(a){var b=function(){var c=a.apply(this,[].concat(Vc(Pc.apply(0,arguments))))||
this;c._disabled=!1;return c};U(b,a);hh.Object.defineProperties(b.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(c){this._disabled=xg(c)}}});return b},Loa=function(a){var b=function(){var c=a.apply(this,[].concat(Vc(Pc.apply(0,arguments))))||this;c.errorState=!1;return c};U(b,a);b.prototype.updateErrorState=function(){var c=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||
this._parentForm);c!==this.errorState&&(this.errorState=c,this.stateChanges.next())};return b},Moa=function(a){var b=function(){var c=a.apply(this,[].concat(Vc(Pc.apply(0,arguments))))||this;c._isInitialized=!1;c._pendingSubscribers=[];c.initialized=new E.Observable(function(d){c._isInitialized?c._notifySubscriber(d):c._pendingSubscribers.push(d)});return c};U(b,a);b.prototype._markInitialized=function(){this._isInitialized=!0;this._pendingSubscribers.forEach(this._notifySubscriber);this._pendingSubscribers=
null};b.prototype._notifySubscriber=function(c){c.next();c.complete()};return b},lh=function(a,b){b=void 0===b?0:b;var c=function(){var d=a.apply(this,[].concat(Vc(Pc.apply(0,arguments))))||this;d._tabIndex=b;d.defaultTabIndex=b;return d};U(c,a);hh.Object.defineProperties(c.prototype,{tabIndex:{configurable:!0,enumerable:!0,get:function(){return this.disabled?-1:this._tabIndex},set:function(d){this._tabIndex=null!=d?Ag(d):this.defaultTabIndex}}});return c},Noa=function(){return Ac(mh)},Ooa=function(a,
b){var c=void 0===c?"mat":c;a.changes.pipe(Re(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)})},Poa=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)},Qoa=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},Roa=function(a,b,c,d){return a<c?a:a+b>c+d?Math.max(0,a-d+b):c},Soa=function(a){a&1&&(G(0,"tr",3)(1,"td",4),R(2),H()());a&2&&(a=O(),z(1),pf("padding-top",a._cellPadding)("padding-bottom",a._cellPadding),gf("colspan",a.numCols),z(1),Df(" ",a.label," "))},Toa=function(a){a&1&&(G(0,"td",4),R(1),H());a&2&&(a=O(2),pf("padding-top",a._cellPadding)("padding-bottom",
a._cellPadding),gf("colspan",a._firstRowOffset),z(1),Df(" ",a._firstRowOffset>=a.labelMinRequiredCells?a.label:""," "))},Uoa=function(a,b){if(a&1){var c=v();G(0,"td",8)(1,"button",9);M("click",function(g){var h=w(c).$implicit,l=O(2);return y(l._cellClicked(h,g))})("focus",function(g){var h=w(c).$implicit,l=O(2);return y(l._emitActiveDateChange(h,g))});G(2,"span",10);R(3);H();I(4,"span",11);H()()}if(a&2){a=b.$implicit;b=b.index;var d=O().index,e=O();pf("width",e._cellWidth)("padding-top",e._cellPadding)("padding-bottom",
e._cellPadding);gf("data-mat-row",d)("data-mat-col",b);z(1);qf("mat-calendar-body-disabled",!a.enabled)("mat-calendar-body-active",e._isActiveCell(d,b))("mat-calendar-body-range-start",e._isRangeStart(a.compareValue))("mat-calendar-body-range-end",e._isRangeEnd(a.compareValue))("mat-calendar-body-in-range",e._isInRange(a.compareValue))("mat-calendar-body-comparison-bridge-start",e._isComparisonBridgeStart(a.compareValue,d,b))("mat-calendar-body-comparison-bridge-end",e._isComparisonBridgeEnd(a.compareValue,
d,b))("mat-calendar-body-comparison-start",e._isComparisonStart(a.compareValue))("mat-calendar-body-comparison-end",e._isComparisonEnd(a.compareValue))("mat-calendar-body-in-comparison-range",e._isInComparisonRange(a.compareValue))("mat-calendar-body-preview-start",e._isPreviewStart(a.compareValue))("mat-calendar-body-preview-end",e._isPreviewEnd(a.compareValue))("mat-calendar-body-in-preview",e._isInPreview(a.compareValue));F("ngClass",a.cssClasses)("tabindex",e._isActiveCell(d,b)?0:-1);gf("aria-label",
a.ariaLabel)("aria-disabled",!a.enabled||null)("aria-pressed",e._isSelected(a.compareValue))("aria-current",e.todayValue===a.compareValue?"date":null)("aria-describedby",e._getDescribedby(a.compareValue));z(1);qf("mat-calendar-body-selected",e._isSelected(a.compareValue))("mat-calendar-body-comparison-identical",e._isComparisonIdentical(a.compareValue))("mat-calendar-body-today",e.todayValue===a.compareValue);z(1);Df(" ",a.displayValue," ")}},Voa=function(a,b){a&1&&(G(0,"tr",5),Q(1,Toa,2,6,"td",6),
Q(2,Uoa,5,48,"td",7),H());if(a&2){a=b.$implicit;b=b.index;var c=O();z(1);F("ngIf",0===b&&c._firstRowOffset);z(1);F("ngForOf",a)}},Woa=function(a){return"TD"===(null==a?void 0:a.nodeName)},Xoa=function(a){if(Woa(a))var b=a;else if(Woa(a.parentNode))b=a.parentNode;else{var c;Woa(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},Yoa=function(a,b,c){return null!==c&&b!==c&&a<c&&a===b},Zoa=function(a,
b,c){return null!==b&&b!==c&&a>=b&&a===c},$oa=function(a,b,c,d){return d&&null!==b&&null!==c&&b!==c&&a>=b&&a<=c},apa=function(a){a=a.changedTouches[0];return document.elementFromPoint(a.clientX,a.clientY)},bpa=function(a,b){a&1&&(G(0,"th",5)(1,"span",6),R(2),H(),G(3,"span",7),R(4),H()());a&2&&(a=b.$implicit,z(2),Ef(a.long),z(2),Ef(a.narrow))},dpa=function(a,b,c,d,e){b=a.getYear(b);c=a.getYear(c);a=cpa(a,d,e);return Math.floor((b-a)/24)===Math.floor((c-a)/24)},nh=function(a,b,c,d){return((a.getYear(b)-
cpa(a,c,d))%24+24)%24},cpa=function(a,b,c){var d=0;c?d=a.getYear(c)-24+1:b&&(d=a.getYear(b));return d},epa=function(){},fpa=function(a){if(a&1){var b=v();G(0,"mat-month-view",5);M("activeDateChange",function(c){w(b);var d=O();return y(d.activeDate=c)})("_userSelection",function(c){w(b);var d=O();return y(d._dateSelected(c))})("dragStarted",function(c){w(b);var d=O();return y(d._dragStarted(c))})("dragEnded",function(c){w(b);var d=O();return y(d._dragEnded(c))});H()}a&2&&(a=O(),F("activeDate",a.activeDate)("selected",
a.selected)("dateFilter",a.dateFilter)("maxDate",a.maxDate)("minDate",a.minDate)("dateClass",a.dateClass)("comparisonStart",a.comparisonStart)("comparisonEnd",a.comparisonEnd)("startDateAccessibleName",a.startDateAccessibleName)("endDateAccessibleName",a.endDateAccessibleName)("activeDrag",a._activeDrag))},gpa=function(a){if(a&1){var b=v();G(0,"mat-year-view",6);M("activeDateChange",function(c){w(b);var d=O();return y(d.activeDate=c)})("monthSelected",function(c){w(b);var d=O();return y(d._monthSelectedInYearView(c))})("selectedChange",
function(c){w(b);var d=O();return y(d._goToDateInView(c,"month"))});H()}a&2&&(a=O(),F("activeDate",a.activeDate)("selected",a.selected)("dateFilter",a.dateFilter)("maxDate",a.maxDate)("minDate",a.minDate)("dateClass",a.dateClass))},hpa=function(a){if(a&1){var b=v();G(0,"mat-multi-year-view",7);M("activeDateChange",function(c){w(b);var d=O();return y(d.activeDate=c)})("yearSelected",function(c){w(b);var d=O();return y(d._yearSelectedInMultiYearView(c))})("selectedChange",function(c){w(b);var d=O();
return y(d._goToDateInView(c,"year"))});H()}a&2&&(a=O(),F("activeDate",a.activeDate)("selected",a.selected)("dateFilter",a.dateFilter)("maxDate",a.maxDate)("minDate",a.minDate)("dateClass",a.dateClass))},ipa=function(a){a&1&&I(0,"mat-pseudo-checkbox",5);a&2&&(a=O(),F("state",a.selected?"checked":"unchecked")("disabled",a.disabled))},jpa=function(a){a&1&&(G(0,"span",6),R(1),H());a&2&&(a=O(),z(1),Df("(",a.group.label,")"))},kpa=function(){},lpa=function(a,b){for(var c=a.length;c--;)b(a[c])},mpa=function(){},
npa=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},opa=function(a){a&1&&(J(0),G(1,"div",14),I(2,"div",15)(3,"div",16)(4,"div",17),H(),G(5,"div",18),I(6,"div",15)(7,"div",16)(8,"div",17),H(),L())},ppa=function(a){if(a&1){var b=v();G(0,"div",19);M("cdkObserveContent",function(){w(b);var c=O();return y(oh(c))});yf(1,1);H()}a&2&&(a=O(),F("cdkObserveContentDisabled","outline"!=
a.appearance))},qpa=function(a){a&1&&(J(0),yf(1,2),G(2,"span"),R(3),H(),L());a&2&&(a=O(2),z(3),Ef(a._control.placeholder))},rpa=function(a){a&1&&yf(0,3,["*ngSwitchCase","true"])},spa=function(a){a&1&&(G(0,"span",23),R(1," *"),H())},tpa=function(a){if(a&1){var b=v();G(0,"label",20,21);M("cdkObserveContent",function(){w(b);var c=O();return y(oh(c))});Q(2,qpa,4,1,"ng-container",12);Q(3,rpa,1,0,"ng-content",12);Q(4,spa,2,0,"span",22);H()}a&2&&(a=O(),qf("mat-empty",a._control.empty&&!a._shouldAlwaysFloat())("mat-form-field-empty",
a._control.empty&&!a._shouldAlwaysFloat())("mat-accent","accent"==a.color)("mat-warn","warn"==a.color),F("cdkObserveContentDisabled","outline"!=a.appearance)("id",a._labelId)("ngSwitch",a._hasLabel()),gf("for",a._control.id)("aria-owns",a._control.id),z(2),F("ngSwitchCase",!1),z(1),F("ngSwitchCase",!0),z(1),F("ngIf",!a.hideRequiredMarker&&a._control.required&&!a._control.disabled))},upa=function(a){a&1&&(G(0,"div",24),yf(1,4),H())},vpa=function(a){a&1&&(G(0,"div",25),I(1,"span",26),H());a&2&&(a=O(),
z(1),qf("mat-accent","accent"==a.color)("mat-warn","warn"==a.color))},wpa=function(a){a&1&&(G(0,"div"),yf(1,5),H());a&2&&(a=O(),F("@transitionMessages",a._subscriptAnimationState))},xpa=function(a){a&1&&(G(0,"div",30),R(1),H());a&2&&(a=O(2),F("id",a._hintLabelId),z(1),Ef(a.hintLabel))},ypa=function(a){a&1&&(G(0,"div",27),Q(1,xpa,2,2,"div",28),yf(2,6),I(3,"div",29),yf(4,7),H());a&2&&(a=O(),F("@transitionMessages",a._subscriptAnimationState),z(1),F("ngIf",a.hintLabel))},Apa=function(){if(void 0===zpa&&
(zpa=null,"undefined"!==typeof window)){var a=window;void 0!==a.trustedTypes&&(zpa=a.trustedTypes.createPolicy("angular#components",{createHTML:function(b){return b}}))}return zpa},Bpa=function(a){var b;return(null==(b=Apa())?void 0:b.createHTML(a))||a},Cpa=function(){var a=Ac(fh),b=a?a.location:null;return{getPathname:function(){return b?b.pathname+b.search:""}}},ph=function(a){a&&"function"==typeof a.dispose&&a.dispose()},Dpa=function(a){for(var b=0,c=arguments.length;b<c;++b){var d=arguments[b];
ua(d)?Dpa.apply(null,d):ph(d)}},Epa=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;A=x=0}function b(B){for(var K=h,N=0;64>N;N+=4)K[N/4]=B[N]<<24|B[N+1]<<16|B[N+2]<<8|B[N+3];for(N=16;80>N;N++)B=K[N-3]^K[N-8]^K[N-14]^K[N-16],K[N]=(B<<1|B>>>31)&4294967295;B=e[0];var P=e[1],Y=e[2],X=e[3],ka=e[4];for(N=0;80>N;N++){if(40>N)if(20>N){var ma=X^P&(Y^X);var za=1518500249}else ma=P^Y^X,za=1859775393;else 60>N?(ma=P&Y|X&(P|Y),za=2400959708):(ma=P^Y^X,za=
3395469782);ma=((B<<5|B>>>27)&4294967295)+ma+ka+za+K[N]&4294967295;ka=X;X=Y;Y=(P<<30|P>>>2)&4294967295;P=B;B=ma}e[0]=e[0]+B&4294967295;e[1]=e[1]+P&4294967295;e[2]=e[2]+Y&4294967295;e[3]=e[3]+X&4294967295;e[4]=e[4]+ka&4294967295}function c(B,K){if("string"===typeof B){B=unescape(encodeURIComponent(B));for(var N=[],P=0,Y=B.length;P<Y;++P)N.push(B.charCodeAt(P));B=N}K||(K=B.length);N=0;if(0==x)for(;N+64<K;)b(B.slice(N,N+64)),N+=64,A+=64;for(;N<K;)if(g[x++]=B[N++],A++,64==x)for(x=0,b(g);N+64<K;)b(B.slice(N,
N+64)),N+=64,A+=64}function d(){var B=[],K=8*A;56>x?c(l,56-x):c(l,64-(x-56));for(var N=63;56<=N;N--)g[N]=K&255,K>>>=8;b(g);for(N=K=0;5>N;N++)for(var P=24;0<=P;P-=8)B[K++]=e[N]>>P&255;return B}for(var e=[],g=[],h=[],l=[128],q=1;64>q;++q)l[q]=0;var x,A;a();return{reset:a,update:c,digest:d,digestString:function(){for(var B=d(),K="",N=0;N<B.length;N++)K+="0123456789ABCDEF".charAt(Math.floor(B[N]/16))+"0123456789ABCDEF".charAt(B[N]%16);return K}}},Fpa=function(a,b,c){qh(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)},Gpa=function(a){a&1&&(jd(),G(0,"svg",3),I(1,"polygon",4),H())},Hpa=function(a){if(a&1){var b=v();G(0,"div",0);M("keydown",function(c){w(b);var d=O();return y(d._handleKeydown(c))})("click",function(){w(b);var c=O();return y(c.closed.emit("click"))})("@transformMenu.start",function(c){w(b);var d=O();return y(d._onAnimationStart(c))})("@transformMenu.done",function(c){w(b);var d=O();return y(d._onAnimationDone(c))});
G(1,"div",1);yf(2);H()()}a&2&&(a=O(),F("id",a.panelId)("ngClass",a._classList)("@transformMenu",a._panelAnimationState),gf("aria-label",a.ariaLabel||null)("aria-labelledby",a.ariaLabelledby||null)("aria-describedby",a.ariaDescribedby||null))},Ipa=function(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}},Jpa=function(a){a&1&&(jd(),G(0,"svg",2),I(1,"polygon",3),H())},Kpa=function(a){if(a&1){var b=v();G(0,"div",0);M("keydown",function(c){w(b);
var d=O();return y(d._handleKeydown(c))})("click",function(){w(b);var c=O();return y(c.closed.emit("click"))})("@transformMenu.start",function(c){w(b);var d=O();return y(d._onAnimationStart(c))})("@transformMenu.done",function(c){w(b);var d=O();return y(d._onAnimationDone(c))});G(1,"div",1);yf(2);H()()}a&2&&(a=O(),F("id",a.panelId)("ngClass",a._classList)("@transformMenu",a._panelAnimationState),gf("aria-label",a.ariaLabel||null)("aria-labelledby",a.ariaLabelledby||null)("aria-describedby",a.ariaDescribedby||
null))},rh=function(a,b){throw Error(void 0===b?"unexpected value "+a+"!":b);},Npa=function(a){var b=sh(a,"Content-Type");if(!b)return null;b=b.toLowerCase();if(b.startsWith("application/json"))return b.startsWith("application/json+protobuf")?new Lpa:new Mpa;if(b.startsWith("application/x-protobuf")){a=sh(a,"Content-Transfer-Encoding");if(!a)return new th;if("base64"==a.toLowerCase())return new uh}return null},Opa=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,x){(x=document.getElementById(x))&&q.push(x);return q},[]);if(b.length)return b.map(function(q){return Opa(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 Opa(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()},Ppa=function(){return{color:"accent"}},Qpa=function(a){return"nonprod"===a.environment?"https://autopushcorp-devopsconsole-pa-googleapis.corp.google.com":"https://devopsconsole-pa-googleapis.corp.google.com"},Rpa=function(a){a=a.tagName;if("SCRIPT"===a||"STYLE"===a)throw Error("ca");},Spa=function(a,b){a.src=vh(b).toString()},
wh=function(a,b){a.src=vh(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)},Tpa=function(a,b,c){b=ona(b);void 0!==b&&a.open(b,c,void 0)},xh=function(a){return null==console?!1:"function"===typeof console[a]},yh=function(){xh("debug")&&console.debug.apply(console,Pc.apply(0,arguments))},Upa=function(){xh("info")&&console.info.apply(console,
Pc.apply(0,arguments))},Vpa=function(){xh("log")&&console.log.apply(console,Pc.apply(0,arguments))},zh=function(){xh("warn")&&console.warn.apply(console,Pc.apply(0,arguments))},Wpa=function(){xh("error")&&console.error.apply(console,Pc.apply(0,arguments))},Xpa=function(a){if(null!=a){var b=a.getYear();if(null==b)zh("No year. dateToJs");else{var c=a.getDay();if(null==c)zh("No day. dateToJs");else if(a=a.getMonth(),null==a)zh("No month. dateToJs");else return{year:b,day:c,month:a}}}},Ypa=function(a){var b=
new Ah;b.setDay(a.day);b.setMonth(a.month);b.setYear(a.year);return b},Bh=function(a){if(null!=a){var b=a.getSeconds();a=a.getNanos();return{seconds:b,nanos:a}}},Dh=function(a){var b=new Ch;b.setSeconds(a.seconds);b.setNanos(a.nanos);return b},Zpa=function(a){var b=new Eh;b.setSeconds(a.seconds);b.setNanos(a.nanos);return b},$pa=function(a){if(null!=a)return Number(a.toDate())},aqa=function(a){var b;return{changelistNumbers:null!=(b=Fh(a,1))?b:[]}},cqa=function(a){return{changelists:a.getChangelistsList().map(bqa),
nextPageToken:a.getNextPageToken()}},bqa=function(a){var b,c;return{author:a.getAuthor(),changelistNumber:Gh(a,2),pending:a.getPending(),timestamp:Bh(a.getTimestamp()),issueIds:null!=(b=a.getIssueIdsList())?b:[],fixedIssueIds:null!=(c=Hh(a,6))?c:[]}},dqa=function(a){var b;return{author:a.getAuthor(),description:a.getDescription(),pending:a.getPending(),timestamp:a.getTimestamp(),affectedFiles:null!=(b=Ih(a,5))?b:[]}},Kh=function(a){return new Jh(a.year,a.month-1,a.day)},Lh=function(a){return{month:a.getMonth()+
1,day:a.getDate(),year:a.getFullYear()}},eqa=function(a){return!(!a||null==a.day||null==a.month||null==a.year)},fqa=function(a,b){return a.size!==b.size?!1:[].concat(Vc(a)).every(function(c){return b.has(c)})},gqa=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},hqa=function(a,b){if(!fqa(a,b)){var c=[].concat(Vc(b)).filter(function(e){return!a.has(e)}),d=[].concat(Vc(a)).filter(function(e){return!b.has(e)});
return{added:c,removed:d}}},iqa=function(a,b){var c=a.size>b.size?a:b;return new Set([].concat(Vc(a===c?b:a)).filter(function(d){return c.has(d)}))},jqa=function(a,b){return a.size>=b.size&&[].concat(Vc(b)).every(function(c){return a.has(c)})},Mh=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(!Mh(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?fqa(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(!kqa.call(b,g)||!Mh(a[g],b[g]))return!1}return!0}return!1},lqa=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(Mh(c,g.value)){d=!0;break}d||b.push(c)}return b},mqa=function(a,b){for(var c=a.length-1;0<=c;c--)Mh(a[c],b)&&a.splice(c,1)},nqa=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},pqa=function(a){return Object.assign.apply(Object,
[{}].concat(Vc(oqa.map(function(b){var c={};return c[b]=a[b],c}))))},Nh=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(Nh(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(Nh(c),Nh(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]=Nh(e)}Object.setPrototypeOf(b,Object.getPrototypeOf(a));a=b}return a},qqa=function(a){return"number"===typeof a},Oh=function(a){return"string"===typeof a},Ph=function(a){return Array.isArray(a)&&a.every(Oh)},rqa=function(a){return Array.isArray(a)&&a.every(qqa)},sqa=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},Qh=function(a){return a.toLowerCase().replace(/_([a-z])/g,
function(b,c){return c.toUpperCase()})},Sh=function(a){if(a){if(qqa(a)){var b=new Date(a);47E3<b.getFullYear()&&(b=new Date(a/1E3));return new Jh(b)}b=a.split("/");if(3===b.length)return a=Rh(b[2]),50>a?a+=2E3:100>a&&(a+=1900),new Jh(a,Rh(b[0])-1,Rh(b[1]));if(1===b.length)return Sh(Number(a))}return new Jh},tqa=function(a){return a.replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"")},uqa=function(a){return!(!a||!Th(a,"text/")&&!Th(a,"image/")&&"application/pdf"!==a)},vqa=function(a,b){return a.map(function(c){return c[b]})},
wqa=function(a,b){return a.filter(function(c){return!b.has(c)})},xqa=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},Uh=function(a,b){return wqa(a,new Set(b))},yqa=function(a,b){var c=/[,;]/;(void 0===b||b)&&(c=/[\s,;]/);return a.split(c).map(Vh).filter(function(d){return!!d})},zqa=function(a,b){a=new URL(a);return a.host+a.pathname+b},Aqa=function(a){return a?Lh(Sh(a)):null},Bqa=
function(a){return a?(a=Wh(a),isNaN(a)?null:a):null},Dqa=function(a){var b=new Xh;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 Yh(a.typedDefaultValue));b.required=!!a.required;b.fieldSignificance=a.fieldSignificance||"MINOR";b.allowedValue=a.allowedValue||null;b.stateOnIssues=Cqa[a.stateOnIssues]||1;var c=a.enabledOnIssues;b.enabledOnIssues=null==c?!0:c;b.shared=a.shared;return b},
Eqa=function(a){return void 0!==a.user},Fqa=function(a){switch(a){case "public_non_google":return"Public (non-google.com)";case "googlers_unrestricted":return"Full-time Googlers";default:return Zh(a.replace(/_/g," ").toLowerCase())}},Hqa=function(a){if(a)return{accessLevel:Gqa[a.getAccessLevel()]}},Jqa=function(a){a=Iqa[a.accessLevel];var b=new $h;b.setAccessLevel(a);return b},Kqa=function(a){if(!a)return!1;a=a.userGaiaStatus;return!a||"ACTIVE"===a||"UNSPECIFIED"===a},bi=function(a){return a?a.map(ai):
[]},ci=function(a){a=bi(a);a.sort();return a},ai=function(a){return a&&a.getUserGaiaStatus?Lqa(di(a)):Lqa(a)},Lqa=function(a){return a?"DELETED"===a.userGaiaStatus?"[Deleted User]":"UNAVAILABLE"===a.userGaiaStatus?"[Unavailable User]":Kqa(a)?Mqa(a)||"[No Data]":"[No Data]":""},ei=function(a){return a&&a.getUserGaiaStatus?Mqa(di(a)):Mqa(a)},Mqa=function(a){if(a)return a.emailAddress||a.obfuscatedEmailAddress||""},di=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=Nqa[c];(c=a.getAliasesList())&&0<c.length&&(b.aliases=c);return b}},fi=function(a){if(!a)return null;var b=[];a=k(a);for(var c=a.next();!c.done;c=a.next())(c=di(c.value))&&b.push(c);return b},hi=function(a){var b=a.emailAddress,c=a.obfuscatedEmailAddress,d=a.aliases;a=a.userGaiaStatus;var e=new gi;b&&e.setEmailAddress(b);c&&e.setObfuscatedEmailAddress(c);d&&e.setAliasesList(d);a&&e.setUserGaiaStatus(Oqa[a]);
return e},ii=function(a){return a?{emailAddress:a.trim(),userGaiaStatus:"ACTIVE"}:null},ji=function(a){if(null!=a&&(a=String(a),""!==a.trim()))return a=Number(a),isNaN(a)?void 0:a},ki=function(a){if(null!=a)return String(a)},li=function(a){if(null!=a&&"0"!==a)return a},mi=function(a){return null==a?void 0:a},ni=function(a){return null==a?null:a},oi=function(a){return function(b){return null==b?a:b}},pi=function(a){return null!=a},Pqa=function(a){return{noAccessEmails:Ih(a,1),unknownEmails:Ih(a,2)}},
Qqa=function(a){if(null!=a){var b={},c;if(c=a.getUser())b.user=di(c);if(c=a.getGroup())b.group=di(c);if(c=a.getAlias())b.alias=c;return b}},ri=function(a){var b=new qi;if(Eqa(a))return b.setUser(hi(a.user)),b;if(void 0!==a.group)return b.setGroup(hi(a.group)),b;void 0!==a.alias&&b.setAlias(a.alias);return b},Sqa=function(a){var b=Rqa[a.getImplicitAccess()],c,d,e,g,h,l,q,x,A,B;return{admins:si(null!=(c=a.getAdminsList())?c:[]),appenders:si(null!=(d=a.getAppendersList())?d:[]),editors:si(null!=(e=a.getEditorsList())?
e:[]),readers:si(null!=(g=a.getReadersList())?g:[]),restrictedReaders:si(null!=(h=a.getRestrictedReadersList())?h:[]),restrictedPlusReaders:si(null!=(l=a.getRestrictedPlusReadersList())?l:[]),inheritedAdmins:si(null!=(q=a.getInheritedAdminsList())?q:[]),implicitAppenders:si(null!=(x=a.getImplicitAppendersList())?x:[]),implicitEditors:si(null!=(A=a.getImplicitEditorsList())?A:[]),implicitReaders:si(null!=(B=a.getImplicitReadersList())?B:[]),implicitAccess:b}},si=function(a){return a.map(Qqa).filter(pi)},
ti=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?(Wpa("Invalid principal: ",a),""):e+":"+g},ui=function(a){return(null!=a?a:[]).map(ti)},Uqa=function(a){return(null!=a?a:[]).map(Tqa)},Tqa=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);}},Vqa=function(a){switch(a){case 2:return"PII";case 3:return"SPII";case 0:case 1:return"NONE_DETECTED";default:return rh(a,"Unexpected pii severity")}},vi=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 rh(a,"Unexpected pii severity")}},wi=function(a){return a&&
a.piiVerdict?a.piiVerdict.severity:"NONE_DETECTED"},Wqa=function(a){switch(a){case "NONE_DETECTED":return 1;case "PII":return 2;case "SPII":return 3;default:return 1}},Xqa=function(a){switch(a){case "PII":return"Restricted";case "SPII":return"Restricted+";default:return""}},Yqa=function(a){var b=xi(a,1)?yi(a,1):void 0,c=a.hasResourcePath()?a.getResourcePath():void 0,d=Vqa(a.getSeverity()),e=a.getJudgementReason();a=V(a,5);return{contentJudgementId:b,resourcePath:c,severity:d,judgementReason:e,contentJudge:a}},
Zqa=function(a){var b=new zi;b.setJudgementReason(a.judgementReason);b.setSeverity(vi(a.severity));return b},$qa=function(a){return String(a)},Ai=function(a){var b=ji(a);if(null==b)throw Error("Xb`"+a);return b},bra=function(a){if(null!=a)return{customFieldId:mi(a.getCustomFieldId()),standardField:ara[a.getStandardField()]}},dra=function(a){var b=new Bi;a.customFieldId?b.setCustomFieldId(a.customFieldId):a.standardField&&b.setStandardField(cra[a.standardField]);return b},fra=function(a){if(a&&(a=
era(a)))return Dqa(a)},era=function(a){if(null!=a){var b=a.getName();if(null==b)zh("No name. customFieldToJs");else{var c=ji(a.getCustomFieldId());if(null==c)zh("No customFieldId. customFieldToJs");else{if(a.hasType())return{name:b,description:mi(a.getDescription()),required:mi(a.getRequired()),enabledOnIssues:!!a.getEnabledOnIssues(),type:gra[a.getType()],customFieldId:c,componentId:ji(a.getComponentId()),allowedValue:mi(Ih(a,8)),stateOnIssues:hra[a.getStateOnIssues()],fieldSignificance:ira[a.getFieldSignificance()],
typedDefaultValue:jra(a.getTypedDefaultValue()),shared:!!a.getShared()};zh("No type. customFieldToJs")}}}},jra=function(a){if(null!=a){var b=ji(a.getCustomFieldId());if(null==b)zh("No customFieldId. customFieldValueToJs");else{var c=mi(Ih(a,12));b={customFieldId:b,displayValues:c};switch(Ci(a,Di)){case 4:b.textValue=mi(a.getTextValue());break;case 5:b.dateValue=Xpa(a.getDateValue());break;case 6:b.enumValue=mi(a.getEnumValue());break;case 7:b.numericValue=mi(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 x,A,B,K;b.repeatedDateValue={values:null!=(K=null==(x=a.getRepeatedDateValue())?void 0:null==(A=x.getValuesList())?void 0:
null==(B=A.map(Xpa))?void 0:B.filter(pi))?K:[]}}return b}}},kra=function(a){var b=new Ei;a.customFieldId&&b.setCustomFieldId(String(a.customFieldId));a.displayValues&&Fi(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(Ypa(a.dateValue));else if(void 0!==a.repeatedTextValue){var c=new Gi;c.setValuesList(a.repeatedTextValue.values);
b.setRepeatedTextValue(c)}else void 0!==a.repeatedEnumValue?(c=new Gi,c.setValuesList(a.repeatedEnumValue.values),b.setRepeatedEnumValue(c)):void 0!==a.repeatedNumericValue?(c=new Hi,c.setValuesList(a.repeatedNumericValue.values),b.setRepeatedNumericValue(c)):void 0!==a.repeatedDateValue&&(c=new Ii,c.setValuesList(a.repeatedDateValue.values.map(Ypa)),b.setRepeatedDateValue(c));return b},lra=function(a){return fra(a.getCustomField())},ora=function(a){var b=new Ji;a.customFieldId&&b.setCustomFieldId(String(a.customFieldId));
b.setComponentId(String(a.componentId));b.setType(mra[a.type]);b.setRequired(a.required);b.setName(a.name);b.setDescription(a.description);a.typedDefaultValue&&b.setTypedDefaultValue(kra(a.typedDefaultValue));a.allowedValue&&Fi(b,8,a.allowedValue);b.setFieldSignificance(nra[a.fieldSignificance]);b.setStateOnIssues(a.stateOnIssues);b.setEnabledOnIssues(a.enabledOnIssues);b.setShared(a.shared);return b},sra=function(a){var b=new Li;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&&pra(b,qra(new Mi,a.numericSpec.multiplier));if(a.enumSpec){var c;rra(b,(new Ni).setOptionsList((null!=(c=a.enumSpec.options)?c:[]).map(function(d){return(new Oi).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}Pi(b,6,a)}return b},ura=function(a){if(a.hasPlainFormat()){var b;var c={plainSection:(null!=(b=a.getPlainFormat().getPlainSectionList())?
b:[]).map(tra)}}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}},tra=function(a){return{isQuoted:a.getIsQuoted(),content:a.getContent()}},wra=function(a){return(new vra).setIsQuoted(a.isQuoted).setContent(a.content)},yra=function(a){return{retentionSelection:xra[W(a,1,0)],retentionPeriodDays:Gh(a,2),piiRetentionSelection:xra[W(a,3,0)],piiRetentionPeriodDays:Gh(a,
4),spiiRetentionPeriodDays:Gh(a,5)}},Ara=function(a){var b=new Qi;n(b,1,zra[a.retentionSelection]);null!==a.retentionPeriodDays&&n(b,2,a.retentionPeriodDays);n(b,3,zra[a.piiRetentionSelection]);null!==a.piiRetentionPeriodDays&&n(b,4,a.piiRetentionPeriodDays);null!==a.spiiRetentionPeriodDays&&n(b,5,a.spiiRetentionPeriodDays);return b},Bra=function(a){if(null!=a){var b=ni(Bh(a.getRetentionPeriod()));a=ni(Bh(a.getScheduledDeletionTime()));return{retentionPeriod:b,scheduledDeletionTime:a}}},Dra=function(a){if(null!=
a){a:{a=Z(a,Ri,1);if(null!=a){if(a.hasSeverity()){a={severity:Cra[a.getSeverity()]};break a}zh("No severity. piiVerdictToJs")}a=void 0}return{piiVerdict:a}}},Era=function(a){var b;return{paths:null!=(b=Ih(a,1))?b:[]}},Fra=function(a){return{startTime:Bh(a.getStartTime()),endTime:Bh(a.getEndTime()),targetTime:Bh(a.getTargetTime())}},Gra=function(a){var b=new Si;a.startTime&&b.setStartTime(Dh(a.startTime));a.endTime&&b.setEndTime(Dh(a.endTime));a.targetTime&&b.setTargetTime(Dh(a.targetTime));return b},
Ira=function(a){var b=new Ti;b.setInherit(a.inherit);b.setSource(Hra[a.source]);b.setId(a.id);b.setComment(a.comment);n(b,6,a.sourceComponentId);b.setSourceTeamId(a.sourceTeamId);return b},Jra=function(a){var b;return 1===(null==(b=a.getTeamSloEditPolicy())?void 0:W(b,2,0))},Kra=function(a){var b;return 1===(null==(b=Z(a,Ui,1))?void 0:b.getEffectiveSloEditPolicy())},Lra=function(a){var b=Z(a,Vi,2);a:{var c=W(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:rh(c)}c=void 0}var d=a.getTimeZone(),e=Z(a,Wi,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:rh(l)}if(b=b.getAliasesList())h.aliases=b;a=a.getOrdinal();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()}}},Nra=function(a){var b=(new Xi).setId(a.id),c=a.lead,d=c.emailAddress,e=c.obfuscatedEmailAddress,g=c.aliases;c=c.userGaiaStatus;var h=new Vi;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:rh(c)}b=Yi(b,Vi,2,h).setFrequency(Mra(a.frequency)).setOrdinal(a.ordinal);d=b.setTimeZone;e=a.timeZone;g=(new Zi).setId(e.id);e.version&&g.setVersion(e.version);b=d.call(b,g);a=a.timeOfDay;a=(new Wi).setHours(a.hours).setMinutes(a.minutes).setSeconds(a.seconds).setNanos(a.nanos);return Yi(b,Wi,
6,a)},Qra=function(a){return{metric:Ora[a.getMetric()],matcher:a.getMatcher(),dayType:Pra[a.getDayType()],objective:Bh(a.getObjective()),businessDays:a.getBusinessDays()}},Tra=function(a){var b=new $i;return n(b,1,Rra[a.metric]).setMatcher(a.matcher).setDayType(Sra[a.dayType]).setObjective(Zpa(a.objective)).setBusinessDays(a.businessDays)},bj=function(a){var b,c;return{sloId:a.getSloId(),version:a.getVersion(),name:a.getName(),description:a.getDescription(),parentId:a.getParentId(),elements:(null!=
(b=aj(a,$i,6))?b:[]).map(Qra),effectiveElements:(null!=(c=aj(a,$i,7))?c:[]).map(Qra),isArchived:a.getIsArchived(),alertState:Ura[W(a,9,0)]}},Wra=function(a){var b=(new cj).setSloId(a.sloId).setVersion(a.version).setName(a.name).setDescription(a.description).setParentId(a.parentId);var c=a.elements.map(Tra);b=dj(b,6,c);c=a.effectiveElements.map(Tra);b=dj(b,7,c).setIsArchived(a.isArchived);return n(b,9,Vra[a.alertState])},Xra=function(a){return{author:a.getAuthor(),timestamp:a.getTimestamp(),add:bj(a.getAdd()),
remove:bj(a.getRemove()),addMask:Era(a.getAddMask()),removeMask:Era(a.getRemoveMask())}},Mra=function(a){switch(a){case "daily":return 1;case "weekly":return 2;case "monthly":return 3;default:return rh(a)}},Yra=function(a){if(null!=a)return{tag:a.getTag(),text:a.getText()}},gsa=function(a){if(null!=a){var b,c,d,e,g,h,l,q,x=a.getTitle()||"",A=ni(a.getComment()),B=Zra(a.getFormattingMode()),K=ni(a.getVersion()),N=ni(a.getCreatedTimeMicros()),P=!!a.getIsArchived(),Y=!!a.getInProd(),X=ni(a.getIsDeleted()),
ka=ni(Ih(a,18)),ma=ni(a.getPostmortemsList()),za=ni(Ih(a,19)),Ba=ni(Ih(a,20)),Ma=ni(Ih(a,21)),Sa=ni(ji(a.getComponentId())),Ua=null!=(h=li(yi(a,15)))?h:null;h=ni(null==(b=Hh(a,14))?void 0:b.map(ji).filter(pi));b=ni(null==(c=Hh(a,16))?void 0:c.map(li).filter(pi));c=ni(null==(d=Hh(a,17))?void 0:d.map(li).filter(pi));d=ni(null==(e=a.getHotlistIdList())?void 0:e.map(ji).filter(pi));e=ni(null==(g=Hh(a,30))?void 0:g.map(li).filter(pi));g=null!=(l=Bh(a.getSloStartTime()))?l:null;l=null!=(q=Bh(a.getSloEndTime()))?
q:null;q=ni(di(Z(a,gi,36)));var Lb=ni(di(Z(a,gi,37))),qb=ni(di(Z(a,gi,38))),Ya=ni(di(Z(a,gi,39))),wa=ni(fi(aj(a,gi,40))),Ka=ni(fi(aj(a,gi,51))),Na=aj(a,Ei,24).map(jra).filter(pi),fb=$ra[a.getRetention()],bb=ira[a.getSignificanceOverride()],Tc=asa[a.getDeletionReason()],hb=a.hasType()?bsa[a.getType()]:null,yb=a.hasPriority()?csa[a.getPriority()]:null,$a=a.hasSeverity()?dsa[a.getSeverity()]:null,Fb=a.hasStatus()?ej[a.getStatus()]:null,jb=fj(a,52)?esa[a.getSloSnoozeType()]:null,Mb=a.hasAccessLimitLevel()?
fsa[a.getAccessLimitLevel()]:null;a.hasEffort()?(a=a.getEffort(),a={specId:gj(a,1),estimate:V(a,2),averageDays:hj(a,3),totalOpen:hj(a,4),totalComplete:hj(a,5)}):a=void 0;return{title:x,comment:A,formattingMode:B,version:K,createdTimeMicros:N,isArchived:P,inProd:Y,isDeleted:X,changelist:ka,postmortems:ma,foundInVersion:za,targetedToVersion:Ba,verifiedInVersion:Ma,componentId:Sa,duplicateOfIssueId:Ua,attachmentId:h,blockedByIssueId:b,blockingIssueId:c,hotlistId:d,duplicateIssueId:e,sloStartTime:g,sloEndTime:l,
authorUser:q,reporterUser:Lb,assigneeUser:qb,verifierUser:Ya,ccUsers:wa,collaboratorsUsers:Ka,customField:Na,retention:fb,significanceOverride:bb,deletionReason:Tc,type:hb,priority:yb,severity:$a,status:Fb,sloSnoozeType:jb,issueAccessLimitLevel:Mb,effort:a}}},psa=function(a){var b=new ij;if(a.authorUser){var c=hi(a.authorUser);Yi(b,gi,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(hsa[a.type]);a.status&&b.setStatus(jj[a.status]);a.priority&&b.setPriority(isa[a.priority]);a.severity&&b.setSeverity(jsa[a.severity]);void 0!==a.title&&b.setTitle(a.title);a.reporterUser&&(c=hi(a.reporterUser),Yi(b,gi,37,c));a.assigneeUser&&(c=hi(a.assigneeUser),Yi(b,gi,38,c));a.verifierUser&&(c=hi(a.verifierUser),Yi(b,gi,39,c));a.ccUsers&&(c=a.ccUsers.map(hi),dj(b,40,c));a.collaboratorsUsers&&(c=a.collaboratorsUsers.map(hi),dj(b,51,c));a.attachmentId&&(c=a.attachmentId.map($qa),kj(b,14,
c));a.duplicateOfIssueId&&n(b,15,a.duplicateOfIssueId);a.blockedByIssueId&&kj(b,16,a.blockedByIssueId);a.blockingIssueId&&kj(b,17,a.blockingIssueId);a.changelist&&Fi(b,18,a.changelist);a.postmortems&&b.setPostmortemsList(a.postmortems);a.foundInVersion&&Fi(b,19,a.foundInVersion);a.targetedToVersion&&Fi(b,20,a.targetedToVersion);a.verifiedInVersion&&Fi(b,21,a.verifiedInVersion);a.hotlistId&&b.setHotlistIdList(a.hotlistId.map($qa));a.customField&&(c=a.customField.map(kra),dj(b,24,c));a.comment&&b.setComment(a.comment);
a.formattingMode&&b.setFormattingMode(ksa[a.formattingMode]);a.retention&&b.setRetention(lsa[a.retention]);a.isDeleted&&b.setIsDeleted(a.isDeleted);a.deletionReason&&b.setDeletionReason(msa[a.deletionReason]);a.significanceOverride&&b.setSignificanceOverride(nra[a.significanceOverride]);a.duplicateIssueId&&kj(b,30,a.duplicateIssueId);void 0!==a.inProd&&b.setInProd(a.inProd);void 0!==a.isArchived&&b.setIsArchived(a.isArchived);a.sloStartTime&&b.setSloStartTime(Dh(a.sloStartTime));a.sloEndTime&&b.setSloEndTime(Dh(a.sloEndTime));
a.sloSnoozeType&&b.setSloSnoozeType(nsa[a.sloSnoozeType]);a.issueAccessLimitLevel&&b.setAccessLimitLevel(osa[a.issueAccessLimitLevel]);if(a.effort){c=b.setEffort;a=a.effort;var d=new lj;a.specId&&Cb(d,1,a.specId);a.estimate&&mj(d,2,a.estimate);a.averageDays&&nj(d,3,a.averageDays);a.totalOpen&&nj(d,4,a.totalOpen);a.totalComplete&&nj(d,5,a.totalComplete);c.call(b,d)}return b},qsa=function(a){var b={targetIssueId:String(gj(a,1))};if(a=gj(a,2))b.afterIssueId=ki(a);return b},rsa=function(a,b,c,d){a=(new oj).setIssueId(a);
b&&(b=osa[b])&&(b=(new pj).setAccessLevel(b),a.setIssueAccessLimit(b));c&&a.setAddedCollaboratorsList(c.map(hi));d&&a.setRemovedCollaboratorsList(d.map(hi));return a},ssa=function(a){var b=new qj;b.setIssueId(String(a));return b},usa=function(a){var b=new tsa;b.setIssueId(String(a.issueId));b.setComponentId(String(a.componentId));return b},wsa=function(a){var b=new vsa;b.setIssueId(String(a.issueId));b.setComponentId(String(a.componentId));return b},xsa=function(a){return{issueId:li(a.getIssueId()),
status:ej[a.getStatus()],title:a.getTitle()}},zsa=function(a){var b=new rj;b.setFieldName(a.fieldName);a.value&&b.setValue(a.value);a.actionType&&b.setActionType(ysa[a.actionType]);a.customFieldValue&&b.setCustomFieldValue(kra(a.customFieldValue));return b},Asa=function(a){var b=new sj;b.setIssueId(String(a.issueId));b.setActionsList(a.actions.map(zsa));return b},Csa=function(a){var b=new tj;b.setAddHotlistIdsList(a.addHotlistIds.map(String));b.setRemoveHotlistIdsList(a.removeHotlistIds.map(String));
var c=a.hotlistIssue;a=new uj;a.setIssueId(String(c.issueId));c.position&&a.setPosition(c.position);if(c.issue){var d=a.setIssue;c=c.issue;var e=new vj;e.setIssueId(String(c.issueId));var g,h=(null!=(g=c.snapshot)?g:[]).map(psa);dj(e,2,h);if(c.userData){g=e.setUserData;h=c.userData;var l=new wj;h.voted&&l.setVoted(h.voted);h.starred&&l.setStarred(h.starred);h.notificationSubscription&&l.setNotificationSubscription(Bsa[h.notificationSubscription]);void 0!==h.lastViewedTimeMicros&&n(l,5,h.lastViewedTimeMicros);
g.call(e,l)}if(c.aggregatedData){h=c.aggregatedData;g=new xj;g.setVoteCount(h.voteCount);g.setCreatedTimeMicros(h.createdTimeMicros);n(g,4,h.resolvedTimeMicros);n(g,5,h.verifiedTimeMicros);g.setModifiedTimeMicros(h.modifiedTimeMicros);g.setLastModifier(hi(h.lastModifier));g.setSloId(String(h.sloId));g.setTeamId(String(h.teamId));if(h.retentionState){l=g.setRetentionState;var q=h.retentionState,x=new yj;q.retentionPeriod&&x.setRetentionPeriod(Zpa(q.retentionPeriod));q.scheduledDeletionTime&&x.setScheduledDeletionTime(Dh(q.scheduledDeletionTime));
l.call(g,x)}h.sloStatus&&(l=g.setSloStatus,h=h.sloStatus,q=new zj,h.assignmentBounds&&q.setAssignmentBounds(Gra(h.assignmentBounds)),h.responseBounds&&q.setResponseBounds(Gra(h.responseBounds)),h.closureBounds&&q.setClosureBounds(Gra(h.closureBounds)),l.call(g,q));Yi(e,xj,4,g)}c.accessLimit&&e.setAccessLimit(Jqa(c.accessLimit));e.setCustomFieldsList(c.customFields.map(Dqa).map(ora));var A;e.setVisibleFieldsList((null!=(A=c.visibleFields)?A:[]).map(dra));n(e,7,c.majorModifiedTimeMicros);e.setParentIssueIdsList(c.parentIssueIds);
if(c.ancestors)for(A=e.getAncestorsMap(),g=k(c.ancestors.entries()),h=g.next();!h.done;h=g.next()){h=k(h.value);x=h.next().value;h=h.next().value;l=A;q=l.set;x=Number(x);var B=new Aj;B.setSourceIssueIdsList(h.sourceIssueIds.map(ji).filter(pi));q.call(l,x,B)}e.setChildIssueCount(c.childIssueCount);e.setIsArchived(c.isArchived);d.call(a,e)}Yi(b,uj,3,a);return b},Dsa=function(a){var b;return{issueDigests:(null!=(b=a.getIssueDigestsList())?b:[]).map(xsa),numTotalResults:a.getNumTotalResults()}},Fsa=function(a){var b=
new Bj;b.setIssueId(String(a.issueId));var c=a.targetIds.map(String);kj(b,2,c);b.setRelation(Esa[a.relation]);b.setActionType(ysa[a.actionType]);return b},Hsa=function(a){var b=new Gsa;b.setIssueId(String(a.issueId));b.setRetention(lsa[a.retention]);a.significanceOverride&&b.setSignificanceOverride(nra[a.significanceOverride]);return b},Isa=function(a){var b=new Cj;b.setSnapshot(psa(a.snapshot));a.attachments&&b.setAttachmentsList(a.attachments);a.templateId&&b.setTemplateId(String(a.templateId));
a.contentJudgement&&b.setContentJudgement(Zqa(a.contentJudgement));return b},Jsa=function(a){return{issueId:li(a.getIssueId())}},Fj=function(a){return{issueId:li(a.getIssueId()),updateText:a.getUpdateText(),formattedText:Dj(a,Ej,3)?ura(Z(a,Ej,3)):void 0,formattingMode:Zra(a.getFormattingMode()),author:mi(di(a.getAuthor())),updateTime:mi(Bh(a.getUpdateTime())),version:a.getVersion()}},Zra=function(a){switch(a){case 0:break;case 1:return"PLAIN";case 2:return"MARKDOWN";case 3:return"LITERAL";default:return rh(a)}},
Ksa=function(a){return{encryptedMedia:Eb(Gj(a,1)),errorMessage:a.getErrorMessage()}},Lsa=function(a){var b=new Hj;n(b,1,Va(a.attachment,!1,!1));void 0!==a.contentJudgement&&b.setContentJudgement(Zqa(a.contentJudgement));return b},Nsa=function(a){var b;return{attachments:(null!=(b=a.getAttachmentsList())?b:[]).map(Msa)}},Msa=function(a){if(null!=a){var b=ji(a.getAttachmentId()),c=V(a,7),d=a.getEtag(),e=a.getContentType(),g=a.getDescription(),h=a.getFilename(),l=a.getLength(),q=$ra[a.getPiiRetention()],
x=Bra(a.getPiiRetentionState()),A=Osa(a.getEntityStatus()),B=Dra(a.getContentVerdict());a=Z(a,Ij,3);a=null!=a?{filename:mi(m(a,5)),length:mi(a.getLength_legacyNullable()),contentType:mi(m(a,1))}:void 0;return{attachmentId:b,filecompUrl:c,etag:d,contentType:e,description:g,filename:h,length:l,piiRetention:q,piiRetentionState:x,entityStatus:A,contentVerdict:B,media:a}}},Osa=function(a){if(null!=a)return{reason:Psa[a.getReason()],status:Qsa[a.hasStatus()?a.getStatus():0]}},Rsa=function(a){return{id:a.getId(),
name:a.getName(),description:a.getDescription()}},Tsa=function(a){var b=a.getTeamId(),c=a.getVersion(),d=a.getName(),e=a.getDescription(),g=a.getPathNamesList(),h=a.getPathIdsList().map(String),l=Ih(a,6),q=a.getMembersList().map(Ssa),x=a.getDeleted(),A=gj(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:x,
estimatedComponentCount:A,slo:B,sloLead:di(Z(a,gi,12)),defaultSloLead:di(Z(a,gi,13))}},Ssa=function(a){var b;return{user:null!=(b=di(a.getUser()))?b:{},isLead:Jj(a,2)}},Usa=function(a){var b=new Kj;Lj(b,2,a.isLead);b.setUser(hi(a.user));return b},Vsa=function(a){var b=new Mj;if(null==a)return b;b.setInherit(a.inherit);b.setSloId(a.sloId);b.setComment(a.comment);b.setSourceTeamId(a.sourceTeamId);return b},Wsa=function(a){var b=new Nj;b.setInherit(a.inherit);b.setId(String(a.id));return b},Xsa=function(a){return{teamId:a.getId(),
name:a.getName(),description:a.getDescription(),pathNames:a.getPathNamesList(),pathIds:a.getPathIdsList()}},Ysa=function(a){return{teamId:a.getTeamId(),score:a.getScore()}},$sa=function(a){var b=new Zsa;b.setTeamId(a.teamId);b.setScore(a.score);return b},ata=function(a){return{author:a.getAuthor(),timestamp:a.getTimestamp(),add:Oj(a.getAdd()),remove:Oj(a.getRemove()),addMask:Era(a.getAddMask()),removeMask:Era(a.getRemoveMask())}},bta=function(a){var b;return{updates:(null!=(b=a.getUpdatesList())?
b:[]).map(ata)}},Oj=function(a){var b=a.hasRetentionSettings()?yra(a.getRetentionSettings()):void 0;if(Dj(a,Pj,10)){var c=Z(a,Pj,10),d,e;var g=(null!=(d=Hh(c,1))?d:[]).map(Ai);d=Ih(c,2);var h=aj(c,Ji,4);if(h){c=[];h=k(h);for(var l=h.next();!l.done;l=h.next())(l=fra(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:cta[g.getSource()],id:g.getId(),sourceComponentId:yi(g,
6),sourceTeamId:g.getSourceTeamId(),comment:g.getComment()}):g=void 0;var q;if(Dj(a,Li,24)){c=a.getEffortSpec();d=c.getInherit();h=c.getId();l=c.getName();a:switch(W(c,6,0)){case 2:var x="MAX";break a;case 1:x="SUM";break a;default:x="AGGREGATION_TYPE_UNSPECIFIED"}d={inherit:d,id:h,name:l,aggregationType:x,customFieldId:c.getCustomFieldId()};if(Qj(c,Mi,4,Rj)){if(q=Sj(c,Mi,4,Rj))d.numericSpec={multiplier:hj(q,1)}}else if(Qj(c,Ni,5,Rj)&&(c=Sj(c,Ni,5,Rj),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 A,B;c=Ai(a.getComponentId());h=Ai(yi(a,2));l=a.getName();x=a.getDescription();var K=a.getArchived(),N=(null!=(A=Hh(a,7))?A:[]).map(Ai);A=Hqa(a.getAccessLimit());var P=V(a,13),Y=Jj(a,14);
var X=1===W(a,15,0)?"ENABLED":"DISABLED";return{componentId:c,parentComponentId:h,name:l,description:x,archived:K,customFieldId:N,componentPathInfo:e,accessLimit:A,emailAlias:P,userHasEditAccess:Y,commentEditState:X,defaultTemplateId:Ai(yi(a,18)),slo:g,bugscopeSloId:yi(a,20),retentionSettings:b,fieldOrdering:dta[W(a,23,0)],effortSpec:q,team:d,teamSuggestions:(null!=(B=a.getTeamSuggestionsList())?B:[]).map(Ysa),trackerId:"0"!==a.getTrackerId()?a.getTrackerId():void 0}},eta=function(a){var b=new Tj;
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(Ara(a.retentionSettings));return b},fta=function(a){var b;return(null!=(b=aj(a,Tj,1))?b:[]).map(Oj)},gta=function(a){return{warningHeader:V(a,1),warning:a.getWarning(),isAllowed:Jj(a,3),isExternalMove:Jj(a,4)}},hta=function(a){return{templateId:a.getTemplateId(),componentId:Ai(a.getComponentId()),
default:!!a.getDefault(),name:a.getName(),description:a.getDescription(),snapshot:gsa(a.getSnapshot())}},ita=function(a){var b=new Uj;b.setTemplateId(a.templateId);b.setComponentId(String(a.componentId));b.setDefault(a.default);b.setName(a.name);b.setDescription(a.description);b.setSnapshot(psa(a.snapshot));return b},jta=function(a){var b={},c=Vj(a,2,Ji).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=fra(e))&&(b[Ai(d)]=e)}return{snapshot:gsa(a.getSnapshot()),
customFieldMap:b}},kta=function(a){var b;return(null!=(b=aj(a,Tj,1))?b:[]).map(Oj)},lta=function(a){var b=yra(a.getRetentionSettings());return{componentPath:a.getComponentPath(),retentionSettings:b}},nta=function(a){return aj(a,mta,2).map(lta)},qta=function(a){if(null!=a){var b=a.getName();if(null==b)zh("No name. eventDiffToJs");else{b={name:b,displayName:mi(a.getDisplayName()),timestamp:$pa(a.getTimestamp()),important:!!Jj(a,5),type:ota[a.getType()]};if(Qj(a,Wj,6,Xj)){var c=Sj(a,Wj,6,Xj);if(Qj(c,
Yj,1,Zj)){var d=Sj(c,Yj,1,Zj);b.isUser=!0;b.oldValue=oi("<none>")(ei(null==d?void 0:Z(d,gi,1)));b.newValue=oi("<none>")(ei(null==d?void 0:Z(d,gi,2)))}if(Qj(c,ak,2,Zj)){var e,g;b.oldValue=mi(null==(e=Sj(a,Wj,6,Xj))?void 0:null==(g=Sj(e,ak,2,Zj))?void 0:g.getOldValue());var h,l;b.newValue=mi(null==(h=Sj(a,Wj,6,Xj))?void 0:null==(l=Sj(h,ak,2,Zj))?void 0:l.getNewValue())}}else if(Qj(a,bk,9,Xj)){var q;b.customFieldId=mi(null==(q=Sj(a,bk,9,Xj))?void 0:q.getCustomFieldId());var x;b.oldValue=mi(null==(x=
Sj(a,bk,9,Xj))?void 0:x.getOldValue());var A;b.newValue=mi(null==(A=Sj(a,bk,9,Xj))?void 0:A.getNewValue())}else if(Qj(a,ck,10,Xj))e=Sj(a,ck,10,Xj),b.isUser=!0,a=(null==e?void 0:e.getAddedList())||[],e=(null==e?void 0:e.getRemovedList())||[],b.added=a.map(function(N){return ei(N)}).map(oi("<none>")),b.removed=e.map(function(N){return ei(N)}).map(oi("<none>"));else if(Qj(a,dk,7,Xj)){var B;b.added=(null==(B=Sj(a,dk,7,Xj))?void 0:B.getAddedList())||[];var K;b.removed=(null==(K=Sj(a,dk,7,Xj))?void 0:K.getRemovedList())||
[]}else Qj(a,ek,8,Xj)?(e=(null==(d=Sj(a,ek,8,Xj))?void 0:d.getAddedList())||[],a=(null==(c=Sj(a,ek,8,Xj))?void 0:c.getRemovedList())||[],b.added=e.map(pta).filter(pi),b.removed=a.map(pta).filter(pi)):Qj(a,fk,11,Xj)?(a=Osa(Sj(a,fk,11,Xj).getEntityStatus()),b.statusUpdateDiff={entityStatus:a}):zh("Unhandled diff type '"+b.type+"'");return b}}},pta=function(a){if(null!=a){var b=a.getValue();if(null==b)zh("No value. linkedItemToJs");else if(a=a.getHref(),null==a)zh("No href. linkedItemToJs");else return{value:b,
href:a}}},rta=function(a){a=gk(a).toString();var b=new hk;n(b,2,a);return b},sta=function(a){if(!a)return null;a=m(a,2);var b;null===a||void 0===a?b=null:b=Dg(a);return b},ik=function(a){if(null!=a){var b=a.getIssueId();if(null==b)zh("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,x;d=a.getUserData();
if(null!=d){var A;d={voted:ni(d.getVoted()),starred:ni(d.getStarred()),notificationSubscription:tta[d.getNotificationSubscription()],lastViewedTimeMicros:null!=(A=gj(d,5))?A:0}}else d=void 0;A=Hqa(a.getAccessLimit());e=aj(a,ij,2).map(gsa).filter(pi);g=a.getCustomFieldsList().map(era).filter(pi);var B=a.getVisibleFieldsList().map(bra).filter(pi);var K=Z(a,xj,4);if(null!=K){var N=void 0;if(K.hasSloStatus()){var P=K.getSloStatus();N={assignmentBounds:P.hasAssignmentBounds()?Fra(P.getAssignmentBounds()):
void 0,responseBounds:P.hasResponseBounds()?Fra(P.getResponseBounds()):void 0,closureBounds:P.hasClosureBounds()?Fra(P.getClosureBounds()):void 0}}var Y,X,ka,ma,za;P={voteCount:null!=(Y=K.getVoteCount())?Y:0,createdTimeMicros:null!=(X=K.getCreatedTimeMicros())?X:0,resolvedTimeMicros:null!=(ka=gj(K,4))?ka:0,verifiedTimeMicros:null!=(ma=gj(K,5))?ma:0,modifiedTimeMicros:null!=(za=K.getModifiedTimeMicros())?za:0,lastModifier:di(K.getLastModifier()),sloId:ji(K.getSloId()),teamId:ji(K.getTeamId()),retentionState:Bra(K.getRetentionState()),
sloStatus:N}}else P=void 0;return{issueId:b,userData:d,accessLimit:A,snapshot:e,customFields:g,visibleFields:B,aggregatedData:P,majorModifiedTimeMicros:null!=(h=gj(a,7))?h:0,parentIssueIds:null!=(l=a.getParentIssueIdsList())?l:[],ancestors:c,childIssueCount:null!=(q=a.getChildIssueCount())?q:0,isArchived:a.getIsArchived(),relatedLinks:(null!=(x=a.getRelatedLinksList())?x:[]).map(uta),trackerId:"0"!==a.getTrackerId()?a.getTrackerId():void 0,statusUpdate:a.hasStatusUpdate()?Fj(a.getStatusUpdate()):
void 0}}}},wta=function(a){if(null!=a){var b=$pa(Z(a,Ch,4)),c=!!Jj(a,8),d,e=null!=(d=vta(a.getComment()))?d:{};d=a.hasStatusUpdate()?Fj(a.getStatusUpdate()):void 0;var g,h=null==(g=aj(a,jk,2))?void 0:g.map(qta).filter(pi),l;g=null==(l=aj(a,jk,3))?void 0:l.map(qta).filter(pi);var q;l=null==(q=aj(a,kk,9))?void 0:q.map(Yra).filter(pi);q=a.getAttachmentsList().map(Msa).filter(pi);var x=ei(Z(a,gi,5));x=oi("<none>")(x);var A=di(Z(a,gi,5)),B=!!Jj(a,11),K=!!Jj(a,12);if(null==b)zh("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:x,userPerformingActionUser:A,isHumanAuthor:B,isCollaboratorAuthor:K})}},xta=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:mi(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}},vta=function(a){return null==a?{}:xta(lk(a))},nk=function(a){if(null!=a){var b=ik(a.getIssue());if(null==b)zh("No issue. issueFetchResponseToJs");else return a=wta(Z(a,mk,5)),{issue:b,firstEvent:a}}},
yta=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(qsa),totalChildCount:d.getTotalSize()})}return b},zta=function(a){var b=new ok;b.setIssueIdsList(a.issueIds.map(String));b.setActionsList(a.actions.map(zsa));return b},Ata=function(a){return{issueId:a.getIssueId(),message:a.getMessage()}},Bta=function(a){for(var b={},c=k(Vj(a,1,vj).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)]=ik(e)}c={};d=k(Vj(a,3,Tj).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)]=Oj(g)}var h;a=(null!=(h=aj(a,pk,2))?h:[]).map(Ata);return{affectedIssues:b,componentMap:c,errors:a}},Cta=function(a){var b;return(null!=(b=a.getIssueCommentsList())?b:[]).map(vta)},uta=function(a){var b=Ci(a,qk);switch(b){case 2:return b=Sj(a,Dta,2,qk),0!==b.getCommentNumber()?{type:"issueReference",
issueId:String(b.getIssueId()),commentNumber:b.getCommentNumber(),sourceCommentNumber:Gh(a,3)}:{type:"issueReference",issueId:String(b.getIssueId()),sourceCommentNumber:Gh(a,3)};case 1:return{type:"hyperlink",href:Sj(a,rk,1,qk).getHref(),sourceCommentNumber:Gh(a,3)};case 0:throw Error("bc");default:return rh(b)}},Eta=function(a){return{readTimestamp:gj(a,1)}},Fta=function(a){var b=a.getIssueState();b={componentId:b.getComponentId(),type:bsa[b.getType()],status:ej[b.getStatus()],priority:csa[b.getPriority()],
severity:dsa[b.getSeverity()],accessLimitLevel:b.hasAccessLimitLevel()?fsa[b.getAccessLimitLevel()]:null};return{issueId:String(a.getIssueId()),issueState:b,modifiedTime:Bh(a.getModifiedTime()),teamId:a.getTeamId()}},Gta=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 rh(a,"Unexpected formatting mode")}},lk=function(a){var b=void 0;Dj(a,sk,14)&&(b=Dra(Z(a,sk,14)));return{issueId:a.getIssueId(),
commentNumber:a.getCommentId(),commentContentVerdict:b,formattingMode:Hta[a.getFormattingMode()],formattedComment:a.hasFormattedComment()?ura(a.getFormattedComment()):void 0,lastEditorUser:di(Z(a,gi,8)),lastModified:a.getLastModified(),version:a.getVersion(),unlinkifiedComment:V(a,7),entityStatus:Osa(a.getEntityStatus()),piiRetentionState:Bra(a.getPiiRetentionState()),piiRetention:$ra[a.getPiiRetention()],redacted:a.getRedacted(),etag:a.getEtag(),commentReactions:Ita(a.getCommentReaction())}},Jta=
function(a){var b;return(null!=(b=a.getIssueCommentsList())?b:[]).map(lk)},Ita=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=Kta[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(di).filter(pi))?l:[]};a.set(e,
q)}return a},Lta=function(a){return{user:di(Z(a,gi,1)),createdTime:Bh(a.getCreatedTime())}},Mta=function(a){return{responders:aj(a,tk,1).map(Lta),totalSize:a.getTotalSize(),nextPageToken:a.getNextPageToken()}},Nta=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=ik(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)]=Oj(h)}g=sb(a,4,Eba);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()}},Ota=function(a){return uk({id:a.getId(),std_offset:Gh(a,3),names:Ih(a,2),transitions:Fh(a,4)||[]})},Qta=function(a){var b=a.getTrackerId(),c=a.getName(),d=a.getComponentId(),e=Hh(a,4);var g=Z(a,vk,5);
g=null!=g?{logoUrl:g.getLogoUrl(),cocUrl:V(g,3),theme:Pta[g.getTheme()]}:void 0;return{trackerId:b,name:c,componentId:d,associatedTrackerIds:e,branding:null!=g?g:null,internalBaseUrl:wk(a,6)?V(a,6):void 0,externalBaseUrl:wk(a,7)?V(a,7):void 0,trustedCollaborators:0<aj(a,gi,8).length?fi(aj(a,gi,8)):void 0}},Rta=function(a){var b;return(null!=(b=a.getTrackersList())?b:[]).map(Qta)},Sta=function(a){return{trackers:a.getTrackersList().map(Qta),nextPageToken:a.getNextPageToken(),totalSize:a.getTotalSize()}},
xk=function(a){if(null==a)return"UNSPECIFIED_FORMATTING_MODE";switch(Tta[a]){case 2:return"MARKDOWN";case 1:return"PLAIN";case 3:return"LITERAL";default:return"UNSPECIFIED_FORMATTING_MODE"}},zk=function(a){"duplicateOfIssueId"===a&&(a="canonicalIssueId");var b=Number(a);isNaN(b)?a=new yk({type:String(a).replace(/([A-Z])/g,"_$1").toUpperCase()}):0===b?a=null:(a={customFieldId:b},a=new yk({type:"CUSTOM_FIELD",customFieldId:a.customFieldId,customFieldName:a.name}));return a},Uta=function(a){a=Ak(a);
if(Bk(a))return null;var b=a.split(":");if(2!==b.length||Bk(b[1]))return null;a="asc"===b[1].toLowerCase()?"ASCENDING":"DESCENDING";return(b=zk(b[0]))&&a?new Ck(b,a):null},eua=function(a){var b={};Dk(a,1)&&(b.showFullHistory=Jj(a,1));Dk(a,2)&&(b.useCodefont=Jj(a,2));Ek(a,5)&&(b.resultsPerPage=Gh(a,5));Dk(a,26)&&(b.showRecentEventsFirst=Jj(a,26));var c=a.getDisplayColumns();c&&(b.displayColumns={column:c.getColumnList().map(Vta)});if(c=a.getSortColumns())b.sortColumns={column:c.getColumnList().map(Wta)};
wk(a,7)&&(b.bannerMessageId=V(a,7));if(c=Z(a,Fk,3)){var d={};fj(c,1)&&(d.reportedPriority=Gk[W(c,1,0)]);fj(c,2)&&(d.assignedPriority=Gk[W(c,2,0)]);fj(c,3)&&(d.verifiedPriority=Gk[W(c,3,0)]);fj(c,4)&&(d.ccdPriority=Gk[W(c,4,0)]);fj(c,9)&&(d.collaboratorPriority=Gk[W(c,9,0)]);fj(c,5)&&(d.starredPriority=Gk[W(c,5,0)]);Dk(c,6)&&(d.excludeChangesByMe=Jj(c,6));Dk(c,7)&&(d.unsubscribeFromAll=Jj(c,7));Dk(c,8)&&(d.enableV2Prefs=Jj(c,8));b.notificationPreferences=d}if(d=Z(a,Hk,9)){c={showHotlists:Jj(d,1),showStatusIcons:Jj(d,
4),wrapComponents:Jj(d,3),wrapTitles:Jj(d,2),rtlComponentPath:Jj(d,5)};var e=sb(d,6,kb);c.fieldStatus=Object.fromEntries(e.entries());d=sb(d,7,kb);c.modeForField=Object.fromEntries(d.entries());b.listViewPreferences=c}if(c=a.getLayoutPreferences())d={},Ek(c,1)&&(d.leftSidebarWidth=Gh(c,1)),Dk(c,2)&&(d.expandIssueSlo=Jj(c,2)),Ek(c,3)&&(d.rightSidebarWidth=Gh(c,3)),b.layoutPreferences=d;if(c=a.getDateTimePreferences())d={},wk(c,1)&&(d.calendarFormat=V(c,1)),wk(c,2)&&(d.timeFormat=V(c,2)),c.hasTimeZone()&&
(d.timeZone=c.getTimeZone()),fj(c,7)&&(d.sloEtaViewAs=Xta[W(c,7,0)]),b.dateTimePreferences=d;if(c=Z(a,Ik,8))d={},fj(c,1)&&(d.density=Yta[c.getDensity()]),b.themePreferences=d;if(c=a.getHomepagePreferences())d={},c.hasResourceType()&&(d.resourceType=Zta(c.getResourceType())),c.hasResourceId()&&(d.resourceId=c.getResourceId()),b.homepagePreferences=d;if(c=Z(a,Kk,17))d={},Dk(c,1)&&(d.enableAllHotkeys=Jj(c,1,!0)),b.keyboardPreferences=d;xi(a,16)&&(b.newFeaturesAcknowledgedMillis=yi(a,16));Dk(a,18)&&(b.autoCcOnComment=
Jj(a,18));Dj(a,Lk,20)&&(d=Z(a,Lk,20),c=W(d,2,0),d=W(d,1,0),b.textDisplayPreferences={commentDisplayOverride:$ta(c),lastPublishMode:$ta(d)});Dj(a,Mk,21)&&(c=Z(a,Mk,21),d={},Dk(c,2)&&(d.announcementDismissed=Jj(c,2)),Dk(c,1)&&(d.enableBugScreensaver=Jj(c,1)),b.bugScreensaverPreferences=d);Dj(a,Nk,24)&&(c=Z(a,Nk,24),d={},Ok(c,1)&&(d.announcementDismissedMillis=gj(c,1)),b.g3nPreferences=d);if(c=Z(a,Pk,23))b.teamWarningPreferences={componentTeamWarnings:aj(c,Qk,1).map(aua)};c=Vj(a,25,Ch);c.size&&(b.dismissalTimestamps=
bua(c));c=sb(a,27,ib);c.size&&(b.collapsed=Object.fromEntries(c.entries()));Dk(a,29)&&(b.showInlineImages=a.getShowInlineImages());Dj(a,Rk,28)&&(c=Z(a,Rk,28),d={},fj(c,1)&&(d.commentFilter=cua(W(c,1,0))),b.commentFilterPreferences=d);Dj(a,Sk,30)&&(b.needsAttentionPreferences=dua(Z(a,Sk,30)));return b},Vta=function(a){var b={};a.hasType()&&(b.type=fua[a.getType()]);a.hasCustomFieldId()&&(b.customFieldId=a.getCustomFieldId());return b},Wta=function(a){var b={};if(fj(a,2)){a:{var c=W(a,2,1);switch(c){case 1:c=
"ASCENDING";break a;case 2:c="DESCENDING";break a;default:c=rh(c,"Unknown sortOrder: "+c)}}b.order=c}if(a=a.getColumn())b.column=Vta(a);return b},$ta=function(a){if(0!==a)return Tta[a]},Zta=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 rh(a,"Unknown resourceType: "+a)}},aua=function(a){var b={};a.hasComponentId()&&(b.componentId=a.getComponentId());Ok(a,2)&&(b.dismissMillis=
gj(a,2));return b},bua=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)},cua=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 rh(a,"Unknown resourceType: "+a)}},dua=function(a){var b={};b.selectedSignals=Tk(a,1).map(function(c){return gua[c]});return b},rua=function(a){var b=new Uk;null!=a.showFullHistory&&
Lj(b,1,a.showFullHistory);null!=a.useCodefont&&Lj(b,2,a.useCodefont);null!=a.resultsPerPage&&n(b,5,a.resultsPerPage);if(null!=a.displayColumns){var c=hua(a.displayColumns);Yi(b,Vk,4,c)}null!=a.sortColumns&&(c=iua(a.sortColumns),Yi(b,Wk,6,c));null!=a.bannerMessageId&&n(b,7,a.bannerMessageId);if(null!=a.notificationPreferences){c=a.notificationPreferences;var d=new Fk;d=n(d,1,Xk[c.reportedPriority]);d=n(d,2,Xk[c.assignedPriority]);d=n(d,3,Xk[c.verifiedPriority]);d=n(d,4,Xk[c.ccdPriority]);d=n(d,9,Xk[c.collaboratorPriority]);
d=n(d,5,Xk[c.starredPriority]);d=Lj(d,6,c.excludeChangesByMe);d=Lj(d,7,c.unsubscribeFromAll);c=Lj(d,8,c.unsubscribeFromAll);Yi(b,Fk,3,c)}null!=a.listViewPreferences&&(c=a.listViewPreferences,d=new Hk,d=Lj(d,1,c.showHotlists),d=Lj(d,2,c.wrapTitles),d=Lj(d,3,c.wrapComponents),d=Lj(d,4,c.showStatusIcons),d=Lj(d,5,c.rtlComponentPath),null!=c.fieldStatus&&jua(c.fieldStatus,sb(d,6,kb)),null!=c.modeForField&&jua(c.modeForField,sb(d,7,kb)),Yi(b,Hk,9,d));null!=a.layoutPreferences&&(c=a.layoutPreferences,d=
new Yk,null!=c.leftSidebarWidth&&n(d,1,c.leftSidebarWidth),null!=c.expandIssueSlo&&Lj(d,2,c.expandIssueSlo),null!=c.rightSidebarWidth&&n(d,3,c.rightSidebarWidth),Yi(b,Yk,10,d));null!=a.dateTimePreferences&&(c=a.dateTimePreferences,d=new Zk,d=n(d,1,c.calendarFormat),d=n(d,2,c.timeFormat).setTimeZone(c.timeZone),c=n(d,7,kua[c.sloEtaViewAs]),Yi(b,Zk,11,c));null!=a.themePreferences&&(c=a.themePreferences,c=(new Ik).setDensity(lua[c.density]),Yi(b,Ik,8,c));null!=a.homepagePreferences&&(c=a.homepagePreferences,
d=new $k,null!=c.resourceType&&d.setResourceType(mua(c.resourceType)),null!=c.resourceId&&d.setResourceId(c.resourceId),Yi(b,$k,13,d));null!=a.keyboardPreferences&&(c=a.keyboardPreferences,d=new Kk,c=Lj(d,1,c.enableAllHotkeys),Yi(b,Kk,17,c));null!=a.newFeaturesAcknowledgedMillis&&n(b,16,a.newFeaturesAcknowledgedMillis);null!=a.autoCcOnComment&&Lj(b,18,a.autoCcOnComment);null!=a.textDisplayPreferences&&(c=a.textDisplayPreferences,d=new Lk,c.commentDisplayOverride&&n(d,2,nua(c.commentDisplayOverride)),
c.lastPublishMode&&n(d,1,nua(c.lastPublishMode)),Yi(b,Lk,20,d));null!=a.bugScreensaverPreferences&&(c=a.bugScreensaverPreferences,d=new Mk,null!=c.enableBugScreensaver&&Lj(d,1,c.enableBugScreensaver),null!=c.announcementDismissed&&Lj(d,2,c.announcementDismissed),Yi(b,Mk,21,d));null!=a.g3nPreferences&&(c=a.g3nPreferences,d=new Nk,null!=c.announcementDismissedMillis&&n(d,1,c.announcementDismissedMillis),Yi(b,Nk,24,d));null!=a.teamWarningPreferences&&(c=oua(a.teamWarningPreferences),Yi(b,Pk,23,c));if(null!=
a.dismissalTimestamps){c=Vj(b,25,Ch);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 Ch,x=q;h=h.getTime();x.setSeconds(Math.trunc(h/1E3)).setNanos(Math.trunc(h%1E3*1E6));l.call(g,e,q)}}null!=a.collapsed&&jua(a.collapsed,sb(b,27,ib));null!=a.showRecentEventsFirst&&Lj(b,26,a.showRecentEventsFirst);null!=a.showInlineImages&&Lj(b,29,a.showInlineImages);null!=a.commentFilterPreferences&&(d=a.commentFilterPreferences,
c=new Rk,null!=d.commentFilter&&(d=pua(d.commentFilter),n(c,1,d)),Yi(b,Rk,28,c));null!=a.needsAttentionPreferences&&(c=a.needsAttentionPreferences,a=new Sk,c.selectedSignals&&(c=c.selectedSignals.map(qua),al(a,1,c)),Yi(b,Sk,30,a));return b},hua=function(a){return(new Vk).setColumnList(a.column.map(function(b){return sua(b)}))},sua=function(a){var b=new bl,c=b.setType,d=a.type;if(!cl.hasOwnProperty(d))throw Error("cc`"+d);b=c.call(b,tua[d]);null!=a.customFieldId&&b.setCustomFieldId(a.customFieldId);
return b},iua=function(a){return(new Wk).setColumnList(a.column.map(function(b){var c=(new dl).setColumn(sua(b.column));a:switch(b=b.order,b){case "ASCENDING":b=1;break a;case "DESCENDING":b=2;break a;default:b=rh(b,"Unknown sortOrder: "+b)}return n(c,2,b)}))},mua=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 rh(a,"Unknown resourceType: "+a)}},nua=function(a){switch(Tta[a]){case 2:return 2;
case 1:return 1;case 3:return 3;default:return 0}},oua=function(a){var b=new Pk;null!=a.componentTeamWarnings&&uua(b,a.componentTeamWarnings.map(function(c){var d=new Qk;c.componentId&&d.setComponentId(c.componentId);c.dismissMillis&&n(d,2,c.dismissMillis);return d}));return b},pua=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 rh(a,"Unknown commentFilterType: "+a)}},qua=function(a){return vua[a]},
jua=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)}},ml=function(){null==el&&(el=new wua(xua.buganizerSessionJspb));if(!Dj(el,fl,2)){var a=el,b=new fl;Yi(a,fl,2,b)}Dj(el,gl,9)||(a=el,b=new gl,Yi(a,gl,9,b));el.hasUser()||el.setUser(new hl);Dj(el,Uk,7)||(a=el,b=new Uk,Yi(a,Uk,7,b));b=el;a=b.hasUser()?b.getUser():new hl;a=Jj(a,4)?{anonymous:!0,email:null,userTypeLabel:"ANONYMOUS",sessionIdentifier:""}:{anonymous:!1,
email:a.getEmail(),userTypeLabel:a.getUserTypeLabel(),sessionIdentifier:a.getSessionIdentifier()};var c=Dj(b,fl,2)?b.getConfig():new fl;for(var d=new Map,e=k(sb(c,4,ib).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:Hh(c,10),isDogfooder:Jj(c,11),createRestrictedSubresourcesComponentWhitelist:il(c,13)};d=eua(Dj(b,Uk,7)?b.getUserPreferences():new Uk);g=Dj(b,gl,9)?Z(b,gl,9):new gl;e=aj(g,jl,1).map(Ota);Dj(g,kl,2)?(g=g.getAnnouncement(),g={message:g.getMessage(),messageId:g.getMessageId(),dismissible:Jj(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(),x=b.getShowNewFeaturesDialog(),A=b.getAppBaseHref(),B=Dj(b,ll,11)?Qta(b.getTracker()):null;Dj(b,yua,12)?(b=b.getPassiveLoginIframeUrl())?(b=m(b,4),b=null===b||void 0===b?null:Fg(b)):b=null:b=null;return{user:a,config:c,xsrfToken:g,cspNonce:h,frontendAccessMode:l,mustAcknowledgeTerms:q,showNewFeaturesDialog:x,userPreferences:d,preload:e,appBaseHref:A,tracker:B,passiveLoginIframeUrl:b}},
nl=function(a){switch(a){case "P0":case "P1":case "P2":case "P3":case "P4":return a;default:return null}},zua=function(a){switch(a){case "TYPE_UNSPECIFIED":case "BUG":case "FEATURE_REQUEST":case "CUSTOMER_ISSUE":case "INTERNAL_CLEANUP":case "PROCESS":case "VULNERABILITY":case "PRIVACY_ISSUE":case "PROJECT":case "FEATURE":case "MILESTONE":case "EPIC":case "STORY":case "TASK":return a;default:return null}},Aua=function(a){switch(a){case "S0":case "S1":case "S2":case "S3":case "S4":return a;default:return null}},
Bua=function(a){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}},Cua=function(a){return Zh(a.replace(/_/g," ").toLowerCase())},Dua=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},{})},pl=function(a,b,c,d){return new Eua(a,ol[a],b,c,d)},Fua=function(a){return a},
rl=function(a){return ql(a,Fua)},ql=function(a,b){var c={};return a.filter(function(d){d=String(b(d));return c[d]?!1:c[d]=!0})},Gua=function(a){return function(b){return ql(b,a)}},sl=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},Hua=function(a){a=void 0===a?[]:a;return a.filter(function(b){return"number"===typeof b}).filter(function(b){return 0!==b})},Jua=function(a){var b=Iua,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},Kua=function(a,b){if(a.length!==b.length)return!1;a=[].concat(Vc(a)).sort();b=[].concat(Vc(b)).sort();return a.every(function(c,d){return c===b[d]})},Lua=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)})}},Mua=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(Vc(c.values()))},
Nua=function(a){for(var b=[],c=0;c<a.length;c+=100){var d=a.slice(c,c+100);b.push(d)}return b},Oua=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$2286:c.$jscomp$loop$prop$customField$2286},d=a.next())if(c.$jscomp$loop$prop$customField$2286=d.value,c.$jscomp$loop$prop$customField$2286.required){d=!!c.$jscomp$loop$prop$customField$2286.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$2286.customFieldId}}(c));if(!d&&!h)return!1}return!0},Qua=function(a){return null==a?!1:Pua.has(a.name)},Rua=function(a){return"hotlist"===(null==a?void 0:a.name)},Sua=function(a){return null==a?!1:null!=a.href&&null!=a.value},Tua=function(a){return Array.isArray(a)?a.every(Sua):!1},tl=function(a,b){return function(c,d){return Uua(c,a,b,d)}},Uua=function(a,
b,c,d){d=void 0===d?"":d;return""===d?a:[].concat(Vc(a)).sort(function(e,g){var h="asc"===d?1:-1;return c(b(e),b(g))*h})},Vua=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},Wua=function(a,b){return null==a||null==b?null==a&&null==b?0:null==a?1:null==b?-1:0:a.localeCompare(b)},ul=function(a){return!(null==a||!a.commentNumber)},vl=function(a){var b;return 0<(null==(b=a.attachments)?void 0:b.length)},Xua=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(Vc(a.slice(0,d)),[c],Vc(a.slice(d+1)))},Yua=function(a){var b,c;return null==a?void 0:null==(b=a.issue)?void 0:null==(c=b.snapshot)?void 0:c[0]},Zua=function(a){var b;return ai(null==(b=wl(a))?void 0:b.assigneeUser)||void 0},$ua=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("-")},ava=function(a){if(null==a)return"";var b=a.attachments.map($ua).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("-")},bva=function(a){return a.map(function(b){return b.commentNumber}).filter(pi).reduce(function(b,c){return Math.max(b,c)},1)},cva=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||ava(d)!==ava(e)))return!1}return!0},yl=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=xl[a])?void 0:d.open)?e:!1},dva=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=xl[a];return null==b?!1:!(null==
b?0:b.open)},zl=function(a){return null==a.isArchived?!1:!a.isArchived},fva=function(){var a=Al;return tl(function(b){var c,d;return null!=(d=eva[null==(c=a(b))?void 0:c.snapshot[0].status])?d:0},Vua)},gva=function(){var a=Al;return tl(function(b){var c,d;return null==(c=a(b))?void 0:null==(d=c.snapshot[0].assigneeUser)?void 0:d.emailAddress},Wua)},hva=function(){var a=Al;return tl(function(b){var c;return null==(c=a(b))?void 0:c.snapshot[0].type},Wua)},iva=function(){var a=Al;return tl(function(b){var c,
d;return null==(c=a(b))?void 0:null==(d=c.snapshot[0].reporterUser)?void 0:d.emailAddress},Wua)},jva=function(){var a=Al;return tl(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},Vua)},Bl=function(a){var b,c;return null==a?void 0:null==(b=a.issue)?void 0:null==(c=b.snapshot)?void 0:c[0]},wl=function(a){var b;return null==a?void 0:null==(b=a.snapshot)?void 0:b[0]},kva=function(a,b){a=wl(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(Vc(b.map(function(c){return c.userPerformingActionUser})));return ql(b.filter(pi),ei)},lva=function(a,b){b=kva(a,b);var c,d,e;a=null!=(e=null==(c=wl(a))?void 0:null==(d=c.ccUsers)?void 0:d.length)?e:0;return b.length+a},Cl=function(a){var b;return"piper-bugupdater@prod.google.com"===(null==a?void 0:null==(b=a.userPerformingActionUser)?void 0:b.emailAddress)},mva=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},nva=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"}},ova=function(a){var b=a.newEditors,c=a.newImplicitUsers,d=a.isExternalSession,e=a.issueId,g=a.actionIssueId;a=mva(a.userPrincipals);d="Allow "+
(1===a?"members of the group to ":nva(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}},pva=function(){},qva=function(a){return 0<Object.values(a).length},rva=function(a,b){a.next(Object.freeze(Object.assign({},a.getValue(),b)))},sva=function(a,b){var c=a.getValue();c=Object.assign({},c);b=(delete c[b],c);
a.next(Object.freeze(b))},tva=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))},uva=function(a){var b=Object.assign({},a);a=a.ids;b=(delete b.ids,b);a&&(b.ids=[].concat(Vc(a)).sort());return JSON.stringify(b)},vva=function(a,b,c){c=a.get(b)||c;a.has(b)||a.set(b,c);return c},wva=function(a){a=void 0===a?{}:a;return pqa(a)},xva=function(a){var b=new E.Subject,
c=a.subscribe(b);a=(0,E.firstValueFrom)(b);a.finally(function(){c.unsubscribe()});return a},yva=function(a){return null==a?new Promise(function(){}):Promise.resolve(a)},zva=function(){return new Promise(function(){})},Bva=function(a){return!!a.match(Ava)&&!a.endsWith("/history")},Dl=function(a){return"hyperlink"===a.type},Cva=function(a){return Dl(a)&&Bva(a.href)},Eva=function(a){return Dl(a)&&!!a.href.match(Dva)},Fva=function(a){if(a.endsWith("/history"))return null;var b,c;return(a=null!=(c=null==
(b=a.match(Ava))?void 0:b[2])?c:null)?"https://screenshot.googleplex.com/"+a+".png":null},Gva=function(a){return"issueReference"===a.type},Hva=function(a){return Dl(a)&&!Cva(a)&&!(Dl(a)&&a.href.startsWith("mailto:"))},Iva=function(a){return[].concat(Vc(a.values())).flatMap(function(b){return b.sourceIssueIds})},Jva=function(a,b){b=void 0===b?[]:b;return"http://cl/search/cl:("+[].concat(Vc(a),Vc(b.map(function(c){return String(c.changelistNumber)}))).join("|")+")"},Kva=function(a,b){return"background: conic-gradient(var(--"+
(void 0===b?"good-gfx":b)+") "+100*a+"%, var(--divider) 0 100%);"},El=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:""},Lva=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},
Mva=function(a){return{emailAddress:El(a)+"@google.com"}},Nva=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)},Ova=function(a){var b,c;return null!=(c=null==(b=a.unlinkifiedComment)?void 0:b.split("\n")[2])?c:""},Pva=function(a,b){var c;return null==(c=[].concat(Vc(a.preDiffs),Vc(a.postDiffs)).find(function(d){return d.name===b}))?void 0:c.oldValue},Qva=function(a,b){var c;return null==(c=[].concat(Vc(a.preDiffs),
Vc(a.postDiffs)).find(function(d){return d.name===b}))?void 0:c.newValue},Rva=function(a){return"http://b/issues/"+a},Fl=function(a){if(a.match(/\bhotlists?\b/))return Sva(a)},Gl=function(a){return"hotlist-"+a},Hl=function(a){return"savedsearch-"+a},Tva=function(a){if(a.match(/\bsavedsearch(?:es|)\b/))return Sva(a)},Uva=function(a){var b=/\bb\/\d+\b/;if(a.match(/\bissues?\b/)||a.match(b))return Sva(a)},Il=function(a){if(null!=a){if(Vva.includes(a))return a;if(Fl(a))return"hotlist";if(Tva(a))return"savedsearch";
if(Uva(a))return"issue";a=a.trim();if(3>a.length?0:a.match(/^\d+$/))return"plain-id"}},Sva=function(a){if(null!=a)return a.split(/[^\d]+/).filter(Boolean).pop()},Wva=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(" > ")},Jl=function(){var a;return null==(a=document.location.search.match(/\bldap=(.*)\b/))?void 0:a[1]},Ll=function(){var a;
return null!=(a=Jl())?a:Kl},Ml=function(a){return(null!=a?a:"").split("@")[0]},Xva=function(a,b){b=void 0===b?Kl:b;var c,d=null==a?void 0:null==(c=a.snapshot)?void 0:c[0];c=Ml(ei(null==d?void 0:d.assigneeUser));c=b&&b===c;var e=Ml(ei(null==d?void 0:d.reporterUser));e=b&&b===e;var g;d=(null!=(g=null==d?void 0:d.ccUsers)?g:[]).map(ei).map(Ml);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,x;a=(null!=(x=
null==a?void 0:null==(q=a.userData)?void 0:q.lastViewedTimeMicros)?x:0)/1E3;q=Date.now()-a;q=0<q&&864E5>q;x=[];c&&x.push("Assigned");e&&x.push("Reported");b&&x.push("CC'd");g&&x.push("Upvoted");h&&x.push("Starred");q&&x.push("Viewed <24h");return x.join(", ")},Yva=function(a){if(a)return{status:ej[a.getStatus()],issueIds:a.getIssueIdsList()}},Nl=function(a){return!a||"0"===a},Zva=function(a){return hta(Z(a,Uj,1))},$va=function(a){return(aj(a,Uj,1)||[]).map(hta)},Ol=function(){return new awa},bwa=
function(a){var b={};if(null==a)return b;a=k(aj(a,Pl,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},cwa=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})},dwa=function(a){if(a&1){var b=v();G(0,"div",
2)(1,"button",3);M("click",function(){w(b);var c=O();return y(c.action())});R(2);H()()}a&2&&(a=O(),z(2),Ef(a.data.action))},ewa=function(){},fwa=function(a){a&1&&(G(0,"span",6),R(1),H());a&2&&(a=O(),z(1),Ef(a.data.message))},gwa=function(a){a&1&&I(0,"span",7);a&2&&(a=O(),F("innerHtml",a.data.htmlMessage,Ld))},iwa=function(a){if(a&1){var b=v();G(0,"button",8);M("click",function(){w(b);var c=O();return y(hwa(c.snackBarRef))});R(1);H()}a&2&&(a=O(),z(1),Df(" ",a.data.actionLabel," "))},jwa=function(a){if(a&
1){var b=v();G(0,"button",8);M("click",function(){w(b);var c=O();return y(c.snackBarRef.dismiss())});R(1);H()}a&2&&(a=O(),z(1),Df(" ",a.data.dismissLabel," "))},kwa=function(a){if(a&1){var b=v();G(0,"button",9);M("click",function(){w(b);var c=O();return y(c.snackBarRef.dismiss())});I(1,"mat-icon",10);H()}},lwa=function(a){var b;return void 0!==(null==(b=a.error)?void 0:b.message)},Ql=function(a){return!!a&&va(a)&&(!!a.data&&void 0!==a.data.message||lwa(a))},Rl=function(a){return a.data&&void 0!==
a.data.message&&a.data&&a.data.message?a.data.message:lwa(a)&&a.error&&a.error.message?a.error.message:""},Sl=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,"+")},Tl=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("sc`"+a);}},Vl=function(a,b){return Ul("issues/:issueId",{id:a,params:b})},Wl=function(a,b){return Ul("issues/:issueId/dependencies",{id:a,params:b})},Yl=function(a){return Xl("issues",{params:a})},mwa=function(a){return a&&a.length?a.map(function(b){return b.toApiUrlParam()}).join(","):
null},nwa=function(a){return a&&a.length?a.map(function(b){return b.toApiUrlParam()}).join(","):null},owa=function(a,b){return Ul("components/:componentId/manage",{id:a,tab:b})},pwa=function(a){return a?Xl("settings/:settingsTab?",{id:a,token:":settingsTab?"}):Xl("settings")},Ul=function(a,b){b=void 0===b?{}:b;return null==b.id?"":Xl(a,b)},Xl=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=qwa(g,d));e&&(g=
g+"#"+e);return g},rwa=function(a,b){b=(void 0===b?{}:b).comment;return{path:"/issues/"+a,fragment:b?"comment"+b:void 0}},Zl=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},swa=function(a){var b={};a=(b.component=a?String(a):void 0,b);a=void 0===a?{}:a;return{path:"/issues/new",queryParams:a}},twa=function(a){return{path:"/components/"+a}},uwa=
function(a){var b={};a&&(b.componentId=a);return{path:"/components",queryParams:b}},vwa=function(a){return{path:"/slos/"+a+"/edit"}},wwa=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}},$l=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],!xwa(a[d],b[d]))return!1;return!0},xwa=function(a,b){if(Array.isArray(a)&&Array.isArray(b)){if(a.length!==b.length)return!1;a=[].concat(Vc(a)).sort();var c=[].concat(Vc(b)).sort();return a.every(function(d,e){return c[e]===d})}return a===b},am=function(a){return(0,E.isObservable)(a)?a:Sd(a)?(0,E.from)(Promise.resolve(a)):(0,E.of)(a)},Awa=function(a,b,c){return ywa[c.paths](a.root,b.root,c.matrixParams)&&zwa[c.queryParams](a.queryParams,
b.queryParams)&&!("exact"===c.fragment&&a.fragment!==b.fragment)},Bwa=function(a,b){return $l(a,b)},Dwa=function(a,b,c){if(!bm(a.segments,b.segments)||!Cwa(a.segments,b.segments,c)||a.numberOfChildren!==b.numberOfChildren)return!1;for(var d in b.children)if(!a.children[d]||!Dwa(a.children[d],b.children[d],c))return!1;return!0},Ewa=function(a,b){return Object.keys(b).length<=Object.keys(a).length&&Object.keys(b).every(function(c){return xwa(a[c],b[c])})},Gwa=function(a,b,c){return Fwa(a,b,b.segments,
c)},Fwa=function(a,b,c,d){if(a.segments.length>c.length)return a=a.segments.slice(0,c.length),bm(a,c)&&!b.hasChildren()&&Cwa(a,c,d)?!0:!1;if(a.segments.length===c.length){if(!bm(a.segments,c)||!Cwa(a.segments,c,d))return!1;for(var e in b.children)if(!a.children[e]||!Gwa(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 bm(a.segments,e)&&Cwa(a.segments,e,d)&&a.children.primary?Fwa(a.children.primary,b,c,d):!1},Cwa=function(a,b,c){return b.every(function(d,
e){return zwa[c](a[e].parameters,d.parameters)})},Hwa=function(a,b){return bm(a,b)&&a.every(function(c,d){return $l(c.parameters,b[d].parameters)})},bm=function(a,b){return a.length!==b.length?!1:a.every(function(c,d){return c.path===b[d].path})},Iwa=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},Lwa=function(a){return a.segments.map(function(b){return Jwa(b.path)+Kwa(b.parameters)}).join("/")},cm=function(a,b){if(!a.hasChildren())return Lwa(a);if(b){b=a.children.primary?cm(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+":"+cm(e,!1))});return 0<c.length?b+"("+c.join("//")+")":b}b=Iwa(a,function(d,e){return"primary"===e?[cm(a.children.primary,!1)]:[e+":"+
cm(d,!1)]});return 1===Object.keys(a.children).length&&null!=a.children.primary?Lwa(a)+"/"+b[0]:Lwa(a)+"/("+b.join("//")+")"},Mwa=function(a){return encodeURIComponent(a).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")},Nwa=function(a){return Mwa(a).replace(/%3B/gi,";")},Jwa=function(a){return Mwa(a).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")},Kwa=function(a){return Object.keys(a).map(function(b){return";"+Jwa(b)+"="+Jwa(a[b])}).join("")},Owa=
function(a){var b=Object.keys(a).map(function(c){var d=a[c];return Array.isArray(d)?d.map(function(e){return Nwa(c)+"="+Nwa(e)}).join("&"):Nwa(c)+"="+Nwa(d)}).filter(function(c){return!!c});return b.length?"?"+b.join("&"):""},Qwa=function(a){return(a=a.match(Pwa))?a[0]:""},Rwa=function(a){var b={};return 0<a.segments.length?new dm([],(b.primary=a,b)):a},Swa=function(a){for(var b={},c=k(Object.keys(a.children)),d=c.next();!d.done;d=c.next()){d=d.value;var e=Swa(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 dm(a.segments,b);1===a.numberOfChildren&&a.children.primary&&(b=a.children.primary,a=new dm(a.segments.concat(b.segments),b.children));return a},fm=function(a){return a instanceof em},Twa=function(a){function b(g){for(var h={},l=k(g.children),q=l.next();!q.done;q=l.next()){q=q.value;
var x=b(q);h[q.outlet]=x}h=new dm(g.url,h);g===a&&(c=h);return h}var c,d=b(a.root);d=Rwa(d);var e;return null!=(e=c)?e:d},Zwa=function(a,b,c,d){for(var e=a;e.parent;)e=e.parent;if(0===b.length)return Uwa(e,e,e,c,d);b=Vwa(b);if(b.isAbsolute&&1===b.commands.length&&"/"==b.commands[0])return Uwa(e,e,new dm([],{}),c,d);var g=e;if(b.isAbsolute)a=new Wwa(g,!0,0);else if(a)if(null===a.parent)a=new Wwa(a,!0,0);else{g=a;a=a.segments.length-1+(Xwa(b.commands[0])?0:1);for(var h=b.numberOfDoubleDots;h>a;){h-=
a;g=g.parent;if(!g)throw new uc(4005,!1);a=g.segments.length}a=new Wwa(g,!1,a-h)}else a=new Wwa(g,!1,NaN);b=a.processChildren?gm(a.segmentGroup,a.index,b.commands):Ywa(a.segmentGroup,a.index,b.commands);return Uwa(e,a.segmentGroup,b,c,d)},Xwa=function(a){return"object"===typeof a&&null!=a&&!a.outlets&&!a.segmentPath},hm=function(a){return"object"===typeof a&&null!=a&&a.outlets},Uwa=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:$wa(a,b,c);a=Rwa(Swa(a));return new em(a,g,e)},$wa=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:$wa(g,b,c)});return new dm(a.segments,d)},Vwa=function(a){if("string"===typeof a[0]&&1===a.length&&"/"===a[0])return new axa(!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(Vc(d),[{outlets:h}])}if(e.segmentPath)return[].concat(Vc(d),[e.segmentPath])}return"string"!==typeof e?[].concat(Vc(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(Vc(d),[e])},[]);return new axa(c,b,a)},bxa=function(a){if(hm(a[0]))return a[0].outlets;var b={};return b.primary=a,b},Ywa=function(a,b,c){a||(a=new dm([],{}));
if(0===a.segments.length&&a.hasChildren())return gm(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(hm(q))break;q=""+q;var x=e<c.length-1?c[e+1]:null;if(0<g&&void 0===q)break;if(q&&x&&"object"===typeof x&&void 0===x.outlets){if(q!=l.path||!$l(x,l.parameters)){d=h;break a}e+=2}else{x={};if(q!=l.path||!$l(x,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 dm(a.segments.slice(0,d.pathIndex),{}),b.children.primary=new dm(a.segments.slice(d.pathIndex),a.children),gm(b,0,e)):d.match&&0===e.length?new dm(a.segments,{}):d.match&&!a.hasChildren()?cxa(a,b,c):d.match?gm(a,0,e):cxa(a,b,c)},gm=function(a,b,c){if(0===c.length)return new dm(a.segments,{});var d=bxa(c),e={};if(!d.primary&&a.children.primary&&1===a.numberOfChildren&&0===a.children.primary.segments.length)return c=gm(a.children.primary,b,c),new dm(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]=Ywa(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 dm(a.segments,e)},cxa=function(a,b,c){for(var d=a.segments.slice(0,b),e=0;e<c.length;){var g=c[e];if(hm(g))return a=dxa(g.outlets),new dm(d,a);if(0===e&&Xwa(c[0]))d.push(new im(a.segments[b].path,exa(c[0]))),
e++;else{g=hm(g)?g.outlets.primary:""+g;var h=e<c.length-1?c[e+1]:null;g&&h&&Xwa(h)?(d.push(new im(g,exa(h))),e+=2):(d.push(new im(g,{})),e++)}}return new dm(d,{})},dxa=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]=cxa(new dm([],{}),0,d))});return b},exa=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},fxa=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=fxa(a,c.value))return c;return null},gxa=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=gxa(a,d.value),d.length)return d.unshift(b),d;return[]},jm=function(a){var b={};a&&a.children.forEach(function(c){return b[c.value.outlet]=c});return b},jxa=function(){var a=new hxa("",new km(new lm([],{},{},"",{},"primary",null,null,{}),[])),b=new mm(new E.BehaviorSubject([new im("",
{})]),new E.BehaviorSubject({}),new E.BehaviorSubject({}),new E.BehaviorSubject(""),new E.BehaviorSubject({}),"primary",null,a.root);b.snapshot=a.root;return new ixa(new km(b,[]),a)},lxa=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 kxa(a.slice(c))},kxa=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:{}})},mxa=function(a,b){b.value._routerState=a;b.children.forEach(function(c){return mxa(a,c)})},nxa=function(a){var b=0<a.children.length?" { "+a.children.map(nxa).join(", ")+" } ":"";return""+a.value+b},oxa=function(a){if(a.snapshot){var b=a.snapshot,c=a._futureSnapshot;a.snapshot=c;$l(b.queryParams,c.queryParams)||
a.queryParamsSubject.next(c.queryParams);b.fragment!==c.fragment&&a.fragmentSubject.next(c.fragment);$l(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(!$l(d[g],e[g])){d=!1;break a}d=!0}}d||a.urlSubject.next(c.url);$l(b.data,c.data)||a.dataSubject.next(c.data)}else a.snapshot=a._futureSnapshot,a.dataSubject.next(a._futureSnapshot.data)},pxa=function(a,b){var c=$l(a.params,b.params)&&Hwa(a.url,b.url),d=!a.parent!==
!b.parent;return c&&!d&&(!a.parent||pxa(a.parent,b.parent))},sxa=function(a,b,c){if(c&&a.shouldReuseRoute(b.value,c.value.snapshot)){var d=c.value;d._futureSnapshot=b.value;b=qxa(a,b,c);return new km(d,b)}d=rxa(b.value);b=b.children.map(function(e){return sxa(a,e)});return new km(d,b)},qxa=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 sxa(a,d,g);return sxa(a,d)})},rxa=function(a){return new mm(new E.BehaviorSubject(a.url),
new E.BehaviorSubject(a.params),new E.BehaviorSubject(a.queryParams),new E.BehaviorSubject(a.fragment),new E.BehaviorSubject(a.data),a.outlet,a.component,a)},uxa=function(a){var b=fm(a)?{redirectTo:a,navigationBehaviorOptions:void 0}:a,c=b.redirectTo;b=b.navigationBehaviorOptions;a=txa(0,a);a.url=c;a.navigationBehaviorOptions=b;return a},txa=function(a,b){var c=Error("uc`");c.ngNavigationCancelingError=!0;c.cancellationCode=a;b&&(c.url=b);return c},vxa=function(a){return a&&a.ngNavigationCancelingError},
wxa=function(a,b){a.providers&&!a._injector&&(a._injector=qha(a.providers,b,"Route: "+a.path));var c;return null!=(c=a._injector)?c:b},xxa=function(a){var b=a.children&&a.children.map(xxa);a=b?Object.assign({},a,{children:b}):Object.assign({},a);a.component||a.loadComponent||!b&&!a.loadChildren||!a.outlet||"primary"===a.outlet||(a.component=nm);return a},om=function(a){return a.outlet||"primary"},yxa=function(a,b){var c=a.filter(function(d){return om(d)===b});c.push.apply(c,Vc(a.filter(function(d){return om(d)!==
b})));return c},pm=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},qm=function(){return Se(function(a){return(0,E.combineLatest)(a.map(function(b){return b.pipe(Ge(),Re(zxa))})).pipe(D(function(b){b=k(b);for(var c=b.next();!c.done;c=b.next())if(c=c.value,
!0!==c){if(c===zxa)return zxa;if(!1===c||c instanceof em)return c}return!0}),ye(function(b){return b!==zxa}),Ge())})},rm=function(a,b){var c=Symbol(),d=b.get(a,c);return d===c?"function"!==typeof a||null!==Zda(a)?b.get(a):a:d},sm=function(a,b,c,d,e){e=void 0===e?{canDeactivateChecks:[],canActivateChecks:[]}:e;var g=jm(b);a.children.forEach(function(h){var l=g[h.value.outlet],q=d.concat([h.value]),x=e;x=void 0===x?{canDeactivateChecks:[],canActivateChecks:[]}:x;var A=h.value,B=l?l.value:null,K=c?c.getContext(h.value.outlet):
null;if(B&&A.routeConfig===B.routeConfig){var N=Axa(B,A,A.routeConfig.runGuardsAndResolvers);N?x.canActivateChecks.push(new Bxa(q)):(A.data=B.data,A._resolvedData=B._resolvedData);A.component?sm(h,l,K?K.children:null,q,x):sm(h,l,c,q,x);N&&K&&K.outlet&&K.outlet.isActivated&&x.canDeactivateChecks.push(new Cxa(K.outlet.component,B))}else B&&tm(l,K,x),x.canActivateChecks.push(new Bxa(q)),A.component?sm(h,null,K?K.children:null,q,x):sm(h,null,c,q,x);delete g[h.value.outlet]});Object.entries(g).forEach(function(h){var l=
k(h);h=l.next().value;l=l.next().value;return tm(l,c.getContext(h),e)});return e},Axa=function(a,b,c){if("function"===typeof c)return c(a,b);switch(c){case "pathParamsChange":return!bm(a.url,b.url);case "pathParamsOrQueryParamsChange":return!bm(a.url,b.url)||!$l(a.queryParams,b.queryParams);case "always":return!0;case "paramsOrQueryParamsChange":return!pxa(a,b)||!$l(a.queryParams,b.queryParams);default:return!pxa(a,b)}},tm=function(a,b,c){var d=jm(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?tm(h,b.children.getContext(g),c):tm(h,null,c):tm(h,b,c)});e.component?b&&b.outlet&&b.outlet.isActivated?c.canDeactivateChecks.push(new Cxa(b.outlet.component,e)):c.canDeactivateChecks.push(new Cxa(null,e)):c.canDeactivateChecks.push(new Cxa(null,e))},um=function(a){return"function"===typeof a},Dxa=function(a){return a instanceof E.EmptyError||"EmptyError"===(null==a?void 0:a.name)},Gxa=function(a,b){return se(function(c){var d=c.targetSnapshot,
e=c.currentSnapshot,g=c.guards,h=g.canActivateChecks;g=g.canDeactivateChecks;return 0===g.length&&0===h.length?(0,E.of)(Object.assign({},c,{guardsResult:!0})):Exa(g,d,e,a).pipe(se(function(l){return l&&"boolean"===typeof l?Fxa(d,h,a,b):(0,E.of)(l)}),D(function(l){return Object.assign({},c,{guardsResult:l})}))})},Exa=function(a,b,c,d){return(0,E.from)(a).pipe(se(function(e){return Hxa(e.component,e.route,c,b,d)}),Je(function(e){return!0!==e},!0))},Fxa=function(a,b,c,d){return(0,E.from)(b).pipe(se(function(e){var g=
E.concat;var h=e.route.parent;null!==h&&d&&d(new Ixa(h));h=(0,E.of)(!0);var l=e.route;null!==l&&d&&d(new Jxa(l));l=(0,E.of)(!0);return g.call(E,h,l,Kxa(a,e.path,c),Lxa(a,e.route,c))},1),Je(function(e){return!0!==e},!0))},Lxa=function(a,b,c){var d=b.routeConfig?b.routeConfig.canActivate:null;if(!d||0===d.length)return(0,E.of)(!0);d=d.map(function(e){return(0,E.defer)(function(){var g,h=null!=(g=pm(b))?g:c,l=rm(e,h);g=l&&um(l.canActivate)?l.canActivate(b,a):h.runInContext(function(){return l(b,a)});
return am(g).pipe(Je())})});return(0,E.of)(d).pipe(qm())},Kxa=function(a,b,c){var d=b[b.length-1];b=b.slice(0,b.length-1).reverse().map(function(e){var g=e.routeConfig?e.routeConfig.canActivateChild:null;return g&&0!==g.length?{node:e,guards:g}:null}).filter(function(e){return null!==e}).map(function(e){return(0,E.defer)(function(){var g=e.guards.map(function(h){var l,q=null!=(l=pm(e.node))?l:c,x=rm(h,q);h=x&&um(x.canActivateChild)?x.canActivateChild(d,a):q.runInContext(function(){return x(d,a)});
return am(h).pipe(Je())});return(0,E.of)(g).pipe(qm())})});return(0,E.of)(b).pipe(qm())},Hxa=function(a,b,c,d,e){var g=b&&b.routeConfig?b.routeConfig.canDeactivate:null;if(!g||0===g.length)return(0,E.of)(!0);g=g.map(function(h){var l,q=null!=(l=pm(b))?l:e,x=rm(h,q);h=x&&um(x.canDeactivate)?x.canDeactivate(a,b,c,d):q.runInContext(function(){return x(a,b,c,d)});return am(h).pipe(Je())});return(0,E.of)(g).pipe(qm())},Nxa=function(a,b,c){var d=b.canLoad;if(void 0===d||0===d.length)return(0,E.of)(!0);
d=d.map(function(e){var g=rm(e,a);e=g&&um(g.canLoad)?g.canLoad(b,c):a.runInContext(function(){return g(b,c)});return am(e)});return(0,E.of)(d).pipe(qm(),Mxa())},Mxa=function(){return(0,E.pipe)(Ue(function(a){if(fm(a))throw uxa(a);}),D(function(a){return!0===a}))},Oxa=function(a,b,c){var d=b.canMatch;if(!d||0===d.length)return(0,E.of)(!0);d=d.map(function(e){var g=rm(e,a);e=g&&um(g.canMatch)?g.canMatch(b,c):a.runInContext(function(){return g(b,c)});return am(e)});return(0,E.of)(d).pipe(qm(),Mxa())},
wm=function(a){return(0,E.throwError)(new Pxa(a))},Sxa=function(a,b,c,d){var e=Qxa(a,b,c);if(!e.matched)return(0,E.of)(e);d=wxa(b,d);return Oxa(d,b,c).pipe(D(function(g){return!0===g?e:Object.assign({},Rxa)}))},Qxa=function(a,b,c){if(""===b.path)return"full"===b.pathMatch&&(a.hasChildren()||0<c.length)?Object.assign({},Rxa):{matched:!0,consumedSegments:[],remainingSegments:c,parameters:{},positionalParamSegments:{}};a=(b.matcher||wwa)(c,a,b);if(!a)return Object.assign({},Rxa);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:{}}},Wxa=function(a,b,c,d){if(0<c.length&&Txa(a,c,d)){var e=dm;a=new dm(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"!==om(d)){var g=new dm([],{});c[om(d)]=g}c={segmentGroup:new e(b,c),slicedSegments:[]}}else if(0===c.length&&Uxa(a,c,d)){b=dm;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,Vxa(a,c,l)&&!g[om(l)]){var q=new dm([],{});h[om(l)]=q}a=Object.assign({},g,h);c={segmentGroup:new b(e,a),slicedSegments:c}}else c={segmentGroup:new dm(a.segments,a.children),slicedSegments:c};return c},Txa=function(a,b,c){return c.some(function(d){return Vxa(a,
b,d)&&"primary"!==om(d)})},Uxa=function(a,b,c){return c.some(function(d){return Vxa(a,b,d)})},Vxa=function(a,b,c){return(a.hasChildren()||0<b.length)&&"full"===c.pathMatch?!1:""===c.path},Xxa=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)})},Yxa=function(a){return(a=a.value.routeConfig)&&""===a.path},Zxa=function(a){var b=[],c=new Set,d={};a=k(a);for(var e=a.next();!e.done;d={$jscomp$loop$prop$node$2291:d.$jscomp$loop$prop$node$2291},
e=a.next())d.$jscomp$loop$prop$node$2291=e.value,Yxa(d.$jscomp$loop$prop$node$2291)?(e=b.find(function(g){return function(h){return g.$jscomp$loop$prop$node$2291.value.routeConfig===h.value.routeConfig}}(d)),void 0!==e?(e.children.push.apply(e.children,Vc(d.$jscomp$loop$prop$node$2291.children)),c.add(e)):b.push(d.$jscomp$loop$prop$node$2291)):b.push(d.$jscomp$loop$prop$node$2291);d=k(c);for(a=d.next();!a.done;a=d.next())a=a.value,e=Zxa(a.children),b.push(new km(a.value,e));return b.filter(function(g){return!c.has(g)})},
aya=function(a,b,c,d,e,g){return se(function(h){return(new $xa(a,b,c,d,h.extractedUrl,void 0===g?"emptyOnly":g,e)).recognize().pipe(D(function(l){return Object.assign({},h,{targetSnapshot:l.state,urlAfterRedirects:l.tree})}))})},cya=function(a,b){return se(function(c){var d=c.targetSnapshot,e=c.guards.canActivateChecks;if(!e.length)return(0,E.of)(c);var g=0;return(0,E.from)(e).pipe(se(function(h){return bya(h.route,d,a,b)},1),Ue(function(){return g++}),eja(),se(function(){return g===e.length?(0,E.of)(c):
E.EMPTY}))})},bya=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[xm]=e.title);return dya(g,a,b,d).pipe(D(function(h){a._resolvedData=h;a.data=lxa(a,c).resolve;!e||"string"!==typeof e.title&&null!==e.title||(a.data[xm]=e.title);return null}))},dya=function(a,b,c,d){var e=eya(a);if(0===e.length)return(0,E.of)({});var g={};return(0,E.from)(e).pipe(se(function(h){return fya(a[h],b,c,d).pipe(Je(),Ue(function(l){g[h]=l}))}),
eja(),Ke(g),Ce(function(h){return Dxa(h)?E.EMPTY:(0,E.throwError)(h)}))},eya=function(a){return[].concat(Vc(Object.keys(a)),Vc(Object.getOwnPropertySymbols(a)))},fya=function(a,b,c,d){var e,g=null!=(e=pm(b))?e:d,h=rm(a,g);a=h.resolve?h.resolve(b,c):g.runInContext(function(){return h(b,c)});return am(a)},gya=function(a){return Se(function(b){var c=a(b);return c?(0,E.from)(c).pipe(D(function(){return b})):(0,E.of)(b)})},hya=function(a){return a&&"object"===typeof a&&"default"in a?a["default"]:a},iya=
function(a,b){a.events.pipe(ye(function(c){return c instanceof ym||c instanceof zm||c instanceof Am||c instanceof Bm}),D(function(c){return c instanceof ym||c instanceof Bm?0:c instanceof zm&&(0===c.code||1===c.code)?2:1}),ye(function(c){return 2!==c}),Ge()).subscribe(function(){b()})},jya=function(a){throw a;},kya=function(a,b){return b.parse("/")},lya=function(a,b){return{"\u0275kind":a,"\u0275providers":b}},mya=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},oya=function(a){if(!a.getType())throw Error("zc");return{type:nya[a.getType()],customFieldId:ji(a.getCustomFieldId()),customFieldName:mi(a.getCustomFieldName())}},qya=function(a){var b=new Cm;void 0!==a.customFieldId&&b.setCustomFieldId(String(a.customFieldId));void 0!==a.customFieldName&&n(b,3,a.customFieldName);void 0!==a.type&&b.setType(pya[a.type]);return b},rya=function(a){var b=a.getField();if(!b)throw Error("Ac");if(!a.getDirection())throw Error("Bc");
return{field:oya(b),direction:1===a.getDirection()?"ASCENDING":"DESCENDING"}},sya=function(a){var b=new Dm;b.setField(qya(a.field));b.setDirection("ASCENDING"===a.direction?1:2);return b},tya=function(a){var b=new Em;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(qya));var d;b.setSortOrderList((null!=
(d=a.sortOrder)?d:[]).map(sya));void 0!==a.etag&&b.setEtag(a.etag);var e;b.setAdminUsersList((null!=(e=a.adminUsers)?e:[]).map(hi));return b},Fm=function(a){if(!a.getHotlistId())throw Error("Cc");if(!a.getName())throw Error("Dc");if(!a.getCreatedTimeMicros())throw Error("Ec");if(!a.getModifiedTimeMicros())throw Error("Fc");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(oya),sortOrder:(null!=(e=a.getSortOrderList())?e:[]).map(rya),etag:a.getEtag(),adminUsers:fi(a.getAdminUsersList())}},uya=function(a){var b;return(null!=(b=a.getHotlistsList())?b:[]).map(Fm)},vya=function(a){var b;return(null!=(b=aj(a,Em,1))?b:[]).map(Fm)},xya=function(a){a=a.getFavorite();return{user:di(a.getUser()),resourceType:wya[a.getResourceType()],resourceId:Number(a.getResourceId()),name:a.getName()}},
yya=function(a){var b,c;return{searchId:Number(yi(a,1)),name:a.getName(),description:a.getDescription(),query:a.getQuery(),sortOrder:(null!=(b=a.getSortOrderList())?b:[]).map(rya),displayColumn:(null!=(c=a.getDisplayColumnList())?c:[]).map(oya),adminUsers:fi(a.getAdminUsersList())}},zya=function(a){var b;return(null!=(b=aj(a,Gm,1))?b:[]).map(yya)},Aya=function(a){return{id:a.getId(),name:a.getName(),description:a.getDescription(),adminUsers:fi(a.getAdminUsersList()),starred:a.getStarred(),resourceType:a.getResourceType()}},
Bya=function(a){var b;return{id:a.getId(),name:a.getName(),description:a.getDescription(),adminUsers:fi(a.getAdminUsersList()),starred:a.getStarred(),sublinks:(null!=(b=aj(a,Hm,6))?b:[]).map(Aya)}},Cya=function(a){var b,c,d,e;return{hotlists:(null!=(b=a.getHotlistsList())?b:[]).map(Aya),bookmarkGroups:(null!=(c=a.getBookmarkGroupsList())?c:[]).map(Bya),archivedHotlists:(null!=(d=aj(a,Hm,3))?d:[]).map(Aya),archivedBookmarkGroups:(null!=(e=aj(a,Im,4))?e:[]).map(Bya)}},Eya=function(){var a=window.defrostedResourcesJspb;
if(a&&Array.isArray(a)&&(a=aj(new Dya(a),Jm,1))&&1===a.length)return nk(a[0])},Lm=function(a){return function(){var b=Km.getItem(a);return null==b?!1:!!JSON.parse(b)}},Fya=function(a){return function(b){!0===b?Km.setItem(a,"1"):Km.removeItem(a)}},Mm=function(){return Gya.performance&&Gya.PerformanceObserver&&"function"===typeof window.performance.getEntriesByType&&"function"===typeof window.performance.mark&&"function"===typeof window.performance.measure},Hya=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}}},Jya=function(a){a=a.sort(function(d,e){return d.startTime-e.startTime});var b=a.find(Iya);if(null!=b){var c=b.name.split(" -> ")[1];return a.find(function(d){return d.name===c})}},Nya=function(){var a=window.performance.getEntries(),b=Jya(a);if(null==b)return[];var c=b.startTime;
return a.filter(Kya).filter(Lya).filter(Mya).filter(function(d){return d.startTime<=c})},Iya=function(a){var b=a.name;return"measure"===a.entryType&&0===b.indexOf("browserStart")},Kya=function(a){return 0!==a.name.indexOf("Zone")},Mya=function(a){return"resource"===a.entryType},Oya=function(a){return"xmlhttprequest"===a.initiatorType},Lya=function(a){return null==a.name.match(/\.html$/)},Pya=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}},Qya=function(a){if(null!=a&&!(3E4<=a.duration))return{hitType:"event",eventCategory:"cf",eventAction:a.from,eventLabel:a.to,eventValue:a.duration}},Sya=function(a){a=a.getEntries().map(Hya).map(Qya);a=k(a);for(var b=a.next();!b.done;b=a.next())Nm(b.value);setTimeout(Rya,100)},Rya=function(){if(!Tya){var a=Nya(),b=a.filter(function(c){return!Oya(c)}).reduce(Pya,Uya());Om("r-until-cf","asset","count",b.count);Om("r-until-cf","asset",
"transferSize",b.transferSize);Om("r-until-cf","asset","duration",b.duration);Om("r-until-cf","asset","cacheHitRate",b.cacheHitRate);a=a.filter(Oya).reduce(Pya,Uya());Om("r-until-cf","xhr","count",a.count);Om("r-until-cf","xhr","transferSize",a.transferSize);Om("r-until-cf","xhr","duration",a.duration);Tya=!0}},Om=function(a,b,c,d){Nm(Object.assign({},{hitType:"event",eventCategory:a},void 0!==b?{eventAction:b}:{},void 0!==c?{eventLabel:c}:{},void 0!==d?{eventValue:d}:{}))},Nm=function(a){null!=a&&
(Pm("location","Scrubbed Page URL"),Pm("title","Scrubbed Page Title"),"function"===typeof Qm.ga&&Qm.ga("send",a),Vya&&Upa("[stub ga.ts] ga('send')",a))},Pm=function(a,b){"function"===typeof Qm.ga&&Qm.ga("set",a,b);Vya&&Upa("[stub ga.ts] ga('set', '"+a+"', "+b+")")},Wya=function(){return Pc.apply(0,arguments).map(String).join("__")},Xya=function(){for(var a={},b=k(Object.entries(Rm)),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},Yya=function(a,
b){return a+b},Zya=function(){var a=Object.values(Rm),b=a.map(function(c){return c-1}).reduce(Yya,0);a=a.reduce(Yya,0);return{total:a,redundant:b,redundancyRatio:Math.round(b/a*100)/100}},$ya=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("/")},aza=function(a){return a instanceof ym},bza=function(a){return a instanceof Sm},cza=function(a){return function(b){return new E.Observable(function(c){return b.subscribe(function(d){return void a.run(function(){return void c.next(d)})},
function(d){return void a.run(function(){return void c.error(d)})},function(){return void a.run(function(){return void c.complete()})})})}},hza=function(){var a=void 0===a?Om:a;var b=Date.now(),c=Tm(b);Tm(dza())!==c?a("retention","first-visit"):(c=Tm(b),Tm(dza())===c&&1===eza()&&a("retention","second-visit"));a=Tm(b);Tm(dza())!==a?fza(1):(a=eza()||0,fza(a+1));gza(b)},Tm=function(a){if(null!=a)return(new Date(a)).toLocaleDateString()},iza=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},jza=function(a){var b=Object.assign({},a);a=a.issue;b=(delete b.issue,b);return Object.assign({},b,{issueId:a.issueId})},kza=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)}},lza=function(a){function b(){var e,g,h,l;return he(function(q){if(1==q.nextAddress){if(d||0===c.length)return q.return();
d=!0;e=[].concat(Vc(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,Vc(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=Pc.apply(0,arguments),g=new awa;c.push({args:e,returnValue:g});b();return g.promise}},mza=function(a){var b=!1;return function(){var c=Pc.apply(0,arguments);if(!b)return b=!0,a.apply(null,Vc(c))}},nza=function(a){var b=
new Map;return function(){var c=Pc.apply(0,arguments),d=c.map(String).join("-");if(b.has(d))return b.get(d);c=a.apply(null,Vc(c));b.set(d,c);return c}},oza=function(a){return!(null==a||!a.relatedChildren.length)},qza=function(a,b){var c=[].concat(Vc(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$2299:d.$jscomp$loop$prop$newItem$2299},e=b.next())if(d.$jscomp$loop$prop$newItem$2299=e.value,!a.has(d.$jscomp$loop$prop$newItem$2299.targetIssueId)){e=
c.findIndex(function(h){return function(l){return l.targetIssueId===h.$jscomp$loop$prop$newItem$2299.afterIssueId}}(d));var g=void 0;g=d.$jscomp$loop$prop$newItem$2299.afterIssueId?-1===e?c.length:e+1:0;c.splice(g,0,d.$jscomp$loop$prop$newItem$2299);a.add(d.$jscomp$loop$prop$newItem$2299.targetIssueId)}return pza(c)},rza=function(a,b){return pza(a.filter(function(c){return c.targetIssueId!==b}))},pza=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},sza=function(a){var b=new Map,c={};a=k(a);for(var d=a.next();!d.done;c={$jscomp$loop$prop$previousOperation$2301:c.$jscomp$loop$prop$previousOperation$2301},d=a.next()){var e=d.value;d=e.issues.map(function(g){return g.issueId}).join(",");c.$jscomp$loop$prop$previousOperation$2301=b.get(d);c.$jscomp$loop$prop$previousOperation$2301?
(e={newParentId:e.newParentId,newRelations:e.newRelations,issues:c.$jscomp$loop$prop$previousOperation$2301.issues,eventTimestamps:[].concat(Vc(c.$jscomp$loop$prop$previousOperation$2301.eventTimestamps),Vc(e.eventTimestamps)),newParentChildrenSnapshot:e.newParentChildrenSnapshot,done:e.done},e.done.promise.then(c.$jscomp$loop$prop$previousOperation$2301.done.resolve).catch(function(g){return function(h){g.$jscomp$loop$prop$previousOperation$2301.done.reject(h);throw h;}}(c)),b.set(d,e)):b.set(d,
e)}b=[].concat(Vc(b.values()));c={};a=k(b);for(d=a.next();!d.done;c={$jscomp$loop$prop$operation$2038$2303:c.$jscomp$loop$prop$operation$2038$2303},d=a.next())c.$jscomp$loop$prop$operation$2038$2303=d.value,c.$jscomp$loop$prop$operation$2038$2303.newRelations=c.$jscomp$loop$prop$operation$2038$2303.newRelations.map(function(g){return function(h){return g.$jscomp$loop$prop$operation$2038$2303.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,Vc(g.issues.map(function(x){return l.findIndex(function(A){return A.targetIssueId===x.issueId})})));h=Math.min.apply(Math,Vc(h.issues.map(function(x){return q.findIndex(function(A){return A.targetIssueId===x.issueId})})));return g===h?0:g<h?-1:1})},tza=function(a){return{teamId:a,version:0,name:a,description:"",pathIds:[a],pathNames:[a],collapsedPathNames:[a],members:[],deleted:!1,estimatedComponentCount:0}},
Um=function(a,b){b=new E.BehaviorSubject(b);a.subscribe(b);return b},Vm=function(a){var b;a.subscribe(function(c){b=c}).unsubscribe();return b},uza=function(a){a=void 0===a?[]:a;return a.map(function(b){return"teamId:"+b+"+"}).join(" OR ")},vza=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")},wza=function(a,b){if(null==a)return null;a=a.getRequestHook(b);return null==a?null:a},xza=
function(a){return Object.assign({},{arrays:{},descriptions:{},keys:[],objectMaps:{},objects:{},enums:{},emptyArrayIsUnset:!1},a)},yza=function(a,b){return Wm(b,a)},zza=function(a,b,c){b[a]=c},Aza=function(){return{}},Fza=function(a,b){var c=new a;return null==b?c:Bza(b,Cza,Dza,Eza,a)},Cza=function(a,b){return b[a]},Dza=function(a,b,c){b.Serializable$values[a]=c},Eza=function(a){if(null==a)throw Error("Ic");return new a},Bza=function(a,b,c,d,e){e=d(e);for(var g=Gza(a,e),h=g.arrays||{},l=g.objects||
{},q=g.objectMaps||{},x={},A=k(g.keys||[]),B=A.next();!B.done;x={$jscomp$loop$prop$mapMetadata$2307:x.$jscomp$loop$prop$mapMetadata$2307},B=A.next()){B=B.value;var K=b(B,a);if(null!=K){var N=void 0;if(h.hasOwnProperty(B)){if(g.emptyArrayIsUnset&&0===K.length)continue;N=Hza(K,b,c,d,!0,!0,h[B])}else if(l.hasOwnProperty(B))N=Hza(K,b,c,d,!1,!0,l[B]);else if(q.hasOwnProperty(B))x.$jscomp$loop$prop$mapMetadata$2307=q[B],N=x.$jscomp$loop$prop$mapMetadata$2307.isPropertyArray?K.map(function(P){return function(Y){return Iza(Y,
P.$jscomp$loop$prop$mapMetadata$2307,b,c,d)}}(x)):Iza(K,x.$jscomp$loop$prop$mapMetadata$2307,b,c,d);else if(Array.isArray(K)){if(g.emptyArrayIsUnset&&0===K.length)continue;N=Hza(K,b,c,d,!0,!1)}else N=K;c(B,e,N)}}return e},Iza=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]=Hza(q,c,d,e,b.isValueArray,b.isSerializable,b.ctor))}return g},Hza=function(a,b,c,d,e,g,h){if(g&&null==h)throw Error("Jc");if(null==a)return a;var l;e&&g?l=
a.map(function(q){return Bza(q,b,c,d,h)}):e&&!g?l=a.map(function(q){return q}):l=!e&&g?Bza(a,b,c,d,h):"object"===typeof a?JSON.parse(JSON.stringify(a)):a;return l},Gza=function(a,b){if(b instanceof Xm)a=xza(b.getPartialClassMetadata());else if(a instanceof Xm)a=xza(a.getPartialClassMetadata());else throw Error("Kc");return a},Jza=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}},Kza=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},Lza=function(a,b){a&1&&(G(0,"div",1),jd(),G(1,"svg",2)(2,"g"),I(3,"path",3),H()(),kd(),G(4,"span",4),R(5),H()());a&2&&(a=b.ngIf,gf("aria-label",a)("title",a),z(5),Ef(a))},Mza=function(a){a&1&&I(0,"waldo-availability-chip",1);a&2&&(a=O(),F("user",a.user),gf("coinonly",a.coinonly))},Nza=function(a){if(!a||!a.seconds&&!a.nanos)return null;var b=new Eh;
a.seconds&&b.setSeconds(a.seconds);a.nanos&&b.setNanos(a.nanos);return b},Ym=function(a){if(!a||!a.seconds&&!a.nanos)return null;var b=new Ch;a.seconds&&b.setSeconds(a.seconds);a.nanos&&b.setNanos(a.nanos);return b},Zm=function(a){if(!a)return 0;if(a instanceof Ch){var b=a.getSeconds();a=a.getNanos()||0}else b=a.seconds,a=a.nanos;return 1E3*b+a/1E6},Oza=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":""))+")"},Pza=function(a){if(a){var b=
new $m;b.setTime(a.getTime());return b}},Qza=function(a){return a.retentionPeriod&&(a=Nza(a.retentionPeriod))?Oza(Math.floor(1E3*a.getSeconds()/864E5)):"indefinite"},an=function(a){return"string"===typeof a?"buganizer.drafts."+a:"buganizer.drafts.labeled."+a.label},Rza=function(a){if(a&1){var b=v();G(0,"button",5);M("click",function(){w(b);var c=O();return y(c.dialogRef.close(!1))});R(1);H()}a&2&&(a=O(),z(1),Df(" ",a.cancelButtonText," "))},Sza=function(a){var b=[],c=[].concat.apply([],Vc(a.map(function(e){return e.actions})));
a={};c=k(c);for(var d=c.next();!d.done;a={$jscomp$loop$prop$action$2314:a.$jscomp$loop$prop$action$2314},d=c.next())a.$jscomp$loop$prop$action$2314=d.value,b.some(function(e){return function(g){return Mh(e.$jscomp$loop$prop$action$2314,g)}}(a))||b.push(a.$jscomp$loop$prop$action$2314);return b},Tza=function(a){return Array.from(new Set([].concat.apply([],Vc(a.map(function(b){return b.issueIds})))))},bn=function(){return Fe(function(a,b){return Mh(a,b)})},Uza=function(){return function(a){return a.pipe(D(function(b){return{event:b,
timestamp:Date.now()}}),Iia(a.pipe(De(1E4,E.asapScheduler))))}},Vza=function(a){a=void 0===a?{}:a;return Hua(Object.values(a)).sort(function(b,c){return b-c})},Zza=function(a){var b={};a=k(Vj(a,1,Wza).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:Xza[W(d,1,0)],detailedUserType:Yza[W(d,2,0)]}}return b},$za=function(a,b){return a.map(function(c){return b[c]||null})},aAa=function(){return{principalType:"NON_GAIA",detailedUserType:"NO_DETAILED_TYPE"}},
bAa=function(a,b){a&1&&(G(0,"li"),R(1),H());a&2&&(a=b.$implicit,z(1),Ef(a))},cAa=function(a){return a.endsWith("?")?a.slice(0,a.length-1):a},dAa=function(a,b,c,d){c&&c.targetTime&&(c.endTime?b.push({sloBounds:c,sloMetric:d}):a.push({sloBounds:c,sloMetric:d}))},eAa=function(a,b){return a.sloBounds.targetTime.seconds-b.sloBounds.targetTime.seconds},fAa=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},
cn=function(a,b){return function(c){if(a.has(c))return a.get(c);var d=b(c);a.set(c,d);return d}},dn=function(a,b){return new Map(a.map(function(c){return[c,b(c)]}))},gAa=function(a,b){return dn([].concat(Vc(a.keys())),function(c){return b(a.get(c))})},hAa=function(){return{startTime:Date.now(),firstActionSeen:!1,editCount:0,variations:new Set}},iAa=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},jAa=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},kAa=function(a){var b;return null==(b=Bl(a))?void 0:b.title},lAa=function(a){var b,c;return null!=(c=null==(b=Bl(a))?void 0:b.status)?c:void 0},mAa=function(a){var b,c;return null!=(c=null==(b=Bl(a))?void 0:b.priority)?c:void 0},nAa=function(a){var b,c;return null!=(c=null==(b=Bl(a))?void 0:b.assigneeUser)?c:void 0},oAa=function(a){var b,c;return null!=(c=null==(b=Bl(a))?void 0:b.reporterUser)?c:void 0},pAa=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 ki(a)},qAa=function(a){var b;a=null==(b=Bl(a))?void 0:b.componentId;return ki(a)},rAa=function(a){var b,c;return null!=(c=null==(b=Bl(a))?void 0:b.ccUsers)?c:[]},sAa=function(a){var b,c;return null!=(c=null==(b=Bl(a))?void 0:b.issueAccessLimitLevel)?c:"LIMIT_NONE"},tAa=function(a){var b,c;return null!=(c=null==(b=Bl(a))?void 0:b.collaboratorsUsers)?c:[]},uAa=function(a){var b,c;return null!=(c=null==(b=Bl(a))?
void 0:b.type)?c:void 0},vAa=function(a){var b,c;return null!=(c=null==(b=Bl(a))?void 0:b.foundInVersion)?c:[]},wAa=function(a){var b,c;return null!=(c=null==(b=Bl(a))?void 0:b.targetedToVersion)?c:[]},xAa=function(a){var b,c;return null!=(c=null==(b=Bl(a))?void 0:b.changelist)?c:[]},yAa=function(a){var b,c;return null!=(c=null==(b=Bl(a))?void 0:b.postmortems)?c:[]},zAa=function(a){var b;return(null==(b=Bl(a))?void 0:b.inProd)||!1},AAa=function(a){var b;return null==(b=Bl(a))?void 0:b.effort},BAa=
function(a){var b,c;return null==a?void 0:null==(b=a.issue)?void 0:null==(c=b.aggregatedData)?void 0:c.voteCount},CAa=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},EAa=function(a){return DAa(null==a?void 0:a.issue)},DAa=function(a){var b,c;return null!=(c=null==(b=wl(a))?void 0:b.isDeleted)?c:!1},GAa=function(a){return FAa(null==a?void 0:a.issue)},FAa=function(a){var b;return null==a?void 0:null==(b=a.accessLimit)?void 0:b.accessLevel},
HAa=function(a){var b;return(a=null==a?void 0:null==(b=a.issue)?void 0:b.aggregatedData)&&Math.round(a.modifiedTimeMicros/1E3)},JAa=function(a){return IAa(null==a?void 0:a.issue)},IAa=function(a){var b,c;return null!=(c=null==(b=wl(a))?void 0:b.retention)?c:void 0},KAa=function(a){var b,c;return null!=(c=null==(b=Bl(a))?void 0:b.duplicateOfIssueId)?c:void 0},MAa=function(a){return LAa(null==a?void 0:a.issue)},LAa=function(a){var b,c;return null!=(c=null==a?void 0:null==(b=a.aggregatedData)?void 0:
b.retentionState)?c:void 0},NAa=function(a){var b;return ki(null==a?void 0:null==(b=a.issue.aggregatedData)?void 0:b.sloId)},OAa=function(a){var b;return null==a?void 0:null==(b=a.issue.aggregatedData)?void 0:b.createdTimeMicros},PAa=function(a){return null==a?void 0:a.effortSpec},QAa=function(a){a=PAa(a);return!(!a||!a.name&&!a.inherit)},RAa=function(a){return null==a?void 0:a.componentPathInfo},SAa=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:ji(b),commentVersion:ji(d)}},en=function(a){return!!a&&TAa.test(a)&&!UAa.test(a)},WAa=function(a){a=void 0===a?"":a;return a.endsWith("@prod.google.com")||a.endsWith("-robots@google.com")||VAa(a)},VAa=function(a){return XAa.some(function(b){return a.endsWith(b)})},YAa=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}},ZAa=function(a){return a?Zh(a.replace(/_/g," ").toLowerCase()):""},$Aa=function(a){return a?a.join(", "):""},aBa=function(a,b){if(!a)return fn("");if(!b)return fn(a);b=b.split(" ").map(tqa);b=b.filter(function(h){return!!h});b=b.map(gn);if(0===b.length)return fn(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(hn("b",{},g));c.push(d);a=a.substring(e+g.length+d.length)}return jn(c)},bBa=function(a){return a?"Yes":"No"},cBa=function(a){return a?a.pathNames?a.pathNames.join(" > "):"":""},dBa=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},kn=function(a){if(a&&en(a))return a},ln=function(a){return null==a?"":String(a)},fBa=
function(a){var b;return null!=(b=null==a?void 0:a.filter(function(c){return!!c.trim()}).join(", "))?b:""},mn=function(a){return a?fa(a,"@")?a:"[Deleted User]"===a?a:a+"@google.com":""},gBa=function(a,b){a=void 0===a?"":a;b=void 0===b?48:b;var c=void 0===c?"...":c;var d=[].concat(Vc(a));if(d.length<=b)return a;a=b-[].concat(Vc(c)).length;d=d.slice(0,a).join("");null!=String.prototype.trimEnd&&(d=d.trimEnd());return d+c},hBa=function(a){a=void 0===a?"":a;var b=new Set([].concat(Vc('!"#$%&()*+,-./:;<=>?@[\\]^_`{|}~\t\n')));
a=[].concat(Vc(a)).map(function(c){return b.has(c)?" ":c}).join("").trim();return 0===a.length?[]:a.split(/[\s]+/g)},iBa=function(a){return a.split("").every(function(b){return 1===b.length&&0<=b.charCodeAt(0)&&255>=b.charCodeAt(0)})},kBa=function(a){if(null!=a){a=[].concat(Vc(a)).slice(0,100);a=k(a);for(var b=a.next();!b.done;b=a.next())if(b=jBa[b.value])return b}},lBa=function(a){if(a.includes('"')||a.includes("'"))return[];var b=[].concat(Vc(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(Vc(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}):[]},mBa=function(a){return a.customFieldValue?String(a.customFieldValue.customFieldId):a.fieldName},oBa=function(a){if(null==nBa){var b="undefined"!==typeof document?document.head:null;nBa=!(!b||!b.createShadowRoot&&!b.attachShadow)}return nBa&&(a=a.getRootNode?a.getRootNode():null,"undefined"!==typeof ShadowRoot&&
ShadowRoot&&a instanceof ShadowRoot)?a:null},pBa=function(a){if(a&1){var b=v();G(0,"div",0);M("clickOutside",function(){w(b);var c=O();return y(c.closeHovercard$.next())})("mouseenter",function(){w(b);O().isOnHover$.next(!0);return y()})("mouseleave",function(){w(b);O().isOnHover$.next(!1);return y()});yf(1);H()}a&2&&(a=O(),rf(a.className),F("cdkTrapFocusAutoCapture",a.wasTriggeredByKeyboard))},qBa=function(a){a&1&&I(0,"img",9);a&2&&(a=O(),F("src",a.person.imageUrl,Md)("alt",a.person.name+"'s profile picture"))},
rBa=function(a){a&1&&(G(0,"div",10),R(1),H());a&2&&(a=O(),z(1),Df(" ",a.person.email," "))},sBa=function(a){a&1&&(G(0,"div",11)(1,"onedev-chip",12),I(2,"mat-icon",13),R(3),H()());a&2&&(a=O(),z(3),Df("",a.outOfOfficeDescription," "))},tBa=function(a){a&1&&(G(0,"li"),R(1),H());a&2&&(a=O(2),z(1),Ef(a.person.title))},uBa=function(a){a&1&&I(0,"li",18)},vBa=function(a){a&1&&(G(0,"li"),R(1),H());a&2&&(a=O(2),z(1),Ef(a.person.department))},wBa=function(a){a&1&&(J(0),I(1,"mat-icon",14),G(2,"div",15)(3,"ul",
16),Q(4,tBa,2,1,"li",8),Q(5,uBa,1,0,"li",17),Q(6,vBa,2,1,"li",8),H()(),L());a&2&&(a=O(),z(4),F("ngIf",a.person.title),z(1),F("ngIf",a.person.title&&a.person.department),z(1),F("ngIf",a.person.department))},xBa=function(a){a&1&&(J(0),I(1,"mat-icon",19),G(2,"div",15),R(3),H(),L());a&2&&(a=O(),z(3),Ef(a.person.location))},yBa=function(a){a&1&&(G(0,"li")(1,"a",21),R(2,"Teams"),H()());a&2&&(a=O(2),z(1),F("href","https://moma.corp.google.com/person/"+a.person.ldap,Md))},zBa=function(a){a&1&&I(0,"li",18)},
ABa=function(a){a&1&&(J(0),I(1,"mat-icon",20),G(2,"div",15)(3,"ul",16),Q(4,yBa,3,1,"li",8),Q(5,zBa,1,0,"li",17),G(6,"li")(7,"a",21),R(8,"Whostory"),H()(),I(9,"li",18),G(10,"li")(11,"a",21),R(12,"Calendar"),H()(),I(13,"li",18),G(14,"li")(15,"a",21),R(16,"CLs"),H()(),I(17,"li",18),G(18,"li")(19,"a",21),R(20,"Readability"),H()()()(),L());a&2&&(a=O(),z(4),F("ngIf",a.person.title||a.person.department),z(1),F("ngIf",a.person.title||a.person.department),z(2),F("href","https://whostory.corp.google.com/"+
a.person.ldap,Md),z(4),F("href","https://www.google.com/calendar/embed?src="+a.person.email+"&mode=WEEK&showCalendars=0",Md),z(4),F("href","https://critique.corp.google.com/"+a.person.ldap,Md),z(4),F("href","https://icanread.corp.google.com/s/"+a.person.ldap,Md))},CBa=function(a){return a&&BBa.test(a)?a.split("@")[0]:""},DBa=function(a){return a?a.find(function(b){var c;return"DOMAIN_PROFILE"===(null==(c=b.metadata)?void 0:c.container)}):null},EBa=function(a){return a?a.find(function(b){var c;return"DOMAIN_PROFILE"===
(null==(c=b.metadata)?void 0:c.container)}):null},FBa=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:CBa(c),name:"",email:c};var q;d=null==b?void 0:null==(q=b.people)?void 0:q[l];var x;l=null==(x=EBa(null==d?void 0:d.email))?void 0:x.value;var A,B;x=null==d?void 0:null==(A=d.name)?void 0:null==(B=A[0])?void 0:B.displayName;var K,N;A=null==d?void 0:null==(K=d.photo)?void 0:null==
(N=K[0])?void 0:N.url;B=DBa(null==d?void 0:d.organization);K=null==B?void 0:B.title;N=null==B?void 0:B.department;B=null==B?void 0:B.location;return{ldap:CBa(l),email:l||c||"",name:x||"",imageUrl:A,title:K,department:N,location:B}})},GBa=function(a,b){a&1&&(G(0,"onedev-person-hovercard-body",1),S(1,"async"),yf(2,0,["ngProjectAs","onedev-hovercard-action",5,["onedev-hovercard-action"]]),yf(3,1,["ngProjectAs","[onedev-additional-content]",5,["","onedev-additional-content",""]]),H());a&2&&(a=b.ngIf,
b=O(),F("person",a)("outOfOfficeDescription",T(1,2,b.outOfOfficeDescription$)))},HBa=function(a){a&1&&(G(0,"onedev-person-hovercard",1,2),yf(2,0,["ngProjectAs","onedev-hovercard-action",5,["onedev-hovercard-action"]]),H());if(a&2){var b=Cf(1);a=O();F("email",a.email)("enableWaldo",!0)("onedevIsHovercardReady",b.init)}},IBa=function(a){a&1&&vf(0)},JBa=function(a){a&1&&(J(0),G(1,"span",2),Q(2,IBa,1,0,"ng-container",3),H(),G(3,"onedev-hovercard",null,4),I(5,"b-person-card",5),H(),L());if(a&2){var b=
Cf(4);a=O();var c=Cf(2);z(1);F("onedevHovercardTrigger",b)("onedevHovercardActive",!!a.email);z(1);F("ngTemplateOutlet",c);z(3);F("email",a.email)}},KBa=function(a){a&1&&yf(0)},NBa=function(a){if(a&1){var b=v();J(0,3);G(1,"onedev-hovercard-action",4);M("onAction",function(){w(b);var e=O();return y(LBa(e))});S(2,"async");G(3,"span");R(4);H()();G(5,"onedev-hovercard-action",4);M("onAction",function(){w(b);var e=O();return y(MBa(e))});S(6,"async");G(7,"span");R(8);H()();L()}if(a&2){a=O();var c,d;z(1);
F("disabled",null!==(c=T(2,4,a.actionService.assigneeUpdating$))&&void 0!==c?c:!1);z(3);Ef(a.email!==a.currentAssignee?"Set as assignee":"Remove assignee");z(1);F("disabled",null!==(d=T(6,6,a.actionService.ccUpdating$))&&void 0!==d?d:!1);z(3);Ef(a.currentCc.includes(a.email)?"Remove from CCs":"Add to CCs")}},OBa=function(a){a&1&&(J(0),I(1,"b-availability-chip",3),L());a&2&&(a=O(2).ngIf,z(1),F("user",a.email))},PBa=function(a){a&1&&(J(0),R(1),L(),Q(2,OBa,2,1,"ng-container",0));if(a&2){a=O().ngIf;var b=
O();z(1);Ef(a.content);z(1);F("ngIf",b.enableWaldoAvailability&&b.availabilityChipEnabled)}},QBa=function(a){a&1&&vf(0)},RBa=function(a){a&1&&(J(0),G(1,"span",4),Q(2,QBa,1,0,"ng-container",5),H(),G(3,"onedev-hovercard",null,6),I(5,"b-issue-person-card",7),H(),L());if(a&2){var b=Cf(4);a=O().ngIf;var c=Cf(2),d=O();z(1);F("onedevHovercardTrigger",b);gf("tabindex",d.hovercardEnabled&&d.hovercardFocusEnabled?"0":null);z(1);F("ngTemplateOutlet",c);z(3);F("email",a.email)}},SBa=function(a,b){a&1&&(J(0),
Q(1,PBa,3,2,"ng-template",null,1,Zf),Q(3,RBa,6,4,"ng-container",2),L());if(a&2){a=b.ngIf;var c=Cf(2);b=O();z(3);F("ngIf",b.hovercardEnabled&&b.isNonObfuscatedEmail(a.email))("ngIfElse",c)}},TBa=function(a){a&1&&vf(0)},UBa=function(a){a&1&&(J(0),G(1,"span",3),Q(2,TBa,1,0,"ng-container",4),H(),G(3,"onedev-hovercard",null,5),I(5,"b-issue-person-card",6),H(),L());if(a&2){var b=Cf(4);a=O().ngIf;var c=Cf(3);z(1);F("onedevHovercardTrigger",b);z(1);F("ngTemplateOutlet",c);z(3);F("email",a.email)}},WBa=function(a){a&
1&&(J(0),I(1,"img",8),L());a&2&&(a=O(2).ngIf,O(),z(1),F("src",VBa[a.email],Md))},XBa=function(a){a&1&&I(0,"img",11);a&2&&(a=O(3).ngIf,F("src",a.src,Md)("srcset",a.srcset))},YBa=function(a){a&1&&(G(0,"span",9),Q(1,XBa,1,2,"img",10),H());a&2&&(a=O(2).ngIf,qf("anonymous",!a.showImage),z(1),F("ngIf",a.showImage))},$Ba=function(a){a&1&&(Q(0,WBa,2,1,"ng-container",0),Q(1,YBa,2,3,"span",7));if(a&2){a=O().ngIf;var b=O();F("ngIf",a.email&&ZBa(b,a.email));z(1);F("ngIf",!ZBa(b,a.email))}},aCa=function(a,b){a&
1&&(J(0),Q(1,UBa,6,3,"ng-container",1),Q(2,$Ba,2,2,"ng-template",null,2,Zf),L());if(a&2){a=b.ngIf;var c=Cf(3);b=O();z(1);F("ngIf",b.isNonObfuscatedEmail(a.email))("ngIfElse",c)}},bCa=function(a){if(a&1){var b=v();G(0,"div",6)(1,"button",7);M("click",function(){w(b);O(2).onDismiss.emit();return y()});G(2,"mat-icon",8);R(3);H()()()}if(a&2){a=O(2);var c;z(1);F("matTooltip",null!==(c=a.dismissTooltip)&&void 0!==c?c:"")("disabled",a.disableDismiss);z(2);Df(" ",a.dismissIcon," ")}},cCa=function(a){a&1&&
(G(0,"span"),R(1,"Unassigned"),H())},dCa=function(a){a&1&&I(0,"b-user-image",12);a&2&&(a=O(3),F("email",(null==a.issue.snapshot[0].assigneeUser?null:a.issue.snapshot[0].assigneeUser.emailAddress)||""))},eCa=function(a){a&1&&I(0,"b-user-display-name",13);a&2&&(a=O(3),F("email",a.issue.snapshot[0].assigneeUser.emailAddress||""))},fCa=function(a){a&1&&(G(0,"div",9),Q(1,cCa,2,0,"span",0),Q(2,dCa,1,1,"b-user-image",10),Q(3,eCa,1,1,"b-user-display-name",11),H());a&2&&(a=O(2),z(1),F("ngIf",!a.issue.snapshot[0].assigneeUser),
z(1),F("ngIf",a.issue.snapshot[0].assigneeUser),z(1),F("ngIf",a.issue.snapshot[0].assigneeUser))},gCa=function(a,b){a&1&&(J(0),G(1,"span"),R(2),H(),L());a&2&&(a=b.$implicit,b=O(3),z(1),tf("chippy status-",a," margin-s-right"),z(1),Df(" ",b.STATUS_TERSE[a]," "))},hCa=function(a){a&1&&I(0,"b-issue-priority-display",16);a&2&&(a=O(3),F("issuePriority",a.issue.snapshot[0].priority))},iCa=function(a){a&1&&(G(0,"span"),R(1),S(2,"enumToHuman"),H());a&2&&(a=O(3),z(1),Df(" ",T(2,1,a.issue.snapshot[0].type),
" "))},jCa=function(a){a&1&&(G(0,"div",14),Q(1,gCa,3,4,"ng-container",0),Q(2,hCa,1,1,"b-issue-priority-display",15),Q(3,iCa,3,3,"span",0),H());a&2&&(a=O(2),z(1),F("ngIf",a.convertIssueStatusStrToTag(a.issue.snapshot[0].status)),z(1),F("ngIf",!a.onlyTitle),z(1),F("ngIf",!a.onlyTitle))},kCa=function(a){a&1&&I(0,"mat-icon",20);a&2&&(a=O(3),F("svgIcon",a.moreInfoIconSvg))},lCa=function(a){a&1&&(G(0,"mat-icon",21),R(1),H());a&2&&(a=O(3),z(1),Ef(a.moreInfoIcon))},mCa=function(a){a&1&&(J(0),G(1,"div"),Q(2,
kCa,1,1,"mat-icon",17),Q(3,lCa,2,1,"mat-icon",18),G(4,"span",19),R(5),H()(),L());a&2&&(a=O(2),z(1),tf("more-info padded-s-top margin-s-top ",a.moreInfoAccentColor,""),z(1),F("ngIf",a.moreInfoIconSvg),z(1),F("ngIf",a.moreInfoIcon),z(2),Ef(a.moreInfoMessage))},nCa=function(a){a&1&&(J(0),G(1,"div",1)(2,"a",2),R(3),H()(),Q(4,bCa,4,3,"div",3),Q(5,fCa,4,3,"div",4),Q(6,jCa,4,3,"div",5),Q(7,mCa,6,6,"ng-container",0),L());a&2&&(a=O(),z(2),zf("href","/issues/",a.issue.issueId,"",Md),z(1),Ff(" ",a.issue.snapshot[0].title,
" (",a.issue.issueId,") "),z(1),F("ngIf",a.dismissIcon),z(1),F("ngIf",!a.onlyTitle),z(1),F("ngIf",!a.onlyTitle),z(1),F("ngIf",a.moreInfoMessage&&!a.onlyTitle))},oCa=function(a,b){a&1&&(J(0),G(1,"time",1),S(2,"async"),R(3),H(),L());if(a&2){a=b.ngIf;b=O();z(1);var c=hf(v(),"padding-left: ",b.paddingLeftPx,"px");qka(oka,pka,c,!1);F("title",a.title);gf("datetime",T(2,6,b.timestampIso$));z(2);Ef(a.formatted)}},pCa=function(a){a&1&&I(0,"div",2)},qCa=function(a){a&1&&(J(0),yf(1),L())},rCa=function(a){a&
1&&(G(0,"b-person-hovercard",3),R(1),H());a&2&&(a=O(),F("email",a.assignee),z(1),Df(" ",a.assignee," "))},sCa=function(a){a&1&&R(0,"--")},tCa=function(a){a&1&&I(0,"b-formatted-date-time",3);a&2&&(a=O(),F("mode",a.mode)("timestamp",a.createdTime))},uCa=function(a){a&1&&R(0,"--")},vCa=function(a){a&1&&(G(0,"b-person-hovercard",3),R(1),H());a&2&&(a=O(),F("email",a.reporter),z(1),Df(" ",a.reporter," "))},wCa=function(a){a&1&&R(0,"--")},xCa=function(a,b){a&1&&(G(0,"div",3),R(1),H());a&2&&(a=b.$implicit,
b=O(),tf("chippy status-",a,""),F("title",b.STATUS_FULL_TEXT[a]),z(1),Df(" ",b.STATUS_TERSE[a]," "))},yCa=function(a){a&1&&R(0,"--")},zCa=function(a){if(a&1){var b=v();G(0,"a",15);M("click",function(){w(b);var c=O();return y(c.trackClick("viewTeamAssociationOnComponent"))});G(1,"button",11);R(2,"View team association on component");H()()}a&2&&(a=O(),F("href",a.manageComponentLink(),Md))},ACa=function(a){if(a&1){var b=v();G(0,"a",6);M("click",function(){w(b);var d=O(2);return y(d.trackClick("viewTeamInMoma"))});
G(1,"span");R(2);I(3,"mat-icon",7);H()()}if(a&2){a=O(2);var c=Cf(3);zf("href","https://moma.corp.google.com/team/",a.teamId,"",Md);F("onedevHovercardTrigger",c);gf("aria-labelledby",a.linkAriaLabelledBy())("aria-label",(a.teamName?a.teamName:a.teamId)+" - link opens in a new tab");z(1);gf("id",a.teamLinkId);z(1);Df("",a.teamName?a.teamName:a.teamId," ")}},BCa=function(a){a&1&&(G(0,"span",8),R(1),H());if(a&2){a=O(2);var b=Cf(3);F("onedevHovercardTrigger",b);z(1);Ef(a.teamName?a.teamName:a.teamId)}},
CCa=function(a){a&1&&(J(0),Q(1,ACa,4,6,"a",4),Q(2,BCa,2,2,"span",5),L());a&2&&(a=O(),z(1),F("ngIf",a.anchorLinkEnabled),z(1),F("ngIf",!a.anchorLinkEnabled))},DCa=function(a){a&1&&I(0,"span",11)},ECa=function(a){a&1&&(G(0,"span"),R(1),H());a&2&&(a=O(2),z(1),Ef(a.teamNotAssignedMessage))},FCa=function(a){a&1&&(Q(0,DCa,1,0,"span",9),Q(1,ECa,2,1,"span",10));a&2&&(a=O(),F("ngIf","0"!=a.teamId),z(1),F("ngIf","0"==a.teamId))},GCa=function(a){a&1&&I(0,"b-team-display",3);a&2&&(a=O(),F("teamId",a.teamId)("componentId",
a.componentId)("anchorLinkEnabled",!1))},HCa=function(a){a&1&&R(0,"--")},ICa=function(a){a&1&&(J(0),R(1," Trackers are distinct communities with their own branding. "),L())},JCa=function(a){a&1&&(G(0,"a",12),R(1,"Learn More"),H())},KCa=function(a){a&1&&(J(0),G(1,"button",1),I(2,"img",2)(3,"img",3),G(4,"span",4),R(5),H()(),G(6,"onedev-hovercard",null,5)(8,"div",6)(9,"div",7)(10,"span",8),R(11),Q(12,ICa,2,0,"ng-container",0),H(),G(13,"div",9)(14,"a",10),R(15),H(),Q(16,JCa,2,0,"a",11),H()()()(),L());
if(a&2){var b=Cf(7);a=O();z(1);qf("xs",a.compactMode);F("onedevHovercardTrigger",b)("onedevHovercardActive",a.showHovercard);z(1);F("src",a.logoLight,Md);z(1);F("src",a.logoDark,Md);z(2);Ef(a.name);z(6);Df(" This component or issue is part of ",a.extendedName,". ");z(1);F("ngIf",!a.isGlobalBuganizer);z(2);F("href",a.redirectUrl,Md);z(1);Df("View ",a.extendedName,"");z(1);F("ngIf",!a.isGlobalBuganizer)}},LCa=function(a){a&1&&(I(0,"b-tracker-chip",1),S(1,"async"));a&2&&(a=O(),F("tracker",T(1,4,a.tracker$)||
void 0)("compactMode",a.compactMode)("showHovercard",a.showHovercard)("isGlobalBuganizer",a.isGlobalBuganizer))},MCa=function(a){if(a&1){var b=v();J(0);G(1,"span",4);R(2);H();G(3,"a",5);M("keydown",function(c){w(b);O();"Enter"===c.key&&c.stopPropagation();return y()})("click",function(c){return c.stopPropagation()});I(4,"mat-icon",6);H();L()}a&2&&(a=O(),z(2),Ef(a.title||"--"),z(1),F("routerLink","/"+a.link)("target",a.anchorTarget))},NCa=function(a){if(a&1){var b=v();G(0,"a",7);M("keydown",function(c){w(b);
O();"Enter"===c.key&&c.stopPropagation();return y()})("click",function(c){return c.stopPropagation()});R(1);H()}a&2&&(a=O(),F("routerLink","/"+a.link)("target",a.anchorTarget),z(1),Ef(a.title||"--"))},OCa=function(a){a&1&&(J(0),R(1),S(2,"enumToHuman"),L());a&2&&(a=O(),z(1),Ef(T(2,1,a.type)))},PCa=function(a){a&1&&R(0,"--")},QCa=function(a){a&1&&(G(0,"button",5,6),I(2,"mat-icon",7),H());if(a&2){a=O();var b=Cf(2);F("matTooltip",a.buttonLabel)("matMenuTriggerFor",b);gf("aria-label",a.buttonLabel);z(2);
F("svgIcon",a.buttonIcon)}},RCa=function(a){a&1&&(G(0,"div",8),R(1),H());a&2&&(a=O(),z(1),Ef(a.header))},SCa=function(a){a&1&&I(0,"mat-icon",7);a&2&&(a=O(2).$implicit,F("svgIcon",a.icon))},TCa=function(a){a&1&&(G(0,"span",14),R(1),H());a&2&&(a=O(2).$implicit,z(1),Ef(a.hintText))},UCa=function(a){a&1&&I(0,"mat-icon",7);a&2&&(a=O(2).$implicit,F("svgIcon",a.icon))},VCa=function(a){a&1&&(G(0,"span",14),R(1),H());a&2&&(a=O(2).$implicit,z(1),Ef(a.hintText))},WCa=function(a){if(a&1){var b=v();G(0,"button",
17);M("click",function(d){w(b);var e=O().$implicit,g=O(3);return y(g.onAction(d,e))})("mouseup",function(d){w(b);var e=O().$implicit,g=O(3);return y(g.onAction(d,e))});Q(1,UCa,1,1,"mat-icon",11);R(2);Q(3,VCa,2,1,"span",12);H()}if(a&2){a=O().$implicit;var c=O(2).$implicit;F("disabled",a.disabled)("ngClass",c.className);gf("title",a.title);z(1);F("ngIf",a.icon);z(1);Df(" ",a.label," ");z(1);F("ngIf",a.hintText)}},XCa=function(a){if(a&1){var b=v();G(0,"button",18);M("click",function(d){w(b);var e=O().$implicit,
g=O(3);return y(g.onAction(d,e))})("mouseup",function(d){w(b);var e=O().$implicit,g=O(3);return y(g.onAction(d,e))});G(1,"span",19);I(2,"mat-icon",20);H();R(3);H()}if(a&2){a=O().$implicit;var c=O(2).$implicit;qf("b-menu-item-checked",a.selected);F("disabled",a.disabled)("ngClass",c.className);gf("title",a.title);z(3);Df(" ",a.label," ")}},YCa=function(a,b){a&1&&(J(0),Q(1,WCa,4,6,"button",15),Q(2,XCa,4,6,"button",16),L());a&2&&(a=b.$implicit,z(1),F("ngIf","action"===a.type),z(1),F("ngIf","select"===
a.type))},ZCa=function(a){a&1&&(J(0),G(1,"button",10),Q(2,SCa,1,1,"mat-icon",11),R(3),Q(4,TCa,2,1,"span",12),H(),G(5,"mat-menu",null,13),Q(7,YCa,3,2,"ng-container",4),H(),L());if(a&2){var b=Cf(6);a=O().$implicit;var c=O();z(1);F("matMenuTriggerFor",b);z(1);F("ngIf",a.icon);z(1);Df(" ",a.label," ");z(1);F("ngIf",a.hintText);z(3);F("ngForOf",a.items)("ngForTrackBy",c.trackByIndex)}},$Ca=function(a){a&1&&I(0,"mat-icon",7);a&2&&(a=O(3).$implicit,F("svgIcon",a.icon))},aDa=function(a){a&1&&(G(0,"span",
14),R(1),H());a&2&&(a=O(3).$implicit,z(1),Ef(a.hintText))},bDa=function(a){if(a&1){var b=v();G(0,"button",17);M("click",function(c){w(b);var d=O(2).$implicit,e=O();return y(e.onAction(c,d))})("mouseup",function(c){w(b);var d=O(2).$implicit,e=O();return y(e.onAction(c,d))});Q(1,$Ca,1,1,"mat-icon",11);R(2);Q(3,aDa,2,1,"span",12);H()}a&2&&(a=O(2).$implicit,F("disabled",a.disabled)("ngClass",a.className),gf("title",a.title),z(1),F("ngIf",a.icon),z(1),Df(" ",a.label," "),z(1),F("ngIf",a.hintText))},cDa=
function(a){if(a&1){var b=v();G(0,"button",18);M("click",function(c){w(b);var d=O(2).$implicit,e=O();return y(e.onAction(c,d))})("mouseup",function(c){w(b);var d=O(2).$implicit,e=O();return y(e.onAction(c,d))});G(1,"span",19);I(2,"mat-icon",20);H();R(3);H()}a&2&&(a=O(2).$implicit,qf("b-menu-item-checked",a.selected),F("disabled",a.disabled)("ngClass",a.className),gf("title",a.title)("aria-label",a.label+" results per page"),z(3),Df(" ",a.label," "))},dDa=function(a){a&1&&(J(0),Q(1,bDa,4,6,"button",
15),Q(2,cDa,4,7,"button",16),L());a&2&&(a=O().$implicit,z(1),F("ngIf","action"===a.type),z(1),F("ngIf","select"===a.type))},eDa=function(a,b){a&1&&(J(0),Q(1,ZCa,8,6,"ng-container",9),Q(2,dDa,3,2,"ng-container",9),L());a&2&&(a=b.$implicit,z(1),F("ngIf","submenu"===a.type),z(1),F("ngIf","submenu"!==a.type))},fDa=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}},gDa=function(a,b,c){var d=a.bottom,e=a.left,g=
a.right;return c>=a.top&&c<=d&&b>=e&&b<=g},nn=function(a,b,c){a.top+=b;a.bottom=a.top+a.height;a.left+=c;a.right=a.left+a.width},hDa=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},lDa=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?iDa(a,b):("input"===d||"select"===d||"textarea"===d)&&jDa(a,b);kDa("canvas",
a,b,iDa);kDa("input, textarea, select",a,b,jDa);return b},kDa=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])},jDa=function(a,b){"file"!==b.type&&(b.value=a.value);"radio"===b.type&&b.name&&(b.name="mat-clone-"+b.name+"-"+mDa++)},iDa=function(a,b){if(b=b.getContext("2d"))try{b.drawImage(a,0,0)}catch(c){}},nDa=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)}},on=function(a,b){var c=b?"":"none";nDa(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})},pDa=function(a,b){nDa(a.style,{position:b?"":"fixed",top:b?"":"0",opacity:b?"":"0",left:b?"":"-999em"},oDa)},qDa=function(a,b){return b&&"none"!=b?a+" "+b:a},rDa=function(a){var b=-1<a.toLowerCase().indexOf("ms")?1:1E3;
return parseFloat(a)*b},tDa=function(a){a=getComputedStyle(a);var b=sDa(a,"transition-property"),c=b.find(function(d){return"transform"===d||"all"===d});if(!c)return 0;b=b.indexOf(c);c=sDa(a,"transition-duration");a=sDa(a,"transition-delay");return rDa(c[b])+rDa(a[b])},sDa=function(a,b){return a.getPropertyValue(b).split(",").map(function(c){return c.trim()})},uDa=function(a,b){return"translate3d("+Math.round(a)+"px, "+Math.round(b)+"px, 0)"},pn=function(a){return"t"===a.type[0]},vDa=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},wDa=function(a,b){a.style.width=b.width+"px";a.style.height=b.height+"px";a.style.transform=uDa(b.left,b.top)},qn=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}},xDa=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},yDa=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},zDa=function(a){var b=function(){var c=a.apply(this,[].concat(Vc(Pc.apply(0,arguments))))||this;c._sticky=!1;c._hasStickyChanged=!1;return c};U(b,a);b.prototype.hasStickyChanged=function(){var c=this._hasStickyChanged;this._hasStickyChanged=!1;return c};b.prototype.resetStickyChanged=function(){this._hasStickyChanged=!1};hh.Object.defineProperties(b.prototype,{sticky:{configurable:!0,
enumerable:!0,get:function(){return this._sticky},set:function(c){var d=this._sticky;this._sticky=xg(c);this._hasStickyChanged=d!==this._sticky}}});return b},ADa=function(a,b){return a.concat(Array.from(b))},BDa=function(a){a&1&&(G(0,"th",22),R(1," Id "),H())},CDa=function(a,b){a&1&&(G(0,"td",23),R(1),H());a&2&&(a=b.$implicit,z(1),Df(" ",a.issueId," "))},DDa=function(a){a&1&&(G(0,"th",22),R(1," Priority "),H())},EDa=function(a,b){a&1&&(G(0,"td",23),I(1,"b-issue-priority-display",24),H());a&2&&(a=
b.$implicit,z(1),F("issuePriority",a.snapshot[0].priority))},FDa=function(a){a&1&&(G(0,"th",22),R(1," Title "),H())},GDa=function(a,b){a&1&&(G(0,"td",23),I(1,"b-issue-title-cell",25),H());a&2&&(a=b.$implicit,z(1),F("issue",a))},HDa=function(a){a&1&&(G(0,"th",22),R(1," Type "),H())},IDa=function(a,b){a&1&&(G(0,"td",23),I(1,"b-issue-type-cell",26),H());a&2&&(a=b.$implicit,z(1),F("issue",a))},JDa=function(a){a&1&&(G(0,"th",22),R(1," Status "),H())},KDa=function(a,b){a&1&&(G(0,"td",23),I(1,"b-issue-status-cell",
26),H());a&2&&(a=b.$implicit,z(1),F("issue",a))},LDa=function(a){a&1&&(G(0,"th",22),R(1," Team "),H())},MDa=function(a,b){a&1&&(G(0,"td",23),I(1,"b-issue-team-cell",26),H());a&2&&(a=b.$implicit,z(1),F("issue",a))},NDa=function(a){a&1&&(G(0,"th",27),R(1),H());a&2&&(a=O(2),z(1),Df(" ","avatar-in-progress"===a.assigneeMode?"":"Assignee"," "))},ODa=function(a){a&1&&(J(0),G(1,"b-person-hovercard",31),R(2),H(),L());if(a&2){a=O(2).$implicit;var b=O(2);z(1);F("email",b.getAssigneeString(a));z(1);Df(" ",b.ldapOnly(b.getAssigneeString(a)),
" ")}},PDa=function(a){a&1&&(J(0),Q(1,ODa,3,2,"ng-container",0),L());a&2&&(a=O().$implicit,z(1),F("ngIf",a))},QDa=function(a,b){a&1&&I(0,"b-user-image",31);a&2&&F("email",b.$implicit)},RDa=function(a){a&1&&(J(0),Q(1,QDa,1,1,"b-user-image",32),L());if(a&2){a=O(2).$implicit;var b=O(2);z(1);F("ngIf",b.getAssigneeString(a))}},SDa=function(a){a&1&&(J(0),Q(1,RDa,2,1,"ng-container",0),L());a&2&&(a=O().$implicit,z(1),F("ngIf",a))},TDa=function(a,b){a&1&&I(0,"b-user-image",31);a&2&&F("email",b.$implicit)},
UDa=function(a){a&1&&(J(0),Q(1,TDa,1,1,"b-user-image",32),L());if(a&2){a=O(3).$implicit;var b=O(2);z(1);F("ngIf",b.getAssigneeString(a))}},VDa=function(a){a&1&&(J(0),Q(1,UDa,2,1,"ng-container",0),L());if(a&2){a=O(2).$implicit;var b=O(2);z(1);F("ngIf",b.isInProgress(a))}},WDa=function(a){a&1&&(J(0),Q(1,VDa,2,1,"ng-container",0),L());a&2&&(a=O().$implicit,z(1),F("ngIf",a))},XDa=function(a){a&1&&I(0,"b-issue-assignee-cell",26);a&2&&(a=O().$implicit,F("issue",a))},YDa=function(a){a&1&&(G(0,"td",23),J(1,
28),Q(2,PDa,2,1,"ng-container",29),Q(3,SDa,2,1,"ng-container",29),Q(4,WDa,2,1,"ng-container",29),Q(5,XDa,1,1,"b-issue-assignee-cell",30),L(),H());a&2&&(a=O(2),z(1),F("ngSwitch",a.assigneeMode),z(1),F("ngSwitchCase","short"),z(1),F("ngSwitchCase","avatar"),z(1),F("ngSwitchCase","avatar-in-progress"))},ZDa=function(a){a&1&&(G(0,"th",33),R(1," Reporter "),H())},$Da=function(a,b){a&1&&(G(0,"td",23),I(1,"b-issue-reporter-cell",26),H());a&2&&(a=b.$implicit,z(1),F("issue",a))},aEa=function(a){a&1&&(G(0,
"th",34),R(1," Created "),H())},bEa=function(a,b){a&1&&(G(0,"td",23),I(1,"b-issue-created-time-cell",26),H());a&2&&(a=b.$implicit,z(1),F("issue",a))},cEa=function(a){a&1&&(G(0,"th",35),R(1," Last Modified "),H())},dEa=function(a){a&1&&I(0,"b-formatted-date-time",38);a&2&&(a=O().$implicit,F("timestamp",a.aggregatedData.modifiedTimeMicros/1E3))},eEa=function(a){a&1&&R(0,"--")},fEa=function(a,b){a&1&&(G(0,"td",23),Q(1,dEa,1,1,"b-formatted-date-time",36),Q(2,eEa,1,0,"ng-template",null,37,Zf),H());if(a&
2){a=b.$implicit;var c=Cf(3);z(1);F("ngIf",a.aggregatedData.modifiedTimeMicros)("ngIfElse",c)}},gEa=function(a){a&1&&I(0,"th",22)},hEa=function(a,b){a&1&&(G(0,"td",23)(1,"b-actions-menu",39),M("click",function(c){return c.stopPropagation()}),H()());a&2&&(a=b.$implicit,b=O(2),z(1),F("menuItems",b.getMenuItems(a)))},iEa=function(a){a&1&&(G(0,"th",43),R(1),H());if(a&2){a=O(2).$implicit;var b=O(2);z(1);Df(" ",b.COLUMN_TITLES.get(a)," ")}},jEa=function(a){a&1&&vf(0)},lEa=function(a,b){a&1&&(G(0,"td",23),
Q(1,jEa,1,0,"ng-container",44),H());a&2&&(a=b.$implicit,b=O().ngIf,z(1),F("ngTemplateOutlet",b)("ngTemplateOutletContext",Jf(2,kEa,a)))},mEa=function(a){a&1&&(J(0,41),Q(1,iEa,2,1,"th",42),Q(2,lEa,2,4,"td",4),L());a&2&&(a=O().$implicit,Af("matColumnDef",a))},nEa=function(a,b){a&1&&(J(0),Q(1,mEa,3,1,"ng-container",40),L());a&2&&(a=b.$implicit,b=O(2),z(1),F("ngIf",b.getViewCellTemplate(a)))},oEa=function(a){a&1&&I(0,"tr",45)},pEa=function(a){a&1&&I(0,"issue-card-compact",26);a&2&&(a=O().$implicit,F("issue",
a))},qEa=function(a,b){if(a&1){var c=v();G(0,"tr",46);M("click",function(d){var e=w(c).$implicit,g=O(2);return y(g.navigateToIssue(d,e))})("mouseup",function(d){var e=w(c).$implicit,g=O(2);return y(g.navigateToIssue(d,e))});Q(1,pEa,1,1,"issue-card-compact",47);H()}a&2&&(a=b.$implicit,b=O(2),qf("highlighted",!!b.getUserInvolvement(a)))},sEa=function(a,b){a&1&&(J(0),G(1,"table",1),J(2,2),Q(3,BDa,2,0,"th",3),Q(4,CDa,2,1,"td",4),L(),J(5,5),Q(6,DDa,2,0,"th",3),Q(7,EDa,2,1,"td",4),L(),J(8,6),Q(9,FDa,2,
0,"th",3),Q(10,GDa,2,1,"td",4),L(),J(11,7),Q(12,HDa,2,0,"th",3),Q(13,IDa,2,1,"td",4),L(),J(14,8),Q(15,JDa,2,0,"th",3),Q(16,KDa,2,1,"td",4),L(),J(17,9),Q(18,LDa,2,0,"th",3),Q(19,MDa,2,1,"td",4),L(),J(20,10),Q(21,NDa,2,1,"th",11),Q(22,YDa,6,4,"td",4),L(),J(23,12),Q(24,ZDa,2,0,"th",13),Q(25,$Da,2,1,"td",4),L(),J(26,14),Q(27,aEa,2,0,"th",15),Q(28,bEa,2,1,"td",4),L(),J(29,16),Q(30,cEa,2,0,"th",17),Q(31,fEa,4,2,"td",4),L(),J(32,18),Q(33,gEa,1,0,"th",3),Q(34,hEa,2,1,"td",4),L(),Q(35,nEa,2,1,"ng-container",
19),Q(36,oEa,1,0,"tr",20),Q(37,qEa,2,2,"tr",21),H(),L());a&2&&(a=b.ngIf,b=O(),z(1),F("dataSource",b.displayedIssues$)("trackBy",b.trackByIssueLastModified)("cdkDropListConnectedTo",If(7,rEa))("cdkDropListData",a),z(34),F("ngForOf",b.customColumns),z(1),F("matHeaderRowDef",b.displayedColumns),z(1),F("matRowDefColumns",b.displayedColumns))},uEa=function(a,b){b?(b=sta(b))?(1===a.nodeType&&Rpa(a),a.innerHTML=gk(b)):tEa(a):tEa(a)},tEa=function(a){for(;a.lastChild;)a.lastChild.remove()},vEa=function(a){for(a=
a.firstChild;a;){if(a.nodeType!==Node.TEXT_NODE)return!1;a=a.nextSibling}return!0},rn=function(a){return a.endsWith("px")?Math.floor(Number(a.substr(0,a.length-2))):Number.NaN},wEa=function(a){return a.ctrlKey||a.metaKey||a.shiftKey||a.altKey},xEa=function(a){a&1&&(G(0,"div",4),vf(1,5),H());a&2&&(a=O(),F("onedevIsHovercardReady",a.hovercardReady))},yEa=function(a,b){a&1&&(G(0,"span",9),R(1," by "),I(2,"b-user-display-name",10),H());a&2&&(a=b.ngIf,z(2),F("email",a)("hovercardEnabled",!1))},zEa=function(a,
b){a&1&&(G(0,"div")(1,"span"),R(2),H(),I(3,"b-formatted-date-time",11),H());a&2&&(a=b.ngIf,b=O().ngIf,z(2),Ef(b.pending?"Created on: ":"Submitted on: "),z(1),F("timestamp",a))},AEa=function(a,b){a&1&&(J(0),I(1,"br"),R(2),L());a&2&&(a=b.$implicit,z(2),Df("",a," "))},BEa=function(a,b){a&1&&(J(0),G(1,"div",3)(2,"a",4),R(3," CL "),G(4,"span"),R(5),H()(),Q(6,yEa,3,2,"span",5),I(7,"br")(8,"br"),Q(9,zEa,4,2,"div",2),G(10,"div",6),I(11,"div",7)(12,"br"),G(13,"div"),R(14," Affected files: "),Q(15,AEa,3,1,
"ng-container",8),H()()(),L());a&2&&(a=b.ngIf,b=O(),z(2),F("href","http://critique.corp.google.com/"+b.changelistId,Md),z(3),Ef(b.changelistId),z(1),F("ngIf",a.author),z(3),F("ngIf",a.timestamp),z(2),F("innerHTML",a.description,Ld),z(4),F("ngForOf",a.affectedFiles))},CEa=function(a){a&1&&I(0,"b-changelist-card",3,4);if(a&2){var b=Cf(1);a=O();F("onedevIsHovercardReady",b.init)("changelistId",a.changelistId)}},DEa=function(a){a&1&&I(0,"b-user-display-name",2);a&2&&(a=O(),F("email",a.getEmailAddress())("hovercardEnabled",
!1)("availabilityChipEnabled",a.availabilityChipEnabled)("hovercardFocusEnabled",a.hovercardFocusEnabled))},EEa=function(a){a&1&&(G(0,"span"),R(1),H());a&2&&(a=O(),z(1),Ef(a.getDisplayString()))},FEa=function(a){a&1&&(J(0),G(1,"div",9),I(2,"b-user-display",10),R(3," submitted "),I(4,"b-changelist-link",11),R(5," for "),G(6,"b-issue-reference-widget",12),R(7),H(),I(8,"b-formatted-date-time",13),H(),G(9,"p",14),R(10),H(),L());if(a&2){a=O().$implicit;var b=O(2);z(2);F("model",b.clAuthorToUser(a.event));
z(2);F("changelistId",b.getClNumber(a.event));z(2);F("href",b.getIssueDetailsUrl(a.issueId))("issueId",a.issueId);z(1);Df("b/",a.issueId,"");z(1);F("timestamp",a.event.modifiedDate);z(2);Ef(b.clEventToClDescription(a.event))}},GEa=function(a){a&1&&(J(0),G(1,"div",9),I(2,"b-user-display",10),R(3," commented on "),G(4,"b-issue-reference-widget",12),R(5),H(),I(6,"b-formatted-date-time",13),H(),G(7,"p",14),R(8),H(),L());if(a&2){a=O().$implicit;var b=O(2);z(2);F("model",a.event.userPerformingActionUser);
z(2);F("href",b.getIssueDetailsUrl(a.issueId))("issueId",a.issueId);z(1);Df("b/",a.issueId,"");z(1);F("timestamp",a.event.modifiedDate);z(2);Ef(a.event.unlinkifiedComment)}},HEa=function(a){a&1&&(J(0),G(1,"div",9),I(2,"b-user-display",10),R(3," changed priority for "),G(4,"b-issue-reference-widget",12),R(5),H(),I(6,"b-formatted-date-time",13),H(),G(7,"p",15),R(8,"Priority changed from "),I(9,"b-issue-priority-display",16),R(10," to "),I(11,"b-issue-priority-display",16),H(),L());if(a&2){a=O().$implicit;
var b=O(2);z(2);F("model",a.event.userPerformingActionUser);z(2);F("href",b.getIssueDetailsUrl(a.issueId))("issueId",a.issueId);z(1);Df("b/",a.issueId,"");z(1);F("timestamp",a.event.modifiedDate);z(3);F("issuePriority",b.toIssuePriority(b.getPreviousDiffValue(a.event,"priority")));z(2);F("issuePriority",b.toIssuePriority(b.getNewDiffValue(a.event,"priority")))}},IEa=function(a){a&1&&(J(0),G(1,"div",9),I(2,"b-user-display",10),R(3," changed status for "),G(4,"b-issue-reference-widget",12),R(5),H(),
I(6,"b-formatted-date-time",13),H(),G(7,"p",15),R(8),H(),L());if(a&2){a=O().$implicit;var b=O(2);z(2);F("model",a.event.userPerformingActionUser);z(2);F("href",b.getIssueDetailsUrl(a.issueId))("issueId",a.issueId);z(1);Df("b/",a.issueId,"");z(1);F("timestamp",a.event.modifiedDate);z(2);Ff("Status changed from ",b.getPreviousDiffValue(a.event,"status")," to ",b.getNewDiffValue(a.event,"status"),"")}},JEa=function(a){a&1&&(J(0),G(1,"div",9),I(2,"b-user-display",10),R(3," created new issue "),G(4,"b-issue-reference-widget",
12),R(5),H(),I(6,"b-formatted-date-time",13),H(),G(7,"p",14),R(8),H(),L());if(a&2){a=O().$implicit;var b=O(2);z(2);F("model",a.event.userPerformingActionUser);z(2);F("href",b.getIssueDetailsUrl(a.issueId))("issueId",a.issueId);z(1);Df("b/",a.issueId,"");z(1);F("timestamp",a.event.modifiedDate);z(2);Ef(""===a.event.unlinkifiedComment?"No description":a.event.unlinkifiedComment)}},KEa=function(a){a&1&&(J(0),G(1,"div",9),I(2,"b-user-display",10),R(3," fixed "),G(4,"b-issue-reference-widget",12),R(5),
H(),R(6," with "),I(7,"b-changelist-link",11)(8,"b-formatted-date-time",13),H(),G(9,"p",14),R(10),H(),L());if(a&2){a=O().$implicit;var b=O(2);z(2);F("model",b.clAuthorToUser(a.event));z(2);F("href",b.getIssueDetailsUrl(a.issueId))("issueId",a.issueId);z(1);Df("b/",a.issueId,"");z(2);F("changelistId",b.getClNumber(a.event));z(1);F("timestamp",a.event.modifiedDate);z(2);Ef(b.clEventToClDescription(a.event))}},LEa=function(a){a&1&&(J(0),G(1,"div",9),I(2,"b-user-display",10),R(3),H(),L());a&2&&(a=O().$implicit,
z(2),F("model",a.event.userPerformingActionUser),z(1),Df(" updated ",a.issueId," "))},MEa=function(a,b){a&1&&(G(0,"div",4)(1,"div"),I(2,"b-user-image",5),H(),G(3,"div"),J(4,6),Q(5,FEa,11,7,"ng-container",7),Q(6,GEa,9,6,"ng-container",7),Q(7,HEa,12,7,"ng-container",7),Q(8,IEa,9,7,"ng-container",7),Q(9,JEa,9,6,"ng-container",7),Q(10,KEa,11,7,"ng-container",7),Q(11,LEa,4,2,"ng-container",8),L(),H()());a&2&&(a=b.$implicit,b=b.last,O(2),qf("margin-xs-bottom",!b),z(2),F("email","changelist"===a.eventType||
"changelistFixed"===a.eventType?El(a.event)+"@google.com":ei(a.event.userPerformingActionUser)),z(2),F("ngSwitch",a.eventType),z(1),F("ngSwitchCase","changelist"),z(1),F("ngSwitchCase","comment"),z(1),F("ngSwitchCase","priority"),z(1),F("ngSwitchCase","status"),z(1),F("ngSwitchCase","newIssue"),z(1),F("ngSwitchCase","changelistFixed"))},NEa=function(a,b){a&1&&(J(0),G(1,"p",1),R(2),H(),G(3,"div",2),Q(4,MEa,12,10,"div",3),H(),L());a&2&&(a=b.ngIf,b=O(),z(2),Ef(b.title),z(2),F("ngForOf",a)("ngForTrackBy",
b.trackByEventModifiedTime))},PEa=function(a){if(a&1){var b=v();J(0);G(1,"button",17);M("click",function(){w(b);var c=O();c.numEventsDisplayed+=3;return y()});R(2);H();L()}a&2&&(a=O(),z(2),Df("Show ",OEa(a)," more "))},QEa=function(a){a&1&&(jd(),G(0,"svg",11),I(1,"circle",12),H());a&2&&(a=O(),gf("viewBox",a._viewBox()),z(1),pf("stroke-dasharray",a._strokeCircumference(),"px")("stroke-dashoffset",a._strokeCircumference()/2,"px")("stroke-width",a._circleStrokeWidth(),"%"),gf("r",a._circleRadius()))},
REa=function(){return{diameter:100}},SEa=function(a){a&1&&(jd(),I(0,"circle",4));if(a&2){a=O();var b=Cf(1);pf("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));gf("r",a._getCircleRadius())}},TEa=function(a){a&1&&(jd(),I(0,"circle",4));if(a&2){a=O();var b=Cf(1);pf("stroke-dashoffset",
a._getStrokeDashOffset(),"px")("stroke-dasharray",a._getStrokeCircumference(),"px")("stroke-width",a._getCircleStrokeWidth(),"%")("transform-origin",a._getCircleTransformOrigin(b));gf("r",a._getCircleRadius())}},UEa=function(a){a&1&&I(0,"mat-spinner",2);a&2&&(a=O(),F("diameter",36),gf("aria-label",a.ariaLabel))},VEa=function(a){a&1&&I(0,"mat-spinner",3);a&2&&(a=O(),F("diameter",16)("strokeWidth",2),gf("aria-label",a.ariaLabel))},WEa=function(a){a&1&&(G(0,"div",29),I(1,"img",30),R(2,"\u00a0 "),G(3,
"a",31),R(4),H()());if(a&2){a=O().ngIf;var b=O(3);z(3);F("href",b.makeCritiqueUrl(a.clIds,a.pendingChangeLists),Md);z(1);Df("",a.clIds.length+a.pendingChangeLists.length," CLs")}},XEa=function(a,b){a&1&&I(0,"b-user-image",32);a&2&&F("email",b.$implicit)},YEa=function(a,b){a&1&&(G(0,"div",23)(1,"div",24),Q(2,WEa,5,2,"div",25),H(),Q(3,XEa,1,1,"b-user-image",26),S(4,"slice"),G(5,"button",27),I(6,"mat-icon",28),H()());if(a&2){a=b.ngIf;O(2);var c=Cf(17);z(2);F("ngIf",0<a.clIds.length||0<a.pendingChangeLists.length);
z(1);F("ngForOf",Nf(4,3,a.contributors,0,10));z(2);F("matMenuTriggerFor",c)}},ZEa=function(a){a&1&&(J(0),Q(1,YEa,7,7,"div",22),S(2,"async"),L());a&2&&(a=O(2),z(1),F("ngIf",T(2,1,a.projectData$)))},$Ea=function(a,b){a&1&&(G(0,"div",36),I(1,"div",37),R(2),S(3,"number"),H());if(a&2){a=b.$implicit;b=O().$implicit;var c=O(3);Bf("title","",b.totalCount-b.openCount," of ",b.totalCount," tasks complete");z(1);gf("style",c.makePie(a/100),Gga);z(1);Df(" ",Mf(3,4,a,"1.0-0"),"% Complete ")}},bFa=function(a){a&
1&&(G(0,"a",31),R(1),H());if(a&2){a=O(2).$implicit;var b=O(3);F("href",b.makeCritiqueUrl(If(2,aFa),a.pendingChangeLists),Md);z(1);Df("(",a.pendingChangeLists.length," pending)")}},cFa=function(a){a&1&&(G(0,"div",29),I(1,"img",30),R(2,"\u00a0 "),G(3,"a",31),R(4),H(),R(5," \u00a0 "),Q(6,bFa,2,3,"a",38),H());if(a&2){a=O().$implicit;var b=O(3);z(3);F("href",b.makeCritiqueUrl(a.clIds,a.pendingChangeLists),Md);z(1);Df("",a.clIds.length+a.pendingChangeLists.length," CLs");z(2);F("ngIf",0<a.pendingChangeLists.length)}},
dFa=function(a,b){a&1&&(G(0,"div",34),Q(1,$Ea,4,7,"div",35),Q(2,cFa,7,3,"div",25),H());a&2&&(a=b.$implicit,z(1),F("ngIf",(a.totalCount-a.openCount)/a.totalCount*100),z(1),F("ngIf",0<a.clIds.length||0<a.pendingChangeLists.length))},eFa=function(a){a&1&&(J(0),Q(1,dFa,3,2,"div",33),S(2,"async"),L());a&2&&(a=O(2),z(1),F("ngIf",T(2,1,a.projectData$)))},fFa=function(a,b){a&1&&(J(0),I(1,"flat-issues-table",42),L());a&2&&(a=b.ngIf,b=O(3),z(1),F("issueIds",a)("displayedColumns",b.columnsToDisplay)("assigneeMode",
"avatar-in-progress"))},gFa=function(a){a&1&&(G(0,"div",39),Q(1,fFa,2,3,"ng-container",11),S(2,"slice"),S(3,"async"),G(4,"div",40)(5,"a",41),R(6,"View all issues"),H()()());if(a&2){a=O().ngIf;var b=O();z(1);F("ngIf",Nf(2,2,T(3,6,b.hotlistIssueIds$),0,10));z(4);zf("href","/hotlists/",a.hotlistId,"",Md)}},hFa=function(a){a&1&&(J(0),I(1,"activity-stream",45),S(2,"async"),L());a&2&&(a=O(3),z(1),F("activityEvents",T(2,1,a.hotlistActivityEvents$)))},iFa=function(a){a&1&&I(0,"b-spinner")},jFa=function(a){a&
1&&(G(0,"footer"),I(1,"hr"),Q(2,hFa,3,3,"ng-container",43),S(3,"async"),Q(4,iFa,1,0,"ng-template",null,44,Zf),H());if(a&2){var b=Cf(5);a=O(2);z(2);F("ngIf",T(3,2,a.hotlistActivityEvents$))("ngIfElse",b)}},kFa=function(a,b){if(a&1){var c=v();G(0,"div",1)(1,"header",2)(2,"aside",3)(3,"div",4)(4,"button",5);M("click",function(){var d=w(c).ngIf,e=O();return y(sn(e.hackyPrefs,"hotlist-"+d.hotlistId))});R(5,"Add");H()()();G(6,"div",6)(7,"span",7)(8,"a",8);R(9);H();G(10,"button",9);M("click",function(){var d=
w(c).ngIf,e=O();return y(e.hackyPrefs.toggleCollapsed("hotlist-"+d.hotlistId))});I(11,"mat-icon",10);H()()();Q(12,ZEa,3,3,"ng-container",11);H();Q(13,eFa,3,3,"ng-container",11);Q(14,gFa,7,8,"div",12);Q(15,jFa,6,4,"footer",11);G(16,"mat-menu",null,13)(18,"button",14);M("click",function(){var d=w(c).ngIf,e=O();return y(e.reorder(d.hotlistId,-1))});I(19,"mat-icon",15);G(20,"span",16);R(21,"Move up");H()();G(22,"button",14);M("click",function(){var d=w(c).ngIf,e=O();return y(e.reorder(d.hotlistId,1))});
I(23,"mat-icon",17);G(24,"span",16);R(25,"Move down");H()();I(26,"mat-divider");G(27,"button",18);M("click",function(){var d=w(c).ngIf,e=O();return y(e.removeHotlist(d.hotlistId))});I(28,"mat-icon",19);G(29,"span",16);R(30,"Remove from My Projects");H()();G(31,"a",20);I(32,"mat-icon",21);G(33,"span",16);R(34,"View Hotlist");H()()()()}a&2&&(a=b.ngIf,b=O(),qf("collapsed",b.isCollapsed(a))("never-collapse-mode",b.neverCollapse)("add-mode",b.addMode),z(8),zf("href","/hotlists/",a.hotlistId,"",Md),z(1),
Df(" ",a.name," "),z(3),F("ngIf",!b.addMode),z(1),F("ngIf",!b.isCollapsed(a)),z(1),F("ngIf",!b.isCollapsed(a)),z(1),F("ngIf",!b.isCollapsed(a)),z(3),F("disabled",!b.canMove(a.hotlistId,-1)),z(4),F("disabled",!b.canMove(a.hotlistId,1)),z(9),zf("href","/hotlists/",a.hotlistId,"",Md))},lFa=function(a,b){a&1&&(J(0),I(1,"hotlist-as-project-card",9),L());a&2&&(a=b.$implicit,z(1),F("hotlistId",a)("addMode",!0))},mFa=function(a){a&1&&(G(0,"p",3),R(1,"No hotlists found."),H())},nFa=function(a){if(a&1){var b=
v();G(0,"button",10);M("click",function(){w(b);var c=O(2);return y(c.suggestionCount=2*c.suggestionCount)});R(1," Show more ");H()}},oFa=function(a,b){a&1&&(J(0),G(1,"div",2)(2,"p",3)(3,"a",4),I(4,"mat-icon",5),H(),R(5," Hotlists from your recent issues. "),H(),Q(6,lFa,2,2,"ng-container",6),S(7,"slice"),Q(8,mFa,2,0,"p",7),Q(9,nFa,2,0,"button",8),H(),L());a&2&&(a=b.ngIf,b=O(),z(6),F("ngForOf",Nf(7,3,a,b.skipFirstSuggestion?1:0,b.suggestionCount)),z(2),F("ngIf",0===a.length),z(1),F("ngIf",a.length>
b.suggestionCount&&!b.disableShowMore))},pFa=function(a){a&1&&(G(0,"p",3),I(1,"b-spinner"),R(2," Loading Hotlist suggestions... "),H())},qFa=function(){return Pc.apply(0,arguments).filter(Boolean).join(" AND ")},tn=function(a,b,c){c=void 0===c?!1:c;if(!b)return"";Array.isArray(b)||(b=[b]);b=b.filter(pi);return 0===b.length?"":a+":("+b.join("|")+")"+(c?"+":"")},rFa=function(a){return a instanceof un?a:new un(a,{})},vn=function(a){a=rFa(a);return new un(a.char,Object.assign({},a.modifiers,{shift:!0}))},
sFa=function(a){a=rFa(a);return new un(a.char,Object.assign({},a.modifiers,{ctrl:!0}))},tFa=function(){var a=vn("f");a=rFa(a);return new un(a.char,Object.assign({},a.modifiers,{alt:!0}))},vFa=function(a){if(a instanceof un){var b=uFa(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(vFa).join(" "):uFa(a)},wn=function(){return Pc.apply(0,arguments)},uFa=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 rh(a)}},wFa=function(a){return a.keys.join("-")+"-"+a.description+"-"+a.displayAs},xFa=function(a){if(a&1){var b=v();G(0,"div",0);M("keydown",function(c){w(b);var d=O();return y(d.processKeydown(c))});yf(1);H()}a&2&&(a=O(),rf(a.className),gf("id",a.id))},yFa=function(a){a&1&&I(0,"mat-icon",3)},
zFa=function(a){a&1&&(G(0,"span",25),R(1),H());a&2&&(a=O(3),z(1),Ef(a.HOTKEYS.COPY_ISSUE_ID.displayAs))},AFa=function(a){a&1&&(G(0,"span",25),R(1),H());a&2&&(a=O(4),z(1),Ef(a.HOTKEYS.COPY_ISSUE_SHORTLINK.displayAs))},BFa=function(a){if(a&1){var b=v();G(0,"div",11)(1,"label",12);R(2,"Issue shortlink");H();G(3,"input",26,27);M("onHotkey",function(){w(b);var d=Cf(4),e=O(3);return y(xn(e,d))})("focus",function(){w(b);var d=Cf(4);return y(d.select())});H();Q(5,AFa,2,1,"span",15);G(6,"button",28);M("onHotkey",
function(){w(b);var d=Cf(4),e=O(3);return y(xn(e,d))})("click",function(){w(b);var d=Cf(4),e=O(3);return y(xn(e,d))});I(7,"mat-icon",17);H()()}if(a&2){var c=Cf(4);a=O(3);z(1);F("htmlFor",c.id);z(2);F("hotkey",a.HOTKEYS.COPY_ISSUE_SHORTLINK)("hotkeyEnabled",a.enableHotkeys);gf("value",a.getAppBaseUrl().replace(/^.*?:\/\//,""));z(2);F("ngIf",a.enableHotkeys);z(1);F("hotkey",a.HOTKEYS.COPY_ISSUE_SHORTLINK)("hotkeyEnabled",a.enableHotkeys)}},CFa=function(a){a&1&&(G(0,"span",25),R(1),H());a&2&&(a=O(3),
z(1),Ef(a.HOTKEYS.COPY_ISSUE_URL.displayAs))},DFa=function(a){a&1&&(G(0,"span",25),R(1),H());a&2&&(a=O(3),z(1),Ef(a.HOTKEYS.COPY_ISSUE_TITLE.displayAs))},EFa=function(a){a&1&&(G(0,"span",25),R(1),H());a&2&&(a=O(4),z(1),Ef(a.HOTKEYS.COPY_ISSUE_EMAIL_ADDRESS.displayAs))},GFa=function(a){if(a&1){var b=v();G(0,"div",11)(1,"label",12);R(2,"Issue email");H();G(3,"input",29,30);M("onHotkey",function(){w(b);var d=Cf(4),e=O(3);return y(xn(e,d))})("focus",function(){w(b);var d=Cf(4);return y(d.select())});
H();Q(5,EFa,2,1,"span",15);G(6,"button",31);M("onHotkey",function(){w(b);var d=Cf(4),e=O(3);return y(xn(e,d))})("click",function(){w(b);var d=Cf(4),e=O(3);return y(xn(e,d))});I(7,"mat-icon",17);H()()}if(a&2){var c=Cf(4);a=O(3);z(1);F("htmlFor",c.id);z(2);F("hotkey",a.HOTKEYS.COPY_ISSUE_EMAIL_ADDRESS)("hotkeyEnabled",a.enableHotkeys);gf("value","buganizer-system"+(FFa(a.activeSession)?"":"-qa")+("+"+a.componentId+"+"+a.issueId)+"@google.com");z(2);F("ngIf",a.enableHotkeys);z(1);F("hotkey",a.HOTKEYS.COPY_ISSUE_EMAIL_ADDRESS)("hotkeyEnabled",
a.enableHotkeys)}},HFa=function(a){a&1&&(G(0,"span",25),R(1),H());a&2&&(a=O(4),z(1),Ef(a.HOTKEYS.COPY_ISSUE_TODO.displayAs))},IFa=function(a){if(a&1){var b=v();G(0,"div",11)(1,"label",12);R(2,"TODO comment");H();G(3,"input",32,33);M("onHotkey",function(){w(b);var d=Cf(4),e=O(3);return y(xn(e,d))})("focus",function(){w(b);var d=Cf(4);return y(d.select())});H();Q(5,HFa,2,1,"span",15);G(6,"button",34);M("onHotkey",function(){w(b);var d=Cf(4),e=O(3);return y(xn(e,d))})("click",function(){w(b);var d=Cf(4),
e=O(3);return y(xn(e,d))});I(7,"mat-icon",17);H()()}if(a&2){var c=Cf(4);a=O(3);z(1);F("htmlFor",c.id);z(2);F("hotkey",a.HOTKEYS.COPY_ISSUE_TODO)("hotkeyEnabled",a.enableHotkeys);gf("value","TODO("+a.getAppBaseUrl().replace(/^.*?:\/\//,"")+"): "+a.issueTitle);z(2);F("ngIf",a.enableHotkeys);z(1);F("hotkey",a.HOTKEYS.COPY_ISSUE_TODO)("hotkeyEnabled",a.enableHotkeys)}},JFa=function(a){if(a&1){var b=v();G(0,"div",10)(1,"div",11)(2,"label",12);R(3,"Issue ID");H();G(4,"input",13,14);M("onHotkey",function(){w(b);
var g=Cf(5),h=O(2);return y(xn(h,g))})("focus",function(){w(b);var g=Cf(5);return y(g.select())});H();Q(6,zFa,2,1,"span",15);G(7,"button",16);M("onHotkey",function(){w(b);var g=Cf(5),h=O(2);return y(xn(h,g))})("click",function(){w(b);var g=Cf(5),h=O(2);return y(xn(h,g))});I(8,"mat-icon",17);H()();Q(9,BFa,8,7,"div",18);G(10,"div",11)(11,"label",12);R(12,"Issue URL");H();G(13,"input",19,20);M("onHotkey",function(){w(b);var g=Cf(14),h=O(2);return y(xn(h,g))})("focus",function(){w(b);var g=Cf(14);return y(g.select())});
H();Q(15,CFa,2,1,"span",15);G(16,"button",21);M("onHotkey",function(){w(b);var g=Cf(14),h=O(2);return y(xn(h,g))})("click",function(){w(b);var g=Cf(14),h=O(2);return y(xn(h,g))});I(17,"mat-icon",17);H()();G(18,"div",11)(19,"label",12);R(20,"URL and title");H();G(21,"input",22,23);M("onHotkey",function(){w(b);var g=Cf(22),h=O(2);return y(xn(h,g))})("focus",function(){w(b);var g=Cf(22);return y(g.select())});H();Q(23,DFa,2,1,"span",15);G(24,"button",24);M("onHotkey",function(){w(b);var g=Cf(22),h=O(2);
return y(xn(h,g))})("click",function(){w(b);var g=Cf(22),h=O(2);return y(xn(h,g))});I(25,"mat-icon",17);H()();Q(26,GFa,8,7,"div",18);Q(27,IFa,8,7,"div",18);H()}if(a&2){var c=Cf(5),d=Cf(14),e=Cf(22);a=O(2);F("cdkTrapFocusAutoCapture",!0);z(2);F("htmlFor",c.id);z(2);F("hotkey",a.HOTKEYS.COPY_ISSUE_ID)("hotkeyEnabled",a.enableHotkeys);gf("value",a.issueId);z(2);F("ngIf",a.enableHotkeys);z(1);F("hotkey",a.HOTKEYS.COPY_ISSUE_ID)("hotkeyEnabled",a.enableHotkeys);z(2);F("ngIf",a.activeSession.isInternalSession()&&
!a.currentTracker.inTracker);z(2);F("htmlFor",d.id);z(2);F("hotkey",a.HOTKEYS.COPY_ISSUE_URL)("hotkeyEnabled",a.enableHotkeys);gf("value",a.getIssueUrl());z(2);F("ngIf",a.enableHotkeys);z(1);F("hotkey",a.HOTKEYS.COPY_ISSUE_URL)("hotkeyEnabled",a.enableHotkeys);z(3);F("htmlFor",e.id);z(2);F("hotkey",a.HOTKEYS.COPY_ISSUE_TITLE)("hotkeyEnabled",a.enableHotkeys);gf("value",a.getAppBaseUrl(a.isExternalIssue)+" "+a.issueTitle);z(2);F("ngIf",a.enableHotkeys);z(1);F("hotkey",a.HOTKEYS.COPY_ISSUE_TITLE)("hotkeyEnabled",
a.enableHotkeys);z(2);F("ngIf",a.activeSession.isInternalSession()&&!a.currentTracker.inTracker);z(1);F("ngIf",a.activeSession.isInternalSession()&&!a.currentTracker.inTracker)}},KFa=function(a){if(a&1){var b=v();J(0);G(1,"button",4,5);M("onHotkey",function(){w(b);var d=O();d.disabled||d.trigger.open();return y()})("onedevPopupPanelTriggerOpened",function(){w(b);var d=O();return y(d.isOpen=!0)})("onedevPopupPanelTriggerClosed",function(){w(b);var d=O();return y(d.isOpen=!1)})("click",function(){w(b);
var d=O();d.disabled||d.trigger.open();return y()});I(3,"mat-icon",6);H();G(4,"onedev-popup-panel",7,8);Q(6,JFa,28,25,"div",9);H();L()}if(a&2){var c=Cf(5);a=O();z(1);F("onedevPopupPanelTriggerFor",c)("hotkey",a.HOTKEYS.HIGHLIGHT_ISSUE_ID)("hotkeyEnabled",a.enableHotkeys);gf("aria-label","Show links for the issue "+a.issueId);z(5);F("ngIf",a.isOpen)}},LFa=function(a){a&1&&I(0,"b-issue-id-picker",2);a&2&&(a=O(),F("issueId",a.id)("showCopyOptions",!1))},MFa=function(a){a&1&&(J(0),I(1,"b-issue-priority-display",
3),L());a&2&&(a=O(),z(1),F("issuePriority",a.priority))},NFa=function(a){a&1&&R(0,"--")},OFa=function(a){var b=a.getName(),c,d=k(null!=(c=b.match(/components\/(\d+)\/recommendationSettings/))?c:[]);d.next();c=d.next().value;c=ni(ji(c));if(!c)throw Error("ed`"+b);return{componentId:c,duplicateAssistanceEnabled:Jj(a,2),optedOutFromDataCollection:!1,showSettings:!0}},RFa=function(a){var b=(new yn).setParent(a.parent);a=a.userEngagement;var c=(new zn).setType(PFa[a.type]);void 0!==a.rejectionReason&&
n(c,3,QFa[a.rejectionReason]);return Yi(b,zn,2,c)},VFa=function(a){var b=void 0;switch(a.getContentCase()){case 9:b={recommendedIssue:ik(Sj(a,vj,9,SFa))}}return{name:a.getName(),source:a.getSource(),resource:a.getResource(),type:TFa[a.getType()],recommendation:V(a,5),score:a.getScore(),confidence:UFa[a.getConfidence()],createTime:Bh(a.getCreateTime()),content:b}},WFa=function(a){return{recommendations:aj(a,An,1).map(VFa),nextPageToken:a.getNextPageToken(),totalSize:a.getTotalSize()}},Bn=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]]}))})},Cn=function(){var a=0;a=void 0===a?0:a;return new Promise(function(b){setTimeout(b,a)})},XFa=function(a){var b=function(){var c=a.apply(this,[].concat(Vc(Pc.apply(0,arguments))))||this;c._fitToContent=!1;return c};U(b,a);b.prototype.ngOnInit=function(){this._createInkBarElement()};b.prototype.ngOnDestroy=function(){var c;null==(c=this._inkBarElement)||c.remove();
this._inkBarElement=this._inkBarContentElement=null};b.prototype._createInkBarElement=function(){var c=this.elementRef.nativeElement.ownerDocument||document;this._inkBarElement=c.createElement("span");this._inkBarContentElement=c.createElement("span");this._inkBarElement.className="mdc-tab-indicator";this._inkBarContentElement.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline";this._inkBarElement.appendChild(this._inkBarContentElement);this._appendInkBarElement()};b.prototype._appendInkBarElement=
function(){(this._fitToContent?this.elementRef.nativeElement.querySelector(".mdc-tab__content"):this.elementRef.nativeElement).appendChild(this._inkBarElement)}},YFa=function(){},ZFa=function(){},$Fa=function(a){a&1&&yf(0)},aGa=function(){},bGa=function(a){a&1&&Q(0,aGa,0,0,"ng-template",10);a&2&&(a=O().$implicit,F("cdkPortalOutlet",a.templateLabel))},cGa=function(a){a&1&&R(0);a&2&&(a=O().$implicit,Ef(a.textLabel))},dGa=function(a,b){if(a&1){var c=v();G(0,"div",6);M("click",function(){var g=w(c),h=
g.$implicit;g=g.index;var l=O(),q=Cf(1);return y(l._handleClick(h,q,g))})("cdkFocusChange",function(g){var h=w(c).index,l=O();return y(l._tabFocusChanged(g,h))});G(1,"div",7);Q(2,bGa,1,1,"ng-template",8);Q(3,cGa,1,1,"ng-template",null,9,Zf);H()()}if(a&2){a=b.$implicit;b=b.index;var d=Cf(4),e=O();qf("mat-tab-label-active",e.selectedIndex===b);F("id",e._getTabLabelId(b))("ngClass",a.labelClass)("disabled",a.disabled)("matRippleDisabled",a.disabled||e.disableRipple);gf("tabIndex",e._getTabIndex(b))("aria-posinset",
b+1)("aria-setsize",e._tabs.length)("aria-controls",e._getTabContentId(b))("aria-selected",e.selectedIndex===b)("aria-label",a.ariaLabel||null)("aria-labelledby",!a.ariaLabel&&a.ariaLabelledby?a.ariaLabelledby:null);z(2);F("ngIf",a.templateLabel)("ngIfElse",d)}},eGa=function(a,b){if(a&1){var c=v();G(0,"mat-tab-body",11);M("_onCentered",function(){w(c);var e=O();return y(e._removeTabBodyWrapperHeight())})("_onCentering",function(e){w(c);var g=O();return y(g._setTabBodyWrapperHeight(e))});H()}if(a&
2){a=b.$implicit;b=b.index;var d=O();qf("mat-tab-body-active",d.selectedIndex===b);F("id",d._getTabContentId(b))("ngClass",a.bodyClass)("content",a.content)("position",a.position)("origin",a.origin)("animationDuration",d.animationDuration)("preserveContent",d.preserveContent);gf("tabindex",null!=d.contentTabIndex&&d.selectedIndex===b?d.contentTabIndex:null)("aria-labelledby",d._getTabLabelId(b))}},fGa=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"}},gGa=function(a){return void 0===a||null===a?[]:Object.keys(a).filter(function(b){return a.hasOwnProperty(b)})},
hGa=function(){return{color:"accent"}},iGa=function(){},jGa=function(a){a&1&&Q(0,iGa,0,0,"ng-template")},lGa=function(a){a&1&&(J(0),Q(1,jGa,1,0,null,19),L());if(a&2){a=O().xapLet;var b=O(2),c=Cf(19);z(1);F("ngTemplateOutlet",c)("ngTemplateOutletContext",Kf(2,kGa,a,b.TABS.SIMILAR_ISSUES))}},mGa=function(a){a&1&&(J(0),Q(1,lGa,2,5,"ng-container",18),L());if(a&2){O();var b=Cf(1);z(1);F("ngIf",b.isActive)}},nGa=function(a){a&1&&(G(0,"mat-tab",15,16),Q(2,mGa,2,1,"ng-container",17),S(3,"async"),H());a&2&&
(a=O(),z(2),F("xapLet",T(3,1,a.similarIssues$)))},oGa=function(){},pGa=function(a){a&1&&Q(0,oGa,0,0,"ng-template")},qGa=function(a){a&1&&(J(0),Q(1,pGa,1,0,null,19),L());if(a&2){a=O().xapLet;var b=O(2),c=Cf(19);z(1);F("ngTemplateOutlet",c)("ngTemplateOutletContext",Kf(2,kGa,a,b.TABS.SEARCH_RESULTS))}},rGa=function(a){a&1&&(J(0),Q(1,qGa,2,5,"ng-container",18),L());if(a&2){O();var b=Cf(1);z(1);F("ngIf",b.isActive)}},sGa=function(a){a&1&&(G(0,"mat-tab",20,16),Q(2,rGa,2,1,"ng-container",17),S(3,"async"),
H());a&2&&(a=O(),z(2),F("xapLet",T(3,1,a.searchResults$)))},tGa=function(){},uGa=function(a){a&1&&Q(0,tGa,0,0,"ng-template")},vGa=function(a){a&1&&(J(0),Q(1,uGa,1,0,null,19),L());if(a&2){a=O().xapLet;var b=O(2),c=Cf(19);z(1);F("ngTemplateOutlet",c)("ngTemplateOutletContext",Kf(2,kGa,a,b.TABS.ISSUE_IDS))}},wGa=function(a){a&1&&(J(0),Q(1,vGa,2,5,"ng-container",18),L());if(a&2){O();var b=Cf(1);z(1);F("ngIf",b.isActive)}},xGa=function(a){a&1&&(G(0,"mat-tab",21,16),Q(2,wGa,2,1,"ng-container",17),S(3,"async"),
H());a&2&&(a=O(),z(2),F("xapLet",T(3,1,a.issuesWithIdMatches$)))},yGa=function(a){a&1&&(G(0,"th",43)(1,"span",44),R(2,"Selection"),H()())},zGa=function(a,b){a&1&&(G(0,"td",45),I(1,"mat-radio-button",46),S(2,"async"),H());a&2&&(a=b.$implicit,b=O(3),z(1),F("checked",T(2,3,Dn(b.selectedIssues,a.issueId)))("aria-label",a.snapshot[0].title)("value",a.issueId))},AGa=function(a){a&1&&(G(0,"th",43),R(1," Title "),H())},BGa=function(a,b){a&1&&(G(0,"td",45),I(1,"b-issue-title-cell",47),H());a&2&&(a=b.$implicit,
b=O(3),z(1),F("issue",a)("issueUrlFactory",b.issueUrlFactory)("useButtonToNavigate",!0))},CGa=function(a){a&1&&(G(0,"th",43),R(1," Id "),H())},DGa=function(a,b){a&1&&(G(0,"td",45),I(1,"b-issue-id-cell",48),H());a&2&&(a=b.$implicit,z(1),F("id",a.issueId))},EGa=function(a){a&1&&(G(0,"th",43),R(1," Priority "),H())},FGa=function(a,b){a&1&&(G(0,"td",45),I(1,"b-issue-priority-cell",49),H());a&2&&(a=b.$implicit,z(1),F("issue",a))},GGa=function(a){a&1&&(G(0,"th",50),R(1," Status "),H())},HGa=function(a,
b){a&1&&(G(0,"td",45),I(1,"b-issue-status-cell",49),H());a&2&&(a=b.$implicit,z(1),F("issue",a))},IGa=function(a){a&1&&(G(0,"th",43),R(1," Dupes "),H())},JGa=function(a,b){a&1&&(G(0,"td",51),R(1),H());if(a&2){a=b.$implicit;var c;z(1);Df(" ",null!==(c=null==a.snapshot[0].duplicateIssueId?null:a.snapshot[0].duplicateIssueId.length)&&void 0!==c?c:0," ")}},KGa=function(a){a&1&&(G(0,"th",52)(1,"span",44),R(2,"Votes"),H(),I(3,"mat-icon",53),H())},LGa=function(a,b){a&1&&(G(0,"td",51),R(1),H());a&2&&(a=b.$implicit,
z(1),Df(" ",a.aggregatedData.voteCount," "))},MGa=function(a){a&1&&(G(0,"th",54),R(1," Created "),H())},NGa=function(a,b){a&1&&(G(0,"td",45),I(1,"b-issue-created-time-cell",55),H());a&2&&(a=b.$implicit,z(1),F("issue",a))},OGa=function(a){a&1&&I(0,"tr",56)},PGa=function(a,b){if(a&1){var c=v();G(0,"tr",57);M("keydown",function(d){var e=w(c),g=e.index;e=e.$implicit;var h=O(3);return y(h.onRowKeydown(g,e,d))})("keydown.enter",function(){var d=w(c).$implicit,e=O(2).tab,g=O();return y(g.selectIssue(d.issueId,
e))})("focusin",function(){var d=w(c).$implicit,e=O(3);return y(En(e.focusManager,d))})("click",function(){var d=w(c),e=d.$implicit;d=d.index;var g=O(2).tab,h=O();h.selectIssue(e.issueId,g);return y(h.focusManager.setActiveItem(d))});H()}a&2&&F("row",b.$implicit)},RGa=function(a){if(a&1){var b=v();G(0,"table",25);M("contentChanged",function(){w(b);var d=O().issues,e=O();return y(QGa(e,d))});J(1,26);Q(2,yGa,3,0,"th",27);G(3,"mat-radio-group",28);M("change",function(d){w(b);var e=O().tab,g=O();return y(g.selectIssue(d.value,
e))});Q(4,zGa,3,5,"td",29);H();L();J(5,30);Q(6,AGa,2,0,"th",27);Q(7,BGa,2,3,"td",29);L();J(8,31);Q(9,CGa,2,0,"th",27);Q(10,DGa,2,1,"td",29);L();J(11,32);Q(12,EGa,2,0,"th",27);Q(13,FGa,2,1,"td",29);L();J(14,33);Q(15,GGa,2,0,"th",34);Q(16,HGa,2,1,"td",29);L();J(17,35);Q(18,IGa,2,0,"th",27);Q(19,JGa,2,1,"td",36);L();J(20,37);Q(21,KGa,4,0,"th",38);Q(22,LGa,2,1,"td",36);L();J(23,39);Q(24,MGa,2,0,"th",40);Q(25,NGa,2,1,"td",29);L();Q(26,OGa,1,0,"tr",41);Q(27,PGa,1,1,"tr",42);H()}if(a&2){a=O().issues;var c=
O();F("dataSource",a)("trackBy",c.trackByIssueId);z(26);F("matHeaderRowDef",c.tableColumns);z(1);F("matRowDefColumns",c.tableColumns)}},SGa=function(a){a&1&&(G(0,"div",58),I(1,"b-spinner",59),H())},TGa=function(a){a&1&&(G(0,"div",58)(1,"span",60),R(2,"No results found"),H()())},UGa=function(a,b){a&1&&(G(0,"div",22),Q(1,RGa,28,4,"table",23),Q(2,SGa,2,0,"div",24),Q(3,TGa,3,0,"div",24),H());a&2&&(a=b.issues,z(1),F("ngIf",a&&a.length),z(1),F("ngIf",!a),z(1),F("ngIf",0===(null==a?null:a.length)))},VGa=
function(a){if(a&1){var b=v();G(0,"button",4);M("click",function(c){w(b);O().expansionChange.emit();c.stopPropagation();return y()});I(1,"b-icon",5);H()}a&2&&(a=O(),qf("collapsed",!a.expanded),gf("aria-label",a.expanded?"Collapse children":"Expand children"))},WGa=function(a){a&1&&I(0,"div",6)},XGa=function(){},$Ga=function(){var a={timeout:5E3};a=void 0===a?{}:a;return null!=YGa?YGa:YGa=ZGa(a)},aHa=function(){return new Promise(function(a,b){window.gapi.load("client",{callback:a,onerror:b})})},ZGa=
function(a){a=void 0===a?{}:a;var b;return he(function(c){if(1==c.nextAddress)return(b=window.gapi)&&b.client&&b.client.load?c.return(b):c.yield(bHa(Fn(Gn("https://apis.google.com/js/api.js")),a),2);if(3!=c.nextAddress){b=window.gapi;if(!b)throw Error("fd");return b.client&&b.client.load?c.jumpTo(3):c.yield(aHa(),3)}return c.return(b)})},cHa=function(a,b,c){var d=a.config.get(b);c!==d&&a.config.update(b,c)},eHa=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(dHa.has(a))return dHa.get(a);b=Promise.resolve(c.reloadAuthResponse()).finally(function(){dHa.delete(a)});dHa.set(a,b);return b}return Promise.resolve()},fHa=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})},gHa=function(a){if(a&1){var b=v();G(0,"div",5);M("clickOutside",function(){w(b);var c=O();return y(c.hide())});
G(1,"div",6);R(2," Relative link may be malformed:\u00a0 ");G(3,"code");R(4);H();G(5,"button",7);M("click",function(){w(b);var c=O();return y(c.copyToClipboard())});I(6,"mat-icon",8);H()();G(7,"div",6);R(8," Force open as: \u00a0 ");G(9,"a",9);M("click",function(c){w(b);var d=O();wEa(c)||(c.preventDefault(),c.stopPropagation(),Hn(d.domSafe,"http://"+d.originalHref));return y()});R(10);H()()()}a&2&&(a=O(),z(4),Ef(a.originalHref),z(5),zf("href","http://",a.originalHref,"",Md),z(1),Df(" http://",a.originalHref,
" "))},hHa=function(){return{color:"accent",clickAction:"check-indeterminate"}},iHa=function(a){a&1&&(G(0,"b-glue"),I(1,"mat-icon",5),H())},mHa=function(a){if(a&1){var b=v();G(0,"div",6);M("clickOutside",function(){w(b);var c=O();return y(c.hide())});G(1,"span",7)(2,"a",8);M("click",function(c){w(b);var d=O();return y(jHa(d,c))})("keydown",function(c){w(b);var d=O();return y(kHa(d,c))});R(3);H()();G(4,"button",9);M("keydown.Tab",function(c){w(b);var d=O();return y(lHa(d,c))})("click",function(){w(b);
var c=O();return y(c.copyToClipboard())});I(5,"mat-icon",10);H()()}a&2&&(a=O(),z(2),F("href",a.originalHref,Md)("rel",a.EXTERNAL_LINK_REL),z(1),Ef(a.originalHref))},nHa=function(a){a&1&&(J(0),I(1,"img",3),S(2,"async"),L());if(a&2){a=O(2);var b;z(1);F("src",T(2,2,a.srcRedirected$),Md);gf("alt",null!==(b=a.alt)&&void 0!==b?b:"user provided image")}},oHa=function(a){a&1&&(J(0),Q(1,nHa,3,4,"ng-container",0),S(2,"async"),L());if(a&2){a=O();var b=Cf(3);z(1);F("ngIf",T(2,2,a.showImage$))("ngIfElse",b)}},
pHa=function(a){if(a&1){var b=v();G(0,"a",4);M("click",function(c){w(b);var d=O();return y(d.trigger(c))})("keydown.enter",function(c){w(b);var d=O();return y(d.trigger(c))});S(1,"async");S(2,"async");G(3,"b-glue");I(4,"mat-icon",5);H();J(5);R(6);S(7,"async");L();H()}a&2&&(a=O(),F("href",T(1,3,a.src$),Md)("title",T(2,5,a.src$)),z(6),Ef(T(7,7,a.srcTruncated$)))},qHa=function(a){a&1&&(I(0,"mat-icon",6),S(1,"async"));a&2&&(a=O(),zf("matTooltip","Unable to load image ",T(1,1,a.srcTruncated$),""))},rHa=
function(a){a&1&&(J(0),I(1,"br"),G(2,"a",4),I(3,"b-secure-image-widget",5),H(),I(4,"br"),L());if(a&2){a=O().ngIf;var b=O();z(2);F("href",a,Md)("rel",b.EXTERNAL_LINK_REL);z(1);F("src",a)("alt",b.alt||"User provided screenshot")("showByDefault",!0)}},sHa=function(a){a&1&&I(0,"b-secure-image-widget",6);if(a&2){a=O().ngIf;var b=O();F("src",a)("alt",b.alt||"User provided screenshot")("showByDefault",!1)}},tHa=function(a){a&1&&(J(0)(1,1),S(2,"async"),Q(3,rHa,5,5,"ng-container",2),Q(4,sHa,1,3,"b-secure-image-widget",
3),L()());a&2&&(a=O(),z(1),F("ngSwitch",T(2,3,a.displayMode$)),z(2),F("ngSwitchCase",a.DisplayMode.SHOW),z(1),F("ngSwitchCase",a.DisplayMode.COLLAPSE))},uHa=function(a){for(;a.firstChild;)a.removeChild(a.firstChild)},vHa=function(a,b){a&1&&(J(0),I(1,"b-plain-format-section",2),L());a&2&&(a=b.$implicit,z(1),F("section",a))},wHa=function(a){a&1&&I(0,"b-plain-format-quoted-section",1);a&2&&(a=O(),F("section",a.section))},xHa=function(a){a&1&&I(0,"b-plain-format-unquoted-section",1);a&2&&(a=O(),F("section",
a.section))},zHa=function(a){if(a&1){var b=v();G(0,"a",4);M("click",function(){w(b);var c=O();c.showQuote=!0;yHa(c);return y()});R(1," - Show quoted text - ");H()}a&2&&(a=O(),gf("aria-controls",a.childId))},AHa=function(a){if(a&1){var b=v();G(0,"a",5);M("click",function(){w(b);var c=O();c.showQuote=!1;yHa(c);return y()});R(1," - Hide quoted text - ");H()}a&2&&(a=O(),gf("aria-controls",a.childId))},BHa=function(a,b){a&1&&(J(0),I(1,"b-literal-format-presenter",1),L());a&2&&(a=b.ngIf,z(1),F("content",
a))},CHa=function(a,b){a&1&&(J(0),I(1,"b-markdown-format-presenter",1),L());a&2&&(a=b.ngIf,z(1),F("content",a))},DHa=function(a,b){a&1&&(J(0),I(1,"b-plain-format-presenter",1),L());a&2&&(a=b.ngIf,z(1),F("content",a))},EHa=function(a){switch(a.formattingMode){case "LITERAL":return(0,E.of)({literalFormat:{content:rta(Eg(a.comment))}});case "MARKDOWN":return a={markdownFormat:{content:rta(Eg(""))}},(0,E.of)(a);case void 0:case "PLAIN":case "UNSPECIFIED_FORMATTING_MODE":return a={plainFormat:{plainSection:[{isQuoted:!1,
content:rta(Eg(a.comment))}]}},(0,E.of)(a);default:return rh(a.formattingMode,"Unknown formatting mode: "+a.formattingMode)}},FHa=function(a,b){a&1&&(J(0),G(1,"div",1),I(2,"b-formatted-comment-presenter",2),H(),L());a&2&&(a=b.$implicit,b=O(),z(1),qf("invisible",""===(b.comment||"").trim())("error",a.isFallback),z(1),F("formattedComment",a.formattedComment))},GHa=function(a){a&1&&(G(0,"a",2),I(1,"mat-icon",3),H());a&2&&(a=O(),F("href",a.mdHelpLink,Md)("disableRipple",!0))},HHa=function(a){a&1&&I(0,
"b-formatted-comment-presenter",4);a&2&&(a=O(),F("formattedComment",a.note.formattedComment))},IHa=function(a){a&1&&I(0,"b-live-preview",5);a&2&&(a=O(),F("comment",a.rawComment)("issueId",a.issueId)("audience",a.audience)("formattingMode",a.formattingModeOverride||a.formattingMode||a.FormattingMode.PLAIN)("idPrefix",a.idPrefix))},JHa=function(a,b){if(a&1){var c=v();G(0,"a",8);M("click",function(){var d=w(c).$implicit,e=O(2);return y(e.clickSegment.emit(d.name||d.path))});R(1);H()}a&2&&(a=b.$implicit,
F("href",a.path,Md),z(1),Df(" ",a.name||a.path," "))},KHa=function(a){a&1&&(J(0),G(1,"button",4),I(2,"mat-icon",5),H(),G(3,"mat-menu",null,6),Q(5,JHa,2,2,"a",7),H(),L());if(a&2){var b=Cf(4);a=O();z(1);F("matMenuTriggerFor",b);z(4);F("ngForOf",a.segments)}},LHa=function(a){if(a&1){var b=v();G(0,"button",4);M("click",function(){w(b);var c=O();return y(c.toggle())});I(1,"mat-icon",5);H()}a&2&&(a=O(),qf("isClosed",a.isClosed),F("ngClass",a.direction)("matTooltip",a.toggleButtonLabel),gf("aria-label",
a.toggleButtonLabel),z(1),F("svgIcon",a.isLTR?"chevron-left":"chevron-right"))},MHa=function(a){a=a.getBoundingClientRect();return 0<=a.top&&a.bottom<=window.innerHeight},NHa=function(a){a=a.getBoundingClientRect();return 0<a.bottom&&a.top<window.innerHeight},OHa=function(a,b,c,d){var e=(d=void 0===d?!1:d)?function(g){return c.partially(g)}:function(g){return c.fully(g)};return(new E.Observable(function(g){g.next(e(a));var h=b(function(l){g.next(l[0].isIntersecting)},d?{threshold:0}:{threshold:1});
h.observe(a);return function(){h.unobserve(a)}})).pipe(Fe())},PHa=function(a,b,c){var d=(void 0===c?0:c)?function(e){return b.partially(e)}:function(e){return b.fully(e)};return(0,E.merge)((0,E.of)(void 0),(0,E.fromEvent)(window,"scroll").pipe(De(500))).pipe(D(function(){return d(a)}),Fe())},QHa=function(a){a&1&&(G(0,"span",8),R(1),H());a&2&&(a=O(),z(1),Ef(a.placeholder))},RHa=function(a){a&1&&(G(0,"span",12),R(1),H());a&2&&(a=O(2),z(1),Ef(a.triggerValue))},SHa=function(a){a&1&&yf(0,0,["*ngSwitchCase",
"true"])},THa=function(a){a&1&&(G(0,"span",9),Q(1,RHa,2,1,"span",10),Q(2,SHa,1,0,"ng-content",11),H());a&2&&(a=O(),F("ngSwitch",!!a.customTrigger),z(2),F("ngSwitchCase",!0))},UHa=function(a){if(a&1){var b=v();G(0,"div",13)(1,"div",14,15);M("@transformPanel.done",function(c){w(b);var d=O();return y(d._panelDoneAnimatingStream.next(c.toState))})("keydown",function(c){w(b);var d=O();return y(d._handleKeydown(c))});yf(3,1);H()()}a&2&&(a=O(),F("@transformPanelWrap",void 0),z(1),tf("mat-select-panel ",
a._getPanelTheme(),""),pf("transform-origin",a._transformOrigin)("font-size",a._triggerFontSize,"px"),F("ngClass",a.panelClass)("@transformPanel",a.multiple?"showing-multiple":"showing"),gf("id",a.id+"-panel")("aria-multiselectable",a.multiple)("aria-label",a.ariaLabel||null)("aria-labelledby",a._getPanelAriaLabelledby()))},VHa=function(a){a&1&&vf(0)},WHa=function(a){if(a&1){var b=v();G(0,"div",3);M("mouseenter",function(){w(b);var c=O();return y(c.toggle(!0))})("mouseleave",function(){w(b);var c=
O();return y(c.toggle(!1))})("mousemove",function(){w(b);O().activity.next();return y()});Q(1,VHa,1,0,"ng-container",4);H()}a&2&&(a=O(),F("ngClass",a.bubbleStyle)("@fade",void 0),z(1),F("ngTemplateOutlet",a.panelTemplate))},XHa=function(a){a&1&&(J(0),G(1,"span",3),R(2),S(3,"toAccessLevelLabel"),H(),L());a&2&&(a=O(2),z(1),qf("xs",a.compactMode),F("ngClass",a.chipClass),z(1),Df(" ",Mf(3,4,a.accessLevel,a.compactMode)," "))},YHa=function(a){a&1&&(G(0,"div",7),R(1),G(2,"a",8),R(3," Learn more"),H()());
a&2&&(a=O(3),z(1),Df(" ",a.bubbleText," "),z(1),F("href",In(a.documentationLinks),Md))},ZHa=function(a){a&1&&(G(0,"xap-bubble",4)(1,"span",5),R(2),S(3,"toAccessLevelLabel"),H(),Q(4,YHa,4,2,"ng-template",null,6,Zf),H());if(a&2){var b=Cf(5);a=O(2);F("panelTemplate",b);z(1);qf("xs",a.compactMode);F("ngClass",a.chipClass);z(1);Df(" ",Mf(3,5,a.accessLevel,a.compactMode)," ")}},$Ha=function(a){a&1&&(J(0),Q(1,XHa,4,7,"ng-container",1),Q(2,ZHa,6,8,"ng-template",null,2,Zf),L());if(a&2){var b=Cf(3);a=O();z(1);
F("ngIf",a.labelOnlyMode)("ngIfElse",b)}},aIa=function(a){a&1&&(J(0),R(1,"Un-"),L())},bIa=function(a){a&1&&(G(0,"span"),R(1," Assigned to "),I(2,"b-user-display",16),H());a&2&&(a=O(2).ngIf,z(2),F("model",a.assigneeUser)("hovercardEnabled",!1))},cIa=function(a){a&1&&(G(0,"span"),R(1," Accepted by "),I(2,"b-user-display",16),H());a&2&&(a=O(2).ngIf,z(2),F("model",a.assigneeUser)("hovercardEnabled",!1))},dIa=function(a){a&1&&(G(0,"span"),R(1," Duplicate of "),G(2,"a",3),R(3),H()());if(a&2){a=O(2).ngIf;
var b=O(),c;z(2);jf("aria-label","Go to issue ",a.duplicateOfIssueId,"");F("href",b.editIssue(null!==(c=a.duplicateOfIssueId)&&void 0!==c?c:void 0),Md);z(1);Df(" ",a.duplicateOfIssueId," ")}},eIa=function(a){a&1&&(G(0,"span"),R(1),H());if(a&2){a=O().ngIf;var b=O(2);z(1);Df(" ",b.STATUS_JS_FULL_TEXT[a]," ")}},fIa=function(a,b){a&1&&(J(0,13),Q(1,bIa,3,2,"span",14),Q(2,cIa,3,2,"span",14),Q(3,dIa,4,3,"span",14),Q(4,eIa,2,1,"span",15),L());a&2&&(F("ngSwitch",b.ngIf),z(1),F("ngSwitchCase","ASSIGNED"),z(1),
F("ngSwitchCase","ACCEPTED"),z(1),F("ngSwitchCase","DUPLICATE"))},gIa=function(a,b){a&1&&(J(0),I(1,"b-app-vote-button",17),L());if(a&2){a=b.ngIf;b=O().ngIf;var c=O(2),d;z(1);F("issueId",c.issueId)("voteCount",b.voteCount)("upvoted",null!==(d=a.voted)&&void 0!==d?d:!1)}},hIa=function(a){a&1&&(J(0),Q(1,gIa,2,3,"ng-container",1),L());a&2&&(a=O(2),z(1),F("ngIf",a.issue.userData))},jIa=function(a){if(a&1){var b=v();J(0);G(1,"button",18);M("click",function(){w(b);var c=O(2);return y(iIa(c,c.childContextId))});
R(2," Unlink parent ");H();L()}},kIa=function(a,b){a&1&&(G(0,"li"),R(1," Last updated by "),I(2,"b-user-display",16),R(3," on: "),I(4,"b-formatted-date-time",19),H());a&2&&(a=b.ngIf,b=O().ngIf,z(2),F("model",a)("hovercardEnabled",!1),z(2),F("timestamp",b.modifiedTimeMicros/1E3))},lIa=function(a,b){a&1&&(J(0),Q(1,kIa,5,3,"li",1),G(2,"li"),R(3," Reported by "),I(4,"b-user-display",16),R(5," on: "),I(6,"b-formatted-date-time",19),H(),L());a&2&&(a=b.ngIf,b=O().ngIf,z(1),F("ngIf",a.lastModifier),z(3),
F("model",b.reporterUser)("hovercardEnabled",!1),z(2),F("timestamp",a.createdTimeMicros/1E3))},mIa=function(a){a&1&&(G(0,"li",20),I(1,"b-note-container",21),H());if(a&2){a=O(2);var b;z(1);F("issueId",a.issueId)("issueAccessLevel",null==a.issue.accessLimit?null:a.issue.accessLimit.accessLevel)("formattingMode",null!==(b=a.firstEvent.formattingMode)&&void 0!==b?b:a.FormattingMode.UNSPECIFIED_FORMATTING_MODE)("note",a.getNote())}},pIa=function(a,b){if(a&1){var c=v();J(0);G(1,"div",2)(2,"h3")(3,"a",3);
R(4);H();R(5," \u00a0 ");G(6,"span",4);R(7);H()();G(8,"ul")(9,"li",5);I(10,"b-access-level-indicator",6);H();G(11,"li",7)(12,"span",8);R(13);H();R(14," \u00a0 ");Q(15,fIa,5,4,"ng-container",9);H()();G(16,"div",10)(17,"b-cc-button",11);M("onCc",function(g){w(c);var h=O();h.location&&g&&h.analytics.trackEvent(h.location+"_"+Jn.ISSUE_CARD,"add","CC");return y()});H();Q(18,hIa,2,1,"ng-container",1);Q(19,jIa,3,0,"ng-container",1);H();G(20,"ul");Q(21,lIa,7,4,"ng-container",1);Q(22,mIa,2,4,"li",12);H()();
L()}if(a&2){a=b.ngIf;b=O();var d,e;z(3);jf("aria-label","Go to issue ",b.issueId,"");F("href",b.editIssue(b.issueId),Md);z(1);Ef(b.issueId);z(3);Ef(a.title);z(3);F("labelOnlyMode",!0)("accessLevel",null==b.issue.accessLimit?null:b.issue.accessLimit.accessLevel);z(2);F("ngClass",b.priorityClass(a.priority));z(1);Ef(b.ISSUE_PRIORITY_TEXT_JS[null!==(d=a.priority)&&void 0!==d?d:b.ISSUE_PRIORITY_ENUM.PRIORITY_UNSPECIFIED]);z(2);F("ngIf",a.status);z(2);F("issueId",b.issueId)("ccState",nIa(b,null!==(e=a.ccUsers)&&
void 0!==e?e:If(15,oIa)));z(1);F("ngIf",b.issue.aggregatedData);z(1);F("ngIf",b.childContextId);z(2);F("ngIf",b.issue.aggregatedData);z(1);F("ngIf",b.firstEvent.unlinkifiedComment)}},qIa=function(a){a&1&&I(0,"b-user-image",5);a&2&&(a=O(),F("email",a.email))},rIa=function(a){a&1&&vf(0)},sIa=function(a){a&1&&(J(0),G(1,"span",6),Q(2,rIa,1,0,"ng-container",7),H(),G(3,"onedev-hovercard",null,8),I(5,"b-issue-person-card",9),H(),L());if(a&2){var b=Cf(4);a=O();var c=Cf(4);z(1);F("onedevHovercardTrigger",
b);z(1);F("ngTemplateOutlet",c);z(3);F("email",a.email)}},tIa=function(a){a&1&&(G(0,"span"),R(1),H());a&2&&(a=O(),z(1),Ef(a.email))},uIa=function(a){a&1&&(G(0,"span",10),I(1,"b-availability-chip",11),H());a&2&&(a=O(),z(1),F("user",a.email))},vIa=function(a){a&1&&I(0,"b-icon",7)},wIa=function(a){a&1&&I(0,"b-user-image",8);a&2&&(a=O(2),F("email",a.email))},xIa=function(a){a&1&&(J(0),Q(1,vIa,1,0,"b-icon",5),Q(2,wIa,1,1,"ng-template",null,6,Zf),L());if(a&2){var b=Cf(3);a=O();z(1);F("ngIf",a.enableGroupIcon&&
a.isGroup)("ngIfElse",b)}},yIa=function(a){a&1&&I(0,"b-user-display-name",9);a&2&&(a=O(),F("email",a.email)("hovercardFocusEnabled",!0)("availabilityChipEnabled",!1))},zIa=function(a){a&1&&vf(0)},AIa=function(a){a&1&&(J(0),G(1,"span",12),Q(2,zIa,1,0,"ng-container",13),H(),G(3,"onedev-hovercard",null,14),I(5,"b-issue-person-card",15),H(),L());if(a&2){var b=Cf(4);O();var c=Cf(2);a=O();z(1);F("onedevHovercardTrigger",b);z(1);F("ngTemplateOutlet",c);z(3);F("email",a.email)}},BIa=function(a){a&1&&(G(0,
"span",16),R(1),H());a&2&&(a=O(2),z(1),Ef(a.email))},CIa=function(a){a&1&&(Q(0,AIa,6,3,"ng-container",10),Q(1,BIa,2,1,"ng-template",null,11,Zf));if(a&2){var b=Cf(2);a=O();F("ngIf",a.isNonObfuscatedEmail(a.email))("ngIfElse",b)}},DIa=function(a){a&1&&(I(0,"mat-icon",17),S(1,"async"),S(2,"async"));if(a&2){a=O();var b,c;F("svgIcon",null!==(b=T(1,2,a.iconName$))&&void 0!==b?b:"")("matTooltip",null!==(c=T(2,4,a.iconToolTip$))&&void 0!==c?c:"")}},EIa=function(a){a&1&&(J(0),I(1,"b-availability-chip",18),
L());a&2&&(a=O(),z(1),F("user",a.email))},FIa=function(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1}},GIa=function(a,b){a&1&&(G(0,"div",0,1),yf(2),H());a&2&&(a=b.id,b=O(),F("id",b.id)("ngClass",b._classList),gf("aria-label",b.ariaLabel||null)("aria-labelledby",b._getPanelAriaLabelledby(a)))},HIa=function(a){a&1&&(G(0,"div")(1,"div",9),R(2," An issue cannot reference itself. "),H()())},IIa=function(a){a&1&&(G(0,"mat-option",10)(1,"div",11),I(2,"b-spinner",
12),H()());a&2&&(z(2),F("large",!0))},JIa=function(a){a&1&&(G(0,"mat-option",13),R(1," No issues found. "),H())},KIa=function(a){a&1&&I(0,"mat-icon",24);if(a&2){a=O().$implicit;var b=O();F("svgIcon",b.STATUS_ICON[a.status])}},LIa=function(a){a&1&&I(0,"b-issue-card",25,26);if(a&2){var b=Cf(1);a=O().$implicit;F("onedevIsHovercardReady",b.init)("issueId",a.resourceId)}},NIa=function(a,b){a&1&&(G(0,"mat-option",14)(1,"div",15),Q(2,KIa,1,1,"mat-icon",16),G(3,"strong",17),R(4),H(),G(5,"onedev-hovercard",
null,18),Q(7,LIa,2,2,"b-issue-card",19),H(),G(8,"a",20),M("click",function(d){return d.stopPropagation()}),I(9,"mat-icon",21),H(),G(10,"span",22),R(11),H(),I(12,"div",23),S(13,"boldPrefixMatches"),H()());if(a&2){a=b.$implicit;var c=Cf(6);b=O();F("value",a);z(1);gf("aria-label",a.resourceId+", "+a.displayText+", click ALT RightArrow to open the issue in a new tab.");z(1);F("ngIf",a.status);z(1);Af("title",a.resourceId);z(1);Df(" ",a.resourceId," ");z(4);F("onedevHovercardTrigger",c)("href",b.getIssueLink(a),
Md);z(3);Ef(MIa(a));z(1);Af("title",a.displayText);F("innerHTML",Mf(13,10,a.displayText,b.query),Ld)}},OIa=function(a,b){a&1&&(G(0,"a",13),R(1),H());a&2&&(a=b.$implicit,b=b.last,zf("href","issues/",a.resourceId,"",Md),z(1),Ff(" ",a.resourceId,"",b?"":","," "))},PIa=function(a){a&1&&(G(0,"div",11),Q(1,OIa,2,3,"a",12),H());a&2&&(a=O(),z(1),F("ngForOf",a.selectedIssues))},QIa=function(a){a&1&&(G(0,"div",11)(1,"a",14)(2,"span",15),R(3),H(),G(4,"span"),I(5,"mat-icon",16),H()()());a&2&&(a=O(),z(1),zf("href",
"issues/",a.selectedIssues[0].resourceId,"",Md),z(2),Df(" ",a.selectedIssues[0].displayText," "))},SIa=function(a){if(a&1){var b=v();G(0,"div",17)(1,"div",18);M("click",function(){w(b);var c=O();return y(RIa(c))})("keyup.space",function(){w(b);var c=O();return y(RIa(c))});H()()}a&2&&(a=O(),z(1),F("matTooltip",a.isQueryRestricted?"Searching in current component tree":"Click to search in current component tree"),gf("aria-checked",a.isQueryRestricted))},TIa=function(a,b){return[].concat(Vc(b)).map(function(c){return Kn[c]}).every(function(c){return c.check(a)})},
UIa=function(a){return!!Kn[a]},Ln=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))},VIa=function(a){a&1&&yf(0)},WIa=function(a){a&1&&vf(0)},XIa=function(a){if(a&1){var b=v();G(0,"button",7,8);M("click",function(e){w(b);var g=O();return y(g.onClick(e))});Q(2,WIa,1,0,"ng-container",9);H()}if(a&2){a=O();var c=Cf(1),d;F("color",a.color)("disabled",a.disabled)("ngClass",a.size)("matTooltip",null!==(d=a.tooltip)&&
void 0!==d?d:"");gf("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);z(2);F("ngTemplateOutlet",c)}},YIa=function(a){a&1&&vf(0)},ZIa=function(a){if(a&1){var b=v();G(0,"button",10,8);M("click",function(e){w(b);var g=O();return y(g.onClick(e))});Q(2,YIa,1,0,"ng-container",9);H()}if(a&2){a=O();var c=Cf(1),d;F("color",a.color)("disabled",a.disabled)("ngClass",a.size)("matTooltip",null!==(d=a.tooltip)&&void 0!==d?d:"");gf("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);z(2);F("ngTemplateOutlet",
c)}},$Ia=function(a){a&1&&vf(0)},aJa=function(a){if(a&1){var b=v();G(0,"button",11,8);M("click",function(e){w(b);var g=O();return y(g.onClick(e))});Q(2,$Ia,1,0,"ng-container",9);H()}if(a&2){a=O();var c=Cf(1),d;F("color",a.color)("disabled",a.disabled)("ngClass",a.size)("matTooltip",null!==(d=a.tooltip)&&void 0!==d?d:"");gf("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);z(2);F("ngTemplateOutlet",c)}},bJa=function(a){a&1&&vf(0)},cJa=function(a){if(a&1){var b=v();G(0,"button",12,8);M("click",
function(e){w(b);var g=O();return y(g.onClick(e))});Q(2,bJa,1,0,"ng-container",9);H()}if(a&2){a=O();var c=Cf(1),d;F("color",a.color)("disabled",a.disabled)("ngClass",a.size)("matTooltip",null!==(d=a.tooltip)&&void 0!==d?d:"");gf("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);z(2);F("ngTemplateOutlet",c)}},dJa=function(a){a&1&&vf(0)},eJa=function(a){if(a&1){var b=v();G(0,"button",7,8);M("click",function(e){w(b);var g=O();return y(g.onClick(e))});Q(2,dJa,1,0,"ng-container",9);H()}if(a&
2){a=O();var c=Cf(1),d;F("color",a.color)("disabled",a.disabled)("ngClass",a.size)("matTooltip",null!==(d=a.tooltip)&&void 0!==d?d:"");gf("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);z(2);F("ngTemplateOutlet",c)}},fJa=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:rh(a)}},hJa=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=gJa(b),g=b.nextElementSibling&&gJa(b.nextElementSibling),h=b.previousElementSibling&&gJa(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 x;if((null==(x=b.nextElementSibling)?0:x.classList.contains("dragging"))&&e===g)return d="none",c();d="after";return c()}d="current";return c()},gJa=function(a){return Number(a.dataset.level)},iJa=function(a){var b;return Mn(null!=(b=a.dataset.ancestorchain)?b:"")},jJa=function(a){a&1&&I(0,"th",28)},kJa=function(a){if(a&1){var b=v();G(0,"td",29,30);M("click",function(c){w(b);Cf(1).focus();return y(c.stopPropagation())});H()}},lJa=function(a){a&1&&I(0,"th",28)},mJa=function(a){if(a&
1){var b=v();G(0,"td",31,32);M("click",function(c){w(b);Cf(1).focus();return y(c.stopPropagation())})("dragstart",function(c){w(b);var d=O();return y(d.handleDragStart(c))});I(2,"mat-icon",33);H()}},nJa=function(a){a&1&&(G(0,"th",28),R(1," Id "),H())},oJa=function(a,b){a&1&&(G(0,"td",34),I(1,"b-issue-id-cell",35),H());a&2&&(a=b.$implicit,z(1),F("id",a.id))},pJa=function(a){a&1&&(G(0,"th",28),R(1," Id "),H())},qJa=function(a){a&1&&(G(0,"td",34),R(1,"--"),H())},rJa=function(a){a&1&&(G(0,"th",28),R(1,
" Title "),H())},sJa=function(a,b){if(a&1){var c=v();G(0,"td",34)(1,"b-expandable-issue-title-cell",36);M("expansionChange",function(){var d=w(c).$implicit,e=O();return y(e.toggleExpansion(d))});S(2,"async");S(3,"async");H()()}a&2&&(a=b.$implicit,z(1),F("issue",T(2,4,a.issue$))("expandable",T(3,6,a.hasChildren$))("expanded",!!a.expandedCount)("level",a.level))},tJa=function(a){a&1&&(G(0,"th",28),R(1," Type "),H())},uJa=function(a,b){a&1&&(G(0,"td",34),I(1,"b-issue-type-cell",37),S(2,"async"),H());
a&2&&(a=b.$implicit,z(1),F("issue",T(2,1,a.issue$)))},vJa=function(a){a&1&&(G(0,"th",28),R(1," Assignee "),H())},wJa=function(a,b){a&1&&(J(0),G(1,"b-person-hovercard",41),R(2),H(),L());a&2&&(a=b.$implicit,b=O(3),z(1),F("email",b.getAssigneeString(a)),z(1),Df(" ",b.ldapOnly(b.getAssigneeString(a))," "))},xJa=function(a){a&1&&(J(0),Q(1,wJa,3,2,"ng-container",21),S(2,"async"),L());a&2&&(a=O().$implicit,z(1),F("ngIf",T(2,1,a.issue$)))},yJa=function(a,b){a&1&&I(0,"b-user-image",41);a&2&&F("email",b.$implicit)},
zJa=function(a,b){a&1&&(J(0),Q(1,yJa,1,1,"b-user-image",42),L());a&2&&(a=b.$implicit,b=O(3),z(1),F("ngIf",b.getAssigneeString(a)))},AJa=function(a){a&1&&(J(0),Q(1,zJa,2,1,"ng-container",21),S(2,"async"),L());a&2&&(a=O().$implicit,z(1),F("ngIf",T(2,1,a.issue$)))},BJa=function(a,b){a&1&&I(0,"b-user-image",41);a&2&&F("email",b.$implicit)},CJa=function(a){a&1&&(J(0),Q(1,BJa,1,1,"b-user-image",42),L());if(a&2){a=O().$implicit;var b=O(3);z(1);F("ngIf",b.getAssigneeString(a))}},DJa=function(a,b){a&1&&(J(0),
Q(1,CJa,2,1,"ng-container",21),L());a&2&&(a=b.$implicit,b=O(3),z(1),F("ngIf",b.isInProgress(a)))},EJa=function(a){a&1&&(J(0),Q(1,DJa,2,1,"ng-container",21),S(2,"async"),L());a&2&&(a=O().$implicit,z(1),F("ngIf",T(2,1,a.issue$)))},FJa=function(a){a&1&&(I(0,"b-issue-assignee-cell",37),S(1,"async"));a&2&&(a=O().$implicit,F("issue",T(1,1,a.issue$)))},GJa=function(a){a&1&&(G(0,"td",34),J(1,38),Q(2,xJa,3,3,"ng-container",39),Q(3,AJa,3,3,"ng-container",39),Q(4,EJa,3,3,"ng-container",39),Q(5,FJa,2,3,"b-issue-assignee-cell",
40),L(),H());a&2&&(a=O(),z(1),F("ngSwitch",a.options.assigneeMode),z(1),F("ngSwitchCase","short"),z(1),F("ngSwitchCase","avatar"),z(1),F("ngSwitchCase","avatar-in-progress"))},HJa=function(a){a&1&&(G(0,"th",28),R(1," Status "),H())},IJa=function(a,b){a&1&&(J(0),G(1,"a",45),R(2," Fix Pending "),H(),L());a&2&&(a=b.$implicit,z(1),zf("href","http://cl/",a.changelistNumber,"",Md),Bf("matTooltip","Open cl/",a.changelistNumber," from ",a.author,""))},JJa=function(a){a&1&&(J(0),Q(1,IJa,3,3,"ng-container",
21),L());if(a&2){a=O().$implicit;var b=O();z(1);F("ngIf",null==b.projectData?null:null==b.projectData.bugToPendingFixCl?null:b.projectData.bugToPendingFixCl.get(a.id))}},KJa=function(a){a&1&&(I(0,"b-issue-status-cell",37),S(1,"async"));a&2&&(a=O().$implicit,F("issue",T(1,1,a.issue$)))},MJa=function(a,b){a&1&&(G(0,"td",34),Q(1,JJa,2,1,"ng-container",43),Q(2,KJa,2,3,"ng-template",null,44,Zf),H());if(a&2){a=b.$implicit;var c=Cf(3);b=O();z(1);F("ngIf",b.options.showPendingFixCls&&LJa(b,a.id))("ngIfElse",
c)}},NJa=function(a){a&1&&(G(0,"th",28),R(1," Team "),H())},OJa=function(a,b){a&1&&(G(0,"td",34),I(1,"b-issue-team-cell",37),S(2,"async"),H());a&2&&(a=b.$implicit,z(1),F("issue",T(2,1,a.issue$)))},PJa=function(a){a&1&&I(0,"th",28)},QJa=function(a,b){a&1&&(G(0,"td",34)(1,"b-actions-menu",46),M("click",function(c){return c.stopPropagation()}),H()());a&2&&(a=b.$implicit,b=O(),z(1),F("menuItems",b.getMenuItems(a)))},RJa=function(a){a&1&&(G(0,"th",28),R(1," CLs "),H())},SJa=function(a,b){a&1&&(G(0,"b-async-data-placeholder",
48)(1,"a",49),M("click",function(c){return c.stopPropagation()}),I(2,"b-formatted-date-time",50),H()());a&2&&(a=b.ngIf,F("isReady",null!==a.cl),z(1),zf("href","http://cl/",null==a.cl?null:a.cl.changelistNumber,"",Md)("matTooltip","Submitted by ",null==a.cl?null:a.cl.author,""),z(1),F("paddingLeftPx",0)("timestamp",null==a.cl?null:a.cl.timestamp))},UJa=function(a){a&1&&(J(0),Q(1,SJa,3,5,"b-async-data-placeholder",47),S(2,"async"),S(3,"mostRecentCL$"),L());a&2&&(a=O().$implicit,z(1),F("ngIf",Jf(5,TJa,
T(2,1,T(3,3,a.issue$)))))},VJa=function(a,b){a&1&&(G(0,"td",34),Q(1,UJa,4,7,"ng-container",21),H());a&2&&(a=b.$implicit,z(1),F("ngIf",0<a.level))},WJa=function(a){a&1&&I(0,"th",28)},XJa=function(a){a&1&&(G(0,"b-actions-menu",46),M("click",function(c){return c.stopPropagation()}),H());if(a&2){a=O().$implicit;var b=O();F("menuItems",b.getMenuItemsForDraft(a))}},YJa=function(a){a&1&&I(0,"b-spinner")},ZJa=function(a,b){a&1&&(G(0,"td",51),Q(1,XJa,1,1,"b-actions-menu",52),Q(2,YJa,1,0,"ng-template",null,
53,Zf),H());if(a&2){a=b.$implicit;var c=Cf(3);z(1);F("ngIf",!a.saving)("ngIfElse",c)}},$Ja=function(a,b){if(a&1){var c=v();G(0,"td",34)(1,"b-async-data-placeholder",48);S(2,"async");G(3,"b-button",54);M("onAction",function(){var d=w(c).$implicit,e=O();return y(e.displayAllSiblings(d))});G(4,"span",55);R(5);H()()()()}a&2&&(a=b.$implicit,b=O(),pf("padding-left",24*a.level+b.TITLE_FIXED_OFFSET_PX,"px"),gf("colspan",b.tableColumns.length),z(1),F("isReady",!!T(2,5,a.parentIssue$)),z(4),Df("Display ",a.truncatedSiblingCount,
" more"))},aKa=function(a){a&1&&(G(0,"th",28),R(1," Title "),H())},bKa=function(a,b){if(a&1){var c=v();G(0,"td",34)(1,"div",56)(2,"b-text-input-cell",57);M("valueChange",function(d){var e=w(c).$implicit;return y(e.title=d)})("commit",function(){var d=w(c).$implicit,e=O();return y(e.saveDraft(d))});H();G(3,"b-button",58);M("onAction",function(){var d=w(c).$implicit,e=O();return y(e.saveDraft(d))});R(4," Create ");H();G(5,"b-button",59);M("onAction",function(){var d=w(c).$implicit,e=O();return y(e.cancelDraft(d))});
R(6," Cancel ");H()()()}a&2&&(a=b.$implicit,pf("padding-left",24*(a.level+1),"px"),z(2),F("value",a.title)("readonly",a.saving),z(1),F("disabled",!a.title||a.saving),z(2),F("disabled",a.saving))},cKa=function(a){a&1&&I(0,"tr",61)},dKa=function(a){a&1&&(J(0),Q(1,cKa,1,0,"tr",60),L());a&2&&(a=O(),z(1),F("matHeaderRowDef",a.tableColumns))},fKa=function(a,b){if(a&1){var c=v();G(0,"tr",62);M("click",function(d){var e=w(c).$implicit,g=O();return y(g.navigateToIssue(d,e))})("mouseup",function(d){var e=w(c).$implicit,
g=O();return y(g.navigateToIssue(d,e))})("focusin",function(){var d=w(c).$implicit,e=O();return y(En(e.focusManager,d))})("keydown",function(d){var e=w(c).$implicit,g=O();return y(g.onRowKeydown(e,d))});S(1,"async");S(2,"async");S(3,"async");H()}a&2&&(a=b.$implicit,b=O(),qf("selected",T(1,10,eKa(b.selectionModel,a.ancestorChain)))("closed",b.isClosed(T(2,12,a.issue$)))("highlighted",!!b.getUserInvolvement(T(3,14,a.issue$))),F("row",a),gf("data-level",a.level)("data-type",a.type)("data-ancestorchain",
a.ancestorChain.hash()))},gKa=function(a,b){if(a&1){var c=v();G(0,"tr",63);M("focusin",function(){var d=w(c).$implicit,e=O();return y(En(e.focusManager,d))})("keydown",function(d){var e=w(c).$implicit,g=O();return y(g.onRowKeydown(e,d))});H()}a&2&&(a=b.$implicit,F("row",a),gf("data-level",a.level)("data-type",a.type)("data-ancestorchain",a.ancestorChain.hash()))},hKa=function(a,b){if(a&1){var c=v();G(0,"tr",64);M("keydown",function(d){var e=w(c).$implicit,g=O();return y(g.onRowKeydown(e,d))})("keydown.escape",
function(){var d=w(c).$implicit,e=O();return y(e.cancelDraft(d))})("keydown.backspace",function(){var d=w(c).$implicit,e=O();return y(d.title||e.cancelDraft(d))})("focusin",function(){var d=w(c).$implicit,e=O();return y(En(e.focusManager,d))});H()}a&2&&(a=b.$implicit,F("row",a),gf("data-type",a.type))},iKa=function(a){return function(b){return aj(b,Nn,1).map(function(c){return{workspaceId:c.getWorkspaceId(),workspaceName:c.getName(),issueId:a}})}},jKa=function(a,b){if(a&1){var c=v();J(0);G(1,"iframe",
6);M("load",function(){w(c);var d=O();return y(d.contentLoaded=!0)});H();L()}a&2&&(a=b.$implicit,b=O(),z(1),qf("loading",!b.contentLoaded),F("src",a,Hga))},kKa=function(a){a&1&&I(0,"mat-spinner",7)},mKa=function(a){return lKa.some(function(b){return b.test(a)})},nKa=function(a){var b;return null==(b=a.formContent)?void 0:b.locale},rKa=function(a,b){var c=nKa(a);c=(c&&oKa.includes(c)?nKa(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))?Gg(pKa,a):Gg(qKa,a,c)},tKa=function(a,b,c,d){if(sKa)return sKa;var e=rKa(a,d);return sKa=b.feedbackV2GlobalObject?Promise.resolve(b.feedbackV2GlobalObject):new Promise(function(g,h){var l=On(document,"SCRIPT");wh(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)})},vKa=function(a,b,c,d){if(uKa)return uKa;var e=rKa(a,d);return uKa=b.feedbackV2GlobalObject?Promise.resolve(b.feedbackV2GlobalObject):new Promise(function(g,h){var l=On(document,"SCRIPT");wh(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)})},wKa=function(a,b,c,d,e){e=void 0===e?!0:e;var g,h,
l,q,x;return he(function(A){switch(A.nextAddress){case 1:return g=Date.now(),A.yield(tKa(a,c,d,b),2);case 2:h=A.yieldResult;if(!(e||(null==(q=a.initializationData)?0:q.useNightlyRelease)||(null==(x=a.initializationData)?0:x.isLocalServer))){l=h.initializeFeedbackClient(a,g,b);A.jumpTo(3);break}return A.yield(h.initializeFeedbackClientAsync(a,g,b),4);case 4:l=A.yieldResult;case 3:return l.initiateAloha(),A.return(l)}})},xKa=function(a,b,c,d){var e,g,h;return he(function(l){if(1==l.nextAddress)return e=
Date.now(),l.yield(vKa(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)})},yKa=function(a,b,c){var d=!0;d=void 0===d?!0:d;var e,g,h,l,q,x,A,B,K,N;return he(function(P){e=c||ba;if(null==(g=b)?0:null==(l=(h=g).getEnableAlohaBinarySplit)?0:l.call(h)){q=e;if(q.isFormOpened)throw x=Error("gd"),x.name="DuplicateFormError",x;q.isFormOpened=!0;a.callbacks=a.callbacks||{};A=a.callbacks.onClose||
function(){};a.callbacks.onClose=function(Y){q.isFormOpened=!1;A(Y)};try{return P.return(xKa(a,b,q,e))}catch(Y){throw q.isFormOpened=!1,Y;}}else{B=e;if(B.isFormOpened)throw K=Error("gd"),K.name="DuplicateFormError",K;B.isFormOpened=!0;a.callbacks=a.callbacks||{};N=a.callbacks.onClose||function(){};a.callbacks.onClose=function(Y){B.isFormOpened=!1;N(Y)};try{return P.return(wKa(a,b,B,e.document,d))}catch(Y){throw B.isFormOpened=!1,Y;}}})},CKa=function(a,b){return he(function(c){return c.return(new Promise(function(d){var e=
zKa(null!=b?b:"")+"/aloha_form_properties?productId="+a;qh(e,function(g){g=g.target;var h=null;try{h=Nca(AKa,JSON.stringify(g.getResponseJson(")]}'\n")))}catch(l){g=new AKa,h=BKa(),h=Ab(h,7,!0),h=Ab(h,10,!0),h=Ab(h,12,!0),h=Ab(h,13,!1),h=Ab(h,14,!0),h=Ab(h,15,!0),h=Ab(h,20,!1),h=Yi(g,Pn,1,h)}d(h)},"GET","",{},2E3,!0)}))})},zKa=function(a){return mKa(a)?a:"https://www.google.com/tools/feedback"},DKa=function(a){a&1&&(G(0,"div",8),I(1,"b-spinner"),H())},EKa=function(a){a&1&&I(0,"code",22);a&2&&(a=O(2).$implicit,
O(2),F("innerHtml",gk(a.formattingModeDiff),Ld))},FKa=function(a){a&1&&(G(0,"code",23),R(1),H());a&2&&(a=O(2).$implicit,z(1),Df(" ",a.formattingMode," "))},GKa=function(a){a&1&&(G(0,"p",19),R(1," Formatting: "),Q(2,EKa,1,1,"code",20),Q(3,FKa,2,1,"code",21),H());a&2&&(a=O(3),z(2),F("ngIf",a.diffView),z(1),F("ngIf",!a.diffView))},HKa=function(a){if(a&1){var b=v();G(0,"div")(1,"span",24)(2,"b-person-hovercard",25);S(3,"omitObfuscatedEmail");R(4);S(5,"appendDomain");H()();G(6,"a",26);M("click",function(c){w(b);
var d=O().$implicit,e=O(2);d=d.version;c.stopPropagation();c=e.paths.editIssue(e.issueId)+("#comment"+e.commentNumber+"version"+d);e.location.replaceState(c);return y()});R(7);H()()}a&2&&(a=O().$implicit,O(2),z(2),F("email",T(3,5,ei(a.lastEditorUser))),z(2),Df(" <",T(5,7,ei(a.lastEditorUser)),"> "),z(2),jf("aria-label","Comment version ",a.version,""),zf("id","bv2-edit-issue-comment-",a.version,""),z(1),Df(" #",a.version,""))},IKa=function(a){a&1&&(G(0,"div",30),R(1),H());a&2&&(a=O(2).$implicit,z(1),
Ef(a.preview))},JKa=function(a){a&1&&(G(0,"div",31),R(1,"Comment deleted."),H())},KKa=function(a){a&1&&(G(0,"div",32),R(1,"Comment history restricted."),H())},LKa=function(a){a&1&&(J(0),Q(1,IKa,2,1,"div",27),Q(2,JKa,2,0,"div",28),Q(3,KKa,2,0,"div",29),L());a&2&&(a=O().$implicit,z(1),F("ngIf",!a.restricted&&!a.deleted),z(1),F("ngIf",!a.restricted&&a.deleted),z(1),F("ngIf",a.restricted))},MKa=function(a){a&1&&(G(0,"div",35),R(1,"Comment deleted."),H())},NKa=function(a){a&1&&(G(0,"div",36),S(1,"async"),
H());if(a&2){a=O(2).$implicit;var b=O(2);qf("codefont",T(1,3,b.codefont.codefont$));F("innerHtml",a.unlinkifiedComment,Ld)}},OKa=function(a){a&1&&(G(0,"div",36),S(1,"async"),H());if(a&2){a=O(2).$implicit;var b=O(2);qf("codefont",T(1,3,b.codefont.codefont$));F("innerHtml",gk(a.diff),Ld)}},PKa=function(a){a&1&&(G(0,"div",32),R(1," This comment is not available due to present or past restrictions on the comment. "),H())},QKa=function(a){a&1&&(J(0),Q(1,MKa,2,0,"div",33),Q(2,NKa,2,5,"div",34),Q(3,OKa,
2,5,"div",34),Q(4,PKa,2,0,"div",29),L());if(a&2){a=O().$implicit;var b=O(2);z(1);F("ngIf",!a.restricted&&a.deleted);z(1);F("ngIf",!b.diffView&&!a.restricted&&!a.deleted);z(1);F("ngIf",b.diffView&&!a.restricted&&!a.deleted);z(1);F("ngIf",a.restricted)}},RKa=function(a,b){if(a&1){var c=v();G(0,"li",11)(1,"div",12);I(2,"b-user-image",13);H();G(3,"div",14);M("click",function(){var d=w(c).$implicit;return y(d.open=!d.open)});I(4,"b-user-display",15)(5,"b-formatted-date-time",16);Q(6,GKa,4,2,"p",17);Q(7,
HKa,8,9,"div",18);Q(8,LKa,4,3,"ng-container",18);H();Q(9,QKa,5,4,"ng-container",18);H()}a&2&&(a=b.$implicit,O(2),qf("comment-version-open",a.open),z(2),F("email",ei(a.lastEditorUser)),z(2),F("model",a.lastEditorUser),z(1),F("timestamp",a.lastModified),z(1),F("ngIf",!a.deleted),z(1),F("ngIf",a.open),z(1),F("ngIf",!a.open),z(1),F("ngIf",a.open))},SKa=function(a){a&1&&(G(0,"ul",9),Q(1,RKa,10,9,"li",10),H());a&2&&(a=O(),z(1),F("ngForOf",a.history)("ngForTrackBy",a.trackByIndex))},VKa=function(a,b){var c=
new TKa;a=Qn(c,a,b);UKa(c,a);c=a.map(function(d){var e=d[0];d=d[1];switch(e){case -1:return hn("SPAN",{"class":"diff-removed"},d);case 1:return hn("SPAN",{"class":"diff-added"},d);case 0:return hn("SPAN",{"class":null},d);default:throw Error("id`"+e);}});return jn(c)},WKa=function(a){var b;return"DELETED"===(null==(b=a.entityStatus)?void 0:b.status)},XKa=function(a){a&1&&(G(0,"div",2),R(1," You are about to access a file marked as restricted. Access will be logged and audited. You must delete any downloaded files from local storage when finished. "),
G(2,"a",13),R(3," Learn more "),H()());a&2&&(a=O(2),z(2),F("href",a.getRestrictedAccessHelpLink(),Md))},ZKa=function(a){a&1&&(J(0),Q(1,XKa,4,1,"div",8),L());a&2&&(a=O(),z(1),F("ngIf",YKa(a)))},$Ka=function(a){a&1&&(G(0,"div",2)(1,"span",14),R(2," You do not have access to view this attachment. "),H()())},aLa=function(a){a&1&&I(0,"mat-spinner",15)},bLa=function(a){a&1&&(G(0,"span"),R(1),H());a&2&&(a=O(),qf("muted",a.isGreyedOut),z(1),Df(" ",a.displayName,""))},cLa=function(a){if(a&1){var b=v();G(0,
"a",2);M("click",function(c){w(b);var d=O();return y(d.handleClick(c))});R(1);H()}a&2&&(a=O(),F("href",a.linkUrl,Md)("rel",a.EXTERNAL_LINK_REL),z(1),Df(" ",a.displayName,""))},fLa=function(a){a&1&&(G(0,"span"),R(1),G(2,"b"),R(3),H(),R(4," on "),G(5,"b"),R(6),S(7,"date"),H(),R(8,". "),H());a&2&&(a=O(4),z(1),Df(" Currently, the ",a.contentType," is scheduled for deletion in "),z(2),Ef(dLa(eLa(a).getTime(),!0)),z(3),Ef(Mf(7,3,eLa(a),"longDate")))},gLa=function(a){a&1&&(G(0,"span")(1,"b"),R(2,"Retention:"),
H(),R(3),G(4,"b"),R(5),H(),R(6," from the last modification of the issue. "),Q(7,fLa,9,6,"span",11),H());if(a&2){a=O(3);var b=Cf(10);z(3);Df(" This ",a.contentType," has a retention period of ");z(2);Ef(a.getRetentionPeriod());z(2);F("ngIf",!(eLa(a).getTime()<(new Jh).getTime()))("ngIfElse",b)}},hLa=function(a){a&1&&(R(0),G(1,"b"),R(2,"overridden"),H(),R(3," retention period set to match the issue retention period. "));a&2&&(a=O(3),Df(" The ",a.contentType," has an "))},iLa=function(a){a&1&&(G(0,
"p",10),Q(1,gLa,8,4,"span",11),Q(2,hLa,4,1,"ng-template",12),H());if(a&2){a=O(2);var b=Cf(8);F("ngSwitch",a.retention);z(1);F("ngIf",!(a.retentionState&&!a.retentionState.scheduledDeletionTime))("ngIfElse",b);z(1);F("ngSwitchCase",a.retentionModel.INDEFINITE)}},jLa=function(a){a&1&&(G(0,"div",7)(1,"p")(2,"b"),R(3,"Restricted Access:"),H(),R(4),G(5,"a",8),R(6," Learn More "),H()(),Q(7,iLa,3,4,"p",9),H());a&2&&(a=O(),z(4),Df(" This ",a.contentType," is only available to users with the appropriate permissions. "),
z(1),F("rel",a.EXTERNAL_LINK_REL),gf("href",a.documentationLinks.getRestrictedAccessHelpLink(),Md),z(2),F("ngIf",a.retentionState))},kLa=function(a){a&1&&(G(0,"b"),R(1,"Retention:"),H(),R(2));a&2&&(a=O(),z(2),Df(" This ",a.contentType," has an indefinite retention period. "))},lLa=function(a){a&1&&(R(0," The retention has "),G(1,"b"),R(2,"expired"),H(),R(3),G(4,"b"),R(5),S(6,"date"),H(),R(7,". "));a&2&&(a=O(),z(3),Df(" and the ",a.contentType," was scheduled for deletion on "),z(2),Ef(Mf(6,2,eLa(a),
"longDate")))},mLa=function(a){a&1&&(G(0,"span"),R(1),H());a&2&&(a=O().$implicit,z(1),Ef(a.text))},nLa=function(a){a&1&&(G(0,"span"),I(1,"b-access-level-indicator",2),H());a&2&&(a=O().$implicit,z(1),F("accessLevel",a.accessLevel))},oLa=function(a,b){a&1&&(G(0,"span"),Q(1,mLa,2,1,"span",1),Q(2,nLa,2,1,"span",1),H());a&2&&(a=b.$implicit,b=O(),z(1),F("ngIf",b.isText(a)),z(1),F("ngIf",!b.isText(a)))},qLa=function(a,b){var c=pLa.get(b);if(!c)return null;a=a.toLowerCase().indexOf(c);return 0<=a?{accessLevel:b,
startOfMatch:a,endOfMatch:a+c.length}:null},rLa=function(a){if(a&1){var b=v();G(0,"div");I(1,"br");G(2,"mat-checkbox",8);M("ngModelChange",function(c){w(b);var d=O();return y(d.acknowledged=c)});H();G(3,"span");R(4,"All information in this issue is suitable for external sharing.");H()()}a&2&&(a=O(),z(2),F("ngModel",a.acknowledged))},sLa=function(a){if(a&1){var b=v();G(0,"button",9);M("click",function(){w(b);var c=O();return y(c.allow())});R(1," Move Issue ");H()}a&2&&(a=O(),F("disabled",!a.acknowledged))},
tLa=function(a){a&1&&(G(0,"span"),R(1),H());a&2&&(a=O().$implicit,z(1),Df("(",a.disabledReason,")"))},uLa=function(a,b){a&1&&(G(0,"mat-radio-button",8),R(1),Q(2,tLa,2,1,"span",9),H());a&2&&(a=b.$implicit,F("value",a)("disabled",!a.enabled),z(1),Df(" ",a.displayText," "),z(1),F("ngIf",!a.enabled))},vLa=function(a){a&1&&(G(0,"span"),R(1),H());a&2&&(a=O().$implicit,z(1),Df("(",a.disabledReason,")"))},wLa=function(a,b){a&1&&(G(0,"mat-radio-button",8),R(1),Q(2,vLa,2,1,"span",9),H());a&2&&(a=b.$implicit,
F("value",a)("disabled",!a.enabled),z(1),Df(" ",a.displayText," "),z(1),F("ngIf",!a.enabled))},xLa=function(a){return a?"https://goto.corp.google.com/buganizer-delete":"https://issuetracker.google.com/issues/new?component=169992&template=543202"},yLa=function(a){a&1&&I(0,"mat-icon",7);if(a&2){a:switch(O().reactionType){case "UPVOTE":a="thumb_up_24px";break a;default:a="warning"}F("svgIcon",a)}},zLa=function(a){a&1&&I(0,"b-spinner")},ALa=function(a,b){a&1&&(G(0,"div")(1,"div",9),R(2),H()());a&2&&(a=
b.$implicit,O(2),z(2),Ef(ei(a.user)))},BLa=function(a){a&1&&(J(0),Q(1,ALa,3,1,"div",8),L());a&2&&(a=O(),z(1),F("ngForOf",a.allResponders))},CLa=function(a){switch(a){case "PII_SEVERITY_UNSPECIFIED":return 0;case "NONE_DETECTED":return 1;case "PII":return 2;case "SPII":return 3;default:throw Error("jd`"+a);}},DLa=function(a){a&1&&(G(0,"span"),R(1),H());a&2&&(a=O(),z(1),Df("Retain ",a.resource," as long as issue?"))},ELa=function(a){a&1&&(G(0,"span"),R(1,"Apply component retention settings?"),H())},
FLa=function(a){a&1&&(G(0,"span")(1,"p"),R(2),H(),G(3,"p")(4,"b"),R(5,"Please note long retention is not appropriate in many circumstances for personal data, user data, or any other forms of sensitive data being stored."),H(),I(6,"br"),R(7," Before selecting this option, you should make sure that Legal and Privacy have approved this non-standard retention period."),H()());a&2&&(a=O(),z(2),Df("Are you sure you want to override any component retention settings, and retain this ",a.resource," as long as issue?"))},
GLa=function(a){a&1&&(G(0,"span")(1,"p"),R(2),H()());a&2&&(a=O(),z(2),Ff("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."))},HLa=function(a){if(a&1){var b=v();G(0,"mat-checkbox",9);M("ngModelChange",function(c){w(b);var d=O();return y(d.acknowledgeToMatchIssueRetention=c)});R(1," I acknowledge ");H()}a&2&&(a=O(),F("ngModel",a.acknowledgeToMatchIssueRetention))},
ILa=function(){var a=Math.random;this.initialMaxDelayMs_=500;this.random_=a;this.reset()},Sn=function(a){return new Rn((a instanceof Rn?a:new Rn(a)).value,!0)},JLa=function(a){if(a.oauthTokens){var b=a.oauthTokens;return(0,E.firstValueFrom)(b).then(function(c){c=new E.BehaviorSubject(c);b.subscribe(c);return new Tn(c)})}return a.apiKey?a.appAuthTokens?Promise.resolve(new Un(a.apiKey,a.appAuthTokens)):Promise.resolve(new Vn(a.apiKey,a.authUser)):Promise.reject(Error("ud"))},KLa=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}},LLa=function(a){return new E.Observable(function(b){var c=Wn(function(){b.next({});b.complete()},a);return function(){Xn(c)}})},MLa=function(a){var b=new Yn;b.setName(a);return b},NLa=function(a){a.isPrivateToUser()?(a=new Zn,$n(a,2,ao,ab(!0))):(a=new Zn,$n(a,1,ao,ab(!0)));return a},PLa=function(a){var b=
new bo;a=k(a.parts);for(var c=a.next();!c.done;c=a.next()){var d=c.value;c=new co;if(d.value instanceof eo)d.isDecreasing?$n(c,4,fo,d.value.toString()):$n(c,2,fo,d.value.toString());else if("string"===typeof d.value)d.isDecreasing?$n(c,3,fo,d.value):$n(c,1,fo,d.value);else if("number"===typeof d.value)d.isDecreasing?$n(c,9,fo,Za(d.value)):$n(c,10,fo,Za(d.value));else if(d.value instanceof Uint8Array)d.isDecreasing?$n(c,5,fo,Va(d.value,!1,!1)):$n(c,7,fo,Va(d.value,!1,!1));else if(d.value instanceof
go)d.isDecreasing?(d=OLa(d.value),ho(c,11,fo,d)):(d=OLa(d.value),ho(c,12,fo,d));else if(d.value instanceof io){var e=d.value.rep;"number"===typeof e?d.isDecreasing?$n(c,9,fo,Za(e)):$n(c,10,fo,Za(e)):"string"===typeof e&&(d.isDecreasing?$n(c,6,fo,e):$n(c,8,fo,e))}jo(b,1,co,c)}return b},ULa=function(a,b){if(a instanceof ko)return 0<aj(b,co,1).length?null:QLa.apply(ko,Vc(a.parts));a=Array.of.apply(Array,Vc(a.root.parts));b=k(aj(b,co,1));for(var c=b.next();!c.done;c=b.next())switch(c=c.value,Ci(c,fo)){case 4:a.push(Sn(lo(mo(c,
no(c,fo,4)))));break;case 2:a.push(new Rn(lo(mo(c,no(c,fo,2)))));break;case 6:a.push(Sn(new io(RLa(c,no(c,fo,6)))));break;case 8:a.push(new Rn(new io(RLa(c,no(c,fo,8)))));break;case 10:a.push(new Rn(new io(oo(c,10,fo))));break;case 9:a.push(Sn(new io(oo(c,9,fo))));break;case 3:a.push(Sn(po(c,3,fo)));break;case 1:a.push(new Rn(po(c,1,fo)));break;case 7:var d=void 0;a.push(new Rn(null==(d=qo(c,no(c,fo,7)))?void 0:SLa(d)));break;case 5:d=void 0;a.push(Sn(null==(d=qo(c,no(c,fo,5)))?void 0:SLa(d)));break;
case 12:c=TLa(Sj(c,Ch,12,fo));if(null===c)return null;a.push(new Rn(c));break;case 11:c=TLa(Sj(c,Ch,11,fo));if(null===c)return null;a.push(Sn(c));break;case 0:return null;default:return null}return QLa.apply(ko,Vc(a))},ro=function(a){return(null!=a?a:[]).map(ti)},so=function(a){return(null!=a?a:[]).map(Tqa)},to=function(a){return null==a?"":"number"===typeof a?isFinite(a)?String(a):"":a&&(a=String(a),254>=a.length)?a:""},YLa=function(){var a=uo("gapi.config.get");if((a=to(a&&a("googleapis.config/sessionIndex")))||
(a=to(ba.__X_GOOG_AUTHUSER))||(a=to(uo("google.authuser"))))return a;var b=ba.location.href||"",c=VLa.exec(b);try{a=to(c&&decodeURIComponent(c[2]))}catch(d){}if(a)return a;c=WLa.exec(b);try{a=to(c&&decodeURIComponent(c[2]))}catch(d){}if(a)return a;a=XLa.exec(b);return(a=to(a&&a[1]))?a:""},ZLa=function(){var a=uo("gapi.auth.getToken");a=(a=a?a():null)&&a.access_token;var b=null;if(!a){a=(a=uo("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}},$La=function(a){a=void 0===a?"":a;var b;if(!(b=ZLa())){b=a;var c=void 0===c?YLa():c;a={};var d=vo([]);d&&(a.Authorization=d);b||(b=(b=uo("gapi.config.get"))&&b("client/apiKey"));b&&(a["X-Goog-Api-Key"]=b);c&&(a["X-Goog-AuthUser"]=String(c));b=a}return b},aMa=function(a,b){b=void 0===b?0:b;var c;if(c=0===b)c=(c=uo("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=uo("gapi.config.get"))&&b("client/rewrite"))&&b[a]&&(a=String(b[a]));return a},cMa=function(a,b){return 1>a||!isFinite(a)?Promise.reject("gapi.client missing"):(new Promise(function(c){return ba.setTimeout(c,b)})).then(function(){return bMa(a-1,2*b)})},bMa=function(a,
b){a=void 0===a?0:a;b=void 0===b?5E3:b;var c=ba;try{do var d=c.gapi;while(!d&&c!==c.top&&(c=c.parent))}catch(e){}if(!d)return cMa(a,b);ba.gapi||(ba.gapi=d);return d.client?Promise.resolve(d):new Promise(function(e,g){d.load("client",function(){d.client?e(d):g("gapi.client missing")})})},dMa=function(){var a=void 0===a?"":a;var b=void 0===b?YLa():b;var c=uo("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)},eMa=function(a){return(new wo).setEventType(2).setRpcType(2).setLookupType(a)},fMa=function(a){a=Math.round(1E3*a);return isFinite(a)?a:null},xo=function(a){var b;return null!=(b=null==a?void 0:a.trim())?b:""},Ao=function(a,b,c,d){yo.call(this);this.initialized_=!1;this.title_=null;this.cache_=b;this.id_=c;this.transport_=a;gMa(this.transport_,this.id_);d&&zo(d.getEventTarget(),"e",this.onContactsChange_,!1,this)},hMa=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},jMa=function(a){return a.extendedData&&a.extendedData.contactPreferences?a.extendedData.contactPreferences.map(function(b){return iMa(b.name,b.email)}).join(", "):""},mMa=function(a,b,c){var d=[];a&&(kMa("name",a.name,b,d,c),kMa("phone",a.phone,b,d,c),kMa("photo",a.photo,b,d,c));return d.map(function(e){return new lMa(e)})},kMa=function(a,b,c,d,e){if(b){b=k(b);for(var g=b.next();!g.done;g=b.next())if(g=g.value,"CONTACT"!==
uo("metadata.containerType",g)){var h=c,l=d,q=e,x=uo("metadata.encodedContainerId",g),A=uo("metadata.containerType",g);if(h.contains(x,A))var B=h.get(x,A)||0;else B=l.length,h.set(x,A,B),l.push({}),q.push(x);B=l[B];B[a]=B[a]||[];B[a].push(g)}}},oMa=function(a,b){if(a){a=nMa(a);for(var c=0;c<a.getFieldLength();c++){var d=a.getField(c);if(d.hasValue()&&(!b||b(d.getMetaData())))return d.getValue()}}return null},pMa=function(a,b){if(a){a=a.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},qMa=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},rMa=function(a){this.query_=a;this.error_=0},Co=function(a,b){b=a(b||sMa,void 0);a=Bo();b&&b.renderAsElement?a=b.renderAsElement():(a=a.createElement("DIV"),b=tMa(b),uMa(a,b));1==a.childNodes.length&&(b=a.firstChild,1==b.nodeType&&(a=b));return a},tMa=function(a){return va(a)?
a.toSafeHtml&&(a=a.toSafeHtml(),a instanceof Cg)?a:fn("zSoyz"):fn(String(a))},Eo=function(a,b,c,d,e,g,h){this.serverBase_="string"===typeof a?new Do(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},vMa=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},zMa=function(a,b,c,d){a=a.filter(wMa());if(!d)return a;d=d.map(function(e){return{contact:e,toString:function(){return e.text}}});b=xMa(new yMa(d),b,d.length);return a.concat(b.map(function(e){return e.contact}))},DMa=function(a){if(a&1){var b=v();G(0,"input",7,8);M("change",function(){w(b);var c=O();if(AMa(c)){var d=Fo(c);BMa(c);CMa(c,!0);Fo(c).focus();d.scrollTop=c.scrollPosition;d.selectionEnd=c.textAreaLastCursorLocation;
d.dispatchEvent(new KeyboardEvent("keydown"));c.contentChange.emit(c.getValue())}return y()})("keyup",function(c){w(b);var d=O();document.activeElement===Go(d)&&("Enter"===c.key||"Tab"===c.key?(d.taggingInProgress=!1,CMa(d,!0),Fo(d).focus()):CMa(d));return y()});H()}a&2&&(a=O(),F("value",a.autocompleteUserName))},EMa=function(a){a&1&&I(0,"div",9,10)},FMa=function(a){a&1&&vf(0)},GMa=function(a){a&1&&vf(0)},HMa=function(a){a&1&&I(0,"b-live-preview",11);a&2&&(a=O(),F("comment",a.newComment.text)("issueId",
a.origComment.issueId)("audience",a.origComment.audience)("formattingMode",a.newComment.formattingMode))},IMa=function(a){if(a&1){var b=v();G(0,"section")(1,"div",12)(2,"b-recaptcha",13);M("onUpdate",function(c){w(b);var d=O();return y(d.recaptchaResponse=c)});H()()()}},JMa=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]}}},KMa=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(Vc(e.relations),Vc(d.relations))}else c.set(d.resourceId,d),b.push(d);return b},LMa=function(a){a&1&&I(0,"b-restricted-chip",10);a&2&&(a=O(),F("label",a.getRestrictedLabel())("retentionState",null==a.attachment?null:a.attachment.piiRetentionState)("contentType","attachment"))},MMa=function(a){a&1&&(G(0,"span",11),I(1,"b-actions-menu",12),H());a&2&&(a=O(),z(1),F("menuItems",
a.actionMenuItems)("buttonLabel","Attachment actions")("matTooltip","Attachment actions"))},QMa=function(a){if(a&1){var b=v();G(0,"span")(1,"b-conditional-link",13);M("customHandler",function(){w(b);var c=O();c.isRestricted()?NMa(c,!1):c.domSafe.openInNewTab(OMa(c,!1));return y()});H()()}a&2&&(a=O(),tf("bv2-issue-attachment-link ",PMa(a),""),z(1),F("isGreyedOut",!a.hasViewAccess)("displayName","View")("linkUrl",OMa(a,!1))("linkEnabled",!0)("useCustomHandler",!0))},RMa=function(a){if(a&1){var b=v();
G(0,"span")(1,"b-conditional-link",13);M("customHandler",function(){w(b);var c=O();c.isRestricted()?NMa(c,!0):c.domSafe.openInNewTab(OMa(c,!0));return y()});H()()}a&2&&(a=O(),tf("bv2-issue-attachment-link ",PMa(a),""),z(1),F("isGreyedOut",!a.hasViewAccess)("displayName","Download")("linkUrl",OMa(a,!0))("linkEnabled",!0)("useCustomHandler",!0))},SMa=function(a){a&1&&(G(0,"span",14)(1,"a",15),I(2,"mat-icon",16),H()());a&2&&(a=O(),z(1),F("href",a.documentationLinks.getRestrictedAccessHelpLink(),Md)("disableRipple",
!0),z(1),F("svgIcon","help-outline"))},TMa=function(a){a&1&&(G(0,"div",17),R(1," You do not have access to this restricted attachment. "),G(2,"a",18),R(3,"Learn more"),H()());a&2&&(a=O(),z(2),F("href",a.documentationLinks.getRestrictedAccessHelpLink(),Md))},VMa=function(a){if(a&1){var b=v();G(0,"button",20,21);M("click",function(){w(b);var c=O(2);return y(UMa(c))});R(2," Edit ");H()}},WMa=function(a,b){a&1&&(J(0),R(1," on behalf of "),I(2,"b-user-display-name",22),L());a&2&&(a=b.ngIf,z(2),F("email",
a)("showEmail",!1))},XMa=function(a){a&1&&(J(0),Q(1,WMa,3,2,"ng-container",12),S(2,"async"),L());a&2&&(a=O(2),z(1),F("ngIf",T(2,1,a.onBehalfOfEmail$)))},YMa=function(a,b){if(a&1){var c=v();G(0,"a",23);M("click",function(d){var e=w(c).$implicit;O(2).issueReferenceResolver.visit({issueId:e,elementId:"comment1",event:d});return y()});R(1);H()}a&2&&(a=b.$implicit,b=O().$implicit,O(),F("routerLinkObj",rwa(a,{comment:1})),gf("aria-label","Comment number"+b.commentNumber),z(1),Df(" #",b.commentNumber,""))},
$Ma=function(a){a&1&&(J(0),G(1,"span",24),R(2," \u2022 Edited"),H(),L());if(a&2){a=O().$implicit;var b=O();z(1);F("matTooltip",ZMa(b,a))}},aNa=function(a){a&1&&(J(0),G(1,"p",25),R(2," Description has been deleted. "),H(),L())},bNa=function(a){if(a&1){var b=v();G(0,"b-restricted-comment-placeholder",28);M("onConfirm",function(){w(b);var c=O().ngIf,d=O(3).$implicit,e=O();return y(e.loadRestrictedComment(c,d))});S(1,"async");H()}a&2&&(a=O(5),F("disabled",!T(1,1,a.mayReadPii$)))},cNa=function(a){a&1&&
(J(0),Q(1,bNa,2,3,"b-restricted-comment-placeholder",27),S(2,"async"),L());a&2&&(a=O(4),z(1),F("ngIf",T(2,1,a.shouldShowRestrictedPlaceholder$)))},dNa=function(a){a&1&&(J(0),Q(1,cNa,3,3,"ng-container",12),S(2,"async"),L());a&2&&(a=O(3),z(1),F("ngIf",T(2,1,a.id$)))},eNa=function(a,b){a&1&&(I(0,"b-note-container",31),S(1,"async"));if(a&2){a=b.$implicit;b=O().ngIf;var c=O(4);F("issueId",b)("issueAccessLevel",T(1,4,c.accessLevel$))("note",a)("formattingMode",c.formattingMode)}},fNa=function(a){a&1&&(J(0),
Q(1,eNa,2,6,"b-note-container",30),S(2,"async"),L());if(a&2){a=O(3).$implicit;var b=O();z(1);F("ngIf",""!==a.unlinkifiedComment&&T(2,1,b.firstNote$))}},gNa=function(a){a&1&&(J(0),R(1," Add one."),L())},hNa=function(a){a&1&&(G(0,"p",32),R(1," No description yet."),Q(2,gNa,2,0,"ng-container",12),H());a&2&&(a=O(4),z(2),F("ngIf",a.canEditComment()))},iNa=function(a){a&1&&(Q(0,fNa,3,3,"ng-container",12),S(1,"async"),Q(2,hNa,3,1,"p",29));if(a&2){a=O(2).$implicit;var b=O();F("ngIf",T(1,2,b.id$));z(2);F("ngIf",
""===a.unlinkifiedComment)}},jNa=function(a){a&1&&(Q(0,dNa,3,3,"ng-container",17),S(1,"async"),Q(2,iNa,3,4,"ng-template",null,26,Zf));if(a&2){var b=Cf(3);a=O(2);F("ngIf",T(1,2,a.isRedacted$))("ngIfElse",b)}},kNa=function(a,b){a&1&&(J(0),I(1,"b-attachment-viewer",36),L());if(a&2){a=b.ngIf;b=O().$implicit;var c=O(3);z(1);F("issueId",a)("attachment",b)("attachmentUploader",c.getUserEmailIfAvailable())}},lNa=function(a,b){a&1&&(G(0,"div",35),Q(1,kNa,2,3,"ng-container",12),S(2,"async"),H());a&2&&(a=b.$implicit,
b=O(3),zf("id","attachment",a.attachmentId,""),z(1),F("ngIf",T(2,2,b.id$)))},mNa=function(a){a&1&&(G(0,"div",33),Q(1,lNa,3,4,"div",34),H());a&2&&(a=O().$implicit,z(1),F("ngForOf",a.attachments))},oNa=function(a,b){a&1&&(G(0,"div",2),I(1,"mat-icon",3),G(2,"div",4)(3,"div",5)(4,"div",6)(5,"h4",7),R(6,"Description"),H(),Q(7,VMa,3,0,"button",8),I(8,"b-user-display",9),G(9,"onedev-hovercard",null,10),I(11,"b-issue-person-card",11),H(),R(12," created issue "),Q(13,XMa,3,3,"ng-container",12),S(14,"async"),
Q(15,YMa,2,3,"a",13),S(16,"async"),Q(17,$Ma,3,1,"ng-container",12),S(18,"async"),H(),G(19,"div"),I(20,"b-formatted-date-time",14)(21,"b-actions-menu",15,16),S(23,"async"),H()(),Q(24,aNa,3,0,"ng-container",17),S(25,"async"),Q(26,jNa,4,4,"ng-template",null,18,Zf),Q(28,mNa,2,1,"div",19),H()());if(a&2){a=b.$implicit;var c=Cf(10),d=Cf(27);b=O();var e;z(7);F("ngIf",b.canEditComment());z(1);F("onedevHovercardTrigger",c)("model",a.userPerformingActionUser);z(3);F("email",b.getUserEmailIfAvailable());z(2);
F("ngIf",T(14,13,b.isAuthorNotReporter$));z(2);F("ngIf",a.commentNumber&&T(16,15,b.id$));z(2);F("ngIf",T(18,17,b.isShowCommentHistoryActionInMenu$));z(3);F("timestamp",a.modifiedDate);z(1);F("buttonLabel","Description actions")("menuItems",null!==(e=T(23,19,b.commentActionMenuItems$))&&void 0!==e?e:If(23,nNa));z(3);F("ngIf",T(25,21,b.isDeleted$))("ngIfElse",d);z(4);F("ngIf",null==a?null:null==a.attachments?null:a.attachments.length)}},pNa=function(a){a&1&&I(0,"b-spinner")},qNa=function(a){return(null==
a?void 0:a.emailAddress)||(null==a?void 0:a.obfuscatedEmailAddress)||""},rNa=function(a,b){a&1&&I(0,"b-issue-person-card",7);a&2&&F("email",b.ngIf)},sNa=function(a,b){a&1&&(J(0),G(1,"span",4),R(2),S(3,"shortenEmail"),H(),G(4,"onedev-hovercard",null,5),Q(6,rNa,1,1,"b-issue-person-card",6),H(),L());if(a&2){a=b.ngIf;var c=Cf(5);b=O(2);z(1);F("onedevHovercardTrigger",c);z(1);Df(" ",Mf(3,3,b.userToString(a),30)," ");z(4);F("ngIf",a.emailAddress)}},tNa=function(a,b){if(a&1){var c=v();G(0,"a",8);M("click",
function(d){var e=w(c).ngIf,g=O(2);return y(g.scrollCommentIntoView(d,e))});R(1);H()}a&2&&(a=b.ngIf,b=O(2),jf("aria-label","Comment number ",a,""),F("routerLinkObj",b.getCommentNumberLink(a)),z(1),Df(" #",a,""))},uNa=function(a){a&1&&(J(0),R(1,","),L())},vNa=function(a,b){a&1&&(G(0,"span",1),Q(1,sNa,7,6,"ng-container",2),G(2,"span"),Q(3,tNa,2,3,"a",3),Q(4,uNa,2,0,"ng-container",2),H()());a&2&&(a=b.$implicit,b=b.last,z(1),F("ngIf",a.userPerformingActionUser),z(2),F("ngIf",a.commentNumber),z(1),F("ngIf",
!b))},wNa=function(a,b){a&1&&(G(0,"div",4)(1,"a",5),S(2,"removePngExtension"),I(3,"b-secure-image-widget",6),H(),I(4,"comments-info",7),H());a&2&&(a=b.$implicit,b=O(3),z(1),Af("href",T(2,5,a.src),Md),z(2),F("showByDefault",!0)("src",a.src),z(1),F("issueId",b.issueId)("comments",a.comments))},xNa=function(a){if(a&1){var b=v();G(0,"button",10);M("click",function(){w(b);var c=O(2).ngIf,d=O(2);c=c.length;var e=Vm(d.maxImagesInOneRow$);e&&d.lastRenderedImageIndex$.next((Math.floor(c/e)+4)*e);return y()});
R(1," Load more ");H()}},yNa=function(a){if(a&1){var b=v();G(0,"button",11);M("click",function(){w(b);var c=O(4);return y(c.goToResourcesTab())});R(1," See all screenshots ");H()}},zNa=function(a){a&1&&(J(0),Q(1,xNa,2,0,"button",8),Q(2,yNa,2,0,"ng-template",null,9,Zf),L());if(a&2){var b=Cf(3);a=O(3);z(1);F("ngIf",a.paginate)("ngIfElse",b)}},ANa=function(a,b){a&1&&(J(0),G(1,"div",2),Q(2,wNa,5,7,"div",3),S(3,"async"),H(),Q(4,zNa,4,2,"ng-container",1),L());if(a&2){a=b.ngIf;b=O().ngIf;var c=O();z(1);
qf("show-all-images",c.paginate);z(1);F("ngForOf",T(3,4,c.imagesToRender$));z(2);F("ngIf",b.length!==a.length)}},BNa=function(a){a&1&&(J(0),Q(1,ANa,5,6,"ng-container",1),S(2,"async"),L());a&2&&(a=O(),z(1),F("ngIf",T(2,1,a.imagesToRender$)))},CNa=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:rl(h)}})},DNa=function(a){a&1&&(G(0,"span",5),R(1),S(2,"reverse"),H());a&2&&(a=O(),z(1),Ef(T(2,1,a.leftText)))},ENa=function(a){a&1&&(J(0),G(1,"b-external-hyperlink-widget",6),R(2),H(),L());a&2&&(a=O(),z(1),F("href",a.redirectedHref)("originalHref",a.originalHref),z(1),Ef(a.linkText))},FNa=function(a){a&1&&(G(0,"b-issue-reference-widget",9),R(1),H());a&2&&(a=O(2),F("href",a.redirectedHref)("issueId",a.issueId),z(1),Ef(a.linkText))},GNa=function(a){a&1&&(G(0,"a",10),R(1),H());a&2&&(a=O(2),
Af("href",a.redirectedHref,Md),z(1),Ef(a.linkText))},HNa=function(a){a&1&&(Q(0,FNa,2,3,"b-issue-reference-widget",7),Q(1,GNa,2,2,"ng-template",null,8,Zf));if(a&2){var b=Cf(2);a=O();F("ngIf",a.issueId)("ngIfElse",b)}},INa=function(a){a&1&&(G(0,"span",11),R(1),H());a&2&&(a=O(),z(1),Ef(a.rightText))},JNa=function(a){var b=document.createElement("div");if(a=sta(a))1===b.nodeType&&Rpa(b),b.innerHTML=gk(a);return b},KNa=function(a){a&1&&(J(0),G(1,"td"),I(2,"b-issue-priority-display",2),H(),G(3,"td",3)(4,
"span",4),R(5),H(),I(6,"mentioned-link-with-context",5),H(),G(7,"td"),I(8,"comments-info",6),S(9,"toComments"),H(),L());if(a&2){a=O().$implicit;var b=O(3),c;z(2);F("matTooltip",a.hasViewAccess?"":"Access is denied to this issue")("issuePriority",a.priority);z(2);F("matTooltip",a.hasViewAccess?"":"Access is denied to this issue");z(1);Df(" ",null!==(c=a.title)&&void 0!==c?c:"--"," ");z(1);F("sourceComment",a.sourceComments[0].issueEvent)("relatedLink",a.relatedLinks[0]);z(2);F("issueId",b.issueId)("comments",
T(9,8,a.sourceComments))}},LNa=function(a,b){a&1&&(G(0,"tr"),Q(1,KNa,10,10,"ng-container",0),H());a&2&&(a=b.$implicit,z(1),F("ngIf",a.sourceComments&&a.relatedLinks))},MNa=function(a){if(a&1){var b=v();G(0,"button",9);M("click",function(){w(b);var c=O(4);c.lastRenderedMentionedIssueIndex$.next(c.lastRenderedMentionedIssueIndex$.value+100);return y()});R(1," Load more ");H()}},NNa=function(a){if(a&1){var b=v();G(0,"button",10);M("click",function(){w(b);var c=O(4);return y(c.goToResourcesTab())});R(1,
" See all mentioned issues ");H()}},ONa=function(a){a&1&&(G(0,"div"),Q(1,MNa,2,0,"button",7),Q(2,NNa,2,0,"ng-template",null,8,Zf),H());if(a&2){var b=Cf(3);a=O(3);z(1);F("ngIf",a.paginate)("ngIfElse",b)}},PNa=function(a,b){a&1&&(J(0),G(1,"section")(2,"table"),Q(3,LNa,2,1,"tr",1),H(),Q(4,ONa,4,2,"div",0),H(),L());a&2&&(a=b.ngIf,b=O().ngIf,z(3),F("ngForOf",b),z(1),F("ngIf",a.length!==b.length))},QNa=function(a){a&1&&(J(0),Q(1,PNa,5,2,"ng-container",0),S(2,"async"),L());a&2&&(a=O(),z(1),F("ngIf",T(2,
1,a.allMentionedIssues$)))},RNa=function(a,b){a&1&&(G(0,"div",2),I(1,"mentioned-link-with-context",3)(2,"comments-info",4),S(3,"toComments"),H());a&2&&(a=b.$implicit,b=O(3),z(1),F("sourceComment",a[0].comment)("relatedLink",a[0]),z(1),F("issueId",b.issueId)("comments",T(3,4,a)))},SNa=function(a){if(a&1){var b=v();G(0,"button",7);M("click",function(){w(b);var c=O(4);c.lastRenderedRelatedLinkIndex$.next(c.lastRenderedRelatedLinkIndex$.value+100);return y()});R(1," Load more ");H()}},TNa=function(a){if(a&
1){var b=v();G(0,"button",8);M("click",function(){w(b);var c=O(4);return y(c.goToResourcesTab())});R(1," See all related links ");H()}},UNa=function(a){a&1&&(G(0,"div"),Q(1,SNa,2,0,"button",5),Q(2,TNa,2,0,"ng-template",null,6,Zf),H());if(a&2){var b=Cf(3);a=O(3);z(1);F("ngIf",a.paginate)("ngIfElse",b)}},VNa=function(a,b){a&1&&(J(0),Q(1,RNa,4,6,"div",1),Q(2,UNa,4,2,"div",0),L());if(a&2){a=b.ngIf;b=O().ngIf;var c=O();z(1);F("ngForOf",a)("ngForTrackBy",c.trackByHref);z(1);F("ngIf",b.length!==a.length)}},
WNa=function(a){a&1&&(J(0),Q(1,VNa,3,3,"ng-container",0),S(2,"async"),L());a&2&&(a=O(),z(1),F("ngIf",T(2,1,a.linkGroupsToRender$)))},YNa=function(a,b){var c=a.filter(function(d){return Eva(d[0])});a=a.filter(function(d){return!Eva(d[0])});return XNa([].concat(Vc(c),Vc(a)).slice(0,b),"asc")},$Na=function(a){a&1&&(J(0),I(1,"mat-icon",10),vf(2,11),L());if(a&2){a=O().$implicit;O();var b=Cf(10);z(2);F("ngTemplateOutlet",b)("ngTemplateOutletContext",Jf(2,ZNa,a))}},aOa=function(){},bOa=function(a){a&1&&
Q(0,aOa,0,0,"ng-template")},cOa=function(a){a&1&&(J(0),Q(1,bOa,1,0,null,12),L());a&2&&(a=O(2).$implicit,z(1),F("ngTemplateOutlet",a.tabIconTemplate))},dOa=function(a){a&1&&(Q(0,cOa,2,1,"ng-container",3),vf(1,11));if(a&2){a=O().$implicit;O();var b=Cf(10);F("ngIf",a.tabIconTemplate);z(1);F("ngTemplateOutlet",b)("ngTemplateOutletContext",Jf(3,ZNa,a))}},eOa=function(a,b){if(a&1){var c=v();G(0,"button",7);M("click",function(){var e=w(c).$implicit,g=O();e=e.key;g.internalExpandedTabs.has(e)?g.internalExpandedTabs.delete(e):
g.internalExpandedTabs.add(e);g.expandedTabsChanged.emit(new Set(g.internalExpandedTabs));return y()});S(1,"async");S(2,"async");S(3,"async");Q(4,$Na,3,4,"ng-container",8);S(5,"async");Q(6,dOa,2,5,"ng-template",null,9,Zf);H()}if(a&2){a=b.$implicit;var d=Cf(7);b=O();qf("expanded",!!T(1,8,Dn(b.internalExpandedTabs,a.key)));jf("aria-controls","expandable-tabs-",a.key,"-content");gf("aria-label",a.ariaLabel)("aria-expanded",!!T(2,10,Dn(b.internalExpandedTabs,a.key)))("aria-selected",!!T(3,12,Dn(b.internalExpandedTabs,
a.key)));z(4);F("ngIf",T(5,14,Dn(b.internalExpandedTabs,a.key)))("ngIfElse",d)}},gOa=function(a,b){if(a&1){var c=v();J(0);G(1,"button",13);M("click",function(){w(c);var d=O();return y(fOa(d))});R(2);H();L()}a&2&&(a=b.ngIf,b=O(),z(1),qf("expandable-tabs-hide-all",a.allTabsExpanded)("expandable-tabs-show-all",!a.allTabsExpanded),gf("aria-label",(a.allTabsExpanded?"Hide all":"Show all")+" "+b.ariaLabel),z(1),Df(" ",a.allTabsExpanded?"Hide all":"Show all"," "))},hOa=function(){},iOa=function(a){a&1&&
Q(0,hOa,0,0,"ng-template")},jOa=function(a){a&1&&(J(0),Q(1,iOa,1,0,null,12),L());a&2&&(a=O(2).$implicit,z(1),F("ngTemplateOutlet",a.tabIconTemplate))},kOa=function(){},lOa=function(a){a&1&&Q(0,kOa,0,0,"ng-template")},mOa=function(a){a&1&&(J(0),Q(1,lOa,1,0,null,12),L());a&2&&(a=O(2).$implicit,z(1),F("ngTemplateOutlet",a.tabContentTemplate))},nOa=function(a){a&1&&(G(0,"div",15)(1,"h4"),Q(2,jOa,2,1,"ng-container",3),vf(3,11),H(),Q(4,mOa,2,1,"ng-container",3),H());if(a&2){a=O().$implicit;O();var b=Cf(10);
zf("id","expandable-tabs-",a.key,"-content");z(2);F("ngIf",a.tabIconTemplate);z(1);F("ngTemplateOutlet",b)("ngTemplateOutletContext",Jf(5,ZNa,a));z(1);F("ngIf",a.tabContentTemplate)}},oOa=function(a,b){a&1&&(J(0),Q(1,nOa,5,7,"div",14),S(2,"async"),L());a&2&&(a=b.$implicit,b=O(),z(1),F("ngIf",T(2,1,Dn(b.internalExpandedTabs,a.key))))},pOa=function(){},qOa=function(a){a&1&&Q(0,pOa,0,0,"ng-template")},rOa=function(a){a&1&&(J(0),Q(1,qOa,1,0,null,12),L());a&2&&(a=O().tab,z(1),F("ngTemplateOutlet",a.tabHeaderTemplate))},
sOa=function(a){a&1&&R(0);a&2&&(a=O().tab,Ef(a.key))},tOa=function(a,b){a&1&&(Q(0,rOa,2,1,"ng-container",8),Q(1,sOa,1,1,"ng-template",null,16,Zf));if(a&2){a=b.tab;var c=Cf(2);F("ngIf",a.tabHeaderTemplate)("ngIfElse",c)}},uOa=function(a){a&1&&I(0,"mat-icon",9)},vOa=function(a){a&1&&(R(0),S(1,"async"));if(a&2){a=O(2);var b;Df("Screenshots (",null!==(b=T(1,1,a.distinctImageLinksCount$))&&void 0!==b?b:0,")")}},yOa=function(a,b){if(a&1){var c=v();G(0,"inline-images-summary",11);M("click",function(){w(c);
var e=O(3);wOa(e.issueSummaryTracking,e.issueId,e.TabKeys.IMAGES);return y()});S(1,"async");H()}if(a&2){a=b.ngIf;b=O(3);var d;F("issueId",a)("imageLinks",null!==(d=T(1,2,b.imageLinks$))&&void 0!==d?d:If(4,xOa))}},zOa=function(a){a&1&&(Q(0,yOa,2,5,"inline-images-summary",10),S(1,"async"));a&2&&(a=O(2),F("ngIf",T(1,1,a.issueId$)))},AOa=function(a){a&1&&I(0,"mat-icon",12)},BOa=function(a){a&1&&(R(0),S(1,"async"));if(a&2){a=O(2);var b;Df("Mentioned issues (",null!==(b=T(1,1,a.distinctIssuesCount$))&&
void 0!==b?b:0,")")}},COa=function(a,b){if(a&1){var c=v();G(0,"b-mentioned-issues",14);M("click",function(){w(c);var d=O(3);wOa(d.issueSummaryTracking,d.issueId,d.TabKeys.MENTIONED_ISSUES);return y()});H()}a&2&&(a=b.ngIf,b=O(3),F("issueReferences",a)("currentIssueId",b.issueId))},DOa=function(a){a&1&&(Q(0,COa,1,2,"b-mentioned-issues",13),S(1,"async"));a&2&&(a=O(2),F("ngIf",T(1,1,a.issues$)))},EOa=function(a){a&1&&I(0,"mat-icon",15)},FOa=function(a){a&1&&(R(0),S(1,"async"));if(a&2){a=O(2);var b;Df("Links (",
null!==(b=T(1,1,a.distinctOtherLinksCount$))&&void 0!==b?b:0,")")}},GOa=function(a){if(a&1){var b=v();G(0,"related-links-widget",16);M("click",function(){w(b);var d=O(2);wOa(d.issueSummaryTracking,d.issueId,d.TabKeys.LINKS);return y()});S(1,"async");H()}if(a&2){a=O(2);var c;F("links",null!==(c=T(1,2,a.otherLinks$))&&void 0!==c?c:If(4,xOa))("issueId",a.issueId)}},IOa=function(a,b){if(a&1){var c=v();G(0,"expandable-tabs",2);M("expandedTabsChanged",function(d){var e=w(c).ngIf,g=O();return y(g.onTabExpanded$.emit({expandedTabKeys:d,
allTabKeys:e}))})("contentShownChanged",function(d){w(c);var e=O(),g=e.issueSummaryTracking;e=e.issueId;for(var h=k(HOa),l=h.next();!l.done;l=h.next())l=l.value,d.has(l)?(Ho(g.issueInteractionsTracking,e,l+"-content-shown"),g.issueInteractionsTracking.getState(e).variations.delete(l+"-content-not-shown")):(Ho(g.issueInteractionsTracking,e,l+"-content-not-shown"),g.issueInteractionsTracking.getState(e).variations.delete(l+"-content-shown"));0<d.size?(g.recordImpressionOnce(),Ho(g.issueInteractionsTracking,
e,"SW-content-shown"),g.issueInteractionsTracking.getState(e).variations.delete("SW-content-not-shown")):(Ho(g.issueInteractionsTracking,e,"SW-content-not-shown"),g.issueInteractionsTracking.getState(e).variations.delete("SW-content-shown"));return y()});G(1,"expandable-tab",3);Q(2,uOa,1,0,"ng-template",4);Q(3,vOa,2,3,"ng-template",5);Q(4,zOa,2,3,"ng-template",6);H();G(5,"expandable-tab",7);Q(6,AOa,1,0,"ng-template",4);Q(7,BOa,2,3,"ng-template",5);Q(8,DOa,2,3,"ng-template",6);H();G(9,"expandable-tab",
8);Q(10,EOa,1,0,"ng-template",4);Q(11,FOa,2,3,"ng-template",5);Q(12,GOa,2,5,"ng-template",6);H()()}a&2&&(a=b.ngIf,b=O(),F("tabKeys",a)("expandedTabs",b.initiallyExpandedTabs),z(1),F("key",b.TabKeys.IMAGES),z(4),F("key",b.TabKeys.MENTIONED_ISSUES),z(4),F("key",b.TabKeys.LINKS))},JOa=function(a){a&1&&(G(0,"div",31),I(1,"img",32),R(2,"\u00a0 "),G(3,"a",33),R(4),H()());if(a&2){a=O().$implicit;var b=O(3);z(3);F("href",b.makeCritiqueUrl(a.clIds,a.pendingChangeLists),Md);z(1);Df("",a.clIds.length+a.pendingChangeLists.length,
" CLs")}},KOa=function(a,b){a&1&&I(0,"b-user-image",34);a&2&&F("email",b.$implicit)},LOa=function(a,b){if(a&1){var c=v();G(0,"div",25);M("click",function(){var e=w(c).$implicit,g=O(3);return y(g.log(e))});G(1,"div",26);Q(2,JOa,5,2,"div",27);H();Q(3,KOa,1,1,"b-user-image",28);S(4,"slice");G(5,"button",29);I(6,"mat-icon",30);H()()}if(a&2){a=b.$implicit;O(2);var d=Cf(16);z(2);F("ngIf",0<a.clIds.length||0<a.pendingChangeLists.length);z(1);F("ngForOf",Nf(4,3,a.contributors,0,10));z(2);F("matMenuTriggerFor",
d)}},MOa=function(a){a&1&&(J(0),Q(1,LOa,7,7,"div",24),S(2,"async"),L());a&2&&(a=O(2),z(1),F("ngIf",T(2,1,a.projectData$)))},NOa=function(a,b){a&1&&(G(0,"div",38),I(1,"div",39),R(2),S(3,"number"),H());if(a&2){a=b.$implicit;b=O().$implicit;var c=O(3);Bf("title","",b.totalCount-b.openCount," of ",b.totalCount," tasks complete");z(1);gf("style",c.makePie(a/100),Gga);z(1);Df(" ",Mf(3,4,a,"1.0-0"),"% Complete ")}},OOa=function(a){a&1&&(G(0,"div",31),I(1,"mat-icon",40),R(2),H());if(a&2){a=O(3).$implicit;
var b=O();z(2);Df(" Target: ",b.getEndDate(a)," ")}},QOa=function(a){a&1&&(G(0,"a",33),R(1),H());if(a&2){a=O(2).$implicit;var b=O(3);F("href",b.makeCritiqueUrl(If(2,POa),a.pendingChangeLists),Md);z(1);Df("(",a.pendingChangeLists.length," pending)")}},ROa=function(a){a&1&&(G(0,"div",31),I(1,"img",32),R(2,"\u00a0 "),G(3,"a",33),R(4),H(),R(5," \u00a0 "),Q(6,QOa,2,3,"a",41),H());if(a&2){a=O().$implicit;var b=O(3);z(3);F("href",b.makeCritiqueUrl(a.clIds,a.pendingChangeLists),Md);z(1);Df("",a.clIds.length+
a.pendingChangeLists.length," CLs");z(2);F("ngIf",0<a.pendingChangeLists.length)}},SOa=function(a,b){if(a&1){var c=v();G(0,"div",36);M("click",function(){var e=w(c).$implicit,g=O(3);return y(g.log(e))});Q(1,NOa,4,7,"div",37);Q(2,OOa,3,1,"div",27);Q(3,ROa,7,3,"div",27);H()}if(a&2){a=b.$implicit;b=O(2).$implicit;var d=O();z(1);F("ngIf",0<a.totalCount&&(a.totalCount-a.openCount)/a.totalCount*100);z(1);F("ngIf",d.getEndDate(b));z(1);F("ngIf",0<a.clIds.length||0<a.pendingChangeLists.length)}},TOa=function(a){a&
1&&(J(0),Q(1,SOa,4,3,"div",35),S(2,"async"),L());a&2&&(a=O(2),z(1),F("ngIf",T(2,1,a.projectData$)))},VOa=function(a){a&1&&(J(0),I(1,"expandable-issues-table",43),S(2,"async"),L());if(a&2){a=O(2).$implicit;var b=O();z(1);zf("saveExpansionAtKey","project-expansion-",a.issueId,"");F("rootIssueId",a.issueId)("filters",b.hackyPrefs.prefs.projectFilters)("tableColumns",b.TABLE_COLUMNS)("options",If(8,UOa))("projectData",T(2,6,b.projectData$))}},WOa=function(a){a&1&&(J(0),I(1,"b-issue-description",44)(2,
"hr")(3,"issue-summary-card",45,46),S(5,"async"),I(6,"hr"),G(7,"p",47),R(8," No children. "),G(9,"a",48),R(10,"Add Children"),H()(),L());if(a&2){var b=Cf(4);a=O(2).$implicit;z(1);F("id",a.issueId);z(2);qf("hidden",!T(5,6,b.shouldShowSummaryCard$));F("issueId",a.issueId)("alwaysStartCollapsed",!0);z(6);zf("href","/issues/",a.issueId,"/dependencies",Md)}},XOa=function(a){a&1&&(G(0,"div",42),I(1,"hr"),Q(2,VOa,3,9,"ng-container",13),Q(3,WOa,11,8,"ng-container",13),H());a&2&&(a=O().$implicit,z(2),F("ngIf",
0<a.childIssueCount),z(1),F("ngIf",0===a.childIssueCount))},YOa=function(a,b){a&1&&(J(0),G(1,"a",51),R(2,"Taskflow"),H(),L());a&2&&(a=b.$implicit,z(1),F("href",a,Md))},ZOa=function(a){a&1&&(J(0),G(1,"a",52),R(2),H(),L());if(a&2){a=O().$implicit;var b=O(3);z(1);F("href",b.makeScreenshotViewUrl(a.screenshots),Md);z(1);Df("",a.screenshots.length," Screenshots")}},$Oa=function(a,b){a&1&&(J(0),Q(1,ZOa,3,2,"ng-container",13),L());a&2&&(a=b.$implicit,z(1),F("ngIf",3<a.screenshots.length))},aPa=function(a,
b){a&1&&(J(0),I(1,"activity-stream",53),L());a&2&&(a=b.$implicit,z(1),F("activityEvents",a)("title","Project Activity"))},bPa=function(a){a&1&&I(0,"b-spinner")},cPa=function(a){a&1&&(G(0,"footer"),I(1,"hr"),G(2,"a",49),R(3,"Launch"),H(),Q(4,YOa,3,1,"ng-container",13),S(5,"async"),Q(6,$Oa,2,1,"ng-container",13),S(7,"async"),I(8,"hr"),Q(9,aPa,2,2,"ng-container",1),S(10,"async"),Q(11,bPa,1,0,"ng-template",null,50,Zf),H());if(a&2){var b=Cf(12);a=O(2);z(4);F("ngIf",T(5,4,a.taskFlowLink$));z(2);F("ngIf",
T(7,6,a.projectData$));z(3);F("ngIf",T(10,8,a.projectActivityStream$))("ngIfElse",b)}},dPa=function(a,b){if(a&1){var c=v();J(0);G(1,"header",3)(2,"aside",4)(3,"div",5)(4,"button",6);M("click",function(){var d=w(c).$implicit,e=O();return y(sn(e.hackyPrefs,d.issueId))});R(5,"Add");H()()();G(6,"div",7)(7,"div",3)(8,"div",8)(9,"span",9)(10,"a",10);R(11);H();G(12,"button",11);M("click",function(){var d=w(c).$implicit,e=O();return y(e.hackyPrefs.toggleCollapsed("project-"+d.issueId))});I(13,"mat-icon",
12);H()()();Q(14,MOa,3,3,"ng-container",13);H()();G(15,"mat-menu",null,14)(17,"button",15);M("click",function(){var d=w(c).$implicit,e=O();return y(Io(e.hackyPrefs,d.issueId,-1))});I(18,"mat-icon",16);G(19,"span",17);R(20,"Move up");H()();G(21,"button",15);M("click",function(){var d=w(c).$implicit,e=O();return y(Io(e.hackyPrefs,d.issueId,1))});I(22,"mat-icon",18);G(23,"span",17);R(24,"Move down");H()();I(25,"mat-divider");G(26,"button",19);M("click",function(){var d=w(c).$implicit,e=O();return y(Jo(e.hackyPrefs,
d.issueId))});I(27,"mat-icon",20);G(28,"span",17);R(29,"Remove from My Projects");H()();G(30,"a",21);I(31,"mat-icon",22);G(32,"span",17);R(33,"View Issue Relationships");H()()()();Q(34,TOa,3,3,"ng-container",13);Q(35,XOa,4,2,"div",23);Q(36,cPa,13,10,"footer",13);L()}a&2&&(a=b.$implicit,b=O(),z(10),zf("href","/issues/",a.issueId,"/dependencies",Md),z(1),Df(" ",a.snapshot[0].title," "),z(3),F("ngIf",!b.addMode),z(3),F("disabled",!Ko(b.hackyPrefs,a.issueId,-1)),z(4),F("disabled",!Ko(b.hackyPrefs,a.issueId,
1)),z(9),zf("href","/issues/",a.issueId,"/dependencies",Md),z(4),F("ngIf",!b.isCollapsed(a.issueId)),z(1),F("ngIf",!b.isCollapsed(a.issueId)),z(1),F("ngIf",!b.isCollapsed(a.issueId)&&0<a.childIssueCount))},ePa=function(a){a&1&&(J(0),I(1,"b-spinner"),L())},fPa=function(a){if(a&1){var b=v();G(0,"p",55);R(1);G(2,"a",56);M("click",function(){w(b);var c=O(2);return y(Jo(c.hackyPrefs,c.issueId))});R(3," Remove ");H()()}a&2&&(a=O(2),z(1),Df(" b/",a.issueId," "))},gPa=function(a){a&1&&(Q(0,ePa,2,0,"ng-container",
1),Q(1,fPa,4,1,"ng-template",null,54,Zf));if(a&2){var b=Cf(2);a=O();F("ngIf",a.issueFridge.isThinking(a.issueId))("ngIfElse",b)}},iPa=function(a){a=hPa(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},kPa=function(a){a=encodeURIComponent(a.join("\n\n"));return"/issues/new?component="+jPa+"&description="+a},lPa=function(a,b){a&1&&(J(0),
I(1,"issue-as-project-card",9),L());a&2&&(a=b.$implicit,z(1),F("issueId",a.issueId)("addMode",!0))},mPa=function(a){a&1&&(G(0,"p",3),R(1,"No projects found."),H())},nPa=function(a){if(a&1){var b=v();G(0,"button",10);M("click",function(){w(b);var c=O(2);return y(c.suggestionCount=2*c.suggestionCount)});R(1," Show more ");H()}},oPa=function(a,b){a&1&&(J(0),G(1,"div",2)(2,"p",3)(3,"a",4),I(4,"mat-icon",5),H(),R(5," Issues calculated from parent/child work items. "),H(),Q(6,lPa,2,2,"ng-container",6),
S(7,"slice"),Q(8,mPa,2,0,"p",7),Q(9,nPa,2,0,"button",8),H(),L());a&2&&(a=b.ngIf,b=O(),z(6),F("ngForOf",Nf(7,3,a,0,b.suggestionCount)),z(2),F("ngIf",0===a.length),z(1),F("ngIf",a.length>b.suggestionCount&&!b.disableShowMore))},pPa=function(a){a&1&&(G(0,"p",3),I(1,"b-spinner"),R(2," Loading project suggestions... "),H())},qPa=function(a){a&1&&(G(0,"p",11),R(1),H());a&2&&(a=O(),z(1),Df(" ",a.errorMsg," "))},rPa=function(a){if(a&1){var b=v();G(0,"aside",12)(1,"div",13)(2,"h2");R(3,"Hotlist Suggestions");
H();G(4,"suggested-hotlists",14);M("click",function(c){w(b);var d=O();Wva(c).match(/\bBUTTON\b/)&&d.dialogRef.close();return y()});H()();G(5,"div",13)(6,"h2");R(7,"Project Suggestions");H();G(8,"suggested-issue-projects",15);M("click",function(c){w(b);var d=O();Wva(c).match(/\bBUTTON\b/)&&d.dialogRef.close();return y()});H()()()}a&2&&(z(4),F("suggestionCount",5)("disableShowMore",!0),z(4),F("suggestionCount",5)("disableShowMore",!0))},sPa=function(a){if(a&1){var b=v();G(0,"div",3);M("@arrowPosition.start",
function(){w(b);var c=O();return y(c._disableViewStateAnimation=!0)})("@arrowPosition.done",function(){w(b);var c=O();return y(c._disableViewStateAnimation=!1)});I(1,"div",4);G(2,"div",5);I(3,"div",6)(4,"div",7)(5,"div",8);H()()}a&2&&(a=O(),F("@arrowOpacity",a._getArrowViewState())("@arrowPosition",a._getArrowViewState())("@allowChildren",a._getArrowDirectionState()),z(2),F("@indicator",a._getArrowDirectionState()),z(1),F("@leftPointer",a._getArrowDirectionState()),z(1),F("@rightPointer",a._getArrowDirectionState()))},
tPa=function(a){a&1&&I(0,"th",21)},uPa=function(a){a&1&&I(0,"td",22)},vPa=function(a){a&1&&(G(0,"th",21),R(1," Id "),H())},wPa=function(a,b){a&1&&(G(0,"td",23),I(1,"b-issue-id-cell",24),H());a&2&&(a=b.$implicit,z(1),F("id",a.id))},xPa=function(a){a&1&&(G(0,"th",21),R(1," Title "),H())},yPa=function(a,b){a&1&&(G(0,"td",23),I(1,"b-issue-title-cell",25),S(2,"async"),H());a&2&&(a=b.$implicit,b=O(),z(1),F("issue",T(2,2,a.issue$))("issueUrlFactory",b.issueUrlFactory))},zPa=function(a){a&1&&(G(0,"th",26),
R(1," Type "),H())},APa=function(a,b){a&1&&(G(0,"td",23),I(1,"b-issue-type-cell",27),S(2,"async"),H());a&2&&(a=b.$implicit,z(1),F("issue",T(2,1,a.issue$)))},BPa=function(a){a&1&&(G(0,"th",28),R(1," Assignee "),H())},CPa=function(a,b){a&1&&(G(0,"td",23),I(1,"b-issue-assignee-cell",27),S(2,"async"),H());a&2&&(a=b.$implicit,z(1),F("issue",T(2,1,a.issue$)))},DPa=function(a){a&1&&(G(0,"th",29),R(1," Reporter "),H())},EPa=function(a,b){a&1&&(G(0,"td",23),I(1,"b-issue-reporter-cell",27),S(2,"async"),H());
a&2&&(a=b.$implicit,z(1),F("issue",T(2,1,a.issue$)))},FPa=function(a){a&1&&(G(0,"th",30),R(1," Status "),H())},GPa=function(a,b){a&1&&(G(0,"td",23),I(1,"b-issue-status-cell",27),S(2,"async"),H());a&2&&(a=b.$implicit,z(1),F("issue",T(2,1,a.issue$)))},HPa=function(a){a&1&&(G(0,"th",21),R(1," Team "),H())},IPa=function(a,b){a&1&&(G(0,"td",23),I(1,"b-issue-team-cell",27),S(2,"async"),H());a&2&&(a=b.$implicit,z(1),F("issue",T(2,1,a.issue$)))},JPa=function(a){a&1&&(G(0,"th",31),R(1," Created "),H())},KPa=
function(a,b){a&1&&(G(0,"td",23),I(1,"b-issue-created-time-cell",27),S(2,"async"),H());a&2&&(a=b.$implicit,z(1),F("issue",T(2,1,a.issue$)))},LPa=function(a){a&1&&I(0,"th",21)},MPa=function(a,b){a&1&&(G(0,"td",23)(1,"b-actions-menu",32),M("click",function(c){return c.stopPropagation()}),H()());a&2&&(a=b.$implicit,b=O(),z(1),F("menuItems",b.getMenuItems(a.id)))},NPa=function(a){a&1&&I(0,"tr",33)},OPa=function(a,b){if(a&1){var c=v();G(0,"tr",34);M("click",function(d){var e=w(c).$implicit,g=O();return y(g.navigateToIssue(d,
e.id))})("mouseup",function(d){var e=w(c).$implicit,g=O();return y(g.navigateToIssue(d,e.id))})("focusin",function(){var d=w(c).$implicit,e=O();return y(En(e.focusManager,d))})("keydown",function(d){var e=w(c).$implicit,g=O();return y(g.onRowKeydown(e,d))});H()}a&2&&F("row",b.$implicit)},PPa=function(a,b){return(null==a?void 0:a.id)===(null==b?void 0:b.id)},Al=function(a){return Vm(a.issue$)},QPa=function(a,b){if(!b||!b.direction)return a;switch(b.active){case "status":return fva()(a,b.direction);
case "assignee":return gva()(a,b.direction);case "reporter":return iva()(a,b.direction);case "type":return hva()(a,b.direction);case "createdTime":return jva()(a,b.direction);default:return a}},RPa=function(a){a&1&&(G(0,"div"),I(1,"b-slo-time-indicator",1),H());a&2&&(a=O(),z(1),F("sloStartTime",a.sloStartTime)("sloEndTime",a.sloEndTime)("sloBounds",a.assignmentSlo)("includeObjective",!0))},SPa=function(a){a&1&&(G(0,"div"),I(1,"b-slo-time-indicator",2),H());a&2&&(a=O(),z(1),F("sloStartTime",a.sloStartTime)("sloEndTime",
a.sloEndTime)("sloBounds",a.responseSlo)("includeObjective",!0))},TPa=function(a){a&1&&(G(0,"div"),I(1,"b-slo-time-indicator",3),H());a&2&&(a=O(),z(1),F("sloStartTime",a.sloStartTime)("sloEndTime",a.sloEndTime)("sloBounds",a.closureSlo)("includeObjective",!0))},UPa=function(a){a&1&&(G(0,"div",8),I(1,"b-slo-status-summary",9),H());a&2&&(a=O(),z(1),F("sloStatus",a.sloStatus)("sloStartTime",a.sloStartTime)("onlyShowMetric",a.onlyShowMetric))},VPa=function(a){a&1&&(J(0),R(1," No applicable SLO rules "),
L())},WPa=function(a){a&1&&(J(0),R(1," No SLO set on issue component "),L())},XPa=function(a){a&1&&(G(0,"div",10),Q(1,VPa,2,0,"ng-container",7),Q(2,WPa,2,0,"ng-container",7),H());a&2&&(a=O(),z(1),F("ngIf",a.editSloLink),z(1),F("ngIf",!a.editSloLink))},YPa=function(a){if(a&1){var b=v();G(0,"a",12);M("click",function(){w(b);var c=O(2);return y(c.trackOpenSlo())});R(1);H()}a&2&&(a=O(2),F("href",a.editSloLink,Md),z(1),Df(" ",a.sloName," "))},ZPa=function(a){a&1&&(G(0,"span"),R(1," (private) "),H())},
$Pa=function(a){a&1&&(G(0,"span"),R(1," SLO definition: "),Q(2,YPa,2,2,"a",11),Q(3,ZPa,2,0,"span",7),H());a&2&&(a=O(),z(2),F("ngIf",a.sloName),z(1),F("ngIf",!a.sloName))},aQa=function(a,b){if(a&1){var c=v();G(0,"div",5)(1,"mat-checkbox",6);M("change",function(d){var e=w(c).$implicit,g=O();e=e.key;d.checked?g.updatedColumns.push(e):g.updatedColumns.splice(g.updatedColumns.indexOf(e),1);return y()});H();R(2);H()}a&2&&(a=b.$implicit,b=O(),z(1),F("checked",b.currentColumns.includes(a.key)),z(1),Df(" ",
a.value," "))},bQa=function(a){a&1&&(G(0,"div",15),I(1,"img",16),R(2,"\u00a0 "),G(3,"a",17),R(4),H()());if(a&2){a=O().$implicit;var b=O(2);z(3);F("href",b.makeCritiqueUrl(a.clIds),Md);z(1);Df("",a.clIds.length," CLs")}},cQa=function(a,b){a&1&&I(0,"b-user-image",18);a&2&&F("email",b.$implicit)},dQa=function(a,b){if(a&1){var c=v();G(0,"div",11);M("click",function(){var d=w(c).$implicit,e=O(2);return y(e.log(d))});G(1,"div",12);Q(2,bQa,5,2,"div",13);H();Q(3,cQa,1,1,"b-user-image",14);H()}a&2&&(a=b.$implicit,
z(2),F("ngIf",0<a.clIds.length),z(1),F("ngForOf",a.contributors))},eQa=function(a){a&1&&(J(0),I(1,"b-issue-priority-display",20),L());a&2&&(a=O().$implicit,z(1),F("issuePriority",a))},fQa=function(a,b){a&1&&(J(0),Q(1,eQa,2,1,"ng-container",10),L());a&2&&(a=b.$implicit,z(1),F("ngIf","P0"===a||"P1"===a))},gQa=function(a){a&1&&(J(0),G(1,"div"),R(2),G(3,"a",21),R(4,"View as project"),H()(),L());a&2&&(a=O(2).$implicit,z(2),Ff(" \ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d\udc66 ",a.childIssueCount," ",1===
a.childIssueCount?"child":"children",". "))},hQa=function(a){a&1&&(G(0,"div",15),I(1,"img",16),R(2,"\u00a0 "),G(3,"a",17),R(4),H()());if(a&2){a=O().$implicit;var b=O(2);z(3);F("href",b.makeCritiqueUrl(a.clIds),Md);z(1);Df("",a.clIds.length," CLs")}},iQa=function(a,b){if(a&1){var c=v();G(0,"div",19);M("click",function(){var d=w(c).$implicit,e=O(2);return y(e.log(d))});Q(1,fQa,2,1,"ng-container",10);Q(2,gQa,5,2,"ng-container",10);Q(3,hQa,5,2,"div",13);H()}a&2&&(a=b.$implicit,b=O().$implicit,z(1),F("ngIf",
b.snapshot[0].priority),z(1),F("ngIf",0<b.childIssueCount),z(1),F("ngIf",0<a.clIds.length))},jQa=function(a,b){if(a&1){var c=v();J(0);G(1,"p",22);M("click",function(){var d=w(c).$implicit,e=O(2);return y(e.log(d))});R(2," Description: ");H();G(3,"p");R(4);S(5,"slice");H();L()}a&2&&(a=b.$implicit,z(4),Df(" ",Nf(5,1,null==a.firstEvent?null:a.firstEvent.unlinkifiedComment,0,300)," "))},kQa=function(a,b){if(a&1){var c=v();G(0,"div",1);M("click",function(){var d=w(c).$implicit,e=O();return y(e.log(d))});
G(1,"div",2)(2,"div")(3,"span",3)(4,"a",4);R(5);H();G(6,"i",5);M("click",function(){var d=w(c).$implicit,e=O();return y(e.hackyPrefs.toggleCollapsed("project-"+d.issueId))});H()();G(7,"span",6);R(8);H()();Q(9,dQa,4,2,"div",7);S(10,"async");H();Q(11,iQa,4,3,"div",8);S(12,"async");G(13,"div",9);Q(14,jQa,6,5,"ng-container",10);S(15,"async");H();I(16,"div",2);H()}a&2&&(a=b.$implicit,b=O(),qf("collapsed",b.prefs.collapsed["project-"+a.issueId]),z(4),zf("href","/issues/",a.issueId,"/dependencies",Md),z(1),
Df(" ",a.snapshot[0].title," "),z(3),Df(" ",a.issueId," "),z(1),F("ngIf",T(10,8,b.projectData$)),z(2),F("ngIf",T(12,10,b.projectData$)),z(3),F("ngIf",T(15,12,b.issueFr$)))},mQa=function(a){a=lQa(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},oQa=function(a){a=encodeURIComponent(a.join("\n\n"));return"/issues/new?component="+nQa+"&description="+
a},qQa=function(a){if(a&1){var b=v();G(0,"mat-slide-toggle",23);M("ngModelChange",function(c){w(b);var d=O();return y(d.isAssignedToMeOnly=c)})("change",function(c){w(b);var d=O();return y(pQa(d,c.checked))});R(1," Assigned only ");H()}a&2&&(a=O(),F("ngModel",a.isAssignedToMeOnly))},rQa=function(a,b){a&1&&(J(0),I(1,"flat-issues-table",24),L());a&2&&(a=b.ngIf,b=O(),z(1),F("issueIds",a)("displayedColumns",b.columnsToDisplay)("assigneeMode","avatar-in-progress"))},sQa=function(a){a&1&&I(0,"b-spinner")},
tQa=function(a){return yya(a.getSearch())},uQa=function(a){a&1&&(G(0,"div",29),I(1,"img",30),R(2,"\u00a0 "),G(3,"a",31),R(4),H()());if(a&2){a=O().ngIf;var b=O(3);z(3);F("href",b.makeCritiqueUrl(a.clIds,a.pendingChangeLists),Md);z(1);Df("",a.clIds.length+a.pendingChangeLists.length," CLs")}},vQa=function(a,b){a&1&&I(0,"b-user-image",32);a&2&&F("email",b.$implicit)},wQa=function(a,b){a&1&&(G(0,"div",23)(1,"div",24),Q(2,uQa,5,2,"div",25),H(),Q(3,vQa,1,1,"b-user-image",26),S(4,"slice"),G(5,"button",27),
I(6,"mat-icon",28),H()());if(a&2){a=b.ngIf;O(2);var c=Cf(17);z(2);F("ngIf",0<a.clIds.length||0<a.pendingChangeLists.length);z(1);F("ngForOf",Nf(4,3,a.contributors,0,10));z(2);F("matMenuTriggerFor",c)}},xQa=function(a){a&1&&(J(0),Q(1,wQa,7,7,"div",22),S(2,"async"),L());a&2&&(a=O(2),z(1),F("ngIf",T(2,1,a.savedSearchAggregatedData$)))},zQa=function(a){a&1&&(G(0,"a",31),R(1),H());if(a&2){a=O(2).$implicit;var b=O(3);F("href",b.makeCritiqueUrl(If(2,yQa),a.pendingChangeLists),Md);z(1);Df("(",a.pendingChangeLists.length,
" pending)")}},AQa=function(a){a&1&&(G(0,"div",29),I(1,"img",30),R(2,"\u00a0 "),G(3,"a",31),R(4),H(),R(5," \u00a0 "),Q(6,zQa,2,3,"a",35),H());if(a&2){a=O().$implicit;var b=O(3);z(3);F("href",b.makeCritiqueUrl(a.clIds,a.pendingChangeLists),Md);z(1);Df("",a.clIds.length+a.pendingChangeLists.length," CLs");z(2);F("ngIf",0<a.pendingChangeLists.length)}},BQa=function(a,b){a&1&&(G(0,"div",34),Q(1,AQa,7,3,"div",25),H());a&2&&(a=b.$implicit,z(1),F("ngIf",0<a.clIds.length||0<a.pendingChangeLists.length))},
CQa=function(a){a&1&&(J(0),Q(1,BQa,2,1,"div",33),S(2,"async"),L());a&2&&(a=O(2),z(1),F("ngIf",T(2,1,a.savedSearchAggregatedData$)))},DQa=function(a,b){a&1&&(J(0),I(1,"flat-issues-table",39),L());a&2&&(a=b.ngIf,b=O(3),z(1),F("issueIds",a)("displayedColumns",b.columnsToDisplay)("assigneeMode","avatar-in-progress"))},EQa=function(a){a&1&&(G(0,"div",36),Q(1,DQa,2,3,"ng-container",11),S(2,"slice"),S(3,"async"),G(4,"div",37)(5,"a",38),R(6,"View all issues"),H()()());if(a&2){a=O().ngIf;var b=O();z(1);F("ngIf",
Nf(2,2,T(3,6,b.savedSearchIssueIds$),0,10));z(4);zf("href","/savedsearches/",a.searchId,"",Md)}},FQa=function(a){a&1&&(J(0),I(1,"activity-stream",42),S(2,"async"),L());a&2&&(a=O(3),z(1),F("activityEvents",T(2,1,a.savedSearchActivityEvents$)))},GQa=function(a){a&1&&I(0,"b-spinner")},HQa=function(a){a&1&&(G(0,"footer"),I(1,"hr"),Q(2,FQa,3,3,"ng-container",40),S(3,"async"),Q(4,GQa,1,0,"ng-template",null,41,Zf),H());if(a&2){var b=Cf(5);a=O(2);z(2);F("ngIf",T(3,2,a.savedSearchActivityEvents$))("ngIfElse",
b)}},IQa=function(a,b){if(a&1){var c=v();G(0,"div",1)(1,"header",2)(2,"aside",3)(3,"div",4)(4,"button",5);M("click",function(){var d=w(c).ngIf,e=O();return y(sn(e.hackyPrefs,"savedsearch-"+d.searchId))});R(5,"Add");H()()();G(6,"div",6)(7,"span",7)(8,"a",8);R(9);H();G(10,"button",9);M("click",function(){var d=w(c).ngIf,e=O();return y(e.hackyPrefs.toggleCollapsed("savedsearch-"+d.searchId))});I(11,"mat-icon",10);H()()();Q(12,xQa,3,3,"ng-container",11);H();Q(13,CQa,3,3,"ng-container",11);Q(14,EQa,7,
8,"div",12);Q(15,HQa,6,4,"footer",11);G(16,"mat-menu",null,13)(18,"button",14);M("click",function(){var d=w(c).ngIf,e=O();return y(e.reorder(d.searchId,-1))});I(19,"mat-icon",15);G(20,"span",16);R(21,"Move up");H()();G(22,"button",14);M("click",function(){var d=w(c).ngIf,e=O();return y(e.reorder(d.searchId,1))});I(23,"mat-icon",17);G(24,"span",16);R(25,"Move down");H()();I(26,"mat-divider");G(27,"button",18);M("click",function(){var d=w(c).ngIf,e=O();Jo(e.hackyPrefs,Hl(d.searchId));return y()});I(28,
"mat-icon",19);G(29,"span",16);R(30,"Remove from My Projects");H()();G(31,"a",20);I(32,"mat-icon",21);G(33,"span",16);R(34,"View Saved Search");H()()()()}a&2&&(a=b.ngIf,b=O(),qf("never-collapse-mode",b.neverCollapse)("collapsed",b.isCollapsed(a)),z(8),zf("href","/savedsearches/",a.searchId,"",Md),z(1),Df(" ",a.name," "),z(3),F("ngIf",!b.addMode),z(1),F("ngIf",!b.isCollapsed(a)),z(1),F("ngIf",!b.isCollapsed(a)),z(1),F("ngIf",!b.isCollapsed(a)),z(3),F("disabled",!b.canMove(a.searchId,-1)),z(4),F("disabled",
!b.canMove(a.searchId,1)),z(9),zf("href","/savedsearches/",a.searchId,"",Md))},JQa=function(a){a&1&&I(0,"mat-pseudo-checkbox",5);a&2&&(a=O(),F("state",a.selected?"checked":"unchecked")("disabled",a.disabled))},KQa=function(a){return a&&a.length?a.map(function(b){return b.toApiUrlParam()}).join(","):null},Mo=function(a,b){b=void 0===b?{}:b;return null==b.id?"":Lo(a,b)},Lo=function(a,b){var c=b=void 0===b?{}:b;b=c.params;c=c.tab;b&&(a=qwa(a,b));c&&(a=a+"#"+c);return a},LQa=function(a){if(a&1){var b=
v();G(0,"button",7);M("click",function(){w(b);var c=O(2);return y(c.removeHotlist.emit())});I(1,"mat-icon",8);H()}a&2&&(a=O(2),qf("invisible",a.disabled),gf("aria-disabled",a.disabled)("aria-label","Remove the hotlist "+a.hotlist.name))},MQa=function(a){a&1&&(J(0),G(1,"span",1)(2,"span",2)(3,"a",3),R(4),H()(),Q(5,LQa,2,4,"button",4),H(),G(6,"onedev-hovercard",null,5),I(8,"b-hotlist-card",6),H(),L());if(a&2){var b=Cf(7);a=O();z(1);pf("padding-right",a.removable?0:"10px");qf("muted",a.disabled);F("onedevHovercardTrigger",
b)("onedevHovercardActive",a.showHovercard);z(2);F("href",a.pathBuilder.viewHotlist(a.hotlist.hotlistId),Md);gf("aria-label",a.getAriaLabel(a.hotlist));z(1);Ef(a.hotlist.name);z(1);F("ngIf",a.removable);z(3);F("hotlist",a.hotlist)}},NQa=function(a){a&1&&I(0,"mat-icon",3)},OQa=function(a){a&1&&I(0,"b-spinner")},PQa=function(a){if(a&1){var b=v();G(0,"b-star-toggle",9);M("starClicked",function(){w(b);var c=O(2);return y(c.starClicked.emit())});S(1,"async");S(2,"async");H()}a&2&&(a=O(2),F("starMessage",
"Star this hotlist")("unStarMessage","Un-star this hotlist")("acceptInput",!T(1,4,Dn(a.isSavingStar,a.hotlist.hotlistId)))("starred",T(2,6,Dn(a.starredHotlists,a.hotlist.hotlistId))))},QQa=function(a){a&1&&(G(0,"p",10),R(1),H());a&2&&(a=O(2),z(1),Df(" ",a.hotlist.description," "))},RQa=function(a){a&1&&(G(0,"div",1)(1,"div",2)(2,"label",3),R(3),H(),G(4,"span",4),Q(5,PQa,3,8,"b-star-toggle",5),G(6,"a",6),M("click",function(b){return b.stopPropagation()})("keydown.enter",function(b){return b.stopPropagation()}),
I(7,"mat-icon",7),H()()(),Q(8,QQa,2,1,"p",8),H());a&2&&(a=O(),z(3),Df(" ",a.hotlist.name," "),z(2),F("ngIf",a.shouldShowStar(a.hotlist)),z(1),F("routerLink",a.paths.viewHotlist(a.hotlist.hotlistId)),z(2),F("ngIf",!a.isCompact&&a.hotlist.description))},SQa=function(a){a&1&&vf(0)},TQa=function(a){a&1&&(J(0),Q(1,SQa,1,0,"ng-container",6),L());if(a&2){O();var b=Cf(12);z(1);F("ngTemplateOutlet",b)}},UQa=function(a){a&1&&vf(0)},VQa=function(a){a&1&&(J(0),Q(1,UQa,1,0,"ng-container",6),L());if(a&2){O();var b=
Cf(6);z(1);F("ngTemplateOutlet",b)}},YQa=function(a){if(a&1){var b=v();G(0,"button",7);M("click",function(){w(b);var c=O();return y(WQa(c))});R(1," Create ");H()}a&2&&(a=O(),F("disabled",!(0<XQa(a).length)))},ZQa=function(a){if(a&1){var b=v();G(0,"button",8);M("click",function(){w(b);var c=O();return y(No(c))});R(1);H()}a&2&&(a=O(),F("mat-dialog-close",!0)("matTooltip",a.saveBtnTooltip)("disabled",a.pristine),gf("aria-label",a.saveBtnTooltip),z(1),Df(" ",a.saveBtnLabel," "))},aRa=function(a){if(a&
1){var b=v();G(0,"button",19);M("click",function(){w(b);var c=O(2),d=Rh(c.query$.value);c.allHotlistIds.has(d)?(c.selectedHotlistIds.add(d),No(c)):$Qa(c,d);return y()});R(1);S(2,"async");G(3,"span",20);R(4,"(add hotlist by ID)");H()()}a&2&&(a=O(2),z(1),Df(" ",T(2,1,a.query$)," "))},bRa=function(a){if(a&1){var b=v();G(0,"button",21);M("click",function(){w(b);O(2).showCreateNewPane=!0;return y()});R(1);S(2,"async");G(3,"span",20);R(4,"(create new)");H()()}a&2&&(a=O(2),z(1),Df(" ",T(2,1,a.query$)," "))},
cRa=function(a,b){if(a&1){var c=v();J(0);G(1,"div",25,26);S(3,"async");G(4,"mat-list-option",27);M("focus",function(){w(c);var g=Cf(2);return y(g.show())})("blur",function(){w(c);var g=Cf(2);return y(g.hide())});S(5,"async");G(6,"hotlist-matlist-option",28);M("starClicked",function(){var g=w(c).$implicit,h=O(3);return y(h.toggleStar(g.hotlistId))});H()()();L()}if(a&2){a=b.$implicit;b=O(3);var d,e;z(1);F("matTooltip",!1===(null==(d=T(3,10,a.permissions$))?null:d.appender)?b.NO_ACCESS_MESSAGE:"");z(3);
pf("height","auto");F("selected",b.selectedHotlistIds.has(a.hotlistId))("disabled",!1===(null==(e=T(5,12,a.permissions$))?null:e.appender))("value",a.hotlistId);z(2);F("hotlist",a)("isCompact",!1)("starredHotlists",b.starredHotlists)("isSavingStar",b.isSavingStar)}},dRa=function(a){if(a&1){var b=v();J(0);G(1,"div",29)(2,"span",20);R(3," The number of hotlists is too large to show at once. ");H();G(4,"button",30);M("click",function(){w(b);var c=O(3);return y(c.forceShowOverflow$.next(!0))});R(5," Show all anyway ");
H()();L()}},eRa=function(a,b){if(a&1){var c=v();J(0);G(1,"mat-selection-list",22,23);M("selectionChange",function(d){w(c);var e=O(2);return y(e.onChangeMatList(d))});Q(3,cRa,7,14,"ng-container",24);H();Q(4,dRa,6,0,"ng-container",18);S(5,"async");L()}a&2&&(a=b.$implicit,b=O(2),z(3),F("ngForOf",a)("ngForTrackBy",b.trackByHotlistId),z(1),F("ngIf",T(5,3,b.isOverflowMode$)))},fRa=function(a){if(a&1){var b=v();G(0,"header",9)(1,"h2");R(2,"Search for Hotlists");H();G(3,"div",10);I(4,"mat-icon",11);G(5,"input",
12,13);M("input",function(){w(b);var c=Cf(6);O().query$.next(c.value);return y()});H()()();G(7,"section",14,15);Q(9,aRa,5,3,"button",16);S(10,"async");Q(11,bRa,5,3,"button",17);S(12,"async");Q(13,eRa,6,5,"ng-container",18);S(14,"async");H()}a&2&&(a=O(),z(9),F("ngIf",T(10,3,a.showLoadById$)),z(2),F("ngIf",T(12,5,a.showCreateNew$)),z(2),F("ngIf",T(14,7,a.visibleHotlists$)))},gRa=function(a){a&1&&(G(0,"header",9)(1,"h2"),R(2,"Create new hotlist"),H()(),G(3,"section",31)(4,"div",32)(5,"form",33)(6,"label",
34),R(7,"Name"),H(),I(8,"input",35),G(9,"label",36),R(10,"Description"),H(),I(11,"textarea",37),G(12,"p",20),R(13," Note: Access controls can be adjusted after the hotlist is created. "),H()()()());a&2&&(a=O(),z(5),F("formGroup",a.hotlistUnderEdit))},hRa=function(a,b){return a.name.localeCompare(b.name)},iRa=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)},jRa=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)"]},kRa=function(a,b){a&1&&(G(0,"span",11),R(1," of "),G(2,"a",12),R(3),H()());if(a&2){a=b.$implicit;O(2);var c=Cf(12);z(2);zf("routerLink","/issues/",a,"");F("onedevHovercardTrigger",c);z(1);Df(" ",a," ")}},lRa=function(a,
b){a&1&&(G(0,"div")(1,"div",9),S(2,"async"),R(3),H(),Q(4,kRa,4,3,"span",10),S(5,"async"),H());a&2&&(a=b.$implicit,b=O(),z(1),tf("chippy ",T(2,6,b.statusCssClass$),""),F("title",b.STATUS_JS_FULL_TEXT[a]),z(2),Df(" ",b.STATUS_JS_TERSE[a]," "),z(1),F("ngIf",T(5,8,b.canonicalId$)))},mRa=function(a,b){a&1&&(G(0,"span"),R(1),H());a&2&&(a=b.$implicit,b=O(),tf("b-chip squared issue-type-",a,""),z(1),Df(" ",b.ISSUE_TYPE_TEXT[a]," "))},oRa=function(a,b){if(a&1){var c=v();G(0,"b-hotlist-chip-smart",17);M("removeHotlist",
function(){var d=w(c).$implicit,e=O(2);return y(nRa(e,d))});H()}a&2&&F("id",b.$implicit)},qRa=function(a,b){if(a&1){var c=v();G(0,"div",13)(1,"button",14);M("onHotkey",function(){w(c);var d=O();return y(pRa(d))})("click",function(){w(c);var d=O();return y(pRa(d))});I(2,"mat-icon",15);R(3);S(4,"async");H();Q(5,oRa,1,1,"b-hotlist-chip-smart",16);H()}a&2&&(a=b.$implicit,b=O(),z(1),F("hotkey",b.HOTKEYS.OPEN_HOTLIST_PICKER),z(2),Df(" ",T(4,3,b.textOfHotlistBtn$)," "),z(2),F("ngForOf",a))},rRa=function(a){a&
1&&(G(0,"div",18),I(1,"smart-full-history-btn"),H())},sRa=function(a){a&1&&(I(0,"b-issue-card",19,20),S(2,"async"));if(a&2){var b=Cf(1);a=O();F("onedevIsHovercardReady",b.init)("issueId",T(2,2,a.canonicalId$))}},tRa=function(a){return null==a?void 0:a.snapshot[0].hotlistId},uRa=function(a){a&1&&(G(0,"h3",3,4),R(2),H());a&2&&(a=O(),gf("title",a.isLongTitle?a.titlePlain:""),z(2),Df(" ",a.titleTruncated,"\n"))},xRa=function(a){if(a&1){var b=v();G(0,"mat-form-field",5)(1,"input",6,7);M("keyup",function(c){w(b);
var d=O();return y(vRa(d,c))})("blur",function(){w(b);var c=O();return y(vRa(c,null))});H()()}a&2&&(a=O(),F("ngStyle",Jf(2,wRa,a.editModeWidth)),z(1),F("value",a.titlePlain))},zRa=function(a){if(a&1){var b=v();G(0,"button",8);M("click",function(){w(b);var c=O();return y(yRa(c))});I(1,"mat-icon",9);H()}a&2&&(a=O(),F("disabled",a.disabled))},BRa=function(a,b){if(a&1){var c=v();G(0,"button",1);M("click",function(){w(c);var d=O();return y(ARa(d))});S(1,"async");R(2);H()}a&2&&(a=b.ngIf,b=O(),F("disabled",
b.disabled||b.fridge.isSaving(b.internalIssueId)||!1===T(1,3,b.canEdit$))("title",a.isDupe?b.TOOLTIP_UNMARK_DUPE:b.TOOLTIP_MARK_DUPE),z(2),Df(" ",a.isDupe?"Unmark Duplicate":"Mark as Duplicate"," "))},CRa=function(a){a&1&&(G(0,"p",11),R(1),H());a&2&&(a=O(),z(1),Df(" * Status update must be less than ",a.CHAR_LIMIT," characters. "))},DRa=function(a){a&1&&(G(0,"div",12),I(1,"b-live-preview",13),H());a&2&&(a=O(),z(1),F("comment",a.newStatusUpdate.updateText)("issueId",a.origStatusUpdate.issueId)("formattingMode",
a.newStatusUpdate.formattingMode)("audience",a.formattingAudience))},ERa=function(a,b){a&1&&(G(0,"li",6)(1,"div",7),I(2,"b-user-image",8),H(),G(3,"div",9),I(4,"b-user-display",10)(5,"b-formatted-date-time",11),G(6,"p",12),R(7," Formatting: "),G(8,"code",13),R(9),H()(),I(10,"br"),G(11,"span",14)(12,"b-person-hovercard",15),S(13,"omitObfuscatedEmail"),R(14),S(15,"appendDomain"),H()(),R(16),H(),G(17,"pre"),R(18),H()());a&2&&(a=b.$implicit,b=b.index+1,z(2),F("email",null==a.author?null:a.author.emailAddress),
z(2),F("model",a.author),z(1),F("timestamp",a.updateTime),z(4),Df(" ",a.formattingMode," "),z(3),F("email",T(13,8,null==a.author?null:a.author.emailAddress)),z(2),Df(" <",T(15,10,null==a.author?null:a.author.emailAddress),"> "),z(2),Df(" #",b," "),z(2),Ef(a.updateText))},GRa=function(a){if(a&1){var b=v();J(0);G(1,"header",3)(2,"h4",4);R(3,"Status Update");H();G(4,"p",5);R(5,"No update yet.");H();G(6,"button",6);M("click",function(){w(b);var c=O(2);return y(FRa(c))});R(7," Edit ");H()();L()}},IRa=
function(a){if(a&1){var b=v();G(0,"button",15);M("click",function(){w(b);var c=O(4);return y(HRa(c))});R(1," Mark as fresh ");H()}},JRa=function(a){a&1&&(J(0),Q(1,IRa,2,0,"button",14),S(2,"async"),L());a&2&&(a=O(3),z(1),F("ngIf",T(2,1,a.freshnessIndicator$)===a.Freshness.STALE))},KRa=function(a){a&1&&I(0,"mat-icon",21)},LRa=function(a,b){a&1&&(J(0),Q(1,KRa,1,0,"mat-icon",16),S(2,"async"),R(3," Updated by "),G(4,"span",17),R(5),S(6,"shortenEmail"),H(),I(7,"b-formatted-date-time",18),G(8,"onedev-hovercard",
null,19),I(10,"b-issue-person-card",20),H(),L());if(a&2){a=b.ngIf;var c=Cf(9);b=O(3);var d,e;z(1);F("ngIf",T(2,5,b.freshnessIndicator$)===b.Freshness.FRESH);z(3);F("onedevHovercardTrigger",c);z(1);Df(" ",T(6,7,null!==(d=null==a.author?null:a.author.emailAddress)&&void 0!==d?d:"")," ");z(2);F("timestamp",a.updateTime);z(3);F("email",null!==(e=null==a.author?null:a.author.emailAddress)&&void 0!==e?e:"")}},MRa=function(a,b){a&1&&I(0,"b-actions-menu",22);a&2&&(a=b.ngIf,F("buttonLabel","Status Update actions")("menuItems",
a))},NRa=function(a,b){a&1&&(I(0,"b-note-container",27),S(1,"async"),S(2,"async"));if(a&2){a=b.ngIf;b=O().ngIf;var c=O(3),d;F("issueId",b.issueId)("issueAccessLevel",T(1,4,c.accessLevel$))("note",a)("formattingMode",null!==(d=T(2,6,c.formattingMode$))&&void 0!==d?d:c.FormattingMode.PLAIN)}},ORa=function(a){if(a&1){var b=v();G(0,"button",28);M("click",function(){w(b);var c=O(4);return y(c.isCollapsed=!1)});R(1," Show More ");H()}},PRa=function(a){a&1&&(J(0),G(1,"div",23)(2,"div",null,24),Q(4,NRa,3,
8,"b-note-container",25),S(5,"async"),H(),Q(6,ORa,2,0,"button",26),H(),L());a&2&&(a=O(3),z(2),qf("collapsed",a.isCollapsed),z(2),F("ngIf",T(5,4,a.statusUpdateAsNote$)),z(2),F("ngIf",a.isCollapsed))},QRa=function(a){if(a&1){var b=v();J(0);G(1,"div",7)(2,"header",8)(3,"div",9)(4,"h4",10);R(5,"Status Update");H();G(6,"button",11);M("click",function(){w(b);var c=O(2);return y(FRa(c))});R(7," Edit ");H();Q(8,JRa,3,3,"ng-container",2);S(9,"async");H();G(10,"div",12);Q(11,LRa,11,9,"ng-container",2);S(12,
"async");Q(13,MRa,1,2,"b-actions-menu",13);S(14,"async");H()();Q(15,PRa,7,6,"ng-container",2);S(16,"async");H();L()}a&2&&(a=O(2),z(8),F("ngIf",T(9,4,a.currentUserIsAuthoritative$)),z(3),F("ngIf",T(12,6,a.statusUpdate$)),z(2),F("ngIf",T(14,8,a.menuItems$)),z(2),F("ngIf",T(16,10,a.statusUpdate$)))},SRa=function(a,b){a&1&&(G(0,"div"),S(1,"async"),I(2,"mat-icon",1),Q(3,GRa,8,0,"ng-container",2),Q(4,QRa,17,12,"ng-container",2),H());a&2&&(a=b.ngIf,b=O(),tf("carded margin-s-sides margin-s-bottom bg-main highlighted-left flex-kids-x ",
T(1,9,b.semanticClass$),""),qf("display-none",Kf(11,RRa,b.UiState.LOADING,b.UiState.HIDDEN).includes(a))("short-height",b.UiState.SHOW_EMPTY===a),z(3),F("ngIf",a===b.UiState.SHOW_EMPTY),z(1),F("ngIf",a===b.UiState.NORMAL))},TRa=function(a){switch(a){case 1:return"noUpdate";case 2:return"noUpdateTeamMember";case 3:return"hasUpdate";case 0:return"";default:return""}},URa=function(a){a&1&&(G(0,"p",10),R(1),H());a&2&&(a=O().$implicit,z(1),Ef(a.description))},VRa=function(a,b){a&1&&(J(0),G(1,"mat-list-option",
6)(2,"div",7)(3,"label",8),R(4),H()(),Q(5,URa,2,1,"p",9),H(),L());a&2&&(a=b.$implicit,b=O(),z(1),pf("height","auto"),F("selected",b.selectedSavedSearches.has(a.searchId))("value",a.searchId),z(3),Ef(a.name),z(1),F("ngIf",a.description))},WRa=function(a){if(a&1){var b=v();G(0,"div",19)(1,"button",20);M("click",function(){w(b);var c=O(2);return y(c.headerOnly=!1)});R(2," Show affected files ");I(3,"mat-icon",21);H()()}},XRa=function(a,b){a&1&&(G(0,"div",27)(1,"div",28),R(2," \u00b7 "),G(3,"a",9),R(4),
H()()());a&2&&(a=b.$implicit,b=O(3),z(3),Bf("href","https://critique.corp.google.com/cl/",null==b.changelistWithId?null:b.changelistWithId.id,"",a.replace("//","/").split("#")[0],"",Md),z(1),Df(" ",a.replace("//depot/google3/","").split("#")[0]," "))},YRa=function(a){if(a&1){var b=v();G(0,"div",22)(1,"p",23);R(2," Affected files ");G(3,"button",24);M("click",function(){w(b);var c=O(2);return y(c.headerOnly=!0)});I(4,"mat-icon",25);H()();Q(5,XRa,5,3,"div",26);H()}a&2&&(a=O().ngIf,z(5),F("ngForOf",
a.affectedFiles))},ZRa=function(a){a&1&&(G(0,"div",29)(1,"div",30),I(2,"mat-icon",31),G(3,"a",32),R(4," Open in Critique "),H()()());a&2&&(a=O(2),z(3),zf("href","https://critique.corp.google.com/cl/",null==a.changelistWithId?null:a.changelistWithId.id,"",Md))},$Ra=function(a,b){a&1&&(G(0,"div",1)(1,"div",2)(2,"div",3),I(3,"img",4),H(),G(4,"div",5)(5,"div",6)(6,"a",7),R(7),H()(),G(8,"div",8)(9,"a",9),R(10),H(),R(11," \u00b7 "),G(12,"span"),R(13),H(),R(14," \u00b7 "),G(15,"span"),R(16,"Authored by "),
I(17,"b-user-display",10),H(),R(18," \u00b7 "),G(19,"span"),R(20),H()()(),G(21,"div",11)(22,"button",12),I(23,"mat-icon",13),H(),G(24,"mat-menu",null,14)(26,"button",15),R(27," Hide this notification "),H()()()(),Q(28,WRa,4,0,"div",16),Q(29,YRa,6,1,"div",17),Q(30,ZRa,5,1,"div",18),H());if(a&2){a=b.ngIf;var c=Cf(25);b=O();z(5);F("title",a.description.replace(/<br>/g," ").replace(/<[^>]*>/g,""));z(1);zf("href","https://critique.corp.google.com/cl/",null==b.changelistWithId?null:b.changelistWithId.id,
"",Md);z(1);Df(" ",a.description.replace(/<br>/g," ").replace(/<[^>]*>/g,"")," ");z(2);zf("href","https://critique.corp.google.com/cl/",null==b.changelistWithId?null:b.changelistWithId.id,"",Md);z(1);Df("cl/",null==b.changelistWithId?null:b.changelistWithId.id,"");z(3);Ef(a.pending?"Pending":"Submitted");z(4);F("model",b.emailToUser(a.author));z(3);Ff("",a.affectedFiles.length," file",1===a.affectedFiles.length?"":"s"," affected");z(2);F("matMenuTriggerFor",c);z(6);F("ngIf",b.headerOnly);z(1);F("ngIf",
!b.headerOnly);z(1);F("ngIf",!b.headerOnly)}},aSa=function(a){a&1&&(J(0),R(1),I(2,"b-user-display",21),L());if(a&2){a=O().$implicit;var b=O().ngIf,c=O();z(1);Df(" \u00b7 ",c.STATUS_TERSE[a]," to ");z(1);F("model",b.snapshot[0].assigneeUser)}},bSa=function(a){a&1&&(J(0),R(1),I(2,"b-user-display",21),L());if(a&2){a=O().$implicit;var b=O().ngIf,c=O();z(1);Df(" \u00b7 ",c.STATUS_TERSE[a]," \u00b7 ");z(1);F("model",b.snapshot[0].assigneeUser)}},cSa=function(a){a&1&&(J(0),R(1),L());if(a&2){a=O().$implicit;
var b=O(2);z(1);Df(" \u00b7 ",b.STATUS_TERSE[a]," ")}},dSa=function(a){a&1&&(J(0,18),Q(1,aSa,3,2,"ng-container",19),Q(2,bSa,3,2,"ng-container",19),Q(3,cSa,2,1,"ng-container",20),L());if(a&2){a=O().ngIf;var b=O();F("ngSwitch",a.snapshot[0].status);z(1);F("ngSwitchCase",b.IssueStatus.ASSIGNED);z(1);F("ngSwitchCase",b.IssueStatus.ACCEPTED)}},eSa=function(a){if(a&1){var b=v();G(0,"div",25)(1,"button",26);M("click",function(){w(b);var c=O(3);return y(c.headerOnly=!1)});R(2," Show recent updates ");I(3,
"mat-icon",27);H()()}},fSa=function(a){a&1&&(G(0,"span"),R(1),H());a&2&&(a=O().$implicit,z(1),Df("(",a.count,")"))},gSa=function(a,b){if(a&1){var c=v();J(0);G(1,"span");R(2," \u00b7 ");G(3,"span",40);M("click",function(){w(c);O(7);console.log("likeComment() is unimplemented");return y()});R(4);H()();Q(5,fSa,2,1,"span",1);L()}a&2&&(a=b.$implicit,z(4),Ef(a.hasReacted?"Unlike":"Like"),z(1),F("ngIf",0<a.count))},hSa=function(a){a&1&&(J(0),Q(1,gSa,6,2,"ng-container",1),L());if(a&2){a=O(2).$implicit;var b=
O(4);z(1);F("ngIf",null==a.event.commentReactions?null:a.event.commentReactions.get(b.ReactionType.UPVOTE))}},iSa=function(a){a&1&&(J(0),G(1,"div",34),I(2,"b-user-image",35),H(),G(3,"div",36)(4,"p",37)(5,"a",8),R(6),H()(),G(7,"p",38),I(8,"b-user-display",21),R(9," commented \u00b7"),I(10,"b-formatted-date-time",39),Q(11,hSa,2,1,"ng-container",1),H()(),L());if(a&2){a=O().$implicit;var b=O(3).ngIf,c=O();z(2);F("email",c.getUserEmailIfAvailable(a.event));z(2);F("title",a.event.unlinkifiedComment);z(1);
Bf("href","/issues/",b.issueId,"#comment",a.event.commentNumber,"",Md);z(1);Df(" ",a.event.unlinkifiedComment," ");z(2);F("model",a.event.userPerformingActionUser);z(2);F("timestamp",a.event.modifiedDate);z(1);F("ngIf",null==a.event.commentReactions?null:a.event.commentReactions.has(c.ReactionType.UPVOTE))}},jSa=function(a){a&1&&(J(0),G(1,"div",34),I(2,"b-user-image",35),H(),G(3,"div",36)(4,"p",41),R(5," Issue created "),H(),G(6,"p",38),I(7,"b-user-display",21),R(8," created issue \u00b7"),I(9,"b-formatted-date-time",
39),H()(),L());if(a&2){a=O().$implicit;var b=O(4);z(2);F("email",b.getUserEmailIfAvailable(a.event));z(5);F("model",a.event.userPerformingActionUser);z(2);F("timestamp",a.event.modifiedDate)}},kSa=function(a){a&1&&(J(0),G(1,"div",34),I(2,"b-user-image",35),H(),G(3,"div",36)(4,"p",41),R(5),H(),G(6,"p",38),I(7,"b-user-display",21),R(8," submitted "),I(9,"b-changelist-link",42),R(10," \u00b7"),I(11,"b-formatted-date-time",39),H()(),L());if(a&2){a=O().$implicit;var b=O(4);z(2);F("email",b.clAuthorToEmailAddress(a.event));
z(3);Df(" ",b.clEventToClDescription(a.event)," ");z(2);F("model",b.clAuthorToUser(a.event));z(2);F("changelistId",b.getClNumber(a.event));z(2);F("timestamp",a.event.modifiedDate)}},lSa=function(a){a&1&&(J(0),G(1,"div",34),I(2,"b-user-image",35),H(),G(3,"div",36)(4,"p",41),R(5),H(),G(6,"p",38),I(7,"b-user-display",21),R(8," submitted "),I(9,"b-changelist-link",42),R(10,", fixing "),G(11,"a",8),R(12),H(),R(13," \u00b7"),I(14,"b-formatted-date-time",39),H()(),L());if(a&2){a=O().$implicit;var b=O(3).ngIf,
c=O();z(2);F("email",c.clAuthorToEmailAddress(a.event));z(3);Df(" ",c.clEventToClDescription(a.event)," ");z(2);F("model",c.clAuthorToUser(a.event));z(2);F("changelistId",c.getClNumber(a.event));z(2);zf("href","/issues/",b.issueId,"",Md);z(1);Df("b/",b.issueId,"");z(2);F("timestamp",a.event.modifiedDate)}},mSa=function(a){a&1&&(J(0),G(1,"div",34),I(2,"b-user-image",35),H(),G(3,"div",36)(4,"p",41),R(5," Priority changed from "),I(6,"b-issue-priority-display",10),R(7," to "),I(8,"b-issue-priority-display",
10),H(),G(9,"p",38),I(10,"b-user-display",21),R(11," updated issue \u00b7"),I(12,"b-formatted-date-time",39),H()(),L());if(a&2){a=O().$implicit;var b=O(4);z(2);F("email",b.getUserEmailIfAvailable(a.event));z(4);F("issuePriority",b.toIssuePriority(b.getPreviousDiffValue(a.event,"priority")));z(2);F("issuePriority",b.toIssuePriority(b.getNewDiffValue(a.event,"priority")));z(2);F("model",a.event.userPerformingActionUser);z(2);F("timestamp",a.event.modifiedDate)}},nSa=function(a){a&1&&(J(0),G(1,"div",
34),I(2,"b-user-image",35),H(),G(3,"div",36)(4,"p",41),R(5),H(),G(6,"p",38),I(7,"b-user-display",21),R(8," updated issue \u00b7"),I(9,"b-formatted-date-time",39),H()(),L());if(a&2){a=O().$implicit;var b=O(4);z(2);F("email",b.getUserEmailIfAvailable(a.event));z(3);Ff(" Status changed from ",b.getPreviousDiffValue(a.event,"status")," to ",b.getNewDiffValue(a.event,"status")," ");z(2);F("model",a.event.userPerformingActionUser);z(2);F("timestamp",a.event.modifiedDate)}},oSa=function(a){a&1&&(J(0),G(1,
"div",34),I(2,"b-user-image",35),H(),G(3,"div",36)(4,"p",41),R(5),H(),G(6,"p",38),I(7,"b-user-display",21),R(8," updated issue \u00b7"),I(9,"b-formatted-date-time",39),H()(),L());if(a&2){a=O().$implicit;var b=O(4);z(2);F("email",b.getUserEmailIfAvailable(a.event));z(3);Ff(" Assignee changed from ",b.getPreviousDiffValue(a.event,"assignee")," to ",b.getNewDiffValue(a.event,"assignee")," ");z(2);F("model",a.event.userPerformingActionUser);z(2);F("timestamp",a.event.modifiedDate)}},pSa=function(a){a&
1&&(J(0),G(1,"div",34),I(2,"b-user-image",35),H(),G(3,"div",36)(4,"p",41),R(5),H(),G(6,"p",38),I(7,"b-user-display",21),R(8," modified status update \u00b7"),I(9,"b-formatted-date-time",39),H()(),L());if(a&2){a=O().$implicit;var b=O(4);z(2);F("email",b.getUserEmailIfAvailable(a.event));z(3);Df(" ",null==a.event.statusUpdate?null:a.event.statusUpdate.updateText," ");z(2);F("model",a.event.userPerformingActionUser);z(2);F("timestamp",a.event.modifiedDate)}},qSa=function(a){a&1&&(J(0),R(1," Default case "),
L())},rSa=function(a,b){a&1&&(G(0,"div",33),J(1,18),Q(2,iSa,12,8,"ng-container",19),Q(3,jSa,10,3,"ng-container",19),Q(4,kSa,12,5,"ng-container",19),Q(5,lSa,15,7,"ng-container",19),Q(6,mSa,13,5,"ng-container",19),Q(7,nSa,10,5,"ng-container",19),Q(8,oSa,10,5,"ng-container",19),Q(9,pSa,10,4,"ng-container",19),Q(10,qSa,2,0,"ng-container",20),L(),H());a&2&&(a=b.$implicit,z(1),F("ngSwitch",a.eventType),z(1),F("ngSwitchCase","comment"),z(1),F("ngSwitchCase","newIssue"),z(1),F("ngSwitchCase","changelist"),
z(1),F("ngSwitchCase","changelistFixed"),z(1),F("ngSwitchCase","priority"),z(1),F("ngSwitchCase","status"),z(1),F("ngSwitchCase","assignee"),z(1),F("ngSwitchCase","statusUpdate"))},sSa=function(a){if(a&1){var b=v();G(0,"div",28)(1,"p",29);R(2," Recent updates ");G(3,"button",30);M("click",function(){w(b);var c=O(3);return y(c.headerOnly=!0)});I(4,"mat-icon",31);H()();Q(5,rSa,11,9,"div",32);H()}a&2&&(a=O().ngIf,z(5),F("ngForOf",a.slice(-3)))},tSa=function(a){if(a&1){var b=v();G(0,"div",46);I(1,"mat-icon",
47);G(2,"button",48);M("click",function(){w(b);var c=O(3).ngIf,d=O();return y(d.showCommentBox.set(c.issueId,!0))});R(3," Add a comment ");H()()}},uSa=function(a){if(a&1){var b=v();G(0,"div",49);I(1,"b-user-image",35);G(2,"mat-form-field");I(3,"textarea",50);H();G(4,"button",51);I(5,"mat-icon",52);H();G(6,"button",53);M("click",function(){w(b);var c=O(3).ngIf,d=O();return y(d.showCommentBox.set(c.issueId,!1))});I(7,"mat-icon",54);H();G(8,"button",55);I(9,"mat-icon",56);H()()}a&2&&(a=O(4),z(1),F("email",
a.currentUser.email),z(2),F("bFocus",!0))},vSa=function(a){a&1&&(G(0,"div",43),Q(1,tSa,4,0,"div",44),Q(2,uSa,10,2,"div",45),H());if(a&2){a=O(2).ngIf;var b=O();z(1);F("ngIf",!b.showCommentBox.get(a.issueId));z(1);F("ngIf",b.showCommentBox.get(a.issueId))}},wSa=function(a){a&1&&(J(0),Q(1,eSa,4,0,"div",22),Q(2,sSa,6,1,"div",23),Q(3,vSa,3,2,"div",24),L());a&2&&(a=O(2),z(1),F("ngIf",a.headerOnly),z(1),F("ngIf",!a.headerOnly),z(1),F("ngIf",!a.headerOnly))},xSa=function(a,b){a&1&&(J(0),G(1,"div",3)(2,"div",
4),I(3,"img",5),H(),G(4,"div",6)(5,"div",7)(6,"a",8),R(7),H()(),G(8,"div",9)(9,"a",8),R(10),H(),R(11," \u00b7 "),I(12,"b-issue-priority-display",10),Q(13,dSa,4,3,"ng-container",11),H()(),G(14,"div",12)(15,"button",13),I(16,"mat-icon",14),H(),G(17,"mat-menu",null,15)(19,"button",16),R(20," Hide this notification "),H()()()(),Q(21,wSa,4,3,"ng-container",17),S(22,"async"),L());if(a&2){a=b.ngIf;var c=Cf(18);b=O();var d=Cf(3);z(6);zf("href","/issues/",a.issueId,"",Md);z(1);Df(" ",a.snapshot[0].title," ");
z(2);zf("href","/issues/",a.issueId,"",Md);z(1);Df("b/",a.issueId,"");z(2);F("issuePriority",a.snapshot[0].priority);z(1);F("ngIf",b.convertIssueStatusStrToTag(a.snapshot[0].status));z(2);F("matMenuTriggerFor",c);z(6);F("ngIf",T(22,9,null==b.issueWithEvents?null:b.issueWithEvents.events))("ngIfElse",d)}},ySa=function(a){a&1&&I(0,"b-spinner")},zSa=function(a){a&1&&(J(0),I(1,"mat-icon",11),L())},ASa=function(a){if(a&1){var b=v();J(0);G(1,"button",12);M("mousedown",function(c){w(b);var d=O();return y(d.back(c))});
I(2,"mat-icon",13);H();L()}},BSa=function(a){if(a&1){var b=v();J(0);G(1,"button",14);M("mousedown",function(c){w(b);var d=O();return y(d.expand(d.componentOption,c))});I(2,"mat-icon",15);H();L()}a&2&&(a=O(),z(1),F("matTooltip","View child components of "+a.componentOption.name),gf("aria-label","View child components of "+a.componentOption.name),z(1),F("svgIcon",a.showFolderSpecialIcon?"folder_special_24px":"folder"))},CSa=function(a){if(a&1){var b=v();J(0);G(1,"a",19);M("mousedown",function(d){w(b);
var e=O().$implicit;O(2).selectComponentId.emit(e.id);d.preventDefault();d.stopPropagation();return y()});S(2,"boldPrefixMatches");S(3,"toString");H();L()}if(a&2){a=O().$implicit;var c=O(2);z(1);F("innerHtml",Mf(2,1,T(3,4,a.name),c.query),Ld)}},DSa=function(a){a&1&&R(0);a&2&&(a=O().$implicit,Df(" ",a.name," "))},ESa=function(a){a&1&&(J(0),R(1,"\u00a0>\u00a0"),L())},FSa=function(a,b){a&1&&(J(0),Q(1,CSa,4,6,"ng-container",6),Q(2,DSa,1,1,"ng-template",null,17,Zf),Q(4,ESa,2,0,"ng-container",18),L());
if(a&2){a=b.$implicit;b=b.last;var c=Cf(3);z(1);F("ngIf",a.name!=a.id)("ngIfElse",c);z(3);F("ngIf",!b)}},GSa=function(a){a&1&&(J(0),Q(1,FSa,5,3,"ng-container",16),L());a&2&&(a=O(),z(1),F("ngForOf",a.componentOption.componentPath))},HSa=function(a,b){if(a&1){var c=v();J(0);G(1,"a",20);M("mousedown",function(d){var e=w(c).ngIf;O(2).selectComponentId.emit(e.id);d.preventDefault();d.stopPropagation();return y()});R(2);H();L()}a&2&&(a=b.ngIf,z(2),Df(" ",a.name," "))},ISa=function(a){a&1&&Q(0,HSa,3,1,"ng-container",
18);a&2&&(a=O(),F("ngIf",a.componentOption.componentPath[a.componentOption.componentPath.length-1]))},JSa=function(a){a&1&&(G(0,"span",21),R(1," [Archived] "),H())},KSa=function(a){return{type:"team",id:a.teamId,name:a.name,description:a.description,pathNames:a.pathNames,pathIds:a.pathIds,expanded:!1}},LSa=function(a){return{type:"team",id:a.id,name:a.name,description:a.description,expanded:!1}},MSa=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}},NSa=function(a){return new Map([].concat(Vc(a.entries())).map(function(b){var c=k(b);b=c.next().value;c=c.next().value;return[b,c.map(LSa)]}))},OSa=function(a){a&1&&I(0,"img",5);a&2&&(a=O(),gf("src",a.getLogoUrl(),Md))},PSa=function(a){a&
1&&(G(0,"span",9),R(1,"no components"),H())},QSa=function(a){a&1&&(G(0,"div",6),I(1,"div",7),S(2,"boldPrefixMatches"),Q(3,PSa,2,0,"span",8),H());a&2&&(a=O(),z(1),F("innerHtml",Mf(2,2,a.teamOption.name,a.query),Ld),z(2),F("ngIf",a.hasNoComponent))},RSa=function(a){if(a&1){var b=v();J(0);G(1,"a",15);M("mousedown",function(c){w(b);var d=O(2).index,e=O(2);d=null==e.teamOption.pathIds?null:e.teamOption.pathIds[d];c.preventDefault();c.stopPropagation();d&&e.selectTeamId.emit(d);return y()});R(2);H();L()}a&
2&&(a=O(2).$implicit,z(2),Ef(a))},SSa=function(a){a&1&&R(0);a&2&&(a=O(2).$implicit,Ef(a))},TSa=function(a){a&1&&(J(0),Q(1,RSa,3,1,"ng-container",12),Q(2,SSa,1,1,"ng-template",null,14,Zf),J(4),R(5," \u00b7 "),L()());if(a&2){var b=Cf(3);a=O(3);z(1);F("ngIf",a.allowSegmentSelection)("ngIfElse",b)}},USa=function(a){a&1&&(J(0),G(1,"strong",17),R(2),H(),L());a&2&&(a=O(2).$implicit,z(2),Ef(a))},VSa=function(a){a&1&&R(0);a&2&&(a=O(2).$implicit,Ef(a))},WSa=function(a){a&1&&(Q(0,USa,3,1,"ng-container",12),
Q(1,VSa,1,1,"ng-template",null,16,Zf));if(a&2){var b=Cf(2);a=O(3);F("ngIf",a.compact)("ngIfElse",b)}},XSa=function(a,b){a&1&&(J(0),Q(1,TSa,6,2,"ng-container",12),Q(2,WSa,3,2,"ng-template",null,13,Zf),L());if(a&2){a=b.last;var c=Cf(3);z(1);F("ngIf",!a)("ngIfElse",c)}},YSa=function(a){a&1&&(G(0,"div",10),Q(1,XSa,4,2,"ng-container",11),H());a&2&&(a=O(),z(1),F("ngForOf",a.teamOption.pathNames))},ZSa=function(){var a=Ac(fh),b=a?a.location:null;return{getPathname:function(){return b?b.pathname+b.search:
""}}},$Sa=function(a){if(a&1){var b=v();G(0,"button",9);M("mousedown",function(c){w(b);O().clearQuery();return y(Oo(c))});I(1,"mat-icon",10);H()}},aTa=function(a){a&1&&(G(0,"div",13),R(1," Checking for admin access... "),H())},bTa=function(a){a&1&&(G(0,"div",15),R(1," You do not have admin access to this component. "),G(2,"a",16),R(3,"View component admins"),H()());a&2&&(a=O(3),z(2),F("href",a.paths.manageComponent(a.selectedComponent.componentId,"access"),Md))},cTa=function(a){a&1&&Q(0,bTa,4,1,"div",
14);a&2&&(a=O(2),F("ngIf",!a.hasAccess&&a.selectedComponent))},dTa=function(a){a&1&&(G(0,"div"),Q(1,aTa,2,0,"div",11),Q(2,cTa,1,1,"ng-template",null,12,Zf),H());if(a&2){var b=Cf(3);a=O();z(1);F("ngIf",a.checkingAccess)("ngIfElse",b)}},eTa=function(a){a&1&&I(0,"mat-progress-bar",24)},fTa=function(a){a&1&&(J(0),R(1,"s"),L())},hTa=function(a,b){if(a&1){var c=v();J(0);G(1,"div",30);M("mousedown",function(e){var g=w(c).$implicit,h=O(5);gTa(h.searchState,g);return y(Oo(e))});G(2,"team-row",31);M("selectTeamId",
function(e){w(c);var g=O(5);return y(Po(g.searchState,e))});H()();L()}if(a&2){a=b.$implicit;b=O(5);var d=Cf(3);z(1);F("data",a);z(1);F("teamOption",a)("query",d.value)("hasNoComponent",b.searchState.hasNoComponent(a.id))}},iTa=function(a){a&1&&(G(0,"div",27)(1,"div",28),R(2," Filter components by my teams "),G(3,"span"),R(4),Q(5,fTa,2,0,"ng-container",5),H()(),Q(6,hTa,3,4,"ng-container",29),I(7,"mat-divider"),H());a&2&&(a=O().ngIf,z(4),Df("",a.length," team"),z(1),F("ngIf",1<a.length),z(1),F("ngForOf",
a))},jTa=function(a,b){a&1&&(J(0),Q(1,iTa,8,3,"div",26),L());a&2&&(a=b.ngIf,z(1),F("ngIf",a.length))},kTa=function(a){a&1&&vf(0)},mTa=function(a){a&1&&(J(0),Q(1,jTa,2,1,"ng-container",5),S(2,"async"),Q(3,kTa,1,0,"ng-container",25),L());if(a&2){a=O(2);var b=Cf(12);z(1);F("ngIf",T(2,3,a.searchState.myTeams$));z(2);F("ngTemplateOutlet",b)("ngTemplateOutletContext",Jf(5,lTa,a.searchState.recentComponents))}},nTa=function(a){a&1&&(J(0),R(1,"s"),L())},oTa=function(a){a&1&&vf(0)},rTa=function(a,b){a&1&&
(J(0),Q(1,oTa,1,0,"ng-container",25),L());if(a&2){a=b.$implicit;b=b.index;O(5);var c=Cf(10);z(1);F("ngTemplateOutlet",c)("ngTemplateOutletContext",Kf(4,pTa,a,Jf(2,qTa,b)))}},sTa=function(a){if(a&1){var b=v();G(0,"button",33);M("mousedown",function(){w(b);var c=O(5);return y(c.searchState.showAllTeams$.next(!0))});I(1,"mat-icon",34);R(2," Show all teams ");H()}},tTa=function(a,b){a&1&&(G(0,"div",27)(1,"div",28),R(2," Filter components by teams "),G(3,"span"),R(4),Q(5,nTa,2,0,"ng-container",5),H()(),
Q(6,rTa,2,7,"ng-container",29),S(7,"async"),Q(8,sTa,3,0,"button",32),S(9,"async"),I(10,"mat-divider"),H());a&2&&(a=b.ngIf,b=O(4),z(4),Df("",a," team"),z(1),F("ngIf",1<a),z(1),F("ngForOf",T(7,4,b.searchState.filteredTeamOptions$)),z(2),F("ngIf",T(9,6,b.searchState.hasHiddenTeams$)))},uTa=function(a,b){a&1&&(J(0),Q(1,tTa,11,8,"div",26),L());a&2&&(a=b.ngIf,z(1),F("ngIf",a.length))},vTa=function(a){a&1&&vf(0)},xTa=function(a){a&1&&(J(0),Q(1,uTa,2,1,"ng-container",5),S(2,"async"),Q(3,vTa,1,0,"ng-container",
25),L());if(a&2){a=O(2);var b=Cf(12);z(1);F("ngIf",T(2,3,a.searchState.teamOptions$));z(2);F("ngTemplateOutlet",b)("ngTemplateOutletContext",Jf(5,wTa,a.searchState.componentOptions))}},yTa=function(a){a&1&&vf(0)},ATa=function(a,b){a&1&&(J(0),Q(1,yTa,1,0,"ng-container",25),L());if(a&2){a=b.$implicit;b=b.index;O(7);var c=Cf(10);z(1);F("ngTemplateOutlet",c)("ngTemplateOutletContext",Kf(4,pTa,a,Jf(2,zTa,b)))}},BTa=function(a){a&1&&(G(0,"div",42),Q(1,ATa,2,7,"ng-container",29),H());a&2&&(a=O(2).ngIf,z(1),
F("ngForOf",a))},ETa=function(a){if(a&1){var b=v();J(0);Q(1,BTa,2,1,"div",41);G(2,"button",33);M("mousedown",function(c){w(b);var d=O(5),e=d.searchState.teamScope$.value;e.expanded?CTa(d.searchState,e):DTa(d.searchState,e);return y(Oo(c))});I(3,"mat-icon",34);R(4);H();L()}a&2&&(a=O(5),z(1),F("ngIf",a.searchState.teamScope$.value.expanded),z(2),qf("expanded",a.searchState.teamScope$.value.expanded),z(1),Df(" ",a.searchState.teamScope$.value.expanded?"Hide":"Show"," child teams "))},FTa=function(a,
b){a&1&&(J(0),Q(1,ETa,5,4,"ng-container",5),L());a&2&&(a=b.ngIf,z(1),F("ngIf",a.length))},ITa=function(a){if(a&1){var b=v();G(0,"div",36)(1,"div",28);R(2," Filtering by team: ");H();G(3,"div",37)(4,"team-row",38);M("selectTeamId",function(d){w(b);var e=O(3);return y(Po(e.searchState,d))});H();G(5,"button",39);M("mousedown",function(d){w(b);var e=O(3);GTa(e.searchState);return y(Oo(d))});I(6,"mat-icon",40);H()();Q(7,FTa,2,1,"ng-container",5);H()}if(a&2){a=O(3);var c=Cf(3);z(3);F("data",a.searchState.teamScope$.value)("listOrder",
If(7,HTa));z(1);F("teamOption",a.searchState.teamScope$.value)("query",c.value)("compact",!0)("allowSegmentSelection",!0);z(3);F("ngIf",a.searchState.getChildTeams(a.searchState.teamScope$.value.id))}},JTa=function(a){a&1&&vf(0)},LTa=function(a){a&1&&(J(0),Q(1,ITa,8,8,"div",35),Q(2,JTa,1,0,"ng-container",25),L());if(a&2){a=O(2);var b=Cf(12);z(1);F("ngIf",a.searchState.teamScope$.value);z(1);F("ngTemplateOutlet",b)("ngTemplateOutletContext",Kf(3,KTa,a.searchState.componentOptions,a.searchState.teamScope$.value))}},
OTa=function(a){if(a&1){var b=v();G(0,"div",44)(1,"div",45);R(2,"Component Tree Browser");H();G(3,"component-row",46);M("goBack",function(){w(b);var c=O(3);return y(MTa(c.searchState))})("selectComponentId",function(c){w(b);var d=O(3);return y(NTa(d.searchState,c))});H()()}a&2&&(a=O(3),z(3),F("componentOption",a.searchState.componentScope))},PTa=function(a){a&1&&vf(0)},RTa=function(a){a&1&&(J(0),Q(1,OTa,4,1,"div",43),Q(2,PTa,1,0,"ng-container",25),L());if(a&2){a=O(2);var b=Cf(12);z(1);F("ngIf",a.searchState.componentScope);
z(1);F("ngTemplateOutlet",b)("ngTemplateOutletContext",Jf(3,QTa,a.searchState.componentOptions))}},TTa=function(a){if(a&1){var b=v();G(0,"div",17,18);M("mousedown",function(c){w(b);O();return y(Oo(c))});G(2,"div",19);Q(3,eTa,1,0,"mat-progress-bar",20);H();G(4,"div",21);J(5,22);S(6,"async");Q(7,mTa,4,7,"ng-container",23);Q(8,xTa,4,7,"ng-container",23);Q(9,LTa,3,6,"ng-container",23);Q(10,RTa,3,5,"ng-container",23);L();H()()}a&2&&(a=O(),z(3),F("ngIf",a.isLoading()),z(2),F("ngSwitch",T(6,6,a.searchState.state$)),
z(2),F("ngSwitchCase","default"),z(1),F("ngSwitchCase","global"),z(1),F("ngSwitchCase","team_scope"),z(1),F("ngSwitchCase","component_scope"))},UTa=function(a){if(a&1){var b=v();G(0,"button",50);M("mousedown",function(c){w(b);var d=O().team,e=O();d.expanded?CTa(e.searchState,d):DTa(e.searchState,d);return y(Oo(c))});I(1,"mat-icon",51);H()}a&2&&(a=O().team,z(1),qf("expanded",a.expanded))},VTa=function(a){a&1&&vf(0)},XTa=function(a,b){a&1&&(J(0),Q(1,VTa,1,0,"ng-container",25),L());if(a&2){a=b.$implicit;
b=b.index;var c=O(2),d=c.level;c=c.order;O();var e=Cf(10);z(1);F("ngTemplateOutlet",e)("ngTemplateOutletContext",Lf(WTa,a,d+1,c.concat(b)))}},YTa=function(a){a&1&&(J(0),Q(1,XTa,2,6,"ng-container",29),L());if(a&2){a=O().team;var b=O();z(1);F("ngForOf",b.searchState.getChildTeams(a.id))}},ZTa=function(a,b){if(a&1){var c=v();G(0,"div",47);M("mousedown",function(h){var l=w(c).team,q=O();gTa(q.searchState,l);return y(Oo(h))});G(1,"div",48);Q(2,UTa,2,2,"button",49);G(3,"team-row",31);M("selectTeamId",function(h){w(c);
var l=O();return y(Po(l.searchState,h))});H()()();Q(4,YTa,2,1,"ng-container",5)}if(a&2){a=b.team;var d=b.level;b=b.order;var e=O(),g=Cf(3);F("listOrder",b)("data",a);z(1);pf("margin-left",28*d,"px");z(1);F("ngIf",e.searchState.getChildTeams(a.id).length);z(1);qf("indent",!e.searchState.getChildTeams(a.id).length);F("teamOption",a)("query",g.value)("hasNoComponent",e.searchState.hasNoComponent(a.id));z(1);F("ngIf",a.expanded)}},$Ta=function(a){a&1&&(J(0),R(1,"s"),L())},bUa=function(a,b){if(a&1){var c=
v();G(0,"div",56);M("mousedown",function(g){var h=w(c).$implicit,l=O(3);aUa(l.searchState,h.id);return y(Oo(g))});G(1,"component-row",57);M("selectComponentId",function(g){w(c);var h=O(3);return y(aUa(h.searchState,g))})("expandComponent",function(g){w(c);var h=O(3);return y(h.searchState.expandComponent(g))});H()()}if(a&2){a=b.$implicit;b=O(2).mode;var d=O(),e=Cf(3);F("data",a);z(1);F("showFolderSpecialIcon",d.currentTracker.enableTrackersComponentPathTruncation&&d.currentTracker.inTracker)("componentOption",
a)("query",e.value)("mode",b)}},cUa=function(a,b){a&1&&(G(0,"div",54)(1,"div",28),R(2),G(3,"span"),R(4),Q(5,$Ta,2,0,"ng-container",5),H()(),Q(6,bUa,2,5,"div",55),H());if(a&2){a=b.ngIf;var c=O();b=c.mode;c=c.$implicit;z(2);Df(" ","recent"===b?"Select recent component":"Select component"," ");z(2);Df("",a," component");z(1);F("ngIf",1<a);z(1);F("ngForOf",c)}},dUa=function(a){a&1&&(J(0),R(1," No recent components "),L())},eUa=function(a){a&1&&(J(0),R(1," No child components "),L())},fUa=function(a){a&
1&&(J(0),R(1),I(2,"mat-icon",61),R(3," above ("),G(4,"a",62),R(5,"learn more "),I(6,"mat-icon",63),H(),R(7," about team associations)"),L());a&2&&(a=O(4).teamScope,z(1),Df(" for ",a.name,". Remove the team filter by clicking on the "))},gUa=function(a){a&1&&(J(0),R(1," No components found "),Q(2,fUa,8,1,"ng-container",5),L());a&2&&(a=O(3).teamScope,z(2),F("ngIf",a))},hUa=function(a){a&1&&(G(0,"div",59),J(1,22),Q(2,dUa,2,0,"ng-container",23),Q(3,eUa,2,0,"ng-container",23),Q(4,gUa,3,1,"ng-container",
60),L(),H());a&2&&(a=O(2).mode,z(1),F("ngSwitch",a),z(1),F("ngSwitchCase","recent"),z(1),F("ngSwitchCase","leaf"))},iUa=function(a){a&1&&Q(0,hUa,5,3,"div",58);a&2&&(a=O(2),F("ngIf",!(a.componentLoading||a.searchState.componentsLoading)))},jUa=function(a,b){a&1&&(Q(0,cUa,7,4,"div",52),Q(1,iUa,1,1,"ng-template",null,53,Zf));if(a&2){a=b.$implicit;var c=Cf(2);F("ngIf",a.length)("ngIfElse",c)}},kUa=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},lUa=function(a,b){a&1&&(G(0,"mat-radio-button",13),R(1),H());a&2&&(a=b.$implicit,b=O(2),F("checked",b.selectedFilter.type===a.type)("value",a),z(1),Df(" ",a.display," "))},mUa=function(a,b){a&1&&(G(0,"mat-radio-button",13),R(1),H());a&2&&(a=b.$implicit,b=O(2),F("checked",b.selectedFilter.type===a.type)("value",a),z(1),Df(" ",a.display," "))},nUa=function(a){if(a&1){var b=v();J(0);G(1,"b-team-component-picker",14);M("selectedComponentChange",
function(c){w(b);var d=O(2);return y(d.selectComponent(null!==c&&void 0!==c?c:null))});H();L()}a&2&&(a=O(2),z(1),F("selectedComponent",a.selectedComponent)("placeholder","Choose Component")("isRequired",!0))},oUa=function(a,b){a&1&&(G(0,"mat-radio-button",13),R(1),H());a&2&&(a=b.$implicit,b=O(2),F("checked",b.selectedFilter.type===a.type)("value",a),z(1),Df(" ",a.display," "))},pUa=function(a,b){a&1&&(G(0,"mat-list-option",23),R(1),H());a&2&&(a=b.$implicit,F("value",a),z(1),Df(" ",a.name," "))},qUa=
function(a){a&1&&(G(0,"mat-list-option",23),R(1," No hotlists matching search "),H());a&2&&F("value",null)},rUa=function(a,b){a&1&&(J(0),Q(1,pUa,2,2,"mat-list-option",21),Q(2,qUa,2,1,"mat-list-option",22),L());a&2&&(a=b.$implicit,z(1),F("ngForOf",a),z(1),F("ngIf",0===a.length))},sUa=function(a){if(a&1){var b=v();G(0,"mat-selection-list",19);M("selectionChange",function(d){w(b);var e=O(3);0<d.options.length&&(d=d.options[0].value,e.selectedHotlist=d,Qo("streamFilterSelectedHotlist")(d),e.filters.get(3).search.value=
String(d.hotlistId),e.selectedFilter=e.filters.get(3));e.isHotlistPanelOpen=!1;return y()});Q(1,rUa,3,2,"ng-container",20);S(2,"async");H()}if(a&2){a=O(3);var c=Cf(7);F("multiple",!1);z(1);F("ngIf",T(2,3,a.displayedHotlists$))("ngIfElse",c)}},tUa=function(a){if(a&1){var b=v();J(0);G(1,"mat-form-field",15)(2,"mat-label");R(3,"Search starred hotlists");H();G(4,"input",16,17);M("input",function(){w(b);var e=Cf(5);O(2).userHotlistQuery$.next(e.value);return y()})("focus",function(){w(b);var e=Cf(5),g=
O(2);e.select();g.isHotlistPanelOpen=!0;return y()});H()();Q(7,sUa,3,5,"ng-template",18);M("detach",function(){w(b);O(2).isHotlistPanelOpen=!1;return y()})("backdropClick",function(){w(b);O(2).isHotlistPanelOpen=!1;return y()});L()}if(a&2){var c=Cf(6);a=O(2);var d=Cf(1);z(4);F("value",a.selectedHotlist?a.selectedHotlist.name:"");z(3);F("cdkConnectedOverlayOrigin",d)("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",a.isHotlistPanelOpen)}},uUa=function(a){if(a&1){var b=v();G(0,"div")(1,"label",
6);R(2,"Filter stream by");H();G(3,"mat-radio-group",7);M("change",function(c){w(b);var d=O();if(c=c.value)d.selectedFilter=c;return y()});Q(4,lUa,2,3,"mat-radio-button",8);Q(5,mUa,2,3,"mat-radio-button",8);Q(6,nUa,2,3,"ng-container",9);Q(7,oUa,2,3,"mat-radio-button",8);Q(8,tUa,8,4,"ng-container",9);H()();I(9,"mat-divider");G(10,"div",10)(11,"button",11);M("click",function(){w(b);var c=O();return y(c.closeMenu())});R(12,"Cancel");H();G(13,"button",12);M("click",function(){w(b);var c=O();return y(c.emitSelection())});
R(14,"Apply");H()()}a&2&&(a=O(),z(3),F("value",a.selectedFilter),z(1),F("ngIf",a.filters.get(a.FilterType.ME)),z(1),F("ngIf",a.filters.get(a.FilterType.COMPONENT)),z(1),F("ngIf",a.selectedFilter.type===a.FilterType.COMPONENT),z(1),F("ngIf",a.filters.get(a.FilterType.HOTLIST)),z(1),F("ngIf",a.selectedFilter.type===a.FilterType.HOTLIST))},vUa=function(a){a&1&&I(0,"b-spinner")},wUa=function(a,b){if(a&1){var c=v();J(0);G(1,"mat-list-option",11);M("click",function(){var d=w(c).$implicit;O(2);d.value=!d.value;
Fya("activityStreamHeaderOnly")(d.value);return y()});R(2);H();L()}a&2&&(a=b.$implicit,z(1),F("value",a)("selected",a.value),z(1),Df(" ",a.display," "))},xUa=function(a){a&1&&(G(0,"mat-selection-list"),Q(1,wUa,3,3,"ng-container",10),H());a&2&&(a=O(),z(1),F("ngIf",a.settings.get(a.SettingType.CARD_HEADER_ONLY)))},yUa=function(a,b){a&1&&(J(0),I(1,"b-changelist-activity-card",14),L());a&2&&(a=b.$implicit,z(1),F("changelistWithId",a))},zUa=function(a){a&1&&(G(0,"div",12),Q(1,yUa,2,1,"ng-container",13),
S(2,"async"),H());a&2&&(a=O(),z(1),F("ngForOf",T(2,1,a.changelistsWithIds)))},AUa=function(a){a&1&&(G(0,"div",18),I(1,"b-spinner"),H())},BUa=function(a){a&1&&(J(0),G(1,"p",20),R(2),S(3,"async"),H(),L());if(a&2){a=O(2).$implicit;var b=O(2);z(2);b.currentDisplayDate=new Date(a.issue.majorModifiedTimeMicros/1E3);a=b.dateFormatter.formatUserCalendar(b.currentDisplayDate);Ef(T(3,1,a))}},CUa=function(a){a&1&&(J(0),Q(1,BUa,4,3,"ng-container",10),I(2,"b-issue-activity-card",19),L());if(a&2){a=O().$implicit;
var b=O(2);z(1);if(b.currentDisplayDate){var c=b.getDayOfYear(new Date(a.issue.majorModifiedTimeMicros/1E3));var d=b.getDayOfYear(b.currentDisplayDate);c=c===d}else c=!1;F("ngIf",!c);z(1);F("issueWithEvents",a)("headerOnly",b.settings.get(b.SettingType.CARD_HEADER_ONLY).value)}},EUa=function(a,b){a&1&&(J(0),Q(1,CUa,3,3,"ng-container",10),S(2,"async"),L());if(a&2){a=b.$implicit;var c;z(1);F("ngIf",0<(null!==(c=T(2,1,a.events))&&void 0!==c?c:If(3,DUa)).length)}},FUa=function(a){if(a&1){var b=v();G(0,
"div",21)(1,"p",22);R(2,"You've reached the end of recent activity.");H();G(3,"button",23);M("click",function(){w(b);O();var c=Cf(1);return y(c.scrollTo(0,0))});R(4,"Back to top");H()()}},GUa=function(a){a&1&&(G(0,"div",12,15),Q(2,AUa,2,0,"div",16),Q(3,EUa,3,4,"ng-container",13),S(4,"async"),Q(5,FUa,5,0,"div",17),H());a&2&&(a=O(),z(2),F("ngIf",a.loadingCards),z(1),F("ngForOf",T(4,3,a.issuesWithEvents$)),z(2),F("ngIf",!a.loadingCards))},HUa=function(a){a&1&&(G(0,"span",8),yf(1,1),H())},IUa=function(a){a&
1&&(G(0,"span",9),yf(1,2),H())},JUa=function(a){a&1&&(G(0,"span",9),yf(1,1),G(2,"span",10),jd(),G(3,"svg",11),I(4,"path",12),H()()())},KUa=function(a){a&1&&(G(0,"span",13),yf(1,2),H())},LUa=function(a,b){a&1&&(G(0,"mat-chip-option",36),R(1),H());a&2&&(a=b.$implicit,F("selected",a.selected),z(1),Df(" ",a.label," "))},MUa=function(a){a&1&&(G(0,"mat-header-cell"),R(1," Type "),H())},NUa=function(a,b){a&1&&(G(0,"mat-cell")(1,"mat-icon"),R(2),H()());a&2&&(a=b.$implicit,z(1),tf("google-material-icons product-icon ",
a.icon,""),z(1),Ef(a.icon))},OUa=function(a){a&1&&(G(0,"mat-header-cell"),R(1," Description "),H())},PUa=function(a){a&1&&(G(0,"span"),R(1),H());a&2&&(a=O().$implicit,tf("priority-badge ",a.priority,""),z(1),Ef(a.priority))},QUa=function(a,b){a&1&&(G(0,"mat-cell"),Q(1,PUa,2,4,"span",37),G(2,"a",38),R(3),H()());a&2&&(a=b.$implicit,z(1),F("ngIf",a.priority),z(1),F("href",a.link,Md),gf("target","Buganizer"!=a.source?"_blank":null),z(1),Ef(a.title))},RUa=function(a){a&1&&(G(0,"mat-header-cell"),R(1," Last modified "),
H())},SUa=function(a,b){a&1&&(G(0,"mat-cell"),R(1),S(2,"date"),H());a&2&&(a=b.$implicit,z(1),Ef(Mf(2,1,a.modifiedDate,"MMM d, y h:mma")))},TUa=function(a){a&1&&(G(0,"mat-header-cell"),R(1," Role "),H())},UUa=function(a,b){a&1&&(G(0,"mat-cell"),R(1),H());a&2&&(a=b.$implicit,z(1),Ef(a.role))},VUa=function(a){a&1&&(G(0,"mat-header-cell"),R(1," Created "),H())},WUa=function(a,b){a&1&&(G(0,"mat-cell"),R(1),S(2,"date"),H());a&2&&(a=b.$implicit,z(1),Ef(T(2,1,a.creationDate)))},XUa=function(a){a&1&&I(0,"mat-header-row")},
YUa=function(a){a&1&&I(0,"mat-row")},ZUa=function(a){a&1&&I(0,"b-spinner")},$Ua=function(a,b){a&1&&(G(0,"mat-tab",13)(1,"div",14)(2,"button",15),R(3),G(4,"mat-icon",8),R(5,"arrow_drop_down"),H()(),G(6,"mat-menu",16,17)(8,"div",18),M("click",function(d){return d.stopPropagation()}),G(9,"mat-checkbox",19),R(10," Buganizer "),H(),G(11,"mat-checkbox",20),R(12," Critique "),H(),G(13,"mat-checkbox",20),R(14," Drive "),H(),G(15,"mat-checkbox",21),R(16," Launch "),H()()(),G(17,"mat-chip-listbox",22),Q(18,
LUa,2,2,"mat-chip-option",23),H()(),G(19,"div",24)(20,"mat-table",25),J(21,26),Q(22,MUa,2,0,"mat-header-cell",27),Q(23,NUa,3,4,"mat-cell",28),L(),J(24,29),Q(25,OUa,2,0,"mat-header-cell",27),Q(26,QUa,4,4,"mat-cell",28),L(),J(27,30),Q(28,RUa,2,0,"mat-header-cell",27),Q(29,SUa,3,4,"mat-cell",28),L(),J(30,31),Q(31,TUa,2,0,"mat-header-cell",27),Q(32,UUa,2,1,"mat-cell",28),L(),J(33,32),Q(34,VUa,2,0,"mat-header-cell",27),Q(35,WUa,3,3,"mat-cell",28),L(),Q(36,XUa,1,0,"mat-header-row",33),Q(37,YUa,1,0,"mat-row",
34),H(),Q(38,ZUa,1,0,"ng-template",null,35,Zf),H()());if(a&2){a=b.$implicit;var c=Cf(7);b=O(2);F("label",a.label);z(2);F("matMenuTriggerFor",c);z(1);Df(" Source: ",a.sources.join(", ")," ");z(15);F("ngForOf",a.chips);z(2);F("dataSource",a.tasks);z(16);F("matHeaderRowDef",b.displayedColumns);z(1);F("matRowDefColumns",b.displayedColumns)}},aVa=function(a){a&1&&(G(0,"div",10)(1,"mat-tab-group",11),Q(2,$Ua,40,7,"mat-tab",12),H()());a&2&&(a=O(),z(2),F("ngForOf",a.mvpMyTaskTabsData$))},bVa=function(){return(0,E.pipe)(Le(function(a,
b){return a.concat(b)}))},dVa=function(a){if(a&1){var b=v();J(0);G(1,"div",11);jd();G(2,"svg",12);I(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);G(15,"g",25)(16,"mask",26);I(17,"path",27);H();G(18,"g",28);I(19,"path",29);H()();I(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);G(36,"mask",46);I(37,"path",47);H();G(38,"g",48);I(39,"path",49);H();G(40,"mask",50);I(41,"path",51);H();G(42,"g",52);I(43,"path",53)(44,"path",54)(45,"path",55)(46,"path",56)(47,"path",57)(48,"path",58);H();I(49,"path",59)(50,"path",60)(51,"path",61)(52,"path",62);G(53,"defs")(54,"linearGradient",63);I(55,"stop",64)(56,"stop",65);H();G(57,"linearGradient",66);I(58,"stop",67)(59,"stop",68);H();G(60,"linearGradient",69);I(61,"stop",
70)(62,"stop",65);H();G(63,"linearGradient",71);I(64,"stop",67)(65,"stop",68);H();G(66,"linearGradient",72);I(67,"stop",70)(68,"stop",65);H();G(69,"linearGradient",73);I(70,"stop",64)(71,"stop",65);H();G(72,"linearGradient",74);I(73,"stop",75)(74,"stop",76);H();G(75,"linearGradient",77);I(76,"stop",78)(77,"stop",65);H();G(78,"linearGradient",79);I(79,"stop",78)(80,"stop",65);H();G(81,"linearGradient",80);I(82,"stop",70)(83,"stop",65);H();G(84,"linearGradient",81);I(85,"stop",70)(86,"stop",65);H();
G(87,"linearGradient",82);I(88,"stop",64)(89,"stop",65);H()()();kd();G(90,"p");R(91,"Use work areas to closely monitor a hotlist, component or a project.");H();G(92,"button",83);M("click",function(){w(b);var c=O(2);return y(cVa(c))});G(93,"mat-icon",84);R(94,"add");H();R(95," Add work area ");H()();L()}},eVa=function(a){a&1&&(G(0,"mat-header-cell"),R(1," Type "),H())},fVa=function(a,b){a&1&&(G(0,"mat-cell")(1,"mat-icon"),R(2),H()());a&2&&(a=b.$implicit,z(1),tf("google-material-icons product-icon ",
a.icon,""),z(1),Ef(a.icon))},gVa=function(a){a&1&&(G(0,"mat-header-cell"),R(1," Title "),H())},hVa=function(a,b){a&1&&(G(0,"mat-cell"),R(1),H());a&2&&(a=b.$implicit,z(1),Df(" ",a.title," "))},iVa=function(a){a&1&&(G(0,"mat-header-cell"),R(1," ID "),H())},jVa=function(a,b){a&1&&(G(0,"mat-cell"),R(1),H());a&2&&(a=b.$implicit,z(1),Df(" ",a.id," "))},kVa=function(a){a&1&&(G(0,"mat-header-cell"),R(1," Priority "),H())},lVa=function(a,b){a&1&&(G(0,"mat-cell")(1,"span"),R(2),H()());a&2&&(a=b.$implicit,z(1),
tf("priority-badge ",a.priority,""),z(1),Ef(a.priority))},mVa=function(a){a&1&&(G(0,"mat-header-cell"),R(1," Creation date "),H())},nVa=function(a,b){a&1&&(G(0,"mat-cell"),R(1),S(2,"date"),H());a&2&&(a=b.$implicit,z(1),Df(" ",T(2,1,a.date)," "))},oVa=function(a){a&1&&(G(0,"mat-header-cell"),R(1," Assignee "),H())},pVa=function(a,b){a&1&&(G(0,"mat-cell"),R(1),H());a&2&&(a=b.$implicit,z(1),Df(" ",a.assignee," "))},qVa=function(a){a&1&&I(0,"mat-header-row")},rVa=function(a){a&1&&I(0,"mat-row")},sVa=
function(a){a&1&&(G(0,"div",9)(1,"mat-tab-group",85)(2,"mat-tab",86)(3,"div",87)(4,"div",88)(5,"p"),R(6,"New/unread"),H(),G(7,"h2"),R(8,"4"),H()(),G(9,"div",88)(10,"p"),R(11,"Spiking"),H(),G(12,"h2"),R(13,"2"),H()(),G(14,"div",88)(15,"p"),R(16,"Recently active"),H(),G(17,"h2"),R(18,"6"),H()(),G(19,"div",88)(20,"p"),R(21,"Mine"),H(),G(22,"h2"),R(23,"3"),H()()(),G(24,"div",89)(25,"mat-chip-listbox",90)(26,"mat-chip-option",91),R(27," Open "),H()(),I(28,"span",6),G(29,"button",92),R(30," View in TaskFlow "),
G(31,"mat-icon",93),R(32,"launch"),H()(),G(33,"button",94)(34,"mat-icon",84),R(35,"help_outline"),H()()(),G(36,"mat-table",95),J(37,96),Q(38,eVa,2,0,"mat-header-cell",97),Q(39,fVa,3,4,"mat-cell",98),L(),J(40,99),Q(41,gVa,2,0,"mat-header-cell",97),Q(42,hVa,2,1,"mat-cell",98),L(),J(43,100),Q(44,iVa,2,0,"mat-header-cell",97),Q(45,jVa,2,1,"mat-cell",98),L(),J(46,101),Q(47,kVa,2,0,"mat-header-cell",97),Q(48,lVa,3,4,"mat-cell",98),L(),J(49,102),Q(50,mVa,2,0,"mat-header-cell",97),Q(51,nVa,3,3,"mat-cell",
98),L(),J(52,103),Q(53,oVa,2,0,"mat-header-cell",97),Q(54,pVa,2,1,"mat-cell",98),L(),Q(55,qVa,1,0,"mat-header-row",104),Q(56,rVa,1,0,"mat-row",105),H(),G(57,"div",106)(58,"button",92),R(59," Go to hotlist "),G(60,"mat-icon",93),R(61,"launch"),H()()()()()());a&2&&(a=O(3),z(36),F("dataSource",a.fakeData.hotlistFull),z(19),F("matHeaderRowDef",a.displayedColumns),z(1),F("matRowDefColumns",a.displayedColumns))},tVa=function(a){a&1&&(J(0),Q(1,sVa,62,3,"div",7),L());a&2&&(a=O(2),z(1),F("ngIf",!a.isCollapsed()))},
uVa=function(a){a&1&&(G(0,"div",9),Q(1,dVa,96,0,"ng-container",10),Q(2,tVa,2,1,"ng-container",10),H());a&2&&(a=O(),z(1),F("ngIf",0===a.currentViewIndex),z(1),F("ngIf",1==a.currentViewIndex))},vVa=function(a,b){if(a&1){var c=v();G(0,"button",123);M("click",function(){var d=w(c).$implicit;O(2).currentSourceType=d.label;return y()});R(1);H()}a&2&&(a=b.$implicit,F("disabled",a.disabled),z(1),Ef(a.label))},wVa=function(a,b){a&1&&(G(0,"mat-option",124),R(1),H());a&2&&(a=b.$implicit,F("value",a),z(1),Df(" ",
a," "))},xVa=function(a){if(a&1){var b=v();G(0,"div",107)(1,"div",108)(2,"h2",109);R(3,"Add Work Area");H();G(4,"p");R(5,"Select a data source");H();G(6,"button",110);R(7);G(8,"mat-icon",84);R(9,"arrow_drop_down");H()();G(10,"mat-menu",111,112);Q(12,vVa,2,2,"button",113);H();G(13,"p");R(14,"Choose hotlist");H();G(15,"mat-form-field",114);I(16,"input",115);G(17,"mat-autocomplete",null,116);Q(19,wVa,2,2,"mat-option",117);S(20,"async");H()()();G(21,"div",118)(22,"h2",109);R(23,"Preview");H();I(24,"img",
119);H()();G(25,"mat-dialog-actions",120)(26,"button",121);M("click",function(){var e=w(b).dialogRef;return y(e.close("cancel"))});R(27,"Cancel");H();G(28,"button",122);M("click",function(){var e=w(b).dialogRef;return y(e.close(1))});R(29,"Add");H()()}if(a&2){var c=Cf(11),d=Cf(18);a=O();z(6);F("matMenuTriggerFor",c);z(1);Df(" ",a.currentSourceType," ");z(5);F("ngForOf",a.sourceTypes);z(4);F("formControl",a.autocompleteControl)("matAutocomplete",d);z(3);F("ngForOf",T(20,6,a.filteredOptions))}},zVa=
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)]=Oj(e)}var g,h;return{issuesWithSignals:aj(a,Ro,1).map(yVa),numTotalResults:null!=(g=a.getNumTotalResults())?g:0,components:b,nextPageToken:null!=(h=a.getNextPageToken())?h:""}},yVa=function(a){return{issue:ik(a.getIssue()),signals:a.getSignalsList().map(AVa)}},AVa=function(a){return{signalType:gua[W(a,1,0)],timestamp:Bh(a.getTimestamp())}},BVa=
function(a){return{dismissTimestamp:Dj(a,Ch,1)?Bh(Z(a,Ch,1)):void 0}},CVa=function(a){return vua[a]},DVa=function(){return"NEAR_SLO MENTIONED UNBLOCKED NEEDS_REPORTER_INPUT REPLIED_TO_MENTION NEWLY_BLOCKING ASSIGNED".split(" ")},EVa=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"}},FVa=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""}},GVa=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"})},HVa=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},JVa=function(a){return(a=a.map(IVa).find(function(b){return!!b}))?{type:"Future Availability",text:a}:void 0},IVa=function(a){var b=new Date(a.timeRange.startTime);if(a.status.hasOutOfOffice)return HVa("OOO in",b,24);if(a.status.hasOutsideWorkingHours)return HVa("Outside working hours in",b,3)},KVa=function(a){a=a.map(function(b){return new Uo({email:b})});return new Vo({userIds:a})},LVa=function(a){return new E.Observable(function(b){a.on("data",
function(c){b.next(c)});a.on("error",function(c){b.error(c)});a.on("status",function(c){b.error(c)});a.on("end",function(){b.complete()});return function(){a.cancel()}})},Wo=function(a){return{"X-Goog-Api-Key":a,Authorization:vo([])||"","X-Goog-AuthUser":"0"}},MVa=function(a){return a.pipe(Iia(a.pipe(De(0))))},NVa=function(a){return a.getTagsList().includes(3)&&3===a.getType()},Xo=function(a){return!!a},OVa=function(a,b){return[a.filter(b),a.filter(function(c){return!b(c)})]},QVa=function(a){return PVa(a).some(function(b){return gj(b,
3)<=(new Date).getTime()})},RVa=function(a){return QVa(a)?!1:PVa(a).some(function(b){return 2592E5>=gj(b,3)-(new Date).getTime()})},PVa=function(a){return(a=a.getSloStatus())?[a.getResponseBounds(),a.getClosureBounds(),a.getAssignmentBounds()].filter(Xo).filter(function(b){return 0!==gj(b,3)}):[]},TVa=function(a){if(a=Yo(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?SVa[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"}}},VVa=function(a){var b=a.numTasksPerSection,c=a.myWorkCriteria,d=a.needsMyInputCriteria,e=k(OVa(a.tasks,function(g){return g.isMyWork}));a=e.next().value;e=e.next().value;return[].concat(Vc(UVa(a,c).slice(0,b)),Vc(UVa(e,
d).slice(0,b)))},Zo=function(a){return a.resource.getLastModifiedTimestamp()},$o=function(a,b){return a.signals.some(function(c){return c.type===b})},UVa=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})},WVa=function(a){return a.isMyWork||Jj(ap(a.resource),8)},ZVa=function(a){return 1===aj(ap(a.resource),bp,4).map(XVa).map(Number).reduce(YVa,0)},bWa=function(a){var b=(a=null==(b=Z(ap(a.resource),
$Va,2))?void 0:Sj(b,Ah,1,aWa))?(new Date(a.getYear(),a.getMonth()-1,a.getDay())).getTime()-(new Date).getTime():void 0;return b&&6048E5>b?-b:-6048E5},XVa=function(a){return![2,1].includes(a.getApprovalStatus())},YVa=function(a,b){return a+b},cWa=function(a){return 3===cp(a.resource).getStatus()},dWa=function(a){return $o(a,"Current Iteration")},eWa=function(a){return $o(a,"P0")},fWa=function(a){return $o(a,"Out of SLO")},gWa=function(a){return $o(a,"Near SLO")},hWa=function(a){return gj(cp(a.resource),
19)},pWa=function(a){for(var b=k(a),c=b.next();!c.done;c=b.next())c=c.value,iWa.set(c.id,c);return VVa({tasks:a,numTasksPerSection:2,myWorkCriteria:[jWa,kWa,lWa,Zo],needsMyInputCriteria:[jWa,mWa,kWa,nWa,lWa,oWa,Zo]})},nWa=function(a){return $o(a,"Future Availability")},oWa=function(a){return!$o(a,"Current Availability")},jWa=function(a){return Yo(a.resource).getNeedsAttention()},mWa=function(a){var b=(a=null==(b=Yo(a.resource).getDescription().match(/DIFFBASE=(\d+)/))?void 0:b[1])&&"cl/"+a;return b?
(b=iWa.get(b))&&jWa(b)?mWa(b)-1:0:0},lWa=function(a){return $o(a,"Submission Deadline")},kWa=function(a){return $o(a,"Rollback")},qWa=function(a){return Gh(dp(a.resource),21)},rWa=function(a){return Gh(dp(a.resource),24)},sWa=function(a){return Gh(dp(a.resource),23)},tWa=function(a){return Gh(dp(a.resource),22)},uWa=function(a){return Jj(dp(a.resource),25)},vWa=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(Vc(b.keys()))[0]){case 6:return VVa({tasks:a,
numTasksPerSection:2,myWorkCriteria:[eWa,cWa,dWa,fWa,gWa,hWa],needsMyInputCriteria:[eWa,fWa,gWa,hWa]});case 5:return VVa({tasks:a,numTasksPerSection:2,myWorkCriteria:[qWa,rWa,Zo],needsMyInputCriteria:[uWa,tWa,sWa,Zo]});case 8:return pWa(a);case 9:return VVa({tasks:a.filter(WVa),numTasksPerSection:1,myWorkCriteria:[bWa,Zo],needsMyInputCriteria:[bWa,ZVa,Zo]});default:return a}throw Error("Td");},wWa=function(a){var b;a.pipe(Ge()).subscribe(function(c){b=c});return b},xWa=function(a){return(0,E.pipe)(Le(function(b,
c){return"hidden"===c.type?[].concat(Vc(b),[c.id]):b.filter(function(d){return d!==c.id})},a),Re(a))},yWa=function(a){var b,c;a=null!=(c=null==(b=cp(a.getResource()))?void 0:b.getBlockingIssueIdsList().length)?c:0;return 0<a?(0,E.of)({type:"Blocking",text:"Blocking "+a+" issue"+(1<a?"s":"")}):(0,E.of)(void 0)},zWa=function(){return(0,E.pipe)(Le(function(a,b){return a.concat(b)}))},AWa=function(a){a=a.getResource();switch(a.getResourceCase()){case 8:return 2===Yo(a).getCategory();case 6:return cp(a).getAssignedToMe();
case 5:return dp(a).getOwnedByMe();case 9:return ap(a).getOwnedByMe();default:return!1}},BWa=function(a){a=Yo(a.getResource());return 1===(null==a?void 0:a.getCategory())?a.getAuthorEmail():""},CWa=function(a){a&1&&(G(0,"div",13)(1,"span",14),R(2),H()());a&2&&(a=O(),z(2),Ef(a.allAlerts.length))},EWa=function(a){if(a&1){var b=v();G(0,"th",39)(1,"mat-checkbox",40);M("change",function(c){w(b);var d=O(2);c?(DWa(d)?d.selection.clear():d.selection.select.apply(d.selection,Vc(d.allAlerts)),c=void 0):c=null;
return y(c)});H()()}a&2&&(a=O(2),z(1),F("checked",a.selection.hasValue()&&DWa(a))("indeterminate",a.selection.hasValue()&&!DWa(a)))},FWa=function(a,b){if(a&1){var c=v();G(0,"td",41)(1,"mat-checkbox",42);M("click",function(d){return d.stopPropagation()})("change",function(d){var e=w(c).$implicit,g=O(2);return y(d?g.selection.toggle(e):null)});H()()}a&2&&(a=b.$implicit,b=O(2),z(1),F("checked",b.selection.isSelected(a)))},GWa=function(a){a&1&&(G(0,"th",39),R(1," Type "),H())},IWa=function(a){a&1&&(G(0,
"mat-icon"),R(1),H());a&2&&(a=O().$implicit,O(2),tf("google-material-icons product-icon ",HWa(a),""),z(1),Ef(HWa(a)))},JWa=function(a){a&1&&I(0,"img",45);a&2&&(a=O().$implicit,O(2),F("src",HWa(a),Md))},KWa=function(a,b){a&1&&(G(0,"td",41),Q(1,IWa,2,4,"mat-icon",43),Q(2,JWa,1,1,"ng-template",null,44,Zf),H());if(a&2){a=b.$implicit;var c=Cf(3);z(1);F("ngIf","Ariane"!==a.type)("ngIfElse",c)}},LWa=function(a){a&1&&(G(0,"th",39),R(1," Description "),H())},NWa=function(a){a&1&&I(0,"b-issue-priority-display",
48);a&2&&(a=O().$implicit,O(2),tf("priority-badge-",MWa(a),""),F("issuePriority",MWa(a)))},OWa=function(a,b){a&1&&(G(0,"td",41)(1,"div",46),Q(2,NWa,1,4,"b-issue-priority-display",47),R(3),H()());a&2&&(a=b.$implicit,z(2),F("ngIf","Buganizer"===a.type),z(1),Df(" ",a.description," "))},PWa=function(a){a&1&&(G(0,"th",39),R(1," Time of alert "),G(2,"mat-icon",49),R(3,"arrow_downward"),H()())},QWa=function(a){a&1&&I(0,"b-formatted-date-time",51);a&2&&(a=O().$implicit,F("timestamp",a.timestamp))},RWa=function(a,
b){a&1&&(G(0,"td",41),Q(1,QWa,1,1,"b-formatted-date-time",50),H());a&2&&(a=b.$implicit,z(1),F("ngIf",a.timestamp))},SWa=function(a){a&1&&(G(0,"th",39),R(1," Alert "),H())},VWa=function(a,b){a&1&&(G(0,"td",41)(1,"div"),R(2),H()());a&2&&(a=b.$implicit,O(2),z(1),tf("signal-chip type-button ",TWa(a),""),z(1),Ef(UWa(a)))},WWa=function(a){a&1&&(G(0,"th",39),R(1," Action "),H())},YWa=function(a,b){a&1&&(G(0,"td",41)(1,"a",52),R(2),H()());a&2&&(a=b.$implicit,b=O(2),z(2),Ef(XWa(b,a)))},ZWa=function(a){a&1&&
I(0,"td",53)},$Wa=function(a){a&1&&(G(0,"td",41)(1,"mat-icon",54),R(2,"do_not_disturb_on"),H()())},aXa=function(a){a&1&&I(0,"tr",55)},cXa=function(a){if(a&1){var b=v();G(0,"tr",56);M("click",function(c){var d=w(b).$implicit,e=O(2);return y(bXa(e,c,d))})("mouseup",function(c){var d=w(b).$implicit,e=O(2);return y(bXa(e,c,d))});H()}},dXa=function(a){a&1&&(G(0,"div",15)(1,"div",16)(2,"button",17),R(3," Source: Buganizer, Critique, Drive, Launch "),G(4,"mat-icon",18),R(5,"arrow_drop_down"),H()(),G(6,"mat-menu",
19,20)(8,"div",21),M("click",function(c){return c.stopPropagation()}),G(9,"mat-checkbox",22),R(10," Buganizer "),H(),G(11,"mat-checkbox",23),R(12," Critique "),H(),G(13,"mat-checkbox",23),R(14," Drive "),H(),G(15,"mat-checkbox",23),R(16," Launch "),H()()(),G(17,"mat-chip-listbox",24)(18,"mat-chip-option",25),R(19,"Last 30 days"),H()()(),G(20,"table",26),J(21,27),Q(22,EWa,2,2,"th",28),Q(23,FWa,2,1,"td",29),L(),J(24,30),Q(25,GWa,2,0,"th",28),Q(26,KWa,4,2,"td",29),L(),J(27,31),Q(28,LWa,2,0,"th",28),
Q(29,OWa,4,2,"td",29),L(),J(30,32),Q(31,PWa,4,0,"th",28),Q(32,RWa,2,1,"td",29),L(),J(33,33),Q(34,SWa,2,0,"th",28),Q(35,VWa,3,4,"td",29),L(),J(36,34),Q(37,WWa,2,0,"th",28),Q(38,YWa,3,1,"td",29),L(),J(39,35),Q(40,ZWa,1,0,"td",36),Q(41,$Wa,3,0,"td",29),L(),Q(42,aXa,1,0,"tr",37),Q(43,cXa,1,0,"tr",38),H()());if(a&2){var b=Cf(7);a=O();z(2);F("matMenuTriggerFor",b);z(18);F("dataSource",a.allAlerts)("trackBy",a.trackByAlertId);z(22);F("matHeaderRowDef",a.displayedColumns);z(1);F("matRowDefColumns",a.displayedColumns)}},
eXa=function(a){a&1&&vf(0)},fXa=function(a){a&1&&(J(0),G(1,"span",11),R(2,"No projects added"),H(),L())},gXa=function(a){a&1&&(J(0),Q(1,fXa,3,0,"ng-container",10),S(2,"async"),S(3,"async"),L());if(a&2){O();var b=Cf(2);a=O();var c;z(1);F("ngIf",0===T(2,1,a.unarchivedProjectsCount$)&&0===((null==(c=T(3,3,null==b?null:b.rows$))?null:c.length)||0))}},iXa=function(a){if(a&1){var b=v();G(0,"p",11);R(1);G(2,"a",14);M("click",function(){w(b);var c=O(4);return y(hXa(c,[]))});R(3,"Show all");H()()}a&2&&(a=
O().ngIf,z(1),Ff("Filtering ",a.count," closed issue",1===a.count?"":"s",". "))},jXa=function(a){if(a&1){var b=v();G(0,"p");R(1,"Closed issues may be filtered. ");G(2,"a",14);M("click",function(){w(b);var c=O(4);return y(hXa(c,[]))});R(3,"Show all");H()()}},kXa=function(a,b){a&1&&(J(0),Q(1,iXa,4,2,"p",13),Q(2,jXa,4,0,"p",10),L());if(a&2){a=b.ngIf;O(2);var c=Cf(2);z(1);F("ngIf",a.count);z(1);F("ngIf",0===a.count&&0<c.filters.length)}},lXa=function(a){if(a&1){var b=v();G(0,"a",14);M("click",function(){w(b);
var c=O(3);return y(hXa(c,["OPEN"]))});R(1,"Only show open issues");H()}},nXa=function(a){a&1&&(J(0),Q(1,kXa,3,2,"ng-container",10),S(2,"async"),Q(3,lXa,2,0,"a",12),L());if(a&2){O();var b=Cf(2);z(1);F("ngIf",Jf(4,mXa,T(2,2,b.model.filteredRowCount$)));z(2);F("ngIf",0===b.filters.length)}},oXa=function(a,b){a&1&&(G(0,"section"),I(1,"expandable-issues-table",8,9),S(3,"async"),Q(4,gXa,4,5,"ng-container",10),S(5,"async"),Q(6,nXa,4,6,"ng-container",10),S(7,"async"),H());if(a&2){a=b.$implicit;var c=Cf(2);
b=O();var d,e;qf("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]);z(1);qf("hidden",0===((null==(d=T(3,9,c.rows$))?null:d.length)||0));F("rootIssueId",a)("modifyMenuItems",b.modifyMenuItems)("filters",b.hackyPrefs.prefs.projectFilters);z(3);F("ngIf",null!==T(5,11,b.unarchivedProjectsCount$));z(2);F("ngIf",null==(e=T(7,13,null==c?null:c.rows$))?null:e.length)}},pXa=function(a){if(a&1){var b=v();G(0,"issue-card-compact",23);M("onDismiss",function(){w(b);var c=O().$implicit,d=O(3);return y(d.addProject(c.issueId))});
H()}a&2&&(a=O().$implicit,F("issue",a)("onlyTitle",!0))},qXa=function(a,b){a&1&&(J(0),Q(1,pXa,1,2,"issue-card-compact",22),L());a&2&&(a=b.index,b=O(3),z(1),F("ngIf",a<b.suggestLimit))},rXa=function(a){a&1&&(G(0,"p"),R(1," No projects to suggest. Check out the "),G(2,"a",24),R(3," work tracking data model "),I(4,"mat-icon",25),H()())},sXa=function(a){if(a&1){var b=v();G(0,"b-button",26);M("onAction",function(){w(b);var c=O().ngIf,d=O(2);return y(d.suggestLimit=c.length)});R(1," Show more ");H()}},
tXa=function(a,b){a&1&&(J(0),G(1,"div",19),Q(2,qXa,2,1,"ng-container",20),Q(3,rXa,5,0,"p",10),Q(4,sXa,2,0,"b-button",21),H(),L());a&2&&(a=b.ngIf,b=O(2),z(2),F("ngForOf",a),z(1),F("ngIf",0===a.length),z(1),F("ngIf",a.length>b.suggestLimit))},uXa=function(a){a&1&&I(0,"b-spinner")},vXa=function(a){a&1&&(G(0,"div",15)(1,"h1",16),R(2,"Suggested projects"),H(),Q(3,tXa,5,3,"ng-container",17),S(4,"async"),Q(5,uXa,1,0,"ng-template",null,18,Zf),H());if(a&2){var b=Cf(6);a=O();z(3);F("ngIf",T(4,2,a.suggestedProjects$))("ngIfElse",
b)}},wXa=function(a){if(a&1){var b=v();G(0,"b-button",30);M("onAction",function(){w(b);var c=O(2);return y(c.createChild())});S(1,"async");R(2," Create new project ");H()}a&2&&(a=O(2),F("disabled",!T(1,1,a.canEdit$)))},xXa=function(a){if(a&1){var b=v();Q(0,wXa,3,3,"b-button",27);G(1,"b-button",28);M("onAction",function(){w(b);var c=O();return y(c.addChild())});S(2,"async");R(3," Add existing project ");H();G(4,"b-button",29);M("onAction",function(){w(b);var c=O();return y(c.showSuggestedProjects=
!c.showSuggestedProjects)});S(5,"async");R(6);H()}a&2&&(a=O(),F("ngIf",a.isNonPublicSession),z(1),F("disabled",!T(2,4,a.canEdit$)),z(3),F("disabled",!T(5,6,a.canEdit$)),z(2),Df(" ",a.showSuggestedProjects?"Hide suggestions":"Suggest projects"," "))},yXa=function(a){a&1&&I(0,"my-work-card",10);a&2&&F("assignedOnly",!0)},zXa=function(a){a&1&&I(0,"my-work-card",10);a&2&&F("assignedOnly",!1)},AXa=function(a,b){a&1&&I(0,"hotlist-as-project-card",12);a&2&&F("hotlistId",b.$implicit)},BXa=function(a){a&1&&
(J(0),Q(1,AXa,1,1,"hotlist-as-project-card",11),L());if(a&2){a=O().$implicit;var b=O();z(1);F("ngIf",b.extractHotlistId(a))}},CXa=function(a){a&1&&I(0,"issue-as-immersed-card",15);a&2&&(a=O(2).$implicit,F("issueId",a))},DXa=function(a){a&1&&I(0,"issue-as-project-card",15);a&2&&(a=O(2).$implicit,F("issueId",a))},EXa=function(a){a&1&&(J(0)(1,6),Q(2,CXa,1,1,"issue-as-immersed-card",13),Q(3,DXa,1,1,"issue-as-project-card",14),L()());if(a&2){a=O().$implicit;var b=O();z(1);F("ngSwitch",null==b.prefs.itemDisplayType?
null:b.prefs.itemDisplayType[a]);z(1);F("ngSwitchCase",b.IMMERSED)}},FXa=function(a){a&1&&I(0,"issue-as-immersed-card",15);a&2&&(a=O(2).$implicit,F("issueId",a))},GXa=function(a){a&1&&I(0,"issue-as-project-card",15);a&2&&(a=O(2).$implicit,F("issueId",a))},HXa=function(a){a&1&&(J(0)(1,6),Q(2,FXa,1,1,"issue-as-immersed-card",13),Q(3,GXa,1,1,"issue-as-project-card",14),L()());if(a&2){a=O().$implicit;var b=O();z(1);F("ngSwitch",null==b.prefs.itemDisplayType?null:b.prefs.itemDisplayType[a]);z(1);F("ngSwitchCase",
b.IMMERSED)}},IXa=function(a,b){a&1&&I(0,"saved-search-as-project-card",17);a&2&&F("savedSearchId",b.$implicit)},JXa=function(a){a&1&&(J(0),Q(1,IXa,1,1,"saved-search-as-project-card",16),L());if(a&2){a=O().$implicit;var b=O();z(1);F("ngIf",b.extractSavedSearchId(a))}},KXa=function(a){if(a&1){var b=v();J(0);G(1,"p",18);R(2," Unknown id/url format: `");G(3,"code");R(4);H();R(5,"`. ");G(6,"a",19);M("click",function(){w(b);var c=O().$implicit,d=O();return y(Jo(d.hackyPrefs,c))});R(7," Remove ");H();I(8,
"br");R(9," Learn more: ");G(10,"a",20);R(11,"go/b-learn-project-add");H()();L()}a&2&&(a=O().$implicit,z(4),Ef(a))},LXa=function(a,b){a&1&&(J(0)(1,6),Q(2,yXa,1,1,"my-work-card",7),Q(3,zXa,1,1,"my-work-card",7),Q(4,BXa,2,1,"ng-container",8),Q(5,EXa,4,2,"ng-container",8),Q(6,HXa,4,2,"ng-container",8),Q(7,JXa,2,1,"ng-container",8),Q(8,KXa,12,1,"ng-container",9),L()());a&2&&(a=b.$implicit,b=O(),z(1),F("ngSwitch",b.inferEntityType(a)),z(1),F("ngSwitchCase","assigned-to-me"),z(1),F("ngSwitchCase","recent-stuff-i-follow"),
z(1),F("ngSwitchCase","hotlist"),z(1),F("ngSwitchCase","plain-id"),z(1),F("ngSwitchCase","issue"),z(1),F("ngSwitchCase","savedsearch"))},MXa=function(a){if(a&1){var b=v();J(0);G(1,"div",21);I(2,"img",22);G(3,"p");R(4," Nothing selected. ");G(5,"button",23);M("click",function(){w(b);var c=O();return y(c.onClickAdd())});R(6,"Add Project");H()();G(7,"p",18)(8,"a",24);I(9,"mat-icon",25);H();R(10," You can pin almost anything here: hotlist, saved search, or parent issue. ");H()();L()}a&2&&(a=O(),z(2),
F("src",a.SPACE_EMPTY_STATE,Md))},NXa=function(a){a&1&&(J(0),G(1,"div")(2,"h2"),R(3,"Suggestions"),H(),I(4,"suggested-issue-projects"),H(),I(5,"suggested-hotlists"),L())},OXa=function(a){if(a&1){var b=v();G(0,"aside",26)(1,"button",27);M("click",function(){w(b);var c=O();return y(c.onClickAdd())});I(2,"mat-icon",28);R(3," Add project ");H();G(4,"button",29);M("click",function(){w(b);var c=O();return y(c.onClickAddHotlist())});R(5," Add Hotlist ");H();G(6,"button",29);M("click",function(){w(b);var c=
O();return y(c.onClickAddSavedSearch())});R(7," Add Saved Search ");H()()}},PXa=function(a){a&1&&I(0,"my-work-card",21);a&2&&F("assignedOnly",!0)},QXa=function(a){a&1&&I(0,"my-work-card",21);a&2&&F("assignedOnly",!1)},RXa=function(a,b){a&1&&I(0,"hotlist-as-project-card",23);a&2&&F("hotlistId",b.$implicit)("neverCollapse",!0)},SXa=function(a){a&1&&(J(0),Q(1,RXa,1,2,"hotlist-as-project-card",22),L());if(a&2){a=O().$implicit;var b=O();z(1);F("ngIf",b.extractHotlistId(a))}},TXa=function(a){a&1&&(J(0),
I(1,"issue-as-project-card",24),L());a&2&&(a=O().$implicit,z(1),F("issueId",a)("neverCollapse",!0))},UXa=function(a,b){a&1&&I(0,"issue-as-project-card",24);a&2&&F("issueId",b.$implicit)("neverCollapse",!0)},VXa=function(a){a&1&&(J(0),Q(1,UXa,1,2,"issue-as-project-card",25),L());if(a&2){a=O().$implicit;var b=O();z(1);F("ngIf",b.extractIssueId(a))}},WXa=function(a,b){a&1&&I(0,"saved-search-as-project-card",27);a&2&&F("savedSearchId",b.$implicit)("neverCollapse",!0)},XXa=function(a){a&1&&(J(0),Q(1,WXa,
1,2,"saved-search-as-project-card",26),L());if(a&2){a=O().$implicit;var b=O();z(1);F("ngIf",b.extractSavedSearchId(a))}},YXa=function(a){if(a&1){var b=v();J(0);G(1,"p",12);R(2," Unknown id/url format: `");G(3,"code");R(4);H();R(5,"`. ");G(6,"a",28);M("click",function(){w(b);var c=O().$implicit,d=O();return y(Jo(d.hackyPrefs,c))});R(7," Remove ");H();I(8,"br");R(9," Learn more: ");G(10,"a",29);R(11,"go/b-learn-project-add");H()();L()}a&2&&(a=O().$implicit,z(4),Ef(a))},$Xa=function(a,b){a&1&&(J(0)(1,
16),G(2,"mat-tab",17),Q(3,PXa,1,1,"my-work-card",18),Q(4,QXa,1,1,"my-work-card",18),Q(5,SXa,2,1,"ng-container",19),Q(6,TXa,2,2,"ng-container",19),Q(7,VXa,2,1,"ng-container",19),Q(8,XXa,2,1,"ng-container",19),Q(9,YXa,12,1,"ng-container",20),H(),L()());if(a&2){a=b.$implicit;b=O();var c;z(1);F("ngSwitch",b.inferEntityType(a));z(1);F("label",null!==(c=ZXa(b,a))&&void 0!==c?c:a);z(1);F("ngSwitchCase","assigned-to-me");z(1);F("ngSwitchCase","recent-stuff-i-follow");z(1);F("ngSwitchCase","hotlist");z(1);
F("ngSwitchCase","plain-id");z(1);F("ngSwitchCase","issue");z(1);F("ngSwitchCase","savedsearch")}},aYa=function(a){if(a&1){var b=v();G(0,"aside",31)(1,"button",32);M("click",function(){w(b);var c=O(2);return y(c.onClickAdd())});I(2,"mat-icon",33);R(3," Add project ");H();G(4,"button",34);M("click",function(){w(b);var c=O(2);return y(c.onClickAddHotlist())});R(5," Add Hotlist ");H();G(6,"button",34);M("click",function(){w(b);var c=O(2);return y(c.onClickAddSavedSearch())});R(7," Add Saved Search ");
H()()}},bYa=function(a,b){a&1&&(J(0),Q(1,aYa,8,0,"aside",30),L());a&2&&(a=b.$implicit,z(1),F("ngIf",0<a.length&&10>=a.length))},cYa=function(a,b){a&1&&(J(0),I(1,"flat-issues-table",19),L());a&2&&(a=b.ngIf,b=O(),z(1),F("issueIds",a)("displayedColumns",b.DEFAULT_COLUMNS)("assigneeMode","avatar-in-progress"))},dYa=function(a){a&1&&I(0,"b-spinner")},fYa=function(a,b){if(a&1){var c=v();G(0,"span",6);M("click",function(){w(c);var e=O().$implicit,g=O();return y(g.toggleSignal(e))});I(1,"mat-icon",7);R(2);
H()}if(a&2){a=b.$implicit;b=O().$implicit;var d=O();tf("chippy rounded ",a.className," margin-s-right");qf("selected",d.selectedSignals.includes(b));F("matTooltip",eYa(b));z(1);F("svgIcon",a.icon);z(1);Ff(" ",a.text," (",d.signalCounts[b],") ")}},gYa=function(a,b){a&1&&(J(0),Q(1,fYa,3,9,"span",5),L());a&2&&(a=b.$implicit,b=O(),z(1),F("ngIf",b.SIGNAL_MAPPING[a]))},hYa=function(a,b){if(a&1){var c=v();J(0);G(1,"issue-card-compact",9);M("onDismiss",function(){w(c);var e=O().$implicit,g=O();return y(g.dismissIssue(e.issueId))});
H();L()}if(a&2){a=b.$implicit;b=O().$implicit;var d=O();z(1);F("issue",b)("moreInfoIconSvg",a.icon)("moreInfoMessage",d.getSignalTypeTooltip(b.issueId))("moreInfoAccentColor",a.color)("disableDismiss",d.dismissInProgress[b.issueId])}},jYa=function(a,b){a&1&&(J(0),Q(1,hYa,2,5,"ng-container",8),L());a&2&&(b=b.$implicit,a=O(),z(1),b=iYa(a,b.issueId),F("ngIf",b?a.SIGNAL_MAPPING[b.signalType]:null))},kYa=function(a,b){a&1&&(G(0,"span",1),I(1,"mat-icon",2),H());a&2&&(a=b.ngIf,b=O(),tf("chippy rounded ",
a.className," margin-xs-right"),F("matTooltip",b.getSignalTypeTooltip()),z(1),F("svgIcon",a.icon))},lYa=function(a,b){a&1&&(J(0),I(1,"b-signal-chip",8),L());a&2&&(a=b.$implicit,z(1),F("signal",a))},mYa=function(a,b){a&1&&(G(0,"span"),Q(1,lYa,2,1,"ng-container",7),H());a&2&&(a=b.row,b=O(2),z(1),F("ngIf",iYa(b,a.issueId)))},nYa=function(a,b){if(a&1){var c=v();J(0);G(1,"button",9);M("click",function(d){var e=w(c).$implicit,g=O().row;O(2).navigateToIssue(d,e,g);return y(d.stopPropagation())});R(2);H();
L()}if(a&2){a=b.$implicit;O(3);z(2);a:switch(a.signalType){case "MENTIONED":case "NEEDS_REPORTER_INPUT":a="Reply";break a;default:a="View"}Df(" ",a," ")}},oYa=function(a,b){a&1&&(G(0,"span"),Q(1,nYa,3,1,"ng-container",7),H());a&2&&(a=b.row,b=O(2),z(1),F("ngIf",iYa(b,a.issueId)))},pYa=function(a){a&1&&(G(0,"flat-issues-table",5),Q(1,mYa,2,1,"span",6),Q(2,oYa,2,1,"span",6),H());a&2&&(a=O(),qf("collapsed",a.hackyPrefs.prefs.collapsed[a.SECTION_SLUG]),F("issueIds",a.getIssueIdsToDisplay())("displayedColumns",
a.columnsToDisplay)("customColumns",a.customColumns),z(1),F("forViewCell","alert"),z(1),F("forViewCell","action"))},qYa=function(a){a&1&&(G(0,"p",10),R(1,"None"),H())},rYa=function(a,b){if(a&1){var c=v();J(0);G(1,"issue-card-compact",4);M("onDismiss",function(){var d=w(c).$implicit,e=O();Jo(e.hackyPrefs,d.issueId);e.refreshMonitor.refreshRequest.next();return y()});H();L()}a&2&&(a=b.$implicit,z(1),F("issue",a))},sYa=function(a){a&1&&(J(0),R(1," No pinned issues. Click the 'pin' icon to add issues here. "),
L())},tYa=function(a,b){for(a.has(b)&&a.delete(b);50<=a.size;)a.delete(a.keys().next().value);a.set(b,void 0)},uYa=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)},vYa=function(a){a&1&&(G(0,"h4",11),R(1,"Pinned"),H())},wYa=function(a,b){if(a&1){var c=v();J(0);G(1,"issue-card-compact",12);M("onDismiss",function(){var d=w(c).$implicit,e=O(2);Jo(e.hackyPrefs,d.issueId);e.getIssueIdsToDisplay();return y()});H();
L()}a&2&&(a=b.$implicit,z(1),F("issue",a))},yYa=function(a){a&1&&(J(0),Q(1,vYa,2,0,"h4",8),S(2,"async"),G(3,"section",9),Q(4,wYa,2,1,"ng-container",10),S(5,"async"),H(),L());if(a&2){a=O();var b;z(1);F("ngIf",null!==(b=0<(null!==(b=T(2,2,a.pinnedIssues$))&&void 0!==b?b:If(6,xYa)).length)&&void 0!==b?b:!1);z(3);F("ngForOf",T(5,4,a.pinnedIssues$))}},zYa=function(a){if(a&1){var b=v();J(0);G(1,"button",13);M("click",function(c){w(b);var d=O().row,e=O();Jo(e.hackyPrefs,d.issueId);e.getIssueIdsToDisplay();
return y(c.stopPropagation())});G(2,"mat-icon",14);R(3,"keep_off");H()();L()}},AYa=function(a){if(a&1){var b=v();J(0);G(1,"button",15);M("click",function(c){w(b);var d=O().row,e=O();sn(e.hackyPrefs,d.issueId);e.getIssueIdsToDisplay();return y(c.stopPropagation())});G(2,"mat-icon",14);R(3,"keep");H()();L()}},CYa=function(a,b){a&1&&(G(0,"span"),Q(1,zYa,4,0,"ng-container",1),Q(2,AYa,4,0,"ng-container",1),H());a&2&&(a=b.row,b=O(),z(1),F("ngIf",BYa(b,a.issueId)),z(1),F("ngIf",!BYa(b,a.issueId)))},DYa=
function(a,b){a&1&&(J(0),I(1,"flat-issues-table",5),L());a&2&&(a=b.ngIf,b=O(),z(1),qf("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]),F("issueIds",a)("displayedColumns",b.columnsToDisplay))},EYa=function(a){a&1&&I(0,"b-spinner")},FYa=function(a){a&1&&(G(0,"div",4),I(1,"mat-icon",5),R(2),S(3,"async"),H());if(a&2){a=O();var b=Cf(4);F("onedevHovercardTrigger",b);z(2);Df("",T(3,2,a.teamName$)," ")}},GYa=function(a,b){a&1&&I(0,"b-team-chip",7);a&2&&F("teamId",b.$implicit)},HYa=function(a){a&
1&&(J(0),G(1,"div",2),I(2,"b-user-image",14)(3,"b-user-display",15),R(4," submitted "),I(5,"b-changelist-link",16),R(6," for "),G(7,"b-issue-reference-widget",17),R(8),H(),I(9,"b-formatted-date-time",18),H(),G(10,"p",19),R(11),H(),L());if(a&2){a=O().$implicit;var b=O(2);z(2);F("email",b.clAuthorToEmailAddress(a.event));z(1);F("model",b.clAuthorToUser(a.event));z(2);F("changelistId",b.getClNumber(a.event));z(2);F("href","b/issues/{{event.issueId}}")("issueId",a.issueId);z(1);Df("b/",a.issueId,"");
z(1);F("timestamp",a.event.modifiedDate);z(2);Ef(b.clEventToClDescription(a.event))}},IYa=function(a){a&1&&(J(0),G(1,"div",2),I(2,"b-user-image",14)(3,"b-user-display",15),R(4," commented on "),G(5,"b-issue-reference-widget",17),R(6),H(),I(7,"b-formatted-date-time",18),H(),G(8,"p",19),R(9),H(),L());if(a&2){a=O().$implicit;var b=O(2);z(2);F("email",b.getUserEmailIfAvailable(a.event));z(1);F("model",a.event.userPerformingActionUser);z(2);F("href",b.getIssueDetailsUrl(a.issueId))("issueId",a.issueId);
z(1);Df("b/",a.issueId,"");z(1);F("timestamp",a.event.modifiedDate);z(2);Ef(a.event.unlinkifiedComment)}},JYa=function(a){a&1&&(J(0),G(1,"div",2),I(2,"b-user-image",14)(3,"b-user-display",15),R(4," changed priority for "),G(5,"b-issue-reference-widget",17),R(6),H(),I(7,"b-formatted-date-time",18),H(),G(8,"p",20),R(9,"Priority changed from "),I(10,"b-issue-priority-display",21),R(11," to "),I(12,"b-issue-priority-display",21),H(),L());if(a&2){a=O().$implicit;var b=O(2);z(2);F("email",b.getUserEmailIfAvailable(a.event));
z(1);F("model",a.event.userPerformingActionUser);z(2);F("href",b.getIssueDetailsUrl(a.issueId))("issueId",a.issueId);z(1);Df("b/",a.issueId,"");z(1);F("timestamp",a.event.modifiedDate);z(3);F("issuePriority",b.toIssuePriority(b.getPreviousDiffValue(a.event,"priority")));z(2);F("issuePriority",b.toIssuePriority(b.getNewDiffValue(a.event,"priority")))}},KYa=function(a){a&1&&(J(0),G(1,"div",2),I(2,"b-user-image",14)(3,"b-user-display",15),R(4," changed status for "),G(5,"b-issue-reference-widget",17),
R(6),H(),I(7,"b-formatted-date-time",18),H(),G(8,"p",20),R(9),H(),L());if(a&2){a=O().$implicit;var b=O(2);z(2);F("email",b.getUserEmailIfAvailable(a.event));z(1);F("model",a.event.userPerformingActionUser);z(2);F("href",b.getIssueDetailsUrl(a.issueId))("issueId",a.issueId);z(1);Df("b/",a.issueId,"");z(1);F("timestamp",a.event.modifiedDate);z(2);Ff("Status changed from ",b.getPreviousDiffValue(a.event,"status")," to ",b.getNewDiffValue(a.event,"status"),"")}},LYa=function(a){a&1&&(J(0),G(1,"div",2),
I(2,"b-user-image",14)(3,"b-user-display",15),R(4),H(),L());if(a&2){a=O().$implicit;var b=O(2);z(2);F("email",b.getUserEmailIfAvailable(a.event));z(1);F("model",a.event.userPerformingActionUser);z(1);Df(" updated ",a.issueId," ")}},MYa=function(a,b){a&1&&(G(0,"div",10),J(1,11),Q(2,HYa,12,8,"ng-container",12),Q(3,IYa,10,7,"ng-container",12),Q(4,JYa,13,8,"ng-container",12),Q(5,KYa,10,8,"ng-container",12),Q(6,LYa,5,3,"ng-container",13),L(),H());a&2&&(a=b.$implicit,qf("margin-bottom",!b.last),z(1),F("ngSwitch",
a.eventType),z(1),F("ngSwitchCase","changelist"),z(1),F("ngSwitchCase","comment"),z(1),F("ngSwitchCase","priority"),z(1),F("ngSwitchCase","status"))},NYa=function(a){a&1&&(G(0,"div",8),Q(1,MYa,7,7,"div",9),H());a&2&&(a=O(),z(1),F("ngForOf",a.teamActivityEvents))},OYa=function(a,b){a&1&&I(0,"b-team-chip",12);a&2&&F("teamId",b.$implicit)},PYa=function(){},QYa=function(a){a&1&&Q(0,PYa,0,0,"ng-template")},SYa=function(a,b){a&1&&(G(0,"li"),Q(1,QYa,1,0,null,14),H());if(a&2){a=b.$implicit;O(2);var c=Cf(38);
z(1);F("ngTemplateOutlet",c)("ngTemplateOutletContext",Jf(2,RYa,a))}},TYa=function(a,b){a&1&&(G(0,"div")(1,"ol"),Q(2,SYa,2,4,"li",13),H()());a&2&&(a=b.$implicit,z(2),F("ngForOf",null==a?null:a.results))},UYa=function(){},VYa=function(a){a&1&&Q(0,UYa,0,0,"ng-template")},WYa=function(a,b){a&1&&(G(0,"li"),Q(1,VYa,1,0,null,14),H());if(a&2){a=b.$implicit;O(2);var c=Cf(38);z(1);F("ngTemplateOutlet",c)("ngTemplateOutletContext",Jf(2,RYa,a))}},XYa=function(a,b){a&1&&(G(0,"div")(1,"ol"),Q(2,WYa,2,4,"li",13),
H()());a&2&&(a=b.$implicit,z(2),F("ngForOf",null==a?null:a.results))},YYa=function(a){a&1&&I(0,"b-issue-card",24,25);if(a&2){var b=Cf(1);a=O().$implicit;F("onedevIsHovercardReady",b.init)("issueId",a.issueId)}},ZYa=function(a){a&1&&(G(0,"span",26),R(1),H());a&2&&(a=O().$implicit,z(1),Df("(",null==a.aggregatedData?null:a.aggregatedData.voteCount," Votes)"))},$Ya=function(a){a&1&&(G(0,"span",26),R(1),H());a&2&&(a=O().$implicit,z(1),Df("(",null==a?null:null==a.snapshot[0].duplicateIssueId?null:a.snapshot[0].duplicateIssueId.length,
" Duplicates)"))},aZa=function(a,b){a&1&&(G(0,"span"),R(1),H());a&2&&(a=b.$implicit,b=O(2),tf("chippy status-",a,""),z(1),Df(" ",b.STATUS_TERSE[a]," "))},bZa=function(a,b){a&1&&(G(0,"onedev-hovercard",null,15),Q(2,YYa,2,2,"b-issue-card",16),H(),G(3,"div",17)(4,"span",18)(5,"span"),R(6),H(),G(7,"span",19),R(8),H()(),G(9,"span")(10,"a",20),R(11),H(),Q(12,ZYa,2,1,"span",21),Q(13,$Ya,2,1,"span",21),H(),G(14,"span",22),Q(15,aZa,2,4,"span",23),H()());if(a&2){a=b.$implicit;var c=Cf(1);O();z(5);b=a.snapshot[0].priority;
b=null!=b?isa[b]:void 0;tf("p-chip priority-",b," margin-s-right");z(1);Df(" ",a.snapshot[0].priority," ");z(2);Ef(a.issueId);z(2);zf("href","/issues/",a.issueId,"",Md);F("onedevHovercardTrigger",c);z(1);Ef(a.snapshot[0].title);z(1);var d,e;b=0<(null!=(e=null==(d=a.aggregatedData)?void 0:d.voteCount)?e:0);F("ngIf",b);z(1);var g;d=0<(null!=(g=null==a?void 0:a.snapshot[0].duplicateIssueId)?g:[]).length;F("ngIf",d);z(2);if(g="NEW"===a.snapshot[0].status||"ASSIGNED"===a.snapshot[0].status?!1:!0)g=a.snapshot[0].status,
g=null!=g?jj[g]:void 0;F("ngIf",g)}},cZa=function(a){a=void 0===a?[]:a;return a.map(function(b){return"teamId:"+b+"+"}).join(" OR ")},dZa=function(a,b){if(a&1){var c=v();J(0);G(1,"issue-card-compact",5);M("onDismiss",function(){var d=w(c).$implicit,e=O().hackyPrefs;d=d.issueId;var g=e.prefs;g.issuesThisWeek&&g.issuesThisWeek.issues.includes(d)&&(g.issuesThisWeek.issues.splice(g.issuesThisWeek.issues.indexOf(d),1),e.save(g));return y()});H();L()}a&2&&(a=b.$implicit,z(1),F("issue",a)("onlyTitle",!0))},
eZa=function(a,b){a&1&&I(0,"issue-as-project-card",1);a&2&&F("issueId",b.$implicit)("neverCollapse",!0)},fZa=function(a,b){a&1&&(J(0),G(1,"mat-tab",9),I(2,"one-work-area",10),H(),L());a&2&&(a=b.$implicit,z(1),F("label",a),z(1),F("issueTree",a))},gZa=function(a){if(a&1){var b=v();J(0);I(1,"br");R(2," Some tasks are hidden, ");G(3,"a",11);M("click",function(){w(b);var c=O(3);return y(c.showHiddenTasks.emit())});R(4,"show hidden tasks");H();R(5,"? ");L()}},hZa=function(a){a&1&&(G(0,"mat-header-cell",
8),I(1,"img",9),G(2,"div"),R(3," No tasks available that meet the criteria. "),Q(4,gZa,6,0,"ng-container",10),H()());a&2&&(a=O(2),z(4),F("ngIf",a.areTasksHidden))},iZa=function(a){a&1&&I(0,"mat-cell")},jZa=function(a){a&1&&I(0,"mat-header-row",12)},kZa=function(a){a&1&&I(0,"mat-row")},nZa=function(a){a&1&&(G(0,"mat-table",2),J(1,3),Q(2,hZa,5,1,"mat-header-cell",4),Q(3,iZa,1,0,"mat-cell",5),L(),Q(4,jZa,1,0,"mat-header-row",6),Q(5,kZa,1,0,"mat-row",7),H());a&2&&(F("dataSource",If(3,lZa)),z(4),F("matHeaderRowDef",
If(4,mZa)),z(1),F("matRowDefColumns",If(5,mZa)))},oZa=function(a){a&1&&(G(0,"mat-header-cell"),R(1,"Task title"),H())},pZa=function(a,b){if(a&1){var c=v();G(0,"mat-cell")(1,"div",19);I(2,"mat-icon",20);S(3,"taskIcon");G(4,"span",21)(5,"a",22);M("click",function(){var d=w(c).$implicit,e=O(2);return y(e.logTaskOpenedMetric(d))});R(6);H()()()()}a&2&&(a=b.$implicit,z(2),F("svgIcon",T(3,3,a)),z(3),F("href",a.resourceUrl,Md),z(1),Df(" ",a.title," "))},qZa=function(a){a&1&&(G(0,"mat-header-cell"),R(1," Signals "),
H())},rZa=function(a,b){a&1&&(G(0,"div",24),R(1),H());a&2&&(a=b.$implicit,F("matTooltip",a.tooltipText)("matTooltipDisabled",!a.tooltipText),z(1),Df(" ",a.text," "))},sZa=function(a,b){a&1&&(G(0,"mat-cell"),Q(1,rZa,2,3,"div",23),H());a&2&&(a=b.$implicit,z(1),F("ngForOf",a.signals))},tZa=function(a){a&1&&(G(0,"mat-header-cell"),R(1," Actions "),H())},uZa=function(a){if(a&1){var b=v();G(0,"button",27);M("click",function(){w(b);var c=O().$implicit,d=O(2);return y(d.unhideTask(c))});I(1,"mat-icon",20);
H()}a&2&&(z(1),F("svgIcon","show_task"))},vZa=function(a){if(a&1){var b=v();G(0,"button",28);M("click",function(){w(b);var c=O().$implicit,d=O(2);return y(d.hideTask(c))});I(1,"mat-icon",20);H()}a&2&&(z(1),F("svgIcon","hide_task"))},wZa=function(a,b){a&1&&(G(0,"mat-cell"),Q(1,uZa,2,1,"button",25),S(2,"async"),Q(3,vZa,2,1,"ng-template",null,26,Zf),H());if(a&2){a=b.$implicit;var c=Cf(4);z(1);F("ngIf",T(2,2,a.isHidden$))("ngIfElse",c)}},xZa=function(a){a&1&&I(0,"mat-header-row")},yZa=function(a,b){a&
1&&(G(0,"mat-row"),S(1,"async"),H());a&2&&qf("hidden-task",T(1,2,b.$implicit.isHidden$))},zZa=function(a){a&1&&(G(0,"mat-table",2),J(1,13),Q(2,oZa,2,0,"mat-header-cell",14),Q(3,pZa,7,5,"mat-cell",5),L(),J(4,15),Q(5,qZa,2,0,"mat-header-cell",14),Q(6,sZa,2,1,"mat-cell",5),L(),J(7,16),Q(8,tZa,2,0,"mat-header-cell",14),Q(9,wZa,5,4,"mat-cell",5),L(),Q(10,xZa,1,0,"mat-header-row",17),Q(11,yZa,2,4,"mat-row",18),H());a&2&&(a=O(),F("dataSource",a.tasks),z(10),F("matHeaderRowDef",a.displayedColumns),z(1),F("matRowDefColumns",
a.displayedColumns))},AZa=function(a){var b={attributeFilter:["aria-label","aria-valuenow"]};return new E.Observable(function(c){(new MutationObserver(function(d){var e=d[0].target,g;d=null!=(g=e.getAttribute("aria-label"))?g:"";var h;g=null!=(h=e.getAttribute("aria-valuenow"))?h:"indeterminate";c.next([d,g])})).observe(a,b)})},BZa=function(a){a&1&&(J(0),R(1,"Recommended Tasks"),L())},CZa=function(a){a&1&&(J(0),R(1,"Needs My Input"),L())},DZa=function(a){a&1&&I(0,"mat-progress-spinner",5);a&2&&F("diameter",
16)},EZa=function(a){a&1&&(J(0),R(1,"Less"),L())},FZa=function(a){a&1&&(J(0),R(1,"More"),L())},GZa=function(a){if(a&1){var b=v();G(0,"button",8);M("click",function(){w(b);var c=O().ngIf,d=O(2);c=!c.viewAll;d.viewAll$.next(c);d.metrics.logUsageMetric("toggle_view_all",c);return y()});R(1," View ");Q(2,EZa,2,0,"ng-container",2);Q(3,FZa,2,0,"ng-container",2);H()}a&2&&(a=O().ngIf,z(2),F("ngIf",a.viewAll),z(1),F("ngIf",!a.viewAll))},HZa=function(a){a&1&&(J(0),R(1,"Hide"),L())},IZa=function(a){a&1&&(J(0),
R(1,"Show"),L())},JZa=function(a){if(a&1){var b=v();G(0,"button",9);M("click",function(){w(b);var c=O().ngIf,d=O(2);return y(d.setShowHidden(!c.showHidden))});Q(1,HZa,2,0,"ng-container",2);Q(2,IZa,2,0,"ng-container",2);R(3," Hidden Tasks ");H()}a&2&&(a=O().ngIf,z(1),F("ngIf",a.showHidden),z(1),F("ngIf",!a.showHidden))},KZa=function(a){a&1&&(J(0),Q(1,GZa,4,2,"button",6),S(2,"async"),Q(3,JZa,4,2,"button",7),S(4,"async"),L());a&2&&(a=O(2),z(1),F("ngIf",T(2,2,a.areTasksFiltered$)),z(2),F("ngIf",T(4,4,
a.areTasksHidden$)))},MZa=function(a){a&1&&(yf(0),Q(1,KZa,5,6,"ng-container",2),S(2,"async"),S(3,"async"));a&2&&(a=O(),z(1),F("ngIf",Kf(5,LZa,T(2,1,a.showHidden$),T(3,3,a.viewAll$))))},NZa=function(a){if(a&1){var b=v();J(0);G(1,"tp-task-table",10);M("showHiddenTasks",function(){w(b);var e=O(2);return y(e.setShowHidden(!0))});S(2,"async");H();L()}if(a&2){a=O().ngIf;var c=O(),d;z(1);F("tasks",a.tasks)("showZeroState",!!a.areAllTasksLoaded&&0===a.tasks.length)("areTasksHidden",null!==(d=T(2,3,c.areTasksHidden$))&&
void 0!==d?d:!1)}},OZa=function(a,b){a&1&&(J(0),Q(1,NZa,3,5,"ng-container",2),L());a&2&&(a=b.ngIf,z(1),F("ngIf",a.tasks&&(0<a.tasks.length||a.areAllTasksLoaded)))},QZa=function(a,b){if(a&1){var c=v();G(0,"div",44);I(1,"span",45);G(2,"button",46);M("click",function(){w(c);var d=O(2);PZa(d.userFeedback);return y()});R(3," Give feedback ");H()()}a&2&&(a=b.$implicit,z(1),F("innerHtml",a,Ld))},RZa=function(a){if(a&1){var b=v();G(0,"button",47);M("click",function(){w(b);var c=O(2);PZa(c.userFeedback);return y()});
R(1," Give feedback ");H()}},SZa=function(a,b){if(a&1){var c=v();G(0,"button",48);M("click",function(){var d=w(c).$implicit,e=O(2);return y(e.prefs.sectionA=d)});R(1);H()}a&2&&(a=b.$implicit,z(1),Ef(a))},TZa=function(a,b){if(a&1){var c=v();G(0,"button",48);M("click",function(){var d=w(c).$implicit,e=O(2);return y(e.prefs.sectionT=d)});R(1);H()}a&2&&(a=b.$implicit,z(1),Ef(a))},UZa=function(a,b){if(a&1){var c=v();G(0,"button",48);M("click",function(){var d=w(c).$implicit,e=O(2);return y(e.prefs.sectionW=
d)});R(1);H()}a&2&&(a=b.$implicit,z(1),Ef(a))},VZa=function(a){a&1&&I(0,"working-on-this-week")},WZa=function(a){a&1&&I(0,"pinned-issues")},XZa=function(a){a&1&&I(0,"needs-attention-widget")},YZa=function(a){a&1&&I(0,"needs-attention-table")},ZZa=function(a){a&1&&I(0,"mvp-needs-attention")},$Za=function(a){a&1&&(G(0,"section",49),Q(1,VZa,1,0,"working-on-this-week",39),Q(2,WZa,1,0,"pinned-issues",39),Q(3,XZa,1,0,"needs-attention-widget",39),Q(4,YZa,1,0,"needs-attention-table",39),Q(5,ZZa,1,0,"mvp-needs-attention",
39),H());a&2&&(a=O(2),z(1),F("ngIf",null==a.prefs.sectionA?null:a.prefs.sectionA.includes("working-on-this-week")),z(1),F("ngIf",null==a.prefs.sectionA?null:a.prefs.sectionA.includes("pinned-issues")),z(1),F("ngIf",null==a.prefs.sectionA?null:a.prefs.sectionA.includes("needs-attention-cards")),z(1),F("ngIf",null==a.prefs.sectionA?null:a.prefs.sectionA.includes("needs-attention-table")),z(1),F("ngIf",null==a.prefs.sectionA?null:a.prefs.sectionA.includes("mvp-needs-attention")))},a_a=function(a){a&
1&&I(0,"my-projects",50)},b_a=function(a){a&1&&I(0,"my-projects-as-cards")},c_a=function(a){a&1&&I(0,"my-projects-as-tabs",51)},d_a=function(a){a&1&&I(0,"work-areas-wrapper-card",51)},e_a=function(a){a&1&&(G(0,"h2"),R(1," My issues "),H())},f_a=function(a){a&1&&I(0,"working-on-this-week")},g_a=function(a){if(a&1){var b=v();G(0,"pinned-issues",52,53);M("cdkDropListDropped",function(c){w(b);var d=O(2);sn(d.hackyPrefs,c.previousContainer.data[c.previousIndex].issueId);d.refreshMonitor.refreshRequest.next();
return y()});H()}},h_a=function(a){a&1&&I(0,"recently-viewed-i-own")},i_a=function(a){a&1&&I(0,"suggested-issues")},j_a=function(a){a&1&&I(0,"my-tasks-area",51)},k_a=function(a){a&1&&I(0,"my-work-card",54);a&2&&F("assignedOnly",!0)},l_a=function(a){a&1&&I(0,"my-work-card",54);a&2&&F("assignedOnly",!1)},m_a=function(a){a&1&&I(0,"team-inbox",57)},n_a=function(a,b){a&1&&(G(0,"div",59),R(1),H());a&2&&(a=b.ngIf,z(1),Df(" ",a," "))},o_a=function(a){a&1&&(G(0,"tp-needs-attention",57),Q(1,n_a,2,1,"div",58),
S(2,"async"),H());a&2&&(a=O(3),z(1),F("ngIf",T(2,1,a.taskPrioritizationTasksCount$)))},p_a=function(a){a&1&&I(0,"team-activity-stream",57)},q_a=function(a){a&1&&I(0,"b-activity-stream",57)},r_a=function(a){a&1&&I(0,"my-tasks-area",51)},s_a=function(a){a&1&&I(0,"my-work-card",54);a&2&&F("assignedOnly",!0)},t_a=function(a){a&1&&I(0,"my-work-card",54);a&2&&F("assignedOnly",!1)},u_a=function(a){a&1&&I(0,"mvp-my-tasks")},v_a=function(a){a&1&&I(0,"mvp-my-work")},w_a=function(a){a&1&&(G(0,"section",55),
Q(1,m_a,1,0,"team-inbox",56),Q(2,o_a,3,3,"tp-needs-attention",56),Q(3,p_a,1,0,"team-activity-stream",56),Q(4,q_a,1,0,"b-activity-stream",56),Q(5,r_a,1,0,"my-tasks-area",40),Q(6,s_a,1,1,"my-work-card",42),Q(7,t_a,1,1,"my-work-card",42),Q(8,u_a,1,0,"mvp-my-tasks",39),Q(9,v_a,1,0,"mvp-my-work",39),H());a&2&&(a=O(2),z(1),F("ngIf",null==a.prefs.sectionT?null:a.prefs.sectionT.includes("team-inbox")),z(1),F("ngIf",null==a.prefs.sectionT?null:a.prefs.sectionT.includes("tp-my-work")),z(1),F("ngIf",null==a.prefs.sectionT?
null:a.prefs.sectionT.includes("team-activity-stream")),z(1),F("ngIf",null==a.prefs.sectionT?null:a.prefs.sectionT.includes("large-activity-stream")),z(1),F("ngIf",null==a.prefs.sectionT?null:a.prefs.sectionT.includes("my-tasks-area")),z(1),F("ngIf",null==a.prefs.sectionT?null:a.prefs.sectionT.includes("assigned-to-me")),z(1),F("ngIf",null==a.prefs.sectionT?null:a.prefs.sectionT.includes("recent-stuff-i-follow")),z(1),F("ngIf",null==a.prefs.sectionT?null:a.prefs.sectionT.includes("mvp-my-tasks")),
z(1),F("ngIf",null==a.prefs.sectionT?null:a.prefs.sectionT.includes("mvp-my-work")))},z_a=function(a){if(a&1){var b=v();G(0,"article",2)(1,"header",3);Q(2,QZa,4,1,"div",4);Q(3,RZa,2,0,"ng-template",null,5,Zf);G(5,"form",6);M("submit",function(){w(b);var d=O(),e=d.ldapOverride;null!=e&&(document.location.search="?ldap="+e,d.hackyPrefs.init(e));return y()});G(6,"input",7);M("ngModelChange",function(d){w(b);var e=O();return y(e.ldapOverride=d)});H();I(7,"input",8);H();G(8,"button",9);M("click",function(){w(b);
var d=O();d.showSettings=!d.showSettings;return y(d.log(d.prefs))});I(9,"mat-icon",10);H()();G(10,"aside",11)(11,"div",12)(12,"h2",13);R(13," Dashboard Settings ");H();G(14,"p",13);R(15," Layout: ");G(16,"mat-button-toggle-group",14);M("change",function(d){w(b);var e=O();return y(ep(e.hackyPrefs,{layout:d.value}))});G(17,"mat-button-toggle",15)(18,"mat-icon",16);R(19,"space_dashboard");H()();G(20,"mat-button-toggle",17)(21,"mat-icon",16);R(22,"view_stream");H()();G(23,"mat-button-toggle",18);I(24,
"mat-icon",19);H()();I(25,"br");R(26," Show Hidden Settings: ");G(27,"mat-button-toggle-group",20);M("change",function(d){w(b);var e=O();ep(e.hackyPrefs,{showHiddenSettings:d.value});e.showSettings=!1;return y()});G(28,"mat-button-toggle",21);R(29," Yes ");H();G(30,"mat-button-toggle",22);R(31," No ");H()()();G(32,"form",23);M("submit",function(){w(b);var d=O();console.log("Saving settings",d.prefs);d.showSettings=!1;d.hackyPrefs.save(d.prefs);return y()});G(33,"div",13)(34,"h2");R(35,"Widgets");
H();G(36,"div",24)(37,"section",25)(38,"label");R(39,"Alerts (A)");H();G(40,"div",26)(41,"input",27);M("ngModelChange",function(d){w(b);var e=O();return y(e.prefs.sectionA=d)});H();G(42,"div",28);Q(43,SZa,2,1,"button",29);H()()();G(44,"section",25)(45,"label");R(46,"Tasks (T)");H();G(47,"div",26)(48,"input",27);M("ngModelChange",function(d){w(b);var e=O();return y(e.prefs.sectionT=d)});H();G(49,"div",28);Q(50,TZa,2,1,"button",29);H()()();G(51,"section",25)(52,"label");R(53,"Work (W)");H();G(54,"div",
26)(55,"input",27);M("ngModelChange",function(d){w(b);var e=O();return y(e.prefs.sectionW=d)});H();G(56,"div",28);Q(57,UZa,2,1,"button",29);H()()()()();G(58,"button",30);R(59,"Close");H();G(60,"a",31);R(61,"Power edit");H();G(62,"button",32);M("click",function(){w(b);var d=O();return y(x_a(d))});R(63,"Clear all settings");H();G(64,"button",33);M("click",function(){w(b);O().refreshMonitor.refreshRequest.next();return y()});I(65,"mat-icon",34);H()()()();G(66,"div",35);Q(67,$Za,6,5,"section",36);G(68,
"section",37);Q(69,a_a,1,0,"my-projects",38);Q(70,b_a,1,0,"my-projects-as-cards",39);Q(71,c_a,1,0,"my-projects-as-tabs",40);Q(72,d_a,1,0,"work-areas-wrapper-card",40);Q(73,e_a,2,0,"h2",39);Q(74,f_a,1,0,"working-on-this-week",39);Q(75,g_a,2,0,"pinned-issues",41);Q(76,h_a,1,0,"recently-viewed-i-own",39);Q(77,i_a,1,0,"suggested-issues",39);Q(78,j_a,1,0,"my-tasks-area",40);Q(79,k_a,1,1,"my-work-card",42);Q(80,l_a,1,1,"my-work-card",42);H();Q(81,w_a,10,9,"section",43);H()()}if(a&2){var c=Cf(4);a=O();qf("settings-open",
a.showSettings)("show-hidden-settings",a.prefs.showHiddenSettings);z(2);F("ngIf",(null==a.announcement?null:null==a.announcement.tags?null:a.announcement.tags.includes("home-feedback"))&&(null==a.announcement?null:a.announcement.message))("ngIfElse",c);z(4);F("ngModel",a.ldapOverride)("ngModelOptions",If(46,y_a));z(2);qf("active",a.showSettings);z(2);qf("collapsed",!a.showSettings);z(7);F("checked",null==a.prefs.layout?null:a.prefs.layout.includes("-a"));z(3);F("checked",null==a.prefs.layout||a.prefs.layout.includes("-b"));
z(3);F("checked",null==a.prefs.layout?null:a.prefs.layout.includes("-c"));z(5);F("value",!0)("checked",a.prefs.showHiddenSettings);z(2);F("value",!1)("checked",!a.prefs.showHiddenSettings);z(11);F("ngModel",a.prefs.sectionA)("ngModelOptions",If(47,y_a));z(2);F("ngForOf",a.VALID_WIDGETS_A);z(5);F("ngModel",a.prefs.sectionT)("ngModelOptions",If(48,y_a));z(2);F("ngForOf",a.VALID_WIDGETS_T);z(5);F("ngModel",a.prefs.sectionW)("ngModelOptions",If(49,y_a));z(2);F("ngForOf",a.VALID_WIDGETS_W);z(3);zf("href",
"/issues/",a.prefs.id,"",Md);z(6);tf("grid padded margin-top ",a.prefs.layout,"");z(1);F("ngIf",a.isCurrentUserHomepage);z(2);F("ngIf",null==a.prefs.sectionW?null:a.prefs.sectionW.includes("my-projects-as-tree"));z(1);F("ngIf",null==a.prefs.sectionW?null:a.prefs.sectionW.includes("my-projects-as-cards"));z(1);F("ngIf",null==a.prefs.sectionW?null:a.prefs.sectionW.includes("my-projects-as-tabs"));z(1);F("ngIf",null==a.prefs.sectionW?null:a.prefs.sectionW.includes("work-areas-wrapper-card"));z(1);F("ngIf",
(null==a.prefs.sectionW?null:a.prefs.sectionW.includes("pinned-issues"))||(null==a.prefs.sectionW?null:a.prefs.sectionW.includes("recently-viewed-i-own")));z(1);F("ngIf",null==a.prefs.sectionW?null:a.prefs.sectionW.includes("working-on-this-week"));z(1);F("ngIf",null==a.prefs.sectionW?null:a.prefs.sectionW.includes("pinned-issues"));z(1);F("ngIf",null==a.prefs.sectionW?null:a.prefs.sectionW.includes("recently-viewed-i-own"));z(1);F("ngIf",null==a.prefs.sectionW?null:a.prefs.sectionW.includes("suggested-issues"));
z(1);F("ngIf",null==a.prefs.sectionW?null:a.prefs.sectionW.includes("my-tasks-area"));z(1);F("ngIf",null==a.prefs.sectionW?null:a.prefs.sectionW.includes("assigned-to-me"));z(1);F("ngIf",null==a.prefs.sectionW?null:a.prefs.sectionW.includes("recent-stuff-i-follow"));z(1);F("ngIf",a.isCurrentUserHomepage)}},A_a=function(a){a&1&&(G(0,"button",16)(1,"span"),R(2,"Edit"),H(),I(3,"b-icon",17),H());if(a&2){a=O();var b=Cf(7);F("disabled",a.isAnonymous)("matMenuTriggerFor",b)}},B_a=function(a){a&1&&(G(0,"button",
16)(1,"span"),R(2,"Link"),H(),I(3,"b-icon",17),H());if(a&2){a=O();var b=Cf(69);F("disabled",a.isAnonymous)("matMenuTriggerFor",b)}},C_a=function(a){a&1&&(G(0,"button",16)(1,"span"),R(2,"CC"),H(),I(3,"b-icon",17),H());if(a&2){a=O();var b=Cf(85);F("disabled",a.isAnonymous)("matMenuTriggerFor",b)}},D_a=function(a){if(a&1){var b=v();G(0,"button",3);M("click",function(){w(b);var c=O();return y(c.bulkEdit("ESTIMATED_EFFORT"))});R(1,"Estimated Effort");H()}},E_a=function(a,b){if(a&1){var c=v();G(0,"button",
3);M("click",function(){var d=w(c).$implicit,e=O();return y(e.quickBulkEdit("PRIORITY",d))});R(1);H()}a&2&&(a=b.$implicit,z(1),Df(" ",a," "))},F_a=function(a,b){if(a&1){var c=v();G(0,"button",3);M("click",function(){var d=w(c).$implicit,e=O();return y(e.quickBulkEdit("SEVERITY",d))});R(1);H()}a&2&&(a=b.$implicit,z(1),Df(" ",a," "))},G_a=function(a,b){if(a&1){var c=v();G(0,"button",3);M("click",function(){var d=w(c).$implicit,e=O();return y(e.quickBulkEdit("STATUS",d))});R(1);H()}a&2&&(a=b.$implicit,
b=O(),z(1),Df(" ",b.STATUS_FULL_TEXT[a]," "))},H_a=function(a,b){if(a&1){var c=v();G(0,"button",18);M("click",function(){var e=w(c).$implicit,g=O();return y(g.quickBulkEdit("TYPE",e))});R(1);H()}if(a&2){a=b.$implicit;b=O();var d;F("matTooltip",null!==(d=b.constants.protoIssueTypesShortDescriptions.get(a))&&void 0!==d?d:"");z(1);Df(" ",b.constants.protoIssueTypesDisplayNames.get(a)," ")}},I_a=function(a){if(a&1){var b=v();G(0,"button",5);M("click",function(){w(b);var c=O(2);return y(c.exportCsvClicked.emit())});
R(1,"Export issues to CSV ");H()}},J_a=function(a){if(a&1){var b=v();G(0,"button",5);M("click",function(){w(b);var c=O(2);return y(c.flagAsSpamClicked.emit())});R(1,"Flag issues as spam ");H()}},K_a=function(a){a&1&&(J(0),G(1,"button",1)(2,"span"),R(3,"More"),H(),I(4,"b-icon",2),H(),G(5,"mat-menu",null,3),Q(7,I_a,2,0,"button",4),Q(8,J_a,2,0,"button",4),H(),L());if(a&2){var b=Cf(6);a=O();z(1);F("disabled",a.isAnonymous)("matMenuTriggerFor",b);z(6);F("ngIf",a.showExportCsv);z(1);F("ngIf",a.showFlagIssuesAsSpam)}},
L_a=function(a){a&1&&(J(0),R(1," Network connection has been interrupted. "),L())},M_a=function(a){a&1&&R(0," Network connection has been interrupted or login credentials may have expired. ")},P_a=function(a){if(a&1){var b=v();G(0,"button",5);M("click",function(c){w(b);O(2);c.stopPropagation();c.preventDefault();var d={width:690,height:500,top:window.screenTop+(window.outerHeight-500)/2,left:window.screenLeft+(window.outerWidth-690)/2};c=window;var e=fda("undefined"!=typeof"/refreshSso".href?"/refreshSso".href:
"/refreshSso")||gda;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("Ud");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(",");la()&&c.navigator&&c.navigator.standalone&&
g&&"_self"!=g?(d=On(document,"A"),e=e instanceof Xb?e:N_a(e),d.href=Yb(e),d.target=g,h&&(d.rel="noreferrer"),e=document.createEvent("MouseEvent"),e.initMouseEvent("click",!0,!0,c,1),d.dispatchEvent(e)):h?(c=O_a("",c,g,q),e=Yb(e),c&&(fp&&fa(e,";")&&(e="'"+e.replace(/'/g,"%27")+"'"),c.opener=null,""===e&&(e="javascript:''"),e=Dg('<meta name="referrer" content="no-referrer"><meta http-equiv="refresh" content="0; url='+gp(e)+'">'),(c=c.document)&&c.write&&(c.write(gk(e)),c.close()))):((c=O_a(e,c,g,q))&&
d.noopener&&(c.opener=null),c&&d.noreferrer&&(c.opener=null));return y()});R(1," Log in again ");H()}},Q_a=function(a){a&1&&(G(0,"b-callout",1)(1,"b-callout-body"),Q(2,L_a,2,0,"ng-container",2),Q(3,M_a,1,0,"ng-template",null,3,Zf),H(),G(5,"b-callout-actions"),Q(6,P_a,2,0,"button",4),H()());if(a&2){var b=Cf(4);a=O();F("messageType","error");z(2);F("ngIf",a.isAnonymous)("ngIfElse",b);z(4);F("ngIf",!a.isAnonymous)}},R_a=function(a){a&1&&(G(0,"a",1),R(1," Hiring!\n"),H())},S_a=function(a,b){a&1&&(G(0,
"tr")(1,"td",5),R(2),H(),G(3,"td"),R(4,":"),H(),G(5,"td",6),R(6),H()());a&2&&(a=b.$implicit,z(2),Ef(a.displayAs),z(4),Ef(a.description))},T_a=function(a,b){a&1&&(G(0,"thead")(1,"tr"),I(2,"th",3),G(3,"th",4),R(4),H()(),Q(5,S_a,7,2,"tr",1),H());a&2&&(a=b.$implicit,z(4),Ef(a.title),z(1),F("ngForOf",a.hotkeys))},W_a=function(a,b){var c=new U_a;V_a(c,a,b);return c},V_a=function(a,b,c){var d=oa(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=xl[d.status])?0:h.open)||b.isArchived}a.priority=d.priority.substr(1);a.severity=d.severity.substr(1);a.reporter=ai(d.reporterUser);a.assignee=ai(d.assigneeUser);a.assigneeEmail=ei(d.assigneeUser);
a.verifier=ai(d.verifierUser);a.verifierEmail=ei(d.verifierUser);a.cc=bi(d.ccUsers);a.collaborator=bi(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=ai(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.sloStartTime=d.sloStartTime;a.sloEndTime=d.sloEndTime;a.isRead=!!a.lastViewedTime&&a.lastViewedTime>=a.majorModifiedTime;d.effort&&(a.effort=d.effort)},X_a=function(a){a&1&&I(0,"bug-screensaver")},Y_a=function(a,b){a&1&&(G(0,"div")(1,"span",3),R(2,"|"),H(),G(3,"a",6),R(4,"Code of Conduct"),H()());a&2&&(a=b.ngIf,z(3),F("href",a,Md))},Z_a=function(a){a&1&&(G(0,"footer"),I(1,"img",1),S(2,"async"),G(3,"span",2),R(4),S(5,"async"),H(),R(6," Powered by Google "),G(7,"span",3),R(8,"|"),H(),G(9,"a",4),R(10,
"Privacy"),H(),G(11,"span",3),R(12,"|"),H(),G(13,"a",5),R(14,"Terms"),H(),Q(15,Y_a,5,1,"div",0),S(16,"async"),H());a&2&&(a=O(),z(1),F("src",T(2,3,a.trackerLogo$),Md),z(3),Df("",T(5,5,a.trackerName$)," Issue Tracker"),z(11),F("ngIf",T(16,7,a.trackerCoc$)))},$_a=function(a){var b;return null!=(b=ji(a))?b:null},a0a=function(a){var b;return null!=(b=ki(a))?b:null},b0a=function(a,b){if(a&1){var c=v();J(0);G(1,"b-fab-segmented",1);M("clickMain",function(g){w(c);var h=O(3);return y(h.trackClick(g))})("clickSegment",
function(g){w(c);var h=O(3);return y(h.trackClick(g))});H();L()}if(a&2){a=b.ngIf;b=O().ngIf;var d=O().ngIf,e=O();z(1);F("label",b)("icon",a)("href",e.createIssuePath)("segments",d)}},c0a=function(a){a&1&&(J(0),Q(1,b0a,2,4,"ng-container",0),S(2,"async"),L());a&2&&(a=O(2),z(1),F("ngIf",T(2,1,a.buttonIcon$)))},d0a=function(a){a&1&&(J(0),Q(1,c0a,3,3,"ng-container",0),S(2,"async"),L());a&2&&(a=O(),z(1),F("ngIf",T(2,1,a.buttonLabel$)))},e0a=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},f0a=function(a){return a.map(e0a)},g0a=function(a){var b={name:a.getName(),description:a.getDescription()};1===Ci(a,hp)?b.hotlistId=Number(a.getHotlistId()):4===Ci(a,hp)&&(b.savedSearchId=Number(yi(a,no(a,hp,4))));return b},h0a=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(g0a),adminUsers:fi(a.getAdminUsersList())}},i0a=function(a){var b=new ip;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&&$n(b,4,hp,String(a.savedSearchId));return b},j0a=function(a){var b;return(null!=(b=a.getBookmarkGroupsList())?b:[]).map(h0a)},k0a=function(a){a&1&&vf(0)},l0a=function(a){a&1&&vf(0)},m0a=function(a){a&1&&(J(0),Q(1,l0a,1,0,"ng-container",1),L());a&2&&(a=O(),z(1),
F("ngTemplateOutlet",a.content))},n0a=function(a){a&1&&R(0," Archived ")},o0a=function(a){a&1&&(G(0,"button",16),M("click",function(c){return c.stopPropagation()}),I(1,"mat-icon",17),H());if(a&2){O();var b=Cf(5);F("matMenuTriggerFor",b)}},p0a=function(a){if(a&1){var b=v();G(0,"button",18);M("click",function(){w(b);var c=O(3).$implicit;return y(c.unstar())});R(1," Unstar ");H()}},q0a=function(a){if(a&1){var b=v();G(0,"button",18);M("click",function(){w(b);var c=O(3).$implicit;return y(c.unarchive())});
R(1," Unarchive ");H()}},r0a=function(a){if(a&1){var b=v();G(0,"button",18);M("click",function(){w(b);var c=O(2).$implicit,d=O(3);return y(d.handleBookmarkGroupOpen(c.id))});R(1," Open ");H();G(2,"button",18);M("click",function(){w(b);var c=O(2).$implicit,d=O(3);return y(d.handleBookmarkGroupDashboard(c.id))});R(3," Dashboard ");H();G(4,"button",18);M("click",function(){w(b);var c=O(2).$implicit,d=O(3);return y(d.openEditBookmarkGroup(c.id))});R(5," Settings ");H();Q(6,p0a,2,0,"button",19);Q(7,q0a,
2,0,"button",19)}a&2&&(a=O(2).$implicit,z(6),F("ngIf",a.isUnstarable()),z(1),F("ngIf",a.isEditable()))},s0a=function(a){a&1&&(G(0,"div",11)(1,"span",12),R(2),H(),Q(3,o0a,2,1,"button",13),G(4,"mat-menu",null,14),Q(6,r0a,8,2,"ng-template",15),H()());a&2&&(a=O().$implicit,jf("id","bv2-user-archived-bookmarkgroup-item-",a.id,""),z(2),Ef(a.name),z(1),F("ngIf",a))},t0a=function(a,b){if(a&1){var c=v();G(0,"li",22)(1,"a",23);M("click",function(d){var e=w(c).$implicit,g=O(5);return y(g.onAnchorClick(e.href,
d))});G(2,"span",12);R(3);H()()()}a&2&&(a=b.$implicit,b=O(2).$implicit,qf("selected-indented",a.isSelected())("bv2-bookmark-group-hotlist-item","HOTLIST"==a.type)("bv2-bookmark-group-saved-search-item","SAVED_SEARCH"==a.type),eka("id","bv2-user-hotlists-bg-",b.id,"-",a.type,"-",a.id,""),F("title",a.name),z(1),F("href",a.href,Md),z(2),Df(" ",a.name," "))},u0a=function(a){a&1&&(G(0,"ul",20),Q(1,t0a,4,12,"li",21),H());a&2&&(a=O().$implicit,z(1),F("ngForOf",a.items))},v0a=function(a,b){a&1&&(G(0,"li",
7)(1,"sidebar-zippy",8),Q(2,s0a,7,3,"ng-template",null,9,Zf),Q(4,u0a,2,1,"ng-template",null,10,Zf),H()());if(a&2){a=b.$implicit;var c=Cf(3),d=Cf(5);F("title",a.name);z(1);F("header",c)("content",d)}},w0a=function(a){a&1&&(G(0,"button",28),I(1,"mat-icon",17),H());if(a&2){O();var b=Cf(6);F("matMenuTriggerFor",b)}},x0a=function(a){if(a&1){var b=v();G(0,"button",18);M("click",function(){w(b);var c=O(2).$implicit;return y(c.unstar())});R(1," Unstar ");H()}},y0a=function(a){if(a&1){var b=v();G(0,"button",
18);M("click",function(){w(b);var c=O(2).$implicit;return y(c.unarchive())});R(1," Unarchive ");H()}},z0a=function(a){if(a&1){var b=v();G(0,"button",18);M("click",function(){w(b);var c=O().$implicit,d=O(3);return y(d.openEditHotlist(c.id))});R(1," Settings ");H();Q(2,x0a,2,0,"button",19);Q(3,y0a,2,0,"button",19)}a&2&&(a=O().$implicit,z(2),F("ngIf",a.isUnstarable()),z(1),F("ngIf",a.isEditable()))},A0a=function(a,b){if(a&1){var c=v();G(0,"li",24)(1,"a",25);M("click",function(d){var e=w(c).$implicit,
g=O(3);return y(g.onAnchorClick(e.href,d))});G(2,"span",12);R(3);H()();Q(4,w0a,2,1,"button",26);G(5,"mat-menu",null,27);Q(7,z0a,4,2,"ng-template",15);H()()}a&2&&(a=b.$implicit,qf("selected",a.isSelected()),zf("id","bv2-user-hotlists-archived-hotlist-item-",a.id,""),F("title",a.name),z(1),F("href",a.href,Md),z(2),Ef(a.name),z(1),F("ngIf",a))},B0a=function(a){a&1&&(G(0,"ul",4),Q(1,v0a,6,3,"li",5),Q(2,A0a,8,7,"li",6),H());a&2&&(a=O(2),z(1),F("ngForOf",a.bookmarkGroups),z(1),F("ngForOf",a.hotlists))},
C0a=function(a){a&1&&(G(0,"div"),I(1,"hr"),G(2,"sidebar-zippy",1),Q(3,n0a,1,0,"ng-template",null,2,Zf),Q(5,B0a,3,2,"ng-template",null,3,Zf),H()());if(a&2){var b=Cf(4),c=Cf(6);z(2);F("header",b)("content",c)}},D0a=function(a){a&1&&I(0,"b-spinner")},E0a=function(a){if(a&1){var b=v();G(0,"b-star-toggle",15);M("starClicked",function(){w(b);var c=O().$implicit,d=O();return y(d.toggleStar(c))});H()}a&2&&(a=O().$implicit,F("starMessage","Star this item")("unStarMessage","Un-star this item")("starred",a.isStarred))},
F0a=function(a){a&1&&I(0,"b-hotlist-card",16);a&2&&(a=O().$implicit,F("hotlist",a))},G0a=function(a){a&1&&I(0,"b-bookmark-group-card",17);a&2&&(a=O().$implicit,F("bookmarkGroup",a))},H0a=function(a,b){a&1&&(G(0,"mat-option",8)(1,"div",9),Q(2,E0a,1,3,"b-star-toggle",10),G(3,"onedev-hovercard",null,11),Q(5,F0a,1,1,"b-hotlist-card",12),Q(6,G0a,1,1,"b-bookmark-group-card",13),H(),G(7,"span",14),R(8),H()()());if(a&2){a=b.$implicit;var c=Cf(4);b=O();F("value",a);z(1);qf("bv2-bookmark-group",b.showHotlists&&
a.isGroup);z(1);F("ngIf",b.shouldShowStar(a));z(3);F("ngIf",!a.isGroup);z(1);F("ngIf",!!a.isGroup);z(1);F("onedevHovercardTrigger",c);z(1);Ef(a.name)}},I0a=function(){return Pia(function(){return(0,E.from)(Promise.resolve(void 0))})},J0a=function(a){a&1&&I(0,"a",1)},K0a=function(a){if(a&1){var b=v();G(0,"xap-dialog-layout")(1,"xap-dialog-layout-content")(2,"b-hotlist-search",3);M("itemSelect",function(c){w(b);var d=O();d.itemSelect.emit(c);d.dialog.disabled=!0;d.dialog.disabled=!1;return y()});H()()()}a&
2&&(a=O(),z(2),F("showGroups",a.showGroups)("showHotlists",a.showHotlists)("allowStarring",a.allowStarring)("focusOnInit",!0))},L0a=function(a){if(a&1){var b=v();G(0,"span");R(1,"Bookmark groups");H();G(2,"b-hotlist-search-popup",4);M("itemSelect",function(c){w(b);var d=O();c.isGroup&&d.handleBookmarkGroupOpen(c.bookmarkGroupId);return y()})("click",function(c){return c.stopPropagation()});H()}a&2&&(z(2),F("showHotlists",!1))},M0a=function(a){a&1&&(G(0,"button",17),M("click",function(c){return c.stopPropagation()}),
I(1,"mat-icon",18),H());if(a&2){O();var b=Cf(5);F("matMenuTriggerFor",b)}},N0a=function(a){if(a&1){var b=v();G(0,"button",19);M("click",function(){w(b);var c=O(3).$implicit;return y(c.unstar())});R(1," Unstar ");H()}},O0a=function(a){if(a&1){var b=v();G(0,"button",19);M("click",function(){w(b);var c=O(3).$implicit;return y(c.archive())});R(1," Archive ");H()}},P0a=function(a){if(a&1){var b=v();G(0,"button",19);M("click",function(){w(b);var c=O(3).$implicit;return y(c.setAsPreferredHomepage())});R(1,
" Set as homepage ");H()}},Q0a=function(a){if(a&1){var b=v();G(0,"button",19);M("click",function(){w(b);var c=O(2).$implicit,d=O(3);return y(d.handleBookmarkGroupOpen(c.id))});R(1," Open ");H();G(2,"button",19);M("click",function(){w(b);var c=O(2).$implicit,d=O(3);return y(d.handleBookmarkGroupDashboard(c.id))});R(3," Dashboard ");H();G(4,"button",19);M("click",function(){w(b);var c=O(2).$implicit,d=O(3);return y(d.editBookmarkGroup(c.id))});R(5," Settings ");H();Q(6,N0a,2,0,"button",20);Q(7,O0a,
2,0,"button",20);Q(8,P0a,2,0,"button",20)}a&2&&(a=O(2).$implicit,z(6),F("ngIf",a.isUnstarable()),z(1),F("ngIf",a.isEditable()),z(1),F("ngIf",!a.isPreferredHomepage()))},R0a=function(a){a&1&&(G(0,"div",12)(1,"span",13),R(2),H(),Q(3,M0a,2,1,"button",14),G(4,"mat-menu",null,15),Q(6,Q0a,9,3,"ng-template",16),H()());a&2&&(a=O().$implicit,jf("id","bv2-user-bookmarkgroup-item-",a.id,""),z(2),Ef(a.name),z(1),F("ngIf",a))},S0a=function(a){a&1&&(G(0,"button",27),I(1,"mat-icon",18),H());if(a&2){O();var b=Cf(6);
F("matMenuTriggerFor",b)}},T0a=function(a){if(a&1){var b=v();G(0,"button",19);M("click",function(){w(b);var c=O(2).$implicit;return y(c.unstar())});R(1," Unstar ");H()}},U0a=function(a){if(a&1){var b=v();G(0,"button",19);M("click",function(){w(b);var c=O(2).$implicit;return y(c.setAsPreferredHomepage())});R(1," Set as homepage ");H()}},V0a=function(a){if(a&1){var b=v();G(0,"button",19);M("click",function(){w(b);var c=O().$implicit,d=O(5);"HOTLIST"===c.type?d.location.url(d.paths.editHotlist(c.id)):
d.location.url(d.paths.editSavedSearch(c.id));return y()});R(1," Settings ");H();Q(2,T0a,2,0,"button",20);Q(3,U0a,2,0,"button",20)}a&2&&(a=O().$implicit,z(2),F("ngIf",a.isUnstarable()),z(1),F("ngIf",!a.isPreferredHomepage()))},W0a=function(a,b){if(a&1){var c=v();G(0,"li",23)(1,"a",24);M("click",function(d){var e=w(c).$implicit,g=O(5);return y(g.onAnchorClick(e.href,d))});G(2,"span",13);R(3);H()();Q(4,S0a,2,1,"button",25);G(5,"mat-menu",null,26);Q(7,V0a,4,2,"ng-template",16);H()()}a&2&&(a=b.$implicit,
b=O(2).$implicit,qf("selected-indented",a.isSelected())("bv2-bookmark-group-hotlist-item","HOTLIST"==a.type)("bv2-bookmark-group-saved-search-item","SAVED_SEARCH"==a.type),eka("id","bv2-user-hotlists-bg-",b.id,"-",a.type,"-",a.id,""),F("title",a.name),z(1),F("href",a.href,Md),z(2),Df(" ",a.name," "),z(1),F("ngIf",b))},X0a=function(a){a&1&&(G(0,"ul",21),Q(1,W0a,8,13,"li",22),H());a&2&&(a=O().$implicit,z(1),F("ngForOf",a.items))},Y0a=function(a,b){a&1&&(G(0,"li",8)(1,"sidebar-zippy",9),Q(2,R0a,7,3,
"ng-template",null,10,Zf),Q(4,X0a,2,1,"ng-template",null,11,Zf),H()());if(a&2){a=b.$implicit;var c=Cf(3),d=Cf(5);F("title",a.name);z(1);F("header",c)("content",d)("expanded",!1)}},Z0a=function(a){a&1&&(G(0,"ul",6),Q(1,Y0a,6,4,"li",7),H());a&2&&(a=O(2),z(1),F("ngForOf",a.bookmarkGroups))},$0a=function(a){a&1&&Q(0,Z0a,2,1,"ul",5);a&2&&(a=O(),F("ngIf",a.bookmarkGroups))},a1a=function(a){if(a&1){var b=v();G(0,"span");R(1,"Hotlists");H();G(2,"b-hotlist-search-popup",4);M("itemSelect",function(c){w(b);
var d=O();d.analytics.trackEvent("hotlistSearch","goToHotlist");d.location.url(c.href);return y()})("click",function(c){return c.stopPropagation()});H()}a&2&&(z(2),F("showGroups",!1))},b1a=function(a){a&1&&(G(0,"button",14),I(1,"mat-icon",15),H());if(a&2){O();var b=Cf(6);F("matMenuTriggerFor",b)}},c1a=function(a){if(a&1){var b=v();G(0,"button",16);M("click",function(){w(b);var c=O(2).$implicit;return y(c.unstar())});R(1," Unstar ");H()}},d1a=function(a){if(a&1){var b=v();G(0,"button",16);M("click",
function(){w(b);var c=O(2).$implicit;return y(c.setAsPreferredHomepage())});R(1," Set as homepage ");H()}},e1a=function(a){if(a&1){var b=v();G(0,"button",16);M("click",function(){w(b);var c=O().$implicit,d=O(3);return y(d.openEditHotlist(c.id))});R(1," Settings ");H();Q(2,c1a,2,0,"button",17);Q(3,d1a,2,0,"button",17)}a&2&&(a=O().$implicit,z(2),F("ngIf",a.isUnstarable()),z(1),F("ngIf",!a.isPreferredHomepage()))},f1a=function(a,b){if(a&1){var c=v();G(0,"li",8)(1,"a",9);M("click",function(d){var e=w(c).$implicit,
g=O(3);return y(g.onAnchorClick(e.href,d))});G(2,"span",10);R(3);H()();Q(4,b1a,2,1,"button",11);G(5,"mat-menu",null,12);Q(7,e1a,4,2,"ng-template",13);H()()}a&2&&(a=b.$implicit,qf("selected",a.isSelected()),zf("id","bv2-user-hotlists-hotlist-item-",a.id,""),F("title",a.name),z(1),F("href",a.href,Md),z(2),Ef(a.name),z(1),F("ngIf",a))},g1a=function(a){a&1&&(G(0,"ul",6),Q(1,f1a,8,7,"li",7),H());a&2&&(a=O(2),z(1),F("ngForOf",a.hotlists))},h1a=function(a){a&1&&Q(0,g1a,2,1,"ul",5);a&2&&(a=O(),F("ngIf",a.hotlists))},
i1a=function(a){a&1&&(G(0,"span"),R(1,"Saved searches"),H())},j1a=function(a){if(a&1){var b=v();G(0,"button",14);M("click",function(){w(b);var c=O(2).$implicit;return y(c.setAsPreferredHomepage())});R(1," Set as homepage ");H()}},l1a=function(a){if(a&1){var b=v();G(0,"button",14);M("click",function(){w(b);var c=O().$implicit,d=O(3);return y(d.openEditSavedSearch(c.id))});R(1," Settings ");H();Q(2,j1a,2,0,"button",15);G(3,"button",14);M("click",function(){w(b);var c=O().$implicit,d=O(3);return y(k1a(d,
c))});R(4," Delete ");H()}a&2&&(a=O().$implicit,z(2),F("ngIf",!a.isPreferredHomepage()))},m1a=function(a,b){if(a&1){var c=v();G(0,"li",7)(1,"a",8);M("click",function(e){var g=w(c).$implicit,h=O(3);return y(h.onAnchorClick(g.href,e))});G(2,"span",9);R(3);H()();G(4,"button",10);I(5,"mat-icon",11);H();G(6,"mat-menu",null,12);Q(8,l1a,5,1,"ng-template",13);H()()}if(a&2){a=b.$implicit;var d=Cf(7);qf("selected",a.isSelected());jf("id","bv2-saved-searches-search-item-",a.id,"");F("title",a.name);z(1);F("href",
a.href,Md);z(2);Ef(a.name);z(1);F("matMenuTriggerFor",d)}},n1a=function(a){a&1&&(G(0,"ul",5),Q(1,m1a,9,7,"li",6),H());a&2&&(a=O(2),z(1),F("ngForOf",a.searches))},o1a=function(a){a&1&&Q(0,n1a,2,1,"ul",4);a&2&&(a=O(),F("ngIf",a.searches))},r1a=function(a){var b=a.match(/\(.*\)/);if(a.match(/'.*'/)||a.match(/".*"/)||b)return{complexSyntax:!0};a=a.split(/\s+/).filter(Boolean);b=a.filter(p1a).length;var c=a.filter(function(d){return!p1a(d)}).filter(q1a).length;return{filters:b,text:a.length-b-c,resourceIds:c}},
q1a=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)},p1a=function(a){return!!a.match(/\w:\w/g)},s1a=function(a,b){return(null!=a?a:0)+(null!=b?b:0)},u1a=function(a){if(a&1){var b=v();G(0,"button",27);M("click",function(){w(b);var c=O(2);return y(t1a(c,c.EXPERIMENTAL_HOMEPAGE))});R(1," Set as homepage ");H();G(2,"span",28);R(3," Experimental. ");G(4,"a",29);R(5,"Learn more");H();R(6,". ");H()}},
v1a=function(a){if(a&1){var b=v();J(0);G(1,"li",22)(2,"a",7);M("click",function(d){w(b);var e=O();e.onAnchorClick(e.experimentalHomepagePath,d);e.appSearchState.clear();return y()});I(3,"mat-icon",23);R(4," Home ");H();G(5,"button",24);I(6,"mat-icon",25);H();G(7,"mat-menu",null,26);Q(9,u1a,7,0,"ng-template",10);H()();L()}if(a&2){var c=Cf(8);a=O();z(1);qf("selected",!!a.location.path().match(/^\/dash\b/));z(1);F("href",a.experimentalHomepagePath,Md);z(3);F("matMenuTriggerFor",c)}},w1a=function(a,b){a&
1&&I(0,"mat-icon",34);a&2&&(a=b.$implicit,F("matBadge",99<a?"99+":a)("matBadgeHidden",0===a)("matBadgeDescription","Badge indicating "+a+" issues need attention"))},x1a=function(a){a&1&&I(0,"mat-icon",35)},y1a=function(a){a&1&&(J(0),G(1,"button",36),I(2,"mat-icon",25),H(),L());if(a&2){O();var b=Cf(10);z(1);F("matMenuTriggerFor",b)}},z1a=function(a){if(a&1){var b=v();G(0,"button",27);M("click",function(){w(b);var c=O(2);t1a(c,"NEEDS_ATTENTION");return y()});R(1," Set as homepage ");H()}},A1a=function(a){if(a&
1){var b=v();G(0,"li",30)(1,"a",7);M("click",function(d){w(b);var e=O();return y(e.onAnchorClick(e.needsAttentionPath,d))});Q(2,w1a,1,3,"mat-icon",31);S(3,"async");Q(4,x1a,1,0,"ng-template",null,32,Zf);R(6," Needs attention ");H();Q(7,y1a,3,1,"ng-container",4);S(8,"async");G(9,"mat-menu",null,33);Q(11,z1a,2,0,"ng-template",10);H()()}if(a&2){var c=Cf(5);a=O();qf("selected",!!a.location.path().match(/^\/attention\b/));z(1);F("href",a.needsAttentionPath,Md);z(1);F("ngIf",T(3,6,a.needsAttentionIssueCount$))("ngIfElse",
c);z(5);F("ngIf",!T(8,8,a.isHomepageNeedsAttention$))}},B1a=function(a){a&1&&(J(0),G(1,"button",37),I(2,"mat-icon",25),H(),L());if(a&2){O();var b=Cf(14);z(1);F("matMenuTriggerFor",b)}},D1a=function(a){if(a&1){var b=v();G(0,"button",27);M("click",function(){w(b);var c=O();return y(C1a(c))});R(1," Set as homepage ");H()}},F1a=function(a){if(a&1){var b=v();G(0,"li")(1,"a",7);M("click",function(c){w(b);var d=O();return y(d.onAnchorClick(d.votedPath,c))});I(2,"mat-icon",38);R(3," Upvoted by me ");H()()}a&
2&&(a=O(),qf("selected",E1a(a.appSearchState)),z(1),F("href",a.votedPath,Md))},G1a=function(a,b){if(a&1){var c=v();G(0,"li")(1,"a",7);M("click",function(d){var e=w(c).$implicit,g=O();return y(g.onAnchorClick(e,d))});I(2,"mat-icon",39);R(3," Recently Viewed ");H()()}a&2&&(a=b.$implicit,b=O(),qf("selected",!!b.location.path().match(/^\/recent\b/)),z(1),F("href",a,Md))},H1a=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},I1a=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)},K1a=function(a,b,c){b=void 0===b?"#ccc":b;c=void 0===c?400:c;J1a++;var d=156;d+=12*(J1a-1);return function(e){e=void 0===e?b:e;var g,h=null!=(g=document.getElementById(a))?
g:H1a(a,d);I1a(h,e,c)}},L1a=function(a){a=void 0===a?!1:a;var b=Zya(),c=b.total,d=b.redundancyRatio;Om("after-60s","xhr","redundant",b.redundant);Om("after-60s","xhr","total",c);Om("after-60s","xhr","redundancyRatio",d);a&&(console.table(Xya()),console.log(b))},N1a=function(a){if(a&1){var b=v();G(0,"a",8);M("keydown.enter",function(){w(b);var c=O(2);return y(M1a(c))})("keydown.space",function(){w(b);var c=O(2);return y(M1a(c))})("click",function(){w(b);var c=O(2);return y(M1a(c))});R(1," Dismiss");
H()}},O1a=function(a){a&1&&(G(0,"div",4)(1,"div",5),I(2,"span",6),Q(3,N1a,2,0,"a",7),H()());a&2&&(a=O(),z(2),F("innerHtml",a.announcement.message,Ld),z(1),F("ngIf",a.announcement.dismissible))},Q1a=function(a){if(a&1){var b=v();G(0,"b-resizable-sidebar",9);M("widthChanged",function(c){w(b);var d=O();c!==d.matSidebarWidth&&(d.matSidebarWidth=c,P1a(d,c));return y()});I(1,"b-sidebar");H()}a&2&&(a=O(),F("size",a.matSidebarWidth)("disableToggleBtn",!0))},R1a=function(a){switch(a){case "COMFORTABLE":return"d-comfort";
case "COZY":return"d-cozy";case "COMPACT":return"d-compact";default:return"d-comfort"}},T1a=function(a){if(a&1){var b=v();G(0,"button",10);M("click",function(){w(b);var c=O(2),d=new Jh;c.date=d;c.dateSelectionChange.emit(d);S1a(c,c.date);c.calendar._getCurrentViewComponent()._focusActiveCell(!1);c.dateChange.emit(c.date);return y(c.saveClicked.emit())});R(1,"Today");H()}},U1a=function(a){if(a&1){var b=v();G(0,"button",11);M("click",function(){w(b);var c=O(2);c.date=void 0;c.dateSelectionChange.emit(void 0);
c.dateChange.emit(c.date);return y(c.saveClicked.emit())});R(1,"None");H()}},V1a=function(a){a&1&&(G(0,"div",1),Q(1,T1a,2,0,"button",8),Q(2,U1a,2,0,"button",9),I(3,"mat-divider"),H());a&2&&(a=O(),z(1),F("ngIf",a.todayButtonEnabled),z(1),F("ngIf",a.noneButtonEnabled&&!a.required))},W1a=function(a){a&1&&I(0,"b-formatted-date-time",4);a&2&&(a=O(),F("date",a.value))},X1a=function(a){a&1&&(J(0),R(1,"---"),L())},Y1a=function(a,b){if(a&1){var c=v();G(0,"div",8)(1,"mat-checkbox",9);M("change",function(){var d=
w(c).$implicit,e=O();e.focusFilterBox();var g=e.valueMap.get(d);g?e.valueMap.set(d,!1):!1===g?(g=null===e.originalValueMap.get(d),e.valueMap.set(d,g?null:!0)):e.valueMap.set(d,!0);e.onSave.emit({valueMap:e.valueMap,valueChanged:e.valueChanged()});return y()})("click",function(d){return d.stopPropagation()});R(2);H()()}a&2&&(a=b.$implicit,b=O(),F("title",b.getDisplayString(a)),z(1),F("checked",!!b.valueMap.get(a))("indeterminate",null===b.valueMap.get(a)),z(1),Df(" ",b.getDisplayString(a)," "))},$1a=
function(a){if(a&1){var b=v();G(0,"input",10,11);M("keydown",function(c){w(b);var d=O();"Enter"===c.key&&(Z1a(d)&&d.addValue(),c.preventDefault());return y()})("click",function(c){return c.stopPropagation()})("ngModelChange",function(c){w(b);var d=O();return y(d.filterValue=c)});H()}a&2&&(a=O(),F("type","REPEATED_NUMERIC"===a.type?"number":"text")("ngModel",a.filterValue)("placeholder","REPEATED_ENUM"===a.type?"Filter values":"Add or filter values"))},a2a=function(a){a&1&&I(0,"mat-divider")},b2a=
function(a){if(a&1){var b=v();G(0,"div",12);M("click",function(c){w(b);var d=O();c.stopPropagation();return y(d.addValue())});R(1," Add ");H()}},c2a=function(a){if(a&1){var b=v();G(0,"div")(1,"b-date-time-input",13);M("valueChange",function(c){w(b);var d=O();return y(d.currentSelectedDate=c)});H();G(2,"div",14);M("click",function(c){w(b);var d=O();c.stopPropagation();if(c=d.currentSelectedDate)d.filterValue=c?c.getMonth()+1+"/"+c.getDate()+"/"+c.getFullYear():"",d.addValue(),d.currentSelectedDate=
void 0;return y()});R(3," Add ");H()()}a&2&&(a=O(),z(1),F("value",a.currentSelectedDate))},d2a=function(a){a&1&&vf(0)},f2a=function(a){if(a&1){var b=v();G(0,"div",3);M("click",function(){w(b);var d=O();return y(d.select(void 0))});Q(1,d2a,1,0,"ng-container",4);H()}if(a&2){a=O();var c=Cf(3);F("option",void 0);gf("aria-selected",a.isSelected(void 0));z(1);F("ngTemplateOutlet",c)("ngTemplateOutletContext",If(4,e2a))}},g2a=function(a){a&1&&vf(0)},i2a=function(a){if(a&1){var b=v();G(0,"div",3);M("click",
function(){w(b);var e=O().$implicit,g=O();return y(g.select(e))});Q(1,g2a,1,0,"ng-container",4);H()}if(a&2){a=O().$implicit;var c=O(),d=Cf(3);F("option",a);gf("aria-selected",c.isSelected(a));z(1);F("ngTemplateOutlet",d)("ngTemplateOutletContext",Jf(4,h2a,a))}},j2a=function(a,b){a&1&&(J(0),Q(1,i2a,2,6,"div",0),L());a&2&&(a=b.$implicit,z(1),F("ngIf",a))},k2a=function(a){a&1&&(J(0),R(1),L());a&2&&(a=O(2).$implicit,z(1),Df(" ",a," "))},l2a=function(a){a&1&&(G(0,"span",8),R(1,"--"),H())},m2a=function(a){a&
1&&(J(0),Q(1,k2a,2,1,"ng-container",5),Q(2,l2a,2,0,"ng-template",null,7,Zf),L());if(a&2){var b=Cf(3);a=O().$implicit;z(1);F("ngIf",null!=a)("ngIfElse",b)}},n2a=function(a){a&1&&vf(0)},o2a=function(a){a&1&&Q(0,n2a,1,0,"ng-container",4);if(a&2){a=O().$implicit;var b=O();F("ngTemplateOutlet",b.optionTemplate)("ngTemplateOutletContext",Jf(2,h2a,a))}},p2a=function(a){a&1&&(Q(0,m2a,4,2,"ng-container",5),Q(1,o2a,1,4,"ng-template",null,6,Zf));if(a&2){var b=Cf(2);a=O();F("ngIf",!a.optionTemplate)("ngIfElse",
b)}},q2a=function(a){a&1&&vf(0)},s2a=function(a){a&1&&(J(0),Q(1,q2a,1,0,"ng-container",10),L());a&2&&(a=O(),z(1),F("ngTemplateOutlet",a.valueTemplate)("ngTemplateOutletContext",Jf(2,r2a,a.value)))},t2a=function(a){a&1&&vf(0)},u2a=function(a){a&1&&(J(0),Q(1,t2a,1,0,"ng-container",10),L());a&2&&(a=O(2),z(1),F("ngTemplateOutlet",a.optionTemplate)("ngTemplateOutletContext",Jf(2,r2a,a.value)))},v2a=function(a){a&1&&Q(0,u2a,2,4,"ng-container",3);if(a&2){a=O();var b=Cf(8);F("ngIf",a.optionTemplate)("ngIfElse",
b)}},w2a=function(a){a&1&&(J(0),R(1),L());a&2&&(a=O(2),z(1),Df(" ",a.value," "))},x2a=function(a){a&1&&(G(0,"span",12),R(1,"--"),H())},y2a=function(a){a&1&&(Q(0,w2a,2,1,"ng-container",3),Q(1,x2a,2,0,"ng-template",null,11,Zf));if(a&2){var b=Cf(2);a=O();F("ngIf",null!=a.value)("ngIfElse",b)}},z2a=function(a){a&1&&(jd(),G(0,"svg",13),I(1,"path",14),H())},A2a=function(a){a&1&&(G(0,"div"),R(1," The selected issues have no custom fields in common. "),H())},B2a=function(a){a&1&&(G(0,"span"),R(1,"*"),H())},
C2a=function(a){if(a&1){var b=v();G(0,"input",16);M("ngModelChange",function(c){w(b);var d=O(2).$implicit;return y(d.textValue=c)});H()}a&2&&(a=O(2).$implicit,O(),F("ngModel",a.textValue),gf("aria-labelledby",jp(a)))},D2a=function(a){if(a&1){var b=v();G(0,"input",17);M("ngModelChange",function(c){w(b);var d=O(2).$implicit;return y(d.numericValue=c)});H()}a&2&&(a=O(2).$implicit,O(),F("ngModel",a.numericValue),gf("aria-labelledby",jp(a)))},F2a=function(a){if(a&1){var b=v();G(0,"div")(1,"b-date-time-input",
18);M("valueChange",function(e){w(b);var g=O(2).$implicit;O();return y(g.dateValue=e?Lh(e):void 0)});H()()}if(a&2){a=O(2).$implicit;var c=O(),d;z(1);F("value",null!==(d=E2a(a.dateValue))&&void 0!==d?d:void 0)("required",c.isCustomFieldRequired(a))("customAriaLabelledBy",jp(a))("customFormId","bv2-custom-field-"+a.customFieldId)}},H2a=function(a){if(a&1){var b=v();G(0,"onedev-single-select",19);M("valueChange",function(d){w(b);var e=O(2).$implicit;return y(e.enumValue=d)});H()}if(a&2){a=O(2).$implicit;
O();var c;F("value",a.enumValue)("options",null!==(c=a.allowedValue)&&void 0!==c?c:If(3,G2a));gf("aria-labelledby",jp(a))}},J2a=function(a){if(a&1){var b=v();G(0,"b-bulk-repeated-field-picker",20);M("onSave",function(e){w(b);var g=O(2).$implicit,h=O();return y(I2a(h,g.customFieldId,e))});H()}if(a&2){a=O(2).$implicit;var c=O(),d;F("type",c.getCustomFieldType(a))("originalValueMap",c.repeatedCustomFieldsMap.get(a.customFieldId))("enumChoices",null!==(d=a.allowedValue)&&void 0!==d?d:If(3,G2a))}},K2a=
function(a){a&1&&(J(0,10),Q(1,C2a,1,2,"input",11),Q(2,D2a,1,2,"input",12),Q(3,F2a,2,4,"div",13),Q(4,H2a,1,4,"onedev-single-select",14),Q(5,J2a,1,4,"b-bulk-repeated-field-picker",15),L());if(a&2){a=O().$implicit;var b=O();F("ngSwitch",b.getCustomFieldType(a));z(1);F("ngSwitchCase","TEXT");z(1);F("ngSwitchCase","NUMERIC");z(1);F("ngSwitchCase","DATE");z(1);F("ngSwitchCase","ENUM")}},L2a=function(a){if(a&1){var b=v();G(0,"span");R(1," Multiple values ");H();G(2,"a",21);M("click",function(){w(b);var c=
O().$implicit,d=O();return y(d.clearCustomFieldValue(c))});R(3,"X");H()}},M2a=function(a,b){a&1&&(G(0,"div",5)(1,"div",6)(2,"label",7),R(3),Q(4,B2a,2,0,"span",1),H()(),Q(5,K2a,6,5,"ng-template",8),Q(6,L2a,4,0,"ng-template",null,9,Zf),H());if(a&2){a=b.$implicit;var c=Cf(7);O();z(2);F("matTooltip",(a.description||"")+" [ID: "+a.customFieldId+"]");gf("id",jp(a));z(1);Df(" ",a.name," ");z(1);F("ngIf",a.required);z(1);F("ngIf",!a.hasMultipleValues)("ngIfElse",c)}},N2a=function(a){return new Set(a.map(function(b){return Qh(b)}))},
kp=function(a,b,c){return a.has(b)?c:""},O2a=function(a,b,c){return a.has(b)?c:[]},lp=function(a,b,c){return{fieldName:a,diffType:"SINGLE_VALUE",diff:{oldValue:b,newValue:c}}},R2a=function(a){if(!a)return"";var b=P2a.get(a.retentionSelection),c=a.retentionPeriodDays,d="Issue Retention: "+b;b=d;c&&(b=d+(", Days: "+c));d=Q2a.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},T2a=function(a){if(!a)return"";var b=a.inherit,c=S2a.get(a.source),d=a.comment;a="Inherit: "+b+", Source: "+c+", ID: "+a.id;return d?a+(", Justification: "+d):a},U2a=function(a){return a?"Inherit: "+a.inherit+", ID: "+a.id:""},V2a=function(a){a&1&&(G(0,"li")(1,"a",4),R(2," Create an issue in this component"),H()());a&2&&(a=O(2),z(1),F("href",a.createIssueUrl,Md))},W2a=function(a,b){a&1&&(J(0),G(1,"h3"),R(2),H(),G(3,"p"),R(4),H(),I(5,"b-access-level-indicator",3),G(6,"p"),R(7),H(),G(8,
"ul")(9,"li")(10,"a",4),R(11," View recent open issues"),H()(),Q(12,V2a,3,1,"li",2),G(13,"li")(14,"a",4),R(15," View component"),H()()(),L());a&2&&(a=b.ngIf,b=O(),z(2),Ef(a.name),z(2),Df("ID: ",b.componentId,""),z(1),F("accessLevel",null==a.accessLimit?null:a.accessLimit.accessLevel)("labelOnlyMode",!0),z(2),Ef(a.description),z(3),F("href",b.recentIssuesUrl,Md),z(2),F("ngIf",!b.isAnonymous),z(2),F("href",b.viewComponentUrl,Md))},X2a=function(a,b){a&1&&(G(0,"mat-option",19),R(1),H());a&2&&(a=b.$implicit,
F("value",a),z(1),Df(" ",a," "))},Y2a=function(a){if(a&1){var b=v();G(0,"mat-form-field",16)(1,"mat-select",17);M("selectionChange",function(c){w(b);var d=O(2);return y(d._changePageSize(c.value))});Q(2,X2a,2,2,"mat-option",18);H()()}a&2&&(a=O(2),F("appearance",a._formFieldAppearance)("color",a.color),z(1),F("value",a.pageSize)("disabled",a.disabled)("panelClass",a.selectConfig.panelClass||"")("disableOptionCentering",a.selectConfig.disableOptionCentering)("aria-label",a._intl.itemsPerPageLabel),
z(1),F("ngForOf",a._displayedPageSizeOptions))},Z2a=function(a){a&1&&(G(0,"div",20),R(1),H());a&2&&(a=O(2),z(1),Ef(a.pageSize))},$2a=function(a){a&1&&(G(0,"div",12)(1,"div",13),R(2),H(),Q(3,Y2a,3,8,"mat-form-field",14),Q(4,Z2a,2,1,"div",15),H());a&2&&(a=O(),z(2),Df(" ",a._intl.itemsPerPageLabel," "),z(1),F("ngIf",1<a._displayedPageSizeOptions.length),z(1),F("ngIf",1>=a._displayedPageSizeOptions.length))},a3a=function(a){if(a&1){var b=v();G(0,"button",21);M("click",function(){w(b);var c=O();if(c.hasPreviousPage()){var d=
c.pageIndex;c.pageIndex=0;c._emitPageEvent(d)}return y()});jd();G(1,"svg",7);I(2,"path",22);H()()}a&2&&(a=O(),F("matTooltip",a._intl.firstPageLabel)("matTooltipDisabled",a._previousButtonsDisabled())("matTooltipPosition","above")("disabled",a._previousButtonsDisabled()),gf("aria-label",a._intl.firstPageLabel))},b3a=function(a){if(a&1){var b=v();jd();kd();G(0,"button",23);M("click",function(){w(b);var c=O();if(c.hasNextPage()){var d=c.pageIndex;c.pageIndex=(c.pageSize?Math.ceil(c.length/c.pageSize):
0)-1;c._emitPageEvent(d)}return y()});jd();G(1,"svg",7);I(2,"path",24);H()()}a&2&&(a=O(),F("matTooltip",a._intl.lastPageLabel)("matTooltipDisabled",a._nextButtonsDisabled())("matTooltipPosition","above")("disabled",a._nextButtonsDisabled()),gf("aria-label",a._intl.lastPageLabel))},c3a=function(a){if(a&1){var b=v();G(0,"mat-paginator",3);M("page",function(c){w(b);var d=O(),e=c.pageIndex*c.pageSize;d.childrenOnPage=d.children.slice(e,e+c.pageSize);return y()});H()}a&2&&(a=O(),F("length",a.children.length)("pageSize",
a.pageSize)("pageSizeOptions",a.pageSizeOptions))},d3a=function(a,b){if(a&1){var c=v();G(0,"li")(1,"a",4);M("click",function(){var e=w(c).$implicit,g=O();return y(g.onVisit.emit(e))});R(2);H();G(3,"onedev-hovercard",null,5);I(5,"b-component-card",6);H()()}if(a&2){a=b.$implicit;var d=Cf(4);b=O();z(1);F("onedevHovercardTrigger",d)("href",b.paths.manageComponent(a.componentId),Md);z(1);Df(" ",a.name," ");z(3);F("componentId",a.componentId.toString())}},e3a=function(a){if(a&1){var b=v();G(0,"button",
6);M("click",function(){w(b);var c=O();return y(c.onClickCopyIssueShortLinks.emit())});R(1);H()}a&2&&(a=O(),z(1),Df(" Copy '",a.shortLinkPrefix,"'' links "))},f3a=function(a,b){a&1&&(G(0,"span",5)(1,"a",6),R(2),H(),G(3,"onedev-hovercard",null,7),I(5,"b-component-card",8),H()());if(a&2){a=b.$implicit;var c=Cf(4);z(1);F("onedevHovercardTrigger",c)("routerLinkObj",a.route);z(1);Ef(a.name);z(3);F("componentId",a.id.toString())}},g3a=function(a){a&1&&(G(0,"span",9),R(1,"[Archived]"),H())},mp=function(a,
b){b=void 0===b?Zl: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}})},h3a=function(a){if(a&1){var b=v();G(0,"a",18);M("click",function(){w(b);var c=O().$implicit,d=O();return y(d.showChildren(c))});I(1,"mat-icon",19);H()}},i3a=function(a){if(a&1){var b=v();G(0,"a",20);M("click",function(){w(b);var c=O().$implicit;return y(c.showChildren=!1)});
I(1,"mat-icon",21);H()}},k3a=function(a){a&1&&(G(0,"a",22),R(1," (Recent Issues) "),H());if(a&2){a=O().$implicit;var b=O();F("href",b.paths.listIssues(Jf(1,j3a,"status:open componentid:"+a.componentId)),Md)}},l3a=function(a){a&1&&(G(0,"span"),R(1,"[Archived]"),H())},m3a=function(a){a&1&&(G(0,"a",23),R(1," Create issue "),H());if(a&2){a=O().$implicit;var b=O();F("href",b.paths.createIssue()+"?component="+a.componentId,Md)}},n3a=function(a){a&1&&(G(0,"div",28),R(1," No child components found. "),H())},
o3a=function(a){a&1&&(G(0,"div",29),I(1,"b-spinner"),H())},p3a=function(a){if(a&1){var b=v();G(0,"component-subtree-list",30);M("childClosed",function(d){w(b);var e=O(3);return y(e.onSubtreeChildClosed(d))});H()}if(a&2){a=O(2).$implicit;var c=O();F("components",a.children)("parentComponent",a)("rootController",c.rootController)("includeArchived",c.includeArchived)}},q3a=function(a){a&1&&(G(0,"div",24),Q(1,n3a,2,0,"div",25),Q(2,o3a,2,0,"div",26),Q(3,p3a,1,4,"component-subtree-list",27),H());a&2&&(a=
O().$implicit,z(1),F("ngIf",a.noChildren),z(1),F("ngIf",!(a.noChildren||a.children)),z(1),F("ngIf",a.children))},r3a=function(a,b){if(a&1){var c=v();G(0,"li",2);M("click",function(d){var e=w(c).$implicit,g=O();return y(g.setSelected(e.componentId,d))});G(1,"div",3);I(2,"div",4);G(3,"div",5);Q(4,h3a,2,0,"a",6);Q(5,i3a,2,0,"a",7);H();G(6,"div",8)(7,"div")(8,"a",9);R(9);H();Q(10,k3a,2,3,"a",10);Q(11,l3a,2,0,"span",11);I(12,"b-access-level-indicator",12)(13,"b-tracker-chip-smart",13);H();G(14,"div",14);
R(15);H()();G(16,"div",15);Q(17,m3a,2,1,"a",16);H()();Q(18,q3a,4,3,"div",17);H()}a&2&&(a=b.$implicit,b=O(),zf("id","component-",a.componentId,""),z(4),F("ngIf",!a.showChildren),z(1),F("ngIf",a.showChildren),z(3),F("href",b.paths.viewComponent(a.componentId),Md),z(1),Df(" ",a.name," "),z(1),F("ngIf",!a.archived),z(1),F("ngIf",a.archived),z(1),F("accessLevel",null==a.accessLimit?null:a.accessLimit.accessLevel),z(1),F("trackerId",a.trackerId),z(2),Ef(a.description),z(2),F("ngIf",!a.archived),z(1),F("ngIf",
a.showChildren))},s3a=function(a){if(a&1){var b=v();G(0,"a",18);M("click",function(){w(b);var c=O().$implicit,d=O();return y(d.showChildren(c))});I(1,"mat-icon",19);H()}},t3a=function(a){if(a&1){var b=v();G(0,"a",20);M("click",function(){w(b);var c=O().$implicit;return y(c.showChildren=!1)});I(1,"mat-icon",21);H()}},v3a=function(a){a&1&&(G(0,"a",22),R(1," (Recent Issues) "),H());if(a&2){a=O().$implicit;var b=O();F("href",b.paths.listIssues(Jf(1,u3a,"status:open componentid:"+a.componentId)),Md)}},
w3a=function(a){a&1&&(G(0,"span"),R(1,"[Archived]"),H())},x3a=function(a){a&1&&(G(0,"a",23),R(1," Create issue "),H());if(a&2){a=O().$implicit;var b=O();F("href",b.paths.createIssue()+"?component="+a.componentId,Md)}},y3a=function(a){a&1&&(G(0,"div",28),R(1," No child components found. "),H())},z3a=function(a){a&1&&(G(0,"div",29),I(1,"b-spinner"),H())},A3a=function(a){if(a&1){var b=v();G(0,"component-subtree-list",30);M("childClosed",function(d){w(b);var e=O(3);return y(e.onSubtreeChildClosed(d))});
H()}if(a&2){a=O(2).$implicit;var c=O();F("components",a.children)("parentComponent",a)("rootController",c.rootController)("includeArchived",c.includeArchived)}},B3a=function(a){a&1&&(G(0,"div",24),Q(1,y3a,2,0,"div",25),Q(2,z3a,2,0,"div",26),Q(3,A3a,1,4,"component-subtree-list",27),H());a&2&&(a=O().$implicit,z(1),F("ngIf",a.noChildren),z(1),F("ngIf",!(a.noChildren||a.children)),z(1),F("ngIf",a.children))},C3a=function(a,b){if(a&1){var c=v();G(0,"li",2);M("click",function(d){var e=w(c).$implicit,g=
O();return y(g.setSelected(e.componentId,d))});G(1,"div",3);I(2,"div",4);G(3,"div",5);Q(4,s3a,2,0,"a",6);Q(5,t3a,2,0,"a",7);H();G(6,"div",8)(7,"div")(8,"a",9);R(9);H();Q(10,v3a,2,3,"a",10);Q(11,w3a,2,0,"span",11);I(12,"b-access-level-indicator",12)(13,"b-tracker-chip-smart",13);H();G(14,"div",14);R(15);H()();G(16,"div",15);Q(17,x3a,2,1,"a",16);H()();Q(18,B3a,4,3,"div",17);H()}a&2&&(a=b.$implicit,b=O(),F("id","component-"+a.componentId),z(4),F("ngIf",!a.showChildren),z(1),F("ngIf",a.showChildren),
z(3),F("href",b.paths.viewComponent(a.componentId),Md),z(1),Df(" ",a.name," "),z(1),F("ngIf",!a.archived),z(1),F("ngIf",a.archived),z(1),F("accessLevel",null==a.accessLimit?null:a.accessLimit.accessLevel),z(1),F("trackerId",a.trackerId),z(2),Ef(a.description),z(2),F("ngIf",!a.archived),z(1),F("ngIf",a.showChildren))},D3a=function(a){a&1&&(I(0,"div"),S(1,"lowercase"));a&2&&(a=O(3),tf("bv2-edit-icon ",T(1,3,a.type),""))},E3a=function(a){a&1&&(G(0,"div")(1,"label"),R(2),H(),Q(3,D3a,2,5,"div",10),H());
a&2&&(a=O(2),tf("bv2-editable-title bv2-editable-title-",a.name," flex-kids-x"),z(2),Df(" ",a.title," "),z(1),F("ngIf",!a.readonly&&!a.disabled))},F3a=function(a){a&1&&vf(0)},G3a=function(a){if(a&1){var b=v();G(0,"div",14);M("menuClosed",function(){w(b);var e=O(2);return y(np(e,null,!1,!0))});Q(1,F3a,1,0,"ng-container",15);H()}if(a&2){O();var c=Cf(6);O();var d=Cf(7);F("matMenuTriggerFor",d);z(1);F("ngTemplateOutlet",c)}},H3a=function(a){a&1&&vf(0)},I3a=function(a){a&1&&(G(0,"div",16),Q(1,H3a,1,0,
"ng-container",15),H());if(a&2){O();var b=Cf(6);z(1);F("ngTemplateOutlet",b)}},J3a=function(a){a&1&&I(0,"b-user-membership-chip",25);a&2&&(a=O(5),F("user",a.user)("email",a.value)("teamId",a.teamId)("enableSmallChip",!0))},K3a=function(a){a&1&&I(0,"b-user-image",26);a&2&&(a=O(5),F("email",a.value))},L3a=function(a){a&1&&(G(0,"span",27)(1,"b-person-hovercard",28),R(2),H()());a&2&&(a=O(5),z(1),F("email",a.value),z(1),Df(" ",a.getDisplayValue("--")," "))},M3a=function(a){a&1&&(J(0),G(1,"div",21),Q(2,
J3a,1,4,"b-user-membership-chip",22),Q(3,K3a,1,1,"b-user-image",23),Q(4,L3a,3,2,"span",24),H(),L());a&2&&(a=O(4),z(2),F("ngIf",a.enableTeamAnnotations&&!!a.value),z(1),F("ngIf",!a.enableTeamAnnotations&&!!a.value),z(1),F("ngIf",!a.enableTeamAnnotations))},N3a=function(a){a&1&&(G(0,"div"),Q(1,M3a,5,3,"ng-container",3),H());a&2&&(a=O(3),z(1),F("ngIf",a.isUser))},O3a=function(a){a&1&&I(0,"b-truncated-span",33);a&2&&(a=O(4),F("maxWidth",150)("modelValue",a.getDisplayValue("--"))("disabled",!a.truncate))},
P3a=function(a){a&1&&I(0,"b-truncated-span",34);a&2&&(a=O(4),F("ngClass",a.getPriority(a.value))("maxWidth",150)("modelValue",a.getDisplayValue("--"))("disabled",!a.truncate))},Q3a=function(a){a&1&&I(0,"b-truncated-span",33);a&2&&(a=O(4),tf("chippy status-",a.convertIssueStatusStrToTag(a.value),""),F("maxWidth",150)("modelValue",a.getDisplayValue("--"))("disabled",!a.truncate))},R3a=function(a){a&1&&I(0,"div",35)},S3a=function(a){a&1&&(G(0,"div"),Q(1,O3a,1,3,"b-truncated-span",29),Q(2,P3a,1,4,"b-truncated-span",
30),Q(3,Q3a,1,6,"b-truncated-span",31),Q(4,R3a,1,0,"div",32),H());a&2&&(a=O(3),z(1),F("ngIf","Priority"!==a.title&&"Status"!==a.title),z(1),F("ngIf","Priority"===a.title),z(1),F("ngIf","Status"===a.title),z(1),F("ngIf",!a.title&&!a.readonly&&!a.disabled))},T3a=function(a){a&1&&(G(0,"div",36),I(1,"mat-icon",37),H())},U3a=function(a){a&1&&(G(0,"div",38),I(1,"mat-icon",39),H())},W3a=function(a){if(a&1){var b=v();G(0,"div",17,18);M("keydown",function(c){w(b);var d=O(2);return y(V3a(d,c))})("click",function(c){w(b);
var d=O(2);return y(np(d,c,!0,!1))});Q(2,N3a,2,1,"div",3);Q(3,S3a,5,4,"div",3);Q(4,T3a,2,0,"div",19);Q(5,U3a,2,0,"div",20);H()}a&2&&(a=O(2),qf("edit-field-user-container",a.isUser)("edit-field-activated",a.isActive),z(2),F("ngIf",a.isUser),z(1),F("ngIf",!a.isUser),z(1),F("ngIf","ENUM"!=a.type),z(1),F("ngIf","ENUM"==a.type))},X3a=function(a){if(a&1){var b=v();G(0,"div",8,9);M("click",function(c){w(b);var d=O();return y(np(d,c,!0,!1))})("keydown",function(c){w(b);var d=O();return y(V3a(d,c))});Q(2,
E3a,4,5,"div",10);Q(3,G3a,2,2,"div",11);Q(4,I3a,2,1,"div",12);Q(5,W3a,6,8,"ng-template",null,13,Zf);H()}a&2&&(a=O(),tf("bv2-issue-metadata-field-inner bv2-issue-metadata-field-",a.name,""),qf("bv2-disabled",a.disabled)("bv2-readonly",a.readonly),kf("aria-label","",a.title," value is ",a.getDisplayValue("empty"),""),F("matTooltip",a.getTooltip()),gf("aria-disabled",!1),z(2),F("ngIf",a.title),z(1),F("ngIf","ENUM"===a.type),z(1),F("ngIf","ENUM"!==a.type))},Y3a=function(a){if(a&1){var b=v();G(0,"div",
43);M("click",function(){w(b);var c=O(2);return y(c.setFieldValue(!c.value))});G(1,"label");R(2);H()()}a&2&&(a=O(2),tf("bv2-editable-title bv2-editable-title-",a.name," flex-kids-x"),z(2),Ef(a.title))},$3a=function(a){if(a&1){var b=v();G(0,"div",40);Q(1,Y3a,3,4,"div",41);G(2,"b-slide-toggle",42);M("modelChange",function(){w(b);var d=O();return y(d.setFieldValue(!d.value))});H()()}if(a&2){a=O();var c;tf("bv2-issue-metadata-field-inner bv2-issue-metadata-field-",a.name,"");F("ngClass",Kf(10,Z3a,a.disabled,
a.readonly))("matTooltip",a.getTooltip());gf("aria-disabled",!1);z(1);F("ngIf",a.title);z(1);F("disabled",a.disabled||a.readonly)("aria-label",a.name)("model",null!==(c=a.value)&&void 0!==c?c:void 0)}},a4a=function(a){a&1&&I(0,"b-availability-chip",45);a&2&&(a=O(2),F("user",a.value))},b4a=function(a){a&1&&(J(0),Q(1,a4a,1,1,"b-availability-chip",44),L());a&2&&(a=O(),z(1),F("ngIf",a.value&&a.enableWaldoAvailability))},c4a=function(a){if(a&1){var b=v();G(0,"button",48);M("click",function(){w(b);var c=
O(2);return y(c.clearFieldValue())});G(1,"span",49);I(2,"mat-icon",50);H();R(3," \u00a0 ");H()}a&2&&(a=O(2),qf("b-menu-item-checked",null==a.value),F("disabled",null==a.value))},d4a=function(a,b){if(a&1){var c=v();G(0,"button",51);M("click",function(){var d=w(c).$implicit,e=O(2);return y(e.setFieldValue(d.value))});G(1,"span",49);I(2,"mat-icon",50);H();R(3);H()}a&2&&(a=b.$implicit,b=O(2),qf("b-menu-item-checked",b.value==a.value),F("disabled",b.value==a.value)("matTooltip",a.altText||""),gf("aria-label",
a.displayText)("title",!b.showEnumTitle||a.altText?"":a.displayText),z(3),Df(" ",a.displayText," "))},e4a=function(a){a&1&&(Q(0,c4a,4,3,"button",46),Q(1,d4a,4,7,"button",47));a&2&&(a=O(),F("ngIf",a.clearable),z(1),F("ngForOf",a.choices))},f4a=function(a){a&1&&vf(0)},g4a=function(a){a&1&&vf(0)},h4a=function(a){if(a&1){var b=v();G(0,"div",43);M("click",function(d){return d.stopPropagation()});G(1,"b-date-time-picker-content",57);M("dateSelectionChange",function(d){w(b);var e=O(2);return y(e.googDateValue=
null!==d&&void 0!==d?d:null)})("saveClicked",function(){w(b);var d=O(2);return y(d.setFieldValue(d.googDateValue))})("cancelClicked",function(){w(b);var d=O(2);return y(np(d,null,!1,!1))});H()()}if(a&2){a=O(2);var c;z(1);F("required",!(a.clearable&&"DATE"===a.type))("date",null!==(c=a.googDateValue)&&void 0!==c?c:void 0)}},j4a=function(a){if(a&1){var b=v();G(0,"textarea",66);M("ngModelChange",function(c){w(b);var d=O(4);return y(d.textBuffer=c)})("keydown",function(c){w(b);var d=O(4);return y(i4a(d,
c))});H()}a&2&&(a=O(4),F("ngModel",a.textBuffer),gf("aria-label",a.title))},l4a=function(a){if(a&1){var b=v();G(0,"input",67);M("ngModelChange",function(c){w(b);var d=O(4);return y(d.textBuffer=c)})("keydown",function(c){w(b);var d=O(4);return y(k4a(d,c))});H()}a&2&&(a=O(4),F("ngModel",a.textBuffer),gf("type","NUMERIC"===a.type?"number":"text")("aria-label",a.title))},m4a=function(a){a&1&&(G(0,"div"),Q(1,j4a,1,2,"textarea",64),Q(2,l4a,1,3,"input",65),H());a&2&&(a=O(3),z(1),F("ngIf",a.multiline),z(1),
F("ngIf",!a.multiline))},n4a=function(a){if(a&1){var b=v();G(0,"textarea",70);M("ngModelChange",function(c){w(b);var d=O(4);return y(d.textBuffer=c)})("keydown",function(c){w(b);var d=O(4);return y(i4a(d,c))})("autocompleteActive",function(c){w(b);var d=O(4);return y(d.autocompleteActive=c)});H()}a&2&&(a=O(4),F("ngModel",a.textBuffer)("bContactAutocomplete","MULTI"),gf("aria-label",a.title))},o4a=function(a){if(a&1){var b=v();G(0,"input",71);M("ngModelChange",function(c){w(b);var d=O(4);return y(d.textBuffer=
c)})("keydown",function(c){w(b);var d=O(4);return y(k4a(d,c))})("autocompleteActive",function(c){w(b);var d=O(4);return y(d.autocompleteActive=c)});H()}a&2&&(a=O(4),F("ngModel",a.textBuffer)("bContactAutocomplete","SINGLE"),gf("type","NUMERIC"===a.type?"number":"text")("aria-label",a.title))},p4a=function(a){a&1&&(G(0,"div"),Q(1,n4a,1,3,"textarea",68),Q(2,o4a,1,4,"input",69),H());a&2&&(a=O(3),z(1),F("ngIf",a.multiline),z(1),F("ngIf",!a.multiline))},r4a=function(a){if(a&1){var b=v();G(0,"div",58);
M("click",function(c){return c.stopPropagation()});Q(1,m4a,3,2,"div",3);Q(2,p4a,3,2,"div",3);G(3,"div",59)(4,"button",60);M("click",function(){w(b);var c=O(2);return y(q4a(c))});I(5,"mat-icon",61);H();G(6,"button",62);M("click",function(c){w(b);var d=O(2);return y(np(d,c,!1,!0))});I(7,"mat-icon",63);H()();G(8,"div",36);I(9,"mat-icon",37);H()()}a&2&&(a=O(2),z(1),F("ngIf",!a.isUser),z(1),F("ngIf",a.isUser),z(2),jf("aria-label","Apply change to ",a.title,""),zf("matTooltip","Apply change to ",a.title,
""),F("disabled",a.value==a.textBuffer),z(2),jf("aria-label","Discard change to ",a.title,""),zf("matTooltip","Discard change to ",a.title,""))},s4a=function(a){a&1&&(G(0,"div",52,53),Q(2,f4a,1,0,"ng-container",54),Q(3,g4a,1,0,"ng-container",54),Q(4,h4a,2,2,"div",55),Q(5,r4a,10,7,"div",56),H());a&2&&(a=O(),tf("bv2-issue-metadata-field-edit bv2-issue-metadata-field-",a.name,"-edit"),F("ngSwitch",a.type),z(2),F("ngSwitchCase","ENUM"),z(1),F("ngSwitchCase","BOOL"),z(1),F("ngSwitchCase","DATE"))},t4a=
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}},u4a=function(a){a&1&&I(0,"b-icon",7);a&2&&(a=O(),F("name",a.iconName))},v4a=function(a){a&1&&(G(0,"span",8),R(1),H());a&2&&(a=O(),z(1),Ef(a.title))},w4a=function(a){a&1&&(G(0,"div",9),R(1,"\u00a0"),H())},x4a=function(a){a&1&&(G(0,"label"),R(1),H());a&2&&(a=O(),z(1),Df(" ",a.title," "))},z4a=function(a,b){a&1&&(G(0,"div",18),vf(1,
19),H());if(a&2){a=b.$implicit;b=b.index;O(2);var c=Cf(13);z(1);F("ngTemplateOutletContext",Kf(2,y4a,a,b))("ngTemplateOutlet",c)}},A4a=function(a){a&1&&(G(0,"collapsible-panel",15),Q(1,z4a,2,5,"div",16),vf(2,17),H());if(a&2){a=O();var b=Cf(15);F("isExpanded",a.isExpanded)("iconName",a.iconName)("hasCompactTitleBar",!0)("title",a.collapsiblePanelTitle);z(1);F("ngForOf",a.getDisplayValues())("ngForTrackBy",a.trackByIndex);z(1);F("ngTemplateOutlet",b)}},B4a=function(a,b){a&1&&(G(0,"div",18),vf(1,19),
H());if(a&2){a=b.$implicit;b=b.index;O(2);var c=Cf(13);z(1);F("ngTemplateOutletContext",Kf(2,y4a,a,b))("ngTemplateOutlet",c)}},C4a=function(a){a&1&&(G(0,"div"),R(1,"--"),H())},D4a=function(a){a&1&&(J(0),Q(1,B4a,2,5,"div",16),vf(2,17),Q(3,C4a,2,0,"div",3),L());if(a&2){a=O();var b=Cf(15);z(1);F("ngForOf",a.getDisplayValues())("ngForTrackBy",a.trackByIndex);z(1);F("ngTemplateOutlet",b);z(1);F("ngIf",!(null==a.values?0:a.values.length))}},G4a=function(a){if(a&1){var b=v();G(0,"button",24);M("menuOpened",
function(){w(b);var d=O(2);E4a(d);d.enumPendingValues=new Set(d.values||[]);return y()})("menuClosed",function(){w(b);var d=O(2);return y(F4a(d))});R(1,"Edit ");H()}if(a&2){a=O(2);var c=Cf(17);jf("aria-label","Add item to ",a.title,"");F("matMenuTriggerFor",c)}},H4a=function(a){a&1&&(G(0,"button",25),R(1,"Add "),H());if(a&2){a=O(2);var b=Cf(22);jf("aria-label","Add item to ",a.title,"");F("xapInlineDialogClick",b)("overlayPositions",a.OVERLAY_POSITION_LIST)}},I4a=function(a){if(a&1){var b=v();G(0,
"button",26);M("beforeOpened",function(){w(b);var d=O(2);return y(d.invalidMessage="")});R(1,"Add ");H()}if(a&2){a=O(2);var c=Cf(20);jf("aria-label","Add item to ",a.title,"");zf("matTooltip","Add item to ",a.title,"");F("xapInlineDialogClick",c)("overlayPositions",a.OVERLAY_POSITION_LIST)}},J4a=function(a){a&1&&(J(0,20),Q(1,G4a,2,2,"button",21),Q(2,H4a,2,3,"button",22),Q(3,I4a,2,4,"button",23),L());a&2&&(a=O(),F("ngSwitch",a.type),z(1),F("ngSwitchCase","REPEATED_ENUM"),z(1),F("ngSwitchCase","REPEATED_DATE"))},
K4a=function(a){a&1&&(G(0,"div"),I(1,"b-changelist-link",38),H());if(a&2){a=O(2).item;var b=O();z(1);F("changelistId",b.asNumber(a))}},L4a=function(a){a&1&&(G(0,"div")(1,"a",39),R(2),H()());if(a&2){a=O(3).item;var b=O();z(1);F("href",b.getTaskFlowLink(a),Md);gf("aria-label","Workspace"+a.workspaceId);z(1);Df(" ",a.workspaceName," ")}},M4a=function(a){a&1&&Q(0,L4a,3,3,"div",30);if(a&2){O();var b=Cf(6);O();a=O();F("ngIf","WORKSPACES"===a.type)("ngIfElse",b)}},N4a=function(a){a&1&&(G(0,"div"),I(1,"b-team-display",
40),H());a&2&&(a=O(3).item,z(1),F("teamId",a.teamId)("componentId",a.componentId))},O4a=function(a){a&1&&Q(0,N4a,2,2,"div",30);if(a&2){O();var b=Cf(8);O();a=O();F("ngIf","TEAM"===a.type)("ngIfElse",b)}},P4a=function(a){if(a&1){var b=v();G(0,"div")(1,"a",41);M("click",function(){w(b);var c=O(4);return y(c.trackClick("postmortem"))});R(2);H()()}a&2&&(a=O(3).item,z(1),zf("href","https://pm.corp.google.com/",a,"",Md),jf("aria-label","Postmortem ",a,""),z(1),Df(" ",a," "))},Q4a=function(a){a&1&&Q(0,P4a,
3,3,"div",30);if(a&2){O();var b=Cf(10);O();a=O();F("ngIf","POSTMORTEMS"===a.type)("ngIfElse",b)}},R4a=function(a){a&1&&(G(0,"div"),I(1,"b-truncated-span",43),H());if(a&2){a=O(3).item;var b=O();z(1);F("maxWidth",150)("modelValue",a)("disabled",!b.truncate)}},S4a=function(a){a&1&&I(0,"b-user-membership-chip",47,48);if(a&2){a=O(4).item;var b=O();F("user",b.getUser(a))("email",a)("teamId",b.teamId)("enableSmallChip",!0)("enableGroupIcon",!0)}},T4a=function(a){a&1&&(G(0,"b-person-hovercard",49),R(1),H());
a&2&&(a=O(4).item,F("email",a),z(1),Df(" ",a," "))},U4a=function(a){a&1&&(G(0,"div",44),Q(1,S4a,2,5,"b-user-membership-chip",45),Q(2,T4a,2,2,"b-person-hovercard",46),H());a&2&&(a=O(4),z(1),F("ngIf",a.enableTeamAnnotations),z(1),F("ngIf",!a.enableTeamAnnotations))},V4a=function(a){a&1&&(Q(0,R4a,2,3,"div",3),Q(1,U4a,3,2,"div",42));if(a&2){a=O(2).item;var b=O();F("ngIf",!b.isUser&&b.isString(a));z(1);F("ngIf",b.isUser&&b.isString(a))}},W4a=function(a){if(a&1){var b=v();G(0,"b-icon",50);M("click",function(){w(b);
var c=O(3);return y(c.toggleAccessLimits.emit())});H()}},X4a=function(a){if(a&1){var b=v();G(0,"button",52,53);M("click",function(){w(b);var d=O(3).$index,e=O();return y(e.removeItem(d))});H()}if(a&2){a=O(3).item;var c=O();kf("aria-label","Remove ",a," from ",c.title,"");F("disabled",c.listFieldDisabled)("matTooltip","Remove item")}},Y4a=function(a){a&1&&Q(0,X4a,2,4,"button",51);a&2&&(a=O(3),F("ngIf",!a.readonly&&"REPEATED_ENUM"!==a.type))},Z4a=function(a){a&1&&(G(0,"div",28)(1,"div",29),Q(2,K4a,
2,1,"div",30),Q(3,M4a,1,2,"ng-template",null,31,Zf),Q(5,O4a,1,2,"ng-template",null,32,Zf),Q(7,Q4a,1,2,"ng-template",null,33,Zf),Q(9,V4a,2,2,"ng-template",null,34,Zf),H(),Q(11,W4a,1,0,"b-icon",35),Q(12,Y4a,1,1,"ng-template",null,36,Zf),I(14,"div",37),H());if(a&2){var b=Cf(4),c=Cf(13);a=O().$index;var d=O();z(2);F("ngIf","CHANGELISTS"===d.type)("ngIfElse",b);z(9);F("ngIf","USERCHIP"===d.type&&d.toggleAccessLimits.observed&&(null==d.userChips?null:d.userChips.get(a))&&(null==d.userChips?null:d.userChips.get(a).isGroup))("ngIfElse",
c)}},$4a=function(a,b){a&1&&Q(0,Z4a,15,4,"div",27);a&2&&(a=b.$index,b=O(),F("ngIf",b.showingAll||a<b.defaultLineCount||!!b.values&&b.values.length===b.defaultLineCount+1))},a5a=function(a){if(a&1){var b=v();G(0,"div",55,56);M("click",function(c){w(b);var d=O(2);return y(op(d,!1,c))})("keydown.enter",function(c){w(b);var d=O(2);return y(op(d,!1,c))})("keydown.space",function(c){w(b);var d=O(2);return y(op(d,!1,c))});R(2," (show fewer) ");H()}a&2&&(a=O(2),kf("aria-label","Show at most ",a.defaultLineCount,
" ",a.title," items"),zf("matTooltip","Show a truncated list of at most ",a.defaultLineCount," items"))},b5a=function(a){if(a&1){var b=v();G(0,"div")(1,"div",57);R(2);G(3,"span",58,59);M("click",function(c){w(b);var d=O(2);return y(op(d,!0,c))})("keydown.enter",function(c){w(b);var d=O(2);return y(op(d,!0,c))})("keydown.space",function(c){w(b);var d=O(2);return y(op(d,!0,c))});R(5," (show all) ");H()()()}a&2&&(a=O(2),z(2),Df(" ... and ",a.values.length-a.defaultLineCount," more "),z(1),kf("aria-label",
"Show all ",null==a.values?null:a.values.length," ",a.title," items"),zf("matTooltip","Show all ",null==a.values?null:a.values.length," items in the list"))},c5a=function(a){a&1&&(Q(0,a5a,3,3,"div",54),Q(1,b5a,6,4,"div",3));a&2&&(a=O(),F("ngIf",a.showingAll&&!!a.values&&a.values.length>a.defaultLineCount+1),z(1),F("ngIf",!a.showingAll&&!!a.values&&a.values.length>a.defaultLineCount+1))},d5a=function(a,b){if(a&1){var c=v();G(0,"button",61);M("click",function(d){var e=w(c).$implicit,g=O(2);e=e.value;
g.enumPendingValues.has(e)?g.enumPendingValues.delete(e):g.enumPendingValues.add(e);null==d||d.stopPropagation();return y()});G(1,"span",62);I(2,"mat-icon",63);H();R(3);H()}a&2&&(a=b.$implicit,b=O(2),qf("b-menu-item-checked",b.enumPendingValues.has(a.value)),F("disabled",b.listFieldDisabled),gf("aria-label",a.displayText),z(3),Df(" ",a.displayText," "))},e5a=function(a){a&1&&Q(0,d5a,4,5,"button",60);a&2&&(a=O(),F("ngForOf",a.sortedEnumChoices)("ngForTrackBy",a.trackByIndex))},f5a=function(a){a&1&&
I(0,"input",73);a&2&&(a=O(2),jf("aria-label","Addition to ",a.title,""),F("bContactAutocomplete","MULTI"))},g5a=function(a){a&1&&I(0,"input",74);a&2&&(a=O(2),jf("aria-label","Addition to ",a.title,""),F("type","REPEATED_NUMERIC"===a.type?"number":"text"))},h5a=function(a){a&1&&(G(0,"mat-error"),R(1),H());a&2&&(a=O(2),kf("aria-label","",a.title," error: ",a.invalidMessage,""),z(1),Df(" ",a.invalidMessage," "))},k5a=function(a){if(a&1){var b=v();G(0,"xap-dialog-layout")(1,"xap-dialog-layout-content")(2,
"form",64,65);M("ngSubmit",function(){w(b);var d=Cf(3),e=Cf(4),g=O();return y(i5a(g,d,e))});Q(5,f5a,1,2,"input",66);Q(6,g5a,1,2,"input",67);G(7,"div",68)(8,"button",69);I(9,"mat-icon",70);H();G(10,"button",71);M("click",function(){w(b);var d=O();return y(j5a(d,!0))});I(11,"mat-icon",72);H()();Q(12,h5a,2,3,"mat-error",3);H()()()}if(a&2){var c=Cf(3);a=O();z(5);F("ngIf",a.isUser);z(1);F("ngIf",!a.isUser);z(2);jf("aria-label","Apply addition to ",a.title,"");F("disabled",!c.valid||a.listFieldDisabled);
z(2);jf("aria-label","Discard addition to ",a.title,"");z(2);F("ngIf",a.invalidMessage)}},l5a=function(a){if(a&1){var b=v();G(0,"b-date-time-picker-content",75);M("dateChange",function(c){w(b);var d=O();return y(c&&d.addItems(c))})("cancelClicked",function(){w(b);var c=O();return y(j5a(c,!1))});H()}a&2&&F("required",!0)("renderPanel",!1)},pp=function(a,b){return{originX:a,originY:b}},qp=function(a,b){return{overlayX:a,overlayY:b}},m5a=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}},n5a=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},q5a=function(a){if(a&1){var b=v();
G(0,"b-edit-field",3);M("valueChange",function(e){w(b);var g=O(2);return y(g.save.emit(e))});H()}if(a&2){a=O().ngIf;var c=O(),d;F("readonly",c.readonly)("name","customField"+c.field.customFieldId)("title",c.field.name)("type",c.field.type)("tooltip",c.getTooltip())("clearable",!c.field.required)("value",o5a(c))("displayValueOverride",c.getDisplayValue())("choices",null!==(d=a.choices)&&void 0!==d?d:If(11,p5a))("showEnumTitle",!0)("disabled",c.disabled)}},s5a=function(a){if(a&1){var b=v();G(0,"b-list-field",
4);M("valuesChange",function(d){w(b);var e=O(2);return y(e.save.emit(d.values))});H()}if(a&2){a=O().ngIf;var c=O();F("readonly",c.readonly)("defaultLineCount",3)("title",c.field.name)("type",c.field.type)("tooltip",c.getTooltip())("values",r5a(c))("displayValuesOverride",a.displayValues)("enumChoices",a.choices)("listFieldDisabled",c.disabled)}},t5a=function(a,b){a&1&&(J(0),Q(1,q5a,1,12,"b-edit-field",1),Q(2,s5a,1,9,"b-list-field",2),L());a&2&&(a=b.ngIf,z(1),F("ngIf",!a.isRepeated()),z(1),F("ngIf",
a.isRepeated()))},u5a=function(a){a&1&&(G(0,"div"),R(1," Loading custom fields... "),H())},v5a=function(a){a&1&&(G(0,"div"),R(1),H());a&2&&(a=O(2),z(1),Df(" There are no custom fields in component ",a.selectedComponent.name,". "))},w5a=function(a,b){a&1&&(G(0,"mat-option",9),R(1),H());a&2&&(a=b.$implicit,F("value",a),z(1),Df(" ",a.name," "))},x5a=function(a){if(a&1){var b=v();G(0,"div")(1,"mat-form-field",6)(2,"mat-label");R(3,"Custom field");H();G(4,"mat-select",7);M("selectionChange",function(c){w(b);
var d=O(2);return y(d.fieldSelected.emit(c.value))});Q(5,w5a,2,2,"mat-option",8);H()()()}a&2&&(a=O(2),z(5),F("ngForOf",a.customFields))},y5a=function(a){a&1&&(G(0,"div",4),Q(1,u5a,2,0,"div",5),Q(2,v5a,2,1,"div",5),Q(3,x5a,6,1,"div",5),H());a&2&&(a=O(),z(1),F("ngIf",null==a.customFields),z(1),F("ngIf",a.customFields&&!a.customFields.length),z(1),F("ngIf",null==a.customFields?null:a.customFields.length))},z5a=function(a){a&1&&vf(0)},A5a=function(){},B5a=function(a){a&1&&(J(0),R(1),L());a&2&&(a=O().value,
z(1),Ef(a.textValue))},C5a=function(a){a&1&&(J(0),I(1,"b-formatted-date-time",5),L());if(a&2){a=O().value;var b=O();z(1);F("date",b.toDate(a.dateValue))}},D5a=function(a){a&1&&(J(0),R(1),L());a&2&&(a=O().value,z(1),Ef(a.enumValue))},E5a=function(a){a&1&&(J(0),R(1),L());a&2&&(a=O().value,z(1),Ef(a.numericValue))},F5a=function(a,b){a&1&&(J(0),R(1),L());a&2&&(a=b.$implicit,b=b.last,z(1),Ff("",a,"",b?"":", ",""))},G5a=function(a){a&1&&(J(0),Q(1,F5a,2,2,"ng-container",6),L());a&2&&(a=O().value,z(1),F("ngForOf",
a.repeatedTextValue.values))},H5a=function(a,b){a&1&&(J(0),I(1,"b-formatted-date-time",5),R(2),L());if(a&2){a=b.$implicit;b=b.last;var c=O(3);z(1);F("date",c.toDate(a));z(1);Ef(b?"":", ")}},I5a=function(a){a&1&&(J(0),Q(1,H5a,3,2,"ng-container",6),L());a&2&&(a=O().value,z(1),F("ngForOf",a.repeatedDateValue.values))},J5a=function(a,b){a&1&&(J(0),R(1),L());a&2&&(a=b.$implicit,b=b.last,z(1),Ff("",a,"",b?"":", ",""))},K5a=function(a){a&1&&(J(0),Q(1,J5a,2,2,"ng-container",6),L());a&2&&(a=O().value,z(1),
F("ngForOf",a.repeatedEnumValue.values))},L5a=function(a,b){a&1&&(J(0),R(1),L());a&2&&(a=b.$implicit,b=b.last,z(1),Ff("",a,"",b?"":", ",""))},M5a=function(a){a&1&&(J(0),Q(1,L5a,2,2,"ng-container",6),L());a&2&&(a=O().value,z(1),F("ngForOf",a.repeatedNumericValue.values))},N5a=function(a,b){a&1&&(Q(0,B5a,2,1,"ng-container",4),Q(1,C5a,2,1,"ng-container",4),Q(2,D5a,2,1,"ng-container",4),Q(3,E5a,2,1,"ng-container",4),Q(4,G5a,2,1,"ng-container",4),Q(5,I5a,2,1,"ng-container",4),Q(6,K5a,2,1,"ng-container",
4),Q(7,M5a,2,1,"ng-container",4));a&2&&(a=b.value,b=O(),F("ngIf",null!=a.textValue),z(1),F("ngIf",b.isNonemptyJsonDateValue(a.dateValue)),z(1),F("ngIf",null!=a.enumValue),z(1),F("ngIf",null!=a.numericValue),z(1),F("ngIf",null!=a.repeatedTextValue),z(1),F("ngIf",null!=a.repeatedDateValue),z(1),F("ngIf",null!=a.repeatedEnumValue),z(1),F("ngIf",null!=a.repeatedNumericValue))},rp=function(a){var b=void 0===b?O5a:b;var c=xa(a),d=function(e){e=k(e);e.next();e=xe(e);return b(c,e)};return function(){var e=
Pc.apply(0,arguments),g=this||ba,h=P5a.get(g);h||(h={},P5a.set(g,h));g=h;h=[this].concat(Vc(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=xe(l);h=a.apply(h,l);g=g[e]=h}return g}},sp=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},tp=function(a,b){for(var c in a)if(c.toLowerCase()===b.toLowerCase())return a[c]},Q5a=function(a,
b){for(var c in a)if(c.toLowerCase()===b.toLowerCase()){delete a[c];break}},S5a=function(a){a=Wb(a);for(var b=0;b<R5a.length;++b){var c=R5a[b],d=tp(a,c);d&&(a["X-Goog-Upload-Header-"+c]=d,Q5a(a,c))}return a},T5a=function(a){a=Wb(a);Q5a(a,"X-Goog-Upload-Status");return a},V5a=function(a){if(a&1){var b=v();G(0,"button",3);M("fileSelected",function(c){w(b);var d=O();return y(U5a(d,c))});I(1,"mat-icon",4);H()}a&2&&(a=O(),F("selectorType",a.SelectorType.MULTIPLE_FILE_SELECTION)("disableAutoUpload",!0)("disabled",
a.disabled))},W5a=function(a){if(a&1){var b=v();G(0,"button",5);M("fileSelected",function(c){w(b);var d=O();return y(U5a(d,c))});I(1,"mat-icon",4);R(2," Add attachments ");H()}a&2&&(a=O(),F("selectorType",a.SelectorType.MULTIPLE_FILE_SELECTION)("disableAutoUpload",!0)("disabled",a.disabled))},X5a=function(a){a&1&&(G(0,"span"),R(1),S(2,"humanFileSize"),S(3,"humanFileSize"),H());if(a&2){a=O().$implicit;var b;z(1);Ff(" ",T(2,2,a.transferredBytes)," of ",T(3,4,null!==(b=a.size)&&void 0!==b?b:0)," ")}},
Y5a=function(a){a&1&&(G(0,"span",11),R(1),H());a&2&&(a=O().$implicit,z(1),Df(" ",a.errorMessage," "))},Z5a=function(a){a&1&&(G(0,"span",11),R(1),S(2,"humanFileSize"),H());if(a&2){a=O().$implicit;var b;z(1);Df(" ",T(2,1,null!==(b=a.size)&&void 0!==b?b:0)," ")}},a6a=function(a,b){if(a&1){var c=v();G(0,"div",3)(1,"div",4);I(2,"mat-icon",5);G(3,"span",6);R(4);H();G(5,"span",7);Q(6,X5a,4,6,"span",8);Q(7,Y5a,2,1,"span",9);Q(8,Z5a,3,3,"span",9);H()();G(9,"button",10);M("click",function(){var d=w(c).$implicit,
e=O(2);return y(e.cancel(d))});H()()}a&2&&(a=b.$implicit,b=O(2),F("ngClass",Jf(8,$5a,a.state===b.uploadStates.ERROR)),z(3),F("matTooltip",a.name),z(1),Ef(a.name),z(2),F("ngIf",a.state===b.uploadStates.UPLOADING),z(1),F("ngIf",a.state===b.uploadStates.ERROR),z(1),F("ngIf",a.state===b.uploadStates.COMPLETE),z(1),F("matTooltip",a.state===b.uploadStates.UPLOADING?"Cancel upload":"Remove attachment"),gf("aria-label","Remove attachment"+a.name))},b6a=function(a){a&1&&(G(0,"div",1),Q(1,a6a,10,10,"div",2),
H());a&2&&(a=O(),z(1),F("ngForOf",a.uploads))},c6a=function(a){this.action=a;this.wfv=!1},d6a=function(a,b){c6a.call(this,"set-drive-options");this.appId=a;this.appOrigin=b},e6a=function(a){a=a&&a.getWindow()||window;return a.gadgets&&a.gadgets.rpc},g6a=function(a,b){var c=b&&b.getWindow()||window;if(e6a(b))a();else if(f6a)f6a.push(a);else var d=f6a=[a],e=c.setInterval(function(){if(e6a(b)){c.clearInterval(e);for(var g=0;g<d.length;g++)d[g]();f6a=null}},100)},i6a=function(a,b){var c;a:{for(c=b.target;c;){if(1==
c.nodeType){var d=up(c,"overflowY");if("auto"==d||"scroll"==d)break a}c=c.parentNode}c=null}(!c||!h6a(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()},j6a=function(a){if(a&1){var b=v();G(0,"div",1);I(1,"mat-icon",2);G(2,"div",3);R(3," Comment and vote +1 on this issue to increase visibility ");H();G(4,"div",4)(5,"button",5);M("click",function(){w(b);var c=O();return y(c.onClick())});R(6,"Comment and vote +1");
H()()()}a&2&&(z(1),F("matTooltip","The +1 button is located in the top right corner of the issue details page"))},k6a=function(a){if(a&1){var b=v();J(0);G(1,"b-plus-one-comment-callout",7);M("onSubmitComment",function(){w(b);O().onSubmit.emit();return y()});H();L()}a&2&&(a=O(),z(1),F("isPlusOneText","+1"===a.comment.value.trim()))},l6a=function(a){if(a&1){var b=v();G(0,"b-drive-attachment",12);M("onPickDoc",function(c){w(b);var d=O(2);d.comment&&(d.comment.value+="\n\n"+c.url+" ("+c.name+")");return y()})("onCloneBlob",
function(c){w(b);var d=O(2);return y(d.addUpload(c))});H()}a&2&&(a=O(2),F("disabled",a.attachmentsDisabled))},m6a=function(a){if(a&1){var b=v();J(0);G(1,"button",16);M("click",function(){w(b);var c=O(3);return y(c.onRestrict.emit())});I(2,"mat-icon",17);H();L()}a&2&&(a=O(3),z(1),F("disabled",a.attachmentsDisabled))},n6a=function(a){if(a&1){var b=v();G(0,"button",18);M("click",function(){w(b);var c=O(3);return y(c.onRestrict.emit())});I(1,"mat-icon",17);R(2);H()}a&2&&(a=O(3),z(2),Df(" ",a.getRestrictedLabel(),
" "))},o6a=function(a){a&1&&(G(0,"div",13),Q(1,m6a,3,1,"ng-container",14),Q(2,n6a,3,1,"ng-template",null,15,Zf),H());if(a&2){var b=Cf(3);a=O(2);z(1);F("ngIf",!a.isRestricted())("ngIfElse",b)}},p6a=function(a){if(a&1){var b=v();G(0,"div",8);yf(1,1,["class","goog-inline-block"]);G(2,"b-attachment-selector",9);M("onSelect",function(d){w(b);var e=O();return y(e.uploadFile(d))});H();Q(3,l6a,1,1,"b-drive-attachment",10);S(4,"async");Q(5,o6a,4,2,"div",11);H()}if(a&2){a=O();var c;z(2);F("disabled",a.attachmentsDisabled);
z(1);F("ngIf",!(null!==(c=T(4,3,a.currentTracker.inTracker$))&&void 0!==c&&c));z(2);F("ngIf",a.showRestrictionOptions)}},q6a=function(a){a&1&&(G(0,"div"),I(1,"b-live-preview",19),H());a&2&&(a=O(),z(1),F("comment",a.comment.value)("issueId",a.issueId)("audience",a.audience)("formattingMode",a.comment.formattingMode))},s6a=function(a,b){if(a&1){var c=v();G(0,"button",13);M("click",function(){var d=w(c).$implicit,e=O(3);return y(r6a(e.issueEditBuilder,d))});R(1);H()}a&2&&(a=b.$implicit,b=O(3),F("disabled",
b.issueEditBuilder.issueState==a),z(1),Df(" ",a.displayValue," "))},t6a=function(a){if(a&1){var b=v();G(0,"div",27)(1,"span");R(2,"Multiple");H();G(3,"a",28);M("click",function(){w(b);var c=O(4);return y(c.issueEditBuilder.clearAssignee())});R(4,"X");H()()}},u6a=function(a){if(a&1){var b=v();G(0,"div",27)(1,"span");R(2,"Possibly multiple");H();G(3,"a",28);M("click",function(){w(b);var c=O(4);return y(c.issueEditBuilder.clearAssignee())});R(4,"X");H()()}},w6a=function(a){if(a&1){var b=v();G(0,"div")(1,
"input",29);M("ngModelChange",function(c){w(b);var d=O(4);return y(d.issueEditBuilder.commonAssignee=c)})("ngModelChange",function(){w(b);var c=O(4);return y(v6a(c.issueEditBuilder))});H()()}a&2&&(a=O(4),z(1),F("ngModel",a.issueEditBuilder.commonAssignee)("bContactAutocomplete","SINGLE"),gf("cdkFocusInitial",a.focus===a.FocusableField.ASSIGNEE||null))},x6a=function(a){if(a&1){var b=v();G(0,"div",27)(1,"span");R(2);H();G(3,"a",30);M("click",function(){w(b);var c=O(4);return y(c.issueEditBuilder.clearVerifier())});
R(4,"X");H()()}a&2&&(a=O(4),qf("bv2-invalid-multiple-user-chip",!vp(a.issueEditBuilder)),z(2),Df(" Multiple ",vp(a.issueEditBuilder)?"":"(some unset)"," "))},y6a=function(a){if(a&1){var b=v();G(0,"div",27)(1,"span");R(2);H();G(3,"a",30);M("click",function(){w(b);var c=O(4);return y(c.issueEditBuilder.clearVerifier())});R(4,"X");H()()}a&2&&(a=O(4),qf("bv2-invalid-multiple-user-chip",!vp(a.issueEditBuilder)),z(2),Df(" Possibly multiple ",vp(a.issueEditBuilder)?"":"(some unset)"," "))},z6a=function(a){if(a&
1){var b=v();G(0,"div")(1,"input",31);M("ngModelChange",function(c){w(b);var d=O(4);return y(d.issueEditBuilder.commonVerifier=c)});H()()}a&2&&(a=O(4),z(1),F("ngModel",a.issueEditBuilder.commonVerifier)("required","VERIFIED"==(null==a.issueEditBuilder.issueState?null:a.issueEditBuilder.issueState.status))("bContactAutocomplete","SINGLE"),gf("cdkFocusInitial",a.focus===a.FocusableField.VERIFIER||null))},A6a=function(a){a&1&&(G(0,"div")(1,"div",21)(2,"label",22),R(3," Assignee "),H(),G(4,"div",15),
Q(5,t6a,5,0,"div",23),Q(6,u6a,5,0,"div",23),Q(7,w6a,2,3,"div",24),H()(),G(8,"div",21)(9,"label",25),R(10," Verifier "),H(),G(11,"div",15),Q(12,x6a,5,3,"div",26),Q(13,y6a,5,3,"div",26),Q(14,z6a,2,4,"div",24),H()()());a&2&&(a=O(3),z(4),F("ngSwitch",a.issueEditBuilder.selectedAssigneesStatus),z(1),F("ngSwitchCase","MULTIPLE"),z(1),F("ngSwitchCase","POSSIBLY_MULTIPLE"),z(5),F("ngSwitch",a.issueEditBuilder.selectedVerifiersStatus),z(1),F("ngSwitchCase","MULTIPLE"),z(1),F("ngSwitchCase","POSSIBLY_MULTIPLE"))},
B6a=function(a){if(a&1){var b=v();G(0,"div",21)(1,"label",32);R(2," Issue ID ");H();G(3,"input",33);M("ngModelChange",function(c){w(b);var d=O(3);return y(d.issueEditBuilder.commonDuplicateOf=c.trim())});H()()}a&2&&(a=O(3),z(3),F("ngModel",a.issueEditBuilder.commonDuplicateOf),gf("cdkFocusInitial",a.focus===a.FocusableField.DUPE_ID||null))},C6a=function(a,b){a&1&&(G(0,"li"),R(1),I(2,"b-access-level-indicator",36),H());a&2&&(a=b.$implicit,z(1),Df(" ",a.path," "),z(1),F("accessLevel",a.accessLevel))},
D6a=function(a){a&1&&(G(0,"div",34)(1,"div")(2,"strong"),R(3,"You are editing issues in components that have external viewers:"),H()(),G(4,"ul"),Q(5,C6a,3,2,"li",35),H()());a&2&&(a=O(3),z(5),F("ngForOf",a.externalWarnings))},E6a=function(a){if(a&1){var b=v();G(0,"div",9)(1,"button",10)(2,"span");R(3);H();I(4,"b-icon",11);H();G(5,"mat-menu",null,12)(7,"button",13);M("click",function(){w(b);var d=O(2);return y(d.issueEditBuilder.issueState=void 0)});R(8,"No change ");H();Q(9,s6a,2,2,"button",14);H();
G(10,"div",15);Q(11,A6a,15,6,"div",16);Q(12,B6a,4,2,"div",17);H();G(13,"div")(14,"b-comment-box",18);M("onSubmit",function(){w(b);var d;null==(d=O(2).matDialogRef)||d.close(!0);return y()});H()();I(15,"div",19);Q(16,D6a,6,1,"div",20);H()}if(a&2){var c=Cf(6);a=O(2);z(1);F("matMenuTriggerFor",c);z(2);Ef(a.issueEditBuilder.issueState?a.issueEditBuilder.issueState.displayValue:"No change");z(4);F("disabled",!a.issueEditBuilder.issueState);z(2);F("ngForOf",a.issueStates);z(1);F("ngSwitch",!a.issueEditBuilder.issueState||
"DUPLICATE"!==a.issueEditBuilder.issueState.status);z(1);F("ngSwitchCase",!0);z(3);F("comment",a.comment)("showToolbar",!1);z(2);F("ngIf",0<a.externalWarnings.length)}},F6a=function(a){if(a&1){var b=v();G(0,"div",37)(1,"b-recaptcha",38);M("onUpdate",function(c){w(b);var d=O(2);return y(d.issueEditBuilder.recaptchaResponse=c)});H()()}},H6a=function(a){a&1&&(G(0,"form",null,1)(2,"h1",2),R(3,"Change issue status"),H(),G(4,"div",3)(5,"span"),R(6,"Enter updated issue status information below"),H(),Q(7,
E6a,17,9,"div",4),H(),Q(8,F6a,2,0,"div",5),G(9,"div",6)(10,"button",7),R(11," Cancel "),H(),G(12,"button",8),R(13," Save "),H()()());if(a&2){var b=Cf(1);a=O();z(7);F("ngIf",a.issueEditBuilder);z(1);F("ngIf",a.issueEditBuilder&&a.enableRecaptcha);z(2);F("mat-dialog-close",!1);z(2);var c=F("mat-dialog-close",!0),d;if(!(d=b.invalid))a:{if(null!=a.issueEditBuilder){d=G6a(a.issueEditBuilder);var e=d.get("status");if("DUPLICATE"===e){d=!d.get("duplicateOfIssueId");break a}if("VERIFIED"===e){d=!vp(a.issueEditBuilder)&&
!d.get("verifier");break a}}d=!1}c("disabled",d||!(!a.enableRecaptcha||""!==a.issueEditBuilder.recaptchaResponse))}},wp=function(a){var b;a=null==a?void 0:null==(b=a.accessLimit)?void 0:b.accessLevel;return"EXTERNAL_PARTNER"===a||"EXTERNAL_PUBLIC"===a},I6a=function(a){var b;return"EXTERNAL_PARTNER"===(null==a?void 0:null==(b=a.accessLimit)?void 0:b.accessLevel)},xp=function(a){var b;return"EXTERNAL_PUBLIC"===(null==a?void 0:null==(b=a.accessLimit)?void 0:b.accessLevel)},J6a=function(a,b){return a?
a.join(" > "):String(b)},K6a=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""}},L6a=function(a){a&1&&(G(0,"div")(1,"p"),R(2),H()());a&2&&(a=O(),z(2),Ff(" Checking if you have permissions to mark these issues as spam. Checked ",
a.issuesChecked," of ",a.issuesToFlag.length,"... "))},M6a=function(a,b){a&1&&(G(0,"li"),R(1),H());a&2&&(a=b.$implicit,z(1),Ff(" ",a.issueId," - ",a.title," "))},N6a=function(a){a&1&&(G(0,"div")(1,"p"),R(2),H(),G(3,"ul"),Q(4,M6a,2,2,"li",9),H()());a&2&&(a=O(),z(2),Df(" You do not have permissions to mark ",a.protectedIssues.length," issues. These will not be flagged as spam. "),z(2),F("ngForOf",a.protectedIssues))},O6a=function(a){if(a&1){var b=v();G(0,"mat-dialog-content")(1,"mat-form-field")(2,
"mat-label");R(3);H();G(4,"input",5);M("ngModelChange",function(c){w(b);var d=O();return y(d.numericEstimatedEffort=c)})("keypress",function(c){w(b);var d=O();return y(/^(\d*\.)?\d*$/.test(d.numericEstimatedEffort+c.key))});H()()()}a&2&&(a=O(),z(3),Df(" ",a.effortSpecName," "),z(1),F("ngModel",a.numericEstimatedEffort))},P6a=function(a){if(a&1){var b=v();G(0,"div",6)(1,"label");R(2);H();G(3,"onedev-single-select",7);M("valueChange",function(c){w(b);var d=O();return y(d.currentEnumLabel=c)});H()()}a&
2&&(a=O(),z(2),Df(" ",a.effortSpecName," "),z(1),F("value",a.currentEnumLabel)("includeEmptyOption",!0)("options",a.allowedLabels))},U6a=function(a,b){if(a&1){var c=v();G(0,"div",18,19);M("click",function(){var e=w(c).$implicit,g=O(2);Q6a(g,e)||yp(g,e);return y()});G(2,"mat-pseudo-checkbox",20);M("click",function(e){var g=w(c).$implicit,h=O(2);e.stopPropagation();return y(R6a(h,g))});H();G(3,"span");R(4);H()()}if(a&2){a=b.$implicit;b=b.index;var d=O(2);pf("display",d.shouldShowHotlist[a.hotlistId]?
"block":"none");qf("focused",b===d.focusedRowIndex);Af("title",a.name);gf("id","hotlist-item-"+a.hotlistId)("aria-checked",S6a(d.selectedHotlistMap[a.hotlistId]))("aria-disabled",Q6a(d,a));z(2);F("state",T6a(d.selectedHotlistMap[a.hotlistId]))("disabled",Q6a(d,a));z(2);Df(" ",a.name," ")}},V6a=function(a){a&1&&(G(0,"span"),R(1),H());a&2&&(a=O(2),z(1),Df(" (",a.filterText,")"))},W6a=function(a){if(a&1){var b=v();G(0,"div",21,22);M("click",function(){w(b);var c=O(2);return y(c.loadHotlist())})("keydown.enter",
function(){w(b);var c=O(2);return y(c.loadHotlist())});R(2,"Load hotlist from id ");G(3,"span");R(4);H()()}a&2&&(a=O(2),qf("focused",a.focusedRowIndex===a.choices.length+1),gf("aria-label","Load hotlist from"+a.filterText),z(4),Df("(",a.filterText,")"))},Y6a=function(a){if(a&1){var b=v();G(0,"div",23,24);M("click",function(){w(b);var c=O(2);return y(X6a(c))})("keydown.enter",function(){w(b);var c=O(2);return y(X6a(c))});R(2,"Apply");H()}a&2&&(a=O(2),qf("focused",a.focusedRowIndex===a.choices.length+
2))},Z6a=function(a){if(a&1){var b=v();G(0,"div",5)(1,"div",10,11);Q(3,U6a,5,11,"div",12);H()();I(4,"mat-divider");G(5,"div",13,14);M("click",function(){w(b);var c=O();return y(c.createHotlist())})("keydown.enter",function(){w(b);var c=O();return y(c.createHotlist())});R(7,"Create new hotlist ");Q(8,V6a,2,1,"span",15);H();Q(9,W6a,5,4,"div",16);Q(10,Y6a,3,2,"div",17)}a&2&&(a=O(),z(3),F("ngForOf",a.choices),z(2),qf("focused",a.focusedRowIndex===a.choices.length),F("disabled",!a.canCreate),gf("aria-label",
"Create new hotlist"+a.filterText),z(3),F("ngIf",!!a.filterText),z(1),F("ngIf",a.canLoad),z(1),F("ngIf",a.pendingChanges))},a7a=function(a){if(a&1){var b=v();G(0,"b-app-bar-bulk-edit-menus",6);M("onBulkEdit",function(d){w(b);var e=O();return y(e.bulkEdit(d))})("onQuickBulkEdit",function(d){w(b);var e=O();return y(e.quickBulkEdit(d))})("onBulkEditIssueRelation",function(d){w(b);var e=O();return y(e.bulkEditIssueRelation(d))})("onBulkMarkIssueRead",function(){w(b);var d=O();return y(d.bulkMarkIssueRead())});
S(1,"async");H()}if(a&2){a=O();var c;F("readStatePrompt",$6a(a))("enableBulkEstimatedEffortOption",null!==(c=T(1,2,a.enableBulkEstimatedEffortOption$))&&void 0!==c?c:!1)}},e7a=function(a){if(a&1){var b=v();G(0,"b-copy-issue-id-button",7);M("onClickCopyIssueIds",function(){w(b);var c=O();return y(b7a(c.copyIssueIdService,zp(c)))})("onClickCopyIssueShortLinks",function(){w(b);var c=O();return y(c7a(c.copyIssueIdService,zp(c)))})("onClickCopyAsIssueSearch",function(){w(b);var c=O();return y(d7a(c.copyIssueIdService,
zp(c)))});H()}a&2&&(a=O(),F("shortLinkPrefix",a.copyIssueIdService.shortLinkPrefix)("shouldShowCopyIssueShortLinks",a.activeSession.isInternalSession()))},f7a=function(a){if(a&1){var b=v();G(0,"div",8)(1,"b-hotlist-picker",9);M("onApply",function(c){w(b);var d=O();return y(d.handleHotlistPickerSave(c))})("onCreate",function(c){w(b);var d=O();return y(d.onCreateHotlist.emit(c))})("onLoad",function(c){w(b);var d=O();return y(d.onLoadHotlist.emit(c))});H()()}a&2&&(a=O(),z(1),F("selectedHotlistIds",a.hotlistIdMatrix)("choices",
a.hotlistChoices))},h7a=function(a){if(a&1){var b=v();G(0,"b-comment-box",16);M("commentChange",function(c){w(b);var d=O(2);return y(d.comment=c)})("onSubmit",function(){w(b);var c=O(2);return y(g7a(c))});H()}a&2&&(a=O(2),F("comment",a.comment)("showToolbar",!1))},i7a=function(a,b){a&1&&(G(0,"li"),R(1),I(2,"b-access-level-indicator",19),H());a&2&&(a=b.$implicit,z(1),Df(" ",a.path," "),z(1),F("accessLevel",a.accessLevel))},j7a=function(a){a&1&&(G(0,"div",17)(1,"div")(2,"strong"),R(3,"You are commenting on issues in components that have external viewers:"),
H()(),G(4,"ul"),Q(5,i7a,3,2,"li",18),H()());a&2&&(a=O(2),z(5),F("ngForOf",a.externalWarnings))},k7a=function(a){if(a&1){var b=v();G(0,"div",20)(1,"b-recaptcha",21);M("onUpdate",function(c){w(b);var d=O(2);return y(d.recaptchaResponse=c)});H()()}},l7a=function(a){a&1&&(G(0,"h1",10),R(1,"Add comment"),H(),G(2,"mat-dialog-content"),Q(3,h7a,1,2,"b-comment-box",11),Q(4,j7a,6,1,"div",12),H(),Q(5,k7a,2,0,"div",13),G(6,"mat-dialog-actions")(7,"button",14),R(8," Cancel "),H(),G(9,"button",15),R(10," Save "),
H()());a&2&&(a=O(),z(3),F("ngIf",a.comment),z(1),F("ngIf",0<a.externalWarnings.length),z(1),F("ngIf",a.enableRecaptcha),z(2),F("mat-dialog-close",!1),z(2),F("disabled",a.enableRecaptcha&&""===a.recaptchaResponse)("mat-dialog-close",!0))},n7a=function(a){for(var b=k(m7a),c=b.next();!c.done;c=b.next())if(c=c.value,c.accessLevel===a)return c.title;return Ap.title},o7a=function(a){a&1&&I(0,"mat-icon",10);a&2&&(a=O(),F("matTooltip",a.disabledDropdownTooltip))},p7a=function(a,b){if(a&1){var c=v();G(0,"button",
11);M("click",function(){var d=w(c).$implicit,e=O();e.selectedDisplay$.next(d);e.updatedAccessLimitLevel.emit(d.accessLevel);return y()});G(1,"div",12);I(2,"mat-icon",13);G(3,"span",14);R(4);H()();G(5,"div",15);R(6);H()()}a&2&&(a=b.$implicit,b=O(),z(2),F("svgIcon",a.icon),z(2),Df(" ",a.title," "),z(2),Df(" ",b.implicitAccessEnabled?a.descriptionWithExpandedAccess:a.descriptionNoExpandedAccess," "))},q7a=function(a){a&1&&(G(0,"span"),R(1,"Edit"),H())},r7a=function(a){a&1&&(G(0,"span"),R(1,"Cancel"),
H())},x7a=function(a){if(a&1){var b=v();J(0);G(1,"td")(2,"div")(3,"div",11);R(4);H();G(5,"div",12)(6,"a",13);R(7);H()()()();G(8,"td",3)(9,"mat-radio-button",14);M("change",function(d){w(b);var e=O(2);return y(s7a(e,d.value))});H()();G(10,"td",3)(11,"b-button",15);M("onAction",function(){w(b);var d=O().$implicit,e=O();return y(t7a(e,d))});Q(12,q7a,2,0,"span",9);Q(13,r7a,2,0,"span",9);H()();G(14,"td",3)(15,"b-button",16);M("onAction",function(){w(b);var d=O().$implicit,e=O();return y(u7a(e,d))});R(16,
" Delete ");H()();L()}if(a&2){a=O().$implicit;var c=O();z(3);qf("selected",v7a(c,a));z(1);Df(" ",a.name," ");z(2);F("href",w7a(c,a),Md);gf("aria-label",a.name+"- Click to create a new issue");z(1);Df(" ",w7a(c,a)," ");z(2);zf("id","template-default-radio-",a.index,"");F("checked",c.defaultIndex===a.index)("aria-label","Make template "+a.name+" as default template")("value",a.index);z(2);F("bAriaLabel",v7a(c,a)?"Cancel editing "+a.name:"Edit "+a.name);z(1);F("ngIf",!v7a(c,a));z(1);F("ngIf",v7a(c,a));
z(2);F("bAriaLabel","Delete "+a.name)("disabled",!(0<=a.index&&!c.templates[a.index].default))}},y7a=function(a){a&1&&(G(0,"h2",70),R(1," Create Template "),H())},z7a=function(a){a&1&&(G(0,"h2",70),R(1),H());a&2&&(a=O(2).$implicit,z(1),Ff(' Edit template "',a.name,'" ',a.editableTemplate.isDirty()?"(changed)":""," "))},B7a=function(a,b){if(a&1){var c=v();G(0,"button",71);M("click",function(){var e=w(c).$implicit,g=O(2).$implicit,h=O();g.issueType=e.value;return y(A7a(h))});R(1);H()}if(a&2){a=b.$implicit;
b=O(2).$implicit;var d;F("disabled",b.issueType===a.value)("matTooltip",null!==(d=a.altText)&&void 0!==d?d:"");z(1);Df(" ",a.displayText," ")}},C7a=function(a,b){if(a&1){var c=v();G(0,"button",72);M("click",function(){var d=w(c).$implicit,e=O(2).$implicit;e.editableTemplate.priority=d.value;e.editableTemplate.dirty=!0;return y()});R(1);H()}a&2&&(a=b.$implicit,b=O(2).$implicit,F("disabled",b.editableTemplate.priority===a.value),z(1),Df(" ",a.displayText," "))},D7a=function(a,b){if(a&1){var c=v();G(0,
"button",72);M("click",function(){var d=w(c).$implicit,e=O(2).$implicit;e.editableTemplate.severity=d.value;e.editableTemplate.dirty=!0;return y()});R(1);H()}a&2&&(a=b.$implicit,b=O(2).$implicit,F("disabled",b.editableTemplate.severity===a.value),z(1),Df(" ",a.displayText," "))},E7a=function(a,b){if(a&1){var c=v();G(0,"div",73)(1,"b-hotlist-chip",74);M("removeHotlist",function(){var d=w(c).$implicit,e=O(3);return y(e.removeHotlist(d.hotlistId))});H()()}a&2&&(a=b.$implicit,z(1),F("hotlist",a))},F7a=
function(a){a&1&&(G(0,"h3"),R(1,"Custom issue fields"),H())},G7a=function(a){if(a&1){var b=v();G(0,"input",82);M("ngModelChange",function(d){w(b);var e=O().$implicit,g=O(2).$implicit;return y(g.editableTemplate.customFieldValues[e.id].textValue=d)})("ngModelChange",function(){w(b);O(3).$implicit.editableTemplate.dirty=!0;return y()});H()}if(a&2){a=O().$implicit;var c=O(2).$implicit;jf("id","template-cf-",a.id,"");F("ngModel",c.editableTemplate.customFieldValues[a.id].textValue)}},H7a=function(a){if(a&
1){var b=v();G(0,"input",83);M("ngModelChange",function(d){w(b);var e=O().$implicit,g=O(2).$implicit;return y(g.editableTemplate.customFieldValues[e.id].numericValue=d)})("ngModelChange",function(){w(b);O(3).$implicit.editableTemplate.dirty=!0;return y()});H()}if(a&2){a=O().$implicit;var c=O(2).$implicit;jf("id","template-cf-",a.id,"");F("ngModel",c.editableTemplate.customFieldValues[a.id].numericValue)}},J7a=function(a){if(a&1){var b=v();G(0,"b-edit-field",84);M("valueChange",function(h){w(b);var l=
O().$implicit,q=O(2).$implicit,x=O();return y(x.setCustomField(q,l.id,h))});H()}if(a&2){a=O().$implicit;var c=O(2).$implicit,d=O(),e,g;jf("id","template-cf-",a.id,"");F("type",d.FieldType.ENUM)("name",a.name)("clearable",!0)("value",null!==(e=null==c.editableTemplate.customFieldValues[a.id]?null:c.editableTemplate.customFieldValues[a.id].enumValue)&&void 0!==e?e:null)("choices",null!==(g=a.enumFields)&&void 0!==g?g:If(6,I7a))}},K7a=function(a){if(a&1){var b=v();G(0,"bv2-input-date-picker",85);M("boundValueChange",
function(e){w(b);var g=O().$implicit,h=O(2).$implicit,l=O();return y(h.editableTemplate.customFieldValues[g.id].dateValue=l.getDateValue(e))})("boundValueChange",function(){w(b);O(3).$implicit.editableTemplate.dirty=!0;return y()});H()}if(a&2){a=O().$implicit;var c=O(2).$implicit,d;jf("id","template-cf-",a.id,"");F("boundValue",null!==(d=c.editableTemplate.customFieldValues[a.id].dateValue)&&void 0!==d?d:void 0)}},M7a=function(a){if(a&1){var b=v();G(0,"b-list-field",86);M("valuesChange",function(e){w(b);
var g=O().$implicit,h=O(2).$implicit,l=O();return y(l.setCustomField(h,g.id,e.values))});H()}if(a&2){a=O().$implicit;var c=O(2).$implicit,d=O();jf("id","template-cf-",a.id,"");F("defaultLineCount",2)("type",d.getListFieldType(a.type))("values",L7a(c.editableTemplate.customFieldValues[a.id]))("enumChoices",a.enumFields)("truncate",!0)}},N7a=function(a,b){a&1&&(G(0,"div")(1,"div",21)(2,"label",75),R(3),H()(),G(4,"div",76),Q(5,G7a,1,2,"input",77),Q(6,H7a,1,2,"input",78),Q(7,J7a,1,7,"b-edit-field",79),
Q(8,K7a,1,2,"bv2-input-date-picker",80),Q(9,M7a,1,6,"b-list-field",81),H()());a&2&&(a=b.$implicit,tf("cell-",a.cellType,""),z(2),zf("for","template-cf-",a.id,""),z(1),Ff("",a.name," (id=",a.id,")"),z(1),F("ngSwitch",a.type),z(1),F("ngSwitchCase","TEXT"),z(1),F("ngSwitchCase","NUMERIC"),z(1),F("ngSwitchCase","ENUM"),z(1),F("ngSwitchCase","DATE"))},S7a=function(a){if(a&1){var b=v();G(0,"td",17)(1,"div",18);Q(2,y7a,2,0,"h2",19);Q(3,z7a,2,2,"h2",19);G(4,"div",20)(5,"div",21)(6,"label",22);R(7,"Template Name");
H()();G(8,"input",23);M("ngModelChange",function(h){w(b);var l=O().$implicit;return y(l.editableTemplate.name=h)})("ngModelChange",function(){w(b);O().$implicit.editableTemplate.dirty=!0;return y()});H()();G(9,"div",20)(10,"div",21)(11,"label",24);R(12,"Description of Template");H()();G(13,"input",25);M("ngModelChange",function(h){w(b);var l=O().$implicit;return y(l.editableTemplate.description=h)})("ngModelChange",function(){w(b);O().$implicit.editableTemplate.dirty=!0;return y()});H()();G(14,"div",
26)(15,"h3");R(16," Standard issue fields ");H();G(17,"div",20)(18,"div",21)(19,"label",27);R(20,"Issue Access Level");H()();G(21,"b-issue-access-limits-dropdown",28);M("updatedAccessLimitLevel",function(h){w(b);var l=O().$implicit;return y(l.editableTemplate.onAccessLimitLevelSelected(h))});H()();G(22,"div",20)(23,"div",21)(24,"label",29);R(25,"Title");H()();G(26,"input",30);M("ngModelChange",function(h){w(b);var l=O().$implicit;return y(l.editableTemplate.title=h)})("ngModelChange",function(){w(b);
O().$implicit.editableTemplate.dirty=!0;return y()});H()();G(27,"div",31)(28,"div",21)(29,"label",32);R(30,"Type");H()();G(31,"button",33)(32,"span");R(33);H();I(34,"b-icon",34);H();G(35,"mat-menu",35,36);Q(37,B7a,2,3,"button",37);H()();G(38,"div",31)(39,"div",21)(40,"label",38);R(41,"Priority");H()();G(42,"button",39)(43,"span");R(44);H();I(45,"b-icon",34);H();G(46,"mat-menu",35,40);Q(48,C7a,2,2,"button",41);H()();G(49,"div",31)(50,"div",21)(51,"label",42);R(52,"Severity");H()();G(53,"button",43)(54,
"span");R(55);H();I(56,"b-icon",34);H();G(57,"mat-menu",35,44);Q(59,D7a,2,2,"button",41);H()();G(60,"div",45)(61,"div",21)(62,"label",46);R(63,"Default Hotlists");H()();G(64,"b-hotlist-picker",47);M("onApply",function(h){w(b);var l=O(2);return y(l.handleHotlistPickerSave(h))})("onCreate",function(h){w(b);var l=O(2);return y(l.createHotlist(h))})("onLoad",function(h){w(b);var l=O(2);return y(l.loadHotlist(h))});H();Q(65,E7a,2,1,"div",48);H();I(66,"div",49);G(67,"div",50)(68,"div",21)(69,"label",51);
R(70,"Assignee");H()();G(71,"input",52);M("ngModelChange",function(h){w(b);var l=O().$implicit;return y(l.editableTemplate.assignee=h)})("ngModelChange",function(){w(b);O().$implicit.editableTemplate.dirty=!0;return y()});H()();G(72,"div",50)(73,"div",21)(74,"label",53);R(75,"Verifier");H()();G(76,"input",54);M("ngModelChange",function(h){w(b);var l=O().$implicit;return y(l.editableTemplate.verifier=h)})("ngModelChange",function(){w(b);O().$implicit.editableTemplate.dirty=!0;return y()});H()();G(77,
"div",20)(78,"div",21)(79,"label",55);R(80,"Collaborators");H();I(81,"mat-icon",56);H();G(82,"input",57);M("ngModelChange",function(h){w(b);var l=O().$implicit;return y(O7a(l.editableTemplate,h))});H()();G(83,"div",20)(84,"div",21)(85,"label",58);R(86,"CC");H()();G(87,"input",59);M("ngModelChange",function(h){w(b);var l=O().$implicit;return y(P7a(l.editableTemplate,h))});H()();G(88,"div",20)(89,"div",21)(90,"label",60);R(91,"Initial Comment");H()();G(92,"textarea",61);M("ngModelChange",function(h){w(b);
var l=O().$implicit;return y(l.editableTemplate.comment=h)})("ngModelChange",function(){w(b);O().$implicit.editableTemplate.dirty=!0;return y()});R(93,"              ");H();G(94,"b-markdown-toggle",62);M("change",function(h){w(b);var l=O().$implicit;return y(l.editableTemplate.setFormattingMode(h))});H()();G(95,"div",20)(96,"div",21)(97,"label",63);R(98,"In Prod");H()();G(99,"b-slide-toggle",64);M("modelChange",function(){w(b);var h=O().$implicit.editableTemplate;h.inProd=!h.inProd;h.dirty=!0;return y()});
H()()();G(100,"div",65);Q(101,F7a,2,0,"h3",9);Q(102,N7a,10,11,"div",66);H();G(103,"div",67)(104,"b-button",68);M("onAction",function(){w(b);var h=O(2);return y(Q7a(h))});R(105," Save ");H();G(106,"b-button",69);M("onAction",function(){w(b);var h=O(2);return y(R7a(h))});R(107," Cancel ");H()()()()}if(a&2){var c=Cf(36),d=Cf(47),e=Cf(58);a=O().$implicit;var g=O();z(2);F("ngIf",a.editableTemplate.new);z(1);F("ngIf",!a.editableTemplate.new);z(5);F("ngModel",a.editableTemplate.name);z(5);F("ngModel",a.editableTemplate.description);
z(8);F("disabled",!1)("defaultAccessLimitLevel",a.editableTemplate.issueAccessLimitLevel)("implicitAccessEnabled",g.implicitAccessEnabled);z(5);F("ngModel",a.editableTemplate.title);z(5);F("matMenuTriggerFor",c);z(2);Ef(a.issueType);z(2);F("overlapTrigger",!0);z(2);F("ngForOf",g.issueTypeChoices);z(5);F("matMenuTriggerFor",d);z(2);Ef(a.editableTemplate.priority);z(2);F("overlapTrigger",!0);z(2);F("ngForOf",g.priorityChoices);z(5);F("matMenuTriggerFor",e);z(2);Ef(a.editableTemplate.severity);z(2);
F("overlapTrigger",!0);z(2);F("ngForOf",g.severityChoices);z(5);F("selectedHotlistIds",g.selectedHotlistIds)("choices",g.hotlists);z(1);F("ngForOf",g.selectedHotlists);z(6);F("bContactAutocomplete","SINGLE")("ngModel",a.editableTemplate.assignee);z(5);F("bContactAutocomplete","SINGLE")("ngModel",a.editableTemplate.verifier);z(6);F("bContactAutocomplete","MULTI")("ngModel",a.editableTemplate.collaborators.join(", "));z(5);F("bContactAutocomplete","MULTI")("ngModel",a.editableTemplate.cc.join(", "));
z(5);F("ngModel",a.editableTemplate.comment);z(2);F("initialValue",a.editableTemplate.formattingMode);z(5);F("model",a.editableTemplate.inProd);z(2);F("ngIf",0<g.customFieldRows.length);z(1);F("ngForOf",g.customFieldRows);z(2);F("disabled",!a.editableTemplate.isDirty())}},T7a=function(a,b){a&1&&(G(0,"tr"),Q(1,x7a,17,15,"ng-container",9),Q(2,S7a,108,37,"td",10),H());a&2&&(a=b.$implicit,z(1),F("ngIf",!a.editableTemplate),z(1),F("ngIf",!!a.editableTemplate))},U7a=function(a,b){a&1&&(G(0,"div",87),R(1),
H(),G(2,"div",88)(3,"button",89),R(4," Cancel "),H(),G(5,"button",90),R(6," Confirm "),H()());a&2&&(a=b.$implicit,z(1),Df(' Are you sure you want to delete the template "',a.name,'"? '),z(2),F("mat-dialog-close",!1),z(2),F("mat-dialog-close",!0))},V7a=function(a,b){a&1&&(G(0,"div",87),R(1),H(),G(2,"div",88)(3,"button",91),R(4," Cancel "),H(),G(5,"button",91),R(6," Don't Save "),H(),G(7,"button",92),R(8," Save "),H()());a&2&&(a=b.$implicit,z(1),Df(' Do you want to save changes to template "',a.name,
'" before closing? '),z(2),F("mat-dialog-close",void 0),z(2),F("mat-dialog-close",!1),z(2),F("mat-dialog-close",!0))},X7a=function(a){if("CUSTOM_FIELD"===a.type)return new Bp({name:a.customFieldId?String(a.customFieldId):a.customFieldName||"",label:a.customFieldName||"",fullLabel:a.customFieldName||"",isCustomField:!0,sortable:void 0!==a.customFieldId,tooltip:""});a=Qh(a.type);"canonicalIssueId"===a&&(a="duplicateOfIssueId");return W7a.includes(a)?Cp(a):null},Z7a=function(a){return Y7a(a.map(X7a).filter(function(b){return!!b}))},
$7a=function(a){return a.map(function(b){b.isCustomField?b={type:"CUSTOM_FIELD",customFieldId:Rh(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})},Y7a=function(a){return ql(a,function(b){return b.name})},Cp=function(a){var b={name:a,label:a.toUpperCase()},c=a8a[a];c?Object.assign(b,c):W7a.includes(a)||(b.isCustomField=!0);b.fullLabel=b.fullLabel||
b.label.charAt(0).toUpperCase()+b.label.slice(1).toLowerCase();return new Bp(b)},c8a=function(a,b){b=void 0===b?document.documentElement:b;return(0,E.concat)((0,E.defer)(function(){return(0,E.of)(b.querySelector(a))}),b8a(b,{childList:!0,subtree:!0}).pipe(ye(function(c){return c.some(function(d){return 0<d.addedNodes.length})}),D(function(){return b.querySelector(a)}))).pipe(ye(pi),Ge(),D(function(c){return c}))},b8a=function(a,b){return new E.Observable(function(c){var d=new MutationObserver(function(e){c.next(e)});
d.observe(a,b);return function(){d.disconnect()}})},Dp=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)}}},d8a=function(a,b){a&1&&I(0,"col");a&2&&tf("",b.$implicit.name,"-col")},e8a=function(a){a&1&&vf(0)},g8a=function(a,b){a&1&&(J(0),Q(1,e8a,1,0,"ng-container",8),L());a&2&&(a=b.$implicit,b=O(),z(1),F("ngTemplateOutlet",b.headerCellTemplates[a.name]||b.defaultHeaderCellTemplate)("ngTemplateOutletContext",Jf(2,f8a,
a)))},h8a=function(a){a&1&&vf(0)},j8a=function(a,b){a&1&&(J(0),Q(1,h8a,1,0,"ng-container",8),L());if(a&2){a=b.$implicit;b=b.index;var c=O(),d=c.$implicit;c=c.index;var e=O().ngIf;z(1);F("ngTemplateOutlet",e[b])("ngTemplateOutletContext",Lf(i8a,d,a,c))}},k8a=function(a,b){if(a&1){var c=v();G(0,"tr",10,11);M("click",function(){var e=w(c).index,g=O(2);g.focusedRowIndex!==e&&(g.focusedRowIndex=e,g.focusedRowIndexChange.emit(e));return y()})("focus",function(){var e=w(c).index,g=O(2);g.focusedRowIndex!==
e&&(g.focusedRowIndex=e,g.focusedRowIndexChange.emit(e));return y()});Q(2,j8a,2,6,"ng-container",4);H()}if(a&2){a=b.$implicit;b=b.index;var d=O(2);qf("selected",a.selected)("unread",!d.readUnreadOptOut&&!a.isRead&&!a.isClosed)("closed",a.isClosed)("grid-focus",d.focusedRowIndex===b);gf("data-row-id",a.id)("data-is-read",a.isRead)("aria-label",d.renderRowLabel(a,b)+(a.selected?", row starred":""));z(2);F("ngForOf",d.columns)}},l8a=function(a){a&1&&(J(0),Q(1,k8a,3,12,"tr",9),L());a&2&&(a=O(),z(1),F("ngForOf",
a.list))},m8a=function(a,b){a&1&&(G(0,"th"),I(1,"pop-grid-default-th",12),H());a&2&&(a=b.column,z(1),F("column",a))},n8a=function(a,b){a&1&&(G(0,"td"),I(1,"pop-grid-default-cell",13),H());a&2&&(a=b.row,b=b.column,z(1),F("row",a)("column",b))},o8a=function(a){if(a&1){var b=v();G(0,"b-sortable-header",3);M("sortChanged",function(c){w(b);var d=O();d.grid&&d.grid.sortChange.emit(c);return y()});H()}a&2&&(a=O(),F("columnLabel",a.column.label)("columnName",a.column.name)("defaultSortDirection",a.column.defaultSortDirection||
"ASC")("sort",null==a.grid?null:a.grid.sort)("matTooltip",a.column.tooltip||""))},p8a=function(a){a&1&&(G(0,"span",6),R(1),H());a&2&&(a=O(2),z(1),Df("column-",a.column.name,""))},q8a=function(a){a&1&&(G(0,"div",4),Q(1,p8a,2,1,"span",5),R(2),H());a&2&&(a=O(),gf("aria-label",a.column.label),z(1),F("ngIf",!a.column.label),z(1),Df(" ",a.column.label," "))},r8a=function(a){if(a&1){var b=v();G(0,"div",13,14);M("menuOpened",function(){w(b);var d=O();return y(d.menuOpen=!0)})("menuClosed",function(){w(b);
var d=O();return y(d.menuOpen=!1)})("keydown.enter",function(d){w(b);Cf(1).openMenu();d.preventDefault();return y(d.stopPropagation())})("keydown.space",function(){w(b);var d=Cf(1);return y(d.openMenu())});H()}if(a&2){a=O();var c=Cf(5);qf("columnpicker-button-active",a.menuOpen);jf("aria-label","",a.column.fullLabel," column configuration");F("matMenuTriggerFor",c)}},u8a=function(a,b){if(a&1){var c=v();G(0,"button",15);M("click",function(){var d=w(c).$implicit,e=O();return y(s8a(e,d.name))});I(1,
"b-icon",16);G(2,"span",17);R(3);H()()}a&2&&(a=b.$implicit,b=O(),qf("b-menu-item-checked",t8a(a.name).get(b.listViewPrefs)),z(3),Df(" ",a.menuItem," "))},v8a=function(a){a&1&&I(0,"mat-divider")},w8a=function(a){if(a&1){var b=v();G(0,"button",22);M("click",function(){w(b);var c=O().$implicit,d=O().before,e=O();return y(e.add(c,d))})("keydown.enter",function(c){w(b);var d=O().$implicit,e=O().before;O().add(d,e);c.preventDefault();return y(c.stopPropagation())});R(1);H()}a&2&&(a=O().$implicit,F("matTooltip",
a.tooltip),z(1),Df(" ",a.fullLabel," "))},y8a=function(a){a&1&&(G(0,"button",9)(1,"span"),R(2),H()());if(a&2){a=O().$implicit;var b=O().before;O();var c=Cf(18);F("matMenuTriggerFor",c)("matMenuTriggerData",Kf(3,x8a,a.columns,b));z(2);Ef(a.label)}},z8a=function(a,b){a&1&&(J(0),Q(1,w8a,2,2,"button",20),Q(2,y8a,3,6,"button",21),L());a&2&&(a=b.$implicit,b=O(2),z(1),F("ngIf",b.isIssueGridColumn(a)),z(1),F("ngIf",!b.isIssueGridColumn(a)))},B8a=function(a){if(a&1){var b=v();G(0,"button",18);M("click",function(){var c=
w(b).before,d=O();return y(A8a(d,c))});R(1," Custom Field ");H();I(2,"mat-divider");Q(3,z8a,3,2,"ng-container",19)}a&2&&(a=O(),z(3),F("ngForOf",a.currentAvailableItems))},C8a=function(a,b){if(a&1){var c=v();G(0,"button",24);M("click",function(){var d=w(c).$implicit,e=O().before,g=O();return y(g.add(d,e))})("keydown.enter",function(d){var e=w(c).$implicit,g=O().before;O().add(e,g);d.preventDefault();return y(d.stopPropagation())});R(1);H()}a&2&&(a=b.$implicit,z(1),Df(" ",a.fullLabel," "))},D8a=function(a,
b){a&1&&Q(0,C8a,2,1,"button",23);a&2&&F("ngForOf",b.columns)},t8a=function(a){switch(a){case "id-link":return{get:function(b){var c;return"link"===(null==(c=b.modeForField)?void 0:c.id)},set:function(b,c){b.modeForField=b.modeForField||{};b.modeForField.id=c?"link":void 0}};case "id-copy":return{get:function(b){var c;return"copy"===(null==(c=b.modeForField)?void 0:c.id)},set:function(b,c){b.modeForField=b.modeForField||{};b.modeForField.id=c?"copy":void 0}};case "showHotlists":return{get:function(b){return b.showHotlists},
set:function(b,c){b.showHotlists=c}};case "wrapTitles":return{get:function(b){return b.wrapTitles},set:function(b,c){b.wrapTitles=c}};case "wrapComponents":return{get:function(b){return b.wrapComponents},set:function(b,c){b.wrapComponents=c}};case "showStatusIcons":return{get:function(b){var c;return"icon"===(null==(c=b.fieldStatus)?void 0:c.mode)},set:function(b,c){var d;b.fieldStatus=null!=(d=b.fieldStatus)?d:{};b.fieldStatus.mode=c?"icon":void 0}};case "status-plain":return{get:function(b){var c;
return"plain"===(null==(c=b.fieldStatus)?void 0:c.mode)},set:function(b,c){var d;b.fieldStatus=null!=(d=b.fieldStatus)?d:{};b.fieldStatus.mode=c?"plain":void 0}};case "rtlComponentPath":return{get:function(b){return b.rtlComponentPath},set:function(b,c){b.rtlComponentPath=c}};default:throw Error("ne`"+a);}},E8a=function(a){a&1&&(J(0),R(1," This issue has not been modified since "),I(2,"b-formatted-date-time",4),R(3," and is scheduled for deletion on "),G(4,"strong"),I(5,"b-formatted-date-time",4),
H(),R(6,". "),L());a&2&&(a=O(2),z(2),F("mode","date")("timestamp",a.modifiedTime),z(3),F("mode","date")("timestamp",a.retentionExpireTime))},F8a=function(a){a&1&&R(0," This issue is retained indefinitely. ")},G8a=function(a){a&1&&(J(0),Q(1,E8a,7,4,"ng-container",1),Q(2,F8a,1,0,"ng-template",null,2,Zf),G(4,"a",3),R(5,"Learn more"),H(),L());if(a&2){var b=Cf(3);a=O();z(1);F("ngIf",a.retentionState.retentionPeriod)("ngIfElse",b);z(3);F("href",a.documentationLink,Md)}},H8a=function(a){a&1&&(G(0,"b-base-chip",
1)(1,"div",2),I(2,"retention-text",3),H(),G(3,"div",4),I(4,"retention-help-text",5),H()());a&2&&(a=O(),F("compactMode",a.compactMode)("labelClass",a.dangerZone?"danger":"expiring")("labelOnlyMode",a.labelOnlyMode),z(2),F("retentionState",a.retentionState)("compactMode",a.compactMode),z(2),F("retentionState",a.retentionState)("modifiedTime",a.modifiedTime))},I8a=function(a){var b=void 0===b?new Date:b;var c=Zm(Ym(a.scheduledDeletionTime));b=b.getTime();a=(a=Nza(a.retentionPeriod))?1E3*a.getSeconds()+
(a.getNanos()||0)/1E6:0;return b>=c-Math.max(12096E5,.2*a)},J8a=function(a){a&1&&vf(0)},K8a=function(a,b){a&1&&(G(0,"th",22),Q(1,J8a,1,0,"ng-container",23),H());a&2&&(a=b.column,b=O(),gf("data-stable-column-name",a.name),z(1),F("ngIf",b.isIssueGridColumn(a)))},L8a=function(a){a&1&&vf(0)},M8a=function(a,b){a&1&&(G(0,"th",24),Q(1,L8a,1,0,"ng-container",23),H());a&2&&(a=b.column,b=O(),gf("data-stable-column-name",a.name),z(1),F("ngIf",b.isIssueGridColumn(a)))},O8a=function(a){if(a&1){var b=v();J(0);
G(1,"mat-pseudo-checkbox",26);M("click",function(c){w(b);var d=O(2);c.stopPropagation();return y(d.toggleAllIssueSelection())})("keydown.enter",function(c){w(b);var d=O(2);c.stopPropagation();return y(d.toggleAllIssueSelection())})("keydown.space",function(c){w(b);var d=O(2);c.stopPropagation();return y(d.toggleAllIssueSelection())});H();L()}a&2&&(a=O(2),z(1),F("state",a.getHeaderCheckboxState()),gf("aria-checked",N8a(a)))},P8a=function(a,b){a&1&&(G(0,"th",25),Q(1,O8a,2,2,"ng-container",23),H());
a&2&&(a=b.column,b=O(),gf("data-stable-column-name",a.name),z(1),F("ngIf",b.isIssueGridColumn(a)))},Q8a=function(a){a&1&&vf(0)},R8a=function(a,b){a&1&&(G(0,"th"),Q(1,Q8a,1,0,"ng-container",23),H());a&2&&(a=b.column,b=O(),gf("data-stable-column-name",a.name),z(1),F("ngIf",b.isIssueGridColumn(a)))},S8a=function(a){a&1&&(J(0),I(1,"pop-grid-default-th",27),L());a&2&&(a=O().column,z(1),F("column",a))},T8a=function(a,b){a&1&&(G(0,"th"),Q(1,S8a,2,1,"ng-container",23),H());a&2&&(a=b.column,b=O(),gf("data-stable-column-name",
a.name),z(1),F("ngIf",b.isIssueGridColumn(a)))},U8a=function(a){if(a&1){var b=v();G(0,"b-column-picker",30);M("selectedColumnsChange",function(d){w(b);var e=O(3);e.columns=d;e.columnsChange.emit(d);e.cdr.detectChanges();return y()});H()}if(a&2){a=O(2).column;var c=O();F("column",a)("availableColumns",c.availableColumns)("selectedColumns",c.columns)}},V8a=function(a){a&1&&I(0,"pop-grid-default-th",27);a&2&&(a=O(2).column,F("column",a))},W8a=function(a){a&1&&(J(0),Q(1,U8a,1,3,"b-column-picker",28),
Q(2,V8a,1,1,"pop-grid-default-th",29),L());a&2&&(a=O(2),z(1),F("ngIf",a.enableColumnSaving),z(1),F("ngIf",!a.enableColumnSaving))},X8a=function(a,b){a&1&&(G(0,"th"),Q(1,W8a,3,2,"ng-container",23),H());a&2&&(a=b.column,b=O(),gf("data-stable-column-name",a.name),z(1),F("ngIf",b.isIssueGridColumn(a)))},Y8a=function(a){a&1&&vf(0)},Z8a=function(a){a&1&&(G(0,"td",22),Q(1,Y8a,1,0,"ng-container",23),H());a&2&&(O(),z(1),F("ngIf",!0))},$8a=function(a){a&1&&vf(0)},a9a=function(a){a&1&&(G(0,"td",31),Q(1,$8a,
1,0,"ng-container",23),H());a&2&&(O(),z(1),F("ngIf",!0))},b9a=function(a){if(a&1){var b=v();J(0);G(1,"mat-pseudo-checkbox",32);M("click",function(c){w(b);var d=O(),e=d.index;d=d.row;var g=O();c.stopPropagation();return y(g.onCheckboxClicked(c,e,d))});H();L()}a&2&&(a=O().row,z(1),F("state",a.selected?"checked":"unchecked"),gf("aria-label","Select issue "+a.issueId)("aria-checked",a.selected))},c9a=function(a){a&1&&(G(0,"td",25),Q(1,b9a,2,3,"ng-container",23),H());a&2&&(O(),z(1),F("ngIf",!0))},d9a=
function(a){if(a&1){var b=v();J(0);G(1,"b-star-toggle",34);M("starClicked",function(){w(b);var d=O().row,e=O();return y(e.toggleStar(d))});H();L()}if(a&2){a=O().row;var c=O();z(1);F("starred",a.starred)("disabled",c.starInProgress[a.issueId])("starMessage","Star this issue")("unStarMessage","Un-star this issue")}},e9a=function(a){a&1&&(G(0,"td",33),Q(1,d9a,2,4,"ng-container",23),H());a&2&&(O(),z(1),F("ngIf",!0))},f9a=function(a){a&1&&(J(0),G(1,"span"),R(2),H(),L());a&2&&(a=O().row,z(1),gf("title",
a.position),z(1),Df(" ",a.position," "))},g9a=function(a){a&1&&(G(0,"td"),Q(1,f9a,3,2,"ng-container",23),H());a&2&&(O(),z(1),F("ngIf",!0))},h9a=function(a){a&1&&(J(0),G(1,"a",39),R(2),H(),L());if(a&2){a=O(2).row;var b=O();z(1);F("href",b.paths.editIssue(a.issueId),Md);gf("title",a.title);z(1);Df(" ",a.issueId," ")}},i9a=function(a){a&1&&(J(0),G(1,"b-issue-id-picker",40),M("click",function(b){return b.stopPropagation()}),H(),L());a&2&&(a=O(2).row,z(1),F("issueId",a.issueId)("showCopyOptions",!1),gf("title",
a.title))},j9a=function(a){a&1&&(J(0)(1,36),Q(2,h9a,3,3,"ng-container",37),Q(3,i9a,2,3,"ng-container",38),L()());a&2&&(a=O(2),z(1),F("ngSwitch",null==a.listViewPrefs?null:null==a.listViewPrefs.modeForField?null:a.listViewPrefs.modeForField.id),z(2),F("ngSwitchCase","copy"))},k9a=function(a){a&1&&(G(0,"td",35),Q(1,j9a,4,2,"ng-container",23),H());a&2&&(O(),z(1),F("ngIf",!0))},l9a=function(a){a&1&&I(0,"archived-issue-indicator")},m9a=function(a,b){a&1&&I(0,"b-hotlist-chip-smart",51);a&2&&F("id",b.$implicit)("removable",
!1)},n9a=function(a){a&1&&(G(0,"div",49),Q(1,m9a,1,2,"b-hotlist-chip-smart",50),H());a&2&&(a=O(2).row,z(1),F("ngForOf",a.hotlistId))},o9a=function(a){a&1&&(J(0),G(1,"div",42),Q(2,l9a,1,0,"archived-issue-indicator",23),I(3,"b-access-level-indicator",43)(4,"b-tracker-chip-smart",44)(5,"b-retention-chip",45),G(6,"div",46)(7,"a",47),R(8),H()(),Q(9,n9a,2,1,"div",48),H(),L());if(a&2){a=O().row;var b=O();z(1);qf("bv2-grid-cell-flex-wrap",b.listViewPrefs&&b.listViewPrefs.wrapTitles);z(1);F("ngIf",a.archived);
z(1);F("accessLevel",a.accessLevel)("compactMode",!0);z(1);F("trackerId",a.trackerId)("compactMode",!0);z(1);F("retentionState",a.retentionState)("showOnlyInDangerZone",!0)("compactMode",!0)("modifiedTime",a.modifiedTime);z(2);F("href",b.paths.editIssue(a.issueId),Md);gf("title",a.title);z(1);Df(" ",a.title," ");z(1);F("ngIf",b.listViewPrefs&&b.listViewPrefs.showHotlists)}},p9a=function(a){a&1&&(G(0,"td",41),Q(1,o9a,10,15,"ng-container",23),H());a&2&&(a=O(),qf("bv2-grid-cell-variable-height",a.listViewPrefs&&
a.listViewPrefs.wrapTitles),z(1),F("ngIf",!0))},r9a=function(a){a&1&&(J(0),G(1,"div",53),R(2),H(),L());if(a&2){a=O().row;var b=O();z(1);F("ngClass",Lf(q9a,b.isLowPriority(a),b.isHighPriority(a),b.isP0Priority(a)));z(1);Df(" P",a.priority," ")}},s9a=function(a){a&1&&(G(0,"td",52),Q(1,r9a,3,6,"ng-container",23),H());a&2&&(O(),z(1),F("ngIf",!0))},t9a=function(a){a&1&&(J(0),G(1,"div",53),R(2),H(),L());a&2&&(a=O().row,O(),z(1),F("ngClass",Lf(q9a,2<=Number(a.severity),2>Number(a.severity),0===Number(a.severity))),
z(1),Df(" S",a.severity," "))},u9a=function(a){a&1&&(G(0,"td",54),Q(1,t9a,3,6,"ng-container",23),H());a&2&&(O(),z(1),F("ngIf",!0))},v9a=function(a){a&1&&I(0,"mat-icon",59);if(a&2){a=O().$implicit;var b=O(3);F("svgIcon",b.STATUS_ICON[a])}},w9a=function(a){a&1&&(J(0),R(1),L());if(a&2){a=O().$implicit;var b=O(3);z(1);Ef(b.STATUS_TERSE[a])}},x9a=function(a){a&1&&(G(0,"span"),R(1),H());if(a&2){a=O().$implicit;var b=O(3);tf("chippy status-",a," margin-left-auto");z(1);Df(" ",b.STATUS_TERSE[a]," ")}},y9a=
function(a,b){a&1&&(J(0),G(1,"span",56),Q(2,v9a,1,1,"mat-icon",57),Q(3,w9a,2,1,"ng-container",38),Q(4,x9a,2,4,"span",58),H(),L());a&2&&(a=b.$implicit,b=O(3),z(1),F("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]),z(1),F("ngSwitchCase","icon"),z(1),F("ngSwitchCase","plain"))},z9a=function(a){a&1&&(J(0),Q(1,y9a,5,4,"ng-container",23),L());if(a&2){a=O().row;var b=
O();z(1);F("ngIf",b.convertIssueStatusStrToTag(a.status))}},A9a=function(a){a&1&&(G(0,"td",55),Q(1,z9a,2,1,"ng-container",23),H());a&2&&(O(),z(1),F("ngIf",!0))},B9a=function(a){a&1&&(J(0),R(1),S(2,"enumToHuman"),L());a&2&&(a=O().row,z(1),Df(" ",T(2,1,a.type)," "))},C9a=function(a){a&1&&(G(0,"td",60),Q(1,B9a,3,3,"ng-container",23),H());a&2&&(O(),z(1),F("ngIf",!0))},D9a=function(a){a&1&&(G(0,"b-person-hovercard",63),S(1,"omitObfuscatedEmail"),R(2),H());a&2&&(a=O(2).row,F("email",T(1,2,a.reporter)),
z(2),Df(" ",a.reporter," "))},E9a=function(a){a&1&&(G(0,"span"),R(1,"--"),H())},F9a=function(a){a&1&&(J(0),Q(1,D9a,3,4,"b-person-hovercard",62),S(2,"omitObfuscatedEmail"),Q(3,E9a,2,0,"span",23),L());a&2&&(a=O().row,z(1),F("ngIf",T(2,2,a.reporter)),z(2),F("ngIf",!a.reporter))},G9a=function(a){a&1&&(G(0,"td",61),Q(1,F9a,4,4,"ng-container",23),H());a&2&&(O(),z(1),F("ngIf",!0))},H9a=function(a){a&1&&(G(0,"b-person-hovercard",63),S(1,"omitObfuscatedEmail"),R(2),H());a&2&&(a=O(2).row,F("email",T(1,2,a.assignee)),
z(2),Df(" ",a.assignee," "))},I9a=function(a){a&1&&(G(0,"span"),R(1,"--"),H())},J9a=function(a){a&1&&(J(0),Q(1,H9a,3,4,"b-person-hovercard",62),S(2,"omitObfuscatedEmail"),Q(3,I9a,2,0,"span",23),L());a&2&&(a=O().row,z(1),F("ngIf",T(2,2,a.assignee)),z(2),F("ngIf",!a.assignee))},K9a=function(a){a&1&&(G(0,"td",61),Q(1,J9a,4,4,"ng-container",23),H());a&2&&(O(),z(1),F("ngIf",!0))},L9a=function(a){a&1&&(G(0,"b-person-hovercard",63),S(1,"omitObfuscatedEmail"),R(2),H());a&2&&(a=O(2).row,F("email",T(1,2,a.verifier)),
z(2),Df(" ",a.verifier," "))},M9a=function(a){a&1&&(G(0,"span"),R(1,"--"),H())},N9a=function(a){a&1&&(J(0),Q(1,L9a,3,4,"b-person-hovercard",62),S(2,"omitObfuscatedEmail"),Q(3,M9a,2,0,"span",23),L());a&2&&(a=O().row,z(1),F("ngIf",T(2,2,a.verifier)),z(2),F("ngIf",!a.verifier))},O9a=function(a){a&1&&(G(0,"td",61),Q(1,N9a,4,4,"ng-container",23),H());a&2&&(O(),z(1),F("ngIf",!0))},P9a=function(a){a&1&&(J(0),G(1,"span"),S(2,"arrayToHuman"),R(3),S(4,"arrayToHuman"),H(),L());a&2&&(a=O().row,z(1),gf("title",
T(2,2,a.cc)),z(2),Df(" ",T(4,4,a.cc)," "))},Q9a=function(a){a&1&&(G(0,"td",61),Q(1,P9a,5,6,"ng-container",23),H());a&2&&(O(),z(1),F("ngIf",!0))},R9a=function(a){a&1&&(J(0),G(1,"span"),S(2,"arrayToHuman"),R(3),S(4,"arrayToHuman"),H(),L());a&2&&(a=O().row,z(1),gf("title",T(2,2,a.changelist)),z(2),Df(" ",T(4,4,a.changelist)," "))},S9a=function(a){a&1&&(G(0,"td",61),Q(1,R9a,5,6,"ng-container",23),H());a&2&&(O(),z(1),F("ngIf",!0))},T9a=function(a){a&1&&(J(0),G(1,"span"),S(2,"arrayToHuman"),R(3),S(4,"arrayToHuman"),
H(),L());a&2&&(a=O().row,z(1),gf("title",T(2,2,a.postmortem)),z(2),Df(" ",T(4,4,a.postmortem)," "))},U9a=function(a){a&1&&(G(0,"td",61),Q(1,T9a,5,6,"ng-container",23),H());a&2&&(O(),z(1),F("ngIf",!0))},V9a=function(a){a&1&&vf(0)},W9a=function(a){a&1&&(G(0,"span"),R(1,", "),H())},Y9a=function(a,b){a&1&&(J(0),Q(1,V9a,1,0,"ng-container",65),Q(2,W9a,2,0,"span",23),L());if(a&2){a=b.$implicit;b=b.last;O(3);var c=Cf(48);z(1);F("ngTemplateOutlet",c)("ngTemplateOutletContext",Jf(3,X9a,a));z(1);F("ngIf",!b)}},
Z9a=function(a){a&1&&(J(0),Q(1,Y9a,3,5,"ng-container",64),L());a&2&&(a=O().row,z(1),F("ngForOf",a.blockingIssueId))},$9a=function(a){a&1&&(G(0,"td",61),Q(1,Z9a,2,1,"ng-container",23),H());a&2&&(O(),z(1),F("ngIf",!0))},a$a=function(a){a&1&&vf(0)},b$a=function(a){a&1&&(G(0,"span"),R(1,", "),H())},c$a=function(a,b){a&1&&(J(0),Q(1,a$a,1,0,"ng-container",65),Q(2,b$a,2,0,"span",23),L());if(a&2){a=b.$implicit;b=b.last;O(3);var c=Cf(48);z(1);F("ngTemplateOutlet",c)("ngTemplateOutletContext",Jf(3,X9a,a));
z(1);F("ngIf",!b)}},d$a=function(a){a&1&&(J(0),Q(1,c$a,3,5,"ng-container",64),L());a&2&&(a=O().row,z(1),F("ngForOf",a.blockedByIssueId))},e$a=function(a){a&1&&(G(0,"td",61),Q(1,d$a,2,1,"ng-container",23),H());a&2&&(O(),z(1),F("ngIf",!0))},f$a=function(a){a&1&&vf(0)},g$a=function(a){a&1&&(J(0),Q(1,f$a,1,0,"ng-container",65),L());if(a&2){a=O(2).row;O();var b=Cf(48);z(1);F("ngTemplateOutlet",b)("ngTemplateOutletContext",Jf(2,X9a,a.duplicateOfIssueId))}},h$a=function(a){a&1&&(J(0),Q(1,g$a,2,4,"ng-container",
23),L());a&2&&(a=O().row,z(1),F("ngIf",a.duplicateOfIssueId))},i$a=function(a){a&1&&(G(0,"td",61),Q(1,h$a,2,1,"ng-container",23),H());a&2&&(O(),z(1),F("ngIf",!0))},j$a=function(a){a&1&&(J(0),I(1,"b-formatted-date-time",67),L());a&2&&(a=O().row,z(1),F("timestamp",a.createdTime))},k$a=function(a){a&1&&(G(0,"td",66),Q(1,j$a,2,1,"ng-container",23),H());a&2&&(O(),z(1),F("ngIf",!0))},l$a=function(a){a&1&&(J(0),I(1,"b-formatted-date-time",67),L());a&2&&(a=O().row,z(1),F("timestamp",a.modifiedTime))},m$a=
function(a){a&1&&(G(0,"td",66),Q(1,l$a,2,1,"ng-container",23),H());a&2&&(O(),z(1),F("ngIf",!0))},n$a=function(a){a&1&&(J(0),I(1,"b-formatted-date-time",67),L());a&2&&(a=O().row,z(1),F("timestamp",a.resolvedTime))},o$a=function(a){a&1&&(G(0,"td",66),Q(1,n$a,2,1,"ng-container",23),H());a&2&&(O(),z(1),F("ngIf",!0))},p$a=function(a){a&1&&(J(0),I(1,"b-formatted-date-time",67),L());a&2&&(a=O().row,z(1),F("timestamp",a.verifiedTime))},q$a=function(a){a&1&&(G(0,"td",66),Q(1,p$a,2,1,"ng-container",23),H());
a&2&&(O(),z(1),F("ngIf",!0))},r$a=function(a){a&1&&(J(0),G(1,"span"),S(2,"arrayToHuman"),R(3),S(4,"arrayToHuman"),H(),L());a&2&&(a=O().row,z(1),gf("title",T(2,2,a.foundInVersion)),z(2),Df(" ",T(4,4,a.foundInVersion)," "))},s$a=function(a){a&1&&(G(0,"td",61),Q(1,r$a,5,6,"ng-container",23),H());a&2&&(O(),z(1),F("ngIf",!0))},t$a=function(a){a&1&&(J(0),G(1,"span"),S(2,"arrayToHuman"),R(3),S(4,"arrayToHuman"),H(),L());a&2&&(a=O().row,z(1),gf("title",T(2,2,a.targetedToVersion)),z(2),Df(" ",T(4,4,a.targetedToVersion),
" "))},u$a=function(a){a&1&&(G(0,"td",61),Q(1,t$a,5,6,"ng-container",23),H());a&2&&(O(),z(1),F("ngIf",!0))},v$a=function(a){a&1&&(J(0),G(1,"span"),S(2,"arrayToHuman"),R(3),S(4,"arrayToHuman"),H(),L());a&2&&(a=O().row,z(1),gf("title",T(2,2,a.verifiedInVersion)),z(2),Df(" ",T(4,4,a.verifiedInVersion)," "))},w$a=function(a){a&1&&(G(0,"td",61),Q(1,v$a,5,6,"ng-container",23),H());a&2&&(O(),z(1),F("ngIf",!0))},x$a=function(a){a&1&&(J(0),R(1),S(2,"yesNo"),L());a&2&&(a=O().row,z(1),Df(" ",T(2,1,a.inProd),
" "))},y$a=function(a){a&1&&(G(0,"td",61),Q(1,x$a,3,3,"ng-container",23),H());a&2&&(O(),z(1),F("ngIf",!0))},z$a=function(a){a&1&&(J(0),R(1),S(2,"yesNo"),L());a&2&&(a=O().row,z(1),Df(" ",T(2,1,a.archived)," "))},A$a=function(a){a&1&&(G(0,"td",61),Q(1,z$a,3,3,"ng-container",23),H());a&2&&(O(),z(1),F("ngIf",!0))},B$a=function(a){a&1&&(J(0),G(1,"div",42)(2,"div",46)(3,"span"),R(4),H()()(),L());if(a&2){a=O().row;var b=O();z(3);gf("title",b.getComponentPath(a.componentPath));z(1);Ef(b.getComponentPath(a.componentPath))}},
D$a=function(a){a&1&&(G(0,"td",68),Q(1,B$a,5,2,"ng-container",23),H());if(a&2){a=O();var b;var c=!(null==(b=a.listViewPrefs)||!b.rtlComponentPath);F("ngClass",Kf(2,C$a,a.listViewPrefs&&a.listViewPrefs.wrapComponents,c));z(1);F("ngIf",!0)}},E$a=function(a){a&1&&(G(0,"slo-status-card",71),I(1,"b-aggregated-slo-status-indicator",72),H());a&2&&(a=O(2).row,F("sloId",a.sloId)("sloStatus",a.sloStatus)("sloStartTime",a.sloStartTime),z(1),F("sloStatus",a.sloStatus)("sloStartTime",a.sloStartTime))},F$a=function(a){a&
1&&(J(0),Q(1,E$a,2,5,"slo-status-card",70),L());a&2&&(a=O().row,z(1),F("ngIf",a.sloStatus))},G$a=function(a){a&1&&(G(0,"td",69),Q(1,F$a,2,1,"ng-container",23),H());a&2&&(O(),z(1),F("ngIf",!0))},H$a=function(a){a&1&&(G(0,"slo-status-card",74),I(1,"b-slo-time-indicator",75),H());a&2&&(a=O(2).row,F("sloId",a.sloId)("sloStatus",a.sloStatus)("sloStartTime",a.sloStartTime)("onlyShowMetric","RESPONSE"),z(1),F("sloBounds",a.sloStatus.responseBounds))},I$a=function(a){a&1&&(J(0),Q(1,H$a,2,5,"slo-status-card",
73),L());a&2&&(a=O().row,z(1),F("ngIf",a.sloStatus))},J$a=function(a){a&1&&(G(0,"td",69),Q(1,I$a,2,1,"ng-container",23),H());a&2&&(O(),z(1),F("ngIf",!0))},K$a=function(a){a&1&&(G(0,"slo-status-card",74),I(1,"b-slo-time-indicator",75),H());a&2&&(a=O(2).row,F("sloId",a.sloId)("sloStatus",a.sloStatus)("sloStartTime",a.sloStartTime)("onlyShowMetric","ASSIGNMENT"),z(1),F("sloBounds",a.sloStatus.assignmentBounds))},L$a=function(a){a&1&&(J(0),Q(1,K$a,2,5,"slo-status-card",73),L());a&2&&(a=O().row,z(1),F("ngIf",
a.sloStatus))},M$a=function(a){a&1&&(G(0,"td",69),Q(1,L$a,2,1,"ng-container",23),H());a&2&&(O(),z(1),F("ngIf",!0))},N$a=function(a){a&1&&(G(0,"slo-status-card",74),I(1,"b-slo-time-indicator",75),H());a&2&&(a=O(2).row,F("sloId",a.sloId)("sloStatus",a.sloStatus)("sloStartTime",a.sloStartTime)("onlyShowMetric","CLOSURE"),z(1),F("sloBounds",a.sloStatus.closureBounds))},O$a=function(a){a&1&&(J(0),Q(1,N$a,2,5,"slo-status-card",73),L());a&2&&(a=O().row,z(1),F("ngIf",a.sloStatus))},P$a=function(a){a&1&&(G(0,
"td",69),Q(1,O$a,2,1,"ng-container",23),H());a&2&&(O(),z(1),F("ngIf",!0))},Q$a=function(a,b){a&1&&I(0,"b-formatted-date-time",77);a&2&&(a=b.$implicit,O(3),F("timestamp",1E3*a.seconds))},R$a=function(a){a&1&&(J(0),Q(1,Q$a,1,1,"b-formatted-date-time",76),L());a&2&&(a=O().row,z(1),F("ngIf",null==a.retentionState?null:a.retentionState.scheduledDeletionTime))},S$a=function(a){a&1&&(G(0,"td",61),Q(1,R$a,2,1,"ng-container",23),H());a&2&&(O(),z(1),F("ngIf",!0))},T$a=function(a){a&1&&I(0,"div",79)},U$a=function(a){a&
1&&(G(0,"div"),I(1,"b-team-display",80),H());a&2&&(a=O(2).row,z(1),F("teamId",a.teamId.toString())("componentId",a.componentId.toString())("anchorLinkEnabled",!1))},V$a=function(a){a&1&&(J(0),Q(1,T$a,1,0,"div",78),Q(2,U$a,2,3,"div",23),L());a&2&&(a=O(2),z(1),F("ngIf",a.isLoadingTeams),z(1),F("ngIf",!a.isLoadingTeams))},W$a=function(a){a&1&&(G(0,"td",61),Q(1,V$a,3,2,"ng-container",23),H());a&2&&(O(),z(1),F("ngIf",!0))},X$a=function(a){a&1&&(J(0),R(1),L());a&2&&(a=O().row,z(1),Df(" ",null==a.effort?
null:a.effort.estimate," "))},Y$a=function(a){a&1&&(G(0,"td",61),Q(1,X$a,2,1,"ng-container",23),H());a&2&&(O(),z(1),F("ngIf",!0))},Z$a=function(a){a&1&&(J(0),R(1),L());if(a&2){a=O().row;var b=O();z(1);Df(" ",b.isTotalEstimatesEnabled?(null==a.effort?null:a.effort.totalOpen)||"":""," ")}},$$a=function(a){a&1&&(G(0,"td",61),Q(1,Z$a,2,1,"ng-container",23),H());a&2&&(O(),z(1),F("ngIf",!0))},aab=function(a){a&1&&(J(0),R(1),L());if(a&2){a=O().row;var b=O();z(1);Df(" ",b.isTotalEstimatesEnabled?(null==a.effort?
null:a.effort.totalComplete)||"":""," ")}},bab=function(a){a&1&&(G(0,"td",61),Q(1,aab,2,1,"ng-container",23),H());a&2&&(O(),z(1),F("ngIf",!0))},cab=function(a){a&1&&I(0,"b-issue-card",84,85);if(a&2){var b=Cf(1);a=O().id;F("onedevIsHovercardReady",b.init)("issueId",a)}},dab=function(a,b){a&1&&(G(0,"onedev-hovercard",null,81),Q(2,cab,2,2,"b-issue-card",82),H(),G(3,"span",83),R(4),H());if(a&2){a=b.id;var c=Cf(1);z(3);F("onedevHovercardTrigger",c);z(1);Ef(a)}},eab=function(a){if(a&1){var b=v();G(0,"b-app-bar-bulk-edit-menus",
10);M("onBulkEdit",function(d){w(b);var e=O();return y(e.bulkEdit(d))})("onQuickBulkEdit",function(d){w(b);var e=O();return y(e.quickBulkEdit(d))})("onBulkEditIssueRelation",function(d){w(b);var e=O();return y(e.bulkEditIssueRelation(d))})("onBulkMarkIssueRead",function(){w(b);var d=O();return y(d.bulkMarkIssueRead())});S(1,"async");H()}if(a&2){a=O();var c;F("enableBulkEstimatedEffortOption",null!==(c=T(1,2,a.enableBulkEstimatedEffortOption$))&&void 0!==c?c:!1)("readStatePrompt",$6a(a))}},fab=function(a){if(a&
1){var b=v();G(0,"b-copy-issue-id-button",11);M("onClickCopyIssueIds",function(){w(b);var c=O();return y(b7a(c.copyIssueIdService,zp(c)))})("onClickCopyIssueShortLinks",function(){w(b);var c=O();return y(c7a(c.copyIssueIdService,zp(c)))})("onClickCopyAsIssueSearch",function(){w(b);var c=O();return y(d7a(c.copyIssueIdService,zp(c)))});H()}a&2&&(a=O(),F("shortLinkPrefix",a.copyIssueIdService.shortLinkPrefix)("shouldShowCopyIssueShortLinks",a.activeSession.isInternalSession()))},gab=function(a){if(a&
1){var b=v();G(0,"div",12)(1,"b-hotlist-picker",13);M("onApply",function(c){w(b);var d=O();return y(d.handleHotlistPickerSave(c))})("onCreate",function(c){w(b);var d=O();return y(d.onCreateHotlist.emit(c))})("onLoad",function(c){w(b);var d=O();return y(d.onLoadHotlist.emit(c))});H()()}a&2&&(a=O(),z(1),F("selectedHotlistIds",a.hotlistIdMatrix)("choices",a.hotlistChoices))},hab=function(a){if(a&1){var b=v();G(0,"hotlist-add-issue-btn",16);M("issueAddedToHotlist",function(){w(b);var c=O(2);return y(c.refresh())});
H()}a&2&&(a=O(2),F("hotlistId",a.currentHotlistId))},iab=function(a){a&1&&I(0,"hotlist-archive-btn",17);a&2&&(a=O(2),F("hotlistId",a.currentHotlistId))},jab=function(a){a&1&&(J(0),Q(1,hab,1,1,"hotlist-add-issue-btn",14),Q(2,iab,1,1,"hotlist-archive-btn",15),L());a&2&&(a=O(),z(1),F("ngIf",a.enableBulkEditUi),z(1),F("ngIf",a.isHotlistAdmin))},kab=function(a){a&1&&(G(0,"span",21),R(1,"Reporting"),H())},lab=function(a){if(a&1){var b=v();G(0,"b-button",18);M("onAction",function(){w(b);var c=O();return y(c.openInEstado())});
I(1,"b-icon",19);Q(2,kab,2,0,"span",20);H()}a&2&&(a=O(),F("size",a.hasSelectedIssues()?"large":"medium")("format",a.hasSelectedIssues()?"icon":"flat"),z(2),F("ngIf",!a.hasSelectedIssues()))},mab=function(a){if(a&1){var b=v();G(0,"b-comment-box",28);M("commentChange",function(c){w(b);var d=O(2);return y(d.comment=c)})("onSubmit",function(){w(b);var c=O(2);return y(g7a(c))});H()}a&2&&(a=O(2),F("comment",a.comment)("showToolbar",!1))},nab=function(a,b){a&1&&(G(0,"li"),R(1),I(2,"b-access-level-indicator",
31),H());a&2&&(a=b.$implicit,z(1),Df(" ",a.path," "),z(1),F("accessLevel",a.accessLevel))},oab=function(a){a&1&&(G(0,"div",29)(1,"div")(2,"strong"),R(3,"You are commenting on issues in components that have external viewers:"),H()(),G(4,"ul"),Q(5,nab,3,2,"li",30),H()());a&2&&(a=O(2),z(5),F("ngForOf",a.externalWarnings))},pab=function(a){if(a&1){var b=v();G(0,"div",32)(1,"b-recaptcha",33);M("onUpdate",function(c){w(b);var d=O(2);return y(d.recaptchaResponse=c)});H()()}},qab=function(a){a&1&&(G(0,"h1",
22),R(1,"Add comment"),H(),G(2,"mat-dialog-content"),Q(3,mab,1,2,"b-comment-box",23),Q(4,oab,6,1,"div",24),H(),Q(5,pab,2,0,"div",25),G(6,"mat-dialog-actions")(7,"button",26),R(8," Cancel "),H(),G(9,"button",27),R(10," Save "),H()());a&2&&(a=O(),z(3),F("ngIf",a.comment),z(1),F("ngIf",0<a.externalWarnings.length),z(1),F("ngIf",a.enableRecaptcha),z(2),F("mat-dialog-close",!1),z(2),F("disabled",a.enableRecaptcha&&""===a.recaptchaResponse)("mat-dialog-close",!0))},sab=function(a,b){if(a&1){var c=v();G(0,
"div",5)(1,"b-contact-chip",6);M("chipSelection",function(){var d=w(c).index,e=O();e.selectedChipIndex!==d&&Ep(e,d)&&(rab(e),e.selectedChipIndex=d,e.items[d].isSelected=!0);return y()})("chipClear",function(){w(c);var d=O();return y(rab(d))})("chipRemove",function(){var d=w(c).index,e=O();return y(e.removeItem(d))});H()()}a&2&&(a=b.$implicit,b=O(),z(1),F("isReadonly",a.isReadonly)("isSelected",a.isSelected)("isWidgetDisabled",b.isWidgetDisabled())("principalType",a.principalType)("detailedUserType",
a.detailedUserType)("nestedChips",a.nestedChips)("value",a.value)("displayText",a.displayText)("accessLevel",b.getAccessLevel()))},vab=function(a){if(a&1){var b=v();G(0,"input",7,8);M("autocompleteActive",function(){w(b);var c=O();return y(c.chipifyFn())})("ngModelChange",function(c){w(b);var d=O();return y(d.typedText=c)})("focus",function(){w(b);var c=O();return y(tab(c))})("blur",function(){w(b);var c=O();uab(c,c.typedText.split(",")[0].trim());c.isFocused=!1;return y()});H()}a&2&&(a=O(),F("bContactAutocomplete",
"MULTI")("additionalContactsCallback",a.additionalContactsFn)("ngModel",a.typedText)("disabled",a.isWidgetDisabled()),gf("id",a.idForInputBox))},wab=function(a){a&1&&(G(0,"span"),R(1," Groups cannot be granted Restricted+ reader permission. "),G(2,"a",9),R(3,"Learn more"),H()());a&2&&(a=O(),z(2),gf("href",In(a.documentationLinks)+"#components",Md))},xab=function(a){a&1&&(G(0,"span"),R(1," Invalid user(s). "),H())},yab=function(a){a&1&&(G(0,"span"),R(1,' "Public" or external users are not allowed for component designated as "internal access". '),
H())},zab=function(a){a&1&&(G(0,"span"),R(1,' "Public" is not allowed for components designated as "external partner access". '),H())},Aab=function(a){a&1&&(G(0,"span"),R(1," SLO lead can not be a group. "),H())},Bab=function(a){a&1&&(G(0,"span"),R(1," SLO lead can only be a full-time Googler. "),H())},Cab=function(a){if(a&1){var b=v();G(0,"div",7)(1,"button",8);M("click",function(){w(b);var c=O();return y(c.onPressSave())});R(2," Save ");H();G(3,"button",9);M("click",function(){w(b);var c=O();return y(c.onPressRevert())});
R(4," Revert changes ");H()()}a&2&&(a=O(),z(1),F("disabled",a.hasNoChanges()||a.hotlistAccessPolicyFridge.isSaving()||a.isInvalid())("matTooltip",a.isInvalid()?"Invalid form data":a.hasNoChanges()?"No changes":"Save these changes"),z(2),F("disabled",a.hasNoChanges()||a.hotlistAccessPolicyFridge.isSaving())("matTooltip",a.hasNoChanges()?"No changes":"Go back to the last saved state"))},Dab=function(a){if(a&1){var b=v();G(0,"div",7)(1,"button",8);M("click",function(){w(b);var d=O();return y(d.save())});
R(2," Save ");H();G(3,"button",9);M("click",function(){w(b);var d=O();return y(d.revert())});R(4," Revert changes ");H();I(5,"hotlist-archive-btn",10);S(6,"async");H()}if(a&2){a=O();var c;z(1);F("disabled",a.hasNoChanges()||a.fridge.isSaving())("matTooltip",a.hasNoChanges()?"No changes":"Save these changes");z(2);F("disabled",a.hasNoChanges()||a.fridge.isSaving())("matTooltip",a.hasNoChanges()?"No changes":"Go back to the last saved state");z(2);F("hotlistId",null!==(c=T(6,5,a.id$))&&void 0!==c?c:
void 0)}},Eab=function(a,b){a&1&&(J(0),R(1),L());a&2&&(a=b.$implicit,z(1),Df(" ",a.name," "))},Fab=function(a){a&1&&(G(0,"strong",4),R(1,"(archived)"),H())},Gab=function(a){a&1&&I(0,"b-spinner")},Hab=function(a){a&1&&(I(0,"hotlist-add-issue-btn",5),S(1,"async"));if(a&2){a=O();var b;F("hotlistId",null!==(b=T(1,1,a.id$))&&void 0!==b?b:void 0)}},Iab=function(a){a&1&&(G(0,"p",8),R(1," This hotlist cannot be edited because you are not an administrator of it. "),H())},Jab=function(a){a&1&&(J(0),I(1,"b-edit-hotlist-toolbar",
1),G(2,"div",2),I(3,"b-edit-hotlist-header",1),G(4,"mat-tab-group",3)(5,"mat-tab",4),I(6,"b-edit-hotlist-basic",5),S(7,"async"),H(),G(8,"mat-tab",6),I(9,"b-edit-hotlist-acl",5),S(10,"async"),H()(),Q(11,Iab,2,0,"p",7),S(12,"async"),H(),L());a&2&&(a=O(),z(1),F("hotlistId",a.id),z(2),F("hotlistId",a.id),z(1),F("selectedIndex",a.tabIndex),z(2),F("hotlistId",a.id)("isReadOnly",!1===T(7,8,a.isAdmin$)),z(3),F("hotlistId",a.id)("isReadOnly",!1===T(10,10,a.isAdmin$)),z(2),F("ngIf",!1===T(12,12,a.isAdmin$)))},
Kab=function(a,b){a&1&&(J(0),I(1,"empty-toolbar"),G(2,"div",9)(3,"h2"),R(4,"Error"),H(),G(5,"p"),R(6),H()(),L());a&2&&(a=b.$implicit,z(6),Ef(a))},Lab=function(a){a&1&&(G(0,"b-callout",1)(1,"b-callout-body"),R(2),H()());a&2&&(a=O(),z(2),Ef(a.error))},Mab=function(a){a&1&&vf(0)},Nab=function(a){a&1&&(G(0,"span"),R(1,"Details"),H())},Oab=function(a){a&1&&(G(0,"span"),R(1,"Members"),H())},Qab=function(a){a&1&&(G(0,"div",13)(1,"a",14),Q(2,Nab,2,0,"span",15),Q(3,Oab,2,0,"span",15),H()());if(a&2){a=O(2);
z(1);if(void 0===a.email)var b="";else{b=encodeURIComponent(a.getName());var c=encodeURIComponent(a.email);b=Pab(a.email)?"https://ganpati2.corp.google.com/group/"+b+".corp":VAa(a.email)?"https://twosync.corp.google.com/rosterz/"+c:"https://groups.google.com/a/google.com/forum/#!members/"+b}F("href",b,Md);z(1);F("ngIf",Pab(a.email));z(1);F("ngIf",!Pab(a.email))}},Rab=function(a){a&1&&(J(0),G(1,"span",2),Q(2,Mab,1,0,"ng-container",3),H(),G(3,"onedev-hovercard",null,4)(5,"div",5)(6,"div",6)(7,"div",
7)(8,"div",8)(9,"div",9)(10,"h3"),R(11),H()(),G(12,"div",10),I(13,"mat-icon",11),G(14,"span"),R(15),H()()(),Q(16,Qab,4,3,"div",12),H()()()(),L());if(a&2){var b=Cf(4);a=O();var c=Cf(2);z(1);F("onedevHovercardTrigger",b);z(1);F("ngTemplateOutlet",c);z(9);Ef(a.getName());z(4);Ef(a.email);z(1);F("ngIf",a.shouldShowLinks())}},Sab=function(a){a&1&&yf(0)},Uab=function(a,b){a&1&&I(0,"mat-icon",8);a&2&&F("svgIcon",b.ngIf)},Vab=function(a){a&1&&(G(0,"b-person-hovercard",9),R(1),H());a&2&&(a=O(),F("email",a.value),
z(1),Df(" ",a.displayText," "))},Wab=function(a){a&1&&(G(0,"b-group-email-card",9),R(1),H());a&2&&(a=O(),F("email",a.value),z(1),Df(" ",a.displayText," "))},Xab=function(a){a&1&&(G(0,"div"),R(1),H());a&2&&(a=O(),z(1),Df(" ",a.displayText," "))},Yab=function(a){if(a&1){var b=v();G(0,"div",10);M("click",function(){w(b);var c=O();return y(c.chipRemove.emit())});I(1,"mat-icon",11);H()}a&2&&(a=O(),zf("matTooltip","'Remove ",a.displayText,"'"),gf("aria-label","Remove "+a.displayText))},Zab=function(a,b){a&
1&&(G(0,"div",19),I(1,"b-contact-chip",20),H());a&2&&(a=b.$implicit,b=O(2),z(1),F("value",a.value)("detailedUserType",a.detailedUserType)("principalType",a.principalType)("accessLevel",b.accessLevel)("displayText",a.displayText))},$ab=function(a){a&1&&(G(0,"div",12)(1,"div",13)(2,"div",14),Q(3,Zab,2,5,"div",15),G(4,"div",16),I(5,"div",17)(6,"div",18),H()()()());a&2&&(a=O(),z(3),F("ngForOf",a.nestedChips))},abb=function(a){a&1&&(J(0),R(1,", "),L())},bbb=function(a,b){a&1&&(J(0),R(1),Q(2,abb,2,0,"ng-container",
14),L());if(a&2){a=b.$implicit;b=b.last;var c=O(2);z(1);Df(" ",c.convertUserToString(a)," ");z(1);F("ngIf",!b)}},cbb=function(a,b){if(a&1){var c=v();G(0,"tr",7);M("click",function(){var e=w(c).$implicit,g=O();return y(g.editHotlist(e))})("focus",function(){var e=w(c).index,g=O();return y(g.setFocusOnIndex(e))});I(1,"td",2);G(2,"td",8)(3,"a",9);M("click",function(e){return e.stopPropagation()});R(4);H()();G(5,"td",10);R(6);H();G(7,"td",11);Q(8,bbb,3,2,"ng-container",12);H();G(9,"td",13);R(10);H()()}if(a&
2){a=b.$implicit;b=b.index;var d=O();qf("grid-focus",d.isFocused(b));gf("aria-selected",d.isFocused(b))("aria-label",d.renderRowLabel(b));z(3);F("href",d.paths.editHotlist(a.hotlistId),Md);z(1);Df(" ",a.name," ");z(2);Df(" ",a.description," ");z(2);F("ngForOf",a.adminUsers);z(2);Df(" ",a.hotlistId," ")}},dbb=function(a){if(a&1){var b=v();G(0,"button",9);M("click",function(){w(b);var c=O(2);return y(c.appEvents.dashboardPanels.moveToTop.next(c.panelId))});R(1," Move to top ");H()}},ebb=function(a){if(a&
1){var b=v();G(0,"button",10);M("click",function(){w(b);var c=O(2);return y(c.appEvents.dashboardPanels.moveUp.next(c.panelId))});R(1," Move up ");H()}},fbb=function(a){if(a&1){var b=v();G(0,"button",11);M("click",function(){w(b);var c=O(2);return y(c.appEvents.dashboardPanels.moveDown.next(c.panelId))});R(1," Move down ");H()}},gbb=function(a){if(a&1){var b=v();G(0,"button",12);M("click",function(){w(b);var c=O(2);return y(c.appEvents.dashboardPanels.moveToBottom.next(c.panelId))});R(1," Move to bottom ");
H()}},hbb=function(a){if(a&1){var b=v();Q(0,dbb,2,0,"button",4);Q(1,ebb,2,0,"button",5);Q(2,fbb,2,0,"button",6);Q(3,gbb,2,0,"button",7);G(4,"button",8);M("click",function(){w(b);var c=O();return y(c.removePanel())});R(5," Remove ");H()}a&2&&(a=O(),F("ngIf",!a.first),z(1),F("ngIf",!a.first),z(1),F("ngIf",!a.last),z(1),F("ngIf",!a.last))},ibb=function(a){a&1&&(G(0,"span"),R(1),H());a&2&&(a=O(),gf("title",a.getValue()),z(1),Df(" ",a.getValue(),"\n"))},jbb=function(a){a&1&&I(0,"b-custom-field-value-display",
2);a&2&&(a=O(),F("customFieldValue",a.getCustomFieldValue()))},kbb=function(a){a&1&&I(0,"b-actions-menu",7);a&2&&(a=O(),F("menuItems",a.menuItems))},lbb=function(a){a&1&&(G(0,"span",8)(1,"strong"),R(2),H(),R(3,"\u00a0of\u00a0"),G(4,"strong"),R(5),H()());a&2&&(a=O(),z(2),Ff("",a.searchResults.startIndex,"\u00a0-\u00a0",a.searchResults.endIndex,""),z(3),Ef(a.searchResults.totalText))},mbb=function(a){a&1&&(G(0,"div"),R(1," Hotlist not found. "),H())},nbb=function(a){a&1&&(G(0,"div"),R(1," Loading details... "),
H())},obb=function(a){a&1&&I(0,"b-panel-controls",11);a&2&&(a=O(2),F("panelId",a.panel.panelId))},pbb=function(a){a&1&&(G(0,"span",12),R(1," \u00a0(changed) "),H())},qbb=function(a){a&1&&(G(0,"div"),Q(1,obb,1,1,"b-panel-controls",6),G(2,"span",7),R(3," Hotlist: "),G(4,"a",8)(5,"span",9),R(6),H()()(),Q(7,pbb,2,0,"span",10),H());a&2&&(a=O(),z(1),F("ngIf",a.isDashboardEditable),z(3),F("href",a.paths.viewHotlist(a.hotlistId),Md),z(1),Af("matTooltip",a.resource.description),z(1),Ef(a.resource.name),z(1),
F("ngIf",a.hasParamChanges()))},rbb=function(a){if(a&1){var b=v();G(0,"div",13)(1,"button",14);M("click",function(){w(b);var c=O();return y(c.save())});R(2,"Save ");H();G(3,"button",15);M("click",function(){w(b);var c=O();return y(c.discardChanges())});R(4," Discard changes ");H()()}},sbb=function(a){a&1&&(G(0,"span"),R(1),H());a&2&&(a=O(3),z(1),Df(" Searching for ",a.searchParams.query," ..."))},tbb=function(a){a&1&&(G(0,"div",19),I(1,"b-spinner",20),Q(2,sbb,2,1,"span",3),H());a&2&&(a=O(2),z(1),
F("large",!1),z(1),F("ngIf",a.searchParams&&(null==a.searchParams?null:a.searchParams.query)))},ubb=function(a){a&1&&(G(0,"div",21),R(1," No issues in hotlist. "),H())},wbb=function(a){if(a&1){var b=v();G(0,"div",22)(1,"b-issues-grid",23);M("init",function(c){w(b);var d=O(2);return y(vbb(d,c))})("focusedRowIndexChange",function(c){w(b);var d=O(2);return y(d.focusedRowIndex=c)})("columnsChange",function(c){w(b);var d=O(2);return y(d.issueColumns=c)})("sortChange",function(c){w(b);var d=O(2);return y(d.setSort(c.field,
c.direction))})("onRowDragDrop",function(c){w(b);var d=O(2);return y(d.repositionIssue(c.srcIndex,c.destIndex))})("rowClick",function(c){w(b);var d=O(2);return y(d.goToIssue(c.id,c.isRead,c.event))})("onNextPage",function(){w(b);var c=O(2);return y(c.goToPage(c.page+1))})("onPrevPage",function(){w(b);var c=O(2);return y(c.goToPage(c.page-1))});H()()}a&2&&(a=O(2),z(1),F("searchResults",a.searchResults)("focusedRowIndex",a.focusedRowIndex)("columns",a.issueColumns)("enableColumnSaving",a.isColumnSaveEnabled)("sort",
a.getSort()))},xbb=function(a){a&1&&(G(0,"div"),Q(1,tbb,3,2,"div",16),Q(2,ubb,2,0,"div",17),Q(3,wbb,2,5,"div",18),H());a&2&&(a=O(),z(1),F("ngIf",a.isLoading),z(1),F("ngIf",!a.isLoading&&!(null==a.searchResults?0:null==a.searchResults.issues?0:a.searchResults.issues.length)),z(1),F("ngIf",!a.isLoading&&(null==a.searchResults?null:null==a.searchResults.issues?null:a.searchResults.issues.length)))},ybb=function(a){a&1&&(G(0,"div"),R(1," Saved search not found. "),H())},zbb=function(a){a&1&&(G(0,"div"),
R(1," Loading details... "),H())},Abb=function(a){a&1&&I(0,"b-panel-controls",11);a&2&&(a=O(2),F("panelId",a.panel.panelId))},Bbb=function(a){a&1&&(G(0,"span",12),R(1," \u00a0(changed) "),H())},Cbb=function(a){a&1&&(G(0,"div",6),Q(1,Abb,1,1,"b-panel-controls",7),G(2,"span",6),R(3," Saved search: "),G(4,"a",8)(5,"span",9),R(6),H()()(),Q(7,Bbb,2,0,"span",10),H());a&2&&(a=O(),z(1),F("ngIf",a.isDashboardEditable),z(3),F("href",a.paths.viewSavedSearch(a.savedSearchId),Md),z(1),Af("matTooltip",a.resource.description),
z(1),Ef(a.resource.name),z(1),F("ngIf",a.hasParamChanges()))},Dbb=function(a,b){a&1&&(G(0,"span"),R(1),H());a&2&&(a=b.ngIf,z(1),Df("Searching for ",a,"..."))},Ebb=function(a){a&1&&(G(0,"div",16),I(1,"b-spinner",17),Q(2,Dbb,2,1,"span",3),H());a&2&&(a=O(2),z(1),F("large",!1),z(1),F("ngIf",null==a.searchParams?null:a.searchParams.query))},Fbb=function(a){a&1&&(G(0,"div",18),R(1," No issues in saved search. "),H())},Gbb=function(a){if(a&1){var b=v();G(0,"div",19)(1,"b-issues-grid",20);M("init",function(c){w(b);
var d=O(2);return y(vbb(d,c))})("focusedRowIndexChange",function(c){w(b);var d=O(2);return y(d.focusedRowIndex=c)})("columnsChange",function(c){w(b);var d=O(2);return y(d.columnsChange(c))})("sortChange",function(c){w(b);var d=O(2);return y(d.setSort(c.field,c.direction))})("rowClick",function(c){w(b);var d=O(2);return y(d.goToIssue(c.id,c.isRead,c.event))})("onNextPage",function(){w(b);var c=O(2);return y(c.goToPage(c.page+1))})("onPrevPage",function(){w(b);var c=O(2);return y(c.goToPage(c.page-
1))});H()()}a&2&&(a=O(2),z(1),F("searchResults",a.searchResults)("focusedRowIndex",a.focusedRowIndex)("columns",a.issueColumns)("enableColumnSaving",a.isColumnSaveEnabled)("sort",a.getSort()))},Hbb=function(a){a&1&&(G(0,"div"),Q(1,Ebb,3,2,"div",13),Q(2,Fbb,2,0,"div",14),Q(3,Gbb,2,5,"div",15),H());a&2&&(a=O(),z(1),F("ngIf",a.isLoading),z(1),F("ngIf",!a.isLoading&&a.searchResults&&0===a.searchResults.issues.length),z(1),F("ngIf",!a.isLoading&&a.searchResults&&0!==a.searchResults.issues.length))},Ibb=
function(a,b){a&1&&(G(0,"span",3)(1,"a",4),R(2),H()());a&2&&(a=b.$implicit,z(1),zf("routerLink","/teams/",a.id,"/edit"),F("preserveFragment",!0),z(1),Ef(a.name))},Jbb=function(a){a&1&&(G(0,"p")(1,"span",6),R(2,"NOTE:"),H(),R(3),G(4,"a",7),R(5,"Learn more"),H()());a&2&&(a=O(),z(3),Df(" ",a.data.noteText," "),z(1),F("href",a.getDisablingFieldsHelpLink(),Md))},Kbb=function(a){a&1&&(J(0),I(1,"span",26)(2,"b-icon",27),L());a&2&&(a=O(),z(1),F("innerHTML",a.menuLabel,Ld))},Lbb=function(a){a&1&&(G(0,"div",
28),R(1," This includes emails about major updates and: "),G(2,"ul",29)(3,"li"),R(4,"All title, hotlist, and status changes."),H(),G(5,"li"),R(6,"Blocking, Blocked By, or Duplicate changes."),H(),G(7,"li"),R(8,"Changes to Reporter, Verifier, and CCs."),H(),G(9,"li"),R(10,"Changes to Type, Found In, Targeted To, Verified In, and In Prod. "),H(),G(11,"li"),R(12,"Changes to custom fields marked as minor."),H()()())},Mbb=function(a){a&1&&(G(0,"div",30),R(1," This includes emails about: "),G(2,"ul",29)(3,
"li"),R(4,"New comments."),H(),G(5,"li"),R(6,"Priority or Severity changes."),H(),G(7,"li"),R(8,"Assignee changes."),H(),G(9,"li"),R(10,"Component changes."),H(),G(11,"li"),R(12,"Issue closure or reopening."),H(),G(13,"li"),R(14,"Changes to custom fields marked as major."),H()()())},Nbb=function(a,b){a&1&&(G(0,"mat-option",6),R(1),H());a&2&&(a=b.$implicit,F("value",a),z(1),Df(" ",a.name," "))},Obb=function(a){a&1&&(G(0,"span",11),R(1," (must be between 30 days and 10 years) "),H())},Qbb=function(a){if(a&
1){var b=v();G(0,"div",12)(1,"b-duration-picker",13);M("durationDaysChange",function(c){w(b);var d=O();d.model.retentionPeriodDays=null!==c&&void 0!==c?c:null;d.modelChange.emit(d.model);Fp(d);return y()});H();G(2,"div",14);R(3);H()()}a&2&&(a=O(),z(1),F("disabled",a.issueRetentionDisabled)("durationDays",a.model.retentionPeriodDays),z(2),Df(" Issues will be marked for deletion when they have not been modified for ",Pbb(a.model.retentionPeriodDays),". "))},Rbb=function(a){a&1&&(G(0,"div",15)(1,"p"),
R(2,"Please note indefinite retention is not appropriate in many circumstances. Before selecting this option, you should make sure "),G(3,"b"),R(4,"one or more"),H(),R(5," of the following is true:"),H(),G(6,"ol")(7,"li"),R(8,"There is no personal data, user data, or any other forms of sensitive data being stored."),H(),G(9,"li"),R(10,"You have a process in place to manually delete this data within an approved period of time."),H(),G(11,"li"),R(12,"Legal and Privacy have approved this non-standard retention period."),
H()()())},Sbb=function(a){a&1&&(G(0,"span",11),R(1," (Issue Retention is shorter than default Restricted Retention) "),H())},Ubb=function(a){a&1&&(G(0,"span",11),R(1),H());a&2&&(a=O(),z(1),Df(" ",Tbb(a)," "))},Vbb=function(a){a&1&&(G(0,"div",21)(1,"p"),R(2," Please note restricted retention longer than 4 months is not appropriate in many circumstances for personal data, user data, or any other forms of sensitive data being stored. Before selecting it, you should make sure that Legal and Privacy have approved this non-standard retention period."),
H()())},Xbb=function(a){if(a&1){var b=v();G(0,"div",12)(1,"div")(2,"span",16);R(3,"Restricted retention:");H();G(4,"b-duration-picker",17);M("durationDaysChange",function(c){w(b);var d=O();d.model.piiRetentionPeriodDays=null!==c&&void 0!==c?c:null;d.modelChange.emit(d.model);Fp(d);return y()});H()();G(5,"div",18)(6,"p");R(7);H()();G(8,"div")(9,"span",16);R(10,"Restricted+ retention:");H();G(11,"b-duration-picker",19);M("durationDaysChange",function(c){w(b);var d=O();d.model.spiiRetentionPeriodDays=
null!==c&&void 0!==c?c:null;d.modelChange.emit(d.model);Fp(d);return y()});H()();G(12,"div",18)(13,"p");R(14);H()();Q(15,Vbb,3,0,"div",20);H()}a&2&&(a=O(),z(4),F("disabled",!Gp(a))("durationDays",a.model.piiRetentionPeriodDays),z(3),Df(" Restricted comments and attachments will be marked for deletion when the containing issue has not been modified for ",Pbb(a.model.piiRetentionPeriodDays),". "),z(4),F("disabled",!Gp(a))("durationDays",a.model.spiiRetentionPeriodDays),z(3),Df(" Restricted+ comments and attachments will be marked for deletion when the containing issue has not been modified for ",
Pbb(a.model.spiiRetentionPeriodDays),". "),z(1),F("ngIf",a.model.piiRetentionSelection===a.RetentionSelection.CUSTOM_PERIOD&&Wbb(a)))},Ybb=function(a){a&1&&(G(0,"div",22)(1,"p"),R(2," Please note restricted retention longer than 4 months is not appropriate in many circumstances for personal data, user data, or any other forms of sensitive data being stored. Before selecting it, you should make sure that Legal and Privacy have approved this non-standard retention period."),H()())},Hp=function(a,b,
c,d){var e=a.slice(0,b);e=(e=Zbb(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}},Zbb=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},Ip=function(a,b){return(void 0===b?0:b)?-1<a.search(/^\d+\+?$/):-1<a.search(/^\d+$/)},$bb=function(a){return"-"===a.charAt(0)?{negated:!0,token:a.slice(1)}:{negated:!1,token:a}},Jp=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?Th(q,e):fa(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},Kp=function(a,b,c,d){return{trackId:b+":"+a,name:a,id:a,label:c,completionCfg:{enableShadowPlaceholder:!0,completionValue:a,type:d}}},ccb=function(a,b){if(a&1){var c=v();G(0,"div",9)(1,"div",10);M("click",function(d){var e=w(c).$implicit,g=O();e=e.key;
if(d=void 0===d?null:d)d.preventDefault(),d.stopPropagation();d=g.options.propertyValues[e];d.value=!d.value;acb(g);bcb(g);g.optionsChange.emit(g.options);return y()});G(2,"mat-checkbox",11);M("change",function(d){var e=w(c).$implicit,g=O();e.value.value=d.checked;acb(g);bcb(g);g.optionsChange.emit(g.options);return y()})("click",function(d){return d.stopPropagation()});R(3);H()()()}a&2&&(a=b.$implicit,gf("aria-checked",a.value.value),z(2),F("checked",a.value.value),z(1),Df(" ",a.value.displayString,
" "))},dcb=function(a){a&1&&(G(0,"div",12),R(1),H());a&2&&(a=O(),z(1),Df(" ",a.errorString," "))},fcb=function(a){if(a&1){var b=v();G(0,"span",4)(1,"input",5);M("ngModelChange",function(c){w(b);var d=O(2);return y(d.businessDayString=c)})("ngModelChange",function(){w(b);var c=O(2);return y(ecb(c))});H();G(2,"span",8);R(3,"days,");H()()}a&2&&(a=O(2),z(1),qf("ng-invalid",!!a.errorString),F("ngModel",a.businessDayString))},hcb=function(a,b){a&1&&(G(0,"mat-option",9),R(1),H());a&2&&(a=b.$implicit,b=O(2),
F("value",a),z(1),Df(" ",gcb(b,a)," "))},kcb=function(a){if(a&1){var b=v();G(0,"span",2);Q(1,fcb,4,3,"span",3);G(2,"span",4)(3,"input",5);M("ngModelChange",function(c){w(b);var d=O();return y(d.intervalString=c)})("ngModelChange",function(){w(b);var c=O();return y(ecb(c))});H();G(4,"mat-select",6);M("ngModelChange",function(c){w(b);var d=O();return y(d.intervalUnit=c)})("selectionChange",function(){w(b);var c=O();icb(c);jcb(c);return y()});Q(5,hcb,2,2,"mat-option",7);H()()()}a&2&&(a=O(),z(1),F("ngIf",
"BUSINESS"===a.dayType),z(2),qf("invalid",!!a.errorString),F("ngModel",a.intervalString),z(1),F("ngModel",a.intervalUnit),z(1),F("ngForOf",a.getUnits()))},lcb=function(a){a&1&&(G(0,"span",13),R(1),H());a&2&&(a=O(2),z(1),Ff(" ",a.objectiveBusinessDays," day",1!=a.objectiveBusinessDays?"s":""," "))},mcb=function(a){a&1&&(G(0,"span"),R(1,", "),H())},ncb=function(a){a&1&&(G(0,"span"),Q(1,mcb,2,0,"span",12),G(2,"span"),R(3),H()());a&2&&(a=O(2),z(1),F("ngIf",a.objectiveBusinessDays),z(2),Ff("",a.intervalString,
" ",gcb(a,a.intervalUnit),""))},ocb=function(a){a&1&&(G(0,"span",10),Q(1,lcb,2,2,"span",11),Q(2,ncb,4,3,"span",12),H());a&2&&(a=O(),z(1),F("ngIf",a.objectiveBusinessDays),z(1),F("ngIf",a.intervalString&&"0"!=a.intervalString))},qcb=function(a){if(a&1){var b=v();G(0,"b-icon",22);M("click",function(){w(b);var c=O(2);return y(pcb(c,0))});H()}a&2&&F("name","add")("size","small")},scb=function(a){if(a&1){var b=v();G(0,"span",17)(1,"span",18)(2,"span",19);Q(3,qcb,1,2,"b-icon",20);H();G(4,"span",19)(5,"b-icon",
21);M("click",function(c){w(b);var d=O();return y(rcb(d,c))});H()()()()}a&2&&(a=O(),z(3),F("ngIf",a.canPerformActions),z(2),F("name","delete")("size","small"))},tcb=function(a){a&1&&I(0,"td",42)},ucb=function(a){if(a&1){var b=v();G(0,"td",43)(1,"slo-element-property-picker",44);M("optionsChange",function(c){w(b);var d=O().$implicit;return y(d.typePickerValues=c)});H()()}a&2&&(a=O().$implicit,z(1),F("selectAllText","Any type")("validator",a.validateTypePicker)("options",a.typePickerValues))},vcb=function(a){if(a&
1){var b=v();G(0,"td",45)(1,"slo-element-property-picker",46);M("optionsChange",function(c){w(b);var d=O().$implicit;return y(d.priorityPickerValues=c)});H()()}a&2&&(a=O().$implicit,z(1),F("selectAllText","Any priority")("validator",a.validatePriorityPicker)("options",a.priorityPickerValues))},wcb=function(a){if(a&1){var b=v();G(0,"td",47)(1,"slo-element-property-picker",48);M("optionsChange",function(d){w(b);var e=O().$implicit;return y(e.postmortemPickerValues=d)});H()()}if(a&2){a=O().$implicit;
var c=O(2);z(1);F("selectAllText",c.postmortemAllSummaryValue)("validator",a.validatePostmortemPicker)("options",a.postmortemPickerValues)}},ycb=function(a,b){a&1&&(G(0,"mat-option",53),R(1),H());a&2&&(a=b.$implicit,O(4),F("value",a),z(1),Df(" ",xcb(a)," "))},zcb=function(a){if(a&1){var b=v();G(0,"td",49)(1,"mat-form-field",50)(2,"mat-select",51);M("ngModelChange",function(d){w(b);var e=O().$implicit;return y(e.selectedMetric=d)});Q(3,ycb,2,2,"mat-option",52);H()()()}if(a&2){a=O().$implicit;var c=
O(2);z(2);F("ngModel",a.selectedMetric)("customValidators",a.metricValidators);z(1);F("ngForOf",c.metricChoices)}},Acb=function(a){if(a&1){var b=v();G(0,"td",54)(1,"slo-objective-selector",55);M("objectiveDurationChange",function(c){w(b);var d=O().$implicit;return y(d.selectedObjectiveDuration=c)})("objectiveBusinessDaysChange",function(c){w(b);var d=O().$implicit;return y(d.selectedObjectiveBusinessDays=c)});H()()}a&2&&(a=O().$implicit,z(1),F("dayType",a.selectedDayType)("objectiveDuration",a.selectedObjectiveDuration)("objectiveBusinessDays",
a.selectedObjectiveBusinessDays)("validator",a.validateObjective))},Ccb=function(a,b){a&1&&(G(0,"mat-option",53),R(1),H());a&2&&(a=b.$implicit,O(4),F("value",a),z(1),Df(" ",Bcb.get(a||"CALENDAR")," "))},Dcb=function(a){if(a&1){var b=v();G(0,"td",56)(1,"mat-form-field",57)(2,"mat-select",58);M("ngModelChange",function(d){w(b);var e=O().$implicit;return y(e.selectedDayType=d)})("selectionChange",function(){w(b);var d=O().$implicit;"BUSINESS"===d.selectedDayType?0===d.selectedObjectiveDuration.seconds%
86400&&(d.selectedObjectiveBusinessDays=d.selectedObjectiveDuration.seconds/86400,d.selectedObjectiveDuration.seconds=0):(0===d.selectedObjectiveDuration.seconds&&(d.selectedObjectiveDuration.seconds=86400*d.selectedObjectiveBusinessDays),d.selectedObjectiveBusinessDays=0);return y()});Q(3,Ccb,2,2,"mat-option",52);H()()()}if(a&2){a=O().$implicit;var c=O(2);z(2);F("ngModel",a.selectedDayType);z(1);F("ngForOf",c.dayTypes)}},Hcb=function(a){if(a&1){var b=v();G(0,"td",59)(1,"span",18)(2,"span",19)(3,
"b-icon",60);M("click",function(){w(b);var c=O(3);if(c.openRow)if(c.openRow.isValid())Ecb(c.openRow.typePickerValues)&&Ecb(c.openRow.priorityPickerValues)&&Ecb(c.openRow.postmortemPickerValues)?c.confirmationDialogService.open({title:"SLO validation error",content:fn("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}):Fcb(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:fn('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 y()});H()();G(4,
"span",19)(5,"b-icon",61);M("click",function(){w(b);var c=O().$implicit,d=O(2);return y(Gcb(d,c))});H()()()()}a&2&&(z(3),F("name","done")("size","small"),z(2),F("name","delete")("size","small"))},Icb=function(a){a&1&&I(0,"td",62)},Jcb=function(a){a&1&&(G(0,"div"),R(1),H());a&2&&(a=O(2).$implicit,z(1),Df("ERROR: ",a.parseResult.error,""))},Kcb=function(a,b){a&1&&(G(0,"span",68)(1,"span",69),R(2),H()());a&2&&(a=b.$implicit,z(2),Ef(a))},Mcb=function(a){a&1&&(G(0,"span",66),Q(1,Kcb,3,1,"span",67),H());
if(a&2){a=O(2).$implicit;z(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(Lcb(a.controllerReference,d));a=b}F("ngForOf",a)}},Ncb=function(a){a&1&&(G(0,"td",63),Q(1,Jcb,2,1,"div",64),Q(2,Mcb,2,1,"span",65),H());a&2&&(a=O().$implicit,z(1),F("ngIf",a.parseResult.error),z(1),F("ngIf",!a.parseResult.error))},Ocb=function(a){a&1&&(G(0,"div"),
R(1),H());a&2&&(a=O(2).$implicit,z(1),Df("ERROR: ",a.parseResult.error,""))},Pcb=function(a,b){a&1&&(G(0,"span",68)(1,"span",69),R(2),H()());a&2&&(a=b.$implicit,z(2),Ef(a))},Rcb=function(a){a&1&&(G(0,"span",66),Q(1,Pcb,3,1,"span",67),H());if(a&2){a=O(2).$implicit;z(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(Qcb(a.controllerReference,
d));a=b}F("ngForOf",a)}},Scb=function(a){a&1&&(G(0,"td",70),Q(1,Ocb,2,1,"div",64),Q(2,Rcb,2,1,"span",65),H());a&2&&(a=O().$implicit,z(1),F("ngIf",a.parseResult.error),z(1),F("ngIf",!a.parseResult.error))},Tcb=function(a){a&1&&(G(0,"div"),R(1),H());a&2&&(a=O(2).$implicit,z(1),Df("ERROR: ",a.parseResult.error,""))},Ucb=function(a,b){a&1&&(G(0,"span",68)(1,"span",69),R(2),H()());a&2&&(a=b.$implicit,z(2),Ef(a))},Vcb=function(a){a&1&&(G(0,"span",66),Q(1,Ucb,3,1,"span",67),H());if(a&2){a=O(2).$implicit;
z(1);var b=a.parseResult.postmortemValues.includes("ANY"),c=a.parseResult.postmortemValues.includes("NONE");a=b===c?["Either"]:[a.controllerReference.anyNoneDisplayValues.get(a.parseResult.postmortemValues[0])];F("ngForOf",a)}},Wcb=function(a){a&1&&(G(0,"td",71),Q(1,Tcb,2,1,"div",64),Q(2,Vcb,2,1,"span",65),H());a&2&&(a=O().$implicit,z(1),F("ngIf",a.parseResult.error),z(1),F("ngIf",!a.parseResult.error))},Xcb=function(a){a&1&&(G(0,"td",72),R(1),H());a&2&&(a=O().$implicit,O(2),z(1),Df(" ",xcb(a.sloElement.metric),
" "))},Ycb=function(a){if(a&1){var b=v();G(0,"td",73)(1,"slo-objective-selector",74);M("objectiveDurationChange",function(c){w(b);var d=O().$implicit;return y(d.selectedObjectiveDuration=c)})("objectiveBusinessDaysChange",function(c){w(b);var d=O().$implicit;return y(d.selectedObjectiveBusinessDays=c)});H()()}a&2&&(a=O().$implicit,z(1),F("dayType",a.selectedDayType)("objectiveDuration",a.selectedObjectiveDuration)("objectiveBusinessDays",a.selectedObjectiveBusinessDays)("isDisabled",!a.isEditingInternal))},
Zcb=function(a){a&1&&(G(0,"td",75),R(1),H());a&2&&(a=O().$implicit,O(2),z(1),Df(" ",Bcb.get(a.sloElement.dayType||"CALENDAR")," "))},adb=function(a){if(a&1){var b=v();G(0,"b-icon",85);M("click",function(c){w(b);var d=O(2).$implicit,e=O(2);return y($cb(e,d,c))});H()}a&2&&F("name","edit")("size","small")},bdb=function(a){a&1&&I(0,"b-icon",86);if(a&2){O();var b=Cf(8);F("name","more-settings-vertical")("size","small")("matMenuTriggerFor",b)}},ddb=function(a){if(a&1){var b=v();G(0,"button",87);M("click",
function(){w(b);var c=O(2).$implicit,d=O(2);return y(cdb(d,c,1))});R(1," Move row down ");H()}},edb=function(a){if(a&1){var b=v();G(0,"button",88);M("click",function(){w(b);var c=O(2).$implicit,d=O(2);return y(cdb(d,c,-1))});R(1," Move row up ");H()}},gdb=function(a){if(a&1){var b=v();G(0,"td",76)(1,"span",18)(2,"span",19);Q(3,adb,1,2,"b-icon",77);H();G(4,"span",19)(5,"span");Q(6,bdb,1,3,"b-icon",78);H();G(7,"mat-menu",null,79);Q(9,ddb,2,0,"button",80);Q(10,edb,2,0,"button",81);G(11,"button",82);
M("click",function(){w(b);var d=O().$implicit,e=O(2);pcb(e,e.collection.indexOf(d)+1);return y()});R(12," Add row below ");H();G(13,"button",83);M("click",function(){w(b);var d=O().$implicit,e=O(2);pcb(e,e.collection.indexOf(d));return y()});R(14," Add row above ");H();G(15,"button",84);M("click",function(){w(b);var d=O().$implicit,e=O(2);return y(Gcb(e,d))});R(16," Remove ");H()()()()()}if(a&2){a=O().$implicit;var c=O(2);z(3);F("ngIf",a.canEdit);z(3);F("ngIf",a.canEdit);z(3);F("ngIf",fdb(c,a,1).valid);
z(1);F("ngIf",fdb(c,a,-1).valid)}},hdb=function(a,b){a&1&&(G(0,"tr",25),Q(1,tcb,1,0,"td",26),Q(2,ucb,2,3,"td",27),Q(3,vcb,2,3,"td",28),Q(4,wcb,2,3,"td",29),Q(5,zcb,4,3,"td",30),Q(6,Acb,2,4,"td",31),Q(7,Dcb,4,2,"td",32),Q(8,Hcb,6,4,"td",33),Q(9,Icb,1,0,"td",34),Q(10,Ncb,3,2,"td",35),Q(11,Scb,3,2,"td",36),Q(12,Wcb,3,2,"td",37),Q(13,Xcb,2,1,"td",38),Q(14,Ycb,2,4,"td",39),Q(15,Zcb,2,1,"td",40),Q(16,gdb,17,4,"td",41),H());a&2&&(a=b.$implicit,b=O(2),qf("draggable",!b.isDisabled&&null==b.openRow),z(1),F("ngIf",
a.isEditingInternal),z(1),F("ngIf",a.isEditingInternal),z(1),F("ngIf",a.isEditingInternal),z(1),F("ngIf",a.isEditingInternal),z(1),F("ngIf",a.isEditingInternal),z(1),F("ngIf",a.isEditingInternal),z(1),F("ngIf",a.isEditingInternal),z(1),F("ngIf",a.isEditingInternal),z(1),F("ngIf",!a.isEditingInternal),z(1),F("ngIf",!a.isEditingInternal),z(1),F("ngIf",!a.isEditingInternal),z(1),F("ngIf",!a.isEditingInternal),z(1),F("ngIf",!a.isEditingInternal),z(1),F("ngIf",!a.isEditingInternal),z(1),F("ngIf",!a.isEditingInternal),
z(1),F("ngIf",!a.isEditingInternal))},idb=function(a){if(a&1){var b=v();G(0,"tbody",23);M("cdkDropListDropped",function(c){w(b);var d=O();return y(d.onDrop(c))});Q(1,hdb,17,18,"tr",24);H()}a&2&&(a=O(),F("cdkDropListData",a.collection)("cdkDropListDisabled",a.isDisabled||null!=a.openRow),z(1),F("ngForOf",a.collection))},jdb=function(a){a&1&&(G(0,"div",89),R(1," There are currently no rules for this SLO "),H())},kdb=function(a,b){if(a&1){var c=v();G(0,"tr",7);M("click",function(){var e=w(c).$implicit,
g=O();return y(g.editSlo(e))})("focus",function(){var e=w(c).index,g=O();return y(g.setFocusOnIndex(e))});I(1,"td",2);G(2,"td",8)(3,"a",9);M("click",function(e){return e.stopPropagation()});R(4);H()();G(5,"td",10);R(6);H()()}if(a&2){a=b.$implicit;b=b.index;var d=O();qf("grid-focus",d.isFocused(b));gf("aria-selected",d.isFocused(b))("aria-label",d.renderRowLabel(b));z(3);F("href",d.paths.editSlo(a.sloId),Md);z(1);Df(" ",a.name," ");z(2);Df(" ",a.description," ")}},ldb=function(a){if(a)return(Array.isArray(a)?
a.map(function(b){return Rh(b)}):[Rh(a)]).filter(function(b){return!isNaN(b)})},mdb=function(a,b){if(b&&!Array.isArray(b))return a.find(function(c){return!Lp(c,b)})},ndb=function(a,b){"string"===typeof a&&(a=a.trim())&&b(ii(a))},odb=function(a,b){if(!a)return[];a=k("string"===typeof a?a.split(","):a);for(var c=a.next();!c.done;c=a.next())ndb(c.value,function(d){return b.push(d)});return lqa(b)},pdb=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("se");}},Mp=function(a,b,c){b=[b,c].map(function(d){return null!=d?d:""}).join(";");a.setAttribute("pkd-ac-state",String(Eg(b)))},qdb=function(a,b){b=[String(b.getId()),b.getValue()].join(";");a.setAttribute("pkd-target",String(Eg(b)))},rdb=function(a,b){a.setAttribute("pkd-ps-state",String(Eg("1")));b.warmUpCache().then(function(){a.setAttribute("pkd-ps-state",String(Eg("2")))},function(){a.setAttribute("pkd-ps-state",
String(Eg("3")))})},vdb=function(a){var b=Co(sdb,{id:Np(tdb)});a.appendChild(b);return new udb(b)},wdb=function(a,b,c){var d=Math.max(b,c);return a>Math.min(b,c)&&a<d},ydb=function(a,b,c){return new Op(new xdb(void 0===a?0:a,null!=b?b:[],null!=c?c:null))},zdb=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}},Adb=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},Bdb=function(a){var b=a.getCaller(),c=a.getClient();a=a.getRequestType();return b&&c&&a?JSON.stringify([b.serialize(),c.serialize(),a]):null},Cdb=function(a){var b=new Pp;if(a instanceof Qp)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},Tp=function(a){a=void 0===a?null:a;var b=(new Rp).setExperimentFlags(new Sp).setSource(3);a&&b.setError(Cdb(a));return b},Kdb=function(a){var b=void 0===b?new Ddb:b;if(Edb)return Edb;var c=new Fdb(a),d=new Gdb(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 Up(a,b):new Vp(a);b.clean();
c=new Hdb(new Idb(b,c),d);return Edb=new Jdb(a,c)},Wp=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},Xp=function(a,b,c,d){d=void 0===d?[]:d;Ldb()?(zdb(a,b,c,d),b=a.getAttribute("jslog").concat("; cid:peopleweb"),a.setAttribute("jslog",b)):(d=void 0===d?[]:d,b=[Np(Mdb),b,c.join(","),d.join(",")].join(";"),b=Eg(b),a.setAttribute("pk-log",
String(b)))},Odb=function(a){var b;return Object.freeze({id:"ENOWEf",iconUrl:null==(b=Ndb.get(a))?void 0:b.get("ENOWEf"),label:"Hide suggestion",keyboardShortcut:[],veid:181476})},Pdb=function(a){return a.map(function(b){if(Yp)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)}})},Sdb=function(a,b){var c=Np(Zp.getInstance()),d=Object,
e=d.assign;c=c+":"+a.id;var g=Pdb(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("ue`"+b);}d=Co(Qdb,e.call(d,{},a,{id:c,keyboardShortcut:g,densityClass:b}));a.veid&&Xp(d,a.veid,["impression","pk-click"]);return new Rdb(d,a)},Udb=function(a){var b=new Tdb([]);return new $p(a,b)},aq=function(a,b){return a.querySelector('[peoplekit-id="'+
b+'"]')},Vdb=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"))})},cq=function(a){return new bq(a)},Wdb=function(a,b){b=b.ownerDocument.createEvent("CustomEvent");b.initEvent(a,!0,!0);return b},Ydb=function(a,b){return new Xdb(a,b)},deb=function(a,b,c,d,e){var g=Zdb(c),h=dq(a),l=eq(a);l&&h.intersection($db(l));aeb(h,
Bo(a),Bo(c));a=beb(a,b);b=h.left;a&4?b+=h.width:a&2&&(b+=h.width/2);h=new fq(b,h.top+(a&1?h.height:0));h=gq(h,g);a=beb(c,d);h=ceb(h,hq(c),a).rect;c=eq(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},geb=function(a,b){iq(a,new fq(b.left,b.top));b=b.getSize();eeb(hq(a),b)||feb(a,b)},
heb=function(a,b,c){return new jq(a,b,c)},ieb=function(a){return Wdb("pk-click",a)},leb=function(a,b,c,d){var e=Co(jeb);Xp(e,28041,["impression"]);var g=new keb(e);a.appendChild(e);return new kq(e,b,c,g,d)},oeb=function(a,b){b=Co(meb,{label:b.label});a.appendChild(b);return new neb(b)},qeb=function(a,b){for(var c=k(["peoplekitThemeLight","peoplekitThemeDark"]),d=c.next();!d.done;d=c.next())a.classList.remove(d.value);(b=peb.get(b))&&a.classList.add(b)},teb=function(a,b,c,d){b=Co(reb,{content:b,header:d});
a.appendChild(b);a=oeb(aq(b,"TvD9Pc"),{label:"Close"});qeb(b,c.getTheme());return new seb(b,a)},veb=function(a,b){var c=ueb({header:"Couldn't hide suggestion"});var d=lq("<div>There was a problem and this person could not be hidden</div>");a=teb(a,d,b,c);Xp(a.getRoot(),131913,["impression"]);return a},web=function(a,b){var c=ueb({header:"Couldn't hide suggestion"});var d=lq("<div>Groups of 2 or more people can't be hidden</div>");a=teb(a,d,b,c);Xp(a.getRoot(),166230,["impression"]);return a},xeb=
function(a,b){var c=ueb({header:"Couldn't show suggestion"});var d=lq("<div>There was a problem and this person could not be shown in suggestions</div>");a=teb(a,d,b,c);Xp(a.getRoot(),184760,["impression"]);return a},yeb=function(a){var b=new Image;b.src=a;a=b.complete;b.src="";return a},nq=function(a,b,c,d,e,g){e=void 0===e?new mq:e;g=void 0===g?"":g;b=Co(zeb,{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:Aeb()});e=new Beb(b,e);a.appendChild(b);return e},Deb=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 Ceb(Ceb(gp(c),"#\ufe0f\u20e3\u20e31\ufe0f\u20e3\u20e3","<b>"),"2\ufe0f\u20e3\u20e3*\ufe0f\u20e3\u20e3","</b>")},Eeb=function(a){var b=a.getDisplayName();
return b?Deb(b,a.getMatchInfo().getDisplayNameMatches()):""},Feb=function(a){var b=a.getDisplayValue();return b?Deb(b,a.getMatchInfo().getDisplayValueMatches()):""},Geb=function(a,b){var c=b?Eeb(a):gp(a.getDisplayName());b=b?Feb(a):gp(a.getDisplayValue());c=c||b;b=b||gp(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()]}},Jeb=function(a,b,c,d){var e=b.result().getMemberList();
1===e.length?(b=Geb(e[0],!1),b={hovercardId:b.hovercardId,label:b.label,sublabel:b.sublabel,name:"",photos:b.photos}):(e=b.result(),e=Geb(e,!1),b=b.getDisplayNameWithOverrideApplied(),b={label:gp(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=lq;g='<div peoplekit-id="'+oq("tJHJj")+'" class="'+oq("peoplekitComponentsHideconfirmationdialogImplHeader")+'" data-hovercard-id="'+oq(g)+'" data-name="'+oq(h)+
'"><div class="'+oq("peoplekitComponentsHideconfirmationdialogImplHeaderRow")+'"><div class="'+oq("peoplekitComponentsHideconfirmationdialogImplLeft")+'">';h=lq('<div class="'+oq("peoplekitComponentsHideconfirmationdialogImplAvatar")+'"><div class="'+oq("peoplekitComponentsHideconfirmationdialogImplAvatarContainer")+'" peoplekit-id="'+oq("d6MZcd")+'"></div></div>');g=g+h+'</div><div class="'+oq("peoplekitComponentsHideconfirmationdialogImplCenter")+'">';l=lq('<div class="'+oq("peoplekitComponentsHideconfirmationdialogImplLabelContainer")+
'"><div peoplekit-id="'+oq("E0kCZc")+'" class="'+oq("peoplekitComponentsHideconfirmationdialogImplLabel")+" "+oq("peoplekitComponentsHideconfirmationdialogImplLabelRow")+'" translate="no">'+pq(qq(l))+"</div>"+(q?'<div class="'+oq("peoplekitComponentsHideconfirmationdialogImplSublabel")+" "+oq("peoplekitComponentsHideconfirmationdialogImplLabelRow")+'" translate="no">'+pq(qq(q))+"</div>":"")+"</div>");l=e(g+l+"</div></div></div>");e=0===d?"Hide":"Show";q='<div peoplekit-id="'+oq("bN97Pc")+'" class="'+
oq("peoplekitComponentsHideconfirmationdialogImplContent")+'"><div class="'+oq("peoplekitComponentsHideconfirmationdialogImplHeadline")+'">';q=(0==d?q+"Hide Suggestion?":q+"Show Suggestion?")+('</div><div class="'+oq("peoplekitComponentsHideconfirmationdialogImplDescription")+'">');d=lq((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=Co(Heb,{content:d,header:l});a.appendChild(d);a=oeb(aq(d,
"IbE0S"),{label:"Cancel"});l=l={confirmButtonText:e};l=l.confirmButtonText;q="";switch(va(l)?l.toString():l){case "Confirm":q+="Confirm";break;case "Hide":q+="Hide";break;case "Show":q+="Show";break;default:q+="Apply"}l=oeb(aq(d,"McfNlf"),{label:q});qeb(d,c.getTheme());q=l.getRoot();switch(e){case "Hide":Xp(q,131909,["pk-click","impression"]);break;case "Show":Xp(q,131910,["pk-click","impression"])}a=new Ieb(d,a,l);d=aq(a.getRoot(),"d6MZcd");nq(d,b.photos,36,36,c);return new rq(a)},Keb=function(a){switch(a){case 0:return 40;
case 1:return 32;case 2:return 28;default:throw Error("ue`"+a);}},sq=function(a){switch(a){case 0:return"googleMaterialDefaultDensity";case 1:return"workspaceMaterialComfortableDensity";case 2:return"workspaceMaterialCompactDensity";default:throw Error("ue`"+a);}},Meb=function(a,b,c,d){var e=Geb(a,!0);a=Leb(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}},Leb=function(a,b,c,d){var e=[];Jj(tq.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:Np(Neb),hovercardId:b.hovercardId,label:b.label,sublabel:b.sublabel,photos:b.photos,densityClass:d,tags:e,
allowSublabelTranslation:!1}},Qeb=function(a,b,c){var d="",e=gp(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 x,A;(q=(q=null==(x=l.getPrimaryTarget())?void 0:null==(A=x.getName())?void 0:A.getGivenName())?Deb(q,l.getMatchInfo().getGivenNameMatches()):"")||(q=Eeb(l))}q||(q=Feb(l));return q}),b&&(d=d.reverse()),d=Eeb(a)||Oeb({memberNames:d}),e||c||null===a.getTotalMemberCount()||(e=Number(a.getTotalMemberCount()),
e=Peb({memberCount:e}),g=!0);else if(1===h)return d=a.getMemberList()[0],e=Geb(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}},Seb=function(a,b,c,d,e,g){a=Qeb(a,d,e);if(a.flatResult)return g=Leb(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:Np(Reb),hovercardId:a.hovercardId,label:a.label,
sublabel:c.shouldHideSublabel?"":b,type:a.type,photos:a.photos,densityClass:g,tags:[],allowSublabelTranslation:d}},Ueb=function(a,b,c,d,e,g){return new Teb(a,b,c,d,e,g)},Web=function(a,b){return new Veb(a,void 0===b?"":b)},Xeb=function(a){var b=-1;(a=uq(a))&&Ek(a,2)&&(b=Gh(a,2,0));return"index:"+b},cfb=function(a,b){var c=Co(Yeb,{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("ue`"+g);}}e.call(d,g);if(b.tooltipLabel){e=c.getAttribute("data-tooltip-id")||"";d={label:b.tooltipLabel,ariaLabel:b.ariaLabel};e=Co(Zeb,{label:d.label,id:e,ariaLabel:d.ariaLabel});a.appendChild(e);var h=new $eb(e,d.showDelayMs,d.hideDelayMs);afb(h,c)}return new bfb(c,b.icon,b.disabledIcon,h,b.disableNavigationFocus,b.onClick)},efb=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 dfb(a,b,e)},ifb=function(a,b){var c=(new ffb).filterResult(b.result)===b.result;Jj(b.clientConfig.getInternal(),7,!1)&&c&&gfb()?a=new hfb(a,b.appearanceConfig,b.clientConfig,b.interactions):b.resultCustomization.secondaryActionButtonConfig&&(a=efb(a,b.appearanceConfig,b.resultCustomization.secondaryActionButtonConfig,b.interactions));return a},jfb=function(a,b){var c=(new ffb).filterResult(b.result)===
b.result;Jj(b.clientConfig.getInternal(),7,!1)&&!c&&gfb()&&(a=new vq(a,b.appearanceConfig,b.clientConfig,b.result));return a},mfb=function(){return function(a){var b=a.result;var c=a.selectionsState;var d=a.resultConfig,e=a.appearanceConfig,g=a.resultCustomization,h=Meb(b,d,g,sq(e.getDensity())),l=Co(kfb,h);Xp(l,25285,["impression","pk-select","pk-deselect"],[Xeb(b.getPrimaryTarget().getLoggingToken())]);var q=aq(l,"d6MZcd"),x=Keb(e.getDensity()),A;g=null!=(A=g.backupAvatarUrl)?A:"";e=nq(q,h.photos,
x,x,e,g);b=new lfb(l,b,c,d,h.tags,e);c=new wq(new xq(b,c));return jfb(ifb(c,a),a)}},pfb=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=yq(l)||zq(l)?Seb(c,d,h,b,Jj(g.getInternal(),6,!1),sq(e.getDensity())):Meb(c,d,h,sq(e.getDensity()));b=Object;l=b.assign;a:switch(a){case 1:var q=lq('<div class="'+oq("peoplekitComponentsResultlistitemDisabledIconIndicator")+'" aria-label="'+
oq(". Already selected")+'">'+lq('<svg xmlns="http://www.w3.org/2000/svg" height="18px" viewBox="0 0 24 24" width="18px" class="'+(oq("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=lq("");break a;default:q='<div class="'+oq("peoplekitComponentsResultlistitemDisabledTextIndicator")+'">',q=lq(q+"DISABLED</div>")}b=Co(nfb,l.call(b,{},g,{disableReason:q}));
l=aq(b,"d6MZcd");q=Keb(e.getDensity());var x;h=null!=(x=h.backupAvatarUrl)?x:"";e=nq(l,g.photos,q,q,e,h);return new ofb(b,c,d,g.tags,e)}},rfb=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 x=a.getPrimaryTarget().getId();q=zq(x)?3:yq(x)?2:q&&!d.getAllowResultDeselection()?5:1===a.getTargetList().length?1:1<a.getTargetList().length?4:0}q=qfb.get(q);if(!q)throw Error("Fe");return q({result:a,selectionsState:c,
resultConfig:d,appearanceConfig:e,clientConfig:g,isRightToLeft:h,interactions:l,resultCustomization:b})},ufb=function(a){var b=Np(Zp.getInstance());b=Co(sfb,{id:b,header:a});return new tfb(b,a)},vfb=function(a,b,c){return new Aq(a,b,c)},wfb=function(a,b,c){return(b=b.getGroupName(c))?new Bq(a,b):a},yfb=function(a,b,c,d){b=b.getGroupName(c);c=xfb();return b&&c.infoGroupConfig?new Cq(a,c.infoGroupConfig,d):a},zfb=function(a,b,c){b=b.getGroupName(c);c=xfb();return b&&c.collapsibleGroupConfig?new Dq(a,
c.collapsibleGroupConfig):a},Cfb=function(a,b,c,d,e,g,h,l){h=Co(Afb,{header:h||""});a.appendChild(h);a=vdb(aq(h,"tjneg"));return{resultList:new Bfb(a,b,c,d,e,g,l),list:a}},Ffb=function(a,b,c,d,e,g,h,l,q){a=Cfb(a,b,c,d,e,l,q,g);b=a.resultList;b=new Dfb(b,a.list,h);return new Efb(b,g)},Gfb=function(a){return"XLuqBd"===a.getAttribute("peoplekit-id")},Ifb=function(a,b){return new Hfb(a,b)},Jfb=function(a){return a.map(function(b){return b.getLoggingToken()}).filter(Boolean)},Eq=function(a){return a.filter(function(b){return!b.isPlaceholder()}).map(function(b){return b.selectionToken().getLoggingToken()}).filter(Boolean)},
Fq=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;},Kfb=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)},Lfb=function(a){var b=document.createElement("div");zdb(b,a.veid,a.action,a.pairs);return b},Mfb=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})},Ofb=function(a){if(Nfb.has(a))return Nfb.get(a);throw Error("Je`"+a);},Qfb=function(a){if(Pfb.has(a))return Pfb.get(a);throw Error("Ke`"+a);},Rfb=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},Tfb=function(a){return a?a.__owner?a.__owner:a.parentNode&&11===a.parentNode.nodeType?a.parentNode.host:Sfb(a):null},Ufb=function(a,b,c){for(c||(a=Tfb(a));a&&!b(a);)a=Tfb(a)},Xfb=function(a,b){var c=new Gq,d=YLa();b=
(new Vfb).setClientId(a.getClientId()).setApplication(a.getSocialApplicationOrUndefined()).setEntryPoint(b).setVersionName("1.0").setBaselineCl(539367816);c=new Hq(c,1394,d,void 0,void 0,void 0,new Wfb(b));c.setClientSideLogOnlyForDevelopment(!a.getEnableClearcut()||!1);a=new Iq;d=tq.getExperimentIds();a=tb(a,3,d,cb);c.clearcut_.setClearExperimentIds(a);return c},Zfb=function(a,b,c,d,e,g){var h=c.beginSession(function(){},g.sessionOptions||new Jq);return Yfb(a,b,c,h,d,e,g)},Yfb=function(a,b,c,d,e,
g,h){g.getInternal().getClearcut().setInterfaceType(4);g.getInternal().getClearcut().setComponentFlow(7);var l=g.getInternal(),q=e.getEnvironmentConfig(),x=q.experimentsConfig_.getProfileId();if(x)if(l.getExperiments().getIsEnabled()){var A=nb($fb||($fb=agb('[null,null,null,null,null,null,null,"AIzaSyBAMHkvD9gqERVdYmGsYLnAtfzigZdAqJQ"]')));A=new bgb(A,7)}else A=new Kq;else A=new Kq;l=l.getExperiments();q=A.loadExperiments(l.getApplication(),(new Lq).setPeopleApiEnv(q.apiEnv_),x);tq=new cgb(l,q);q=
Co(dgb,{classes:"aU4VQc"});a.appendChild(q);qeb(q,e.getTheme());Xp(q,64611,["impression"]);a=new Mq;x=e.getEntryPoint();x=new egb(d,a,x);l=g.getInternal().getClearcut();A=new fgb(l);A=Nq(A);l=l.getInterfaceType();l=new ggb(new igb(A,l));var B=new jgb(h.intelligence);h=Co(kgb);q.appendChild(h);A=Co(lgb);Xp(A,85843,["impression"]);h.appendChild(A);var K=aq(A,"tjneg");a:{var N=e.getAutocompleteHeader();var P=e.getAutocompleteCustomGrouping();switch(e.getAutocompleteGroupingType()){case 1:P=Ffb(K,e,e,
g,a,x,new mgb(e.getAutocompleteGroupingLabel()),B,N);break a;case 2:P=Ffb(K,e,e,g,a,x,new ngb(e.getAutocompleteGroupingLabel()),B,N);break a;case 3:if(!P)break;P=Ffb(K,e,e,g,a,x,P,B,N);break a;case 4:if(P){B=Co(Afb,{header:N||""});K.appendChild(B);B=vdb(aq(B,"tjneg"));P=new ogb(B,e,e,g,a,x,P);P=new Efb(P,x);break a}}P=Cfb(K,e,e,g,a,B,N,x);P=new Efb(P.resultList,x)}K=aq(K,"rymPhb");b.setAttribute("aria-owns",K.id);b.setAttribute("aria-controls",K.id);K.setAttribute("aria-labelledby",b.id);B=e.getNoResultsMessage();
K=Co(pgb);B?B.display?B=new qgb(K,B):(B=Co(rgb,B),K.appendChild(B),B=new sgb):B=new tgb;A.appendChild(K);l=new ugb(A,b,P,d,l,e,B,g);Jj(g.getInternal(),7,!1)&&gfb()&&(l=new Oq(l,c,d,g,e,b));b=new vgb(h,b,l,a,e);rdb(b.getRoot(),c);c=g.getInternal().getClearcut();g=e.getEntryPoint();Ldb()?c=new wgb(q,Xfb(c,g)):(d=tq.getExperiments(),Jj(d,2,!1)||Jj(c,6,!0)?(c=Xfb(c,g),q.hasAttribute("pk-log")?(c=new xgb(new Pq(q),c),c=new ygb(q,c),c=new zgb(c)):c=new Agb):c=new Agb);c.start();return new Bgb(q,b,a,x,c,
e)},Dgb=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);Cgb.lastIndex=0;for(var d=Cgb.exec(a);d&&d.index<c;d=Cgb.exec(a))b.push(a.substring(Number(Cgb.lastIndex)));return b},Hgb=function(a){a=Array.from(a).flatMap(function(g){return(g||"").split(Egb)}).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=Qq(Fgb(c.value)).replace(Ggb,"").toUpperCase().toLowerCase();
c=k(Dgb(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})},Jgb=function(a){var b;return Igb(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)})},Kgb=function(a,b){return isFinite(a.fieldAffinity)?a.fieldAffinity:b&&yq(a.id)&&9!==a.id.getType()?isFinite(a.itemAffinity)?a.itemAffinity:-Infinity:-Infinity},
Ngb=function(a,b,c){if(yq(a.id)||yq(b.id)){var d=Lgb.has(a.id.getType()),e=Lgb.has(b.id.getType());if(d!==e)return d?-1:1;if(yq(a.id)&&yq(b.id))return Mgb(a,b,c,!1)}d=Kgb(a,c);c=Kgb(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},Mgb=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?Ngb(a,b,c):0},Sgb=function(a,
b,c){var d=Rq(b.getTargetType(),b.getValue()),e=[].concat(Vc(b.getProfileIdList().map(Ogb)),Vc(Hh(b,6).map(Pgb)),Vc(b.getCustomSourceIdList().map(Qgb)));Rgb.includes(d.getType())&&e.push(d);return{id:d,containerIds:e,dataSource:Hh(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}},Tgb=function(a){return(a||"").trim()},Zgb=function(a){var b=a.resultData,c=a.targetData,d=Ugb(Sq(a.id).setDataSource(a.dataSource||0),!!a.isMe);a.containerIds&&(d.sourceIds_=a.containerIds||[]);b.hasResultType()&&d.setResultType(b.getResultType());c.hasValue()&&d.setValue(Tgb(c.getValue()));c.hasDescription()&&d.setDescription(c.getDescription());if(c.hasName()){var e=c.getName();d.setName((new Vgb).setDisplayName(e.getDisplayName()).setGivenName(e.getGivenName()).setFamilyName(e.getFamilyName()).setSourceType(e.getSourceType()))}c.hasPhoto()&&
(e=c.getPhoto(),d.setPhoto((new Tq).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()&&Wgb(d,c.getOrgState());c.hasDataSource()&&d.setDataSource(c.getDataSource());c.getTagList().length&&Xgb(d,c.getTagList().map(function(h){return Ygb(h.altText_).setIconUrl(h.getIconUrl())}));
c.hasExtendedData()&&d.setExtendedData(c.getExtendedData());return d},ahb=function(a){return a?$gb.get(a)||0:0},dhb=function(a){switch(a.getValueCase()){case 2:return Uq(a.getEmail().getValue()||"");case 3:var b=a.getPhone();return b.getOriginalValue()&&m(b,2)?(a=bhb(b.getOriginalValue()||""),b=bhb(m(b,2)||""),!a.equals(b)&&a.getValue().startsWith(b.getValue())?a:b):bhb(m(b,2)||b.getDisplayValue()||b.getOriginalValue()||"");case 4:a=Sj(a,Vq,4,Wq);if(a.hasProfileId())return a=a.getProfileId()||"",
new Xq(8,xo(a).toLowerCase(),a);switch(Ci(a,Yq)){case 2:return a=a.getEmail()||"",new Xq(6,xo(a).toLowerCase(),a);case 3:return chb(a.getPhone()||"")}}return Zq},ehb=function(a){return a.getSourceIdsList().map(function(b){switch(b.getIdCase()){case 1:return Ogb(b.getProfileId()||"");case 2:return Pgb(b.getContactId()||"");default:return null}}).filter(Boolean)},fhb=function(a,b){return Dj(a,$q,3)&&Z(a,$q,3).getIsPlaceholder()?3:ar(b,8)?1:0},ghb=function(a){return a&&a.hasAffinity()?Number(a.getAffinity().getValue_legacyNullable()):
-Infinity},hhb=function(a){return a.hasAffinity()?Number(a.getAffinity().getValue_legacyNullable()):-Infinity},ihb=function(a){return!!a&&!!a.getPrimary()},khb=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"+jhb(a):""},nhb=function(a){var b=void 0;if(Z(a,$q,3)){var c;
b=null!=(c=b)?c:new br;cr(b,lhb,Z(a,$q,3))}if(a.getPeopleStackPersonExtendedData()){var d;b=null!=(d=b)?d:new br;cr(b,mhb,a.getPeopleStackPersonExtendedData())}return b},phb=function(a){var b=void 0;if(Z(a,dr,9)){var c;b=null!=(c=b)?c:new br;cr(b,ohb,Z(a,dr,9))}return b},rhb=function(a){var b=new er,c=a?2:1;qhb(b.setEventType(4),c).setToken(a);return b},thb=function(a,b){var c=new fr;c=(new er).setLookupInfo(c);hr(c.setEventType(6),9).setItemCount(a.length).setQueryScope(shb.get(b)||0);return c},
uhb=function(){var a=new er;hr(a.setEventType(6),11);return a},vhb=function(){var a=new er;hr(a.setEventType(6),10);return a},whb=function(a,b){var c=new er;hr(c.setEventType(6),6).setQueryLength(a.length).setQueryScope(shb.get(b)||0);return c},xhb=function(a){var b=new er;hr(b.setEventType(6),5).setQueryScope(shb.get(a)||0);return b},yhb=function(a,b){switch(a){case 8:case 3:case 17:return(new ir).setProfileId(b);case 1:case 6:return(new ir).setEmail(b);case 7:case 2:return(new ir).setPhone(b);default:return null}},
Ahb=function(a){return((a=aj(a,jr,2).find(function(b){return 1===kr(b,1)}))?zhb.get(kr(a,2)):0)||0},Dhb=function(a,b){b.hasAffinity()&&a.setFieldLoggingId(Bhb(Kca(qo(b.getAffinity(),1))||""));if(b.hasName()){var c=b.getName(),d=a.setName,e=(new Vgb).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 Tq).setUrl(b.getUrl()).setGlyph(b.getGlyph()).setType(Chb.get(b.getType())||
0)))},Ehb=function(a,b){if(b.hasProfileId())switch(Ci(b,Yq)){case 2:var c=b.getEmail()||"";return Sq(a.id).setValue(b.getProfileId()||"").setOriginatingField((new lr).setType(1).setValue(c));case 3:return c=b.getPhone()||"",Sq(a.id).setValue(b.getProfileId()||"").setOriginatingField((new lr).setType(2).setValue(c));default:return b=b.getProfileId()||"",Sq(a.id).setValue(b)}switch(Ci(b,Yq)){case 2:return b=b.getEmail()||"",Sq(a.id).setValue(b).setOriginatingField((new lr).setType(1).setValue(b));case 3:return b=
b.getPhone()||"",Sq(a.id).setValue(b).setOriginatingField((new lr).setType(2).setValue(b));default:return b=b.getProfileId()||"",Sq(a.id).setValue(b)}},Ghb=function(a,b){var c=Ugb(Sq(a.id),!!a.isMe);a.containerIds&&(c.sourceIds_=a.containerIds||[]);b&&Dhb(c,b);a.group&&((b=aj(a.group,mr,6).find(function(d){return null!=po(d,1,Fhb)}))?c.setValue(po(b,1,Fhb)||""):a.group.hasGroupId()&&c.setValue(a.group.getGroupId()||""));a.targetExtendedData&&c.setExtendedData(a.targetExtendedData);a.target=c},Ihb=
function(a){return new Hhb(a)},Lhb=function(a){if(8===a.getTargetType()){var b=a.getOriginatingField();if(b&&(b=b.getType(),b=Jhb.get(b)))return b}return(b=Khb.get(a.getTargetType()))?b:yq(a.getId())?8:0},Nhb=function(a,b,c){var d=new nr,e=new or;Yi(d,or,2,e);e.setProvenance(b);b=new pr;Yi(d,pr,1,b);Lj(b,9,1===c);b.setProfileId(a.getProfileId()||null);b.setContactId(a.getContactId()||null);c=8===Lhb(a)?8:a.getIsPersonalResult()?4:3;n(b,8,c);c=null;8===a.getTargetType()&&(e=a.getOriginatingField())&&
Jhb.has(e.getType())&&(c=e.getValue());c||(c=a.getValue());c&&b.setFieldValue(c);yq(a.getId())||b.setName(a.getName()?a.getName().getDisplayName():null);b.setFieldType(Lhb(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 Mhb(a,d)},Phb=function(a){a=Ohb.indexOf(a.provenance);return 0>a?Ohb.length:a},Qhb=function(a){return a.containerIds&&
a.containerIds.some(function(b){return 3===b.getType()})},Shb=function(a,b){var c=a.getPrimaryTarget(),d=a.getTargetList().map(function(e){return e===c?b:e});return new Op(new Rhb(a,d))},Uhb=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=Shb(d,new Thb(g,e))}return[c,d]})));return a},Xhb=function(a){return Jj(a,21,!1)?new Vhb:Whb},Yhb=function(a){return 0!==a&&12!==a},$hb=function(){return new Zhb(Pc.apply(0,arguments))},bib=function(){return new aib(Pc.apply(0,arguments))},dib=function(){var a=Pc.apply(0,arguments);return 1===a.length?a[0]:new cib(a)},eib=function(a,b){return new Promise(function(c){0<b?setTimeout(function(){return c(a)},b):c(a)})},fib=function(a,b,c){b=eib(b,c);return Promise.race([a,b])},gib=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)}}},jib=function(a,b,c,d){b=hib(a,b).map(function(e){var g=k(e);e=g.next().value;g=g.next().value;return new qr(e,g)});c=hib(a,c).map(function(e){var g=k(e);e=g.next().value;g=g.next().value;return new qr(e,g)});a=hib(a,d).map(function(e){var g=k(e);e=g.next().value;g=g.next().value;
return new qr(e,g)});return new iib(b,c,a)},kib=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}},lib=function(a){return a.reduce(function(b,c){var d=kib(c);if(b.has(d)){var e;null==(e=b.get(d))||e.push(c)}else b.set(d,[c]);return b},new Map)},mib=function(a,b){b=void 0===b?new rr: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}},oib=function(a){return!a||a instanceof nib?a:new nib(a)},qib=function(a){return pib.get(a)||0},sib=function(a,b){var c=rib(sr(new tr,"PeopleStore").setLogSource(W(a,4,574)).setApplication(a.getSocialApplication()).setEnvironment(b.getPeopleApiEnv()).setVersion("1004").setBaselineCl(539367816).setEnableClearcut(a.getEnableClearcut()),[].concat(Vc(b.getExperiments().getExperimentIdsList()),Vc(ur?ur.getExperimentIds():[]))).setClientAgent(2);b.getClearcutUrl()&&
c.setClearcutUrl(b.getClearcutUrl());(a=aj(a,vr,5).find(function(d){return 0===d.getEntryPoint()}))&&c.setEventSource(wr(a,4));return c},tib=function(a){return(Dj(a,xr,12)?Z(Z(a,xr,12),vr,2):a.getSources())||new vr},uib=function(a){return(Dj(a,xr,12)?Z(Z(a,xr,12),vr,3):a.getSources())||new vr},vib=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)},wib=function(a){if(!a.hasSessionState())return"";a=a.getSessionState();return gj(a,3,0)+
":"+gj(a,4,0)+":"+gj(a,5,0)+":"+a.getInstanceId()},xib=function(a){return Dj(a,or,2)?uq(a).getContext()||0:0},yib=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?gj(d,3,0)+"-"+gj(d,4,0)+"-"+gj(d,5,0)+"-"+d.getInstanceId():"";b.has(d)?b.get(d).push(c):b.set(d,[c])}return Array.from(b.values())},zr=function(a,b,c,d){d=void 0===d?!1:d;a=a.filter(function(h){return!Jj(h,4,!1)});if(d){d=k(a);for(var e=d.next();!e.done;e=d.next())Lj(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=yib(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 yr;g.setSessionState(e);g.setEventType(b);dj(g,3,d);g.setEventSources(e.getSources());c.push(g)}return c},zib=function(a){var b;a=a.getMetadata();a.hasCacheState()&&(a=a.getCacheState(),a.hasSource()&&(b=
a.getSource()));return b||new Ar},Aib=function(a){a&1&&(G(0,"a",3),R(1),S(2,"async"),H());if(a&2){a=O();var b;F("href",a.manageComponentLink,Md);z(1);Ef(null==(b=T(2,2,a.component$))?null:b.name)}},Bib=function(a){a&1&&(G(0,"output"),R(1),H());a&2&&(a=O(),z(1),Ef(a.componentId))},Cib=function(a){a&1&&(G(0,"li")(1,"label"),R(2,"Component"),H(),I(3,"b-async-component",7),H());a&2&&(a=O(2),z(3),F("componentId",a.issueComponentId))},Dib=function(a){a&1&&(G(0,"li")(1,"label"),R(2,"Team"),H(),I(3,"b-team-display",
8),H());a&2&&(a=O(2),z(3),F("teamId",a.issueTeamId))},Eib=function(a){a&1&&(G(0,"ol",3)(1,"li")(2,"label"),R(3,"ID"),H(),G(4,"output"),R(5),H()(),G(6,"li")(7,"label"),R(8,"Type"),H(),G(9,"output"),R(10),H()(),G(11,"li")(12,"label"),R(13,"Priority"),H(),I(14,"b-issue-priority-display",4),H(),G(15,"li")(16,"label"),R(17,"Severity"),H(),G(18,"output"),R(19),H()(),G(20,"li")(21,"label"),R(22,"Status"),H(),G(23,"output"),R(24),H()(),G(25,"li")(26,"label"),R(27,"Last modified"),H(),G(28,"output"),R(29),
S(30,"date"),H()(),G(31,"li")(32,"label"),R(33,"Issue access limit"),H(),G(34,"output"),R(35),G(36,"a",5),R(37,"Learn more"),H()()(),Q(38,Cib,4,1,"li",6),Q(39,Dib,4,1,"li",6),H());a&2&&(a=O(),z(5),Ef(a.issueId),z(5),Ef(a.issueType),z(4),F("issuePriority",a.issuePriority),z(5),Ef(a.issueSeverity),z(5),Ef(a.issueStatus),z(5),Ef(Mf(30,10,a.issueLastModified,"medium")),z(6),Df("",a.accessLimitLevel," "),z(1),F("href",a.documentationLinks.getIssueAccessLimit(),Md),z(2),F("ngIf",a.issueComponentId),z(1),
F("ngIf",a.issueTeamId))},Fib=function(a){return a.startsWith('"')&&a.endsWith('"')||a.startsWith("'")&&a.endsWith("'")?a.toLowerCase().substr(1,a.length-2):a.toLowerCase()},Gib=function(a){a.label||(a=Nh(a),a.label={customFieldId:void 0,field:"_TEXT_"});return a},Iib=function(a){return{type:Hib[a.getType()],value:a.getValue()}},Kib=function(a){var b,c;return{type:Jib[a.getType()],values:(null!=(b=a.getValuesList())?b:[]).map(Kib),simpleValues:(null!=(c=aj(a,Lib,3))?c:[]).map(Iib)}},Pib=function(a){var b,
c=Mib[a.getType()],d=(null!=(b=a.getValuesList())?b:[]).map(Kib);b=Jj(a,3);if(a.hasLabel()){var e=a.getLabel();e={field:Nib[e.getField()],customFieldId:Number(e.getCustomFieldId())}}else e=void 0;return{type:c,values:d,negated:b,label:e,operator:Oib[W(a,5,0)]}},Rib=function(a){switch(a.getKindCase()){case 2:return{syntaxErrorResponse:{syntaxError:V(Sj(a,Br,2,Cr),1)},queryBuilderResponse:void 0};case 1:a=Sj(a,Dr,1,Cr);var b;return{syntaxErrorResponse:void 0,queryBuilderResponse:{type:Qib[a.getType()],
expressions:(null!=(b=aj(a,Er,2))?b:[]).map(Pib)}};default:return{syntaxErrorResponse:void 0,queryBuilderResponse:void 0}}},Sib=function(a){a&1&&(G(0,"span",11),R(1," > "),H())},Vib=function(a,b){if(a&1){var c=v();G(0,"span")(1,"a",9);M("click",function(d){var e=w(c).$implicit,g=O(2);e=new Tib(e.pathIds,e.pathNames);g.onTeamSelect.emit(e);d.stopPropagation();d.preventDefault();Uib(g.autocompleteTrigger);return y()});R(2);H();Q(3,Sib,2,0,"span",10);H()}a&2&&(a=b.$implicit,b=b.last,z(1),F("matTooltip",
a.pathNameText),z(1),Ef(a.name),z(1),F("ngIf",!b))},Wib=function(a,b){a&1&&(G(0,"mat-option",6)(1,"div"),Q(2,Vib,4,3,"span",7),H(),G(3,"span",8),R(4),S(5,"slice"),H()());a&2&&(a=b.$implicit,F("value",a),z(2),F("ngForOf",a.teamPath),z(1),F("matTooltip",a.description),z(1),Df("",Nf(5,4,a.description,0,100)," "))},Xib=function(a,b){a&1&&(G(0,"mat-option",5)(1,"div",6),R(2),H()());a&2&&(a=b.$implicit,F("value",a),z(2),Df(" ",a.name," "))},Yib=function(a,b){a&1&&(G(0,"mat-option",13),R(1),H());a&2&&(a=
b.$implicit,F("value",a.key),z(1),Df(" ",a.value," "))},Zib=function(a){if(a&1){var b=v();G(0,"mat-form-field",10)(1,"mat-select",11);M("ngModelChange",function(c){w(b);var d=O(2);return y(d.expressionType=c)});Q(2,Yib,2,2,"mat-option",12);S(3,"keyvalue");H()()}a&2&&(a=O(2),z(1),F("ngModel",a.expressionType),z(1),F("ngForOf",T(3,2,a.globalTypeLabels)))},$ib=function(a,b){a&1&&(G(0,"mat-option",13),R(1),H());a&2&&(a=b.$implicit,F("value",a[0]),z(1),Df(" ",a[1]," "))},ajb=function(a,b){a&1&&(G(0,"mat-option",
13),R(1),H());if(a&2){a=b.$implicit;b=O(2).$implicit;var c=O(2);F("value",a);z(1);Df(" ",c.getTypeLabel(b,a)," ")}},bjb=function(a){if(a&1){var b=v();G(0,"mat-form-field",10)(1,"mat-select",21);M("ngModelChange",function(c){w(b);var d=O().$implicit;return y(d.type=c)});Q(2,ajb,2,2,"mat-option",12);H()()}a&2&&(a=O().$implicit,z(1),F("ngModel",a.type),z(1),F("ngForOf",a.getLegalTypes()))},cjb=function(a,b){if(a&1){var c=v();G(0,"div",28)(1,"mat-checkbox",29);M("change",function(d){var e=w(c).$implicit,
g=O(3).$implicit;return y(g.enumValues[e.id]=d.checked)});R(2);H()()}a&2&&(a=b.$implicit,b=O(3).$implicit,z(1),F("checked",b.enumValues[a.id]),z(1),Df(" ",a.label||a.id," "))},djb=function(a){a&1&&(G(0,"div",26),Q(1,cjb,3,2,"div",27),H());a&2&&(a=O(2).$implicit,z(1),F("ngForOf",a.getOptions()))},ejb=function(a){if(a&1){var b=v();G(0,"div")(1,"input",30);M("ngModelChange",function(c){w(b);var d=O(3).$implicit;return y(d.csv=c)});H()()}a&2&&(a=O(3).$implicit,z(1),F("ngModel",a.csv)("bContactAutocomplete",
"MULTI"))},fjb=function(a){if(a&1){var b=v();G(0,"div",22)(1,"input",31);M("ngModelChange",function(c){w(b);var d=O(3).$implicit;return y(d.csv=c)});H()()}a&2&&(a=O(3).$implicit,z(1),F("ngModel",a.csv))},gjb=function(a){if(a&1){var b=v();G(0,"div",22)(1,"input",32);M("ngModelChange",function(c){w(b);var d=O(3).$implicit;return y(d.csv=c)});H()()}a&2&&(a=O(3).$implicit,z(1),F("ngModel",a.csv))},hjb=function(a){if(a&1){var b=v();G(0,"div",22)(1,"input",33);M("ngModelChange",function(c){w(b);var d=O(3).$implicit;
return y(d.csv=c)});H()()}a&2&&(a=O(3).$implicit,z(1),F("ngModel",a.csv))},ijb=function(a){a&1&&(G(0,"div"),Q(1,ejb,2,2,"div",24),Q(2,fjb,2,1,"div",18),Q(3,gjb,2,1,"div",18),Q(4,hjb,2,1,"div",18),H());a&2&&(a=O(2).$implicit,z(1),F("ngIf","user"==a.getWidgetType()),z(1),F("ngIf","csv"==a.getWidgetType()),z(1),F("ngIf","id"==a.getWidgetType()),z(1),F("ngIf","number"==a.getWidgetType()))},jjb=function(a,b){if(a&1){var c=v();G(0,"div",37)(1,"div",38)(2,"input",33);M("ngModelChange",function(d){var e=
w(c).$implicit;return y(e.value=d)});H()();G(3,"button",39);M("click",function(){var d=w(c).$implicit,e=O(3).$implicit,g=O(2);return y(Fr(g,e,d))});H()()}a&2&&(a=b.$implicit,z(2),F("ngModel",a.value))},kjb=function(a){if(a&1){var b=v();G(0,"button",40);M("click",function(){w(b);var c=O(3).$implicit,d=O(2);return y(Gr(d,c))});R(1);H()}a&2&&(a=O(3).$implicit,z(1),Df(" + ","OR"==a.type||"NOR"==a.type?"OR":"AND"," "))},ljb=function(a){a&1&&(G(0,"div",34),Q(1,jjb,4,1,"div",35),Q(2,kjb,2,1,"button",36),
H());a&2&&(a=O(2).$implicit,z(1),F("ngForOf",a.values),z(1),F("ngIf",a.type))},njb=function(a){if(a&1){var b=v();G(0,"div",49);M("click",function(){w(b);var d=O(2).$implicit,e=O(5);return y(mjb(e,d))});G(1,"span",50);R(2);H()()}if(a&2){a=O(2).$implicit;var c=O(5);F("title",c.getComponentPath(c.components[a.value]));z(2);Df(" ",c.getComponentPath(c.components[a.value])," ")}},ojb=function(a){if(a&1){var b=v();G(0,"div",38)(1,"b-team-component-picker",51);M("selectedComponentChange",function(c){w(b);
var d=O(7);d.componentUnderEdit=null!==c&&void 0!==c?c:null;d.componentUnderEdit&&(d.chipUnderEdit.value=d.componentUnderEdit.componentId,d.components[d.componentUnderEdit.componentId]=d.componentUnderEdit);d.componentUnderEdit=null;Hr(d);return y()});H()()}a&2&&(a=O(7),z(1),F("selectedComponent",a.componentUnderEdit)("placeholder","Choose Component")("isRequired",!0))},pjb=function(a){if(a&1){var b=v();G(0,"div",43);Q(1,njb,3,2,"div",44);Q(2,ojb,2,3,"div",45);G(3,"button",46);M("click",function(){w(b);
var d=O().$implicit;O(5);d.includeSubs=!d.includeSubs;return y()});I(4,"mat-icon",47);H();G(5,"button",48);M("click",function(){w(b);var d=O().$implicit,e=O(3).$implicit,g=O(2);return y(Fr(g,e,d))});H()()}if(a&2){a=O().$implicit;var c=O(5);z(1);F("ngIf",c.chipUnderEdit!==a);z(1);F("ngIf",c.chipUnderEdit===a);z(1);F("title",a.includeSubs?"Subcomponents are included":"Subcomponents are not included");gf("aria-checked",a.includeSubs);z(1);F("svgIcon",a.includeSubs?"child-components-24px":"child-components-hide-24px")}},
qjb=function(a,b){a&1&&(J(0),Q(1,pjb,6,5,"div",42),L());a&2&&(a=b.$implicit,b=O(5),z(1),F("ngIf",b.chipUnderEdit===a||a.value))},rjb=function(a){if(a&1){var b=v();G(0,"button",40);M("click",function(){w(b);var c=O(3).$implicit,d=O(2);return y(Gr(d,c))});R(1);H()}a&2&&(a=O(3).$implicit,z(1),Df(" + ","OR"==a.type||"NAND"==a.type?"OR":"AND"," "))},sjb=function(a){a&1&&(G(0,"div",34),Q(1,qjb,2,1,"ng-container",41),Q(2,rjb,2,1,"button",36),H());a&2&&(a=O(2).$implicit,z(1),F("ngForOf",a.values),z(1),F("ngIf",
a.type))},ujb=function(a){if(a&1){var b=v();G(0,"div",49);M("click",function(){w(b);var d=O(2).$implicit,e=O(5);return y(tjb(e,d))});G(1,"span",50);R(2);H()()}if(a&2){a=O(2).$implicit;var c=O(5);F("title",null==c.trackers[a.value]?null:c.trackers[a.value].name);z(2);Df(" ",null==c.trackers[a.value]?null:c.trackers[a.value].name," ")}},vjb=function(a){if(a&1){var b=v();G(0,"div",38)(1,"b-tracker-picker",54);M("onTrackerSelect",function(c){w(b);var d=O(7);d.analytics.trackEvent(Jn.SEARCH,"builder-autocomplete-select",
"tracker",isNaN(Number(c.trackerId))?0:Number(c.trackerId));d.chipUnderEdit.value=c.trackerId;d.trackers[c.trackerId]=c;d.trackerUnderEdit=null;Hr(d);return y()});H()()}a&2&&(a=O(7),z(1),F("selectedTracker",a.trackerUnderEdit))},wjb=function(a){if(a&1){var b=v();G(0,"div",53);Q(1,ujb,3,2,"div",44);Q(2,vjb,2,1,"div",45);G(3,"button",48);M("click",function(){w(b);var d=O().$implicit,e=O(3).$implicit,g=O(2);return y(Fr(g,e,d))});H()()}if(a&2){a=O().$implicit;var c=O(5);z(1);F("ngIf",c.chipUnderEdit!==
a);z(1);F("ngIf",c.chipUnderEdit===a)}},xjb=function(a,b){a&1&&(J(0),Q(1,wjb,4,2,"div",52),L());a&2&&(a=b.$implicit,b=O(5),z(1),F("ngIf",b.chipUnderEdit===a||a.value))},yjb=function(a){if(a&1){var b=v();G(0,"button",40);M("click",function(){w(b);var c=O(3).$implicit,d=O(2);return y(Gr(d,c))});R(1);H()}a&2&&(a=O(3).$implicit,z(1),Df(" + ","OR"==a.type||"NAND"==a.type?"OR":"AND"," "))},zjb=function(a){a&1&&(G(0,"div",34),Q(1,xjb,2,1,"ng-container",41),Q(2,yjb,2,1,"button",36),H());a&2&&(a=O(2).$implicit,
z(1),F("ngForOf",a.values),z(1),F("ngIf",a.type))},Bjb=function(a){if(a&1){var b=v();G(0,"div",49);M("click",function(){w(b);var d=O(2).$implicit,e=O(6);return y(Ajb(e,d))});S(1,"teamPath");G(2,"span",50);R(3);S(4,"teamPath");H()()}if(a&2){a=O(2).$implicit;var c=O(6);F("title",T(1,2,c.teams[a.value]));z(3);Df(" ",T(4,4,c.teams[a.value])," ")}},Djb=function(a){if(a&1){var b=v();G(0,"div",38)(1,"b-team-picker",58);M("onTeamSelect",function(c){w(b);var d=O(8);return y(Cjb(d,c))});H()()}a&2&&(a=O(8),
z(1),F("teamSelected",a.teamUnderEdit))},Ejb=function(a){if(a&1){var b=v();G(0,"div",56);Q(1,Bjb,5,6,"div",44);Q(2,Djb,2,1,"div",45);G(3,"button",57);M("click",function(){w(b);var d=O().$implicit;O(6);d.includeSubs=!d.includeSubs;return y()});I(4,"mat-icon",47);H();G(5,"button",48);M("click",function(){w(b);var d=O().$implicit,e=O(4).$implicit,g=O(2);return y(Fr(g,e,d))});H()()}if(a&2){a=O().$implicit;var c=O(6);z(1);F("ngIf",c.chipUnderEdit!==a);z(1);F("ngIf",c.chipUnderEdit===a);z(1);F("title",
a.includeSubs?"Subteams are included":"Subteams are not included");gf("aria-checked",a.includeSubs);z(1);F("svgIcon",a.includeSubs?"child-teams-24px":"child-teams-hide-24px")}},Fjb=function(a,b){a&1&&(J(0),Q(1,Ejb,6,5,"div",55),L());a&2&&(a=b.$implicit,b=O(6),z(1),F("ngIf",b.chipUnderEdit===a||a.value))},Gjb=function(a){if(a&1){var b=v();G(0,"button",40);M("click",function(){w(b);var c=O(4).$implicit,d=O(2);return y(Gr(d,c))});R(1);H()}a&2&&(a=O(4).$implicit,z(1),Df(" + ","OR"==a.type||"NAND"==a.type?
"OR":"AND"," "))},Hjb=function(a){a&1&&(J(0),Q(1,Fjb,2,1,"ng-container",41),Q(2,Gjb,2,1,"button",36),L());a&2&&(a=O(3).$implicit,z(1),F("ngForOf",a.values),z(1),F("ngIf",a.type))},Ijb=function(a){a&1&&(G(0,"div",34),Q(1,Hjb,3,2,"ng-container",24),H());a&2&&(a=O(4),z(1),F("ngIf",a.sessionIsInternal))},Kjb=function(a){if(a&1){var b=v();G(0,"div")(1,"bv2-input-date-picker",59);M("boundValueChange",function(c){w(b);O(3).$implicit.dateFrom=Jjb(c);return y()});H();R(2," and ");G(3,"bv2-input-date-picker",
59);M("boundValueChange",function(c){w(b);O(3).$implicit.dateTo=Jjb(c);return y()});H()()}a&2&&(a=O(3).$implicit,z(1),F("boundValue",a.dateFrom)("isRequired",!0),z(2),F("boundValue",a.dateTo)("isRequired",!0))},Ljb=function(a){if(a&1){var b=v();G(0,"div");R(1," the last ");G(2,"input",60);M("ngModelChange",function(c){w(b);var d=O(3).$implicit;return y(d.duration=c)});H();R(3," days. ");H()}a&2&&(a=O(3).$implicit,z(2),F("ngModel",a.duration))},Mjb=function(a){if(a&1){var b=v();G(0,"div")(1,"bv2-input-date-picker",
59);M("boundValueChange",function(c){w(b);O(3).$implicit.dateFrom=Jjb(c);return y()});H()()}a&2&&(a=O(3).$implicit,z(1),F("boundValue",a.dateFrom)("isRequired",!0))},Njb=function(a){a&1&&(G(0,"div"),Q(1,Kjb,4,4,"div",24),Q(2,Ljb,4,1,"div",24),Q(3,Mjb,2,2,"div",24),H());a&2&&(a=O(2).$implicit,z(1),F("ngIf","RANGE"==a.type||"NRANGE"==a.type),z(1),F("ngIf","DURATION"==a.type||"NDURATION"==a.type),z(1),F("ngIf","LE"==a.type||"LT"==a.type||"GE"==a.type||"GT"==a.type||"OR"==a.type))},Ojb=function(a){if(a&
1){var b=v();G(0,"div",49);M("click",function(){w(b);var d=O(2).$implicit,e=O(5);return y(Ir(e,d))});G(1,"span",50);R(2);H()()}if(a&2){a=O(2).$implicit;var c=O(5);F("title",(null==c.hotlists[a.value]?null:c.hotlists[a.value].name)||a.value);z(2);Df(" ",(null==c.hotlists[a.value]?null:c.hotlists[a.value].name)||a.value," ")}},Pjb=function(a,b){a&1&&(G(0,"mat-option",13),R(1),H());a&2&&(a=b.$implicit,F("value",a.hotlistId),z(1),Df(" ",a.name," "))},Qjb=function(a){if(a&1){var b=v();G(0,"mat-form-field",
64)(1,"mat-select",65);M("ngModelChange",function(d){w(b);var e=O(2).$implicit;return y(e.value=d)})("selectionChange",function(){w(b);var d=O(7);return y(Hr(d))});Q(2,Pjb,2,2,"mat-option",12);H()()}if(a&2){a=O(2).$implicit;var c=O(5);z(1);F("ngModel",a.value);z(1);F("ngForOf",c.userHotlists)}},Rjb=function(a){if(a&1){var b=v();G(0,"div",62);Q(1,Ojb,3,2,"div",44);Q(2,Qjb,3,2,"mat-form-field",63);G(3,"button",48);M("click",function(){w(b);var d=O().$implicit,e=O(3).$implicit,g=O(2);return y(Fr(g,e,
d))});H()()}if(a&2){a=O().$implicit;var c=O(5);z(1);F("ngIf",c.chipUnderEdit!==a);z(1);F("ngIf",c.chipUnderEdit===a)}},Sjb=function(a,b){a&1&&(J(0),Q(1,Rjb,4,2,"div",61),L());a&2&&(a=b.$implicit,b=O(5),z(1),F("ngIf",b.chipUnderEdit===a||a.value))},Tjb=function(a){if(a&1){var b=v();G(0,"button",40);M("click",function(){w(b);var c=O(3).$implicit,d=O(2);return y(Gr(d,c))});R(1);H()}a&2&&(a=O(3).$implicit,z(1),Df(" + ","OR"==a.type||"NAND"==a.type?"OR":"AND"," "))},Ujb=function(a){a&1&&(G(0,"div",34),
Q(1,Sjb,2,1,"ng-container",41),Q(2,Tjb,2,1,"button",36),H());a&2&&(a=O(2).$implicit,z(1),F("ngForOf",a.values),z(1),F("ngIf",a.type))},Vjb=function(a){if(a&1){var b=v();G(0,"div",49);M("click",function(){w(b);var d=O(2).$implicit,e=O(5);return y(Ir(e,d))});G(1,"span",50);R(2);H()()}if(a&2){a=O(2).$implicit;var c=O(5);F("title",(null==c.savedSearches[a.value]?null:c.savedSearches[a.value].name)||a.value);z(2);Df(" ",(null==c.savedSearches[a.value]?null:c.savedSearches[a.value].name)||a.value," ")}},
Wjb=function(a,b){a&1&&(G(0,"mat-option",13),R(1),H());a&2&&(a=b.$implicit,F("value",a.searchId),z(1),Df(" ",a.name," "))},Xjb=function(a){if(a&1){var b=v();G(0,"mat-form-field",64)(1,"mat-select",66);M("ngModelChange",function(d){w(b);var e=O(2).$implicit;return y(e.value=d)})("selectionChange",function(){w(b);var d=O(7);return y(Hr(d))});Q(2,Wjb,2,2,"mat-option",12);H()()}if(a&2){a=O(2).$implicit;var c=O(5);z(1);F("ngModel",a.value);z(1);F("ngForOf",c.userSavedSearches)}},Yjb=function(a){if(a&1){var b=
v();G(0,"div",62);Q(1,Vjb,3,2,"div",44);Q(2,Xjb,3,2,"mat-form-field",63);G(3,"button",48);M("click",function(){w(b);var d=O().$implicit,e=O(3).$implicit,g=O(2);return y(Fr(g,e,d))});H()()}if(a&2){a=O().$implicit;var c=O(5);z(1);F("ngIf",c.chipUnderEdit!==a);z(1);F("ngIf",c.chipUnderEdit===a)}},Zjb=function(a,b){a&1&&(J(0),Q(1,Yjb,4,2,"div",61),L());a&2&&(a=b.$implicit,b=O(5),z(1),F("ngIf",b.chipUnderEdit===a||a.value))},$jb=function(a){if(a&1){var b=v();G(0,"button",40);M("click",function(){w(b);
var c=O(3).$implicit,d=O(2);return y(Gr(d,c))});R(1);H()}a&2&&(a=O(3).$implicit,z(1),Df(" + ","OR"==a.type||"NAND"==a.type?"OR":"AND"," "))},akb=function(a){a&1&&(G(0,"div",34),Q(1,Zjb,2,1,"ng-container",41),Q(2,$jb,2,1,"button",36),H());a&2&&(a=O(2).$implicit,z(1),F("ngForOf",a.values),z(1),F("ngIf",a.type))},bkb=function(a){a&1&&(G(0,"div",22),Q(1,djb,2,1,"div",23),Q(2,ijb,5,4,"div",24),Q(3,ljb,3,2,"div",25),Q(4,sjb,3,2,"div",25),Q(5,zjb,3,2,"div",25),Q(6,Ijb,2,1,"div",25),Q(7,Njb,4,3,"div",24),
Q(8,Ujb,3,2,"div",25),Q(9,akb,3,2,"div",25),H());if(a&2){a=O().$implicit;var b=O(2);z(1);F("ngIf","enum"===a.getWidgetType());z(1);F("ngIf",a instanceof Jr);z(1);F("ngIf","text"==a.getWidgetType());z(1);F("ngIf","component"==a.getWidgetType());z(1);F("ngIf",b.isTrackerSearchEnabled&&"tracker"==a.getWidgetType());z(1);F("ngIf","team"==a.getWidgetType());z(1);F("ngIf","date"===a.getWidgetType());z(1);F("ngIf","hotlist"==a.getWidgetType());z(1);F("ngIf","savedsearch"==a.getWidgetType())}},ckb=function(a){a&
1&&(G(0,"div",67),R(1),H());if(a&2){a=O().$implicit;var b=O(2);z(1);Df(" ",b.getCustomFieldName(a)," ")}},fkb=function(a){if(a&1){var b=v();G(0,"div",68)(1,"b-custom-field-picker",69);M("fieldSelected",function(c){w(b);var d=O().index,e=O(2),g=c.customFieldId;e.customFields[g]=c;e.expressions[d]=dkb(e.searchRuleFactory,"CUSTOM_FIELD",e.customFields[g]);ekb(e,e.expressions[d]);return y()});H()()}},hkb=function(a,b){if(a&1){var c=v();G(0,"div",14)(1,"div",15)(2,"mat-form-field",10)(3,"mat-select",16);
M("ngModelChange",function(d){var e=w(c).$implicit;return y(e.label.field=d)})("selectionChange",function(){var d=w(c).index,e=O(2);return y(gkb(e,d))});Q(4,$ib,2,2,"mat-option",12);H()();Q(5,bjb,3,2,"mat-form-field",3);H();G(6,"button",17);M("click",function(){var d=w(c).$implicit,e=O(2);return y(e.removeExpression(d))});H();Q(7,bkb,10,9,"div",18);Q(8,ckb,2,1,"div",19);Q(9,fkb,2,0,"div",20);H()}a&2&&(a=b.$implicit,b=O(2),z(3),F("ngModel",a.label.field),z(1),F("ngForOf",b.availableLabels),z(1),F("ngIf",
!a.isPendingCustomField),z(2),F("ngIf",!a.isPendingCustomField),z(1),F("ngIf",a.label.customFieldId),z(1),F("ngIf",a.isPendingCustomField))},ikb=function(a,b){if(a&1){var c=v();G(0,"button",70);M("click",function(){var d=w(c).$implicit,e=O(2);e.expressions.push({label:{field:d[0]}});gkb(e,e.expressions.length-1);return y()});R(1);H()}a&2&&(a=b.$implicit,z(1),Df(" ",a[1]," "))},jkb=function(a){a&1&&(G(0,"div",1)(1,"span",2),R(2,"Advanced search query builder"),H(),Q(3,Zib,4,4,"mat-form-field",3),Q(4,
hkb,10,6,"div",4),G(5,"div",5)(6,"button",6),R(7),H(),G(8,"mat-menu",7,8),Q(10,ikb,2,1,"button",9),H()()());if(a&2){var b=Cf(9);a=O();z(3);F("ngIf",a.expressions.length);z(1);F("ngForOf",a.expressions)("ngForTrackBy",a.trackByIndex);z(2);F("matMenuTriggerFor",b);z(1);Df(" ",a.expressionType," ... ");z(3);F("ngForOf",a.availableLabels)}},mkb=function(a){return{experimentId:a.getExperimentId(),state:kkb[a.getState()],userGroup:lkb[W(a,3,0)],title:a.getTitle(),description:a.getDescription(),learnMoreLink:V(a,
6)}},nkb=function(a){a&1&&I(0,"div",3)},okb=function(a){a&1&&I(0,"div",4)},qkb=function(a){if(a&1){var b=v();G(0,"button",2);M("click",function(){w(b);var c=O();return y(pkb(c))});I(1,"mat-icon",3);R(2);H()}a&2&&(a=O(),F("matTooltip","Open release notes"),z(1),F("svgIcon",a.alertMode?"release-notes-alert":"release-notes-default"),z(1),Df(" ",a.buttonLabel," "))},rkb=function(a){if(a&1){var b=v();G(0,"button",4);M("click",function(){w(b);var c=O();return y(pkb(c))});R(1);H()}a&2&&(a=O(),z(1),Df(" ",
a.buttonLabel," "))},skb=function(a){if(a&1){var b=v();G(0,"button",9);M("click",function(c){w(b);var d=O();return y(d.manageSlos(c))});R(1,"Manage SLOs");H()}},tkb=function(a){a&1&&(G(0,"a",13),R(1,"Early Access "),I(2,"b-feature-stage-label",14),H())},ukb=function(a){a&1&&(J(0),I(1,"mat-divider")(2,"b-whats-new-button",15),L());a&2&&(z(2),F("menuMode",!0))},vkb=function(a){a&1&&I(0,"b-whats-new-button",4);a&2&&(a=O(),F("alertMode",a.majorReleaseNotesUpdated))},wkb=function(a){if(a&1){var b=v();
G(0,"button",5);M("click",function(){w(b);O().userFeedback.startFeedback();return y()});I(1,"mat-icon",6);H()}},xkb=function(a,b){if(a&1){var c=v();G(0,"button",6);M("click",function(){var d=w(c).$implicit,e=O();e.currentTracker.setTrackerId(d.trackerId);e.appSearchState.searchTriggered$.next("switch-trackers");return y()});I(1,"img",7);G(2,"span",8);R(3);H()()}a&2&&(a=b.$implicit,F("value",a.trackerId),gf("title",a.name),z(1),F("src",null==a.branding?null:a.branding.logoUrl,Md),z(2),Ef(a.name))},
ykb=function(a){if(a&1){var b=v();G(0,"button",5);M("click",function(){w(b);var c=O();return y(c.clickMenu.emit())});I(1,"mat-icon",6);H()}},Bkb=function(a,b){a&1&&(G(0,"output",7),R(1),H());a&2&&(a=b.$implicit,F("ngClass",a.color?Jf(2,zkb,a.color):If(4,Akb)),z(1),Ef(a.name))},Ckb=function(a){a&1&&I(0,"tracker-switcher",2);a&2&&(a=O(),F("associatedTrackers",a.associatedTrackers))},Dkb=function(a){a&1&&(G(0,"span"),R(1," Currently selected hotlist: "),G(2,"strong"),R(3),H()());a&2&&(a=O(3),z(3),Ef(a.header.hotlist.name))},
Ekb=function(a){a&1&&R(0," Showing your subscribed hotlists. Start typing a hotlist name or ID to filter. ")},Fkb=function(a){a&1&&(J(0),Q(1,Dkb,4,1,"span",5),Q(2,Ekb,1,0,"ng-template",null,6,Zf),L());if(a&2){var b=Cf(3);a=O(2);z(1);F("ngIf",a.header.hotlist)("ngIfElse",b)}},Gkb=function(a){a&1&&(G(0,"span"),R(1,"Currently selected saved search: "),G(2,"strong"),R(3),H()());a&2&&(a=O(3),z(3),Ef(a.header.savedSearch.name))},Hkb=function(a){a&1&&R(0," Showing your saved searches. Start typing a saved search name or ID to filter. ")},
Ikb=function(a){a&1&&(J(0),Q(1,Gkb,4,1,"span",5),Q(2,Hkb,1,0,"ng-template",null,7,Zf),L());if(a&2){var b=Cf(3);a=O(2);z(1);F("ngIf",a.header.savedSearch)("ngIfElse",b)}},Jkb=function(a){a&1&&(G(0,"span"),R(1," and "),G(2,"strong"),R(3,"subcomponents"),H()())},Kkb=function(a){a&1&&(G(0,"span"),R(1," Currently selected component: "),G(2,"strong",9),R(3),H(),I(4,"b-access-level-indicator",10)(5,"b-tracker-chip-smart",11),Q(6,Jkb,4,0,"span",4),H());if(a&2){a=O(3);z(3);var b=a.header.component;var c=Kr(a.currentTracker,
b.componentPathInfo);b=c&&c.componentPathName?c.componentPathName.join(" > "):b.name;Ef(b);z(1);F("accessLevel",null==a.header.component.accessLimit?null:a.header.component.accessLimit.accessLevel);z(1);F("trackerId",a.header.component.trackerId);z(1);F("ngIf",a.header.includeChildren)}},Lkb=function(a){a&1&&R(0," Start typing a component name or ID to see auto-complete suggestions. ")},Mkb=function(a){a&1&&(J(0),Q(1,Kkb,7,4,"span",5),Q(2,Lkb,1,0,"ng-template",null,8,Zf),L());if(a&2){var b=Cf(3);
a=O(2);z(1);F("ngIf",a.header.component)("ngIfElse",b)}},Nkb=function(a){a&1&&(G(0,"span"),R(1," Currently selected tracker: "),G(2,"strong"),R(3),H()());a&2&&(a=O(3),z(3),Ef(a.header.tracker.name))},Okb=function(a){a&1&&R(0," Start typing a tracker name or ID to see auto-complete suggestions. ")},Pkb=function(a){a&1&&(J(0),Q(1,Nkb,4,1,"span",5),Q(2,Okb,1,0,"ng-template",null,12,Zf),L());if(a&2){var b=Cf(3);a=O(2);z(1);F("ngIf",a.header.tracker)("ngIfElse",b)}},Qkb=function(a){a&1&&(G(0,"span"),R(1,
" and "),G(2,"strong"),R(3,"subteams"),H()())},Rkb=function(a){a&1&&(G(0,"span"),R(1," Currently selected team: "),G(2,"strong"),R(3),H(),Q(4,Qkb,4,0,"span",4),H());a&2&&(a=O(3),z(3),Ef(a.header.team.name),z(1),F("ngIf",a.header.includeChildren))},Skb=function(a){a&1&&R(0," Start typing a team name or ID to see auto-complete suggestions. ")},Tkb=function(a){a&1&&(J(0),Q(1,Rkb,5,2,"span",5),Q(2,Skb,1,0,"ng-template",null,13,Zf),L());if(a&2){var b=Cf(3);a=O(2);z(1);F("ngIf",a.header.team)("ngIfElse",
b)}},Ukb=function(a,b){a&1&&(G(0,"span"),R(1," Currently selected custom field: "),G(2,"strong"),R(3),H(),R(4," of type "),G(5,"strong"),R(6),S(7,"lowercase"),H(),R(8,". "),H());a&2&&(a=b.$implicit,z(3),Ef(a.name),z(3),Ef(T(7,2,a.type)))},Vkb=function(a){a&1&&R(0," customfield[id]: [value] ")},Wkb=function(a){a&1&&(J(0),Q(1,Ukb,9,4,"span",5),Q(2,Vkb,1,0,"ng-template",null,14,Zf),L());if(a&2){var b=Cf(3);a=O(2);z(1);F("ngIf",a.header.customField)("ngIfElse",b)}},Xkb=function(a){a&1&&(G(0,"div",3),
Q(1,Fkb,4,2,"ng-container",4),Q(2,Ikb,4,2,"ng-container",4),Q(3,Mkb,4,2,"ng-container",4),Q(4,Pkb,4,2,"ng-container",4),Q(5,Tkb,4,2,"ng-container",4),Q(6,Wkb,4,2,"ng-container",4),H());a&2&&(a=O(),z(1),F("ngIf","hotlist"===a.header.type),z(1),F("ngIf","savedsearch"===a.header.type),z(1),F("ngIf","component"===a.header.type),z(1),F("ngIf","tracker"===a.header.type),z(1),F("ngIf","team"===a.header.type),z(1),F("ngIf","customfield"===a.header.type))},Ykb=function(a){a&1&&(G(0,"span"),R(1),H());a&2&&
(a=O().$implicit,z(1),Ff(" ",a.id,": ",a.name," "))},Zkb=function(a){a&1&&(G(0,"span"),R(1),G(2,"span"),R(3),H()());a&2&&(a=O().$implicit,z(1),Df(" Hotlist ",a.hotlistId,": "),z(2),Ef(a.name))},$kb=function(a){a&1&&(G(0,"span"),R(1),G(2,"span"),R(3),H(),I(4,"br"),G(5,"span",16),R(6),H()());a&2&&(a=O().$implicit,z(1),Df(" Saved search ",a.searchId,": "),z(2),Ef(a.name),z(3),Ef(a.query))},alb=function(a){a&1&&(G(0,"span"),R(1),H());a&2&&(a=O().$implicit,z(1),Df(" ",a.name," "))},blb=function(a){a&1&&
(G(0,"span"),R(1," > "),H())},dlb=function(a,b){if(a&1){var c=v();J(0);G(1,"span",19);M("click",function(d){var e=w(c).$implicit;clb(e);return y(d.stopPropagation())});R(2);H();Q(3,blb,2,0,"span",4);L()}a&2&&(a=b.$implicit,b=b.last,z(1),Bf("title","",a.id,": ",a.name,""),z(1),Ef(a.name),z(1),F("ngIf",!b))},elb=function(a){a&1&&(G(0,"span"),R(1," Component "),G(2,"strong",9),R(3),H(),I(4,"b-access-level-indicator",10)(5,"b-tracker-chip-smart",11),G(6,"span",17),Q(7,dlb,4,4,"ng-container",18),H()());
a&2&&(a=O().$implicit,z(3),Ef(a.componentId),z(1),F("accessLevel",null==a.accessLimit?null:a.accessLimit.accessLevel),z(1),F("trackerId",a.trackerId),z(2),F("ngForOf",a.componentPath))},flb=function(a){a&1&&(G(0,"span"),R(1),G(2,"span"),R(3),H()());a&2&&(a=O().$implicit,z(1),Df(" Tracker ",a.trackerId,": "),z(2),Ef(a.name))},glb=function(a){a&1&&(G(0,"span"),R(1," > "),H())},hlb=function(a,b){if(a&1){var c=v();J(0);G(1,"span",19);M("click",function(d){var e=w(c).$implicit;clb(e);return y(d.stopPropagation())});
R(2);H();Q(3,glb,2,0,"span",4);L()}a&2&&(a=b.$implicit,b=b.last,z(1),Bf("title","",a.id,": ",a.name,""),z(1),Ef(a.name),z(1),F("ngIf",!b))},ilb=function(a){a&1&&(G(0,"span"),R(1," Team "),G(2,"strong"),R(3),H(),G(4,"span",17),Q(5,hlb,4,4,"ng-container",18),H()());a&2&&(a=O().$implicit,z(3),Ef(a.id),z(2),F("ngForOf",a.teamPath))},jlb=function(a){a&1&&(G(0,"span"),R(1),H());a&2&&(a=O().$implicit,z(1),Ff(" ",a.label,": ",a.name," "))},llb=function(a,b){if(a&1){var c=v();G(0,"b-app-search-auto-complete-option",
15);M("optionClicked",function(e){w(c);var g=O();0<=e&&e<g.items.length&&(e=g.items[e],e.id&&e.completionCfg&&klb(e),g.itemSelected.emit(e));return y()});Q(1,Ykb,2,2,"span",4);Q(2,Zkb,4,2,"span",4);Q(3,$kb,7,3,"span",4);Q(4,alb,2,1,"span",4);Q(5,elb,8,4,"span",4);Q(6,flb,4,2,"span",4);Q(7,ilb,6,2,"span",4);Q(8,jlb,2,2,"span",4);H()}if(a&2){a=b.$implicit;b=b.index;var d=O();jf("id","b-app-search-option-",b,"");F("index",b)("isActive",0<=b&&b<d.items.length?b===d.activeItemIndex:!1);z(1);F("ngIf","issue"===
a.completionCfg.type);z(1);F("ngIf","hotlist"===a.completionCfg.type);z(1);F("ngIf","savedsearch"===a.completionCfg.type);z(1);F("ngIf","atom"===a.completionCfg.type);z(1);F("ngIf","component"===a.completionCfg.type);z(1);F("ngIf","tracker"===a.completionCfg.type);z(1);F("ngIf","team"===a.completionCfg.type);z(1);F("ngIf",!d.SPECIAL_ITEM_TYPES.includes(a.completionCfg.type))}},nlb=function(a){if(a&1){var b=v();G(0,"div",21)(1,"input",22,23);M("ngModelChange",function(c){w(b);var d=O();return y(d.searchName=
c)})("keydown.Tab",function(){w(b);var c=O();return y(mlb(c))})("keydown.enter",function(){w(b);var c=O();return y(c.saveSearch())});H();G(3,"button",24);M("click",function(){w(b);var c=O();return y(c.saveSearch())});I(4,"mat-icon",25);H()()}a&2&&(a=O(),z(1),F("ngModel",a.searchName),z(2),F("disabled",!a.searchName))},olb=function(a){a&1&&(J(0),G(1,"span",10),R(2),H(),L());a&2&&(a=O(),z(1),qf("muted",a.disabled),z(1),Ef(a.cardTitle))},plb=function(a){a&1&&I(0,"mat-icon",11)},qlb=function(a){a&1&&
I(0,"mat-icon",12)},rlb=function(a){a&1&&(G(0,"mat-select-trigger"),I(1,"mat-icon",20),G(2,"span"),R(3),H()());a&2&&(a=O(3),z(1),F("svgIcon",a.selectedOption.icon),z(2),Ef(a.selectedOption.displayText))},slb=function(a){a&1&&I(0,"mat-icon",20);a&2&&(a=O().$implicit,F("svgIcon",a.icon))},tlb=function(a,b){a&1&&(G(0,"mat-option",21),Q(1,slb,1,1,"mat-icon",22),R(2),H());a&2&&(a=b.$implicit,F("value",a),z(1),F("ngIf",a.icon),z(1),Df("",a.displayText," "))},ulb=function(a){if(a&1){var b=v();G(0,"mat-form-field",
16)(1,"mat-label");R(2," Choose type... ");H();G(3,"mat-select",17);M("valueChange",function(c){w(b);var d=O(2);return y(d.selectedOption=c)})("selectionChange",function(c){w(b);O(2).dropdownSelectionChanged.emit(c.value);return y()});Q(4,rlb,4,2,"mat-select-trigger",18);Q(5,tlb,3,3,"mat-option",19);H()()}a&2&&(a=O(2),z(3),F("disabled",a.disabled)("value",a.selectedOption),z(1),F("ngIf",a.selectedOption&&a.selectedOption.icon),z(1),F("ngForOf",a.dropdownOptions))},vlb=function(a){if(a&1){var b=v();
G(0,"mat-form-field",13)(1,"input",14);M("ngModelChange",function(c){w(b);var d=O();return y(d.cardTitleChange.emit(c))});H()();Q(2,ulb,6,4,"mat-form-field",15)}a&2&&(a=O(),z(1),qf("muted",a.disabled||!a.selected),F("placeholder",a.placeholderForCardTitle)("disabled",a.disabled||!a.selected)("ngModel",a.cardTitle),gf("aria-label",a.ariaLabelForCardTitle),z(1),F("ngIf",a.dropdownOptions.length))},wlb=function(a){a&1&&(G(0,"div",23),yf(1),H())},xlb=function(a){a&1&&(G(0,"button",31),I(1,"mat-icon",
32),H());a&2&&(a=O(2),F("disabled",a.disabled))},ylb=function(a){a&1&&I(0,"mat-divider",33);a&2&&F("vertical",!0)},zlb=function(a){a&1&&(G(0,"mat-slide-toggle",34),R(1," Required "),H());a&2&&(a=O(2),F("disabled",a.disabled))},Alb=function(a){if(a&1){var b=v();G(0,"mat-slide-toggle",35);M("change",function(c){w(b);var d=O(2);return y(d.isInheritedChange.emit(c))});R(1," Inherited ");H()}a&2&&(a=O(2),F("checked",a.isInherited)("disabled",a.inheritedDisabled)("matTooltip",a.inheritedDisabledTooltipText)("matTooltipDisabled",
!a.inheritedDisabled))},Blb=function(a){if(a&1){var b=v();G(0,"div",24)(1,"button",25);M("click",function(){w(b);var c=O();return y(c.onSave())});R(2," Save ");H();G(3,"button",26);M("click",function(){w(b);var c=O();return y(c.onCancel())});R(4," Cancel ");H();Q(5,xlb,2,1,"button",27);Q(6,ylb,1,1,"mat-divider",28);Q(7,zlb,2,1,"mat-slide-toggle",29);Q(8,Alb,2,4,"mat-slide-toggle",30);H()}a&2&&(a=O(),z(1),F("disabled",a.isSaveButtonDisabled),z(2),F("disabled",a.disabled),z(2),F("ngIf",a.showDeleteButton),
z(1),F("ngIf",a.showDeleteButton&&a.showRequiredToggle),z(1),F("ngIf",a.showRequiredToggle),z(1),F("ngIf",a.showInheritedToggle))},Clb=function(a){a&1&&(G(0,"h3"),R(1),H());a&2&&(a=O(2),z(1),Df(" Edit Custom Field ",a.editableField.customFieldId," "))},Dlb=function(a){a&1&&(G(0,"h3"),R(1," Create Custom Field "),H())},Elb=function(a){a&1&&(G(0,"div",40),R(1),H());a&2&&(a=O(2),z(1),Df(" ",a.serverError," "))},Glb=function(a,b){a&1&&(G(0,"button",41),R(1),S(2,"enumToHuman"),H());if(a&2){a=b.$implicit;
O();var c=Cf(32);F("matMenuTriggerFor",c)("matMenuTriggerData",Jf(5,Flb,a));z(1);Df(" ",T(2,3,a)," ")}},Hlb=function(a,b){if(a&1){var c=v();G(0,"button",43);M("click",function(){var d=w(c).$implicit,e=O().type,g=O(2);return y(g.setType(e,"Multiple"===d))});R(1);H()}a&2&&(a=b.$implicit,z(1),Df(" ",a," "))},Ilb=function(a){a&1&&Q(0,Hlb,2,1,"button",42);a&2&&(a=O(2),F("ngForOf",a.secondaryTypes))},Klb=function(a){if(a&1){var b=v();G(0,"td",7)(1,"label",44);R(2," Allowed Values: ");H();G(3,"b-list-field",
45);M("valuesChange",function(c){w(b);var d=O(2);return y(Jlb(d,c.values))});H()()}a&2&&(a=O(2),z(3),F("defaultLineCount",3)("type",a.ListFieldType.REPEATED_TEXT)("values",a.editableField.allowedValue)("listFieldDisabled",a.isSaving)("preventDuplicates",!0)("isDefaultOrAllowedValues",!0)("truncate",!0))},Llb=function(a){a&1&&(G(0,"label",46),R(1," Default Value: "),H())},Olb=function(a,b){if(a&1){var c=v();G(0,"b-edit-field",47);M("valueChange",function(d){w(c);var e=O(2);Mlb(e,d);return y()});H()}a&
2&&(a=b.ngIf,b=O(2),F("name","Default")("type",a)("tooltip","Set default value")("value",Nlb(b))("choices",b.allowedValues)("showEnumTitle",!0)("disabled",b.isSaving)("truncate",!0)("clearable",!0))},Plb=function(a){a&1&&(G(0,"label",48),R(1," Default Values: "),H())},Qlb=function(a,b){if(a&1){var c=v();G(0,"b-list-field",49);M("valuesChange",function(d){w(c);var e=O(2);Mlb(e,d.values);return y()});H()}a&2&&(a=b.ngIf,b=O(2),F("defaultLineCount",3)("type",a)("tooltip","Set default values")("values",
b.getListFieldValues())("enumChoices",b.allowedValues)("isDefaultOrAllowedValues",!0)("listFieldDisabled",b.isSaving)("truncate",!0))},Rlb=function(a,b){if(a&1){var c=v();G(0,"button",50);M("click",function(){var d=w(c).$implicit,e=O(2);return y(e.setFieldSignificance(d))});R(1);S(2,"enumToHuman");H()}a&2&&(a=b.$implicit,z(1),Df(" ",T(2,1,a)," "))},Slb=function(a){if(a&1){var b=v();G(0,"div",4);Q(1,Clb,2,1,"h3",3);Q(2,Dlb,2,0,"h3",3);Q(3,Elb,2,1,"div",5);G(4,"form",6)(5,"div",7)(6,"label",8);R(7,
"Name:");H();G(8,"input",9);M("ngModelChange",function(h){w(b);var l=O();return y(l.editableField.name=h)});H()();G(9,"div",7)(10,"label",10);R(11,"Description:");H();G(12,"textarea",11);M("ngModelChange",function(h){w(b);var l=O();return y(l.editableField.description=h)});H()();G(13,"table",12)(14,"tr")(15,"td",7)(16,"div",13)(17,"label",14);R(18," Type: ");H();G(19,"onedev-hovercard",null,15)(21,"div",16)(22,"div",17);R(23," You can only choose type of field when creating a new custom field. You won't be able to edit it after the custom field is created. ");
H()()()();G(24,"button",18);R(25);S(26,"enumToHuman");I(27,"b-icon",19);H();G(28,"mat-menu",null,20);Q(30,Glb,3,7,"button",21);H();G(31,"mat-menu",null,22);Q(33,Ilb,1,1,"ng-template",23);H()();Q(34,Klb,4,7,"td",24);G(35,"td",7);Q(36,Llb,2,0,"label",25);Q(37,Olb,1,9,"b-edit-field",26);Q(38,Plb,2,0,"label",27);Q(39,Qlb,1,8,"b-list-field",28);H();G(40,"td",7)(41,"label",29);R(42," Required: ");H();G(43,"b-edit-field",30);M("valueChange",function(h){w(b);var l=O();return y(l.editableField.required=!!h)});
H()();G(44,"td",7)(45,"div",13)(46,"label",31);R(47," Field Significance: ");H();G(48,"onedev-hovercard",null,32)(50,"div",33)(51,"div",17);R(52," This affects whether users will receive notifications when changes are made to this field. ");I(53,"br");R(54," See\u00a0 ");G(55,"a",34);R(56,"Email Settings ");H()()()()();G(57,"button",35);R(58);S(59,"enumToHuman");I(60,"b-icon",19);H();G(61,"mat-menu",null,36);Q(63,Rlb,3,3,"button",37);H()()()();G(64,"button",38);M("click",function(){w(b);var h=O();
return y(h.save())});R(65," Save ");H();G(66,"button",39);M("click",function(){w(b);var h=O();return y(h.cancel())});R(67," Cancel ");H()()()}if(a&2){var c=Cf(20),d=Cf(29),e=Cf(49),g=Cf(62);a=O();z(1);F("ngIf",!!a.editableField.customFieldId);z(1);F("ngIf",!a.editableField.customFieldId);z(1);F("ngIf",a.serverError);z(5);F("bFocus",a.editableField&&!a.isLoading)("ngModel",a.editableField.name)("disabled",a.isSaving);z(4);F("ngModel",a.editableField.description)("disabled",a.isSaving);z(5);F("onedevHovercardTrigger",
c);z(7);F("matMenuTriggerFor",d)("disabled",!!a.editableField.customFieldId);z(1);Df(" ",T(26,28,a.editableField.type)," ");z(5);F("ngForOf",a.typeChoices);z(4);F("ngIf",["REPEATED_ENUM","ENUM"].includes(a.editableField.type));z(2);F("ngIf",!a.editableField.isRepeated());z(1);F("ngIf",a.getSingleEditFieldType(a.editableField));z(1);F("ngIf",a.editableField.isRepeated());z(1);F("ngIf",a.getListFieldType(a.editableField));z(4);F("name","Required")("type",a.FieldType.BOOL)("tooltip","Whether the field is required")("value",
a.editableField.required);z(3);F("onedevHovercardTrigger",e);z(9);F("href",a.documentationLinks.baseDocumentationUrl+"/concepts/settings#email",Md);z(2);F("matMenuTriggerFor",g);z(1);Df(" ",T(59,30,a.editableField.fieldSignificance)," ");z(5);F("ngForOf",a.significanceChoices);z(1);F("disabled",!a.hasUnsavedChanges()||!a.editableField.name)}},Tlb=function(a){a&1&&(G(0,"div",51),I(1,"b-spinner",52),H());a&2&&(z(1),F("large",!0))},Ulb=function(a){a&1&&(G(0,"th"),R(1,"Actions"),H())},Wlb=function(a){if(a&
1){var b=v();G(0,"td",59)(1,"button",60);M("click",function(){w(b);var c=O().index,d=O(2);return y(d.editField(c))});R(2,"Edit");H();G(3,"button",60);M("click",function(){w(b);var c=O().index,d=O(2);return y(Vlb(d,c))});R(4,"Delete");H()()}},Xlb=function(a,b){a&1&&(G(0,"tr",56)(1,"td"),R(2),H(),G(3,"td"),R(4),H(),G(5,"td"),R(6),S(7,"enumToHuman"),H(),G(8,"td"),R(9),H(),G(10,"td"),R(11),S(12,"yesNo"),H(),G(13,"td"),I(14,"b-custom-field-value-display",57),H(),G(15,"td"),R(16),S(17,"arrayToHuman"),H(),
G(18,"td"),R(19),S(20,"enumToHuman"),H(),Q(21,Wlb,5,0,"td",58),H());a&2&&(a=b.$implicit,b=O(2),F("ngClass",a.enabledOnIssues?"enabled-field":"disabled-field"),z(2),Ef(a.name),z(2),Ef(a.customFieldId),z(2),Ef(T(7,10,a.type)),z(3),Ef(a.description),z(2),Ef(T(12,12,a.required)),z(3),F("customFieldValue",a.typedDefaultValue),z(2),Ef(T(17,14,a.allowedValue)),z(3),Ef(T(20,16,a.fieldSignificance)),z(2),F("ngIf",b.editMode))},Ylb=function(a){a&1&&(G(0,"tr")(1,"td",61),R(2," There are no custom fields defined on this component. "),
H()())},Zlb=function(a){a&1&&(G(0,"tr")(1,"td",62)(2,"strong"),R(3,"Fields inherited from parent components"),H()()())},$lb=function(a){a&1&&(J(0),I(1,"b-component-card",69,70),L());if(a&2){var b=Cf(2);a=O().$implicit;z(1);F("onedevIsHovercardReady",b.init)("componentId",a.componentId.toString())}},bmb=function(a){if(a&1){var b=v();G(0,"b-field-state-menu",71,72);M("fieldStateChange",function(d){w(b);var e=O(),g=e.$implicit;e=e.index;var h=O(3);return y(h.updateCustomFieldState(g,d,e))});H()}if(a&
2){a=O().$implicit;var c=O(3);F("fieldName",a.name)("fieldState",a.stateOnIssues)("enabledOnParent",amb(c,a.customFieldId))("disabled",!c.editMode)("matTooltip",c.msgFieldStateTip);gf("aria-label",c.msgFieldStateTip)}},cmb=function(a,b){if(a&1){var c=v();G(0,"tr",56)(1,"td");R(2);H();G(3,"td");R(4);H();G(5,"td");R(6);S(7,"enumToHuman");H();G(8,"td");R(9);H();G(10,"td");R(11);S(12,"yesNo");H();G(13,"td");I(14,"b-custom-field-value-display",57);H();G(15,"td");R(16);S(17,"arrayToHuman");H();G(18,"td");
R(19);S(20,"enumToHuman");H();G(21,"td",59)(22,"div",63)(23,"div",64);R(24,"Inherited From");H();G(25,"a",65);M("click",function(){w(c);var e=O(3);return y(e.trackClick("parentCustomFields"))});R(26);H();G(27,"onedev-hovercard",null,66);Q(29,$lb,3,2,"ng-container",67);H()();Q(30,bmb,2,6,"b-field-state-menu",68);H()()}if(a&2){a=b.$implicit;var d=Cf(28);b=O(3);F("ngClass",a.enabledOnIssues?"enabled-field":"disabled-field");z(2);Ef(a.name);z(2);Ef(a.customFieldId);z(2);Ef(T(7,13,a.type));z(3);Ef(a.description);
z(2);Ef(T(12,15,a.required));z(3);F("customFieldValue",a.typedDefaultValue);z(2);Ef(T(17,17,a.allowedValue));z(3);Ef(T(20,19,a.fieldSignificance));z(6);F("onedevHovercardTrigger",d)("href",b.paths.manageComponent(a.componentId,"customFields"),Md);z(1);Df(" ",b.componentIdsToNames[a.componentId]," ");z(4);F("ngIf",b.editMode)}},dmb=function(a){a&1&&(J(0),Q(1,cmb,31,21,"tr",54),L());a&2&&(a=O(2),z(1),F("ngForOf",a.inheritedCustomFields))},emb=function(a){a&1&&(G(0,"tfoot")(1,"tr")(2,"td",62),R(3," Custom fields in this table are sorted alphabetically. To see or modify field ordering, go to the "),
G(4,"a",73),R(5,"Field Ordering"),H(),R(6," tab."),I(7,"br"),R(8," Before removing custom fields or adding/changing required state, ensure that no automation depends on them. "),H()()())},fmb=function(a){if(a&1){var b=v();G(0,"div",74)(1,"button",75);M("click",function(){w(b);var c=O(2);c.editableField=new Xh;c.originalEditableFieldValue=Nh(c.editableField);c.setType("TEXT");c.allowedValues=[];c.serverError=null;return y()});R(2," Add a Custom Field ");H()()}},gmb=function(a){a&1&&(G(0,"div")(1,"table",
53)(2,"tr")(3,"th"),R(4,"Name"),H(),G(5,"th"),R(6,"ID"),H(),G(7,"th"),R(8,"Type"),H(),G(9,"th"),R(10,"Description"),H(),G(11,"th"),R(12,"Required?"),H(),G(13,"th"),R(14,"Default Value"),H(),G(15,"th"),R(16,"Allowed Values"),H(),G(17,"th"),R(18,"Field Significance"),H(),Q(19,Ulb,2,0,"th",3),H(),Q(20,Xlb,22,18,"tr",54),Q(21,Ylb,3,0,"tr",3),Q(22,Zlb,4,0,"tr",3),Q(23,dmb,2,1,"ng-container",3),Q(24,emb,9,0,"tfoot",3),H(),Q(25,fmb,3,0,"div",55),H());a&2&&(a=O(),z(19),F("ngIf",a.editMode),z(1),F("ngForOf",
a.customFields),z(1),F("ngIf",!a.customFields.length),z(1),F("ngIf",a.inheritedCustomFields.length),z(1),F("ngIf",a.inheritedCustomFields.length),z(1),F("ngIf",a.customFields.length),z(1),F("ngIf",a.editMode))},hmb=function(a){if(a&1){var b=v();G(0,"button",18);M("click",function(){w(b);var c=O().index,d=O();return y(d.removeAtIndex.emit(c))});I(1,"mat-icon",19);H()}a&2&&(a=O().$implicit,gf("aria-label","Delete row "+a.label))},imb=function(a,b){if(a&1){var c=v();G(0,"div",9)(1,"div",10);I(2,"mat-icon",
11);G(3,"div",1)(4,"mat-form-field",12)(5,"input",13,14);M("change",function(g){var h=w(c).index,l=O();l.options[h].label=g.target.value;l.optionsChange.emit(l.options);return y()});H()()();G(7,"div",1)(8,"mat-form-field",12)(9,"input",15,16);M("change",function(g){var h=w(c).index,l=O();return y(l.valueChange(g,h))});H()()();Q(11,hmb,2,1,"button",17);H()()}if(a&2){a=b.$implicit;var d=Cf(6),e=Cf(10);b=O();z(4);F("appearance",d.focused||e.focused?"standard":"none");z(1);qf("muted",b.disabled);F("value",
a.label)("placeholder",null==a.label?"Dropdown value":"")("disabled",b.disabled);z(3);F("appearance",d.focused||e.focused?"standard":"none");z(1);qf("muted",b.disabled);F("value",a.value)("placeholder",null==a.value?"Average days":"")("disabled",b.disabled);z(2);F("ngIf",!b.disabled)}},jmb=function(a){if(a&1){var b=v();G(0,"button",20);M("click",function(){w(b);var c=O();return y(c.addRow.emit())});R(1," Add row\n");H()}},kmb=function(a){a&1&&vf(0)},lmb=function(a){a&1&&(J(0),Q(1,kmb,1,0,"ng-container",
5),L());if(a&2){O();var b=Cf(7);z(1);F("ngTemplateOutlet",b)}},mmb=function(a){if(a&1){var b=v();J(0);G(1,"b-numeric-config",6);M("valueChange",function(c){w(b);var d=O();return y(d.numericSpecMultiplier=c)});H();L()}a&2&&(a=O(),z(1),F("disabled",a.disabled)("value",a.numericSpecMultiplier))},nmb=function(a){a&1&&vf(0)},omb=function(a){if(a&1){var b=v();G(0,"div",7)(1,"label",8);R(2,"Aggregation Rule");H();G(3,"a",9);I(4,"mat-icon",10);H();I(5,"br");G(6,"mat-form-field",11)(7,"mat-select",12);M("valueChange",
function(c){w(b);var d=O();return y(d.selectedAggregationRule=c)});G(8,"mat-select-trigger");R(9);S(10,"aggregationRuleText");H();G(11,"mat-option",13)(12,"div",14);R(13);S(14,"aggregationRuleText");H();G(15,"div",15);R(16,"All parents and children are added to the total");H()();G(17,"mat-option",13)(18,"div",14);R(19);S(20,"aggregationRuleText");H();G(21,"div",15);R(22,"Take the assigned estimate if larger than total of all immediate children");H()()()()()}a&2&&(a=O(),z(7),F("value",a.selectedAggregationRule)("disabled",
a.disabled),z(2),Df(" ",T(10,7,a.selectedAggregationRule)," "),z(2),F("value",a.aggregationRules.SUM),z(2),Ef(T(14,9,a.aggregationRules.SUM)),z(4),F("value",a.aggregationRules.MAX),z(2),Ef(T(20,11,a.aggregationRules.MAX)))},pmb=function(a){if(a&1){var b=v();G(0,"b-config-grid",16);M("optionsChange",function(c){w(b);var d=O();return y(d.enumSpecOptions=c)})("addRow",function(){w(b);var c=O();return y(c.addRow())})("removeAtIndex",function(c){w(b);O().enumSpecOptions.splice(c,1);return y()});H()}a&
2&&(a=O(),F("options",a.enumSpecOptions)("disabled",a.disabled||a.inherit))},qmb=function(a){return a&&"0"!==a.teamId?a.deleted?"DELETED":"VALID":"MISSING"},rmb=function(a){if(a&1){var b=v();G(0,"div",6);R(1," Select a team from the suggestions below, or edit in ");G(2,"a",7);M("click",function(){w(b);var c=O();return y(c.trackClick("viewTeamAssociationOnComponent"))});R(3,"component settings");H();R(4,".\n");H()}a&2&&(a=O(),z(2),F("href",a.componentSetting,Md))},smb=function(a){a&1&&(G(0,"div",6),
R(1," Assigned team no longer exists, select a different team from the suggestions below, or edit/opt out of team mapping in "),G(2,"a",8),R(3,"component settings"),H(),R(4,".\n"),H());a&2&&(a=O(),z(2),F("href",a.componentSetting,Md))},tmb=function(a){if(a&1){var b=v();G(0,"mat-radio-group",9);M("ngModelChange",function(c){w(b);var d=O();return y(d.teamAction=c)});G(1,"p")(2,"mat-radio-button",10);R(3," Don't make any changes ");H()();G(4,"p")(5,"mat-radio-button",11);R(6," Map component to selected team ");
H()()()}a&2&&(a=O(),F("ngModel",a.teamAction))},umb=function(a){a&1&&(J(0),G(1,"span",19),R(2),H(),L());a&2&&(a=O().$implicit,z(2),Ef(a.teamPath))},vmb=function(a){a&1&&R(0," -- ")},wmb=function(a,b){a&1&&(Q(0,umb,3,1,"ng-container",17),Q(1,vmb,1,0,"ng-template",null,18,Zf));if(a&2){a=b.$implicit;var c=Cf(2);F("ngIf",a)("ngIfElse",c)}},xmb=function(a){if(a&1){var b=v();G(0,"div",12)(1,"onedev-single-select",13);M("valueChange",function(d){w(b);var e=O();return y(e.selectedTeam=d)})("valueChange",
function(d){w(b);var e=O();return y(e.selectOption(d))});H();Q(2,wmb,3,2,"ng-template",null,14,Zf);G(4,"a",15);M("click",function(){w(b);var d=O();return y(d.trackClick("viewTeamInMoma"))});I(5,"mat-icon",16);H()()}if(a&2){var c=Cf(3);a=O();z(1);F("disabled","NONE"===a.teamAction)("value",a.selectedTeam)("options",a.teamOptions)("includeEmptyOption",!1)("optionTemplate",c);z(3);gf("href",a.getMomaTeamLink(),Md)}},ymb=function(a){if(a&1){var b=v();G(0,"b-callout-actions")(1,"b-button",2);M("click",
function(){w(b);var c=O();return y(c.openDialog())});R(2);H()()}a&2&&(a=O(),z(2),Ef(a.buttonName))},zmb=function(a){a&1&&(G(0,"div",8),I(1,"b-team-warning",9),H());a&2&&(a=O().ngIf,z(1),F("warningType",a)("messageOnly",!0))},Amb=function(a,b){a&1&&(J(0),Q(1,zmb,2,2,"div",7),L());a&2&&(a=b.ngIf,b=O(),z(1),F("ngIf",b.isAdmin&&("MISSING"===a||"DELETED"===a)))},Bmb=function(a){if(a&1){var b=v();G(0,"div",10)(1,"mat-checkbox",11);M("change",function(c){w(b);var d=O();d.inherit=!c.checked;d.model.inherit=
d.inherit;!d.isTopLevel&&d.inherit&&d.parentModel&&(d.model.id=d.parentModel.id);d.teamIdChanged$.next(d.model.id);d.modelChange.emit(d.model);return y()});R(2," Override the inherited team ");H()()}a&2&&(a=O(),z(1),F("disabled",!a.isAdmin)("checked",!a.inherit))},Dmb=function(a){if(a&1){var b=v();G(0,"a",13);M("click",function(){w(b);O(2);Om(Jn.MANAGE_COMPONENT,"navigate","to-internal-team-page");return y()});I(1,"mat-icon",14);H()}a&2&&(a=O(2),F("routerLink",Cmb(a)?"/teams/"+a.model.id+"/edit":
null)("target",a.anchorTarget))},Emb=function(a){a&1&&(J(0),Q(1,Dmb,2,2,"a",12),L());a&2&&(a=O(),z(1),F("ngIf",Cmb(a)))},Fmb=function(a){if(a&1){var b=v();G(0,"a",16);M("click",function(){w(b);var c=O(2);Om(Jn.MANAGE_COMPONENT,"linkout-moma","team",Number(c.model.id));return y()});I(1,"mat-icon",14);H()}a&2&&(a=O(2),gf("href",a.getMomaTeamLink(),Md))},Gmb=function(a){a&1&&Q(0,Fmb,2,1,"a",15);a&2&&(a=O(),F("ngIf",Cmb(a)))},Jmb=function(a,b){if(a&1){var c=v();G(0,"li",11);M("keydown",function(e){var g=
w(c).index,h=O();return y(h.onKeyDown(e,g))})("focus",function(){var e=w(c).index,g=O();return y(g.onFocus(e))});I(1,"mat-icon",12);G(2,"span");R(3);H();G(4,"div",13)(5,"button",14);M("click",function(){var e=w(c).index,g=O();return y(Hmb(g,e))});I(6,"mat-icon",15);H();G(7,"button",16);M("click",function(){var e=w(c).index,g=O();return y(Imb(g,e))});I(8,"mat-icon",17);H()()()}if(a&2){a=b.$implicit;b=b.index;var d=O();gf("aria-label",a.name)("aria-grabbed",b===d.grabbedIndex);z(3);Ef(a.name);z(2);
qf("invisible",0===b);z(2);qf("invisible",b===d.fields.length-1)}},Kmb=function(a){a&1&&(G(0,"th",14),R(1," Order"),H())},Lmb=function(a,b){a&1&&(G(0,"td",15),R(1),H());a&2&&(a=b.index,z(1),Df(" ",a+1," "))},Mmb=function(a){a&1&&(G(0,"th",14),R(1," Name"),H())},Nmb=function(a,b){a&1&&(G(0,"td",15),R(1),H());a&2&&(a=b.$implicit,z(1),Df(" ",a.name," "))},Omb=function(a){a&1&&(G(0,"th",14),R(1," Type"),H())},Pmb=function(a,b){a&1&&(G(0,"td",15),R(1),S(2,"toCustomFieldTypeDisplayValue"),H());a&2&&(a=
b.$implicit,z(1),Df(" ",T(2,1,a.type)," "))},Qmb=function(a){a&1&&(G(0,"th",14),R(1," Required"),H())},Rmb=function(a,b){a&1&&(G(0,"td",15),R(1),H());a&2&&(a=b.$implicit,z(1),Df(" ",a.required?"Yes":"No"," "))},Smb=function(a){a&1&&(G(0,"th",14),R(1," ID"),H())},Tmb=function(a,b){a&1&&(G(0,"td",15),R(1),H());a&2&&(a=b.$implicit,z(1),Df(" ",a.customFieldId," "))},Umb=function(a){a&1&&I(0,"tr",16)},Vmb=function(a){a&1&&I(0,"tr",17)},Wmb=function(a){a&1&&(G(0,"div",18),R(1," There are no custom fields defined on this component. "),
H())},Zmb=function(a){if(a&1){var b=v();G(0,"div",19)(1,"div")(2,"button",20);M("click",function(){w(b);var c=O();return y(Xmb(c))});R(3," Reorder fields ");H();G(4,"button",20);M("click",function(){w(b);var c=O();return y(Ymb(c))});R(5," Reset ordering ");H()()()}a&2&&(a=O(),z(2),F("disabled",0===a.fields.length),z(2),F("disabled","CUSTOMIZED"!==a.fieldOrdering))},$mb=function(a){a&1&&(G(0,"span"),R(1),H());a&2&&(a=O(),z(1),a=a.lineNumbers.length,Df(" (",a+(1==a?" TODO":" TODOs"),") "))},bnb=function(a,
b){if(a&1){var c=v();G(0,"li",5)(1,"a",6);M("click",function(){w(c);var d=O(2);return y(d.trackClick("lineNumber"))});R(2);H()()}a&2&&(a=b.$implicit,b=O(2),z(1),F("href",anb(b,a),Md),z(1),Ef(a))},cnb=function(a){a&1&&(G(0,"span"),R(1," ("),G(2,"ul",3),Q(3,bnb,3,2,"li",4),H(),R(4,") "),H());a&2&&(a=O(),z(3),F("ngForOf",a.lineNumbers))},dnb=function(a){a&1&&I(0,"div",2)},enb=function(a){a&1&&(J(0),yf(1),L())},fnb=function(a){a&1&&(jd(),G(0,"svg",1),I(1,"path",2),H());a&2&&(a=O(),F("matTooltip",a.warning))},
gnb=function(a){a&1&&vf(0)},jnb=function(a){if(a&1){var b=v();G(0,"div",1);M("keydown",function(c){w(b);var d=O();return y(d.processKeydown(c))});G(1,"div",2);Q(2,gnb,1,0,"ng-container",3);H();G(3,"div",4)(4,"button",5);M("click",function(){w(b);var c=O();return y(hnb(c))});R(5,"Save");H();G(6,"button",6);M("click",function(){w(b);var c=O();return y(inb(c))});R(7,"Cancel");H()()()}a&2&&(a=O(),F("cdkTrapFocusAutoCapture",!0),z(2),F("ngTemplateOutlet",a.editorTemplate))},knb=function(a){a&1&&vf(0)},
mnb=function(a){a&1&&(J(0),Q(1,knb,1,0,"ng-container",8),L());a&2&&(a=O(),z(1),F("ngTemplateOutlet",a.valueTemplate)("ngTemplateOutletContext",Jf(2,lnb,a.value)))},nnb=function(a){a&1&&R(0);a&2&&(a=O(),Ef(null!=a.value?a.value:"--"))},onb=function(a){a&1&&(jd(),G(0,"svg",9),I(1,"path",10),H())},pnb=function(a){if(a&1){var b=v();G(0,"input",11);M("ngModelChange",function(c){w(b);var d=O();return y(d.editingValue=c)});H()}a&2&&(a=O(),F("ngModel",a.editingValue))},qnb=function(a){return null!=a?Number(a):
void 0},rnb=function(a){a&1&&I(0,"mat-icon",12);if(a&2){O();var b=Cf(5);F("onedevHovercardTrigger",b)}},snb=function(a){if(a&1){var b=v();J(0);G(1,"onedev-numeric-field",13);M("valueChange",function(d){w(b);var e=O(2);e.selectedNumericEstimate=d;null==d?e.effortChange.emit(void 0):e.effortChange.emit({estimate:String(d)});return y()});H();L()}if(a&2){a=O(2);var c=Cf(2);z(1);F("value",a.selectedNumericEstimate)("valueTemplate",c)("disabled",a.disabled)("displayEditIcon",!a.disabled)}},tnb=function(a){a&
1&&(J(0),R(1),L());a&2&&(a=O().$implicit,z(1),Df(" ",a.label," "))},unb=function(a){a&1&&R(0," -- ")},vnb=function(a,b){a&1&&(Q(0,tnb,2,1,"ng-container",16),Q(1,unb,1,0,"ng-template",null,17,Zf));if(a&2){a=b.$implicit;var c=Cf(2);F("ngIf",a)("ngIfElse",c)}},xnb=function(a){if(a&1){var b=v();J(0);G(1,"onedev-single-select",14);M("valueChange",function(e){w(b);var g=O(2);return y(g.selectOption(e))});H();Q(2,vnb,3,2,"ng-template",null,15,Zf);L()}if(a&2){var c=Cf(3);a=O(2);var d;z(1);F("value",a.selectedOption)("options",
null!==(d=null==a.effortSpec.enumSpec?null:a.effortSpec.enumSpec.options)&&void 0!==d?d:If(6,wnb))("includeEmptyOption",!0)("optionTemplate",c)("disabled",a.disabled)("displayArrowIcon",!a.disabled)}},ynb=function(a){a&1&&(J(0),R(1),L());a&2&&(a=O(2),z(1),Df(" ",null==a.effort?null:a.effort.estimate," "))},znb=function(a){a&1&&(G(0,"onedev-edit-field")(1,"onedev-field-label",2),R(2),Q(3,rnb,1,1,"mat-icon",3),H(),G(4,"onedev-hovercard",null,4)(6,"div",5)(7,"div",6),R(8," This estimate was made under a different configuration and needs to be updated. "),
G(9,"a",7),R(10,"Learn more"),H()()()(),G(11,"onedev-field-value",8),J(12,9),Q(13,snb,2,4,"ng-container",10),Q(14,xnb,4,7,"ng-container",10),Q(15,ynb,2,1,"ng-container",11),L(),H()());a&2&&(a=O(),z(1),F("thinking",a.thinking),z(1),Df(" ",a.fieldName," "),z(1),F("ngIf",!a.isCompatibleValue),z(8),F("thinking",a.thinking),z(1),F("ngSwitch",a.fieldType),z(1),F("ngSwitchCase","NUMERIC"),z(1),F("ngSwitchCase","DROPDOWN"))},Anb=function(a){a&1&&(J(0),R(1),L());a&2&&(a=O(2),z(1),Df(" ",null==a.effort?null:
a.effort.estimate," "))},Bnb=function(a){a&1&&R(0);a&2&&(a=O().$implicit,Df(" ",null!=a?a:"--"," "))},Cnb=function(a,b){a&1&&(Q(0,Anb,2,1,"ng-container",16),Q(1,Bnb,1,1,"ng-template",null,18,Zf));if(a&2){a=b.$implicit;var c=Cf(2);b=O();F("ngIf",b.isNaN(a))("ngIfElse",c)}},Dnb=function(a){a&1&&I(0,"mat-icon",13)},Enb=function(a){a&1&&I(0,"mat-icon",14)},Fnb=function(a){a&1&&(G(0,"span"),I(1,"b-formatted-date-time",23),H());a&2&&(a=O(2),z(1),F("timestamp",a.sloStartTime))},Gnb=function(a){a&1&&(G(0,
"span"),I(1,"b-formatted-date-time",23),H());a&2&&(a=O(2),z(1),F("timestamp",a.issueCreationTimestamp/1E3))},Hnb=function(a){if(a&1){var b=v();G(0,"slo-edit-date-time-picker",24);M("closePicker",function(){w(b);var c=O(2);return y(c.isSloStartEditTimePickerOpen=!1)})("sloEditCommit",function(c){w(b);var d=O(2);return y(d.updateSloStartTime(c))});H()}a&2&&(a=O(2),F("sloStatus",a.sloStatus)("sloEditTime",a.sloStartTime))},Inb=function(a){if(a&1){var b=v();G(0,"div",15);R(1," Start Date: ");G(2,"div",
16)(3,"a",17,18);M("keydown.enter",function(){w(b);var d=O();d.isSloStartEditTimePickerOpen=!d.isSloStartEditTimePickerOpen;return y()})("keydown.space",function(){w(b);var d=O();d.isSloStartEditTimePickerOpen=!d.isSloStartEditTimePickerOpen;return y()})("click",function(){w(b);var d=O();d.isSloStartEditTimePickerOpen=!d.isSloStartEditTimePickerOpen;return y()});Q(5,Fnb,2,1,"span",19);Q(6,Gnb,2,1,"span",19);H();G(7,"a",20);I(8,"mat-icon",21);H();Q(9,Hnb,1,2,"ng-template",22);H()()}if(a&2){var c=Cf(4);
a=O();z(5);F("ngIf",a.sloStartTime);z(1);F("ngIf",!a.sloStartTime);z(3);F("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",a.isSloStartEditTimePickerOpen)}},Jnb=function(a){a&1&&(G(0,"span"),R(1," Set closure SLO "),H())},Knb=function(a){a&1&&(G(0,"span"),I(1,"b-formatted-date-time",23),H());a&2&&(a=O(2),z(1),F("timestamp",a.sloEndTime))},Lnb=function(a){a&1&&(G(0,"span"),I(1,"b-formatted-date-time",23),H());a&2&&(a=O(2),z(1),F("timestamp",1E3*a.closureSloTarget))},Mnb=function(a){if(a&1){var b=
v();G(0,"slo-edit-date-time-picker",24);M("closePicker",function(){w(b);var c=O(2);return y(c.isSloEndEditTimePickerOpen=!1)})("sloEditCommit",function(c){w(b);var d=O(2);return y(d.updateSloEndTime(c))});H()}a&2&&(a=O(2),F("sloStatus",a.sloStatus)("sloEditTime",a.sloEndTime))},Nnb=function(a){if(a&1){var b=v();G(0,"div",25);R(1," End date: ");G(2,"div",16)(3,"a",26,18);M("click",function(){w(b);var d=O();d.isSloEndEditTimePickerOpen=!d.isSloEndEditTimePickerOpen;return y()})("keydown.enter",function(){w(b);
var d=O();d.isSloEndEditTimePickerOpen=!d.isSloEndEditTimePickerOpen;return y()})("keydown.space",function(){w(b);var d=O();d.isSloEndEditTimePickerOpen=!d.isSloEndEditTimePickerOpen;return y()});Q(5,Jnb,2,0,"span",19);Q(6,Knb,2,1,"span",19);Q(7,Lnb,2,1,"span",19);H();G(8,"a",20);I(9,"mat-icon",21);H();Q(10,Mnb,1,2,"ng-template",22);H()()}if(a&2){var c=Cf(4);a=O();z(5);F("ngIf",!a.hasClosureSlo);z(1);F("ngIf",a.hasClosureSlo&&a.sloEndTime);z(1);F("ngIf",a.hasClosureSlo&&!a.sloEndTime);z(3);F("cdkConnectedOverlayOrigin",
c)("cdkConnectedOverlayOpen",a.isSloEndEditTimePickerOpen)}},Onb=function(a,b){if(a&1){var c=v();G(0,"a",29);M("click",function(){w(c);var d=O(2);return y(d.trackOpenSlo())});R(1);H()}a&2&&(a=b.ngIf,b=O(2),gf("href",b.editSloLink,Md),z(1),Df(" ",a.name," "))},Pnb=function(a){a&1&&(G(0,"div",27),R(1," SLO definition: "),Q(2,Onb,2,2,"a",28),S(3,"async"),H());a&2&&(a=O(),z(2),F("ngIf",T(3,1,a.slo$)))},Qnb=function(a){if(a&1){var b=v();G(0,"div",27)(1,"a",30);M("click",function(){w(b);O();Om(Jn.MANAGE_COMPONENT,
"open","fromIssueSloBox");return y()});R(2,"Select an SLO");H()()}a&2&&(a=O(),z(1),gf("href",a.componentSloLink,Md))},Rnb=function(a){a&1&&(G(0,"a",10),R(1," Create Component "),H());a&2&&(a=O(),F("href",a.createComponentPath,Md))},Snb=function(a){if(a&1){var b=v();G(0,"xap-dialog-layout",11)(1,"xap-dialog-layout-content")(2,"b-team-component-picker",12);M("selectedComponentChange",function(d){w(b);var e=O();return y(e.viewComponent(null!==d&&void 0!==d?d:null,"openFromSearch"))});S(3,"async");H()()()}if(a&
2){a=O();var c;z(2);F("includeArchived",null!==(c=T(3,4,a.includeArchived$))&&void 0!==c?c:!1)("placeholder","Choose Component to navigate to that component")("shouldFocus",!0)("isRequired",!1)}},Unb=function(a){if(a&1){var b=v();G(0,"div",13)(1,"b-slide-toggle",14);M("modelChange",function(d){w(b);var e=O();e.includeArchived$.next(d);d=e.componentTree;d=d.focusedController?d.focusedController.selectedId?d.focusedController.selectedId:-1:d.rootController.selectedId?d.rootController.selectedId:-1;
0<d&&Tnb(e,d,(0,E.firstValueFrom)(e.topLevelComponents$));return y()});S(2,"async");H()()}if(a&2){a=O();var c;z(1);F("model",null!==(c=T(2,2,a.includeArchived$))&&void 0!==c?c:!1)("tooltip",a.includeArchived?"Show archived components.":"Hide archived components.")}},Vnb=function(a){a&1&&(G(0,"div",15),I(1,"b-spinner",16),H())},Wnb=function(a){a&1&&(G(0,"p",3),R(1),H());a&2&&(a=O(),z(1),Ef(a.packageMentionSet.packageName))},Xnb=function(a,b){a&1&&(G(0,"li"),I(1,"b-file-mention",4),H());a&2&&(a=b.$implicit,
b=O(),z(1),F("issueId",b.issueId)("packageName",b.packageMentionSet.packageName)("filename",a.filename)("lineNumbers",a.lineNumber)("changeNumber",a.changeNumber))},Ynb=function(a){a&1&&(G(0,"span",6),R(1," Select at least one tracker "),H())},Znb=function(a,b){if(a&1){var c=v();G(0,"div",7)(1,"mat-checkbox",8);M("change",function(d){var e=w(c).$implicit,g=O();return y(g.trackerCheckboxValues[e.trackerId]=d.checked)});R(2);H()()}a&2&&(a=b.$implicit,b=O(),z(1),F("checked",b.trackerCheckboxValues[a.trackerId]||
!1),z(1),Df(" ",a.name," "))},$nb=function(a){a&1&&(I(0,"b-tracker-search",6),S(1,"async"),S(2,"async"));a&2&&(a=O(),F("currentTrackerId",T(1,2,a.currentTracker.trackerId$))("availableTrackers",T(2,4,a.currentTracker.availableTrackers$)))},aob=function(a){a&1&&(G(0,"div",7),I(1,"b-spinner"),G(2,"span"),R(3,"Initializing query builder..."),H()())},bob=function(a){a&1&&(G(0,"div",10),I(1,"mat-icon",11),G(2,"p"),R(3," The query is too complex to show in the query builder. You can still perform the search or save the search. "),
H()())},cob=function(a){a&1&&(G(0,"div"),R(1," We cannot understand your query because it seems to be incorrect (syntactically). Make sure all parentheses are balanced and all labels have values. "),H())},dob=function(a){a&1&&(G(0,"div",8),Q(1,bob,4,0,"div",9),Q(2,cob,2,0,"div",5),H());a&2&&(a=O(),z(1),F("ngIf","NOT_REPRESENTABLE"===(null==a.advancedSearchCtrl?null:a.advancedSearchCtrl.getState())),z(1),F("ngIf","SYNTAX_ERROR"===(null==a.advancedSearchCtrl?null:a.advancedSearchCtrl.getState())))},
eob=function(a){a&1&&(G(0,"div",8),R(1," We encountered a problem while retrieving the interpretation of the search query from the server. Please try again. "),H())},fob=function(a){a&1&&I(0,"b-tracker-account-menu-hack")},gob=function(a){a&1&&(G(0,"span"),R(1),I(2,"span",16),H());a&2&&(a=O(2).$implicit,z(1),Df(" ",a.diff.oldValue," "))},hob=function(a){a&1&&(G(0,"span")(1,"label"),R(2),H(),Q(3,gob,3,1,"span",15),R(4),H());a&2&&(a=O().$implicit,z(2),Df("",a.fieldName,":"),z(1),F("ngIf",a.diff.oldValue),
z(1),Df(" ",a.diff.newValue," "))},iob=function(a,b){a&1&&(G(0,"div")(1,"label"),R(2),H(),R(3),H());a&2&&(a=b.$implicit,b=O(3).$implicit,z(2),Df("-",b.fieldName,":"),z(1),Df(" ",a," "))},job=function(a){a&1&&(J(0),Q(1,iob,4,2,"div",17),L());a&2&&(a=O(2).$implicit,z(1),F("ngForOf",a.diff.removed))},kob=function(a,b){a&1&&(G(0,"div")(1,"label"),R(2),H(),R(3),H());a&2&&(a=b.$implicit,b=O(3).$implicit,z(2),Df("+",b.fieldName,":"),z(1),Df(" ",a," "))},lob=function(a){a&1&&(J(0),Q(1,kob,4,2,"div",17),L());
a&2&&(a=O(2).$implicit,z(1),F("ngForOf",a.diff.added))},mob=function(a){a&1&&(G(0,"div"),Q(1,job,2,1,"ng-container",15),Q(2,lob,2,1,"ng-container",15),H());a&2&&(a=O().$implicit,z(1),F("ngIf",a.diff.removed),z(1),F("ngIf",a.diff.added))},nob=function(a,b){a&1&&(G(0,"div",14),Q(1,hob,5,3,"span",15),Q(2,mob,3,2,"div",15),H());a&2&&(a=b.$implicit,z(1),F("ngIf","SINGLE_VALUE"==a.diffType),z(1),F("ngIf","COLLECTION"==a.diffType))},oob=function(a,b){a&1&&(G(0,"li",5)(1,"div",6),I(2,"b-user-image",7),H(),
G(3,"div",8)(4,"h4"),I(5,"b-user-display-name",9),G(6,"span",10),I(7,"b-formatted-date-time",11),H()(),G(8,"div",12),Q(9,nob,3,2,"div",13),H()()());a&2&&(a=b.$implicit,b=O(),z(2),F("email",b.userToDisplay(a.author)),z(3),F("email",b.userToDisplay(a.author)),z(2),F("timestamp",a.timestamp),z(2),F("ngForOf",a.diffs))},pob=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"}},qob=function(a,b){a&1&&(G(0,"mat-option",3),R(1),I(2,"br"),G(3,"span",4),R(4),H()());a&2&&(a=b.$implicit,F("value",a),z(1),Df(" ",a.title,""),z(3),Ef(a.description))},rob=function(a,b){a&1&&(J(0),vf(1,5),L());if(a&2){a=b.$implicit;O();var c=Cf(2);z(1);
F("ngTemplateOutlet",c)("ngTemplateOutletContext",Jf(2,Lr,a))}},sob=function(a){a&1&&(J(0),vf(1,5),L());if(a&2){a=O().question;O();var b=Cf(4);z(1);F("ngTemplateOutlet",b)("ngTemplateOutletContext",Jf(2,Lr,a))}},tob=function(a){a&1&&(J(0),vf(1,5),L());if(a&2){a=O().question;O();var b=Cf(6);z(1);F("ngTemplateOutlet",b)("ngTemplateOutletContext",Jf(2,Lr,a))}},uob=function(a){a&1&&(J(0),vf(1,5),L());if(a&2){a=O().question;O();var b=Cf(8);z(1);F("ngTemplateOutlet",b)("ngTemplateOutletContext",Jf(2,Lr,
a))}},vob=function(a,b){a&1&&(J(0,6),Q(1,sob,2,4,"ng-container",7),Q(2,tob,2,4,"ng-container",7),Q(3,uob,2,4,"ng-container",7),L());a&2&&(a=b.question,b=O(),F("ngSwitch",a.type),z(1),F("ngSwitchCase",b.CustomQuestionType.INPUT),z(1),F("ngSwitchCase",b.CustomQuestionType.TEXT),z(1),F("ngSwitchCase",b.CustomQuestionType.SELECT))},wob=function(a,b){if(a&1){var c=v();I(0,"h4",8);G(1,"mat-form-field",9)(2,"input",10);M("ngModelChange",function(d){var e=w(c).question;return y(e.response=d)});H()()}a&2&&
(a=b.question,F("innerHtml",a.question,Ld),z(2),F("ngModel",a.response),gf("aria-label",a.question))},xob=function(a,b){if(a&1){var c=v();I(0,"h4",8);G(1,"mat-form-field",11)(2,"textarea",10);M("ngModelChange",function(d){var e=w(c).question;return y(e.response=d)});R(3,"    ");H()()}a&2&&(a=b.question,F("innerHtml",a.question,Ld),z(2),F("ngModel",a.response),gf("aria-label",a.question))},zob=function(a,b){a&1&&(G(0,"mat-option",15),R(1),H());a&2&&(a=b.$implicit,O(2),F("value",a),z(1),Df(" ",yob(a)?
a.text:a," "))},Aob=function(a){a&1&&vf(0,5);if(a&2){a=O().question;O();var b=Cf(2);F("ngTemplateOutlet",b)("ngTemplateOutletContext",Jf(2,Lr,a.response.child))}},Cob=function(a,b){if(a&1){var c=v();I(0,"h4",8);G(1,"mat-form-field",9)(2,"mat-select",12);M("valueChange",function(d){var e=w(c).question,g=O();e.response=d;return y(Bob(g))});Q(3,zob,2,2,"mat-option",13);H()();Q(4,Aob,1,4,"ng-container",14)}a&2&&(a=b.question,O(),F("innerHtml",a.question,Ld),z(1),gf("aria-label",a.question),z(1),F("value",
a.response),z(1),F("ngForOf",a.options),z(1),F("ngIf",yob(a.response)))},Dob=function(a){a&1&&yf(0)},Eob=function(a){a&1&&vf(0,8);a&2&&(a=O(),F("ngTemplateOutlet",a.iconOverrides[a.state])("ngTemplateOutletContext",a._getIconContext()))},Fob=function(a){a&1&&(G(0,"span",13),R(1),H());a&2&&(a=O(2),z(1),Ef(a._getDefaultTextForState(a.state)))},Gob=function(a){a&1&&(G(0,"span",14),R(1),H());a&2&&(a=O(2),z(1),Ef(a._intl.completedLabel))},Hob=function(a){a&1&&(G(0,"span",14),R(1),H());a&2&&(a=O(2),z(1),
Ef(a._intl.editableLabel))},Iob=function(a){a&1&&(G(0,"mat-icon",13),R(1),H());a&2&&(a=O(2),z(1),Ef(a._getDefaultTextForState(a.state)))},Job=function(a){a&1&&(J(0,9),Q(1,Fob,2,1,"span",10),Q(2,Gob,2,1,"span",11),Q(3,Hob,2,1,"span",11),Q(4,Iob,2,1,"mat-icon",12),L());a&2&&(a=O(),F("ngSwitch",a.state),z(1),F("ngSwitchCase","number"),z(1),F("ngIf","done"===a.state),z(1),F("ngIf","edit"===a.state))},Kob=function(a){a&1&&(G(0,"div",15),vf(1,16),H());a&2&&(a=O(),z(1),F("ngTemplateOutlet",a._templateLabel().template))},
Lob=function(a){a&1&&(G(0,"div",15),R(1),H());a&2&&(a=O(),z(1),Ef(a.label))},Mob=function(a){a&1&&(G(0,"div",17),R(1),H());a&2&&(a=O(),z(1),Ef(a._intl.optionalLabel))},Nob=function(a){a&1&&(G(0,"div",18),R(1),H());a&2&&(a=O(),z(1),Ef(a.errorMessage))},Oob=function(){},Pob=function(a){a&1&&(yf(0),Q(1,Oob,0,0,"ng-template",0));a&2&&(a=O(),z(1),F("cdkPortalOutlet",a._portal))},Qob=function(a){a&1&&I(0,"div",11)},Sob=function(a,b){a&1&&(J(0),vf(1,9),Q(2,Qob,1,0,"div",10),L());if(a&2){a=b.$implicit;var c=
b.index;b=b.last;O(2);var d=Cf(4);z(1);F("ngTemplateOutlet",d)("ngTemplateOutletContext",Kf(3,Rob,a,c));z(1);F("ngIf",!b)}},Vob=function(a,b){if(a&1){var c=v();G(0,"div",12);M("@horizontalStepTransition.done",function(e){w(c);var g=O(2);return y(g._animationDone.next(e))});vf(1,13);H()}if(a&2){a=b.$implicit;b=b.index;var d=O(2);qf("mat-horizontal-stepper-content-inactive",d.selectedIndex!==b);F("@horizontalStepTransition",Kf(8,Tob,d._getAnimationDirection(b),Jf(6,Uob,d._getAnimationDuration())))("id",
d._getStepContentId(b));gf("aria-labelledby",d._getStepLabelId(b));z(1);F("ngTemplateOutlet",a.content)}},Wob=function(a){a&1&&(G(0,"div",4)(1,"div",5),Q(2,Sob,3,6,"ng-container",6),H(),G(3,"div",7),Q(4,Vob,2,11,"div",8),H()());a&2&&(a=O(),z(2),F("ngForOf",a.steps),z(2),F("ngForOf",a.steps))},Xob=function(a,b){if(a&1){var c=v();G(0,"div",15);vf(1,9);G(2,"div",16)(3,"div",17);M("@verticalStepTransition.done",function(h){w(c);var l=O(2);return y(l._animationDone.next(h))});G(4,"div",18);vf(5,13);H()()()()}if(a&
2){a=b.$implicit;var d=b.index;b=b.last;var e=O(2),g=Cf(4);z(1);F("ngTemplateOutlet",g)("ngTemplateOutletContext",Kf(10,Rob,a,d));z(1);qf("mat-stepper-vertical-line",!b);z(1);qf("mat-vertical-stepper-content-inactive",e.selectedIndex!==d);F("@verticalStepTransition",Kf(15,Tob,e._getAnimationDirection(d),Jf(13,Uob,e._getAnimationDuration())))("id",e._getStepContentId(d));gf("aria-labelledby",e._getStepLabelId(d));z(2);F("ngTemplateOutlet",a.content)}},Yob=function(a){a&1&&(J(0),Q(1,Xob,6,18,"div",
14),L());a&2&&(a=O(),z(1),F("ngForOf",a.steps))},Zob=function(a,b){if(a&1){var c=v();G(0,"mat-step-header",19);M("click",function(){var e=w(c).step;return y(e.select())})("keydown",function(e){w(c);var g=O();return y(g._onKeydown(e))});H()}if(a&2){a=b.step;b=b.i;var d=O();qf("mat-horizontal-stepper-header","horizontal"===d.orientation)("mat-vertical-stepper-header","vertical"===d.orientation);F("tabIndex",d._getFocusIndex()===b?0:-1)("id",d._getStepLabelId(b))("index",b)("state",d._getIndicatorType(b,
a.state))("label",a.stepLabel||a.label)("selected",d.selectedIndex===b)("active",d._stepIsNavigable(b,a))("optional",a.optional)("errorMessage",a.errorMessage)("iconOverrides",d._iconOverrides)("disableRipple",d.disableRipple||!d._stepIsNavigable(b,a))("color",a.color||d.color);gf("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)}},apb=function(a){if(a&1){var b=v();J(0);G(1,"h4",2);R(2,"Which of the following best describes the issue that you are reporting?");H();G(3,"wizard-category-select",50);M("categoryChange",function(c){w(b);var d=O();return y(d.model.category=c)});H();G(4,"mat-card",51)(5,"mat-card-header");R(6," Avoid duplicate issue reports: ");H();G(7,"mat-card-content")(8,"mat-checkbox",52);M("ngModelChange",function(c){w(b);var d=O();return y(d.ackDupes=c)});
R(9," By checking this box, I'm acknowledging that I have searched for ");G(10,"a",53);R(11,"existing issues");H();R(12," that already report this problem. ");H()()();G(13,"div",34)(14,"button",37);R(15," Next ");I(16,"mat-icon",38);H()();L()}a&2&&(a=O(),z(3),F("persona",a.model.persona)("category",a.model.category),z(5),F("ngModel",a.ackDupes),z(6),F("disabled",!$ob(a,0)))},bpb=function(a){a&1&&(G(0,"div")(1,"h3"),R(2,"Prefer to file an issue manually?"),H(),G(3,"p"),R(4," It's usually best to work through this short wizard so that your issue is given the labels needed for the right team to see it. Otherwise it might take longer for your issue to be triaged and resolved. "),
H(),G(5,"p"),R(6," However, if you are a Chromium contributor and none of the other options apply, you may use the regular issue entry "),G(7,"a",54),R(8,"form"),H(),R(9,". "),H()());a&2&&(a=O(),z(7),F("href",a.paths.createIssue(),Md))},cpb=function(a){if(a&1){var b=v();G(0,"wizard-custom-questions",55);M("responses",function(c){w(b);var d=O();return y(d.model.customQuestionResponses=c)});H()}a&2&&(a=O(),F("category",a.model.category.value))},dpb=function(a){if(a&1){var b=v();G(0,"div",56)(1,"b-recaptcha",
57);M("onUpdate",function(c){w(b);var d=O();return y(d.recaptchaResponse=c)});H()()}},epb=function(){},fpb=function(){},gpb=function(){},ipb=function(a){return a.length?"# Custom Questions\n"+hpb(a).map(function(b){var c;return"#### "+(null!=(c=b.answerPrefix)?c:b.question)+"\n"+b.response}).join("\n\n"):""},hpb=function(a){var b=[];a=k(a);for(var c=a.next();!c.done;c=a.next())c=c.value,yob(c.response)?(b.push({type:c.type,question:c.question,response:c.response.text}),b.push.apply(b,Vc(hpb([c.response.child])))):
b.push(c);return b},jpb=function(a){a&1&&(J(0),R(1," > "),L())},kpb=function(a,b){a&1&&(J(0),G(1,"a",7),R(2),H(),Q(3,jpb,2,0,"ng-container",3),L());a&2&&(a=b.$implicit,b=b.last,z(1),jf("aria-label","View recent issues in ",a.name,""),F("routerLinkObj",a.route),z(1),Ef(a.name),z(1),F("ngIf",!b))},lpb=function(a){a&1&&(G(0,"span"),R(1," [Archived]"),H())},mpb=function(a){a&1&&(G(0,"div",5),Q(1,kpb,4,4,"ng-container",6),S(2,"async"),Q(3,lpb,2,0,"span",3),S(4,"async"),H());a&2&&(a=O(),z(1),F("ngForOf",
T(2,2,a.componentPath$)),z(2),F("ngIf",T(4,4,a.isArchived$)))},npb=function(a,b){a&1&&(J(0),G(1,"div",8),I(2,"mat-icon",9),G(3,"div",10),R(4),H()(),G(5,"p",11),R(6),H(),G(7,"p",10),R(8),H(),L());a&2&&(a=b.$implicit,z(4),Ef(a.name),z(2),Df("Component ID: ",a.componentId,""),z(2),Ef(a.description))},opb=function(a,b){a&1&&(G(0,"div",12)(1,"a",13),R(2,"View recent open issues"),H(),G(3,"a",14),R(4,"View component settings"),H(),G(5,"a",15),R(6,"Create issue in this component"),H()());a&2&&(a=b.$implicit,
z(1),F("routerLinkObj",a.recentIssues),z(2),F("routerLinkObj",a.componentSettings),z(2),F("routerLinkObj",a.createIssue))},ppb=function(a){a&1&&(G(0,"a",15),R(1," Create Component "),H())},qpb=function(a){a&1&&(G(0,"p",19),R(1," None found. "),G(2,"a",20),R(3,"Learn More"),H()())},rpb=function(a){a&1&&(J(0),I(1,"b-component-path-card",31,32),L());if(a&2){var b=Cf(2);a=O().$implicit;z(1);F("onedevIsHovercardReady",b.init)("componentId",a.componentId)}},spb=function(a,b){a&1&&(G(0,"li")(1,"a",21)(2,
"div",22)(3,"span",23),R(4),I(5,"b-access-level-indicator",24)(6,"b-tracker-chip-smart",25),H(),G(7,"p",26),R(8),H()(),G(9,"div",27)(10,"a",28),R(11," Edit "),H(),G(12,"a",28),R(13," Create Issue "),H()()(),G(14,"onedev-hovercard",null,29),Q(16,rpb,3,2,"ng-container",30),H()());if(a&2){a=b.$implicit;var c=Cf(15);b=O(2);z(1);F("routerLinkObj",b.viewIssues(a.componentId));z(1);F("onedevHovercardTrigger",c);z(2);Df(" ",a.name||a.componentId," ");z(1);F("accessLevel",null==a.accessLimit?null:a.accessLimit.accessLevel)("labelOnlyMode",
!0);z(1);F("trackerId",a.trackerId)("showHovercard",!1);z(2);Ef(a.description);z(2);F("routerLinkObj",b.componentSettings(a.componentId));z(2);F("routerLinkObj",b.createIssue(a.componentId))}},tpb=function(a,b){a&1&&(J(0),Q(1,qpb,4,0,"p",16),G(2,"ol",17),Q(3,spb,17,10,"li",18),H(),L());a&2&&(a=b.$implicit,z(1),F("ngIf",0===a.length),z(2),F("ngForOf",a))},vpb=function(a){a&1&&(G(0,"a",25),R(1," Learn more "),H());a&2&&(O(),F("href",upb(),Md))},wpb=function(a){var b;return(null!=(b=a.getIssueDigestsList())?
b:[]).map(xsa)},ypb=function(a){var b=new Set,c=0;a=k(a.matchAll(xpb));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(Vc(b))},zpb=function(a){a&1&&(G(0,"div"),I(1,"b-spinner"),G(2,"span"),R(3,"Loading..."),H()())},Apb=function(a){a&1&&(G(0,"div",2),Q(1,zpb,4,0,"div",3),H());if(a&2){a=O();var b=Cf(2);z(1);F("ngIf",a.isInitiallyLoading)("ngIfElse",b)}},Bpb=function(a){a&1&&(G(0,"span",17)(1,"strong"),R(2),H(),R(3," of "),
G(4,"strong"),R(5),H()());a&2&&(a=O(4),z(2),Ff("",a.startIndex,"\u2013",a.endIndex,""),z(3),Ef(a.totalText))},Cpb=function(a){if(a&1){var b=v();G(0,"div",11);Q(1,Bpb,6,3,"span",12);G(2,"b-button",13);M("onAction",function(){w(b);var c=O(3);return y(c.fetchIssues(c.page-1))});I(3,"b-icon",14);H();G(4,"b-button",15);M("onAction",function(){w(b);var c=O(3);return y(c.fetchIssues(c.page+1))});I(5,"b-icon",16);H()()}a&2&&(a=O(3),z(1),F("ngIf",!a.isRefreshing),z(1),F("disabled",1>=a.page),z(2),F("disabled",
a.page>=a.numPages))},Dpb=function(a){if(a&1){var b=v();G(0,"button",18);M("click",function(){w(b);var c=O(3);return y(c.triggerSimilarIssuesSurvey())});I(1,"mat-icon",19);H()}},Epb=function(a){a&1&&(G(0,"li")(1,"h3"),R(2),H(),Q(3,Cpb,6,3,"div",9),Q(4,Dpb,2,0,"button",10),H());a&2&&(a=O(2),z(2),Ef(a.getHeader()),z(1),F("ngIf",!a.enableSimilarIssues),z(1),F("ngIf",a.showSuggestedDupes))},Fpb=function(a){a&1&&(G(0,"div",20),R(1,"There may already be issues opened on this topic. Please consider +1 to the canonical issue if that is the case."),
H())},Gpb=function(a){if(a&1){var b=v();G(0,"b-issue-card",26,27);M("init",function(){w(b);var e=O(4);return y(e.trackTitleHoverOver())});H()}if(a&2){var c=Cf(1);a=O().$implicit;var d=O(3);F("onedevIsHovercardReady",c.init)("issueId",a.id)("location",d.CATEGORIES.MAGIC_BOX+d.getGroupName())}},Hpb=function(a,b){if(a&1){var c=v();G(0,"li",22)(1,"onedev-hovercard",null,23);Q(3,Gpb,2,3,"b-issue-card",24);H();G(4,"a",25);M("click",function(){w(c);var e=O(3);return y(e.trackTitleClick())});R(5);H()()}if(a&
2){a=b.$implicit;var d=Cf(2);b=O(3);F("ngClass",b.enableSimilarIssues?"magic-box-item-new":"magic-box-item");z(4);zf("href","issues/",a.id,"",Md);F("onedevHovercardTrigger",d);z(1);Df(" ",a.title," ")}},Ipb=function(a){a&1&&(J(0),Q(1,Hpb,6,4,"li",21),L());a&2&&(a=O(2),z(1),F("ngForOf",a.magicBoxIssues))},Jpb=function(a){a&1&&(G(0,"li"),R(1),H());a&2&&(a=O(2),z(1),Df(" No ",a.getHeader().toLowerCase()," found. "))},Kpb=function(a){a&1&&(G(0,"li",28)(1,"a",29),R(2," View All Issues \u2192 "),H()());
a&2&&(a=O(2),z(1),Af("href",a.viewAllHref,Md))},Lpb=function(a){if(a&1){var b=v();G(0,"li",30)(1,"button",31);M("click",function(){w(b);var c=O(2);c.fetchIssues(c.page+1);c.analytics.trackEvent(Jn.MAGIC_BOX,"loadMore");return y()});I(2,"mat-icon",32);R(3," Load more ");H()()}},Mpb=function(a){if(a&1){var b=v();G(0,"li",33)(1,"a",29)(2,"button",34);M("click",function(){w(b);O(2).analytics.trackEvent(Jn.MAGIC_BOX,"viewAll");return y()});R(3,"View all ");I(4,"mat-icon",35);H()()()}a&2&&(a=O(2),z(1),
Af("href",a.viewAllHref,Md))},Npb=function(a){a&1&&(G(0,"li"),I(1,"b-spinner"),G(2,"span"),R(3,"Loading..."),H()())},Opb=function(a){a&1&&(G(0,"ul"),Q(1,Epb,5,3,"li",4),Q(2,Fpb,2,0,"div",5),Q(3,Ipb,2,1,"ng-container",4),Q(4,Jpb,2,1,"li",4),Q(5,Kpb,3,1,"li",6),Q(6,Lpb,4,0,"li",7),Q(7,Mpb,5,1,"li",8),Q(8,Npb,4,0,"li",4),H());a&2&&(a=O(),z(1),F("ngIf",!a.hideHeader),z(1),F("ngIf",a.showSuggestedDupes),z(1),F("ngIf",!a.isRefreshing),z(1),F("ngIf",0==a.magicBoxIssues.length&&!a.isRefreshing),z(1),F("ngIf",
!a.isRefreshing&&1<a.numPages&&!a.enableSimilarIssues&&a.viewAllHref),z(1),F("ngIf",!a.isRefreshing&&a.endIndex<a.numTotalResults&&a.enableSimilarIssues),z(1),F("ngIf",!a.isRefreshing&&1<a.numPages&&a.enableSimilarIssues&&a.viewAllHref),z(1),F("ngIf",a.isRefreshing))},Ppb=function(a){a&1&&vf(0)},Rpb=function(a){a&1&&(J(0),Q(1,Ppb,1,0,"ng-container",8),L());a&2&&(a=O(),z(1),F("ngTemplateOutlet",a.valueTemplate)("ngTemplateOutletContext",Jf(2,Qpb,a.value)))},Spb=function(a){a&1&&R(0);a&2&&(a=O(),Ef(a.value||
"--"))},Tpb=function(a){a&1&&(jd(),G(0,"svg",9),I(1,"path",10),H());a&2&&(a=O(),qf("centered",a.centerEditIcon))},Upb=function(a){a&1&&I(0,"textarea",15);a&2&&(a=O(3),F("formControl",a.editingValue)("cdkAutosizeMaxRows",a.multilineMaxLines))},Vpb=function(a){a&1&&I(0,"input",16);a&2&&(a=O(3),F("formControl",a.editingValue))},Wpb=function(a){a&1&&(J(0),G(1,"div",12),Q(2,Upb,1,2,"textarea",13),Q(3,Vpb,1,1,"ng-template",null,14,Zf),H(),L());if(a&2){var b=Cf(4);a=O(2);z(2);F("ngIf",a.allowMultipleLines)("ngIfElse",
b)}},Xpb=function(a){a&1&&vf(0)},Zpb=function(a){a&1&&(J(0),Q(1,Xpb,1,0,"ng-container",8),L());a&2&&(a=O(2),z(1),F("ngTemplateOutlet",a.editorTemplate)("ngTemplateOutletContext",Jf(2,Ypb,a.editingValue)))},$pb=function(a){a&1&&(Q(0,Wpb,5,2,"ng-container",11),Q(1,Zpb,2,4,"ng-container",11));a&2&&(a=O(),F("ngIf",!a.editorTemplate),z(1),F("ngIf",a.editorTemplate))},aqb=function(){},bqb=function(a){a&1&&I(0,"span",2);a&2&&(a=O(),F("@indicatorRotate",a._getExpandedState()))},cqb=function(a){if(a&1){var b=
v();G(0,"b-hotlist-picker",24);M("onApply",function(c){w(b);var d=O();return y(d.handleHotlistPickerSave(c))})("onLoad",function(c){w(b);var d=O();return y(d.loadHotlist(c))})("onCreate",function(c){w(b);var d=O();return y(d.createHotlist(c))});H()}a&2&&(a=O(),F("selectedHotlistIds",a.selectedHotlistIds)("choices",a.hotlists))},hqb=function(a){a&1&&(G(0,"div",25),I(1,"b-icon",26),G(2,"span"),R(3),H(),G(4,"a",27),R(5,"View access settings"),H()());a&2&&(a=O(),F("ngClass",Kf(5,dqb,eqb(a),fqb(a))),z(1),
F("name","alert")("size","small"),z(2),Df("",gqb(a),"\u00a0"),z(1),F("href",a.selectedComponent?a.paths.manageComponent(a.selectedComponent.componentId,"access"):"",Md))},kqb=function(a){a&1&&(G(0,"div",30),R(1),H());a&2&&(a=O(2),z(1),Df(" Error: The following required field(s) have not been filled: ",iqb(a).concat(jqb(a)).join(", ")," "))},lqb=function(a){a&1&&(G(0,"li"),R(1),H());if(a&2){a=O(3);z(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"):"";Ef(a)}},mqb=function(a){a&1&&(G(0,"li"),R(1),H());a&2&&(a=O(3),z(1),Df(" Collaborators: you cannot add ",a.invalidCollaboratorsInput.join(", ")," "))},nqb=function(a){a&1&&(G(0,"div",30),R(1," Error: The following field(s) have invalid values: "),G(2,"ul"),Q(3,lqb,2,1,"li",20),Q(4,mqb,2,1,"li",20),H()());a&2&&(a=O(2),z(3),F("ngIf",!a.isBlockedByIssueIdValid||
!a.isBlockingIssueIdValid||!a.isParentIssueIdsValid),z(1),F("ngIf",!a.isCollaboratorsValid))},oqb=function(a){a&1&&(G(0,"div",30),R(1," Error: There is at least one upload ongoing. Please cancel or wait for it to be finished. "),H())},qqb=function(a){a&1&&(G(0,"div",28),Q(1,kqb,2,1,"div",29),Q(2,nqb,5,2,"div",29),Q(3,oqb,2,0,"div",29),H());a&2&&(a=O(),z(1),F("ngIf",0!==iqb(a).length||0!==jqb(a).length),z(1),F("ngIf",!a.isBlockedByIssueIdValid||!a.isBlockingIssueIdValid||!a.isParentIssueIdsValid||
!a.isCollaboratorsValid),z(1),F("ngIf",pqb(a.comment)))},rqb=function(a,b){if(a&1){var c=v();G(0,"div",33)(1,"b-hotlist-chip",34);M("removeHotlist",function(){var d=w(c).$implicit,e=O(2);return y(e.removeHotlist(d.hotlistId))});H()()}a&2&&(a=b.$implicit,z(1),F("hotlist",a))},sqb=function(a){a&1&&(G(0,"div",31),Q(1,rqb,2,1,"div",32),H());a&2&&(a=O(),z(1),F("ngForOf",a.selectedHotlists))},tqb=function(a,b){if(a&1){var c=v();G(0,"button",43);M("click",function(){var d=w(c).$implicit,e=O(2);e.selectedTemplate=
d;e.getIssueTemplate();return y()});R(1);H()}a&2&&(a=b.$implicit,z(1),Ef(a.name))},uqb=function(a){if(a&1){var b=v();G(0,"button",43);M("click",function(){w(b);var c=O(2);c.selectedTemplate=c.availableExistingIssueTemplate;c.getIssueTemplate();return y()});R(1);H()}a&2&&(a=O(2),z(1),Ef(a.availableExistingIssueTemplate.name))},vqb=function(a){a&1&&(G(0,"div",35)(1,"div",14)(2,"label",36),R(3,"Template"),H()(),G(4,"button",37),R(5),I(6,"b-icon",38),H(),G(7,"mat-menu",39,40),Q(9,tqb,2,1,"button",41),
Q(10,uqb,2,1,"button",42),H()());if(a&2){var b=Cf(8);a=O();var c;z(4);F("matMenuTriggerFor",b);z(1);Ef(null!==(c=null==a.selectedTemplate?null:a.selectedTemplate.name)&&void 0!==c?c:"");z(2);F("overlapTrigger",!0);z(2);F("ngForOf",a.availablePredefinedTemplates);z(1);F("ngIf",a.availableExistingIssueTemplate)}},wqb=function(a){a&1&&(G(0,"div",44)(1,"div",30),R(2," You do not have permission to create issues in this component. "),H()())},xqb=function(a){if(a&1){var b=v();G(0,"div",69)(1,"b-magic-box",
70);M("headerChange",function(c){w(b);var d=O(3);return y(d.magicBoxHeader=c)});H()()}a&2&&(a=O(3),z(1),F("componentId",a.issue.componentId)("hideHeader",!0)("showInline",a.showRecentIssuesInline)("issueTitle",a.issue.title)("issue",a.issue)("customFieldMap",a.customFieldMap))},zqb=function(a){if(a&1){var b=v();G(0,"div",65)(1,"div",66)(2,"a",67);M("click",function(){w(b);var c=O(2);return y(yqb(c))})("keydown.enter",function(){w(b);var c=O(2);return y(yqb(c))})("keydown.space",function(){w(b);var c=
O(2);return y(yqb(c))});R(3);H()();Q(4,xqb,2,6,"div",68);H()}a&2&&(a=O(2),z(3),Ff(" ",a.showRecentIssuesInline?"Hide":"View"," ",a.magicBoxHeader.toLowerCase()," "),z(1),F("ngIf",a.showRecentIssuesInline&&a.issue.componentId))},Aqb=function(a,b){if(a&1){var c=v();G(0,"button",74);M("click",function(){var d=w(c).$implicit,e=O(3);return y(e.setPriority(d.value))});R(1);H()}a&2&&(a=b.$implicit,z(1),Ef(a.displayText))},Bqb=function(a){if(a&1){var b=v();G(0,"div",35)(1,"div",14)(2,"label",71);R(3,"Priority");
H()();G(4,"button",72);R(5);I(6,"b-icon",38);H();G(7,"mat-menu",39,73)(9,"button",74);M("click",function(){w(b);var d=O(2);return y(d.setPriority(void 0))});R(10,"--");H();Q(11,Aqb,2,1,"button",75);H()()}if(a&2){var c=Cf(8);a=O(2);z(4);F("matMenuTriggerFor",c);gf("aria-label","Priority, required"+(a.issue.priority?", "+a.issue.priority:""));z(1);Df("",a.issue.priority?a.issue.priority:"--"," ");z(2);F("overlapTrigger",!0);z(4);F("ngForOf",a.priorityChoices)}},Dqb=function(a,b){if(a&1){var c=v();G(0,
"button",79);M("click",function(){var d=w(c).$implicit,e=O(3);return y(Cqb(e,d.value))});R(1);H()}a&2&&(a=b.$implicit,Af("title",a.altText||""),z(1),Ef(a.displayText))},Eqb=function(a){if(a&1){var b=v();G(0,"div",35)(1,"div",14)(2,"label",76);R(3,"Type");H()();G(4,"button",72);S(5,"enumToHuman");R(6);S(7,"enumToHuman");I(8,"b-icon",38);H();G(9,"mat-menu",39,77)(11,"button",74);M("click",function(){w(b);var d=O(2);return y(Cqb(d))});R(12,"--");H();Q(13,Dqb,2,2,"button",78);H()()}if(a&2){var c=Cf(10);
a=O(2);z(4);F("matMenuTriggerFor",c);gf("aria-label","Type, required"+(a.issue.type?T(5,5,", "+a.issue.type):""));z(2);Df("",T(7,7,a.issue.type||"--")," ");z(3);F("overlapTrigger",!0);z(4);F("ngForOf",a.issueTypeChoices)}},Fqb=function(a){if(a&1){var b=v();G(0,"div",80)(1,"div",14)(2,"label",81);R(3,"Assignee");H()();G(4,"div",82)(5,"input",83);M("ngModelChange",function(c){w(b);var d=O(2);return y(d.assigneeText=c)});H()()()}a&2&&(a=O(2),z(5),F("ngModel",a.assigneeText)("bContactAutocomplete","SINGLE"))},
Gqb=function(a){a&1&&(G(0,"mat-error"),R(1," Collaborators only accepts individual users. "),H())},Iqb=function(a){if(a&1){var b=v();G(0,"div",84)(1,"div",14)(2,"label",85);R(3,"Collaborators");H();I(4,"mat-icon",86);H();G(5,"div",82)(6,"input",87);M("ngModelChange",function(c){w(b);var d=O(2);return y(d.collaboratorsText=Hqb(c))});H()();Q(7,Gqb,2,0,"mat-error",20);H()}a&2&&(a=O(2),z(6),qf("invalid",!a.isCollaboratorsValid),F("ngModel",Mr(a.collaboratorsText))("bContactAutocomplete","MULTI"),z(1),
F("ngIf",!a.isCollaboratorsValid&&a.submitRequested))},Jqb=function(a){if(a&1){var b=v();G(0,"div",88)(1,"div",14)(2,"label",89);R(3,"CC");H()();G(4,"div",82)(5,"input",90);M("ngModelChange",function(c){w(b);var d=O(2);return y(d.ccsText=Hqb(c))});H()()()}a&2&&(a=O(2),z(5),F("ngModel",Mr(a.ccsText))("bContactAutocomplete","MULTI"))},Kqb=function(a){if(a&1){var b=v();G(0,"div",12)(1,"div",13)(2,"div",14)(3,"label",91);R(4," Issue access level ");H()();G(5,"b-issue-access-limits-dropdown",92);M("updatedAccessLimitLevel",
function(c){w(b);var d=O(2);return y(d.onAccessLimitLevelSelected(c))});H()()()}a&2&&(a=O(2),z(5),F("disabled",!1)("implicitAccessEnabled",a.componentHasExpandedAccessEnabled)("defaultAccessLimitLevel",a.selectedAccessLimitLevel))},Lqb=function(a,b){if(a&1){var c=v();G(0,"button",74);M("click",function(){var d=w(c).$implicit,e=O(3);return y(e.issue.severity=e.toIssueSeverity(d.value))});R(1);H()}a&2&&(a=b.$implicit,z(1),Ef(a.displayText))},Mqb=function(a){a&1&&(G(0,"span"),R(1,"*"),H())},Nqb=function(a){a&
1&&(G(0,"span"),R(1,"*"),H())},Oqb=function(a){a&1&&(G(0,"span"),R(1,"*"),H())},Qqb=function(a){if(a&1){var b=v();G(0,"div",101)(1,"div",14)(2,"label",119);R(3," Parents ");Q(4,Oqb,2,0,"span",20);H()();G(5,"input",120);M("ngModelChange",function(c){w(b);var d=O(3);d.parentIssueIds=Pqb(d,c).map(ln);c=Mr(d.parentIssueIds);d.isParentIssueIdsValid=d.ISSUE_ID_LIST_PATTERN.test(c);return y()});H()()}a&2&&(a=O(3),z(4),F("ngIf",!a.isParentIssueIdsValid),z(1),F("ngModel",Mr(a.parentIssueIds)))},Rqb=function(a){a&
1&&(G(0,"span"),R(1,"*"),H())},Sqb=function(a){if(a&1){var b=v();G(0,"div",101)(1,"div",14)(2,"label",121);R(3," Children ");Q(4,Rqb,2,0,"span",20);H()();G(5,"input",122);M("ngModelChange",function(c){w(b);var d=O(3);d.childrenIssueIds=Pqb(d,c).map(ln);c=Mr(d.childrenIssueIds);d.isChildIssueIdsValid=d.ISSUE_ID_LIST_PATTERN.test(c);return y()});H()()}a&2&&(a=O(3),z(4),F("ngIf",!a.isChildIssueIdsValid),z(1),F("ngModel",Mr(a.childrenIssueIds)))},Tqb=function(a){if(a&1){var b=v();G(0,"div",101)(1,"div",
14)(2,"label",91);R(3," Issue access level ");H()();G(4,"b-issue-access-limits-dropdown",123);M("updatedAccessLimitLevel",function(c){w(b);var d=O(3);return y(d.onAccessLimitLevelSelected(c))});H()()}a&2&&(a=O(3),z(4),F("disabled",!1)("defaultAccessLimitLevel",a.selectedAccessLimitLevel)("implicitAccessEnabled",a.componentHasExpandedAccessEnabled))},Uqb=function(a){if(a&1){var b=v();G(0,"onedev-text-field",127);M("valueChange",function(d){w(b);var e=O(2).$implicit,g=O(3);return y(g.setCustomFieldValue(e,
d))});H()}if(a&2){a=O(2).$implicit;var c=O(3);zf("id","bv2-custom-field-",a.customFieldId,"");F("value",a.textValue);gf("required",c.isCustomFieldRequired(a))("aria-labelledby","bv2-custom-field-"+a.customFieldId+"-label")}},Vqb=function(a){if(a&1){var b=v();G(0,"onedev-numeric-field",127);M("valueChange",function(d){w(b);var e=O(2).$implicit,g=O(3);return y(g.setCustomFieldValue(e,d))});H()}if(a&2){a=O(2).$implicit;var c=O(3);zf("id","bv2-custom-field-",a.customFieldId,"");F("value",a.numericValue);
gf("required",c.isCustomFieldRequired(a))("aria-labelledby","bv2-custom-field-"+a.customFieldId+"-label")}},Wqb=function(a){if(a&1){var b=v();G(0,"div")(1,"bv2-input-date-picker",128);M("boundValueChange",function(d){w(b);var e=O(2).$implicit,g=O(3);return y(g.setCustomFieldValue(e,d))});H()()}if(a&2){a=O(2).$implicit;var c=O(3);z(1);Af("bv2AriaLabelledby","bv2-custom-field-"+a.customFieldId+"-label");F("boundValue",a.dateValue)("isRequired",c.isCustomFieldRequired(a))("bv2Id","bv2-custom-field-"+
a.customFieldId)}},Xqb=function(a){if(a&1){var b=v();G(0,"onedev-single-select",129);M("valueChange",function(d){w(b);var e=O(2).$implicit,g=O(3);return y(g.setCustomFieldValue(e,d))});H()}if(a&2){a=O(2).$implicit;var c=O(3);F("value",a.enumValue)("options",c.getCustomFieldAllowedValues(a))("includeEmptyOption",!0);gf("aria-labelledby","bv2-custom-field-"+a.customFieldId+"-label")}},Yqb=function(a,b){a&1&&(G(0,"div"),Q(1,Uqb,1,4,"onedev-text-field",125),Q(2,Vqb,1,4,"onedev-numeric-field",125),Q(3,
Wqb,2,4,"div",20),Q(4,Xqb,1,4,"onedev-single-select",126),H());a&2&&(a=b.ngIf,b=O(4),z(1),F("ngIf",a===b.FieldType.TEXT),z(1),F("ngIf",a===b.FieldType.NUMERIC),z(1),F("ngIf",a===b.FieldType.DATE),z(1),F("ngIf",a===b.FieldType.ENUM))},Zqb=function(a,b){if(a&1){var c=v();G(0,"div")(1,"b-list-field",130);M("valuesChange",function(e){w(c);var g=O().$implicit,h=O(3);return y(h.setCustomFieldValue(g,e.values))});H()()}if(a&2){a=b.ngIf;b=O().$implicit;var d=O(3);z(1);F("defaultLineCount",2)("type",a)("values",
d.getListFieldValues(b))("enumChoices",d.customFieldAllowedValuesMap[b.customFieldId]||null)("truncate",!0);gf("aria-labelledby","bv2-custom-field-"+b.customFieldId+"-label")}},arb=function(a,b){a&1&&(G(0,"div",101)(1,"div",14)(2,"label",124),R(3),H()(),Q(4,Yqb,5,4,"div",20),Q(5,Zqb,2,6,"div",20),H());if(a&2){a=b.$implicit;b=O(3);z(2);zf("id","bv2-custom-field-",a.customFieldId,"-label");var c=b.customFieldMap[a.customFieldId];Af("title",(c&&c.description?c.description:"Custom Field")+" [ID: "+a.customFieldId+
"]");F("ngClass",Jf(7,$qb,b.isCustomFieldRequired(a)));var d=(c=b.customFieldMap[a.customFieldId])?c.name:"";c&&b.canEditIssuesInComponent&&b.customFieldMap[a.customFieldId].required&&(d+=", required field");gf("aria-label",d);z(1);Df(" ",b.getCustomFieldName(a)," ");z(1);F("ngIf",b.getSingleEditFieldType(b.customFieldMap[a.customFieldId]));z(1);F("ngIf",b.getListFieldType(b.customFieldMap[a.customFieldId]))}},brb=function(a){if(a&1){var b=v();G(0,"mat-expansion-panel",93)(1,"mat-expansion-panel-header")(2,
"mat-panel-title")(3,"span",94);R(4,"Advanced fields (Required fields marked with");G(5,"span",95);R(6,"*");H();R(7,")");H()()();G(8,"div",96)(9,"div",97)(10,"div",14)(11,"label",98);R(12," Severity ");H()();G(13,"button",99);R(14);I(15,"b-icon",38);H();G(16,"mat-menu",39,100);Q(18,Lqb,2,1,"button",75);H()();G(19,"div",101)(20,"div",14)(21,"label",102);R(22," Found in ");H()();G(23,"input",103);M("ngModelChange",function(d){w(b);var e=O(2);return y(e.issue.foundInVersion=Hqb(d))});H()();G(24,"div",
104)(25,"div",14)(26,"label",105);R(27," In prod ");H()();G(28,"mat-slide-toggle",106);M("ngModelChange",function(d){w(b);var e=O(2);return y(e.issue.inProd=d)});H()();I(29,"div",57);G(30,"div",101)(31,"div",14)(32,"label",107);R(33," Reporter ");H()();G(34,"input",108);M("ngModelChange",function(d){w(b);var e=O(2);return y(e.reporterText=d)});H()();G(35,"div",101)(36,"div",14)(37,"label",109);R(38," Verifier ");H()();G(39,"input",110);M("ngModelChange",function(d){w(b);var e=O(2);return y(e.verifierText=
d)});H()();G(40,"div",101)(41,"div",14)(42,"label",111);R(43," Targeted to ");H()();G(44,"input",112);M("ngModelChange",function(d){w(b);var e=O(2);return y(e.issue.targetedToVersion=Hqb(d))});H()();I(45,"div",57);G(46,"div",101)(47,"div",14)(48,"label",113);R(49," Blocked by ");Q(50,Mqb,2,0,"span",20);H()();G(51,"input",114);M("ngModelChange",function(d){w(b);var e=O(2);e.issue.blockedByIssueId=Pqb(e,d);d=Mr(e.issue.blockedByIssueId);e.isBlockedByIssueIdValid=e.ISSUE_ID_LIST_PATTERN.test(d);return y()});
H()();G(52,"div",101)(53,"div",14)(54,"label",115);R(55," Blocking ");Q(56,Nqb,2,0,"span",20);H()();G(57,"input",116);M("ngModelChange",function(d){w(b);var e=O(2);e.issue.blockingIssueId=Pqb(e,d);d=Mr(e.issue.blockingIssueId);e.isBlockingIssueIdValid=e.ISSUE_ID_LIST_PATTERN.test(d);return y()});H()();Q(58,Qqb,6,2,"div",117);Q(59,Sqb,6,2,"div",117);Q(60,Tqb,5,3,"div",117);I(61,"div",57);Q(62,arb,6,9,"div",118);H()()}if(a&2){var c=Cf(17);a=O(2);z(13);F("matMenuTriggerFor",c);gf("aria-label","Severity"+
(a.issue.severity?", "+a.issue.severity:""));z(1);Ef(a.issue.severity);z(2);F("overlapTrigger",!0);z(2);F("ngForOf",a.severityChoices);z(5);F("ngModel",Mr(a.originalIssueCopy.foundInVersion));z(5);F("ngModel",a.issue.inProd);z(6);F("ngModel",a.reporterText)("bContactAutocomplete","SINGLE");z(5);F("ngModel",a.verifierText)("bContactAutocomplete","SINGLE");z(5);F("ngModel",Mr(a.originalIssueCopy.targetedToVersion));z(6);F("ngIf",!a.isBlockedByIssueIdValid);z(1);F("ngModel",Mr(a.issue.blockedByIssueId));
z(5);F("ngIf",!a.isBlockingIssueIdValid);z(1);F("ngModel",Mr(a.issue.blockingIssueId));z(1);F("ngIf",!a.sessionIsExternal);z(1);F("ngIf",!a.sessionIsExternal);z(1);F("ngIf",!xp(a.selectedComponent));z(2);F("ngForOf",a.issue.customField)}},crb=function(a){a&1&&(G(0,"div",25),I(1,"b-icon",26),G(2,"span"),R(3),H(),G(4,"a",27),R(5,"View access settings"),H()());a&2&&(a=O(2),F("ngClass",Kf(5,dqb,eqb(a),fqb(a))),z(1),F("name","alert")("size","small"),z(2),Df("",gqb(a),"\u00a0"),z(1),F("href",a.selectedComponent?
a.paths.manageComponent(a.selectedComponent.componentId,"access"):"",Md))},drb=function(a){if(a&1){var b=v();G(0,"div",131)(1,"b-recaptcha",132);M("onUpdate",function(c){w(b);var d=O(2);return y(d.recaptchaResponse=c)});H()()}},irb=function(a){if(a&1){var b=v();G(0,"div");Q(1,zqb,5,3,"div",45);G(2,"div",12)(3,"div",13)(4,"div",14)(5,"label",46);R(6,"Title");H()();G(7,"div",47)(8,"input",48);M("ngModelChange",function(c){w(b);var d=O();return y(d.setTitle(c))});H()()();Q(9,Bqb,12,5,"div",18);Q(10,
Eqb,14,9,"div",18);H();J(11);G(12,"div",12);Q(13,Fqb,6,2,"div",49);Q(14,Iqb,8,5,"div",50);H();G(15,"div",12);Q(16,Jqb,6,2,"div",51);H();L();G(17,"div",52)(18,"div",12)(19,"div",13)(20,"div",14)(21,"label",53);R(22,"Description");H()();G(23,"b-comment-box",54);M("commentChange",function(c){w(b);var d=O();return y(d.comment=c)})("onChange",function(){w(b);var c=O();return y(c.saveCommentDraft())})("onSubmit",function(c){w(b);var d=O();return y(erb(d,!c))})("onRestrict",function(){w(b);var c=O();return y(c.showNewContentJudgementDialog())});
G(24,"b-markdown-toggle",55);M("change",function(c){w(b);var d=O();return y(d.comment.formattingMode=c)});H()()()();Q(25,Kqb,6,3,"div",56);I(26,"div",57);G(27,"div",58);Q(28,brb,63,20,"mat-expansion-panel",59);H();Q(29,crb,6,8,"div",9);Q(30,drb,2,0,"div",60);G(31,"div",61)(32,"b-button",62);M("onAction",function(){w(b);var c=O();return y(erb(c,!0))});R(33," Create ");H();G(34,"b-button",63);M("onAction",function(){w(b);var c=O();return y(erb(c,!1))});R(35," Create & Start Another ");H();G(36,"b-button",
64);M("onAction",function(){w(b);var c=O();c.draftStore.$window.sessionStorage.removeItem(an("0"));frb(c.reloadService);return y()});R(37," Discard ");H()()()()}a&2&&(a=O(),z(1),F("ngIf",a.selectedComponent),z(7),F("ngModel",a.issue.title)("bFocus",a.newIssueStarted),z(1),F("ngIf",a.canEditIssuesInComponent),z(1),F("ngIf",a.canEditIssuesInComponent),z(3),F("ngIf",a.canEditIssuesInComponent),z(1),F("ngIf",a.canEditIssuesInComponent),z(2),F("ngIf",a.canEditIssuesInComponent),z(7),F("supportsPreview",
!0)("comment",a.comment)("disabled",a.isSaving)("judgementForNewContent",a.judgementForNewContent)("componentId",null==a.selectedComponent?null:a.selectedComponent.componentId)("placeholder",a.piiWarningMessage)("idForAriaLabel",a.descriptionBoxId)("audience",a.audience)("showRestrictionOptions",a.canEditIssuesInComponent)("ngClass",Jf(26,grb,pqb(a.comment))),z(1),F("initialValue",a.comment.formattingMode),z(1),F("ngIf",a.canEditIssuesInComponent&&!!xp(a.selectedComponent)),z(3),F("ngIf",a.canEditIssuesInComponent),
z(1),F("ngIf",eqb(a)||fqb(a)),z(1),F("ngIf",a.enableRecaptcha),z(2),F("disabled",hrb(a)),z(2),F("disabled",hrb(a)),z(2),F("disabled",hrb(a)))},jrb=function(a,b){a&1&&(G(0,"h2",133),R(1,"This component has a default description"),H(),G(2,"mat-dialog-content"),R(3," You have already entered a description, but the component you chose has a default description: "),G(4,"div",134),R(5),H()(),G(6,"mat-dialog-actions")(7,"button",135),R(8,"Use component description"),H(),G(9,"button",136),R(10,"Keep my description"),
H()());a&2&&(a=b.$implicit,z(5),Ef(a),z(2),F("mat-dialog-close",!0))},krb=function(a,b){b.assigneeText=ai(a.assigneeUser);b.reporterText=ai(a.reporterUser);b.verifierText=ai(a.verifierUser);b.collaboratorsText=bi(a.collaboratorsUsers);b.ccsText=bi(a.ccUsers)},mrb=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=ii(a.assigneeText));null!=a.reporterText&&(b.reporterUser=ii(a.reporterText));
null!=a.verifierText&&(b.verifierUser=ii(a.verifierText));a.collaboratorsText&&(c=lrb(a.collaboratorsText),c.length?b.collaboratorsUsers=c:b.collaboratorsUsers=void 0);a.ccsText&&(a=lrb(a.ccsText),a.length?b.ccUsers=a:b.ccUsers=void 0)},lrb=function(a){var b=[];a=k(a);for(var c=a.next();!c.done;c=a.next())(c=ii(c.value))&&b.push(c);return b},orb=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=nrb[d];"customField"===d||Mh(e,g)||(Array.isArray(e)?a[d]?
(e=lqa([].concat(Vc(e),Vc(a[d]))),a[d]=e):a[d]=e:""!==e&&(a[d]=e))}},prb=function(a){a=Object.assign({},a);return delete a.hotlistId,a},qrb=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},rrb=function(a){if(a&1){var b=v();G(0,"b-star-toggle",12);M("starClicked",function(){w(b);var c=O(2);return y(c.toggleStar())});H()}a&2&&(a=O(2),F("starMessage","Star this bookmark group")("unStarMessage",
"Un-star this bookmark group")("starred",a.isStarred))},srb=function(a){a&1&&I(0,"b-star-toggle",13);a&2&&F("starMessage","You are an admin of this bookmark group, and cannot star/unstar it.")("unStarMessage","You are an admin of this bookmark group, and cannot star/unstar it.")("starred",!0)("disabled",!0)},trb=function(a){if(a&1){var b=v();G(0,"div")(1,"div",7);Q(2,rrb,1,3,"b-star-toggle",8);Q(3,srb,1,4,"b-star-toggle",9);G(4,"span",10);R(5);G(6,"span")(7,"button",11);M("click",function(){w(b);
var c=O();return y(c.editBookmarkGroup())});H()()()()()}a&2&&(a=O(),z(2),F("ngIf",!a.isAdmin),z(1),F("ngIf",a.isAdmin),z(2),Df("",a.bookmarkGroup.name," "))},wrb=function(a){if(a&1){var b=v();G(0,"b-saved-search-panel",17);M("focusedRowIndexChange",function(g){w(b);var h=O().$implicit,l=O();return y(urb(l,h,g))})("selectionChange",function(g){w(b);var h=O(2);return y(vrb(h,g))})("resultsLoaded",function(g){w(b);var h=O(2);return y(h.loadHotlists(g))});H()}if(a&2){var c=O();a=c.$implicit;var d=c.first;
c=c.last;var e=O();F("panel",a)("isDashboardEditable",e.isAdmin)("focusedRowIndex",a.focusedRowIndex)("savedSearchId",a.resourceId)("first",d)("last",c)}},xrb=function(a){if(a&1){var b=v();G(0,"b-hotlist-panel",18);M("focusedRowIndexChange",function(g){w(b);var h=O().$implicit,l=O();return y(urb(l,h,g))})("selectionChange",function(g){w(b);var h=O(2);return y(vrb(h,g))})("resultsLoaded",function(g){w(b);var h=O(2);return y(h.loadHotlists(g))});H()}if(a&2){var c=O();a=c.$implicit;var d=c.first;c=c.last;
var e=O();F("panel",a)("isDashboardEditable",e.isAdmin)("focusedRowIndex",a.focusedRowIndex)("hotlistId",a.resourceId)("first",d)("last",c)}},yrb=function(a,b){a&1&&(G(0,"div",14),Q(1,wrb,1,6,"b-saved-search-panel",15),Q(2,xrb,1,6,"b-hotlist-panel",16),H());a&2&&(F("ngSwitch",b.$implicit.type),z(1),F("ngSwitchCase","SAVED_SEARCH"),z(1),F("ngSwitchCase","HOTLIST"))},zrb=function(a){if(a&1){var b=v();G(0,"button",8);M("click",function(){w(b);var c=O();return y(c.archive())});R(1," Archive bookmark group ");
H()}a&2&&(a=O(),F("disabled",a.hasUnsavedChanges()||a.isSaving()))},Arb=function(a){if(a&1){var b=v();G(0,"button",8);M("click",function(){w(b);var c=O();return y(c.unarchive())});R(1," Unarchive bookmark group ");H()}a&2&&(a=O(),F("disabled",a.hasUnsavedChanges()||a.isSaving()))},Brb=function(a){a&1&&(G(0,"span",32),R(1," (archived) "),H())},Drb=function(a,b){if(a&1){var c=v();G(0,"div")(1,"b-hotlist-chip-smart",48);M("removeHotlist",function(){var d=w(c).ngIf,e=O(4);return y(Crb(e,d))});H()()}a&
2&&(a=b.ngIf,z(1),F("id",a))},Frb=function(a,b){if(a&1){var c=v();G(0,"div",49)(1,"a",50);R(2);H();G(3,"span",51);M("click",function(){var e=w(c).ngIf,g=O(4);return y(Erb(g,e))})("keydown.enter",function(){var e=w(c).ngIf,g=O(4);return y(Erb(g,e))})("keydown.space",function(){var e=w(c).ngIf,g=O(4);return y(Erb(g,e))});R(4," \u00d7 ");H()()}if(a&2){a=b.ngIf;b=O().$implicit;var d=O(3);z(1);F("href",d.paths.viewSavedSearch(a),Md)("matTooltip","Go to saved search: "+d.getDisplayName(b));z(1);Df(" S: ",
d.getDisplayName(b)," ");z(1);F("matTooltip","Remove item: "+d.getDisplayName(b));gf("aria-label","Remove item: "+d.getDisplayName(b))}},Grb=function(a){a&1&&(G(0,"span",52),R(1,"<None>"),H())},Hrb=function(a,b){a&1&&(G(0,"div",45),Q(1,Drb,2,1,"div",7),Q(2,Frb,5,5,"div",46),Q(3,Grb,2,0,"span",47),H());if(a&2){a=b.$implicit;b=O(3);z(1);var c;var d="HOTLIST"===a.resourceType?null==(c=a.hotlistId)?void 0:c.toString():void 0;F("ngIf",d);z(1);F("ngIf","SAVED_SEARCH"===a.resourceType?a.savedSearchId:void 0);
z(1);F("ngIf",!(null==b.bookmarkGroupUnderEdit.item?0:b.bookmarkGroupUnderEdit.item.length))}},Jrb=function(a,b){if(a&1){var c=v();G(0,"button",61);M("click",function(){var d=w(c).$implicit,e=O(5);return y(Irb(e,d))});R(1);H()}a&2&&(a=b.$implicit,z(1),Df("",a.name," "))},Krb=function(a){a&1&&Q(0,Jrb,2,1,"button",60);a&2&&(a=O(4),F("ngForOf",a.savedSearchChoices))},Lrb=function(a){a&1&&(G(0,"div",53)(1,"label",54),R(2,"Add from saved searches:"),H(),G(3,"button",55)(4,"span",56),R(5,"Select"),H(),
I(6,"mat-icon",57),H(),G(7,"mat-menu",null,58),Q(9,Krb,1,1,"ng-template",59),H()());if(a&2){var b=Cf(8);z(3);F("matMenuTriggerFor",b)}},Qrb=function(a){if(a&1){var b=v();J(0);G(1,"div",30)(2,"label",33)(3,"span",18);R(4,"Selected items");H()();G(5,"div",34,35);Q(7,Hrb,4,3,"div",36);H()();G(8,"div",37)(9,"div",38)(10,"label",39);R(11,"Add hotlist from favorites:");H();G(12,"b-hotlist-picker",40);M("onApply",function(c){w(b);var d=O(2);return y(Mrb(d,c))})("onCreate",function(c){w(b);var d=O(2);return y(Nrb(d,
c))})("onLoad",function(c){w(b);var d=O(2);return y(Orb(d,c))});H()();G(13,"div",41)(14,"label",42);R(15,"Add hotlist by query:");H();G(16,"b-hotlist-search",43);M("itemSelect",function(c){w(b);var d=O(2);"hotlistId"in c&&!d.selectedHotlistIds[0].includes(c.hotlistId)&&(Prb(d,c.hotlistId),d.bookmarkGroupUnderEdit.item.push({name:c.name,resourceType:"HOTLIST",hotlistId:c.hotlistId}));return y()});H()();Q(17,Lrb,10,1,"div",44);H();L()}a&2&&(a=O(2),z(7),F("ngForOf",a.bookmarkGroupUnderEdit.item),z(5),
F("selectedHotlistIds",a.selectedHotlistIds)("choices",a.userHotlists)("checkEditAcl",!1),z(4),F("showGroups",!1)("allowStarring",!1),z(1),F("ngIf",0<a.savedSearchChoices.length))},Srb=function(a){a&1&&(G(0,"span"),R(1),G(2,"a",65),R(3),H()());if(a&2){a=O().$implicit;var b=O(3);z(1);Df(" Hotlist ",a.hotlistId,": ");z(1);F("href",Rrb(b,a),Md);z(1);Df(" ",a.name||"(name not available)"," ")}},Trb=function(a){a&1&&(G(0,"span"),R(1),G(2,"a",65),R(3),H()());if(a&2){a=O().$implicit;var b=O(3);z(1);Df(" Saved search ",
a.savedSearchId,": ");z(1);F("href",Rrb(b,a),Md);z(1);Df(" ",a.name||"(name not available)"," ")}},Urb=function(a,b){a&1&&(G(0,"li"),Q(1,Srb,4,3,"span",7),Q(2,Trb,4,3,"span",7),H());a&2&&(a=b.$implicit,z(1),F("ngIf","HOTLIST"===a.resourceType),z(1),F("ngIf","SAVED_SEARCH"===a.resourceType))},Vrb=function(a){a&1&&(G(0,"div",62)(1,"label")(2,"span",18),R(3,"Items"),H()(),G(4,"div",63)(5,"ul"),Q(6,Urb,3,2,"li",64),H()()());a&2&&(a=O(2),z(6),F("ngForOf",a.bookmarkGroup.item))},Wrb=function(a){if(a&1){var b=
v();G(0,"div",66)(1,"button",67);M("click",function(){w(b);var c=O(2);return y(c.saveMetadata())});R(2," Update ");H();G(3,"button",68);M("click",function(){w(b);var c=O(2);return y(c.revertMetadataChanges())});R(4," Revert changes ");H()()}a&2&&(a=O(2),z(1),F("disabled",!a.hasUnsavedMetadataChanges()||a.isSaving()))},Xrb=function(a){if(a&1){var b=v();G(0,"div",66)(1,"button",67);M("click",function(){w(b);var c=O(2);return y(c.saveAccessPolicy())});R(2," Update ");H();G(3,"button",68);M("click",function(){w(b);
var c=O(2);return y(c.revertAccessPolicyChanges())});R(4," Revert changes ");H()()}a&2&&(a=O(2),z(1),F("disabled",!a.hasUnsavedAccessPolicyChanges()||a.isSaving()||!a.isAdminsFieldValid||!a.isReaderFieldValid))},asb=function(a){if(a&1){var b=v();J(0);G(1,"div",9)(2,"h2");R(3);H();Q(4,Brb,2,0,"span",10);G(5,"a",11);R(6," (View Dashboard)");H()();G(7,"mat-tab-group",12);M("selectedIndexChange",function(d){w(b);var e=O();return y(e.selectedTabIndex=d)})("selectedIndexChange",function(d){w(b);var e=O();
return y(e.tabChange(d))});G(8,"mat-tab",13)(9,"div",14);I(10,"b-error-banner",15);G(11,"div",16)(12,"label",17)(13,"span",18);R(14,"Name");H()();G(15,"input",19,20);M("ngModelChange",function(d){w(b);var e=O();return y(e.bookmarkGroupUnderEdit.name=d)});H()();G(17,"div",16)(18,"label",21)(19,"span",18);R(20,"Description");H()();G(21,"textarea",22);M("ngModelChange",function(d){w(b);var e=O();return y(e.bookmarkGroupUnderEdit.description=d)});H()();Q(22,Qrb,18,7,"ng-container",23);Q(23,Vrb,7,1,"ng-template",
null,24,Zf);Q(25,Wrb,5,1,"div",25);H()();G(26,"mat-tab",26)(27,"div",14)(28,"div",16)(29,"label")(30,"span",18);R(31,"Admins");H();G(32,"p",27);R(33," Edit access controls, edit name and description, reorder items, add/remove items ");H()();G(34,"b-multi-user-input",28);M("usersChange",function(d){w(b);var e=O();return y(e.accessPolicyUnderEdit.admins=d)})("isValid",function(d){w(b);var e=O();return y(e.isAdminsFieldValid=d)});H()();G(35,"div",16)(36,"label")(37,"span",18);R(38,"View only");H();G(39,
"p",27);R(40," View the bookmark group ");H();G(41,"b-multi-user-input",29);M("usersChange",function(d){w(b);var e=O();return y(e.accessPolicyUnderEdit.readers=d)})("isValid",function(d){w(b);var e=O();return y(e.isReaderFieldValid=d)});H()()();G(42,"div",30);R(43," See ");G(44,"a",31);R(45,"access control documentation");H();R(46," for an explanation of the settings. ");H();Q(47,Xrb,5,1,"div",25);H()()();L()}if(a&2){var c=Cf(24);a=O();z(3);Ff(" Bookmark group ",a.bookmarkGroup.bookmarkGroupId,": ",
a.bookmarkGroup.name," ");z(1);F("ngIf",a.isArchived());z(1);F("href",a.paths.dashboard(a.bookmarkGroup.bookmarkGroupId),Md);z(2);F("selectedIndex",a.selectedTabIndex);z(3);F("error",a.error);z(1);F("ngClass",Jf(28,Yrb,a.isEditDisabled()));z(4);F("ngModel",a.bookmarkGroupUnderEdit.name)("disabled",a.isEditDisabled());z(2);F("ngClass",Jf(30,Yrb,a.isEditDisabled()));z(4);F("ngModel",a.bookmarkGroupUnderEdit.description)("disabled",a.isEditDisabled());z(1);F("ngIf",a.isAdmin)("ngIfElse",c);z(3);F("ngIf",
a.isAdmin);z(3);F("ngClass",Jf(32,Yrb,a.isEditDisabled()));z(6);qf("disabled",a.isEditDisabled());F("users",a.accessPolicyUnderEdit.admins);z(1);F("ngClass",Jf(34,Yrb,a.isEditDisabled()));z(6);qf("disabled",a.isEditDisabled());F("users",a.accessPolicyUnderEdit.readers)("includeAliases",!0)("includeViewAliases",!0)("containerChips",Jf(38,Zrb,Jf(36,$rb,a.accessPolicyUnderEdit.admins)));z(3);F("href",In(a.documentationLinks)+"#bookmark-groups",Md);z(3);F("ngIf",a.isAdmin)}},bsb=function(a){if(a&1){var b=
v();G(0,"button",8);M("click",function(){w(b);var c=O();return y(c.delete())});R(1," Delete saved search ");H()}a&2&&(a=O(),F("disabled",a.hasUnsavedChanges()||a.isSaving()))},csb=function(a){a&1&&(J(0),G(1,"div",9)(2,"h2"),R(3," Saved search not found "),H()(),L())},dsb=function(a){if(a&1){var b=v();G(0,"div",34)(1,"button",35);M("click",function(){w(b);var c=O(2);return y(c.saveMetadata())});R(2," Update ");H();G(3,"button",36);M("click",function(){w(b);var c=O(2);return y(c.revertMetadataChanges())});
R(4," Revert changes ");H()()}a&2&&(a=O(2),z(1),F("disabled",!a.hasUnsavedMetadataChanges()||a.isSaving()))},esb=function(a){if(a&1){var b=v();G(0,"div",34)(1,"button",35);M("click",function(){w(b);var c=O(2);return y(c.saveAccessPolicy())});R(2," Update ");H();G(3,"button",36);M("click",function(){w(b);var c=O(2);return y(c.revertAccessPolicyChanges())});R(4," Revert changes ");H()()}a&2&&(a=O(2),z(1),F("disabled",!a.hasUnsavedAccessPolicyChanges()||a.isSaving()||!a.isAdminsFieldValid||!a.isReaderFieldValid))},
isb=function(a){if(a&1){var b=v();J(0);G(1,"div",9)(2,"h2");R(3);H();G(4,"a",10);R(5," (View Issues)");H()();G(6,"mat-tab-group",11);M("selectedIndexChange",function(c){w(b);var d=O();return y(d.selectedTabIndex=c)})("selectedIndexChange",function(c){w(b);var d=O();return y(d.tabChange(c))});G(7,"mat-tab",12)(8,"div",13);I(9,"b-error-banner",14);G(10,"div",15)(11,"label",16)(12,"span",17);R(13,"Name");H()();G(14,"input",18,19);M("ngModelChange",function(c){w(b);var d=O();return y(d.savedSearchUnderEdit.name=
c)});H()();G(16,"div",15)(17,"label",20)(18,"span",17);R(19,"Description");H()();G(20,"textarea",21);M("ngModelChange",function(c){w(b);var d=O();return y(d.savedSearchUnderEdit.description=c)});R(21,"            ");H()();G(22,"div",22)(23,"label",23)(24,"span",17);R(25,"Query");H();G(26,"p",24);R(27," To modify query and display preferences, run the saved search and modify its parameters ");H();G(28,"div",25);R(29);H()()();Q(30,dsb,5,1,"div",26);H()();G(31,"mat-tab",27)(32,"div",13)(33,"div",15)(34,
"label",28)(35,"span",17);R(36,"Admins");H();G(37,"p",24);R(38," Edit access controls, edit name and description, edit query ");H()();G(39,"b-multi-user-input",29);M("usersChange",function(c){w(b);var d=O();return y(d.accessPolicyUnderEdit.admins=c)})("isValid",function(c){w(b);var d=O();return y(d.isAdminsFieldValid=c)});H()();G(40,"div",15)(41,"label",30)(42,"span",17);R(43,"View and execute search");H()();G(44,"b-multi-user-input",31);M("usersChange",function(c){w(b);var d=O();return y(d.accessPolicyUnderEdit.readers=
c)})("isValid",function(c){w(b);var d=O();return y(d.isReaderFieldValid=c)});H()();G(45,"div",32);R(46," See ");G(47,"a",33);R(48,"access control documentation");H();R(49," for an explanation of the settings. ");H();Q(50,esb,5,1,"div",26);H()()();L()}a&2&&(a=O(),z(3),Ff(" Saved search ",a.savedSearch.searchId,": ",a.savedSearch.name," "),z(1),F("href",a.paths.viewSavedSearch(a.savedSearch.searchId),Md),z(2),F("selectedIndex",a.selectedTabIndex),z(3),F("error",a.error),z(1),F("ngClass",Jf(26,fsb,a.isEditDisabled())),
z(4),F("ngModel",a.savedSearchUnderEdit.name)("disabled",a.isEditDisabled()),z(2),F("ngClass",Jf(28,fsb,a.isEditDisabled())),z(4),F("ngModel",a.savedSearchUnderEdit.description)("disabled",a.isEditDisabled()),z(9),Df(" ",a.savedSearch.query," "),z(1),F("ngIf",a.isAdmin),z(3),F("ngClass",Jf(30,fsb,a.isEditDisabled())),z(6),qf("disabled",a.isEditDisabled()),F("users",a.accessPolicyUnderEdit.admins),z(1),F("ngClass",Jf(32,fsb,a.isEditDisabled())),z(4),qf("disabled",a.isEditDisabled()),F("users",a.accessPolicyUnderEdit.readers)("includeAliases",
!0)("includeViewAliases",!0)("containerChips",Jf(36,gsb,Jf(34,hsb,a.accessPolicyUnderEdit.admins))),z(3),F("href",In(a.documentationLinks)+"#saved-searches",Md),z(3),F("ngIf",a.isAdmin))},jsb=function(a){a&1&&(G(0,"div",7),I(1,"b-spinner"),H())},ksb=function(a){if(a&1){var b=v();G(0,"div",39)(1,"span",40)(2,"mat-checkbox",41);M("change",function(c){w(b);var d=O(2);return y(d.alertState.setValue(c.checked))});H()();G(3,"div")(4,"strong",42);R(5,"SLO Notifications");H();G(6,"div",43);R(7," When checked, admins will be notified when any component that would be automatically assigned this SLO overrides their SLO settings. ");
H()()()}a&2&&(a=O(2),qf("bv2-edit-resource-readonly",a.isEditDisabled()),z(2),F("checked",a.alertState.getValue())("disabled",a.isEditDisabled()))},lsb=function(a){a&1&&(G(0,"div",44),R(1," Action is required to keep your SLO definitions in Buganizer and BugScope in sync. "),G(2,"a",45),R(3," Learn more "),H()())},nsb=function(a){if(a&1){var b=v();G(0,"b-button",50);M("onAction",function(){w(b);var c=O(3);return y(msb(c,!0))});R(1," Archive ");H()}a&2&&(a=O(3),F("disabled",a.hasUnsavedMetadataChanges()||
a.isSaving()))},osb=function(a){if(a&1){var b=v();G(0,"b-button",51);M("onAction",function(){w(b);var c=O(3);return y(msb(c,!1))});R(1," Unarchive ");H()}a&2&&(a=O(3),F("disabled",a.hasUnsavedMetadataChanges()||a.isSaving()))},psb=function(a){if(a&1){var b=v();G(0,"div",26)(1,"b-button",46);M("onAction",function(){w(b);var d=O(2);return y(d.saveMetadata())});R(2," Update ");H();G(3,"b-button",47);M("onAction",function(){w(b);var d=O(2);return y(d.revertMetadataChanges())});R(4," Revert changes ");
H();Q(5,nsb,2,1,"b-button",48);Q(6,osb,2,1,"b-button",49);H()}if(a&2){O();var c=Cf(9);a=O();z(1);F("disabled",!a.hasUnsavedMetadataChanges()||a.isSaving()||!a.elementPickerIsValid||!!c.pending||!!c.invalid);z(2);F("disabled",!a.hasUnsavedMetadataChanges()||a.isSaving()||!!c.pending||!!c.invalid);z(2);F("ngIf",a.slo&&!a.slo.isArchived);z(1);F("ngIf",a.slo&&a.slo.isArchived)}},qsb=function(a){if(a&1){var b=v();G(0,"div",25)(1,"b-button",52);M("onAction",function(){w(b);var c=O(2);return y(c.saveAccessPolicy())});
R(2," Update ");H();G(3,"b-button",53);M("onAction",function(){w(b);var c=O(2);return y(c.revertAccessPolicyChanges())});R(4," Revert changes ");H()()}a&2&&(a=O(2),z(1),F("disabled",!a.hasUnsavedAccessPolicyChanges()||a.isSaving()||a.isInvalid()))},rsb=function(a){if(a&1){var b=v();G(0,"div")(1,"div",8)(2,"h2")(3,"span",9);R(4);H()()();G(5,"mat-tab-group",10);M("selectedIndexChange",function(c){w(b);var d=O();return y(d.selectedTabIndex=c)})("selectedIndexChange",function(c){w(b);var d=O();return y(d.tabChange(c))});
G(6,"mat-tab",11)(7,"div",12)(8,"form",13,14)(10,"div",15)(11,"label",16)(12,"span",17);R(13,"Name");H()();G(14,"input",18);M("ngModelChange",function(c){w(b);var d=O();return y(d.editableCopy.name=c)});H()();G(15,"div",15)(16,"label",19)(17,"span",17);R(18,"Description");H()();G(19,"textarea",20);M("ngModelChange",function(c){w(b);var d=O();return y(d.editableCopy.description=c)});R(20,"              ");H()();Q(21,ksb,8,4,"div",21);H();Q(22,lsb,4,0,"div",22);G(23,"div",15)(24,"slo-elements-picker",
23);M("onCollectionUpdate",function(c){w(b);var d=O();return y(d.updateCollection(c))})("onValidation",function(c){w(b);var d=O();return y(d.elementPickerIsValid=c)});H()();G(25,"div",24)(26,"div",25)(27,"div",26)(28,"b-button",27);M("onAction",function(){w(b);var c=O();return y(c.showUpdateHistoryModal())});R(29," View history ");H()()();G(30,"div",25);Q(31,psb,7,4,"div",28);H()()()();G(32,"mat-tab",29)(33,"div",30)(34,"form",31)(35,"div",15)(36,"label",32)(37,"span",17);R(38,"Admins");H();G(39,
"p",33);R(40," Edit name, description and metrics ");H()();G(41,"b-multi-user-input",34);M("usersChange",function(c){w(b);var d=O();return y(d.editableAccessPolicy.admins=c)})("isValid",function(c){w(b);var d=O();return y(d.validity.admins=c)});H()();G(42,"div",15)(43,"label",35)(44,"span",17);R(45,"Readers");H();G(46,"p",33);R(47," View the SLO definition (this is not required to see an issue's SLO status) ");H()();G(48,"b-multi-user-input",36);M("usersChange",function(c){w(b);var d=O();return y(d.editableAccessPolicy.readers=
c)})("isValid",function(c){w(b);var d=O();return y(d.validity.readers=c)});H()()();G(49,"div",15);R(50," See ");G(51,"a",37);R(52,"access control documentation");H();R(53," for an explanation of the settings. ");H();Q(54,qsb,5,1,"div",38);H()()()()}a&2&&(a=O(),z(4),Ff(" SLO ",a.slo.sloId,": ",a.slo.name," "),z(1),F("selectedIndex",a.selectedTabIndex),z(5),qf("bv2-edit-resource-readonly",a.isEditDisabled()),z(4),F("required",!0)("ngModel",a.editableCopy.name)("disabled",a.isEditDisabled()),z(1),qf("bv2-edit-resource-readonly",
a.isEditDisabled()),z(4),F("ngModel",a.editableCopy.description)("disabled",a.isEditDisabled()),z(2),F("ngIf",a.isImportedFromBugScope||a.alertState.getSavedValue()),z(1),F("ngIf",a.isUneditedFromBugScope&&a.isAdmin()),z(1),qf("bv2-edit-resource-readonly",a.isEditDisabled()),z(1),F("isDisabled",a.isEditDisabled())("collection",a.editableCopy.elements),z(7),F("ngIf",a.isAdmin()),z(4),qf("bv2-edit-resource-readonly",a.isEditDisabled()),z(6),F("users",a.editableAccessPolicy.admins),gf("disabled",a.isEditDisabled()?
!0:null),z(1),qf("bv2-edit-resource-readonly",a.isEditDisabled()),z(6),F("users",a.editableAccessPolicy.readers)("includeAliases",!0)("includeViewAliases",!0),gf("disabled",a.isEditDisabled()?!0:null),z(3),zf("href","",In(a.documentationLinks),"#slos",Md),z(3),F("ngIf",a.isAdmin()))},ssb=function(a){if(a&1){var b=v();G(0,"div",5);I(1,"img",6)(2,"img",7);G(3,"p",8);R(4," This issue is not blocking anything \u00a0\ud83e\udd73 ");H();G(5,"p",9);R(6,' If this issue blocked another, it would mean that it should be resolved first, and it would show up in the "Blockers" list for that issue. ');
G(7,"a",10);R(8,"Learn more");H()();G(9,"button",11);M("click",function(){w(b);var c=O(2);return y(c.onClickAdd())});R(10," Add ");H()()}a&2&&(a=O(2),z(1),F("src",a.TEA_LIGHT,Md),z(1),F("src",a.TEA_DARK,Md))},tsb=function(a,b){a&1&&I(0,"b-issues-table",18);a&2&&(a=b.ngIf,b=O(6),F("issueIds",a)("menuItemFactory",b.getMenuItems))},usb=function(a){a&1&&(J(0),Q(1,tsb,1,2,"b-issues-table",17),S(2,"async"),L());a&2&&(a=O(5),z(1),F("ngIf",T(2,1,a.blockedAndOpenIds$)))},vsb=function(a){a&1&&(G(0,"p",19),
R(1,"Not blocking any open issues \ud83e\udd73"),H())},wsb=function(a,b){a&1&&(J(0),G(1,"h4",15),R(2),H(),Q(3,usb,3,3,"ng-container",12),Q(4,vsb,2,0,"ng-template",null,16,Zf),L());if(a&2){a=b.$implicit;var c=Cf(5);z(2);Df("Open (",a.length,")");z(1);F("ngIf",0<a.length)("ngIfElse",c)}},xsb=function(a,b){a&1&&I(0,"b-issues-table",18);a&2&&(a=b.ngIf,b=O(6),F("issueIds",a)("menuItemFactory",b.getMenuItems))},ysb=function(a){a&1&&(J(0),G(1,"h4",15),R(2),H(),Q(3,xsb,1,2,"b-issues-table",17),S(4,"async"),
L());if(a&2){a=O().$implicit;var b=O(4);z(2);Df("Closed (",a.length,")");z(1);F("ngIf",T(4,2,b.blockedAndClosedIds$))}},zsb=function(a,b){a&1&&(J(0),Q(1,ysb,5,4,"ng-container",1),L());a&2&&(a=b.$implicit,z(1),F("ngIf",0<a.length))},Asb=function(a){a&1&&(J(0),Q(1,wsb,6,3,"ng-container",1),S(2,"async"),Q(3,zsb,2,1,"ng-container",1),S(4,"async"),L());a&2&&(a=O(3),z(1),F("ngIf",T(2,2,a.blockedAndOpen$)),z(2),F("ngIf",T(4,4,a.blockedAndClosed$)))},Bsb=function(a,b){a&1&&(G(0,"li")(1,"a",22)(2,"span",9),
R(3),H(),G(4,"aside",23),I(5,"button",24),H()()());a&2&&(a=b.$implicit,z(1),zf("routerLink","/issues/",a,""),jf("aria-label","Issue ",a,""),z(2),Df("b/",a,""))},Csb=function(a){a&1&&(G(0,"h4",15),R(1,"Loading..."),H(),G(2,"ol",20),Q(3,Bsb,6,3,"li",21),H());a&2&&(a=O(2).$implicit,z(3),F("ngForOf",a))},Dsb=function(a,b){a&1&&(J(0),G(1,"a",25),R(2," View as search results "),H(),L());a&2&&(a=b.ngIf,z(1),F("routerLink",a.path)("queryParams",a.params))},Esb=function(a){if(a&1){var b=v();Q(0,Asb,5,6,"ng-container",
12);S(1,"async");Q(2,Csb,4,1,"ng-template",null,13,Zf);G(4,"aside",14)(5,"button",11);M("click",function(){w(b);var d=O(2);return y(d.onClickAdd())});R(6," Add ");H();Q(7,Dsb,3,2,"ng-container",1);S(8,"async");H()}if(a&2){var c=Cf(3);a=O(2);F("ngIf",T(1,3,a.issuesBeingBlocked$))("ngIfElse",c);z(7);F("ngIf",T(8,5,a.searchUrl$))}},Fsb=function(a,b){a&1&&(J(0),Q(1,ssb,11,2,"div",3),Q(2,Esb,9,7,"ng-template",null,4,Zf),L());if(a&2){a=b.$implicit;var c=Cf(3);z(1);F("ngIf",0===a.length)("ngIfElse",c)}},
Gsb=function(a){a&1&&(G(0,"aside",26),I(1,"b-spinner"),H())},Hsb=function(a,b){if(a&&a.length)return a.map(b)},Isb=function(a){return{filename:a.getFilename(),lineNumber:Fh(a,2),changeNumber:gj(a,3)}},Jsb=function(a){return{packageName:a.getPackageName(),fileMentionSet:Hsb(aj(a,Nr,2),Isb)}},Ksb=function(a){return{totalMentions:Gh(a,1),truncated:Jj(a,2),packageMentionSet:Hsb(aj(a,Or,3),Jsb)}},Pr=function(a){var b=Lsb(a.open);a=Lsb(a.total);return b===a?"("+b+")":"("+b+"/"+a+")"},Lsb=function(a){var b=
a.count;a=a.exact;return 0===b||a?""+b:b+"+"},Msb=function(a){return"("+Lsb(a)+")"},Qr=function(a){return{count:99<a?99:a,exact:99<a?!1:!0}},Nsb=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:rh(b)}},Osb=function(a){a&1&&vf(0)},Psb=function(a){a&1&&(J(0),Q(1,Osb,1,0,"ng-container",9),L());if(a&2){O();
var b=Cf(15);z(1);F("ngTemplateOutlet",b)}},Qsb=function(a,b){a&1&&(J(0),I(1,"b-issues-table",10),L());a&2&&(a=b.ngIf,b=O(2),z(1),F("issueIds",a)("tableColumns",b.tableColumns)("menuItemFactory",b.getMenuItems)("filters",b.filters)("initialSort",b.initialSort))},Rsb=function(a){a&1&&(J(0),Q(1,Qsb,2,5,"ng-container",4),S(2,"async"),L());a&2&&(a=O(),z(1),F("ngIf",T(2,1,a.blockerIds$)))},Ssb=function(a,b){if(a&1){var c=v();G(0,"p",11);R(1);G(2,"button",12);M("click",function(){w(c);var d=O();return y(d.shouldResetFilters.next())});
R(3,"Show all");H()()}a&2&&(a=b.$implicit,z(1),Ff(" Filtering ",a," issue",1===a?"":"s",". "))},Tsb=function(a){a&1&&vf(0)},Usb=function(a){a&1&&(G(0,"div")(1,"span",11),R(2,"This issue is not blocked "),G(3,"span",13),R(4,"\ud83c\udf89"),H()(),Q(5,Tsb,1,0,"ng-container",9),H());if(a&2){O();var b=Cf(15);z(5);F("ngTemplateOutlet",b)}},Wsb=function(a){if(a&1){var b=v();G(0,"b-button",14);M("onAction",function(){w(b);var c=O();return y(Vsb(c))});S(1,"async");R(2," Add blocker ");H()}a&2&&(a=O(),F("disabled",
!T(1,1,a.canEdit$)))},Xsb=function(a){a&1&&I(0,"th",27)},Ysb=function(a){if(a&1){var b=v();G(0,"td",28,29);M("click",function(c){w(b);Cf(1).focus();return y(c.stopPropagation())});H()}},Zsb=function(a){a&1&&I(0,"th",27)},$sb=function(a){if(a&1){var b=v();G(0,"td",30,31);M("click",function(c){w(b);Cf(1).focus();return y(c.stopPropagation())})("dragstart",function(c){w(b);var d=O();return y(d.handleDragStart(c))});I(2,"mat-icon",32);H()}},atb=function(a){a&1&&(G(0,"th",27),R(1," Id "),H())},btb=function(a,
b){a&1&&(G(0,"td",33),I(1,"b-issue-id-cell",34),H());a&2&&(a=b.$implicit,z(1),F("id",a.id))},ctb=function(a){a&1&&(G(0,"th",27),R(1," Id "),H())},dtb=function(a){a&1&&(G(0,"td",33),R(1,"--"),H())},etb=function(a){a&1&&(G(0,"th",27),R(1," Title "),H())},ftb=function(a,b){if(a&1){var c=v();G(0,"td",33)(1,"b-expandable-issue-title-cell",35);M("expansionChange",function(){var d=w(c).$implicit,e=O();return y(e.toggleExpansion(d))});S(2,"async");S(3,"async");H()()}a&2&&(a=b.$implicit,z(1),F("issue",T(2,
4,a.issue$))("expandable",T(3,6,a.hasChildren$))("expanded",!!a.expandedCount)("level",a.level))},gtb=function(a){a&1&&(G(0,"th",27),R(1," Type "),H())},htb=function(a,b){a&1&&(G(0,"td",33),I(1,"b-issue-type-cell",36),S(2,"async"),H());a&2&&(a=b.$implicit,z(1),F("issue",T(2,1,a.issue$)))},itb=function(a){a&1&&(G(0,"th",27),R(1," Assignee "),H())},jtb=function(a,b){a&1&&(G(0,"td",33),I(1,"b-issue-assignee-cell",36),S(2,"async"),H());a&2&&(a=b.$implicit,z(1),F("issue",T(2,1,a.issue$)))},ktb=function(a){a&
1&&(G(0,"th",27),R(1," Status "),H())},ltb=function(a,b){a&1&&(G(0,"td",33),I(1,"b-issue-status-cell",36),S(2,"async"),H());a&2&&(a=b.$implicit,z(1),F("issue",T(2,1,a.issue$)))},mtb=function(a){a&1&&(G(0,"th",27),R(1," Team "),H())},ntb=function(a,b){a&1&&(G(0,"td",33),I(1,"b-issue-team-cell",36),S(2,"async"),H());a&2&&(a=b.$implicit,z(1),F("issue",T(2,1,a.issue$)))},otb=function(a){a&1&&I(0,"th",27)},ptb=function(a,b){a&1&&(G(0,"td",33)(1,"b-actions-menu",37),M("click",function(c){return c.stopPropagation()}),
H()());a&2&&(a=b.$implicit,b=O(),z(1),F("menuItems",b.getMenuItems(a)))},qtb=function(a){a&1&&I(0,"th",27)},rtb=function(a){a&1&&(G(0,"b-actions-menu",37),M("click",function(c){return c.stopPropagation()}),H());if(a&2){a=O().$implicit;var b=O();F("menuItems",b.getMenuItemsForDraft(a))}},stb=function(a){a&1&&I(0,"b-spinner")},ttb=function(a,b){a&1&&(G(0,"td",38),Q(1,rtb,1,1,"b-actions-menu",39),Q(2,stb,1,0,"ng-template",null,40,Zf),H());if(a&2){a=b.$implicit;var c=Cf(3);z(1);F("ngIf",!a.saving)("ngIfElse",
c)}},utb=function(a,b){if(a&1){var c=v();G(0,"td",33)(1,"b-async-data-placeholder",41);S(2,"async");G(3,"b-button",42);M("onAction",function(){var d=w(c).$implicit,e=O();return y(e.displayAllSiblings(d))});G(4,"span",43);R(5);H()()()()}a&2&&(a=b.$implicit,b=O(),pf("padding-left",24*a.level+b.TITLE_FIXED_OFFSET_PX,"px"),gf("colspan",b.tableColumns.length),z(1),F("isReady",!!T(2,5,a.parentIssue$)),z(4),Df("Display ",a.truncatedSiblingCount," more"))},vtb=function(a){a&1&&(G(0,"th",27),R(1," Title "),
H())},wtb=function(a,b){if(a&1){var c=v();G(0,"td",33)(1,"div",44)(2,"b-text-input-cell",45);M("valueChange",function(d){var e=w(c).$implicit;return y(e.title=d)})("commit",function(){var d=w(c).$implicit,e=O();return y(e.saveDraft(d))});H();G(3,"b-button",46);M("onAction",function(){var d=w(c).$implicit,e=O();return y(e.saveDraft(d))});R(4," Create ");H();G(5,"b-button",47);M("onAction",function(){var d=w(c).$implicit,e=O();return y(e.cancelDraft(d))});R(6," Cancel ");H()()()}a&2&&(a=b.$implicit,
pf("padding-left",24*(a.level+1),"px"),z(2),F("value",a.title)("readonly",a.saving),z(1),F("disabled",!a.title||a.saving),z(2),F("disabled",a.saving))},xtb=function(a){a&1&&I(0,"tr",48)},ytb=function(a,b){if(a&1){var c=v();G(0,"tr",49);M("click",function(d){var e=w(c).$implicit,g=O();return y(g.navigateToIssue(d,e))})("mouseup",function(d){var e=w(c).$implicit,g=O();return y(g.navigateToIssue(d,e))})("focusin",function(){var d=w(c).$implicit,e=O();return y(En(e.focusManager,d))})("keydown",function(d){var e=
w(c).$implicit,g=O();return y(g.onRowKeydown(e,d))});S(1,"async");S(2,"async");H()}a&2&&(a=b.$implicit,b=O(),qf("selected",T(1,8,eKa(b.selectionModel,a.ancestorChain)))("closed",b.isClosed(T(2,10,a.issue$))),F("row",a),gf("data-level",a.level)("data-type",a.type)("data-ancestorchain",a.ancestorChain.hash()))},ztb=function(a,b){if(a&1){var c=v();G(0,"tr",50);M("focusin",function(){var d=w(c).$implicit,e=O();return y(En(e.focusManager,d))})("keydown",function(d){var e=w(c).$implicit,g=O();return y(g.onRowKeydown(e,
d))});H()}a&2&&(a=b.$implicit,F("row",a),gf("data-level",a.level)("data-type",a.type)("data-ancestorchain",a.ancestorChain.hash()))},Atb=function(a,b){if(a&1){var c=v();G(0,"tr",51);M("keydown",function(d){var e=w(c).$implicit,g=O();return y(g.onRowKeydown(e,d))})("keydown.escape",function(){var d=w(c).$implicit,e=O();return y(e.cancelDraft(d))})("keydown.backspace",function(){var d=w(c).$implicit,e=O();return y(d.title||e.cancelDraft(d))})("focusin",function(){var d=w(c).$implicit,e=O();return y(En(e.focusManager,
d))});H()}a&2&&(a=b.$implicit,F("row",a),gf("data-type",a.type))},Btb=function(a,b){a&1&&(J(0),I(1,"b-issues-table",1),L());a&2&&(a=b.ngIf,b=O(),z(1),F("issueIds",a)("tableColumns",b.tableColumns)("filters",b.filters)("issueUrlFactory",b.editIssueDependencies)("menuItemFactory",b.getMenuItems))},Ctb=function(a,b){a&1&&(G(0,"span",10),R(1),H());a&2&&(a=b.ngIf,zf("title","",a," applied filter(s)"),z(1),Ef(a))},Dtb=function(a){a&1&&(J(0),Q(1,Ctb,2,2,"span",9),S(2,"async"),L());a&2&&(a=O(),z(1),F("ngIf",
T(2,1,a.internalSelectedOptions.size$)))},Etb=function(a){a&1&&(G(0,"h1",11),R(1),H());a&2&&(a=O(),z(1),Ef(a.overlayTitle))},Ftb=function(a){a&1&&(G(0,"h1"),R(1),H());a&2&&(a=O().$implicit,z(1),Ef(a.title))},Gtb=function(a){a&1&&(G(0,"p"),R(1),H());a&2&&(a=O().$implicit,z(1),Ef(a.description))},Htb=function(a,b){if(a&1){var c=v();G(0,"div",12)(1,"div",13)(2,"mat-checkbox",14);M("change",function(d){var e=w(c).$implicit,g=O();e=e.key;d.checked?g.internalSelectedOptions.add(e):g.internalSelectedOptions.delete(e);
g.onChange.emit(new Set(g.internalSelectedOptions));return y()});S(3,"async");H();G(4,"div");Q(5,Ftb,2,1,"h1",3);Q(6,Gtb,2,1,"p",3);H()()()}a&2&&(a=b.$implicit,b=O(),z(2),F("checked",T(3,3,Dn(b.internalSelectedOptions,a.key))),z(3),F("ngIf",a.title),z(1),F("ngIf",a.description))},Itb=function(a){if(a&1){var b=v();J(0);I(1,"mat-divider");G(2,"div",15)(3,"button",16);M("click",function(){w(b);var c=O(),d=Cf(1);return y(c.cancel(d))});R(4);H();G(5,"button",17);M("click",function(){w(b);var c=O(),d=Cf(1);
return y(c.confirm(d))});R(6);H()();L()}a&2&&(a=O(),z(4),Ef(a.cancelButtonLabel),z(2),Ef(a.confirmButtonLabel))},Jtb=function(a){a&1&&I(0,"b-spinner")},Ktb=function(a){a&1&&vf(0)},Ltb=function(a){a&1&&(J(0),Q(1,Ktb,1,0,"ng-container",23),L());if(a&2){O(2);var b=Cf(12);z(1);F("ngTemplateOutlet",b)}},Mtb=function(a){a&1&&(I(0,"b-parents-table",24),S(1,"async"),S(2,"async"));if(a&2){a=O().ngIf;var b=O();F("issueId",a)("parentIds",T(1,3,b.parentIds$))("filters",T(2,5,b.issueFilters.value$))}},Ntb=function(a){a&
1&&vf(0)},Ptb=function(a){a&1&&(J(0),Q(1,Ntb,1,0,"ng-container",25),S(2,"async"),L());if(a&2){a=O(2);var b=Cf(10);z(1);F("ngTemplateOutlet",b)("ngTemplateOutletContext",Jf(4,Otb,T(2,2,null==a.parentsTable?null:a.parentsTable.filteredRowCount$)))}},Qtb=function(a){a&1&&vf(0)},Rtb=function(a){a&1&&(G(0,"div")(1,"span",26),R(2,"This issue has no parents"),H(),Q(3,Qtb,1,0,"ng-container",23),H());if(a&2){O(2);var b=Cf(12);z(3);F("ngTemplateOutlet",b)}},Stb=function(a){a&1&&vf(0)},Ttb=function(a){a&1&&
(J(0),Q(1,Stb,1,0,"ng-container",23),L());if(a&2){O(2);var b=Cf(14);z(1);F("ngTemplateOutlet",b)}},Utb=function(a){a&1&&(G(0,"div",27)(1,"section",28)(2,"div",29),R(3," Progress: "),H(),G(4,"div",29),R(5),S(6,"number"),S(7,"async"),S(8,"number"),S(9,"async"),H(),G(10,"div",30),S(11,"async"),G(12,"div",31)(13,"div",32),S(14,"async"),H(),G(15,"onedev-hovercard",null,33)(17,"div",34)(18,"div",35),R(19),S(20,"async"),H()()()()(),I(21,"mat-icon",36),G(22,"onedev-hovercard",null,37)(24,"div",34)(25,"div",
38)(26,"p"),R(27," The progress of child issues takes into consideration all child issues and descendant issues which have estimation data. If a child issue doesn\u2019t have an estimate, their progress is not reflected in the progress bar. "),H()()()()()());if(a&2){var b=Cf(16),c=Cf(23);a=O(2);z(5);Ff(" ",Mf(6,8,T(7,11,a.totalDaysComplete$),"1.0-2")," of ",Mf(8,13,T(9,16,a.totalDaysCount$),"1.0-2")," days complete ");z(5);jf("aria-label","",T(11,18,a.totalDaysDisplayPercent$)," Percentage of effort completed");
z(2);F("onedevHovercardTrigger",b);z(1);pf("width",T(14,20,a.totalDaysDisplayPercent$),"%");z(6);Df(" ",T(20,22,a.progressHovercardContent$)," ");z(2);F("onedevHovercardTrigger",c)}},Vtb=function(a){a&1&&vf(0)},Wtb=function(a){a&1&&(J(0),Q(1,Vtb,1,0,"ng-container",25),S(2,"async"),L());if(a&2){a=O(2);var b=Cf(10);z(1);F("ngTemplateOutlet",b)("ngTemplateOutletContext",Jf(4,Otb,T(2,2,null==a.relationsTable?null:a.relationsTable.filteredRowCount$)))}},Xtb=function(a){a&1&&vf(0)},Ytb=function(a){a&1&&
(J(0),G(1,"span",26),R(2,"This issue has no children"),H(),Q(3,Xtb,1,0,"ng-container",23),L());if(a&2){O(3);var b=Cf(14);z(3);F("ngTemplateOutlet",b)}},Ztb=function(a){a&1&&(J(0),Q(1,Ytb,4,1,"ng-container",1),S(2,"async"),S(3,"async"),L());if(a&2){a=O(2);var b;z(1);F("ngIf",0===T(2,1,a.unarchivedChildIssueCount$)&&0===((null==(b=T(3,3,null==a.relationsTable?null:a.relationsTable.rows$))?null:b.length)||0))}},$tb=function(a,b){if(a&1){var c=v();G(0,"div",9)(1,"section",10)(2,"div",11)(3,"h4",12)(4,
"div",13);I(5,"mat-icon",14);H();R(6);S(7,"async");H();Q(8,Ltb,2,1,"ng-container",1);S(9,"async");H();Q(10,Mtb,3,7,"b-parents-table",15);S(11,"async");Q(12,Ptb,3,6,"ng-container",1);S(13,"async");Q(14,Rtb,4,1,"ng-template",null,16,Zf);H();G(16,"section")(17,"b-blockers-table",17);M("shouldResetFilters",function(){w(c);var h=O();return y(h.shouldResetFilters())});S(18,"async");H()();G(19,"section")(20,"div",18)(21,"h4",12)(22,"div",19);I(23,"mat-icon",20);H();R(24);S(25,"async");H();Q(26,Ttb,2,1,"ng-container",
1);S(27,"async");S(28,"async");H();Q(29,Utb,28,24,"div",21);S(30,"async");S(31,"async");I(32,"b-issue-relations-table",22);S(33,"async");S(34,"async");S(35,"async");Q(36,Wtb,3,6,"ng-container",1);S(37,"async");Q(38,Ztb,4,5,"ng-container",1);S(39,"async");H()()}if(a&2){a=b.ngIf;var d=Cf(15);b=O();var e,g;z(6);Df(" Parents ",T(7,15,b.counts.countParentsDisplay$)," ");z(2);F("ngIf",T(9,17,b.parentsCount$));z(2);F("ngIf",T(11,19,b.parentsCount$))("ngIfElse",d);z(2);F("ngIf",T(13,21,b.issueFilters.value$));
z(5);F("filters",T(18,23,b.issueFilters.value$));z(7);Df(" Child issues ",T(25,25,b.counts.countChildrenDisplay$)," ");z(2);F("ngIf",T(27,27,b.unarchivedChildIssueCount$)||0<((null==(e=T(28,29,null==b.relationsTable?null:b.relationsTable.rows$))?null:e.length)||0));z(3);F("ngIf",b.isTotalEstimatesEnabled&&T(30,31,b.unarchivedChildIssueCount$)&&T(31,33,b.totalDaysCount$));z(3);qf("hidden",!(null==(g=T(33,35,null==b.relationsTable?null:b.relationsTable.rows$))?0:g.length)&&!T(34,37,null==b.relationsTable?
null:b.relationsTable.filteredRowCount$));F("rootIssueId",a)("filters",T(35,39,b.issueFilters.value$));z(4);F("ngIf",T(37,41,b.issueFilters.value$));z(2);F("ngIf",null!==T(39,43,b.unarchivedChildIssueCount$))}},aub=function(a){if(a&1){var b=v();G(0,"p",26);R(1);G(2,"button",40);M("click",function(){w(b);var c=O(2);return y(c.issueFilters.reset([]))});R(3,"Show all");H()()}a&2&&(a=O().filteredCount,z(1),Ff(" Filtering ",a," issue",1===a?"":"s",". "))},bub=function(a,b){a&1&&Q(0,aub,4,2,"p",39);a&2&&
F("ngIf",b.filteredCount)},dub=function(a){if(a&1){var b=v();G(0,"b-button",41);M("onAction",function(){w(b);var c=O();return y(cub(c))});S(1,"async");R(2," Add parent ");H()}a&2&&(a=O(),F("disabled",!T(1,1,a.canEdit$)))},eub=function(a){if(a&1){var b=v();G(0,"b-button",44);M("onAction",function(){w(b);var c=O(2);return y(c.createChild())});S(1,"async");R(2," Create new child ");H()}a&2&&(a=O(2),F("disabled",!T(1,1,a.canEdit$)))},fub=function(a){if(a&1){var b=v();Q(0,eub,3,3,"b-button",42);G(1,"b-button",
43);M("onAction",function(){w(b);var c=O();return y(c.addChild())});S(2,"async");R(3," Add existing child ");H()}a&2&&(a=O(),F("ngIf",a.isNonPublicSession),z(1),F("disabled",!T(2,2,a.canEdit$)))},gub=function(a,b){return(0,E.combineLatest)([a,b]).pipe(D(function(c){var d=k(c);c=d.next().value;d=d.next().value;return 0===d?0:Math.round(100*c/d*100)/100}))},hub=function(a){return 1===a?a+" day":a+" days"},iub=function(a){a&1&&(G(0,"div",3),I(1,"mat-icon",4),G(2,"span",5),R(3),S(4,"async"),H()());if(a&
2){a=O();var b;z(3);Df("",null==(b=T(4,1,a.issues$))?null:b.length," parent issues")}},jub=function(a){a&1&&(G(0,"div",3),I(1,"mat-icon",6),G(2,"span",5),R(3),S(4,"async"),H()());if(a&2){a=O();var b;z(3);Df("Blocked by ",null==(b=T(4,1,a.issues$))?null:b.length," issues")}},kub=function(a,b){a&1&&(G(0,"span"),R(1),H());a&2&&(a=b.$implicit,b=O(4),tf("chippy status-",a," margin-s-left"),z(1),Df(" ",b.STATUS_TERSE[a]," "))},lub=function(a){a&1&&(J(0),G(1,"a",8)(2,"div",9)(3,"div",10)(4,"div",11),R(5),
H(),G(6,"div",12),R(7),H()(),G(8,"div",10)(9,"div",13),R(10),H(),Q(11,kub,2,4,"span",14),H()()(),L());if(a&2){var b=O();a=b.$implicit;b=b.last;var c=O(2);z(1);zf("routerLink","/issues/",a.issueId,"");z(1);qf("border-bottom",!b);z(3);Ef(a.issueId);z(2);Ef(a.snapshot[0].title);z(2);F("ngClass",c.priorityClass(a.snapshot[0].priority));z(1);Ef(a.snapshot[0].priority);z(1);F("ngIf",c.convertIssueStatusStrToTag(a.snapshot[0].status))}},mub=function(a,b){a&1&&(J(0),Q(1,lub,12,8,"ng-container",2),L());a&
2&&(a=b.index,z(1),F("ngIf",5>a))},oub=function(a){if(a&1){var b=v();J(0);G(1,"div",15)(2,"button",16);M("click",function(){w(b);var c=O(2);return y(nub(c))});R(3,"View all parent issues");H()();L()}},pub=function(a){if(a&1){var b=v();J(0);G(1,"div",15)(2,"button",16);M("click",function(){w(b);var c=O(2),d;null==(d=c.hovercardInstance)||d.closeHovercard$.next();Rr(c.router,"/issues/"+c.currentIssueId+"/dependencies");return y()});R(3,"View all blockers");H()();L()}},qub=function(a,b){a&1&&(G(0,"div"),
Q(1,mub,2,1,"ng-container",7),Q(2,oub,4,0,"ng-container",2),Q(3,pub,4,0,"ng-container",2),H());a&2&&(a=b.$implicit,b=O(),z(1),F("ngForOf",a),z(1),F("ngIf",5<a.length&&b.mode===b.ListIssuesHovercardMode.PARENT_ISSUES),z(1),F("ngIf",5<a.length&&b.mode===b.ListIssuesHovercardMode.BLOCKED_BY_ISSUES))},rub=function(a){a&1&&I(0,"mat-icon",7)},sub=function(a){a&1&&(J(0),I(1,"b-list-issues-card",8,9),L());if(a&2){var b=Cf(2);O();var c=Cf(5);a=O();z(1);F("onedevIsHovercardReady",b.init)("hovercardInstance",
c)("currentIssueId",a.issueId)("issueIds",a.multiParentIssueIds)("mode",a.ListIssuesHovercardMode.PARENT_ISSUES)}},tub=function(a){a&1&&(J(0),G(1,"a",3),R(2),H(),Q(3,rub,1,0,"mat-icon",4),G(4,"onedev-hovercard",null,5),Q(6,sub,3,5,"ng-container",6),H(),L());if(a&2){var b=Cf(5);a=O();z(1);zf("title","",a.multiParentIssueIds.length," parents at this position");F("onedevHovercardTrigger",b);z(1);Df("",a.multiParentIssueIds.length," Parents\u2026");z(1);F("ngIf",1<a.multiParentIssueIds.length)}},uub=
function(a,b){a&1&&(J(0),G(1,"b-issue-reference-widget",10),R(2),H(),I(3,"mat-icon",7),L());if(a&2){a=b.$implicit;b=b.last;var c=O();z(1);F("href",c.getIssueLink(a))("issueId",a);z(1);c.issueIdToTitle.has(a)?(a=c.issueIdToTitle.get(a),a=gBa(a)):a=String(a);Ef(a);z(1);qf("last",b)}},vub=function(a){a&1&&(J(0),R(1,"\u2026 >"),L())},wub=function(a){a&1&&(J(0),R(1,"\u2026"),L())},xub=function(a){if(a&1){var b=v();G(0,"a",16);M("click",function(){w(b);var c=O(4);return y(c.compactMode$.next(!1))});Q(1,
vub,2,0,"ng-container",6);Q(2,wub,2,0,"ng-container",6);H()}a&2&&(a=O().$implicit,z(1),F("ngIf",a.isSpliced),z(1),F("ngIf",a.isTruncated))},yub=function(a){a&1&&(G(0,"a",17),R(1),H());if(a&2){a=O().$implicit;var b=Cf(7);qf("muted",a.name==a.id);F("routerLinkObj",a.route)("onedevHovercardTrigger",b);z(1);Ef(a.name)}},zub=function(a){a&1&&(G(0,"span",18),R(1),H());a&2&&(a=O().$implicit,qf("muted",a.name==a.id),z(1),Ef(a.name))},Aub=function(a){a&1&&(J(0),R(1," > "),L())},Bub=function(a){a&1&&(J(0),
I(1,"b-component-path-card",19,20),L());if(a&2){var b=Cf(2);a=O().$implicit;z(1);F("onedevIsHovercardReady",b.init)("componentId",a.id)}},Cub=function(a,b){a&1&&(J(0),Q(1,xub,3,2,"a",11),Q(2,yub,2,5,"a",12),Q(3,zub,2,3,"ng-template",null,13,Zf),Q(5,Aub,2,0,"ng-container",6),G(6,"onedev-hovercard",null,14),Q(8,Bub,3,2,"ng-container",15),H(),L());if(a&2){a=b.$implicit;b=b.last;var c=Cf(4),d=O(3);z(1);F("ngIf",a.isSpliced||a.isTruncated);z(1);F("ngIf",!d.viewOnly)("ngIfElse",c);z(3);F("ngIf",!b)}},Dub=
function(a,b){a&1&&(G(0,"span",9),Q(1,Cub,9,4,"ng-container",10),H());a&2&&(a=b.$implicit,z(1),F("ngForOf",a))},Eub=function(a){a&1&&(G(0,"span"),R(1,"[Archived]"),H())},Fub=function(a){if(a&1){var b=v();G(0,"button",21);M("click",function(){w(b);O(2).editing=!0;return y()});I(1,"mat-icon",22);H()}},Gub=function(a){a&1&&(G(0,"a",23),S(1,"async"),I(2,"mat-icon",24),H());if(a&2){a=O(2);var b;F("routerLinkObj",a.popoutLink(null==(b=T(1,1,a.component$))?null:b.componentId))}},Hub=function(a){a&1&&(G(0,
"b-async-data-placeholder",2),S(1,"async"),G(2,"div",3),I(3,"mat-icon",4),Q(4,Dub,2,1,"span",5),S(5,"async"),Q(6,Eub,2,0,"span",6),S(7,"async"),Q(8,Fub,2,0,"button",7),Q(9,Gub,3,3,"a",8),H()());a&2&&(a=O(),F("isReady",T(1,6,a.isReady$)),z(3),F("svgIcon",a.currentTracker.enableTrackersComponentPathTruncation&&a.currentTracker.inTracker?"folder_special_24px":"folder"),z(1),F("ngIf",T(5,8,a.componentPath$)),z(2),F("ngIf",T(7,10,a.isArchived$)),z(2),F("ngIf",!a.viewOnly),z(1),F("ngIf",a.popoutLink))},
Jub=function(a){if(a&1){var b=v();G(0,"b-team-component-picker",25);M("selectedComponentChange",function(c){w(b);var d=O();d.editing=!1;c&&Iub(d.issueEditComponentService,d.issueId,c);return y()})("dropdownClosed",function(){w(b);O().editing=!1;return y()});S(1,"async");H()}a&2&&(a=O(),F("selectedComponent",T(1,3,a.component$))("isRequired",!0)("shouldFocus",!0))},Kub=function(a){a&1&&(jd(),kd(),J(0),R(1,"Insights"),L())},Lub=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)})},Mub=function(a){return["PROD","NIGHTLY"].includes(a)?"production":"autopush"},Nub=function(a){if(a&1){var b=v();G(0,"b-insights-graph-menu",2);M("openSidebar",function(d){w(b);var e=O(2);return y(e.openSidebar(d.panel))});H()}if(a&2){a=O().ngIf;var c=O();F("availablePanels",
a)("iconOnly",c.iconOnly)("buttonClassname",c.buttonClassname)}},Oub=function(a){a&1&&(J(0),Q(1,Nub,1,3,"b-insights-graph-menu",1),S(2,"async"),L());a&2&&(a=O(),z(1),F("ngIf",T(2,1,a.shouldShowInsightsGraphMenu$)))},Pub=function(a){a&1&&vf(0)},Qub=function(a){a&1&&(J(0),Q(1,Pub,1,0,"ng-container",5),L());a&2&&(a=O(),z(1),F("ngTemplateOutlet",a.content))},Rub=function(a,b){if(a&1){var c=v();G(0,"button",13);M("click",function(e){var g=w(c).$implicit;return y(g.action(e))});I(1,"mat-icon",14);R(2);
H()}if(a&2){a=b.$implicit;var d;F("disabled",a.disabled)("title",a.title);gf("aria-label",a.title);z(1);F("svgIcon",null!==(d=a.icon)&&void 0!==d?d:"");z(1);Df(" ",a.label," ")}},Sub=function(a){if(a&1){var b=v();J(0);G(1,"button",15);M("click",function(d){w(b);var e=O(2);d.stopPropagation();d.preventDefault();var g;null==(g=e.helpHover)||g.toggle();return y()});I(2,"mat-icon",16);R(3," Retention: ");I(4,"retention-text",17);R(5," \u00a0 ");I(6,"help-hover",18);H();L()}if(a&2){a=O().ngIf;var c=Cf(14);
z(4);F("retentionState",a.retentionState);z(2);F("content",c)}},Tub=function(a){a&1&&(J(0),I(1,"retention-help-text",19),L());a&2&&(a=O(2).ngIf,z(1),F("retentionState",a.retentionState)("modifiedTime",a.modifiedTimeMilliseconds))},Uub=function(a){a&1&&Q(0,Tub,2,2,"ng-container",0);a&2&&(a=O().ngIf,F("ngIf",a.retentionState&&a.modifiedTimeMilliseconds))},Vub=function(a,b){if(a&1){var c=v();J(0);I(1,"b-app-vote-button",1)(2,"hotlist-picker-btn",2);G(3,"smart-dupe-btn",3,4);M("onHotkey",function(){w(c);
var e=Cf(4);return y(ARa(e))});H();G(5,"b-notification-menu",5);M("subscriptionChange",function(e){w(c);var g=O();return y(g.updateSubscription(e))})("showNotificationSettings",function(e){w(c);var g=O();return y(g.showNotificationSettings(e))});H();I(6,"insights-graph-menu-smart",6);G(7,"button",7);I(8,"mat-icon",8);H();G(9,"mat-menu",9,10);Q(11,Rub,3,5,"button",11);Q(12,Sub,7,2,"ng-container",0);H();Q(13,Uub,1,1,"ng-template",null,12,Zf);L()}if(a&2){a=b.ngIf;var d=Cf(10);b=O();z(1);F("issueId",
a.issueId)("voteCount",a.voteCount)("upvoted",a.voted);z(1);F("issueId",a.issueId);z(1);F("issueId",a.issueId)("hotkey",b.HOTKEYS.TOGGLE_MARK_AS_DUPLICATE);z(2);F("subscription",a.notificationSubscription)("issueId",a.issueId)("iconOnly",!0);z(1);F("iconOnly",!0);z(1);F("matMenuTriggerFor",d);z(4);F("ngForOf",a.menuItems);z(1);F("ngIf",b.retentionEnabled)}},Wub=function(){},Xub=function(a){a&1&&(G(0,"output"),R(1),S(2,"async"),H());if(a&2){a=O().ngIf;var b=O();z(1);Ff(" ",a," of ",T(2,2,b.currentSearchResults.totalText$),
" ")}},avb=function(a,b){if(a&1){var c=v();J(0);Q(1,Xub,3,4,"output",0);G(2,"span",1)(3,"button",2);M("onHotkey",function(){w(c);var d=O();return y(Yub(d.currentSearchResults))})("click",function(){w(c);var d=O();return y(Yub(d.currentSearchResults))});S(4,"async");I(5,"mat-icon",3);H();G(6,"button",4);M("onHotkey",function(){w(c);var d=O();return y(Zub(d.currentSearchResults))})("click",function(){w(c);var d=O();return y(Zub(d.currentSearchResults))});S(7,"async");I(8,"mat-icon",5);H()();L()}a&2&&
(a=b.ngIf,b=O(),z(1),F("ngIf",-1!==a),z(1),F("ngClass",Jf(10,$ub,-1===a)),z(1),F("hotkey",b.HOTKEYS.GO_TO_PREVIOUS_ISSUE)("disabled",!T(4,6,b.currentSearchResults.hasPreviousIssue$)),z(3),F("hotkey",b.HOTKEYS.GO_TO_NEXT_ISSUE)("disabled",!T(7,8,b.currentSearchResults.hasNextIssue$)))},cvb=function(a,b){if(a&1){var c=v();J(0);G(1,"mat-checkbox",21);M("click",function(e){return e.stopPropagation()})("change",function(e){var g=w(c).$implicit,h=O(2);g=g.value.user;e=e.source.checked;var l=h.trustedCollaboratorsEmailToDetailsMap.get(g.emailAddress).specifiedOnIssue;
e?(l||h.addedTrustedCollaborators.add(g),h.removedTrustedCollaborators.delete(g)):(l&&h.removedTrustedCollaborators.add(g),h.addedTrustedCollaborators.delete(g));var q;bvb(h,null!=(q=h.updatedAccessLimitLevel$.getValue())?q:h.defaultAccessLimitLevel);return y()});S(2,"async");H();G(3,"span",22);R(4);H();L()}if(a&2){a=b.$implicit;b=O(2);var d;z(1);F("disabled","LIMIT_NONE"===(null!==(d=T(2,5,b.updatedAccessLimitLevel$))&&void 0!==d?d:b.defaultAccessLimitLevel))("id",a.key)("name",a.key)("checked",
a.value.specifiedOnIssue);z(3);Ef(a.key)}},dvb=function(a){a&1&&(J(0),G(1,"div")(2,"span",17),R(3,"Add trusted groups"),H(),I(4,"mat-icon",18),H(),G(5,"div",19),S(6,"async"),Q(7,cvb,5,7,"ng-container",20),S(8,"keyvalue"),H(),L());if(a&2){a=O();var b;z(5);qf("disabled","LIMIT_NONE"===(null!==(b=T(6,3,a.updatedAccessLimitLevel$))&&void 0!==b?b:a.defaultAccessLimitLevel));z(2);F("ngForOf",T(8,5,a.trustedCollaboratorsEmailToDetailsMap))}},fvb=function(a){if(a&1){var b=v();J(0);G(1,"button",23);M("click",
function(){w(b);var c=O();return y(c.onPressCancel())});R(2," Cancel ");H();G(3,"button",24);M("click",function(){w(b);var c=O();return y(c.onPressSave())});S(4,"async");R(5," Save ");H();L()}a&2&&(a=O(),z(3),F("disabled",!evb(a,T(4,1,a.hasAccessLimitLevelSelectionChanged$))))},gvb=function(a){if(a&1){var b=v();G(0,"button",25);M("click",function(){w(b);var c=O();return y(c.onPressCancel())});R(1," Close ");H()}},hvb=function(a){a&1&&I(0,"b-access-level-indicator",6);a&2&&(a=O(2).$implicit,F("accessLevel",
a.accessLevel))},ivb=function(a){a&1&&I(0,"b-access-limits-chip",7);a&2&&(a=O(2).$implicit,F("issueId",a.issueId)("componentId",a.componentId)("accessLimitLevel",a.issueAccessLimitLevel))},jvb=function(a){a&1&&I(0,"b-retention-chip",8);a&2&&(a=O(2).$implicit,F("retentionState",a.retentionState)("compactMode",!1)("modifiedTime",a.modifiedTime))},kvb=function(a){a&1&&(G(0,"div",2),Q(1,hvb,1,1,"b-access-level-indicator",3),Q(2,ivb,1,3,"b-access-limits-chip",4),Q(3,jvb,1,3,"b-retention-chip",5),H());
a&2&&(a=O().$implicit,z(1),F("ngIf",a.isShowingPublicPartner),z(1),F("ngIf",a.isAccessLimited),z(1),F("ngIf",a.isShowingRetention))},lvb=function(a,b){a&1&&(J(0),Q(1,kvb,4,3,"div",1),L());a&2&&(a=b.$implicit,z(1),F("ngIf",a.isShowingPublicPartner||a.isShowingRetention||a.isAccessLimited))},mvb=function(a){a&1&&vf(0)},nvb=function(a){a&1&&(J(0),Q(1,mvb,1,0,"ng-container",23),L());if(a&2){O();var b=Cf(12);z(1);F("ngTemplateOutlet",b)}},ovb=function(a,b){a&1&&I(0,"ancestors-breadcrumbs",30);a&2&&(a=
b.ngIf,b=O(3),F("ancestors",a)("issueId",b.issueId))},pvb=function(a){a&1&&(J(0),I(1,"b-component-breadcrumb-chip",26),S(2,"async"),G(3,"div",27),Q(4,ovb,1,2,"ancestors-breadcrumbs",28),S(5,"async"),I(6,"b-issue-id-picker",29),S(7,"async"),S(8,"async"),S(9,"async"),H(),L());a&2&&(a=O(2),z(1),F("componentId",T(2,8,a.componentId$))("compactMode",!0)("issueId",a.issueId),z(3),F("ngIf",T(5,10,a.ancestors$)),z(2),F("issueId",a.issueId)("componentId",T(7,12,a.componentId$))("issueTitle",T(8,14,a.issueTitle$))("isExternalIssue",
!!T(9,16,a.isWithinExternalComponent$)))},qvb=function(a){if(a&1){var b=v();G(0,"b-team-chip",24);M("onTeamLoaded",function(){w(b);var c=O();return y(c.isTeamLoaded=!0)});S(1,"async");S(2,"async");H();Q(3,pvb,10,18,"ng-container",25)}a&2&&(a=O(),F("componentId",T(1,3,a.componentId$))("teamId",T(2,5,a.teamId$)),z(3),F("ngIf",a.isTeamLoaded))},rvb=function(a){a&1&&(J(0),I(1,"b-component-breadcrumb-chip",31),S(2,"async"),G(3,"div",32),I(4,"b-issue-id-picker",33),S(5,"async"),S(6,"async"),S(7,"async"),
H(),L());a&2&&(a=O(2),z(1),F("componentId",T(2,6,a.componentId$))("issueId",a.issueId),z(3),F("issueId",a.issueId)("componentId",T(5,8,a.componentId$))("issueTitle",T(6,10,a.issueTitle$))("isExternalIssue",!!T(7,12,a.isWithinExternalComponent$)))},svb=function(a){if(a&1){var b=v();G(0,"b-team-chip",24);M("onTeamLoaded",function(){w(b);var c=O();return y(c.isTeamLoaded=!0)});S(1,"async");S(2,"async");H();Q(3,rvb,8,14,"ng-container",25)}a&2&&(a=O(),F("componentId",T(1,3,a.componentId$))("teamId",T(2,
5,a.teamId$)),z(3),F("ngIf",a.isTeamLoaded))},tvb=function(a){a&1&&(J(0),R(1),L());a&2&&(a=O().$implicit,z(1),Df(" ",a," "))},uvb=function(a,b){a&1&&(G(0,"div",34),I(1,"mat-icon",35),Q(2,tvb,2,1,"ng-container",25),H());if(a&2){a=b.$implicit;O();var c=Cf(36);F("onedevHovercardTrigger",c);z(2);F("ngIf",2<=a)}},vvb=function(a){a&1&&(J(0),I(1,"b-list-issues-card",36,37),S(3,"async"),L());if(a&2){var b=Cf(2);a=O();var c=Cf(36);z(1);F("onedevIsHovercardReady",b.init)("hovercardInstance",c)("currentIssueId",
a.issueId)("issueIds",T(3,5,a.blockedByids$))("mode",a.ListIssuesHovercardMode.BLOCKED_BY_ISSUES)}},wvb=function(a){return 1===a?"Blocked":"Blocked by "+a+" issues"},xvb=function(a){if(0!==a.length)return 1===a.length?Sr.ISSUE(a[0]):Sr.ISSUE_LIST},yvb=function(a,b){a&1&&(G(0,"div",1),I(1,"img",2),G(2,"h3"),R(3),H(),G(4,"a",3),S(5,"async"),R(6),H()());a&2&&(a=b.$implicit,b=O(),z(1),F("src",null==a.branding?null:a.branding.logoUrl,Md),z(2),Df("This issue is a part of the ",a.name," tracker."),z(1),
F("href",T(5,4,b.trackerRedirectUrl$),Md),z(2),Df(" View in ",a.name," Tracker "))},zvb=function(a){a&1&&(G(0,"div")(1,"ol")(2,"li")(3,"label"),R(4,"Issue ID"),H(),G(5,"output"),R(6),H()(),G(7,"li")(8,"label"),R(9,"Type"),H(),G(10,"output"),R(11),H()(),G(12,"li")(13,"label"),R(14,"Status"),H(),G(15,"output"),R(16),H()()()());a&2&&(a=O(2),z(6),Ef(a.issueId),z(5),Ef(a.issueType),z(5),Ef(a.issueStatus))},Avb=function(a){a&1&&(G(0,"div",1)(1,"div",2),I(2,"img",3),S(3,"async"),I(4,"mat-icon",4)(5,"img",
3),S(6,"async"),H(),G(7,"h3",5),R(8),S(9,"async"),H(),Q(10,zvb,17,3,"div",6),G(11,"div",7)(12,"a",8),S(13,"async"),R(14,"Continue"),H()()());a&2&&(a=O(),z(2),F("src",T(3,5,a.currentTrackerLogo$),Md),z(3),F("src",T(6,7,a.trackerLogo$),Md),z(3),Df(" Redirecting to ",T(9,9,a.trackerName$)," "),z(2),F("ngIf",null!=a.issue),z(2),F("href",T(13,11,a.trackerRedirectUrl$),Md))},Bvb=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))},Cvb=function(a){if(a&1){var b=v();G(0,"input",3,4);M("peoplekitAutocompleteSelectionChange",function(c){w(b);var d=O();0<c.length&&(d.inputValue=c[0].result().getPrimaryTarget().getValue());return y()})("ngModelChange",function(c){w(b);var d=O();return y(d.inputValue=c)});H()}a&2&&(a=O(),F("peoplekitAutocompleteConfig",a.mergedAutocompleteConfig)("peoplekitSearchSessionOptions",
a.sessionOptions)("ngModel",a.inputValue))},Dvb=function(a){a&1&&vf(0)},Fvb=function(a){a&1&&(J(0),Q(1,Dvb,1,0,"ng-container",6),L());a&2&&(a=O(),z(1),F("ngTemplateOutlet",a.selectedUserTemplate)("ngTemplateOutletContext",Jf(2,Evb,a.email)))},Gvb=function(a){a&1&&R(0);a&2&&(a=O(),Df(" ",a.email," "))},Hvb=function(a){a&1&&(jd(),G(0,"svg",7),I(1,"path",8),H())},Ivb=function(a){a&1&&I(0,"b-user-membership-chip",4);if(a&2){a=O().$implicit;var b=O(),c;F("email",a)("teamId",null!==(c=b.teamId)&&void 0!==
c?c:"")("enableSmallChip",!0)}},Jvb=function(a,b){a&1&&Q(0,Ivb,1,3,"b-user-membership-chip",3);a&2&&F("ngIf",b.$implicit)},Kvb=function(a){a&1&&vf(0)},Lvb=function(a){a&1&&(J(0),Q(1,Kvb,1,0,"ng-container",48),L());if(a&2){O();var b=Cf(109);z(1);F("ngTemplateOutlet",b)}},Nvb=function(a,b){a&1&&I(0,"b-list-field",50);a&2&&(a=b.ngIf,b=O(3),F("readonly",!0)("defaultLineCount",3)("title","Team")("type",b.ListFieldType.TEAM)("values",Jf(5,Mvb,a)))},Ovb=function(a){a&1&&(J(0),Q(1,Nvb,1,7,"b-list-field",
49),S(2,"async"),L());a&2&&(a=O(2),z(1),F("ngIf",T(2,1,a.teamHovercardInputs$)))},Qvb=function(a){if(a&1){var b=v();G(0,"div",52)(1,"b-team-warning",53);M("updateTeam",function(){w(b);var h=O(3);h.issueFridge.poke(h.issueId);return y()});S(2,"async");S(3,"async");H()()}if(a&2){a=O().ngIf;var c=O().ngIf,d=O(),e,g;z(1);F("warningType",a)("componentId",c.componentId)("parentComponentId",(null==(e=T(2,4,d.component$))?null:e.parentComponentId)||0)("teamSuggestions",null!==(g=T(3,6,d.teamSuggestions$))&&
void 0!==g?g:If(8,Pvb))}},Rvb=function(a){a&1&&(J(0),Q(1,Qvb,4,9,"div",51),S(2,"async"),L());a&2&&(a=O(2),z(1),F("ngIf",T(2,1,a.shouldDisplayTeamSuggestions$)))},Tvb=function(a){if(a&1){var b=v();J(0);G(1,"b-edit-field",54,55);M("valueChange",function(g){w(b);var h=Cf(2),l=O(2);return y(Svb(l,h,null!==g&&void 0!==g?g:""))});S(3,"async");S(4,"async");S(5,"async");H();L()}if(a&2){a=O().ngIf;var c=O(),d,e;z(1);F("name","reporter")("title","Reporter")("type",c.FieldType.TEXT)("value",a.reporter)("user",
null!==(d=a.reporterUser)&&void 0!==d?d:void 0)("isUser",!0)("readonly",!T(3,10,c.hasAclToEdit$))("disabled",!!T(4,12,c.isSaving$("reporter")))("showAvailability",!0)("teamId",null!==(e=T(5,14,c.teamId$))&&void 0!==e?e:"")}},Vvb=function(a){if(a&1){var b=v();G(0,"onedev-edit-field")(1,"onedev-field-label");R(2,"Reporter");H();G(3,"onedev-field-value",56);S(4,"async");G(5,"b-user-picker",57);M("emailChange",function(e){w(b);var g=O(2);return y(Uvb(g.editIssueService,g.issueId,e))});S(6,"async");S(7,
"async");H()()()}if(a&2){a=O().ngIf;var c=O(),d;z(3);F("thinking",!!T(4,4,c.isSaving$("reporter")));z(2);F("user",a.reporterUser)("teamId",null!==(d=T(6,6,c.teamId$))&&void 0!==d?d:"")("disabled",!T(7,8,c.hasAclToEdit$))}},Wvb=function(a){a&1&&vf(0)},Xvb=function(a){a&1&&(J(0),Q(1,Wvb,1,0,"ng-container",48),L());if(a&2){O();var b=Cf(111);z(1);F("ngTemplateOutlet",b)}},Yvb=function(a,b){if(a&1){var c=v();G(0,"div",59);I(1,"div",60);G(2,"span",61);M("click",function(){var d=w(c).ngIf,e=O(3);return y(Tr(e,
d))})("keydown.enter",function(d){var e=w(c).ngIf;Tr(O(3),e);d.stopPropagation();return y(d.preventDefault())})("keydown.space",function(d){var e=w(c).ngIf;Tr(O(3),e);d.stopPropagation();return y(d.preventDefault())});S(3,"async");S(4,"async");R(5);H()()}a&2&&(a=b.ngIf,b=O(3),z(2),qf("disabled",!!T(3,6,b.isSaving$("status"))),F("matTooltip",a.description||""),gf("aria-disabled",!!T(4,8,b.isSaving$("status")))("aria-label",a.displayText||null),z(3),Df(" ",a.displayText," "))},Zvb=function(a){a&1&&
(J(0),Q(1,Yvb,6,10,"div",58),S(2,"async"),L());a&2&&(a=O(2),z(1),F("ngIf",T(2,1,a.issueStatusQuickAction$)))},$vb=function(a){a&1&&(I(0,"b-issue-card",62,63),S(2,"async"));if(a&2){var b=Cf(1);a=O(2);F("onedevIsHovercardReady",b.init)("issueId",T(2,2,a.canonicalIssueId$))}},bwb=function(a){if(a&1){var b=v();G(0,"b-estimated-effort-row",64);M("effortChange",function(e){w(b);var g=O(2);return y(awb(g.editIssueService,g.issueId,e))});S(1,"async");S(2,"async");S(3,"async");H()}if(a&2){a=O(2);var c,d;F("effort",
null!==(c=T(1,3,a.effort$))&&void 0!==c?c:void 0)("effortSpec",null!==(d=T(2,5,a.effortSpec$))&&void 0!==d?d:void 0)("disabled",!T(3,7,a.hasAclToEdit$))}},cwb=function(a){a&1&&(G(0,"div"),R(1," Expanded access is turned on for this component. Assignees, verifiers and collaborators can edit issues in this component, and CC'd users can comment on them. "),G(2,"a",70),R(3,"Learn more"),H()());a&2&&(a=O(3),z(2),F("href",In(a.documentationLinks)+"#expanded-access",Md))},dwb=function(a){a&1&&(G(0,"div",
65)(1,"span",66),R(2,"Expanded Access"),H(),G(3,"xap-bubble",67)(4,"xap-icon-trigger"),I(5,"mat-icon",68),H(),Q(6,cwb,4,1,"ng-template",null,69,Zf),H()());if(a&2){var b=Cf(7);z(3);F("panelTemplate",b)}},ewb=function(a){a&1&&(G(0,"span",76),S(1,"async"),R(2),H());if(a&2){a=O().ngIf;var b=O(4);qf("disabled",!!T(1,3,b.isSaving$("assignee")));z(2);Df(" ",a.displayText," ")}},fwb=function(a,b){if(a&1){var c=v();G(0,"div",74);M("onHotkey",function(){var d=w(c).ngIf,e=O(4);return y(Tr(e,d))})("click",function(){var d=
w(c).ngIf,e=O(4);return y(Tr(e,d))})("keydown.enter",function(d){var e=w(c).ngIf;Tr(O(4),e);d.stopPropagation();return y(d.preventDefault())})("keydown.space",function(d){var e=w(c).ngIf;Tr(O(4),e);d.stopPropagation();return y(d.preventDefault())});S(1,"async");I(2,"div",60);Q(3,ewb,3,5,"span",75);S(4,"async");H()}a&2&&(a=b.ngIf,b=O(4),F("hotkey",b.HOTKEYS.ASSIGN_ISSUE_TO_DEFAULT_ASSIGNEE)("matTooltip",a.description),gf("aria-disabled",!!T(1,5,b.isSaving$("assignee")))("aria-label",a.description),
z(3),F("ngIf",T(4,7,b.hasAclToEdit$)))},gwb=function(a){a&1&&(J(0),Q(1,fwb,5,9,"div",73),S(2,"async"),L());a&2&&(a=O(3),z(1),F("ngIf",T(2,1,a.issueAssigneeQuickAction$)))},iwb=function(a){if(a&1){var b=v();J(0);G(1,"b-edit-field",71,72);M("onHotkey",function(){w(b);var g=Cf(2);return y(np(g,null,!0,!1))})("valueChange",function(g){w(b);var h=Cf(2),l=O(2);return y(hwb(l,h,null!==g&&void 0!==g?g:""))});S(3,"async");S(4,"async");S(5,"async");H();Q(6,gwb,3,3,"ng-container",0);L()}if(a&2){a=O().ngIf;var c=
O(),d,e;z(1);F("hotkey",c.HOTKEYS.CHANGE_ASSIGNEE)("name","assignee")("title","Assignee")("type",c.FieldType.TEXT)("value",a.assignee)("user",null!==(d=a.assigneeUser)&&void 0!==d?d:void 0)("isUser",!0)("readonly",!T(3,12,c.hasAclToEdit$))("disabled",!!T(4,14,c.isSaving$("assignee")))("showAvailability",!0)("teamId",null!==(e=T(5,16,c.teamId$))&&void 0!==e?e:"");z(5);F("ngIf",c.defaultAssigneeQuickActionEnabled)}},kwb=function(a){if(a&1){var b=v();G(0,"div",81);M("click",function(){w(b);var c=O(3);
return y(jwb(c.editIssueService,c.issueId,""))});R(1," Un-assign ");H()}},lwb=function(a,b){if(a&1){var c=v();G(0,"div",83);M("onHotkey",function(){var d=w(c).ngIf,e=O(4);return y(Tr(e,d))})("click",function(){var d=w(c).ngIf,e=O(4);return y(Tr(e,d))})("keydown.enter",function(d){var e=w(c).ngIf;Tr(O(4),e);d.stopPropagation();return y(d.preventDefault())})("keydown.space",function(d){var e=w(c).ngIf;Tr(O(4),e);d.stopPropagation();return y(d.preventDefault())});S(1,"async");S(2,"async");R(3);H()}a&
2&&(a=b.ngIf,b=O(4),qf("disabled",!!T(1,7,b.isSaving$("assignee"))),F("hotkey",b.HOTKEYS.ASSIGN_ISSUE_TO_DEFAULT_ASSIGNEE)("matTooltip",a.description),gf("aria-disabled",!!T(2,9,b.isSaving$("assignee")))("aria-label",a.description),z(3),Df(" ",a.displayText," "))},mwb=function(a){a&1&&(J(0),Q(1,lwb,4,11,"div",82),S(2,"async"),L());a&2&&(a=O(3),z(1),F("ngIf",T(2,1,a.issueAssigneeQuickAction$)))},nwb=function(a){if(a&1){var b=v();G(0,"onedev-edit-field")(1,"onedev-field-label");R(2,"Assignee");H();
G(3,"onedev-field-value",56);S(4,"async");G(5,"b-user-picker",77,78);M("onHotkey",function(){w(b);var e=Cf(6);return y(e.openPopOver())})("emailChange",function(e){w(b);var g=O(2);return y(jwb(g.editIssueService,g.issueId,e))});S(7,"async");S(8,"async");H();G(9,"div",79);Q(10,kwb,2,0,"div",80);S(11,"async");Q(12,mwb,3,3,"ng-container",0);S(13,"async");H()()()}if(a&2){a=O().ngIf;var c=O(),d;z(3);F("thinking",!!T(4,7,c.isSaving$("assignee")));z(2);F("hotkey",c.HOTKEYS.CHANGE_ASSIGNEE)("user",a.assigneeUser)("teamId",
null!==(d=T(7,9,c.teamId$))&&void 0!==d?d:"")("disabled",!T(8,11,c.hasAclToEdit$));z(5);F("ngIf",a.assigneeUser&&T(11,13,c.hasAclToEdit$));z(2);F("ngIf",c.defaultAssigneeQuickActionEnabled&&T(13,15,c.hasAclToEdit$))}},pwb=function(a){if(a&1){var b=v();J(0);G(1,"b-edit-field",84,85);M("valueChange",function(g){w(b);var h=Cf(2),l=O(2);return y(owb(l,h,null!==g&&void 0!==g?g:""))});S(3,"async");S(4,"async");S(5,"async");H();L()}if(a&2){a=O().ngIf;var c=O(),d,e;z(1);F("name","verifier")("title","Verifier")("type",
c.FieldType.TEXT)("value",a.verifier)("user",null!==(d=a.verifierUser)&&void 0!==d?d:void 0)("isUser",!0)("readonly",!T(3,10,c.hasAclToEdit$))("disabled",!!T(4,12,c.isSaving$("verifier")))("showAvailability",!0)("teamId",null!==(e=T(5,14,c.teamId$))&&void 0!==e?e:"")}},rwb=function(a){if(a&1){var b=v();G(0,"onedev-edit-field")(1,"onedev-field-label");R(2,"Verifier");H();G(3,"onedev-field-value",56);S(4,"async");G(5,"b-user-picker",57);M("emailChange",function(e){w(b);var g=O(2);return y(qwb(g.editIssueService,
g.issueId,e))});S(6,"async");S(7,"async");H()()()}if(a&2){a=O().ngIf;var c=O(),d;z(3);F("thinking",!!T(4,4,c.isSaving$("verifier")));z(2);F("user",a.verifierUser)("teamId",null!==(d=T(6,6,c.teamId$))&&void 0!==d?d:"")("disabled",!T(7,8,c.hasAclToEdit$))}},swb=function(a){a&1&&(G(0,"span"),R(1," Remove me "),H())},twb=function(a){a&1&&(G(0,"span"),R(1," Add me "),H())},vwb=function(a){if(a&1){var b=v();G(0,"div",16);M("click",function(){w(b);var c=O(2);return y(uwb(c))})("keydown.enter",function(c){w(b);
var d=O(2);uwb(d);c.stopPropagation();c.preventDefault();return y()})("keydown.space",function(c){w(b);var d=O(2);uwb(d);c.stopPropagation();c.preventDefault();return y()});S(1,"async");S(2,"async");S(3,"async");S(4,"async");Q(5,swb,2,0,"span",0);S(6,"async");Q(7,twb,2,0,"span",0);S(8,"async");S(9,"async");H()}a&2&&(a=O(2),qf("disabled",!!T(1,7,a.isSaving$("collaborators"))),F("matTooltip",T(4,13,a.isCurrentUserCollaborator$)?"Remove yourself from collaborators":"Add yourself to collaborators"),gf("aria-disabled",
!!T(2,9,a.isSaving$("collaborators")))("aria-label",T(3,11,a.isCurrentUserCollaborator$)?"Remove yourself from collaborators":"Add yourself to collaborators"),z(5),F("ngIf",T(6,15,a.isCurrentUserCollaborator$)),z(2),F("ngIf",!T(8,17,a.isCurrentUserCollaborator$)&&T(9,19,a.hasAclToEdit$)))},wwb=function(a){a&1&&(G(0,"span"),R(1," Un-CC me "),H())},xwb=function(a){a&1&&(G(0,"span"),R(1," CC me "),H())},zwb=function(a){if(a&1){var b=v();G(0,"div",16);M("click",function(){w(b);var c=O(2);return y(ywb(c))})("keydown.enter",
function(c){w(b);var d=O(2);ywb(d);c.stopPropagation();c.preventDefault();return y()})("keydown.space",function(c){w(b);var d=O(2);ywb(d);c.stopPropagation();c.preventDefault();return y()});S(1,"async");S(2,"async");S(3,"async");S(4,"async");Q(5,wwb,2,0,"span",0);S(6,"async");Q(7,xwb,2,0,"span",0);S(8,"async");S(9,"async");H()}a&2&&(a=O(2),qf("disabled",!!T(1,7,a.isSaving$("ccs"))),F("matTooltip",T(4,13,a.isCurrentUserCCd$)?"Remove yourself from CC":"Add yourself to CC"),gf("aria-disabled",!!T(2,
9,a.isSaving$("ccs")))("aria-label",T(3,11,a.isCurrentUserCCd$)?"Remove yourself from CC":"Add yourself to CC"),z(5),F("ngIf",T(6,15,a.isCurrentUserCCd$)),z(2),F("ngIf",!T(8,17,a.isCurrentUserCCd$)&&T(9,19,a.isAllowedToEditCC$)))},Awb=function(a){a&1&&vf(0)},Bwb=function(a){a&1&&(J(0),Q(1,Awb,1,0,"ng-container",48),L());if(a&2){O();var b=Cf(113);z(1);F("ngTemplateOutlet",b)}},Cwb=function(a){a&1&&I(0,"b-list-field",86);if(a&2){a=O().ngIf;var b=O(2);F("readonly",!0)("defaultLineCount",3)("title","TaskFlow Workspaces")("type",
b.ListFieldType.WORKSPACES)("values",a)("tooltip","Links to TaskFlow workspaces this issue belongs to")}},Dwb=function(a,b){a&1&&(J(0),Q(1,Cwb,1,6,"b-list-field",35),S(2,"async"),L());a&2&&(a=b.ngIf,b=O(2),z(1),F("ngIf",T(2,1,b.shouldDisplayWtdmUi$)&&a.length))},Ewb=function(a){a&1&&I(0,"b-list-field",86);if(a&2){a=O().ngIf;var b=O();F("readonly",!0)("defaultLineCount",3)("title","Postmortems")("type",b.ListFieldType.POSTMORTEMS)("values",a.postmortems)("tooltip","Postmortems (auto-populated from a daily dump of Requiem)")}},
Gwb=function(a,b){a&1&&(G(0,"div"),vf(1,87),H());if(a&2){a=b.$implicit;O();var c=Cf(125);z(1);F("ngTemplateOutlet",c)("ngTemplateOutletContext",Jf(2,Fwb,a))}},Hwb=function(a){a&1&&vf(0)},Iwb=function(a){a&1&&(J(0),Q(1,Hwb,1,0,"ng-container",48),L());if(a&2){O();var b=Cf(123);z(1);F("ngTemplateOutlet",b)}},Jwb=function(a){a&1&&I(0,"hr",88)},Kwb=function(a){a&1&&vf(0)},Lwb=function(a){a&1&&(J(0),Q(1,Kwb,1,0,"ng-container",48),L());if(a&2){O(2);var b=Cf(109);z(1);F("ngTemplateOutlet",b)}},Mwb=function(a){a&
1&&vf(0)},Nwb=function(a){a&1&&(J(0),Q(1,Mwb,1,0,"ng-container",48),L());if(a&2){O(2);var b=Cf(111);z(1);F("ngTemplateOutlet",b)}},Owb=function(a){a&1&&vf(0)},Pwb=function(a){a&1&&(J(0),Q(1,Owb,1,0,"ng-container",48),L());if(a&2){O(2);var b=Cf(113);z(1);F("ngTemplateOutlet",b)}},Qwb=function(a,b){a&1&&(G(0,"div"),vf(1,87),H());if(a&2){a=b.$implicit;O(2);var c=Cf(125);z(1);F("ngTemplateOutlet",c)("ngTemplateOutletContext",Jf(2,Fwb,a))}},Rwb=function(a){a&1&&vf(0)},Swb=function(a){a&1&&(J(0),Q(1,Rwb,
1,0,"ng-container",48),L());if(a&2){O(2);var b=Cf(123);z(1);F("ngTemplateOutlet",b)}},Twb=function(a){a&1&&(G(0,"collapsible-panel",89),S(1,"async"),Q(2,Lwb,2,1,"ng-container",0),S(3,"async"),Q(4,Nwb,2,1,"ng-container",0),S(5,"async"),Q(6,Pwb,2,1,"ng-container",0),S(7,"async"),Q(8,Qwb,2,4,"div",36),S(9,"async"),Q(10,Swb,2,1,"ng-container",0),S(11,"async"),H());if(a&2){a=O(2);var b;F("titleWhenCollapsed",null!==(b=T(1,8,a.showHiddenFieldsLabel$))&&void 0!==b?b:"")("titleWhenExpanded","Hide additional fields");
z(2);F("ngIf",a.showSloStatus&&!T(3,10,a.isSloStatusPrimary$));z(2);F("ngIf",!T(5,12,a.isSeverityPrimary$));z(2);F("ngIf",a.showChangelists&&!T(7,14,a.isChangelistPrimary$));z(2);F("ngForOf",T(9,16,a.hiddenCustomFields$))("ngForTrackBy",a.trackCustomField);z(2);F("ngIf",!T(11,18,a.isForgottenFourPrimary$))}},Uwb=function(a){if(a&1){var b=v();G(0,"b-issue-slo-box",91);M("onSloStartTimeChange",function(h){w(b);var l=O(3);return y(l.editIssueService.updateSloStartTime(l.issueId,h.date))})("onSloEndTimeChange",
function(h){w(b);var l=O(3);return y(l.editIssueService.updateSloEndTime(l.issueId,h.date))});S(1,"async");S(2,"async");S(3,"async");S(4,"async");H()}if(a&2){a=O(2).ngIf;var c=O(),d,e,g;F("sloStatus",null!==(d=T(1,7,c.sloStatus$))&&void 0!==d?d:void 0)("sloStartTime",a.sloStartTime)("sloEndTime",a.sloEndTime)("sloId",null!==(e=T(2,9,c.sloId$))&&void 0!==e?e:void 0)("componentId",a.componentId)("isEditable",!!T(3,11,c.hasAclToEdit$))("issueCreationTimestamp",null!==(g=T(4,13,c.createdTimeMicros$))&&
void 0!==g?g:0)}},Vwb=function(a){a&1&&Q(0,Uwb,5,15,"ng-template",90);a&2&&(a=O(2),F("refreshable",a.refreshMonitor.getObservable()))},Xwb=function(a){if(a&1){var b=v();G(0,"b-edit-field",92);M("valueChange",function(d){w(b);var e=O(2);return y(Wwb(e.editIssueService,e.issueId,null!==d&&void 0!==d?d:""))});S(1,"async");S(2,"async");H()}if(a&2){a=O().ngIf;var c=O();F("name","severity")("title","Severity")("type",c.FieldType.ENUM)("tooltip","Set severity, which reflects how much the issue affects the use of the product")("value",
a.severity)("choices",c.severityChoices)("readonly",!T(1,8,c.hasAclToEdit$))("disabled",!!T(2,10,c.isSaving$("severity")))}},Ywb=function(a){if(a&1){var b=v();G(0,"insights-graph-btn",96);M("pressed",function(){w(b);var c=O(3).issueInsightsSidebarService;c.analytics.trackEvent(Jn.SIDEBAR,"ingress-click");c.openSidebar("deployments");return y()});H()}},$wb=function(a){if(a&1){var b=v();G(0,"b-list-field",93);M("valuesChange",function(h){w(b);var l=O(2);return y(Zwb(l.editIssueService,l.issueId,h.values))});
S(1,"async");S(2,"async");G(3,"div",94);Q(4,Ywb,1,0,"insights-graph-btn",95);S(5,"async");H()();I(6,"b-list-field",86);S(7,"async");S(8,"async");S(9,"async")}if(a&2){a=O().ngIf;var c=O(),d,e,g;F("readonly",!T(1,15,c.hasAclToEdit$))("defaultLineCount",3)("title","Changelists")("type",c.ListFieldType.CHANGELISTS)("values",a.changelist)("listFieldDisabled",!!T(2,17,c.isSaving$("changelists")));z(4);F("ngIf",T(5,19,c.issueInsightsSidebarService.shouldShowInsightsGraphButton$));z(2);qf("bv2-issue-metadata-error",
null==(d=T(7,21,c.pendingChangelists$))?null:d.hasError);F("readonly",!0)("defaultLineCount",3)("title","Pending Changelists")("type",c.ListFieldType.CHANGELISTS)("values",null!==(e=null==(e=T(8,23,c.pendingChangelists$))?null:e.cls)&&void 0!==e?e:If(27,Pvb))("tooltip",(null==(g=T(9,25,c.pendingChangelists$))?0:g.hasError)?"Error fetching pending CLs":"Pending changelists (auto-populated)")}},bxb=function(a){if(a&1){var b=v();G(0,"b-edit-field",97);M("valueChange",function(d){w(b);var e=O(2);return y(axb(e.editIssueService,
e.issueId,null!==d&&void 0!==d?d:""))});S(1,"csv");S(2,"async");S(3,"async");H()}if(a&2){a=O().ngIf;var c=O();F("name","foundInVersion")("title","Found In")("type",c.FieldType.TEXT)("multiline",!0)("tooltip","Set the version(s) of the product affected by this issue (comma-separated list)")("value",T(1,8,a.foundInVersion))("readonly",!T(2,10,c.hasAclToEdit$))("disabled",!!T(3,12,c.isSaving$("foundInVersion")))}},dxb=function(a){if(a&1){var b=v();G(0,"b-edit-field",98);M("valueChange",function(d){w(b);
var e=O(2);return y(cxb(e.editIssueService,e.issueId,null!==d&&void 0!==d?d:""))});S(1,"csv");S(2,"async");S(3,"async");H()}if(a&2){a=O().ngIf;var c=O();F("name","targetedToVersion")("title","Targeted To")("type",c.FieldType.TEXT)("multiline",!0)("tooltip","Set the version(s) of the product in which the issue should be fixed (comma-separated list)")("value",T(1,8,a.targetedToVersion))("readonly",!T(2,10,c.hasAclToEdit$))("disabled",!!T(3,12,c.isSaving$("targetedToVersion")))}},fxb=function(a){if(a&
1){var b=v();G(0,"b-edit-field",97);M("valueChange",function(d){w(b);var e=O(2);return y(exb(e.editIssueService,e.issueId,null!==d&&void 0!==d?d:""))});S(1,"csv");S(2,"async");S(3,"async");H()}if(a&2){a=O().ngIf;var c=O();F("name","verifiedInVersion")("title","Verified In")("type",c.FieldType.TEXT)("multiline",!0)("tooltip","Set the version(s) of the product in which the issue fix was verified (comma-separated list)")("value",T(1,8,a.verifiedInVersion))("readonly",!T(2,10,c.hasAclToEdit$))("disabled",
!!T(3,12,c.isSaving$("verifiedInVersion")))}},hxb=function(a){if(a&1){var b=v();G(0,"b-edit-field",99);M("valueChange",function(d){w(b);var e=O(2);return y(gxb(e.editIssueService,e.issueId,null!==d&&void 0!==d?d:!1))});S(1,"async");S(2,"async");H()}if(a&2){a=O().ngIf;var c=O();F("name","inProd")("title","In Prod")("type",c.FieldType.BOOL)("value",a.inProd)("tooltip","Set if this issue occurs in production")("readonly",!T(1,7,c.hasAclToEdit$))("disabled",!!T(2,9,c.isSaving$("inProd")))}},ixb=function(a){a&
1&&vf(0)},jxb=function(a){a&1&&vf(0)},kxb=function(a){a&1&&vf(0)},lxb=function(a){a&1&&vf(0)},mxb=function(a){a&1&&(G(0,"div",4),Q(1,ixb,1,0,"ng-container",48),Q(2,jxb,1,0,"ng-container",48),Q(3,kxb,1,0,"ng-container",48),Q(4,lxb,1,0,"ng-container",48),H());if(a&2){O();var b=Cf(115),c=Cf(117),d=Cf(119),e=Cf(121);z(1);F("ngTemplateOutlet",b);z(1);F("ngTemplateOutlet",c);z(1);F("ngTemplateOutlet",d);z(1);F("ngTemplateOutlet",e)}},oxb=function(a,b){if(a&1){var c=v();G(0,"b-custom-field-editor",100);
M("save",function(e){var g=w(c).$implicit,h=O(2);return y(nxb(h.editIssueService,h.issueId,g.customFieldId,e))});S(1,"async");S(2,"async");H()}if(a&2){a=b.$implicit;b=O().ngIf;var d=O();F("issue",b)("field",a)("readonly",!T(1,4,d.hasAclToEdit$))("disabled",!!T(2,6,d.isSaving$(a.customFieldId)))}},uxb=function(a,b){if(a&1){var c=v();J(0);Q(1,Lvb,2,1,"ng-container",0);S(2,"async");Q(3,Ovb,3,3,"ng-container",0);Q(4,Rvb,3,3,"ng-container",0);S(5,"async");Q(6,Tvb,6,16,"ng-container",1);Q(7,Vvb,8,10,"ng-template",
null,2,Zf);G(9,"b-edit-field",3);M("valueChange",function(K){w(c);var N=O();return y(pxb(N.editIssueService,N.issueId,null!==K&&void 0!==K?K:""))});S(10,"async");S(11,"async");H();G(12,"div",4)(13,"b-edit-field",5);M("onHotkey",function(K){w(c);var N=O();(K=nl("P"+K))&&qxb(N.editIssueService,N.issueId,K);return y()})("valueChange",function(K){w(c);var N=O();return y(qxb(N.editIssueService,N.issueId,null!==K&&void 0!==K?K:""))});S(14,"async");S(15,"async");H();Q(16,Xvb,2,1,"ng-container",0);S(17,"async");
H();G(18,"div",6)(19,"b-edit-field",7);M("valueChange",function(K){w(c);var N=O();return y(rxb(N,null!==K&&void 0!==K?K:""))});S(20,"async");S(21,"async");S(22,"async");S(23,"async");H();Q(24,Zvb,3,3,"ng-container",0);S(25,"async");H();G(26,"onedev-hovercard",null,8);Q(28,$vb,3,4,"b-issue-card",9);H();Q(29,bwb,4,9,"b-estimated-effort-row",10);S(30,"async");S(31,"async");G(32,"div",11)(33,"div",12)(34,"div",13)(35,"label");R(36,"Access");H()();G(37,"div",14)(38,"span",15);R(39);S(40,"async");H();G(41,
"div",16);M("click",function(){w(c);var K=O();return y(K.toggleAccessLimits())})("keydown.enter",function(K){w(c);var N=O();return y(N.toggleAccessLimitsWithKeystroke(K))})("keydown.space",function(K){w(c);var N=O();return y(N.toggleAccessLimitsWithKeystroke(K))});S(42,"async");S(43,"async");G(44,"span");R(45);S(46,"async");H()()()();G(47,"onedev-hovercard",null,17)(49,"div",18)(50,"div",19)(51,"span",20);R(52," Issue access level can only be set by Issue admins and it enables issue-level access control. ");
G(53,"a",21);R(54,"Learn more");H()()()()()();G(55,"div",22);S(56,"async");Q(57,dwb,8,1,"div",23);S(58,"async");G(59,"div",24);Q(60,iwb,7,18,"ng-container",1);Q(61,nwb,14,17,"ng-template",null,25,Zf);H();Q(63,pwb,6,16,"ng-container",1);Q(64,rwb,8,10,"ng-template",null,26,Zf);J(66);G(67,"b-collaborators-field",27,28);M("toggleAccessLimits",function(){w(c);var K=O();return y(K.toggleAccessLimits())})("valuesChange",function(K){w(c);var N=Cf(68),P=O();return y(sxb(P,N,K.values))});S(69,"async");S(70,
"async");S(71,"async");G(72,"div",29);Q(73,vwb,10,21,"div",30);S(74,"async");S(75,"async");S(76,"async");H()();G(77,"onedev-hovercard",null,31)(79,"div",18)(80,"div",19)(81,"span",20);R(82," Collaborators are users who are actively working on an issue. ");G(83,"a",32);R(84,"Learn more.");H()()()()();G(85,"b-list-field",33,34);M("valuesChange",function(K){w(c);var N=Cf(86),P=O();return y(txb(P,N,K.values))});S(87,"async");S(88,"async");S(89,"async");G(90,"div",29);Q(91,zwb,10,21,"div",30);S(92,"async");
S(93,"async");S(94,"async");H()();L();H();Q(95,Bwb,2,1,"ng-container",0);S(96,"async");Q(97,Dwb,3,3,"ng-container",0);S(98,"async");Q(99,Ewb,1,6,"b-list-field",35);Q(100,Gwb,2,4,"div",36);S(101,"async");Q(102,Iwb,2,1,"ng-container",0);S(103,"async");Q(104,Jwb,1,0,"hr",37);S(105,"async");Q(106,Twb,12,20,"collapsible-panel",38);S(107,"async");Q(108,Vwb,1,1,"ng-template",null,39,Zf);Q(110,Xwb,3,12,"ng-template",null,40,Zf);Q(112,$wb,10,28,"ng-template",null,41,Zf);Q(114,bxb,4,14,"ng-template",null,42,
Zf);Q(116,dxb,4,14,"ng-template",null,43,Zf);Q(118,fxb,4,14,"ng-template",null,44,Zf);Q(120,hxb,3,11,"ng-template",null,45,Zf);Q(122,mxb,5,4,"ng-template",null,46,Zf);Q(124,oxb,3,8,"ng-template",null,47,Zf);L()}if(a&2){a=b.ngIf;var d=Cf(8),e=Cf(27),g=Cf(48),h=Cf(62),l=Cf(65),q=Cf(78);b=O();var x,A,B;z(1);F("ngIf",b.showSloStatus&&T(2,79,b.isSloStatusPrimary$));z(2);F("ngIf",b.sessionIsInternal);z(1);F("ngIf",T(5,81,b.teamWarningType$));z(2);F("ngIf",!b.enablePeoplekitAc)("ngIfElse",d);z(3);F("name",
"type")("title","Type")("type",b.FieldType.ENUM)("value",a.type)("choices",b.typeChoices)("readonly",!T(10,83,b.hasAclToEdit$))("disabled",!!T(11,85,b.isSaving$("type")));z(4);F("name","priority")("title","Priority")("type",b.FieldType.ENUM)("tooltip","Set priority, which reflects how soon the issue should be fixed")("value",a.priority)("choices",b.priorityChoices)("hotkey",b.HOTKEYS.CHANGE_ISSUE_PRIORITY)("readonly",!T(14,87,b.hasAclToEdit$))("disabled",!!T(15,89,b.isSaving$("priority")));z(3);F("ngIf",
T(17,91,b.isSeverityPrimary$));z(3);F("name","status")("title","Status")("type",b.FieldType.ENUM)("value",a.status)("choices",null!==(x=T(20,93,b.statusChoices$))&&void 0!==x?x:If(155,Pvb))("readonly",!T(21,95,b.hasAclToEdit$))("disabled",!!T(22,97,b.isSaving$("status")))("onedevHovercardActive",!!T(23,99,b.canonicalIssueId$))("onedevHovercardTrigger",e);z(5);F("ngIf",T(25,101,b.hasAclToEdit$));z(5);F("ngIf",b.sessionIsInternal&&T(30,103,b.isEffortEnabled$)&&!T(31,105,b.isWithinExternalComponent$));
z(4);F("onedevHovercardTrigger",g)("onedevHovercardActive",!0)("onedevHovercardConfig",b.ACCESS_LIMITS_HOVERCARD_CONFIG);z(6);Ef(b.getAccessLimitLevelDisplay(T(40,107,b.accessLimitLevel$)));z(2);F("matTooltip",T(43,111,b.hasAclToAdmin$)?"Manage issue level access limits(Press Alt + Right arrow for more information)":"View issue level access limits(Press Alt + Right arrow for more information)");gf("aria-label",T(42,109,b.hasAclToAdmin$)?"Edit":"View");z(4);Df(" ",T(46,113,b.hasAclToAdmin$)?"Edit":
"View"," ");z(8);F("href",b.documentationLinks.getIssueAccessLimit(),Md);z(2);qf("implicit-access-box",T(56,115,b.isImplicitAccessEnabled$));z(2);F("ngIf",T(58,117,b.isImplicitAccessEnabled$));z(3);F("ngIf",!b.enablePeoplekitAc)("ngIfElse",h);z(3);F("ngIf",!b.enablePeoplekitAc)("ngIfElse",l);z(4);F("readonly",!T(69,119,b.hasAclToEdit$))("collaborators",a.collaborators)("collaboratorsUsers",a.collaboratorsUsers)("listFieldDisabled",!!T(70,121,b.isSaving$("collaborators")))("teamId",null!==(A=T(71,
123,b.teamId$))&&void 0!==A?A:"")("isCollapsible",!0)("onedevHovercardTrigger",q)("onedevHovercardActive",!0)("onedevHovercardConfig",b.COLLABORATORS_HOVERCARD_CONFIG);z(6);F("ngIf",T(74,125,b.isCurrentUserCollaborator$)||!T(75,127,b.isCurrentUserCollaborator$)&&T(76,129,b.hasAclToEdit$));z(12);Bf("collapsiblePanelTitle","",a.cc.length," ",1===a.cc.length?"user":"users","");F("defaultLineCount",5)("readonly",!T(87,131,b.isAllowedToEditCC$))("type",b.ListFieldType.USERCHIP)("isUser",!0)("values",a.cc)("users",
a.ccUsers)("listFieldDisabled",!!T(88,133,b.isSaving$("ccs")))("isCollapsible",!0)("isExpanded",!0)("teamId",null!==(B=T(89,135,b.teamId$))&&void 0!==B?B:"");z(6);F("ngIf",T(92,137,b.isCurrentUserCCd$)||!T(93,139,b.isCurrentUserCCd$)&&T(94,141,b.isAllowedToEditCC$));z(4);F("ngIf",b.showChangelists&&T(96,143,b.isChangelistPrimary$));z(2);F("ngIf",T(98,145,b.workspaces$));z(2);F("ngIf",!b.sessionIsExternal&&(null==a.postmortems?null:a.postmortems.length));z(1);F("ngForOf",T(101,147,b.visibleCustomFields$))("ngForTrackBy",
b.trackCustomField);z(2);F("ngIf",T(103,149,b.isForgottenFourPrimary$));z(2);F("ngIf",T(105,151,b.hasHiddenFields$));z(2);F("ngIf",T(107,153,b.hasHiddenFields$))}},vxb=function(a){a&1&&I(0,"edit-issue-metadata",5);a&2&&(a=O(),F("issueId",a.issueId))},wxb=function(a,b){if(a instanceof Element){var c=ji(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)}}},xxb=function(a,b){a&1&&(G(0,"h2",5),R(1),H());a&2&&(a=b.ngIf,z(1),Df("Issue ",a,""))},yxb=function(a){a&1&&I(0,"div")},zxb=function(a){a&1&&(G(0,"a",19),R(1,"Learn more"),H())},Axb=function(a){if(a&1){var b=v();G(0,"button",20);M("click",function(){var c=w(b).ngIf,d=O(5);return y(d.editIssueService.unarchive(c))});R(1," Unarchive ");H()}},Bxb=function(a){a&1&&(G(0,"b-callout",16)(1,"b-callout-body"),R(2,"This issue has been archived. "),Q(3,zxb,2,0,"a",17),H(),G(4,"b-callout-actions"),Q(5,
Axb,2,0,"button",18),S(6,"async"),H()());a&2&&(a=O(4),F("messageType","caution")("format","app")("iconOverride","archive_24px"),z(3),F("ngIf",a.activeSession.isInternalSession()),z(2),F("ngIf",T(6,5,a.id$)))},Cxb=function(a){a&1&&(G(0,"a",23),R(1,"Learn more"),H())},Dxb=function(a){a&1&&(G(0,"b-callout",21)(1,"b-callout-body"),R(2," This issue is in an archived component. "),Q(3,Cxb,2,0,"a",22),H()());a&2&&(a=O(4),F("format","app")("iconOverride","archive_24px"),z(3),F("ngIf",a.activeSession.isInternalSession()))},
Exb=function(a,b){a&1&&(J(0),R(1," Reason: "),G(2,"code"),R(3),H(),R(4,". "),L());a&2&&(a=b.$implicit,z(3),Ef(a))},Fxb=function(a){a&1&&(G(0,"a",27),R(1,"Learn more"),H())},Hxb=function(a){if(a&1){var b=v();G(0,"button",28);M("click",function(){var d=w(b).ngIf,e=O(5);return y(Gxb(e.editIssueService,d))});S(1,"async");S(2,"async");R(3," Undelete ");H()}if(a&2){a=O(5);var c;F("matTooltip",null!==(c=T(1,2,a.undeleteButtonTooltip$))&&void 0!==c?c:"")("disabled",!T(2,4,a.permissions.canUndeleteIssue$))}},
Ixb=function(a){a&1&&(G(0,"b-callout",24)(1,"b-callout-body"),R(2," This issue has been deleted. "),Q(3,Exb,5,1,"ng-container",6),S(4,"async"),Q(5,Fxb,2,0,"a",25),H(),G(6,"b-callout-actions"),Q(7,Hxb,4,6,"button",26),S(8,"async"),H()());if(a&2){a=O(4);var b;z(3);F("ngIf",null==(b=T(4,3,a.snapshot$))?null:b.deletionReason);z(2);F("ngIf",a.activeSession.isInternalSession());z(2);F("ngIf",T(8,5,a.id$))}},Jxb=function(a,b){a&1&&(G(0,"output",37),R(1),H());a&2&&(a=b.$implicit,z(1),Df(" ",a," "))},Lxb=
function(a,b){a&1&&(G(0,"a",34,35),R(2),Q(3,Jxb,2,1,"output",36),S(4,"async"),H());if(a&2){a=b.$implicit;var c=Cf(1);F("routerLink",a.link)("active",c.isActive)("routerLinkActiveOptions",If(7,Kxb));z(2);Df(" ",a.title," ");z(1);F("ngIf",T(4,5,a.count$))}},Mxb=function(a,b){a&1&&(G(0,"header",29),I(1,"b-tracker-banner",30),S(2,"async"),S(3,"async"),I(4,"issue-header",31),G(5,"nav",32),Q(6,Lxb,5,8,"a",33),H()());a&2&&(a=b.$implicit,b=O(4),z(1),F("issueId",T(2,4,b.id$))("trackerId",T(3,6,b.issueTrackerId$)),
z(3),F("issueId",a),z(2),F("ngForOf",b.tabs))},Nxb=function(a,b){a&1&&I(0,"issue-metadata-sidebar",31);a&2&&F("issueId",b.ngIf)},Oxb=function(a){a&1&&(G(0,"div",8),S(1,"async"),Q(2,Bxb,7,7,"b-callout",9),S(3,"async"),Q(4,Dxb,4,3,"b-callout",10),S(5,"async"),Q(6,Ixb,9,7,"b-callout",11),S(7,"async"),Q(8,Mxb,7,8,"header",12),S(9,"async"),G(10,"div",13)(11,"article",14),I(12,"router-outlet"),H(),Q(13,Nxb,1,1,"issue-metadata-sidebar",15),S(14,"async"),H()());a&2&&(a=O(3),qf("issue-editor-false",!T(1,7,
a.permissions.hasAclToEdit$)),z(2),F("ngIf",T(3,9,a.archived$)),z(2),F("ngIf",T(5,11,a.inArchivedComponent$)),z(2),F("ngIf",T(7,13,a.deleted$)),z(2),F("ngIf",T(9,15,a.id$)),z(5),F("ngIf",T(14,17,a.id$)))},Pxb=function(a){a&1&&(G(0,"div"),Q(1,Oxb,15,19,"div",7),S(2,"async"),H());if(a&2){a=O(2);var b=Cf(7);z(1);F("ngIf",!T(2,2,a.showTrackerRedirect$))("ngIfElse",b)}},Qxb=function(a){a&1&&(Q(0,Pxb,3,4,"div",6),S(1,"async"));a&2&&(a=O(),F("ngIf",!T(1,1,a.issue404$)))},Rxb=function(a){a&1&&(G(0,"div",
38),I(1,"b-tracker-redirect",39),S(2,"async"),H());a&2&&(a=O(),z(1),F("issue",T(2,1,a.issue$)))},Sxb=function(a){a&1&&(G(0,"div",38),I(1,"b-access-denied-metadata",40),S(2,"async"),H());a&2&&(a=O(),z(1),F("issueMetadata",T(2,1,a.issueMetadata$)))},Txb=function(a,b){a&1&&(J(0),I(1,"b-issues-table",1),L());a&2&&(a=b.ngIf,b=O(),z(1),F("issueIds",a)("menuItemFactory",b.getMenuItems)("tableColumns",b.tableColumns)("initialSort",b.initialSort))},Vxb=function(a){if(a&1){var b=v();G(0,"div",5);I(1,"img",
6);G(2,"p",7);R(3," This issue has no duplicates ");H();G(4,"p",8);R(5," A duplicate is an issue with similar content. ");H();G(6,"p",8);R(7,' Any issue added here will be closed as a duplicate of this one, making this the "canonical issue". ');G(8,"a",9);R(9,"Learn more");H()();G(10,"button",10);M("click",function(){w(b);var c=O(2);return y(Uxb(c))});R(11," Add ");H()()}a&2&&(a=O(2),z(1),F("src",a.ROBOT_SLEEPING,Md))},Wxb=function(a,b){a&1&&I(0,"b-duplicates-table",15);a&2&&(a=b.$implicit,b=O(2).$implicit,
F("issueId",a)("duplicateIds",b))},Xxb=function(a,b){a&1&&(J(0),G(1,"a",16),R(2," View as search results "),H(),L());a&2&&(a=b.ngIf,z(1),F("routerLink",a.path)("queryParams",a.params))},Yxb=function(a){if(a&1){var b=v();G(0,"h4",11);R(1);S(2,"async");G(3,"button",12);M("click",function(){w(b);var c=O(2);return y(Uxb(c))});R(4," Add ");H()();Q(5,Wxb,1,2,"b-duplicates-table",13);S(6,"async");G(7,"aside",14);Q(8,Xxb,3,2,"ng-container",1);S(9,"async");H()}a&2&&(a=O(2),z(1),Df("Duplicates ",T(2,3,a.counts.countDuplicateDisplay$),
" "),z(4),F("ngIf",T(6,5,a.id$)),z(3),F("ngIf",T(9,7,a.dupeUrl$)))},Zxb=function(a){a&1&&(J(0),Q(1,Vxb,12,1,"div",3),S(2,"async"),Q(3,Yxb,10,9,"ng-template",null,4,Zf),L());if(a&2){var b=Cf(4);a=O();z(1);F("ngIf",!T(2,2,a.showTable$))("ngIfElse",b)}},$xb=function(a){a&1&&(G(0,"aside",17),I(1,"b-spinner"),H())},ayb=function(a,b){a&1&&(G(0,"mat-option",9)(1,"div",10),R(2),H(),G(3,"div",11),R(4),H()());a&2&&(a=b.$implicit,F("value",a),z(2),Ef(a.name),z(2),Ef(a.description))},byb=function(a){if(a&1){var b=
v();G(0,"mat-form-field",6)(1,"mat-select",7);M("valueChange",function(c){w(b);var d=O();return y(d.selectedFilter=c)})("selectionChange",function(c){w(b);var d=O();c=c.value;d.preferences.save({commentFilterPreferences:{commentFilter:c.commentFilterType}}).pipe(Te(d.destroyed$)).subscribe();d.analytics.trackEvent(Jn.EDIT_ISSUE,"click",c.commentFilterType);return y()});G(2,"mat-select-trigger");R(3);H();Q(4,ayb,5,3,"mat-option",8);H()()}a&2&&(a=O(),z(1),F("value",a.selectedFilter),z(2),Ef(null==a.selectedFilter?
null:a.selectedFilter.displayName),z(1),F("ngForOf",a.filters))},cyb=function(a){a&1&&(J(0),I(1,"mat-icon",12),G(2,"span"),R(3,"Oldest first"),H(),L())},dyb=function(a){a&1&&(J(0),I(1,"mat-icon",13),G(2,"span"),R(3,"Newest first"),H(),L())},hyb=function(a){switch(a){case "FULL_HISTORY":return eyb;case "ALL_COMMENTS":return Ur;case "HUMAN_ONLY":return fyb;case "TEAM_AND_ASSIGNEE":return gyb;default:return Ur}},iyb=function(a){a&1&&(J(0),R(1,", "),I(2,"br"),L())},jyb=function(a){a&1&&(J(0),R(1," reacted"),
L())},kyb=function(a,b){a&1&&(J(0),G(1,"div"),R(2),Q(3,iyb,3,0,"ng-container",3),Q(4,jyb,2,0,"ng-container",3),S(5,"async"),H(),L());if(a&2){a=b.$implicit;b=b.last;var c=O();z(2);Df(" ",a,"");z(1);F("ngIf",!b);z(1);F("ngIf",!T(5,3,c.isOverflowReactionCount$)&&b)}},lyb=function(a){if(a&1){var b=v();G(0,"span");R(1," and ");G(2,"button",4);M("click",function(){w(b);var c=O();if(c.commentNumber&&c.issueId){var d,e,g=null!=(e=null==(d=Vm(c.reactionState$))?void 0:d.type)?e:"REACTION_TYPE_UNSPECIFIED";
c.matDialogService.open(Vr,{width:"560px",data:{commentNumber:c.commentNumber,issueId:c.issueId,reactionType:g}})}return y()});R(3);S(4,"async");H();R(5," reacted ");H()}a&2&&(a=O(),z(3),Df(" ",T(4,1,a.overflowReactionCount$)," more "))},myb=function(a){a&1&&(J(0),R(1),L());a&2&&(a=O(2),z(1),Df(" by ",ai(a.event.lastCommentEditorUser),""))},nyb=function(a){a&1&&(J(0)(1),R(2,"Message last modified"),L(),Q(3,myb,2,1,"ng-container",0),J(4),R(5," on "),I(6,"b-formatted-date-time",1),L()());a&2&&(a=O(),
z(3),F("ngIf",0===a.event.version&&!!a.event.lastCommentEditorUser),z(3),F("timestamp",a.event.commentLastModifiedAtDate))},oyb=function(a){a&1&&I(0,"b-user-email",5);a&2&&(a=O().$implicit,F("email",a.text)("withProfile",!0))},pyb=function(a){a&1&&(G(0,"b-issue-reference-widget",6),J(1),R(2),L(),H());if(a&2){a=O().$implicit;var b=O();F("href",Vl(a.text))("issueId",b.getIssueId(a));z(2);Ef(a.text)}},qyb=function(a){a&1&&(J(0),R(1),L());a&2&&(a=O().$implicit,z(1),Ef(a.text))},ryb=function(a,b){a&1&&
(J(0)(1,1),Q(2,oyb,1,2,"b-user-email",2),Q(3,pyb,3,3,"b-issue-reference-widget",3),Q(4,qyb,2,1,"ng-container",4),L()());a&2&&(a=b.$implicit,z(1),F("ngSwitch",a.tag),z(1),F("ngSwitchCase","user"),z(1),F("ngSwitchCase","bug"))},syb=function(a){a&1&&(J(0),I(1,"b-component-card",3,4),L());if(a&2){var b=Cf(2);a=O();z(1);F("onedevIsHovercardReady",b.init)("componentId",a.id)}},tyb=function(a){a&1&&(G(0,"span"),R(1),H());if(a&2){a=O(5);var b;z(1);Ef(null!==(b=a.effortSpecName)&&void 0!==b?b:"Estimated Effort")}},
uyb=function(a){a&1&&(G(0,"label"),Q(1,tyb,2,1,"span",11),R(2,":\u200b "),H());if(a&2){a=O(4);var b=Cf(5);z(1);F("ngIf",a.effortEnabled)("ngIfElse",b)}},vyb=function(a){a&1&&(G(0,"label"),R(1),H());a&2&&(a=O(3).$implicit,z(1),Df("",a.displayName,":\u200b"))},wyb=function(a){a&1&&(G(0,"span"),I(1,"b-user-display-name",14),H());a&2&&(a=O().$implicit,z(1),F("email",a)("showEmail",!0))},xyb=function(a){a&1&&(J(0),I(1,"plain-component-path",15),L());a&2&&(a=O(4).$implicit,z(1),F("id",a.oldValue))},yyb=
function(a){a&1&&I(0,"b-formatted-date-time",17);if(a&2){a=O(2).$implicit;var b=O(4);F("timestamp",1E3*b.asNumber(a))}},zyb=function(a){a&1&&(G(0,"span"),R(1,"[Issue creation date]"),H())},Ayb=function(a){a&1&&(G(0,"span"),Q(1,yyb,1,1,"b-formatted-date-time",16),Q(2,zyb,2,0,"span",5),H());a&2&&(a=O().$implicit,z(1),F("ngIf","<none>"!==a),z(1),F("ngIf","<none>"===a))},Byb=function(a){a&1&&I(0,"b-formatted-date-time",17);if(a&2){a=O(2).$implicit;var b=O(4);F("timestamp",1E3*b.asNumber(a))}},Cyb=function(a){a&
1&&(G(0,"span"),R(1,"[Unset]"),H())},Dyb=function(a){a&1&&(G(0,"span"),Q(1,Byb,1,1,"b-formatted-date-time",16),Q(2,Cyb,2,0,"span",5),H());a&2&&(a=O().$implicit,z(1),F("ngIf","<none>"!==a),z(1),F("ngIf","<none>"===a))},Eyb=function(a){a&1&&(J(0),G(1,"span"),R(2),H(),L());if(a&2){a=O().$implicit;var b=O(4);z(2);Ef(b.getAccessLimitLevel(a))}},Fyb=function(a){a&1&&(G(0,"span"),R(1),H());a&2&&(a=O().$implicit,z(1),Ef(a))},Gyb=function(a){a&1&&(J(0),Q(1,wyb,2,2,"span",5),Q(2,xyb,2,1,"ng-container",5),Q(3,
Ayb,3,2,"span",5),Q(4,Dyb,3,2,"span",5),Q(5,Eyb,3,1,"ng-container",5),Q(6,Fyb,2,1,"span",5),R(7," \u00a0 "),I(8,"span",13),R(9," \u00a0 "),L());a&2&&(a=O(3).$implicit,z(1),F("ngIf",a.isUser),z(1),F("ngIf","component"===a.name),z(1),F("ngIf","sloStartTime"==a.name),z(1),F("ngIf","sloEndTime"==a.name),z(1),F("ngIf","access_limit"===a.name),z(1),F("ngIf",!a.isUser&&"component"!==a.name&&"sloStartTime"!==a.name&&"sloEndTime"!==a.name&&"access_limit"!==a.name))},Hyb=function(a){a&1&&I(0,"b-user-display-name",
14);a&2&&(a=O().$implicit,F("email",a)("showEmail",!0))},Iyb=function(a){a&1&&(G(0,"span"),I(1,"plain-component-path",15),H());a&2&&(a=O(4).$implicit,z(1),F("id",a.newValue))},Jyb=function(a){a&1&&I(0,"b-formatted-date-time",17);if(a&2){a=O(2).$implicit;var b=O(4);F("timestamp",1E3*b.asNumber(a))}},Kyb=function(a){a&1&&(G(0,"span"),R(1,"[Issue creation date]"),H())},Lyb=function(a){a&1&&(G(0,"span"),Q(1,Jyb,1,1,"b-formatted-date-time",16),Q(2,Kyb,2,0,"span",5),H());a&2&&(a=O().$implicit,z(1),F("ngIf",
"<none>"!==a),z(1),F("ngIf","<none>"===a))},Myb=function(a){a&1&&I(0,"b-formatted-date-time",17);if(a&2){a=O(2).$implicit;var b=O(4);F("timestamp",1E3*b.asNumber(a))}},Nyb=function(a){a&1&&(G(0,"span"),R(1,"[Unset]"),H())},Oyb=function(a){a&1&&(G(0,"span"),Q(1,Myb,1,1,"b-formatted-date-time",16),Q(2,Nyb,2,0,"span",5),H());a&2&&(a=O().$implicit,z(1),F("ngIf","<none>"!==a),z(1),F("ngIf","<none>"===a))},Pyb=function(a){a&1&&(J(0),G(1,"span"),R(2),H(),L());if(a&2){a=O().$implicit;var b=O(4);z(2);Ef(b.getAccessLimitLevel(a))}},
Ryb=function(a){a&1&&(G(0,"span",20),R(1),H());if(a&2){a=O().$implicit;var b=O(3).$implicit;F("ngClass",Jf(2,Qyb,b.oldValue&&"title"==b.name));z(1);Ef(a)}},Syb=function(a){a&1&&(J(0),Q(1,Hyb,1,2,"b-user-display-name",18),Q(2,Iyb,2,1,"span",5),Q(3,Lyb,3,2,"span",5),Q(4,Oyb,3,2,"span",5),Q(5,Pyb,3,1,"ng-container",5),Q(6,Ryb,2,4,"span",19),L());a&2&&(a=O(3).$implicit,z(1),F("ngIf",a.isUser),z(1),F("ngIf","component"===a.name),z(1),F("ngIf","sloStartTime"===a.name),z(1),F("ngIf","sloEndTime"===a.name),
z(1),F("ngIf","access_limit"===a.name),z(1),F("ngIf",!a.isUser&&"component"!=a.name&&"sloStartTime"!=a.name&&"sloEndTime"!=a.name&&"access_limit"!=a.name))},Tyb=function(a){a&1&&(G(0,"div",10),Q(1,uyb,3,2,"label",11),Q(2,vyb,2,1,"ng-template",null,12,Zf),Q(4,Gyb,10,6,"ng-container",5),Q(5,Syb,7,6,"ng-container",5),H());if(a&2){var b=Cf(3);a=O(2).$implicit;z(1);F("ngIf","effort"===a.name)("ngIfElse",b);z(3);F("ngIf",a.oldValue);z(1);F("ngIf",a.newValue)}},Uyb=function(a){a&1&&(G(0,"span"),R(1,", "),
H())},Vyb=function(a,b){a&1&&(G(0,"span"),I(1,"b-user-display-name",14),Q(2,Uyb,2,0,"span",5),H());a&2&&(a=b.$implicit,b=b.last,z(1),F("email",a)("showEmail",!0),z(1),F("ngIf",!b))},Wyb=function(a){a&1&&(G(0,"span"),Q(1,Vyb,3,3,"span",21),H());a&2&&(a=O(4).$implicit,z(1),F("ngForOf",a.added))},Xyb=function(a){a&1&&(G(0,"span"),R(1,", "),H())},Yyb=function(a,b){a&1&&(G(0,"span")(1,"span"),R(2),H(),Q(3,Xyb,2,0,"span",5),H());a&2&&(a=b.$implicit,b=b.last,z(2),Ef(a),z(1),F("ngIf",!b))},Zyb=function(a){a&
1&&(G(0,"span"),Q(1,Yyb,4,2,"span",21),H());a&2&&(a=O(4).$implicit,z(1),F("ngForOf",a.added))},$yb=function(a){a&1&&(G(0,"div")(1,"label"),R(2),H(),Q(3,Wyb,2,1,"span",5),Q(4,Zyb,2,1,"span",5),H());a&2&&(a=O(3).$implicit,z(2),Df("+",a.displayName,":\u200b"),z(1),F("ngIf",a.isUser),z(1),F("ngIf",!a.isUser))},azb=function(a){a&1&&(G(0,"span"),R(1,", "),H())},bzb=function(a,b){a&1&&(G(0,"span"),I(1,"b-user-display-name",14),Q(2,azb,2,0,"span",5),H());a&2&&(a=b.$implicit,b=b.last,z(1),F("email",a)("showEmail",
!0),z(1),F("ngIf",!b))},czb=function(a){a&1&&(G(0,"span"),Q(1,bzb,3,3,"span",21),H());a&2&&(a=O(4).$implicit,z(1),F("ngForOf",a.removed))},dzb=function(a){a&1&&(G(0,"span"),R(1,", "),H())},ezb=function(a,b){a&1&&(G(0,"span")(1,"span"),R(2),H(),Q(3,dzb,2,0,"span",5),H());a&2&&(a=b.$implicit,b=b.last,z(2),Ef(a),z(1),F("ngIf",!b))},fzb=function(a){a&1&&(G(0,"span"),Q(1,ezb,4,2,"span",21),H());a&2&&(a=O(4).$implicit,z(1),F("ngForOf",a.removed))},gzb=function(a){a&1&&(G(0,"div")(1,"label"),R(2),H(),Q(3,
czb,2,1,"span",5),Q(4,fzb,2,1,"span",5),H());a&2&&(a=O(3).$implicit,z(2),Df("-",a.displayName,":\u200b"),z(1),F("ngIf",a.isUser),z(1),F("ngIf",!a.isUser))},hzb=function(a){a&1&&(G(0,"div",10),Q(1,$yb,5,3,"div",5),Q(2,gzb,5,3,"div",5),H());if(a&2){a=O(2).$implicit;var b=O();z(1);F("ngIf",a.added&&a.added.length&&b.isStringArray(a.added));z(1);F("ngIf",a.removed&&a.removed.length&&b.isStringArray(a.removed))}},izb=function(a){a&1&&vf(0)},kzb=function(a,b){a&1&&(G(0,"span"),Q(1,izb,1,0,"ng-container",
22),H());if(a&2){a=b.$implicit;b=b.last;var c=O(4).$implicit;O();var d=Cf(3);z(1);F("ngTemplateOutlet",d)("ngTemplateOutletContext",Lf(jzb,c,a,b))}},lzb=function(a){a&1&&(G(0,"div")(1,"label"),R(2),H(),Q(3,kzb,2,6,"span",21),H());a&2&&(a=O(3).$implicit,z(2),Df("+",a.displayName,":\u200b"),z(1),F("ngForOf",a.added))},mzb=function(a){a&1&&vf(0)},nzb=function(a,b){a&1&&(G(0,"span"),Q(1,mzb,1,0,"ng-container",22),H());if(a&2){a=b.$implicit;b=b.last;var c=O(4).$implicit;O();var d=Cf(3);z(1);F("ngTemplateOutlet",
d)("ngTemplateOutletContext",Lf(jzb,c,a,b))}},ozb=function(a){a&1&&(G(0,"div")(1,"label"),R(2),H(),Q(3,nzb,2,6,"span",21),H());a&2&&(a=O(3).$implicit,z(2),Df("-",a.displayName,":\u200b"),z(1),F("ngForOf",a.removed))},pzb=function(a){a&1&&(G(0,"div",10),Q(1,lzb,4,2,"div",5),Q(2,ozb,4,2,"div",5),H());if(a&2){a=O(2).$implicit;var b=O();z(1);F("ngIf",a.added&&a.added.length&&b.isLinkedItemArray(a.added));z(1);F("ngIf",a.removed&&a.removed.length&&b.isLinkedItemArray(a.removed))}},qzb=function(a){a&1&&
I(0,"b-formatted-date-time",17);a&2&&(a=O().$implicit,F("timestamp",a))},rzb=function(a){a&1&&(G(0,"span"),R(1," - "),H())},szb=function(a,b){a&1&&(G(0,"span"),I(1,"b-formatted-date-time",17),Q(2,rzb,2,0,"span",5),H());a&2&&(a=b.$implicit,b=b.last,z(1),F("timestamp",a),z(1),F("ngIf",!b))},tzb=function(a){a&1&&(G(0,"span"),Q(1,szb,3,2,"span",21),H());a&2&&(a=O(4).$implicit,z(1),F("ngForOf",a.oldValue.split(", ")))},uzb=function(a){a&1&&(G(0,"span"),R(1),H());a&2&&(a=O().$implicit,z(1),Ef(a))},xzb=
function(a){a&1&&(J(0),Q(1,qzb,1,1,"b-formatted-date-time",16),Q(2,tzb,2,1,"span",5),Q(3,uzb,2,1,"span",5),R(4," \u00a0 "),I(5,"span",13),R(6," \u00a0 "),L());if(a&2){a=O(3).$implicit;var b=O();z(1);F("ngIf",vzb(b,a,"oldValue"));z(1);F("ngIf",wzb(b,a,"oldValue"));z(1);F("ngIf",!vzb(b,a,"oldValue")&&!wzb(b,a,"oldValue"))}},yzb=function(a){a&1&&I(0,"b-formatted-date-time",17);a&2&&(a=O().$implicit,F("timestamp",a))},zzb=function(a){a&1&&(G(0,"span"),R(1," - "),H())},Azb=function(a,b){a&1&&(G(0,"span"),
I(1,"b-formatted-date-time",17),Q(2,zzb,2,0,"span",5),H());a&2&&(a=b.$implicit,b=b.last,z(1),F("timestamp",a),z(1),F("ngIf",!b))},Bzb=function(a){a&1&&(G(0,"span"),Q(1,Azb,3,2,"span",21),H());a&2&&(a=O(4).$implicit,z(1),F("ngForOf",a.newValue.split(", ")))},Czb=function(a){a&1&&(G(0,"span"),R(1),H());a&2&&(a=O().$implicit,z(1),Ef(a))},Dzb=function(a){a&1&&(J(0),Q(1,yzb,1,1,"b-formatted-date-time",16),Q(2,Bzb,2,1,"span",5),Q(3,Czb,2,1,"span",5),L());if(a&2){a=O(3).$implicit;var b=O();z(1);F("ngIf",
vzb(b,a,"newValue"));z(1);F("ngIf",wzb(b,a,"newValue"));z(1);F("ngIf",!vzb(b,a,"newValue")&&!wzb(b,a,"newValue"))}},Ezb=function(a){a&1&&(G(0,"div",10)(1,"label"),R(2),H(),Q(3,xzb,7,3,"ng-container",5),Q(4,Dzb,4,3,"ng-container",5),H());if(a&2){a=O(2).$implicit;var b=O();z(1);gf("title",b.customFieldName(a));z(1);Df("",b.customFieldName(a),":\u200b");z(1);F("ngIf",a.oldValue);z(1);F("ngIf",a.newValue)}},Fzb=function(a){a&1&&(G(0,"span",26),R(1,"Updated"),H())},Gzb=function(a){a&1&&(G(0,"span"),R(1,
"Deleted"),H())},Hzb=function(a){a&1&&(G(0,"span"),R(1),H());a&2&&(a=O().$implicit,z(1),Df("Edited (unknown status '",a.status,"')"))},Izb=function(a,b){a&1&&(J(0)(1,7),Q(2,Fzb,2,0,"span",23),Q(3,Gzb,2,0,"span",24),Q(4,Hzb,2,1,"span",25),L()());a&2&&(a=b.$implicit,z(1),F("ngSwitch",a.status),z(1),F("ngSwitchCase","ACTIVE"),z(1),F("ngSwitchCase","DELETED"))},Jzb=function(a){a&1&&(G(0,"div",10)(1,"label"),R(2),H(),Q(3,Izb,5,3,"ng-container",5),H());a&2&&(a=O(2).$implicit,z(2),Df("",a.displayName,":\u200b"),
z(1),F("ngIf",null==a.statusUpdateDiff?null:a.statusUpdateDiff.entityStatus))},Kzb=function(a){a&1&&(G(0,"div",10)(1,"label"),R(2),H(),G(3,"pre",27),R(4),S(5,"json"),H()());a&2&&(a=O(2).$implicit,z(2),Df("",a.displayName,":\u200b"),z(2),Ef(T(5,2,a)))},Lzb=function(a){a&1&&(J(0),I(1,"b-formatted-date-time",6),J(2,7),Q(3,Tyb,6,4,"div",8),Q(4,hzb,3,2,"div",8),Q(5,pzb,3,2,"div",8),Q(6,Ezb,5,4,"div",8),Q(7,Jzb,4,2,"div",8),Q(8,Kzb,6,4,"div",9),L()());a&2&&(a=O().$implicit,z(1),F("timestamp",a.timestamp),
z(1),F("ngSwitch",!0),z(1),F("ngSwitchCase","SINGLE_VALUE"===a.type),z(1),F("ngSwitchCase","COLLECTION"===a.type||"USER_COLLECTION"===a.type),z(1),F("ngSwitchCase","LINKED_COLLECTION"===a.type),z(1),F("ngSwitchCase","CUSTOM_FIELD"===a.type),z(1),F("ngSwitchCase","STATUS_UPDATE"===a.type))},Mzb=function(a,b){a&1&&(G(0,"div",4),Q(1,Lzb,9,7,"ng-container",5),H());a&2&&(a=b.$implicit,b=O(),z(1),F("ngIf","sloStartTime"===(null==a?void 0:a.name)||"sloEndTime"===(null==a?void 0:a.name)?b.activeSession.isInternalSession():
!0))},Nzb=function(a){a&1&&(G(0,"span"),R(1,", "),H())},Ozb=function(a){a&1&&(G(0,"span")(1,"b-issue-reference-widget",29),R(2),H(),Q(3,Nzb,2,0,"span",5),H());if(a&2){a=O().$implicit;var b=O(),c=b.change;b=b.isLast;z(1);F("href",c.href)("issueId",a);z(1);Ef(a);z(1);F("ngIf",!b)}},Pzb=function(a){a&1&&(G(0,"span"),R(1,", "),H())},Qzb=function(a){a&1&&(J(0),I(1,"hotlist-link",15),Q(2,Pzb,2,0,"span",5),L());if(a&2){a=O(2).$implicit;var b=O().isLast;z(1);F("id",a);z(1);F("ngIf",!b)}},Rzb=function(a){a&
1&&(G(0,"span"),R(1,", "),H())},Szb=function(a){a&1&&(G(0,"a",31),R(1),H(),Q(2,Rzb,2,0,"span",5));if(a&2){a=O(2).$implicit;var b=O(),c=b.isLast;F("href",b.change.href,Md);z(1);Ef(a);z(1);F("ngIf",!c)}},Tzb=function(a){a&1&&(Q(0,Qzb,3,2,"ng-container",11),Q(1,Szb,3,3,"ng-template",null,30,Zf));if(a&2){var b=Cf(2);a=O(2).diff;var c=O();F("ngIf",c.isHotlistDiff(a))("ngIfElse",b)}},Uzb=function(a){a&1&&(J(0),Q(1,Ozb,4,4,"span",11),Q(2,Tzb,3,2,"ng-template",null,28,Zf),L());if(a&2){var b=Cf(3);a=O().diff;
var c=O();z(1);F("ngIf",c.isIssueDiff(a))("ngIfElse",b)}},Vzb=function(a,b){a&1&&Q(0,Uzb,4,2,"ng-container",5);a&2&&F("ngIf",b.change.value)},Wzb=function(a){a&1&&(G(0,"span"),R(1,"Estimated Effort (disabled)"),H())},Xzb=function(a,b){a&1&&(I(0,"b-user-membership-chip",29),S(1,"async"));if(a&2){a=b.ngIf;b=O(2);var c;F("user",b.event.userPerformingActionUser)("email",a)("teamId",null!==(c=T(1,3,b.teamId$))&&void 0!==c?c:"")}},Yzb=function(a){a&1&&I(0,"b-user-display",30);a&2&&(a=O(2),F("model",a.event.userPerformingActionUser))},
Zzb=function(a){a&1&&vf(0)},$zb=function(a){a&1&&(J(0),G(1,"span",31),Q(2,Zzb,1,0,"ng-container",32),H(),G(3,"onedev-hovercard",null,33),I(5,"b-issue-person-card",34),H(),L());if(a&2){var b=Cf(4);O();var c=Cf(11);a=O();z(1);F("onedevHovercardTrigger",b);z(1);F("ngTemplateOutlet",c);z(3);F("email",a.getUserEmailIfAvailable())}},aAb=function(a){a&1&&(G(0,"span",35),R(1),H());a&2&&(a=O(2),z(1),Df(" <",ai(a.event.userPerformingActionUser),"> "))},bAb=function(a){if(a&1){var b=v();G(0,"span")(1,"a",36);
M("click",function(c){w(b);var d=O(2);return y(d.scrollCommentIntoView(c,d.event.commentNumber))});R(2);H()()}a&2&&(a=O(2),z(1),F("routerLinkObj",a.getCommentNumberLink(a.event.commentNumber)),gf("aria-label","Comment number"+a.event.commentNumber),z(1),Df(" #",a.event.commentNumber,""))},dAb=function(a){if(a&1){var b=v();G(0,"button",37);M("click",function(){w(b);var c=O(2);return y(cAb(c.issueCommentDialogsService,c.issueId,c.deobfuscatedEvent||c.event))});H()}},eAb=function(a){a&1&&I(0,"b-restricted-chip",
38);if(a&2){a=O(2);var b,c;F("label",a.getRestrictedLabel())("retention",null!==(b=a.event.commentRetention)&&void 0!==b?b:void 0)("retentionState",null!==(c=a.event.commentRetentionState)&&void 0!==c?c:void 0)}},gAb=function(a){a&1&&(I(0,"b-actions-menu",39,40),S(2,"async"));if(a&2){a=O(2);var b;F("buttonLabel","Comment actions")("menuItems",null!==(b=T(2,2,a.commentActionMenuItems$))&&void 0!==b?b:If(4,fAb))}},hAb=function(a){a&1&&(G(0,"div",41),I(1,"b-tagged-text",42),H());a&2&&(a=O(2),z(1),F("texts",
a.event.taggedSummary))},iAb=function(a){a&1&&(I(0,"b-issue-event-details",43),S(1,"async"),S(2,"async"),S(3,"async"));if(a&2){a=O().ngIf;var b=O(),c,d;F("diffs",null!==(c=T(1,4,b.preEventDiffs$))&&void 0!==c?c:If(10,fAb))("customFieldMap",a.customFieldMap)("effortSpecName",null==(d=T(2,6,b.effortSpec$))?null:d.name)("effortEnabled",!!T(3,8,b.isEffortEnabled$))}},jAb=function(a){a&1&&(G(0,"div",44),R(1," Comment has been deleted. "),H())},kAb=function(a){if(a&1){var b=v();G(0,"b-restricted-comment-placeholder",
45);M("onConfirm",function(){w(b);var c=O(2);return y(c.loadRestrictedComment())});S(1,"async");H()}a&2&&(a=O(2),F("disabled",!T(1,1,a.mayReadPii$)))},lAb=function(a){a&1&&I(0,"b-note-container",46);a&2&&(a=O(2),F("issueId",a.issueId)("issueAccessLevel",a.issueAccessLevel)("note",a.deobfuscatedEvent||a.event)("formattingMode",a.formattingMode))},mAb=function(a){if(a&1){var b=v();J(0);I(1,"b-summarized-note-container",46);G(2,"button",47);M("click",function(){w(b);var c=O(2);c.wasSummarized=!0;c.isSummarized=
!c.isSummarized;return y()});I(3,"mat-icon",48);R(4,"Expand details");H();L()}a&2&&(a=O(2),z(1),F("issueId",a.issueId)("issueAccessLevel",a.issueAccessLevel)("note",a.deobfuscatedEvent||a.event)("formattingMode",a.formattingMode))},nAb=function(a){if(a&1){var b=v();J(0);G(1,"button",47);M("click",function(){w(b);var c=O(2);c.wasSummarized=!0;c.isSummarized=!c.isSummarized;return y()});I(2,"mat-icon",49);R(3,"Collapse details");H();L()}},oAb=function(a){a&1&&I(0,"b-formatted-date-time",50);a&2&&(a=
O(2),F("timestamp",a.event.modifiedDate))},pAb=function(a){a&1&&I(0,"mat-icon",58)},qAb=function(a){a&1&&I(0,"mat-icon",59)},rAb=function(a,b){a&1&&(G(0,"span"),R(1),H());a&2&&(a=b.ngIf,z(1),Ef(a))},sAb=function(a){a&1&&I(0,"b-comment-reaction-responders-card",60);a&2&&(a=O(3),F("reactionState",null==a.event.commentReactions?null:a.event.commentReactions.get(a.ReactionType.UPVOTE))("issueId",a.issueId)("commentNumber",a.event.commentNumber))},xAb=function(a){if(a&1){var b=v();G(0,"div",51)(1,"button",
52,53);M("click",function(){w(b);var d=O(2);return y(tAb(d))});S(3,"async");S(4,"async");S(5,"async");Q(6,pAb,1,0,"mat-icon",54);Q(7,qAb,1,0,"mat-icon",55);Q(8,rAb,2,1,"span",0);S(9,"async");H();G(10,"onedev-hovercard",null,56);Q(12,sAb,1,3,"b-comment-reaction-responders-card",57);S(13,"async");H()()}if(a&2){var c=Cf(11);a=O(2);z(1);F("ariaLabel",uAb(a,a.ReactionType.UPVOTE))("ngClass",Jf(20,vAb,T(3,10,a.noUpvoteReactions$)))("onedevHovercardTrigger",c)("onedevHovercardConfig",a.commentReactionsHovercardConfig)("onedevHovercardActive",
!!T(5,14,a.showCommentReactionHovercard$));gf("aria-disabled",!T(4,12,a.hasAclToUpvoteReact$)||a.commentReactionIsSaving);z(5);F("ngIf",!wAb(a,a.ReactionType.UPVOTE));z(1);F("ngIf",wAb(a,a.ReactionType.UPVOTE));z(1);F("ngIf",T(9,16,a.upvoteReactionCountDisplayString$));z(4);F("ngIf",!T(13,18,a.noUpvoteReactions$))}},yAb=function(a){if(a&1){var b=v();G(0,"a",64);M("click",function(){w(b);var c=O(3);return y(c.showCommentHistoryDialog(c.event.commentNumber))});R(1," Show History ");H()}},zAb=function(a){a&
1&&(G(0,"div",61),I(1,"b-comment-edit-timestamp-message",62),Q(2,yAb,2,0,"a",63),H());a&2&&(a=O(2),z(1),F("event",a.event),z(1),F("ngIf",a.commentHistoryEnabled))},AAb=function(a){a&1&&(I(0,"b-issue-event-details",43),S(1,"async"),S(2,"async"),S(3,"async"));if(a&2){a=O().ngIf;var b=O(),c,d;F("diffs",null!==(c=T(1,4,b.postEventDiffs$))&&void 0!==c?c:If(10,fAb))("customFieldMap",a.customFieldMap)("effortSpecName",null==(d=T(2,6,b.effortSpec$))?null:d.name)("effortEnabled",!!T(3,8,b.isEffortEnabled$))}},
BAb=function(a,b){a&1&&(G(0,"div",67),I(1,"b-attachment-viewer",68),H());a&2&&(a=b.$implicit,b=O(3),zf("id","attachment",a.attachmentId,""),z(1),F("issueId",b.issueId)("attachment",a)("attachmentUploader",b.getUserEmailIfAvailable()))},CAb=function(a){a&1&&(G(0,"div",65),Q(1,BAb,2,4,"div",66),H());a&2&&(a=O(2),z(1),F("ngForOf",a.event.attachments))},EAb=function(a){a&1&&(J(0),G(1,"div",1),I(2,"b-user-image",2),H(),G(3,"div",3)(4,"h4",4),S(5,"async"),Q(6,Xzb,2,5,"b-user-membership-chip",5),Q(7,Yzb,
1,1,"ng-template",null,6,Zf),Q(9,$zb,6,3,"ng-container",7),Q(10,aAb,2,1,"ng-template",null,8,Zf),Q(12,bAb,3,3,"span",0),Q(13,dAb,1,0,"button",9),S(14,"async"),G(15,"span",10),Q(16,eAb,1,3,"b-restricted-chip",11),I(17,"b-formatted-date-time",12),Q(18,gAb,3,5,"b-actions-menu",13),H()(),I(19,"div",14),Q(20,hAb,2,1,"div",15),Q(21,iAb,4,11,"b-issue-event-details",16),S(22,"async"),I(23,"div",14),G(24,"div",17)(25,"div",18),Q(26,jAb,2,0,"div",19),Q(27,kAb,2,3,"b-restricted-comment-placeholder",20),G(28,
"div",21),Q(29,lAb,1,4,"b-note-container",22),Q(30,mAb,5,4,"ng-container",0),Q(31,nAb,4,0,"ng-container",0),H(),G(32,"div",23)(33,"div",24),Q(34,oAb,1,1,"b-formatted-date-time",25),S(35,"async"),H(),Q(36,xAb,14,22,"div",26),H()(),Q(37,zAb,3,2,"div",27),H(),Q(38,AAb,4,11,"b-issue-event-details",16),S(39,"async"),I(40,"div",14),Q(41,CAb,2,1,"div",28),I(42,"div",14),H(),L());if(a&2){var b=Cf(8),c=Cf(11);a=O();z(2);F("email",a.getUserEmailIfAvailable());z(2);gf("aria-label",T(5,23,a.ariaLabelHeading$));
z(2);F("ngIf",a.enableTeamAnnotations&&a.getUserEmailIfAvailable())("ngIfElse",b);z(3);F("ngIf",a.isNonObfuscatedEmail(a.getUserEmailIfAvailable()))("ngIfElse",c);z(3);F("ngIf",a.isCommentEvent(a.event));z(1);F("ngIf",T(14,25,a.canEditComment$)&&!Wr(a));z(3);F("ngIf",a.isRestricted());z(1);F("timestamp",a.event.modifiedDate);z(1);F("ngIf",a.isCommentEvent(a.event));z(2);F("ngIf",a.event.taggedSummary&&a.event.taggedSummary.length);z(1);F("ngIf","FULL_HISTORY"===T(22,27,a.showFullHistoryFromFiltering$));
z(5);F("ngIf",a.isDeleted());z(1);F("ngIf",Wr(a)&&!a.isDeleted());z(2);F("ngIf",DAb(a)&&!Wr(a)&&!a.isDeleted()&&!a.isSummarized);z(1);F("ngIf",DAb(a)&&!Wr(a)&&!a.isDeleted()&&a.isSummarized);z(1);F("ngIf",a.wasSummarized&&!a.isSummarized);z(3);F("ngIf",T(35,29,a.isShowingCommentTimestamp$));z(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&&
DAb(a)&&!a.isDeleted()&&!Wr(a)&&!h;F("ngIf",d);z(1);F("ngIf",a.isCommentEvent(a.event)&&0<(a.event.commentVersion||0)&&!Wr(a));z(1);F("ngIf","FULL_HISTORY"===T(39,31,a.showFullHistoryFromFiltering$));z(3);F("ngIf",null==a.event?null:null==a.event.attachments?null:a.event.attachments.length)}},FAb=function(a){a&1&&(G(0,"aside",3),I(1,"b-spinner"),H())},GAb=function(a){a&1&&(J(0),R(1,"s"),L())},HAb=function(a){if(a&1){var b=v();J(0);G(1,"div",6)(2,"button",7);M("click",function(){w(b);var g=O().index,
h=O(),l,q,x=null!=(q=null==(l=h.foldedCommentsCounts.get(g))?void 0:l.eventFoldedCount)?q:0;for(l=0;l<x&&((ul(h.internalEvents[g-l])||vl(h.internalEvents[g-l]))&&h.eventDisplayMode.set(g-l,"full"),0!==g-l);l++);h.foldedCommentsCounts.delete(g);return y()});R(3);Q(4,GAb,2,0,"ng-container",4);H();I(5,"div",8);H();L()}if(a&2){a=O().index;var c=O(),d,e;z(3);Df(" ",null==(d=c.foldedCommentsCounts.get(a))?null:d.commentFoldedCount," update");z(1);F("ngIf",1<(null!==(e=null==(e=c.foldedCommentsCounts.get(a))?
null:e.commentFoldedCount)&&void 0!==e?e:1))}},IAb=function(a){a&1&&(G(0,"div",9),I(1,"b-history-event",10),H());if(a&2){var b=O();a=b.$implicit;b=b.index;var c=O();z(1);F("issueId",c.internalIssueId)("issueAccessLevel",c.issueAccessLevel)("event",a)("isSummarized",c.eventDisplayMode.get(b)===c.eventDisplayModes.SUMMARIZED)}},KAb=function(a,b){a&1&&(J(0),Q(1,HAb,6,2,"ng-container",4),Q(2,IAb,2,4,"div",5),L());if(a&2){a=b.$implicit;b=b.index;var c=O(),d;z(1);F("ngIf",c.enableCommentFiltering&&c.foldedCommentsCounts.has(b)&&
0<(null!==(d=null==(d=c.foldedCommentsCounts.get(b))?null:d.commentFoldedCount)&&void 0!==d?d:0));z(1);if(d=c.internalIssueId)if(c.enableCommentFiltering)d=JAb(c.eventDisplayMode.get(b));else{var e,g;d=(c.showFullHistory||a.isMajorEvent)&&(ul(a)&&!!a.unlinkifiedComment||vl(a)||0<(null==(e=a.preDiffs)?void 0:e.length)||0<(null==(g=a.postDiffs)?void 0:g.length))}F("ngIf",d)}},LAb=function(a){a&1&&(G(0,"aside",3),I(1,"b-spinner"),H())},MAb=function(a){if(a&1){var b=v();G(0,"div",12)(1,"b-recaptcha",
13);M("onUpdate",function(c){w(b);var d=O(4);return y(d.recaptchaResponse$.next(c))});H()()}},OAb=function(a){if(a&1){var b=v();G(0,"span")(1,"mat-checkbox",14);M("change",function(){w(b);var c=O(4);return y(NAb(c))});S(2,"async");S(3,"async");R(4," CC Me ");H()()}a&2&&(a=O(4),z(1),F("checked",!!T(2,2,a.autoCcOnComment$))("disabled",!!T(3,4,a.isCurrentUserCCd$)))},PAb=function(a){a&1&&(G(0,"mat-checkbox",17),R(1," CC Me "),H());a&2&&F("checked",!0)("disabled",!0)},QAb=function(a){a&1&&(G(0,"span",
15),Q(1,PAb,2,2,"mat-checkbox",16),S(2,"async"),H());a&2&&(a=O(4),z(1),F("ngIf",T(2,1,a.isCurrentUserCCd$)))},RAb=function(a){if(a&1){var b=v();G(0,"b-markdown-toggle",18);M("change",function(c){w(b);var d=O().ngIf;return y(d.formattingMode=c)});H()}a&2&&(a=O().ngIf,F("initialValue",a.formattingMode))},TAb=function(a,b){if(a&1){var c=v();J(0);G(1,"b-comment-box",3,4);M("onHotkey",function(){w(c);var l=Cf(2);return y(SAb(l,"editpage-hotkey"))})("onChange",function(){w(c);var l=O(3);return y(l.saveCommentDraft())})("onFocusEvent",
function(){w(c);var l=O(3);return y(l.wasFocused=!0)})("onSubmit",function(){w(c);var l=O(3);return y(l.submitCommentBox())})("onRestrict",function(){w(c);var l=O(3);return y(l.showNewContentJudgementDialog())})("onPlusOneTextEntered",function(l){w(c);var q=O(3);q.commentButtonStyle=q.isPlusOneCalloutEnabled()&&l?"hairline":"fill";return y()});S(3,"async");S(4,"async");S(5,"async");S(6,"async");Q(7,MAb,2,0,"div",5);S(8,"async");G(9,"div",6)(10,"b-button",7);M("onAction",function(){w(c);var l=O(3);
return y(l.submitCommentBox())})("click",function(){w(c);var l=O(3);return y(l.submitCommentBox())});S(11,"async");R(12," Comment ");H();G(13,"div",8);Q(14,OAb,5,6,"span",0);S(15,"async");S(16,"async");Q(17,QAb,3,3,"span",9);S(18,"async");S(19,"async");Q(20,RAb,1,1,"b-markdown-toggle",10);S(21,"async");H();I(22,"b-access-level-indicator",11);S(23,"async");H()();L()}if(a&2){a=b.ngIf;b=O(2).ngIf;var d=O(),e,g,h;z(1);F("hotkey",d.HOTKEYS.FOCUS_COMMENT_BOX)("supportsPreview",!0)("issueId",b.issueId)("comment",
a)("componentId",b.componentId)("placeholder",null!==(e=T(3,17,d.commentPlaceholderText$))&&void 0!==e?e:void 0)("judgementForNewContent",null!==(g=T(4,19,d.judgementForNewContent$))&&void 0!==g?g:void 0)("audience",null!==(h=T(5,21,d.audience$))&&void 0!==h?h:void 0)("disabled",!1===T(6,23,d.commentBoxEnabled$))("isPlusOneCalloutEnabled",d.isPlusOneCalloutEnabled());z(6);F("ngIf",T(8,25,d.showRecaptcha$));z(3);F("format",d.commentButtonStyle)("disabled",!1===T(11,27,d.commentButtonEnabled$));z(4);
F("ngIf",!T(15,29,d.isCurrentUserCCd$)&&T(16,31,d.hasAclToEdit$));z(3);F("ngIf",T(18,33,d.isCurrentUserCCd$)||!T(19,35,d.hasAclToEdit$));z(3);F("ngIf",T(21,37,d.hasAclToComment$));z(2);F("accessLevel",T(23,39,d.accessLevel$))}},VAb=function(a){a&1&&(J(0),G(1,"h3",1),R(2,"Add comment"),H(),G(3,"div",2),S(4,"async"),Q(5,TAb,24,41,"ng-container",0),S(6,"async"),H(),L());a&2&&(a=O(2),z(3),F("ngClass",Kf(6,UAb,T(4,2,a.empty$),!a.wasFocused)),z(2),F("ngIf",T(6,4,a.comment$)))},WAb=function(a,b){a&1&&(J(0),
Q(1,VAb,7,9,"ng-container",0),L());a&2&&(a=b.ngIf,z(1),F("ngIf",!a.isDeleted))},XAb=function(a,b){a&1&&(I(0,"b-note-container",25),S(1,"async"));if(a&2){a=b.ngIf;b=O().ngIf;var c=O();F("issueId",b)("issueAccessLevel",T(1,4,c.canonicalAccessLevel$))("formattingMode",a.formattingMode)("note",a)}},YAb=function(a,b){a&1&&(G(0,"div",26),R(1),H());a&2&&(a=b.ngIf,b=O(2),tf("chippy status-",a,""),F("title",b.STATUS_FULL_TEXT[a]),z(1),Df(" ",b.STATUS_TERSE[a]," "))},ZAb=function(a,b){a&1&&(J(0),I(1,"span",
27),G(2,"span",28),R(3),H(),L());a&2&&(a=b.ngIf,z(3),Ff(" ",a.length," duplicate",1===a.length?"":"s"," "))},$Ab=function(a,b){a&1&&(J(0),I(1,"span",27),G(2,"div",29)(3,"span",30),R(4),H(),I(5,"mat-icon",31),H(),L());a&2&&(a=b.ngIf,z(2),zf("matTooltip","",a.voteCount," votes on this issue"),z(2),Ef(9999<a.voteCount?"9999+":a.voteCount))},aBb=function(a,b){a&1&&(J(0),I(1,"span",27),G(2,"div",32)(3,"span",30),R(4),H(),I(5,"mat-icon",33),H(),L());a&2&&(a=b.ngIf,z(2),zf("matTooltip","",a.length," comments on this issue"),
z(2),Ef(a.length))},bBb=function(a,b){a&1&&(J(0),I(1,"span",27)(2,"b-formatted-date-time",34),L());a&2&&(a=b.ngIf,z(2),F("timestamp",a/1E3))},cBb=function(a,b){if(a&1){var c=v();G(0,"button",35);M("click",function(){var d=w(c).$implicit;O();var e=Cf(31);O().reject(d);var g;null==(g=e.trigger)||g.close();return y()});G(1,"span");R(2);H()()}a&2&&(a=b.$implicit,b=O(2),z(2),Ef(b.REJECT_REASON_TO_DISPLAY[a]))},eBb=function(a,b){if(a&1){var c=v();G(0,"div",5)(1,"div",6)(2,"a",7)(3,"span",8);R(4);S(5,"async");
H();I(6,"mat-icon",9);H();Q(7,XAb,2,6,"b-note-container",10);S(8,"async");G(9,"div",11);I(10,"b-issue-id-picker",12);S(11,"async");S(12,"async");S(13,"async");I(14,"b-issue-priority-display",13);S(15,"async");Q(16,YAb,2,5,"div",14);S(17,"async");Q(18,ZAb,4,2,"ng-container",15);S(19,"async");Q(20,$Ab,6,2,"ng-container",15);S(21,"async");Q(22,aBb,6,2,"ng-container",15);S(23,"async");Q(24,bBb,3,1,"ng-container",15);S(25,"async");H()();G(26,"div",16)(27,"button",17);M("click",function(){w(c);var d=O();
return y(d.accept())});I(28,"mat-icon",18);R(29," Accept ");H();G(30,"split-button",19,20)(32,"button",21);M("click",function(){w(c);var d=O();return y(d.reject())});I(33,"mat-icon",22);R(34," Reject ");H();G(35,"div",23);Q(36,cBb,3,1,"button",24);H()()()()}a&2&&(a=b.ngIf,b=O(),z(2),F("href",b.getIssueLink(a),Md),z(2),Ef(T(5,18,b.canonicalTitle$)),z(3),F("ngIf",T(8,20,b.canonicalDescription$)),z(3),F("issueId",a)("enableHotkeys",!1)("componentId",T(11,22,b.canonicalComponentId$))("issueTitle",T(12,
24,b.canonicalTitle$))("isExternalIssue",!!T(13,26,b.isCanonicalInExternalComponent$)),z(4),F("issuePriority",T(15,28,b.canonicalPriority$)),z(2),F("ngIf",T(17,30,b.statusForChip$)),z(2),F("ngIf",T(19,32,b.canonicalDuplicates$)),z(2),F("ngIf",Jf(40,dBb,T(21,34,b.canonicalVoteCount$)||0)),z(2),F("ngIf",T(23,36,b.canonicalComments$)),z(2),F("ngIf",T(25,38,b.canonicalCreateMicros$)),z(3),F("disabled",b.isSaving),z(3),F("disabled",b.isSaving),z(2),F("disabled",b.isSaving),z(4),F("ngForOf",b.REJECT_REASONS))},
fBb=function(a){a&1&&(I(0,"canonical-recommendation",9,10),S(2,"async"));if(a&2){var b=Cf(1);a=O().$implicit;qf("hidden",!T(2,3,b.show$));F("currentIssueId",a)}},gBb=function(a){if(a&1){var b=v();G(0,"button",17);M("click",function(){w(b);var c=O(3);return y(c.userRequestedSummary=!0)});R(1," Generate ");H()}},hBb=function(a,b){a&1&&(J(0),G(1,"p",19),R(2),H(),G(3,"div",20)(4,"button",21),R(5," Accept "),H(),G(6,"button",21),R(7," Reject "),H()(),L());a&2&&(a=b.ngIf,z(2),Ef(a))},iBb=function(a){a&
1&&(J(0),Q(1,hBb,8,1,"ng-container",18),S(2,"async"),L());if(a&2){O();var b=Cf(8);a=O(2);z(1);F("ngIf",T(2,2,a.commentThreadSummary$))("ngIfElse",b)}},jBb=function(a){a&1&&I(0,"b-spinner")},kBb=function(a){a&1&&(G(0,"div",11),I(1,"mat-icon",12),G(2,"div",13)(3,"h4",14),R(4," ML-generated summary "),H(),Q(5,gBb,2,0,"button",15),Q(6,iBb,3,4,"ng-container",1),Q(7,jBb,1,0,"ng-template",null,16,Zf),H()());a&2&&(a=O(2),z(5),F("ngIf",!a.userRequestedSummary),z(1),F("ngIf",a.userRequestedSummary))},lBb=function(a,
b){a&1&&(J(0),I(1,"issue-description-area",4),Q(2,fBb,3,5,"canonical-recommendation",5),S(3,"async"),I(4,"status-update",6),Q(5,kBb,9,2,"div",7),I(6,"b-issue-description",8),L());a&2&&(a=b.$implicit,b=O(),z(1),F("id",a),z(1),F("ngIf",b.enableIDPCanonicalRecommendation&&T(3,5,b.issuePermissionService.hasAclToEdit$)),z(2),F("issueId",a),z(1),F("ngIf",b.enableLamdaDemo),z(1),F("id",a))},mBb=function(a,b){a&1&&(I(0,"issue-summary-card",22,23),S(2,"async"));if(a&2){a=b.$implicit;var c=Cf(1);qf("hidden",
!T(2,3,c.shouldShowSummaryCard$));F("issueId",a)}},nBb=function(a){a&1&&I(0,"issue-event-list",26);a&2&&(a=O().$implicit,F("id",a))},oBb=function(a){a&1&&I(0,"issue-event-list",26);a&2&&(a=O().$implicit,F("id",a))},pBb=function(a,b){a&1&&(G(0,"div",24),I(1,"b-event-stream-header"),Q(2,nBb,1,1,"issue-event-list",25),I(3,"b-post-comment",6),Q(4,oBb,1,1,"issue-event-list",25),H());a&2&&(a=b.$implicit,b=O(),qf("recent-first",b.showRecentEventsFirst),z(2),F("ngIf",!b.showRecentEventsFirst),z(1),F("issueId",
a),z(1),F("ngIf",b.showRecentEventsFirst))},qBb=function(a){a&1&&(G(0,"section")(1,"h4"),I(2,"mat-icon",2),R(3),H(),I(4,"inline-images-summary",3)(5,"br")(6,"hr",4),H());if(a&2){a=O(2).ngIf;var b=O().ngIf;z(3);Df(" Screenshots (",a.length,") ");z(1);F("issueId",b.issueId)("imageLinks",a)("paginate",!0)}},rBb=function(a){a&1&&(J(0),Q(1,qBb,7,4,"section",1),L());a&2&&(a=O().ngIf,z(1),F("ngIf",a.length))},sBb=function(a){a&1&&(J(0),Q(1,rBb,2,1,"ng-container",1),L());a&2&&(a=O(2),z(1),F("ngIf",a.isInternalSession))},
tBb=function(a){a&1&&(G(0,"section")(1,"h4"),I(2,"mat-icon",5),R(3),H(),I(4,"b-mentioned-issues",6)(5,"br")(6,"hr",4),H());if(a&2){a=O().ngIf;var b=O().ngIf;z(3);Df(" Mentioned issues (",a.length,") ");z(1);F("issueReferences",a)("currentIssueId",b.issueId)("paginate",!0)}},uBb=function(a,b){a&1&&(J(0),Q(1,tBb,7,4,"section",1),L());a&2&&(a=b.ngIf,z(1),F("ngIf",a.length))},vBb=function(a){a&1&&(G(0,"section")(1,"h4"),I(2,"mat-icon",7),R(3),H(),I(4,"related-links-widget",8),H());if(a&2){a=O().ngIf;
var b=O().ngIf;z(3);Df(" Links (",a.length,") ");z(1);F("links",a)("issueId",b.issueId)("paginate",!0)}},wBb=function(a,b){a&1&&(J(0),Q(1,vBb,5,4,"section",1),L());a&2&&(a=b.ngIf,z(1),F("ngIf",a.length))},xBb=function(a){a&1&&(J(0),Q(1,sBb,2,1,"ng-container",1),S(2,"async"),Q(3,uBb,2,1,"ng-container",1),S(4,"async"),Q(5,wBb,2,1,"ng-container",1),S(6,"async"),L());a&2&&(a=O(),z(1),F("ngIf",T(2,3,a.imageLinks$)),z(2),F("ngIf",T(4,5,a.issueReferences$)),z(2),F("ngIf",T(6,7,a.otherLinks$)))},yBb=function(a){a&
1&&(G(0,"div",4),I(1,"img",5),G(2,"p",6),R(3," This issue has no TODOs "),H(),G(4,"p",7),R(5," Buganizer uses a separate service to look for TODOs in the codebase. It didn't find any. "),G(6,"a",8),R(7,"Learn more"),H()()());a&2&&(a=O(3),z(1),F("src",a.ROBOT_SLEEPING,Md))},zBb=function(a,b){a&1&&I(0,"b-package-mentions-listing",12);if(a&2){a=b.$implicit;b=O(3).ngIf;var c=O().ngIf,d=O();F("issueId",c)("packageMentionSet",a)("displayPackageName",d.displayPackageNames(b))}},ABb=function(a){if(a&1){var b=
v();J(0);Q(1,zBb,1,3,"b-package-mentions-listing",9);G(2,"p",10)(3,"a",11);M("click",function(){w(b);var c=O(4);return y(c.trackSqueegeeClick())});R(4,"View in Squeegee");H()();L()}a&2&&(a=O(2).ngIf,z(1),F("ngForOf",a.mentions.packageMentionSet),z(2),F("href",a.link,Md))},BBb=function(a){a&1&&Q(0,ABb,5,2,"ng-container",1);a&2&&(a=O().ngIf,F("ngIf",a.mentions))},CBb=function(a,b){a&1&&(J(0),Q(1,yBb,8,1,"div",2),Q(2,BBb,1,1,"ng-template",null,3,Zf),L());if(a&2){a=b.ngIf;var c=Cf(3);O(2);z(1);F("ngIf",
!(a.mentions&&0<a.mentions.totalMentions))("ngIfElse",c)}},DBb=function(a){a&1&&(J(0),Q(1,CBb,4,2,"ng-container",1),S(2,"async"),L());a&2&&(a=O(),z(1),F("ngIf",T(2,1,a.codeMentionsState$)))},EBb=function(a){a&1&&I(0,"b-spinner",6);a&2&&F("large",!0)},FBb=function(a){a&1&&I(0,"b-hotlist-grid",7);a&2&&(a=O(),F("hotlists",a.hotlists))},GBb=function(a){a&1&&(G(0,"div",9),I(1,"b-spinner"),G(2,"span"),R(3),H()());a&2&&(a=O(),z(3),Df(" Searching",a.query?" for "+a.query:"","..."))},HBb=function(a){a&1&&
(J(0),R(1," No issues match your search. "),L())},IBb=function(a){a&1&&R(0," Use search box to find issues. ")},KBb=function(a){a&1&&(G(0,"a",16),R(1," Click to see all open issues"),H());a&2&&F("queryParams",If(1,JBb))},LBb=function(a){a&1&&(G(0,"a",17),R(1,"Learn more about searching"),H())},MBb=function(a){a&1&&(G(0,"div",10),I(1,"img",11),Q(2,HBb,2,0,"ng-container",12),Q(3,IBb,1,0,"ng-template",null,13,Zf),Q(5,KBb,2,2,"a",14),S(6,"async"),Q(7,LBb,2,0,"ng-template",null,15,Zf),H());if(a&2){var b=
Cf(4),c=Cf(8);a=O();var d;F("bFocus",!0);z(1);F("src",a.SPACE_EMPTY_STATE,Md);z(1);F("ngIf",a.query)("ngIfElse",b);z(3);F("ngIf",null!==(d=T(6,6,a.currentTracker.inTracker$))&&void 0!==d?d:!1)("ngIfElse",c)}},OBb=function(a){if(a&1){var b=v();G(0,"div",18)(1,"b-issues-grid",19);M("init",function(c){w(b);var d=O();return y(d.resultsGrid=c)})("columnsChange",function(c){w(b);var d=O();return y(d.issueColumns=c)})("columnsChange",function(){w(b);O();NBb();return y()})("sortChange",function(c){w(b);var d=
O();return y(d.setSort(c.field,c.direction))})("rowClick",function(c){w(b);var d=O();return y(d.goToIssue(c.id,c.isRead,c.event))})("onNextPage",function(){w(b);var c=O();return y(Xr(c,c.page,1))})("onPrevPage",function(){w(b);var c=O();return y(Xr(c,c.page,-1))});H()()}a&2&&(a=O(),z(1),F("searchResults",a.searchResults)("focusedRowIndex",a.focusedRowIndex)("columns",a.issueColumns)("enableColumnSaving",!!a.isColumnSaveEnabled)("sort",a.getSort()))},PBb=function(a){a&1&&(G(0,"div",9),I(1,"b-spinner"),
R(2," Loading recent issues... "),H())},QBb=function(a){a&1&&(G(0,"div",10),R(1," No recent issues found. "),H())},RBb=function(a){if(a&1){var b=v();G(0,"div",11)(1,"b-issues-grid",12);M("init",function(c){w(b);var d=O();return y(d.resultsGrid=c)})("columnsChange",function(c){w(b);var d=O();return y(d.issueColumns=c)})("sortChange",function(c){w(b);var d=O();return y(d.setSort(c.field,c.direction))})("rowClick",function(c){w(b);var d=O();return y(d.goToIssue(c.id,c.isRead,c.event))})("onNextPage",
function(){w(b);var c=O(),d;return y(c.goToPage((null!==(d=c.page)&&void 0!==d?d:0)+1))})("onPrevPage",function(){w(b);var c=O(),d;return y(c.goToPage((null!==(d=c.page)&&void 0!==d?d:0)-1))});H()()}a&2&&(a=O(),z(1),F("searchResults",a.searchResults)("focusedRowIndex",a.focusedRowIndex)("columns",a.issueColumns)("enableColumnSaving",!!a.isColumnSaveEnabled)("sort",a.getSort()))},SBb=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})},TBb=function(a){a&1&&(G(0,"div",6)(1,"h2"),R(2,"Manage SLOs"),H(),G(3,"p",7),R(4,"You have admin rights for all SLOs listed below."),H()())},UBb=function(a){a&1&&I(0,"b-spinner",8);a&2&&F("large",!0)},VBb=function(a){a&1&&(G(0,"div",11),R(1,"You have no Active SLOs"),H())},WBb=function(a){a&1&&I(0,"b-slo-grid",12);a&2&&(a=O(2),F("slos",a.activeSlos))},XBb=function(a){a&
1&&(J(0),Q(1,VBb,2,0,"div",9),Q(2,WBb,1,1,"b-slo-grid",10),L());a&2&&(a=O(),z(1),F("ngIf",!a.activeSlos.length),z(1),F("ngIf",a.activeSlos.length))},YBb=function(a){a&1&&(G(0,"p",19),R(1," You have no archived SLOs. "),H())},ZBb=function(a){a&1&&I(0,"b-slo-grid",12);a&2&&(a=O(3),F("slos",a.archivedSlos))},$Bb=function(a){a&1&&(G(0,"div",17),Q(1,YBb,2,0,"p",18),Q(2,ZBb,1,1,"b-slo-grid",10),H());a&2&&(a=O(2),z(1),F("ngIf",!a.archivedSlos.length),z(1),F("ngIf",a.archivedSlos.length))},aCb=function(a){if(a&
1){var b=v();J(0);G(1,"button",13);M("click",function(){w(b);var c=O();c.areArchivedSlosExpanded=!c.areArchivedSlosExpanded;return y()});G(2,"h4",14);I(3,"mat-icon",15);R(4);H()();Q(5,$Bb,3,2,"div",16);L()}a&2&&(a=O(),z(3),qf("rotate-180",a.areArchivedSlosExpanded),F("svgIcon","arrow-dropdown"),z(1),Df(" Archived SLOs (",a.archivedSlos.length,") "),z(1),F("ngIf",a.areArchivedSlosExpanded))},bCb=function(a){a&1&&(J(0),G(1,"p"),R(2,"Team inheritance path:"),H(),I(3,"b-team-breadcrumb",1),L());a&2&&
(a=O(),z(3),F("teamPath",a.teamPath))},cCb=function(a){a&1&&(J(0),G(1,"p"),R(2,"Component inheritance path:"),H(),I(3,"b-component-breadcrumb",2),L());a&2&&(a=O(),z(3),F("componentPathInfo",a.componentPath))},eCb=function(a){if(a&1){var b=v();J(0);G(1,"span",5);R(2," Data in this component is not being collected. ");G(3,"button",6);M("click",function(){w(b);var c=O(2);return y(dCb(c))});G(4,"span",7);R(5,"Opt into");H()();R(6," data collection to enable ML features in this component. ");G(7,"a",8);
R(8,"Learn more");H();R(9,". ");H();L()}a&2&&(a=O(2),z(3),F("disabled",!a.isAdmin),z(1),F("matTooltip",a.isAdmin?"":"Only component admins can opt in."),z(3),F("href",a.helpLink,Md))},gCb=function(a){if(a&1){var b=v();G(0,"span",5);R(1," Buganizer collects data in this component to improve ML features. ");G(2,"a",8);R(3,"Learn more");H();R(4," or ");G(5,"button",6);M("click",function(){w(b);var c=O(2);return y(fCb(c))});G(6,"span",7);R(7,"opt out");H()();R(8,". ");H()}a&2&&(a=O(2),z(2),F("href",a.helpLink,
Md),z(3),F("disabled",!a.isAdmin),z(1),F("matTooltip",a.isAdmin?"":"Only component admins can opt out."))},iCb=function(a){if(a&1){var b=v();G(0,"div",1)(1,"h4");R(2,"ML Features");H();Q(3,eCb,10,3,"ng-container",2);Q(4,gCb,9,3,"ng-template",null,3,Zf);G(6,"mat-slide-toggle",4);M("change",function(d){w(b);O().setDraft({duplicateAssistanceEnabled:d.checked});return y()});S(7,"async");R(8," Show ML-suggested duplicates for issues ");H()()}if(a&2){var c=Cf(5);a=O();z(3);F("ngIf",null==a.savedSettings?
null:a.savedSettings.optedOutFromDataCollection)("ngIfElse",c);z(3);F("disabled",T(7,5,a.isSaving$)||!a.draftSettings||!a.isAdmin||a.draftSettings.optedOutFromDataCollection)("checked",null==a.draftSettings?null:a.draftSettings.duplicateAssistanceEnabled)("matTooltip",hCb(a))}},jCb=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},mCb=function(a){return{approximateSize:gj(a,2),groupEmail:V(a,1),sizeCategory:kCb[W(a,3,0)],permissionCategory:lCb[W(a,
5,0)]}},oCb=function(a){var b;return{groupMetadata:(null!=(b=aj(a,nCb,1))?b:[]).map(mCb)}},qCb=function(a,b){var c=[];if(!b||!a)return c;for(var d=k(pCb),e=d.next();!e.done;e=d.next()){e=e.value;var g=Uh(e.accessor(b)||[],e.accessor(a)||[]);g.length&&c.push({field:e.field,addedPrincipals:g})}return c},sCb=function(a,b){if(!a.appenders||!b||Mh(b.appenders,a.appenders))return!1;a=k(a.appenders||[]);for(var c=a.next();!c.done;c=a.next())if(c=c.value,rCb.has(c)&&!b.appenders.includes(c))return!0;return!1},
tCb=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},uCb=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"},vCb=function(a){if(0===a.size)return Yr;
for(var b=1===a.size?hn("P",{},"The following large group is added: "):hn("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(hn("P",{},jn(hn("B",{},e)," has approximately ",hn("B",{},g)," Googlers.")))}return jn(b,c)},wCb=function(a){if(0===a.size)return Yr;var b=1===a.size?hn("P",{},"The following open group is added: "):hn("P",{},"The following open groups are added: "),c=[];a=k(a.keys());for(var d=a.next();!d.done;d=
a.next())c.push(hn("P",{},hn("B",{},d.value)));return jn(b,c)},xCb=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},yCb=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},zCb=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},Zr=function(a){var b=a.split(":");a=b[0];return"ALIAS"===a?(b=b[1],{value:b,displayText:Fqa(b),principalType:a,detailedUserType:null}):{value:b[1],displayText:b[1],principalType:a,detailedUserType:null}},ACb=function(a,b){a&1&&I(0,"b-contact-chip",6);a&2&&(a=b.$implicit,
b=O(2),F("value",a.value)("detailedUserType",a.detailedUserType)("principalType",a.principalType)("accessLevel",b.accessLevel)("displayText",a.displayText))},BCb=function(a,b){a&1&&(J(0),G(1,"tr",3)(2,"th",4),R(3),H(),G(4,"td"),Q(5,ACb,1,5,"b-contact-chip",5),H()(),L());a&2&&(a=b.$implicit,z(3),Ef(a.permission),z(2),F("ngForOf",a.principals))},FCb=function(a){var b="minimal";b=void 0===b?"expanded":b;a=CCb(a);a=gAa(a,function(c){c=DCb(c);return ECb(c,b)});return CCb(a)},HCb=function(a){a=CCb(a);a=
gAa(a,function(b){b=GCb(b);return DCb(b)});return CCb(a)},ECb=function(a,b){var c="expanded"===b?ICb:JCb;return new Set([].concat(Vc(a)).flatMap(function(d){return[].concat(Vc(c.get(d)))}))},GCb=function(a){return new Set($r.filter(function(b){return jqa(a,JCb.get(b))}))},DCb=function(a){a=ECb(a,"expanded");var b=GCb(a);return new Set([].concat(Vc(b)).filter(function(c){return[].concat(Vc(KCb.get(c))).every(function(d){return!b.has(d)})}))},CCb=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},MCb=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=LCb,c=new Map,d=[].concat(Vc(b.values())).flatMap(function(g){return[].concat(Vc(g))});d=k(new Set([].concat(Vc(b.keys()),
Vc(d))));for(var e=d.next();!e.done;e=d.next())e=e.value,a(e,e);return c},NCb=function(a){var b=FCb(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(Vc(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")}}},OCb=function(a){var b=a.componentAccessPolicy;a=a.issueAccessPolicy;return rl([].concat(Vc(b?[].concat(Vc(b.inheritedAdmins||[]),Vc(b.admins||[]),Vc(b.appenders||[])):[]),Vc(a?[].concat(Vc(a.admins||[]),Vc(a.editors||[]),Vc(a.appenders||[]),Vc(a.readers||[]),Vc(a.restrictedReaders||[]),Vc(a.restrictedPlusReaders||[])):[]))).sort()},QCb=function(a){function b(e){var g;return[].concat(Vc(null!=(g=d.get(e))?g:[])).sort()}if(!a)return PCb;var c=
a.issueAccessPolicy;a=a.componentAccessPolicy;var d=HCb(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}},RCb=function(a,b){var c;(c=!b)||(c=!(!Mh([].concat(Vc(b.admins)).sort(),[].concat(Vc(a.admins)).sort())||
!Mh([].concat(Vc(b.appenders)).sort(),[].concat(Vc(a.appenders)).sort())||!Mh(b.implicitAccess,a.implicitAccess)));return!c},SCb=function(a,b){return b&&a?!Mh([].concat(Vc(a.admins)).sort(),[].concat(Vc(b.admins)).sort())||!Mh([].concat(Vc(a.editors)).sort(),[].concat(Vc(b.editors)).sort())||!Mh([].concat(Vc(a.appenders)).sort(),[].concat(Vc(b.appenders)).sort())||!Mh([].concat(Vc(a.readers)).sort(),[].concat(Vc(b.readers)).sort())||!Mh([].concat(Vc(a.restrictedReaders)).sort(),[].concat(Vc(b.restrictedReaders)).sort())||
!Mh([].concat(Vc(a.restrictedPlusReaders)).sort(),[].concat(Vc(b.restrictedPlusReaders)).sort()):!1},TCb=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,!Kua(a[d],b[d]))return!0;return!1},UCb=function(a){if(a&1){var b=v();G(0,"input",17);M("ngModelChange",function(c){w(b);var d=O(2);return y(d.rolesEditor.component.accessLimit.accessLevel=c)});H()}a&2&&(a=O(2),F("disabled",!a.rolesEditor.isAdmin)("ngModel",a.rolesEditor.component.accessLimit.accessLevel))},
VCb=function(a){if(a&1){var b=v();G(0,"input",18);M("ngModelChange",function(c){w(b);var d=O(2);return y(d.rolesEditor.component.accessLimit.accessLevel=c)});H()}a&2&&(a=O(2),F("disabled",!a.rolesEditor.isAdmin||!a.isParentPartner())("ngModel",a.rolesEditor.component.accessLimit.accessLevel))},WCb=function(a){if(a&1){var b=v();G(0,"input",19);M("ngModelChange",function(c){w(b);var d=O(2);return y(d.rolesEditor.component.accessLimit.accessLevel=c)});H()}a&2&&(a=O(2),F("disabled",!a.rolesEditor.isAdmin||
!a.isParentPublic())("ngModel",a.rolesEditor.component.accessLimit.accessLevel))},XCb=function(a){a&1&&(G(0,"div",3)(1,"div",4)(2,"span",5),R(3,"Component visibility: "),H()(),G(4,"div",6)(5,"div",7),Q(6,UCb,1,2,"input",8),G(7,"label",9),R(8),H()(),G(9,"div",7),Q(10,VCb,1,2,"input",10),G(11,"label",11),R(12),H()(),G(13,"div",12),Q(14,WCb,1,2,"input",13),G(15,"label",14),R(16),H()()(),G(17,"p",15)(18,"a",16),R(19," Learn more "),H()()());a&2&&(a=O(),z(6),F("ngIf",a.rolesEditor.component&&a.rolesEditor.component.accessLimit),
z(2),Df(" ",K6a(a.AccessLevelStrings.INTERNAL)," "),z(2),F("ngIf",a.rolesEditor.component&&a.rolesEditor.component.accessLimit),z(2),Df(" ",K6a(a.AccessLevelStrings.EXTERNAL_PARTNER)," "),z(2),F("ngIf",a.rolesEditor.component&&a.rolesEditor.component.accessLimit),z(2),Df(" ",K6a(a.AccessLevelStrings.EXTERNAL_PUBLIC)," "),z(2),a=a.documentationLinks,a=a.session.isExternalSession()?a.baseDocumentationUrl+"/concepts/external-access":"http://go/buganizer-external-access",F("href",a,Md))},bDb=function(a,
b){if(a&1){var c=v();J(0);G(1,"tr")(2,"td")(3,"div",2)(4,"div",3)(5,"label",4);R(6);H();G(7,"button",5);I(8,"mat-icon",6);H()();G(9,"b-multi-user-input",7);M("usersChange",function(e){var g=w(c).$implicit,h=O();return y(h.updateRolesMap(g.roleType,e))})("isValid",function(e){var g=w(c).$implicit,h=O();h.aclFormValidity.set(g.roleType,e);e=[].concat(Vc(h.aclFormValidity.values())).every(Boolean);h.formIsValid.emit(e);return y()});H()()();G(10,"td");I(11,"b-icon",8);H();G(12,"td");I(13,"b-icon",8);
H();G(14,"td");I(15,"b-icon",8);H();G(16,"td");I(17,"b-icon",8);H();G(18,"td");I(19,"b-icon",8);H();G(20,"td");I(21,"b-icon",8);H();G(22,"td");I(23,"b-icon",8);H();G(24,"td");I(25,"b-icon",8);H()();L()}if(a&2){a=b.$implicit;b=O();var d;z(3);qf("bv2-edit-resource-readonly",b.canEdit);z(2);F("htmlFor",a.roleType);z(1);Ef(a.label);z(1);F("matTooltip",a.tooltip);z(2);F("idForInputBox",a.roleType)("users",a.users)("ariaLabel",a.ariaLabel)("accessLevel",b.accessLevel)("customValidators",null!==(d=a.customValidators)&&
void 0!==d?d:If(22,YCb))("includeAliases",a.includeAliases)("includeViewAliases",a.includeViewAliases)("containerChips",(null==a.chips?0:a.chips.values)&&0<a.chips.values.length?Jf(26,ZCb,Kf(23,$Cb,a.chips.displayText,a.chips.values)):If(28,aDb));gf("disabled",b.canEdit?null:!0);z(2);F("name",b.getIconName(a,"componentAdmin"));z(2);F("name",b.getIconName(a,"createIssues"));z(2);F("name",b.getIconName(a,"issueAdmin"));z(2);F("name",b.getIconName(a,"issueEditor"));z(2);F("name",b.getIconName(a,"issueCommenter"));
z(2);F("name",b.getIconName(a,"issueReader"));z(2);F("name",b.getIconName(a,"restrictedReader"));z(2);F("name",b.getIconName(a,"restrictedPlusReader"))}},cDb=function(a){a&1&&(G(0,"div",1)(1,"p"),R(2," Your component is only using advanced roles. Simplify your component\u2019s role assignment by moving some users to standard roles. "),G(3,"a",2),R(4,"Learn more"),H()()());a&2&&(a=O(),z(3),zf("href","",In(a.documentationLinks),"#role-based-permissions",Md))},dDb=function(a){a&1&&(G(0,"div",2),I(1,
"b-spinner"),H())},fDb=function(a){if(a&1){var b=v();G(0,"div")(1,"div",3)(2,"mat-tab-group")(3,"mat-tab",4)(4,"roles-view",5);M("saveRolesMap",function(c){w(b);var d=O();eDb(d.rolesEditor,c);return y()});H()();G(5,"mat-tab",6);I(6,"permissions-view",7);H()()()()}a&2&&(a=O(),z(4),F("rolesMap",a.rolesEditor.rolesMap)("isSaving",a.isSaving())("component",a.rolesEditor.component)("rolesEditor",a.rolesEditor),z(2),F("componentReaders",a.rolesEditor.componentReaders)("componentAccessPolicy",a.rolesEditor.componentFlattenedAccessPolicy)("issueAccessPolicy",
a.rolesEditor.issueDefaultFlattenedAccessPolicy)("accessLevel",null==a.rolesEditor.component?null:null==a.rolesEditor.component.accessLimit?null:a.rolesEditor.component.accessLimit.accessLevel))},hDb=function(a){if(a&1){var b=v();G(0,"b-button",14,15);M("onAction",function(){w(b);var c=O(3);return y(gDb(c))});R(2);H()}a&2&&(a=O(3),F("disabled",a.isSaving()),z(2),Df(" ",a.archiveAction," Component "))},iDb=function(a){if(a&1){var b=v();G(0,"b-button",16);M("onAction",function(){w(b);var c=O(3);return y(c.createIssue())});
R(1," Create Issue ");H()}a&2&&(a=O(3),F("tooltip",a.isArchived()?"Cannot create issue in archived component":"")("disabled",a.isArchived()))},jDb=function(a){a&1&&(J(0),G(1,"a",11),R(2," Browse Components "),H(),Q(3,hDb,3,2,"b-button",12),Q(4,iDb,2,2,"b-button",13),L());a&2&&(a=O(2),z(1),F("routerLinkObj",a.componentListRoute(a.component.componentId)),z(2),F("ngIf",a.isAdmin()),z(1),F("ngIf",!a.isAnonymous))},kDb=function(a){a&1&&(G(0,"div",17),I(1,"b-spinner"),H())},lDb=function(a){a&1&&(G(0,"span",
38),R(1," (archived) "),H())},mDb=function(a){a&1&&vf(0)},nDb=function(a){a&1&&vf(0)},oDb=function(a){a&1&&vf(0)},pDb=function(a){a&1&&vf(0)},qDb=function(a){a&1&&vf(0)},sDb=function(a){if(a&1){var b=v();G(0,"div",78)(1,"div",48)(2,"label",79)(3,"span",45);R(4,"Parent Component");H()();G(5,"span",50)(6,"div",80)(7,"strong");R(8,"Careful!");H();R(9," Moving this component can have significant consequences. If this component has custom fields that are defined on the parent or ancestor components, those fields will be lost, and issues in this component will no longer display those fields. ");
G(10,"div",52);I(11,"div",53)(12,"div",54);H()()()();G(13,"b-team-component-picker",81);M("selectedComponentChange",function(c){w(b);var d=O(4);return y(d.parentComponent=null!==c&&void 0!==c?c:null)});H()()}a&2&&(a=O(4),z(2),qf("required",a.isParentComponentRequired&&!rDb(a)),z(11),F("selectedComponent",a.parentComponent)("placeholder","Choose Component")("isRequired",a.isParentComponentRequired&&!rDb(a)))},tDb=function(a){a&1&&(G(0,"a",82),R(1," Learn more "),H());a&2&&(O(4),F("href",upb(),Md))},
uDb=function(a){if(a&1){var b=v();G(0,"div",83)(1,"label",84)(2,"span",45);R(3,"Retention Settings");H()();G(4,"div",85)(5,"p");R(6,"Please choose a period of time to retain the data stored in this component.");I(7,"br");G(8,"a",86);R(9," Learn more ");H()()();G(10,"div",87)(11,"b-retention-settings-form",88);M("modelChange",function(c){w(b);var d=O(4);return y(d.component.retentionSettings=c)})("validChange",function(c){w(b);O(4).retentionIsValid=c;return y()});H()()()}a&2&&(a=O(4),qf("bv2-edit-resource-readonly",
!a.isAdmin()),z(8),F("href",as(),Md),z(3),F("issueRetentionDisabled",a.isAccessEditDisabled())("isExternal",a.isExternal())("initialModel",a.component.retentionSettings))},wDb=function(a){if(a&1){var b=v();G(0,"div",92)(1,"b-component-team-picker",93);M("modelChange",function(c){w(b);var d=O(5);d.component.team=c;d.componentTeam$.next(d.component.team);d.component.slo.inherit&&vDb(d);return y()});H()()}a&2&&(a=O(5),z(1),Af("anchorTarget",a.hasUnsavedChanges()?"_blank":"_self"),F("isAdmin",a.isAdmin())("isTopLevel",
!a.isParentComponentRequired)("parentModel",null==a.parentComponent?null:a.parentComponent.team)("useInternalLink",!0)("model",a.component.team))},xDb=function(a){a&1&&(G(0,"div",89)(1,"label",90)(2,"span",45),R(3,"Team Configuration"),H()(),Q(4,wDb,2,6,"div",91),H());a&2&&(a=O(4),qf("bv2-edit-resource-readonly",!a.isAdmin()),z(4),F("ngIf",a.component.team))},yDb=function(a){a&1&&(G(0,"a",106),R(1),H());if(a&2){a=O().ngIf;var b=O(5),c;F("routerLinkObj",b.getSloManagementLink(a.id));z(1);Df(" ",null!==
(c=null==a.slo?null:a.slo.name)&&void 0!==c?c:a.id," ")}},zDb=function(a){a&1&&R(0," None ")},ADb=function(a,b){a&1&&(G(0,"div",103),R(1," Inherited SLO Policy: "),Q(2,yDb,2,2,"a",104),Q(3,zDb,1,0,"ng-template",null,105,Zf),H());if(a&2){a=b.ngIf;var c=Cf(4);z(2);F("ngIf","0"!==a.id)("ngIfElse",c)}},BDb=function(a){a&1&&(G(0,"a",111),R(1),S(2,"titlecase"),H());a&2&&(a=O().ngIf,F("routerLinkObj",a.link),z(1),Ff(" (",T(2,3,a.type),") ",a.name," "))},CDb=function(a){a&1&&R(0," None ")},DDb=function(a){a&
1&&(G(0,"div",113),I(1,"slo-inheritance-breadcrumbs",114),H());a&2&&(a=O().ngIf,z(1),F("componentPath",a.componentPath)("teamPath",a.teamPath))},EDb=function(a){a&1&&(J(0),Q(1,DDb,2,2,"div",112),L());a&2&&(a=O(6),z(1),F("ngIf",a.showSloInheritancePath))},FDb=function(a,b){if(a&1){var c=v();G(0,"div",107);R(1," Policy Source: ");Q(2,BDb,3,5,"a",108);Q(3,CDb,1,0,"ng-template",null,109,Zf);G(5,"button",110);M("click",function(){w(c);var e=O(5);return y(e.showSloInheritancePath=!e.showSloInheritancePath)});
R(6);H();Q(7,EDb,2,1,"ng-container",7);S(8,"async");H()}if(a&2){a=b.ngIf;var d=Cf(4);b=O(5);z(2);F("ngIf",a.link)("ngIfElse",d);z(3);gf("aria-expanded",b.showSloInheritancePath);z(1);Df(" ",b.showSloInheritancePath?"Hide":"Show"," full path ");z(1);F("ngIf",T(8,5,b.policySourcePath$))}},GDb=function(a){a&1&&(J(0),R(1,", "),G(2,"a",116),R(3,"Team Leads"),H(),L());a&2&&(a=O(7),z(2),F("routerLinkObj",{path:"/teams/"+a.component.team.id+"/edit",fragment:"basic"}))},HDb=function(a){a&1&&(J(0),R(1," SLO Admins: "),
G(2,"a",116),R(3,"Component Admins"),H(),Q(4,GDb,4,1,"ng-container",7),L());a&2&&(a=O(6),z(2),F("routerLinkObj",a.componentPermissions(a.componentId)),z(2),F("ngIf",a.component.team&&"0"!==a.component.team.id))},IDb=function(a){a&1&&(G(0,"div",115),Q(1,HDb,5,2,"ng-container",7),H());a&2&&(a=O(5),z(1),F("ngIf",a.enableTeamLeadSloEditingUi))},JDb=function(a){a&1&&(J(0),I(1,"mat-icon",118),R(2," on "),L())},KDb=function(a){a&1&&(I(0,"mat-icon",119),R(1," off "))},LDb=function(a){a&1&&(J(0),R(1," Lock: "),
Q(2,JDb,3,0,"ng-container",0),S(3,"async"),Q(4,KDb,2,0,"ng-template",null,117,Zf),L());if(a&2){var b=Cf(5);a=O(5);z(2);F("ngIf",T(3,2,a.sloLocked$))("ngIfElse",b)}},NDb=function(a){if(a&1){var b=v();G(0,"div",120)(1,"mat-checkbox",121);M("change",function(c){w(b);var d=O(5);c=c.checked;d.component.slo.inherit=!c;c||vDb(d);return y()});G(2,"span");R(3,"Override the inherited SLO policy");H()()()}a&2&&(a=O(5),z(1),F("checked",!a.component.slo.inherit)("disabled",!MDb(a)))},ODb=function(a){if(a&1){var b=
v();G(0,"div",128)(1,"label",129);R(2," Justification ");H();I(3,"mat-icon",130);G(4,"textarea",131);M("ngModelChange",function(c){w(b);var d=O(6);return y(d.component.slo.comment=c)});H()()}a&2&&(a=O(6),z(4),F("ngModel",a.component.slo.comment)("disabled",!bs(a)))},PDb=function(a){a&1&&(G(0,"a",132),I(1,"mat-icon",133),H());a&2&&(a=O(6),Af("target",a.hasUnsavedChanges()?"_blank":"_self"),F("routerLinkObj",a.getSloManagementLink(a.component.slo.id)))},TDb=function(a){if(a&1){var b=v();J(0);Q(1,ODb,
5,2,"div",122);G(2,"mat-slide-toggle",123);M("ngModelChange",function(c){w(b);var d=O(5);return y(d.isEnableSloChecked=c)})("change",function(c){w(b);var d=O(5);c=c.checked;d.isEnableSloChecked=c;c||(d.component.slo.id="0");return y()});R(3," Enable SLO ");H();G(4,"div",124)(5,"label",125);R(6,"SLO policy");H();G(7,"slo-picker",126);M("onSloSelect",function(c){w(b);var d=O(5);return y(d.onSloChange(c))});H();Q(8,PDb,2,2,"a",127);H();L()}a&2&&(a=O(5),z(1),F("ngIf",QDb(a)),z(1),qf("indented",RDb(a)),
F("ngModel",a.isEnableSloChecked)("disabled",!SDb(a)),z(5),F("bv2Disabled",!a.isEnableSloChecked||!SDb(a))("boundId",a.component.slo.id)("bv2Placeholder",a.isEnableSloChecked&&SDb(a)?"Type to search for an SLO":"SLO disabled"),z(1),F("ngIf",a.component.slo.id&&"0"!==a.component.slo.id))},UDb=function(a){a&1&&(G(0,"div",94)(1,"div",48)(2,"label",95)(3,"span",45),R(4,"SLO Configuration"),H()(),G(5,"span",50)(6,"div",96)(7,"strong"),R(8,"Careful!"),H(),R(9," Changing the SLO (service level objective) of a component has the potential to impact the Buganizer SLO compliance status of every issue under that component. "),
G(10,"div",52),I(11,"div",53)(12,"div",54),H()()()(),G(13,"div",97),Q(14,ADb,5,2,"div",98),S(15,"async"),Q(16,FDb,9,7,"div",99),S(17,"async"),Q(18,IDb,2,1,"div",100),G(19,"div",101),Q(20,LDb,6,4,"ng-container",7),H()(),Q(21,NDb,4,2,"div",102),Q(22,TDb,9,9,"ng-container",7),H());if(a&2){a=O(4);qf("bv2-edit-resource-readonly",!bs(a));z(14);F("ngIf",T(15,8,a.inheritedSlo$));z(2);F("ngIf",T(17,10,a.sloPolicySource$));z(2);F("ngIf",a.sessionIsInternal);z(2);F("ngIf",a.enableSloLockingUi);z(1);F("ngIf",
RDb(a));z(1);if(a.component&&a.component.slo){var b=!!a.component.team&&"0"!==a.component.team.id,c=!a.component.slo.inherit;a=0===a.component.parentComponentId&&!b||c}else a=!1;F("ngIf",a)}},VDb=function(a){if(a&1){var b=v();G(0,"recommendation-settings",134);M("hasUnsavedChanges",function(c){w(b);var d=O(4);return y(d.hasUnsavedRecommendationSettings=c)})("isSaving",function(c){w(b);var d=O(4);return y(d.savingRecommendationSettings=c)});H()}a&2&&(a=O(4),F("componentId",a.componentId))},WDb=function(a){if(a&
1){var b=v();G(0,"div",74)(1,"b-button",135);M("onAction",function(){w(b);var c=O(4);return y(c.saveMetadata())});R(2," Update ");H();G(3,"b-button",136);M("onAction",function(){w(b);var c=O(4);return y(c.revertMetadataChanges())});R(4," Revert Changes ");H();G(5,"b-button",136);M("onAction",function(){w(b);var c=O(4);return y(c.createChild())});R(6," Create Child Component ");H()()}a&2&&(a=O(4),z(1),F("disabled",a.isSaving()||!a.hasUnsavedMetadataChanges()),z(2),F("disabled",a.isSaving()||!a.hasUnsavedMetadataChanges()),
z(2),F("disabled",a.hasUnsavedMetadataChanges()))},XDb=function(a){if(a&1){var b=v();G(0,"b-button",137);M("onAction",function(){w(b);var c=O(4);return y(c.showUpdateHistoryModal())});R(1," View History ");H()}},YDb=function(a){a&1&&I(0,"b-spinner")},ZDb=function(a){if(a&1){var b=v();G(0,"b-component-children-list",138);M("onVisit",function(){w(b);var c=O(4);return y(c.trackClick("openChildComponent"))});H()}a&2&&(a=O(4),F("children",a.childComponents))},$Db=function(a){a&1&&(G(0,"span"),R(1," No child components. "),
H())},aEb=function(a){if(a&1){var b=v();G(0,"div",39)(1,"form",40,41);I(3,"b-error-banner",42);G(4,"div",43)(5,"label",44)(6,"span",45);R(7,"Name");H()();G(8,"input",46);M("ngModelChange",function(c){w(b);var d=O(3);return y(d.component.name=c)});H()();G(9,"div",47)(10,"div",48)(11,"label",49)(12,"span",45);R(13,"Description");H()();G(14,"span",50)(15,"div",51);R(16," The description will be used during component searches. You can add previous project names or keywords that will help users search for your component. ");
G(17,"div",52);I(18,"div",53)(19,"div",54);H()()()();G(20,"textarea",55);M("ngModelChange",function(c){w(b);var d=O(3);return y(d.component.description=c)});R(21,"            ");H()();Q(22,sDb,14,5,"div",56);G(23,"div",57)(24,"div",58)(25,"mat-checkbox",59);M("change",function(c){w(b);var d=O(3);return y(d.setCommentEditState(c.checked))});H()();G(26,"div")(27,"strong",60);R(28,"Editable Comments");H();G(29,"div",61);R(30," When checked, users with comment access can modify their own issue comments, and editors can modify the first issue comment. ");
I(31,"br");Q(32,tDb,2,1,"a",62);H()()();Q(33,uDb,12,6,"div",63);Q(34,xDb,5,3,"div",64);Q(35,UDb,23,12,"div",65);G(36,"div",66)(37,"div",48)(38,"label",67)(39,"span",45);R(40,"Component Alias");H()();G(41,"span",50)(42,"div",68);R(43," You can create a new issue in this component by sending an email to this alias. ");I(44,"br");G(45,"a",69);R(46," Learn more ");H();G(47,"div",52);I(48,"div",53)(49,"div",54);H()()()();G(50,"div")(51,"a",70);R(52);H()()();Q(53,VDb,1,1,"recommendation-settings",71);G(54,
"div",72);Q(55,WDb,7,3,"div",73);G(56,"div",74);Q(57,XDb,2,0,"b-button",75);H()();G(58,"div",76)(59,"label")(60,"span",45);R(61,"Child Components");H()();Q(62,YDb,1,0,"b-spinner",7);Q(63,ZDb,1,1,"b-component-children-list",77);Q(64,$Db,2,0,"span",7);H()()()}a&2&&(a=O(3),z(1),qf("show-errors",a.error),z(2),F("error",a.error),z(1),qf("bv2-edit-resource-readonly",cs(a)),z(4),F("ngModel",a.component.name)("disabled",cs(a)),z(1),qf("bv2-edit-resource-readonly",cs(a)),z(11),F("ngModel",a.component.description)("disabled",
cs(a)),z(2),F("ngIf",a.isAdmin()),z(1),qf("bv2-edit-resource-readonly",a.isAccessEditDisabled()),z(2),F("checked",a.commentEditsEnabled)("disabled",cs(a)),z(7),F("ngIf",!a.sessionIsExternal),z(1),F("ngIf",!a.sessionIsExternal),z(1),F("ngIf",a.sessionIsInternal),z(1),F("ngIf",a.component.slo&&a.sessionIsInternal),z(10),F("href",a.documentationLinks.baseDocumentationUrl+"/guides/create-issue-email",Md),z(6),zf("href","mailto:",a.component.emailAlias,"",Md),gf("aria-label","Component Alias -"+a.component.emailAlias),
z(1),Ef(a.component.emailAlias),z(1),F("ngIf",a.enableRecommendationSettingsPage&&a.sessionIsInternal),z(2),F("ngIf",a.isEditorInternal||bs(a)),z(2),F("ngIf",a.componentHistoryUiEnabled),z(5),F("ngIf",void 0===a.childComponents),z(1),F("ngIf",a.childComponents&&0<a.childComponents.length),z(1),F("ngIf",a.childComponents&&0===a.childComponents.length))},bEb=function(a){a&1&&(G(0,"div",143),R(1," Standard Fields "),H())},dEb=function(a){if(a&1){var b=v();G(0,"b-component-standard-fields",144);M("updateComponent",
function(c){w(b);var d=O(4);return y(cEb(d,c))});H()}a&2&&(a=O(4),F("effortSpec",a.component.effortSpec)("parentEffortSpec",null==a.parentComponent?null:a.parentComponent.effortSpec)("disabled",!a.isEditorInternal))},eEb=function(a){a&1&&(G(0,"div",145),R(1," Custom Fields "),H())},fEb=function(a){a&1&&(Q(0,bEb,2,0,"div",139),Q(1,dEb,1,3,"b-component-standard-fields",140),Q(2,eEb,2,0,"div",141),I(3,"b-component-custom-fields",142));a&2&&(a=O(3),F("ngIf",a.sessionIsInternal&&!a.isExternal()),z(1),
F("ngIf",a.sessionIsInternal&&!a.isExternal()),z(1),F("ngIf",a.sessionIsInternal&&!a.isExternal()),z(1),F("editMode",a.isEditorInternal)("isSaving",a.isSaving())("component",a.component)("parentComponent",a.parentComponent))},hEb=function(a){a&1&&(G(0,"a",149),R(1," Learn more "),H());a&2&&(O(4),F("href",gEb(),Md))},jEb=function(a){if(a&1){var b=v();G(0,"div",39)(1,"div",146);R(2," Field ordering will be applied to all issues and templates in this component, including the right panel on the Issue Detail page. ");
Q(3,hEb,2,1,"a",147);H();G(4,"b-field-reorder",148);M("onReload",function(){w(b);var c=O(3);return y(iEb(c))});H()()}a&2&&(a=O(3),z(3),F("ngIf",a.sessionIsInternal),z(1),F("fields",a.effectiveCustomFields)("componentId",a.componentId)("fieldOrdering",a.component.fieldOrdering)("isAdmin",a.isAdmin()))},kEb=function(a){a&1&&I(0,"b-edit-templates",151);a&2&&(a=O(4),F("componentId",a.componentId)("supportCustomFields",!0))},lEb=function(a){a&1&&(G(0,"div"),R(1),H());a&2&&(a=O().$implicit,z(1),Ef(a.description))},
mEb=function(a,b){a&1&&(G(0,"div",153)(1,"label"),R(2),H(),Q(3,lEb,2,1,"div",7),G(4,"div")(5,"a",70),R(6),H()()());a&2&&(a=b.$implicit,z(2),Ef(a.name),z(1),F("ngIf",a.description),z(2),F("href",a.url,Md),gf("aria-label","Click to open the template "+a.name),z(1),Ef(a.url))},nEb=function(a){a&1&&(J(0),Q(1,mEb,7,5,"div",152),L());a&2&&(a=O(4),z(1),F("ngForOf",a.templates))},oEb=function(a){a&1&&(G(0,"div",39),Q(1,kEb,1,2,"b-edit-templates",150),Q(2,nEb,2,1,"ng-container",7),H());a&2&&(a=O(3),z(1),F("ngIf",
a.isEditorInternal),z(1),F("ngIf",!a.isEditorInternal))},pEb=function(a){a&1&&I(0,"role-based-permissions")},qEb=function(a){if(a&1){var b=v();G(0,"div")(1,"div",18)(2,"h2");R(3);H();Q(4,lDb,2,0,"span",19);G(5,"a",20);M("click",function(){w(b);var l=O(2);return y(l.trackClick("recentIssues"))});R(6," (Recent Issues)");H();I(7,"b-access-level-indicator",21)(8,"b-tracker-chip-smart",22);H();G(9,"div",23);I(10,"b-component-breadcrumb",24)(11,"div",25);H();G(12,"mat-tab-group",26);M("selectedIndexChange",
function(l){w(b);var q=O(2);return y(q.tabChange(l))});G(13,"mat-tab",27);Q(14,mDb,1,0,"ng-container",28);H();G(15,"mat-tab",29);Q(16,nDb,1,0,"ng-container",28);H();G(17,"mat-tab",30);Q(18,oDb,1,0,"ng-container",28);H();G(19,"mat-tab",31);Q(20,pDb,1,0,"ng-container",28);H();G(21,"mat-tab",32);Q(22,qDb,1,0,"ng-container",28);H()();Q(23,aEb,65,30,"ng-template",null,33,Zf);Q(25,fEb,4,7,"ng-template",null,34,Zf);Q(27,jEb,5,5,"ng-template",null,35,Zf);Q(29,oEb,3,2,"ng-template",null,36,Zf);Q(31,pEb,1,
0,"ng-template",null,37,Zf);H()}if(a&2){var c=Cf(24),d=Cf(26),e=Cf(28),g=Cf(30),h=Cf(32);a=O(2);z(3);Ff(" Component ",a.component.componentId,": ",a.currentName," ");z(1);F("ngIf",a.isArchived());z(1);F("routerLinkObj",a.getRecentIssuesLink());z(2);F("accessLevel",a.getComponentAccessLevel());z(1);F("trackerId",a.component.trackerId);z(2);F("componentPathInfo",a.component.componentPathInfo)("isArchived",a.isArchived())("label","Parent Component");z(2);F("selectedIndex",a.selectedTabIndex);z(1);F("id",
a.Tab.BASIC);z(1);F("ngTemplateOutlet",c);z(1);F("id",a.Tab.CUSTOM_FIELDS)("label",a.sessionIsInternal&&!a.isExternal()?"Fields":"Custom Fields");z(1);F("ngTemplateOutlet",d);z(1);F("id",a.Tab.FIELD_ORDERING);z(1);F("ngTemplateOutlet",e);z(1);F("id",a.Tab.TEMPLATES);z(1);F("ngTemplateOutlet",g);z(1);F("id",a.Tab.ACCESS);z(1);F("ngTemplateOutlet",h)}},rEb=function(a){a&1&&(G(0,"span")(1,"p"),R(2," Archiving a component causes it and its subcomponents and all issues in those components to be hidden from normal use."),
I(3,"br"),G(4,"a",159),R(5," Learn more "),H()(),G(6,"p"),R(7," If you no longer have a reason to retain the data stored in these components, please change the retention period as needed "),I(8,"br"),R(9," so they can be scheduled for deletion. "),G(10,"a",160),R(11," Learn more "),H()()());a&2&&(O(3),z(4),F("href","http://go/archived-components",Md),z(6),F("href",as(),Md))},sEb=function(a){a&1&&(G(0,"span"),R(1," : "),G(2,"b"),R(3),H()());if(a&2){a=O().$implicit;var b=O(3);qf("b-archive-warning-indef",
!a.retentionSettings.retentionPeriodDays);z(3);Ef(b.getRetentionPeriod(a))}},tEb=function(a,b){a&1&&(G(0,"span")(1,"span"),R(2),H(),Q(3,sEb,4,3,"span",161),I(4,"br"),H());a&2&&(a=b.$implicit,b=O(3),z(2),Ef(a.componentPath),z(1),F("ngIf","Archive"===b.archiveAction))},uEb=function(a){if(a&1){var b=v();G(0,"h2",154);R(1);H();G(2,"mat-dialog-content");Q(3,rEb,12,2,"span",7);G(4,"p");R(5," The following components will be affected: ");H();G(6,"div",155);Q(7,tEb,5,2,"span",156);H()();G(8,"mat-dialog-actions")(9,
"button",157);M("click",function(){w(b);var c=O(2);c.archive();c.isArchiving=!1;return y()});R(10," Yes ");H();G(11,"button",158);M("click",function(){w(b);O(2).isArchiving=!1;return y()});R(12," No ");H()()}a&2&&(a=O(2),z(1),Ef(a.component&&a.archiveAction?"Are you sure you want to "+a.archiveAction.toLowerCase()+' "'+a.component.name+'" and its subcomponents?':""),z(2),F("ngIf","Archive"===a.archiveAction),z(4),F("ngForOf",a.descendants))},vEb=function(a){if(a&1){var b=v();J(0);G(1,"div",2)(2,"div",
3)(3,"div",4)(4,"b-button",5);M("onAction",function(){w(b);var c=O();return y(c.back())});I(5,"b-icon",6);H();Q(6,jDb,5,3,"ng-container",7);H()()();G(7,"div",8);Q(8,kDb,2,0,"div",9);Q(9,qEb,33,21,"div",7);H();Q(10,uEb,13,3,"ng-template",null,10,Zf);L()}a&2&&(a=O(),z(6),F("ngIf",a.component),z(2),F("ngIf",a.isLoading),z(1),F("ngIf",!a.isLoading&&a.component&&a.component.componentId))},wEb=function(a){a&1&&(G(0,"div",162),I(1,"b-tracker-redirect",163),H());a&2&&(a=O(),z(1),F("component",a.component))},
xEb=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}},yEb=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)}},zEb=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},AEb=function(a,b){a&1&&(G(0,"div",39),I(1,"b-team-breadcrumb",40),H());a&2&&(a=b.ngIf,z(1),F("teamPath",a))},BEb=function(a,b){a&1&&(J(0),R(1),L());a&2&&(a=b.ngIf,z(1),Ef(a.trim()))},CEb=function(a){a&1&&R(0," No description ")},DEb=function(a,b){a&1&&(J(0),I(1,"b-multi-user-input",41),L());a&2&&(a=b.ngIf,z(1),F("users",a),gf("disabled",!0))},EEb=function(a){a&1&&(J(0),
G(1,"p"),R(2,"No child teams"),H(),L())},FEb=function(a,b){a&1&&(J(0),I(1,"br"),G(2,"a",44),R(3),H(),L());a&2&&(a=b.$implicit,z(2),zf("routerLink","/teams/",a.id,"/edit"),z(1),Ef(a.name))},GEb=function(a){a&1&&Q(0,FEb,4,2,"ng-container",43);a&2&&(a=O().ngIf,F("ngForOf",a))},HEb=function(a,b){a&1&&(J(0),Q(1,EEb,3,0,"ng-container",18),Q(2,GEb,1,1,"ng-template",null,42,Zf),L());if(a&2){a=b.ngIf;var c=Cf(3);z(1);F("ngIf",0===a.length)("ngIfElse",c)}},IEb=function(a){a&1&&(G(0,"a",48),R(1),H());if(a&2){a=
O().ngIf;var b;F("routerLinkObj",a.link);z(1);Df(" ",null!==(b=null==a.slo?null:a.slo.name)&&void 0!==b?b:a.id," ")}},JEb=function(a){a&1&&R(0," None ")},KEb=function(a,b){a&1&&(G(0,"div",45),R(1," Inherited SLO Policy: "),Q(2,IEb,2,2,"a",46),Q(3,JEb,1,0,"ng-template",null,47,Zf),H());if(a&2){a=b.ngIf;var c=Cf(4);z(2);F("ngIf",a.link)("ngIfElse",c)}},LEb=function(a,b){a&1&&(G(0,"a",49),R(1),H());a&2&&(a=b.ngIf,F("routerLinkObj",a.link),z(1),Df(" ",a.name," "))},MEb=function(a){a&1&&R(0," None ")},
NEb=function(a){a&1&&(J(0),I(1,"mat-icon",51),R(2," on "),L())},OEb=function(a){a&1&&(I(0,"mat-icon",52),R(1," off "))},PEb=function(a){a&1&&(J(0),R(1," Lock: "),Q(2,NEb,3,0,"ng-container",18),Q(3,OEb,2,0,"ng-template",null,50,Zf),L());if(a&2){var b=Cf(4);a=O(2);z(2);F("ngIf",a.originalSloLock)("ngIfElse",b)}},QEb=function(a){if(a&1){var b=v();G(0,"div",54)(1,"mat-checkbox",55);M("change",function(c){w(b);var d=O(3);d.isSloInheritEnabled=!c.checked;d.isSloInheritEnabled&&(d.sloId=d.parentTeam.slo.sloId);
return y()});G(2,"span");R(3,"Override the inherited SLO");H()()()}a&2&&(a=O(3),z(1),F("disabled",!a.hasEditAccess)("checked",!a.isSloInheritEnabled))},REb=function(a){if(a&1){var b=v();G(0,"div",60)(1,"label",61);R(2," Justification to override the org SLO ");H();I(3,"mat-icon",62);G(4,"textarea",63);M("ngModelChange",function(c){w(b);var d=O(4);return y(d.sloJustification$.next(c))});S(5,"async");H()()}a&2&&(a=O(4),z(3),F("matTooltip",a.justificationRequiredText),gf("aria-label",a.justificationRequiredText),
z(1),F("ngModel",T(5,4,a.sloJustification$))("disabled",!a.hasEditAccess))},SEb=function(a,b){a&1&&(G(0,"a",64),S(1,"async"),I(2,"mat-icon",9),H());a&2&&(a=b.ngIf,b=O(4),Af("target",T(1,2,b.hasUnsavedChanges$)?"_blank":"_self"),F("routerLinkObj",a))},TEb=function(a){if(a&1){var b=v();J(0);Q(1,REb,6,6,"div",56);G(2,"div",14)(3,"mat-slide-toggle",57);M("ngModelChange",function(d){w(b);var e=O(3);return y(e.enableSloChecked=d)})("change",function(d){w(b);var e=O(3);return y(e.enableSloChecked=d.checked)});
R(4," Enable SLO ");H();G(5,"slo-picker",58);M("onSloSelect",function(d){w(b);var e=O(3);return y(e.onSloChange(d))});H();Q(6,SEb,3,4,"a",59);S(7,"async");H();L()}if(a&2){a=O().ngIf;var c=O(2);z(1);F("ngIf",!a.value);z(2);qf("indented",!a.value);F("ngModel",c.enableSloChecked)("disabled",!c.hasEditAccess);z(2);F("boundId",c.sloId)("bv2Disabled",!c.hasEditAccess||!c.enableSloChecked||c.isSloInheritEnabled)("bv2Placeholder",c.enableSloChecked?"Type to search for an SLO":"SLO disabled");z(1);F("ngIf",
T(7,9,c.sloPickerLink$))}},UEb=function(a,b){a&1&&(J(0),Q(1,QEb,4,2,"div",53),Q(2,TEb,8,11,"ng-container",6),L());a&2&&(a=b.ngIf,b=O(2),z(1),F("ngIf",!a.value),z(1),F("ngIf",!b.isSloInheritEnabled))},VEb=function(a){if(a&1){var b=v();G(0,"div",14)(1,"mat-checkbox",65);M("change",function(c){w(b);var d=O(2);return y(d.sloLocked=c.checked)});G(2,"span");R(3,"Lock for all child teams");H()()()}a&2&&(a=O(2),z(1),F("checked",a.sloLocked)("disabled",!a.canEditSloLock))},YEb=function(a){if(a&1){var b=v();
G(0,"div",14)(1,"div",20)(2,"label",21)(3,"span",16);R(4," SLO lead ");H()();G(5,"span",22)(6,"div",23);R(7," Single team lead receiving SLO reports of unassigned issues. ");G(8,"div",24);I(9,"div",25)(10,"div",26);H()()()();G(11,"div");J(12);G(13,"b-multi-user-input",66);M("usersChange",function(c){w(b);var d=O(2);1<c.length||(d.sloLead=1===c.length?c[0]:"");return y()})("isValid",function(c){w(b);var d=O(2);return y(d.isSloLeadValid=c)});H();L();H()()}a&2&&(a=O(2),z(13),F("users",a.sloLead?Jf(5,
WEb,a.sloLead):If(7,XEb))("customValidators",a.sloLeadUserValidators)("detailedUserValidators",a.sloLeadGooglerValidators)("maxUserAllowed",1),gf("disabled",a.hasEditAccess?null:!0))},aFb=function(a){if(a&1){var b=v();G(0,"div",67)(1,"div",68)(2,"button",69);M("click",function(){w(b);var c=O().ngIf,d=O();return y(ZEb(d,c))});S(3,"async");R(4," Update ");H();G(5,"button",70);M("click",function(){w(b);var c=O(2);return y($Eb(c))});S(6,"async");R(7," Revert changes ");H()()()}a&2&&(a=O(2),z(2),F("disabled",
!T(3,2,a.hasUnsavedChanges$)),z(3),F("disabled",!T(6,4,a.hasUnsavedChanges$)))},bFb=function(a){a&1&&(J(0),G(1,"p"),R(2,"No mapped components"),H(),L())},cFb=function(a,b){a&1&&(G(0,"ul")(1,"li")(2,"a",44),R(3),H()()());a&2&&(a=b.$implicit,z(2),zf("routerLink","/components/",a.componentId,"/manage"),z(1),Df(" ",a.name," "))},dFb=function(a){a&1&&(Q(0,cFb,4,2,"ul",43),S(1,"async"));a&2&&(a=O(3),F("ngForOf",T(1,1,a.associatedComponents$)))},eFb=function(a,b){a&1&&(J(0),Q(1,bFb,3,0,"ng-container",18),
Q(2,dFb,2,3,"ng-template",null,71,Zf),L());if(a&2){a=b.ngIf;var c=Cf(3);z(1);F("ngIf",0===a.length)("ngIfElse",c)}},gFb=function(a,b){if(a&1){var c=v();J(0);G(1,"div",7)(2,"h2");R(3);G(4,"a",8);R(5);I(6,"mat-icon",9);H()()();Q(7,AEb,2,1,"div",10);S(8,"async");G(9,"mat-tab-group",11);M("selectedIndexChange",function(g){w(c);var h=O();return y(h.selectedTabIndex=g)})("selectedIndexChange",function(g){w(c);var h=O();return y(h.tabChange(g))});G(10,"mat-tab",12)(11,"div",13);R(12," Team information on this page comes from ");
G(13,"a",8);R(14," Team Graph ");I(15,"mat-icon",9);H();R(16," and is view only. ");G(17,"div",14)(18,"div",15)(19,"label")(20,"span",16);R(21,"Description");H()();G(22,"div",17);Q(23,BEb,2,1,"ng-container",18);Q(24,CEb,1,0,"ng-template",null,19,Zf);H()()();G(26,"div",14)(27,"div",20)(28,"label",21)(29,"span",16);R(30," Team admins ");H();G(31,"span",22)(32,"div",23);R(33," Team admins are team leads from Team Graph. ");G(34,"div",24);I(35,"div",25)(36,"div",26);H()()()();Q(37,DEb,2,2,"ng-container",
6);S(38,"async");H()();G(39,"div",14)(40,"div",15)(41,"label")(42,"span",16);R(43,"Child team(s)");H()();Q(44,HEb,4,2,"ng-container",6);S(45,"async");H()()()();G(46,"mat-tab",27)(47,"div",13)(48,"div",20)(49,"label",21)(50,"span",16);R(51,"SLO configuration");H()();G(52,"span",22)(53,"div",28)(54,"strong");R(55,"Careful!");H();R(56," Changing the SLO (service level objective) of a component has the potential to impact the compliance status of every issue under this team's components. ");G(57,"div",
24);I(58,"div",25)(59,"div",26);H()()()();G(60,"div",29);Q(61,KEb,5,2,"div",30);S(62,"async");G(63,"div",31);R(64," Policy Source: ");Q(65,LEb,2,2,"a",32);S(66,"async");Q(67,MEb,1,0,"ng-template",null,33,Zf);H();G(69,"div",34);Q(70,PEb,5,2,"ng-container",6);H()();I(71,"b-error-banner",35);Q(72,UEb,3,2,"ng-container",6);S(73,"async");Q(74,VEb,4,2,"div",36);Q(75,YEb,14,8,"div",36);Q(76,aFb,8,6,"div",37);H()();G(77,"mat-tab",38)(78,"div",13)(79,"div",14)(80,"div",15)(81,"label")(82,"span",16);R(83," Component(s) that have mapped to this team ");
H()()();Q(84,eFb,4,2,"ng-container",6);S(85,"async");H()()()();L()}if(a&2){a=b.ngIf;var d=Cf(25),e=Cf(68);b=O();z(3);Df(" Team ",a.teamId,": ");z(1);zf("href","https://moma.corp.google.com/team/",a.teamId,"",Md);z(1);Df(" ",a.name," ");z(2);F("ngIf",T(8,23,b.teamPath$));z(2);F("selectedIndex",b.selectedTabIndex);z(1);F("id",b.Tab.BASIC);z(3);zf("href","https://moma.corp.google.com/team/",a.teamId,"",Md);z(10);F("ngIf",a.description)("ngIfElse",d);z(14);F("ngIf",T(38,25,b.adminsAndLeads$));z(7);F("ngIf",
T(45,27,b.childTeams$));z(2);F("id",b.Tab.SLO);z(15);F("ngIf",T(62,29,b.inheritedSlo$));z(4);F("ngIf",T(66,31,b.sloPolicySource$))("ngIfElse",e);z(5);F("ngIf",b.enableSloLockingUi);z(1);F("error",b.error);z(1);F("ngIf",Jf(37,fFb,T(73,33,b.isRootTeam$)));z(2);F("ngIf",b.enableSloLockingUi);z(1);F("ngIf",b.enableSloLead);z(1);F("ngIf",b.hasEditAccess);z(1);F("id",b.Tab.MAPPINGS);z(7);F("ngIf",T(85,35,b.associatedComponents$))}},hFb=function(a,b){a&1&&(G(0,"div",14),I(1,"mat-checkbox",15),G(2,"div")(3,
"label",16),R(4),H(),G(5,"label",17),R(6),H()()());if(a&2){a=b.ngIf;b=O().$implicit;var c=O().ngIf;z(1);F("id","select-signal-checkbox-"+b)("aria-labelledby","checkbox-label-"+b)("value",b)("checked",c.includes(b));z(2);zf("id","checkbox-label-",b,"")("for","select-signal-checkbox-",b,"-input");z(1);Df(" ",a.header," ");z(1);zf("for","select-signal-checkbox-",b,"-input");z(1);Df(" ",a.body," ")}},jFb=function(a,b){a&1&&(J(0),Q(1,hFb,7,9,"div",13),L());a&2&&(a=b.$implicit,O(3),z(1),F("ngIf",iFb.has(a)?
iFb.get(a):null))},kFb=function(a){a&1&&(G(0,"div",11),Q(1,jFb,2,1,"ng-container",12),H());a&2&&(a=O(2),z(1),F("ngForOf",a.ALL_SIGNAL_TYPES))},lFb=function(a){if(a&1){var b=v();G(0,"div",4)(1,"p",5);R(2," Select alerts ");G(3,"button",6);M("click",function(){w(b);var c=O();c=k(c.checkboxes);for(var d=c.next();!d.done;d=c.next())d=d.value,d.checked||d.toggle();return y()});R(4," Select all ");H()();Q(5,kFb,2,1,"div",7);S(6,"async");I(7,"mat-divider");G(8,"div",8)(9,"button",9);M("click",function(){w(b);
var c=O();return y(c.closeMenu())});R(10,"Cancel");H();G(11,"button",10);M("click",function(){w(b);var c=O();return y(c.emitSelection())});R(12,"Apply");H()()()}a&2&&(a=O(),z(5),F("ngIf",T(6,1,a.selectedSignals$)))},mFb=function(a){a&1&&(J(0),R(1),L());a&2&&(a=O(3),z(1),Df("(",a.count,")"))},nFb=function(a){a&1&&(J(0),R(1),Q(2,mFb,2,1,"ng-container",3),L());if(a&2){a=O().ngIf;var b=O();z(1);Df(" ",a.text," ");z(1);F("ngIf",-1<b.count)}},oFb=function(a){if(a&1){var b=v();G(0,"button",5);M("click",
function(){w(b);var c=O(2);return y(c.onClickRemove())});G(1,"span",6);R(2);H();I(3,"mat-icon",7);H()}a&2&&(a=O().ngIf,z(2),Df("remove filter ",a.text,""))},pFb=function(a,b){a&1&&(G(0,"span",1),S(1,"async"),I(2,"mat-icon",2),Q(3,nFb,3,2,"ng-container",3),Q(4,oFb,4,1,"button",4),H());a&2&&(a=b.ngIf,b=O(),tf("chippy rounded ",a.className," margin-xs-right"),qf("full-chip",!b.iconOnly)("selected",b.isSelected),F("matTooltip",T(1,12,b.getSignalTypeTooltip()))("matTooltipShowDelay",b.matTooltipShowDelay),
z(2),F("svgIcon",a.icon),z(1),F("ngIf",!b.iconOnly),z(1),F("ngIf",b.removable))},qFb=function(a){a&1&&(G(0,"span",19),R(1,"No filters selected"),H())},sFb=function(a,b){if(a&1){var c=v();J(0);G(1,"b-signal-chip",20);M("onRemove",function(){var d=w(c).$implicit,e=O(2);return y(e.toggleSignal(d))});H();L()}a&2&&(a=b.$implicit,z(1),F("removable",!0)("generalDescriptionOnly",!0)("iconOnly",!1)("isSelected",!0)("matTooltipShowDelay",750)("signal",Jf(6,rFb,a)))},vFb=function(a){if(a&1){var b=v();G(0,"div",
8)(1,"div",9)(2,"button",10);M("click",function(){w(b);var d=O();return y(d.fetchIssues())})("onHotkey",function(){w(b);var d=O();return y(d.fetchIssues())});I(3,"mat-icon",11);H();G(4,"p",12);R(5," Applied alerts ");H();G(6,"a",13);I(7,"mat-icon",14);H()();G(8,"section",15)(9,"select-signals-menu",16);M("selected",function(d){w(b);var e=O();return y(tFb(e,d))});H();Q(10,qFb,2,0,"span",17);S(11,"async");Q(12,sFb,2,8,"ng-container",18);S(13,"async");H()()}if(a&2){a=O();var c;z(2);F("hotkey",a.HOTKEYS.REFRESH_ISSUE_LIST);
z(7);F("selectedSignals$",a.selectedSignals$);z(1);F("ngIf",0===(null!==(c=T(11,4,a.selectedSignals$))&&void 0!==c?c:If(8,uFb)).length);z(2);F("ngForOf",T(13,6,a.selectedSignals$))}},xFb=function(a){if(a&1){var b=v();G(0,"div")(1,"button",21);M("click",function(){w(b);var c=O();return y(wFb(c))});R(2," Dismiss selected ");H()()}a&2&&(a=O(),z(1),F("disabled",a.dismissSelectedInProgress))},yFb=function(a){a&1&&(G(0,"div",22),I(1,"b-spinner"),G(2,"span"),R(3," Searching for issues needing attention..."),
H()())},zFb=function(a){a&1&&(G(0,"p",28),R(1," No alerts are selected. Select alerts via the filter icon above. "),H())},AFb=function(a){a&1&&(G(0,"p",28),R(1,"No issues matching the current filters."),H())},BFb=function(a){a&1&&(G(0,"div",23),I(1,"img",24),G(2,"p",25),R(3,"So empty"),H(),Q(4,zFb,2,0,"p",26),S(5,"async"),Q(6,AFb,2,0,"ng-template",null,27,Zf),H());if(a&2){var b=Cf(7);a=O();var c;z(1);F("src",a.SPACE_EMPTY_STATE,Md);z(3);F("ngIf",0===(null!==(c=T(5,3,a.selectedSignals$))&&void 0!==
c?c:If(5,uFb)).length)("ngIfElse",b)}},CFb=function(a,b){a&1&&(G(0,"th",44)(1,"span",0),R(2),H()());a&2&&(a=b.column,gf("data-stable-column-name",a.name),z(2),Df("column-",a.name,""))},EFb=function(a,b){if(a&1){var c=v();G(0,"th",45);J(1);G(2,"mat-pseudo-checkbox",46);M("click",function(d){w(c);var e=O(2);d.stopPropagation();return y(e.toggleAllIssueSelection())})("keydown.enter",function(d){w(c);var e=O(2);d.stopPropagation();return y(e.toggleAllIssueSelection())})("keydown.space",function(d){w(c);
var e=O(2);d.stopPropagation();return y(e.toggleAllIssueSelection())});H();L();H()}a&2&&(a=b.column,b=O(2),gf("data-stable-column-name",a.name),z(2),F("state",b.getHeaderCheckboxState()),gf("aria-checked",DFb(b)))},FFb=function(a,b){a&1&&(G(0,"th"),J(1),I(2,"pop-grid-default-th",47),L(),H());a&2&&(a=b.column,gf("data-stable-column-name",a.name),z(2),F("column",a))},GFb=function(a){a&1&&I(0,"td",44)},HFb=function(a,b){if(a&1){var c=v();G(0,"td",45);J(1);G(2,"mat-pseudo-checkbox",48);M("click",function(d){var e=
w(c),g=e.index;e=e.row;var h=O(2);d.stopPropagation();return y(h.onCheckboxClicked(d,g,e))});H();L();H()}a&2&&(a=b.row,z(2),F("state",a.selected?"checked":"unchecked"),gf("aria-label","Select issue "+a.issueId)("aria-checked",a.selected))},IFb=function(a,b){if(a&1){var c=v();G(0,"td",49);J(1);G(2,"b-star-toggle",50);M("starClicked",function(){var d=w(c).row,e=O(2);return y(e.toggleStar(d))});H();L();H()}a&2&&(a=b.row,b=O(2),z(2),F("starred",a.starred)("disabled",b.starInProgress[a.issueId])("starMessage",
"Star this issue")("unStarMessage","Un-star this issue"))},KFb=function(a,b){if(a&1){var c=v();G(0,"td",51);J(1);G(2,"a",52);M("click",function(){var d=w(c).row,e=O(2);return y(JFb(e,d.issueId))});R(3);H();L();H()}a&2&&(a=b.row,b=O(2),z(2),F("href",b.paths.editIssue(a.issueId),Md),gf("title",a.title),z(1),Df(" ",a.issueId," "))},LFb=function(a,b){a&1&&(J(0),I(1,"b-signal-chip",54),L());a&2&&(a=b.$implicit,b=O(3),z(1),F("signal",a)("iconOnly",!0)("isSelected",b.selectedSignals$.value.includes(a.signalType)))},
MFb=function(a,b){a&1&&(G(0,"td",53),Q(1,LFb,2,3,"ng-container",18),H());a&2&&(a=b.row,z(1),F("ngForOf",a.signals))},NFb=function(a,b){if(a&1){var c=v();G(0,"td");J(1);G(2,"button",21);M("click",function(){var d=w(c).row,e=O(2);return y(e.dismissIssue(d))});R(3," Dismiss ");H();L();H()}a&2&&(a=b.row,b=O(2),z(2),F("disabled",b.dismissInProgress[a.issueId]))},OFb=function(a){a&1&&I(0,"archived-issue-indicator")},PFb=function(a,b){a&1&&I(0,"b-hotlist-chip-smart",64);a&2&&F("id",b.$implicit)("removable",
!1)},QFb=function(a){a&1&&(G(0,"div",62),Q(1,PFb,1,2,"b-hotlist-chip-smart",63),H());a&2&&(a=O().row,z(1),F("ngForOf",a.hotlistId))},RFb=function(a,b){if(a&1){var c=v();G(0,"td",55);S(1,"async");J(2);G(3,"div",56);S(4,"async");Q(5,OFb,1,0,"archived-issue-indicator",3);I(6,"b-access-level-indicator",57)(7,"b-retention-chip",58);G(8,"div",59)(9,"a",60);M("click",function(){var h=w(c).row,l=O(2);return y(JFb(l,h.issueId))});R(10);H()();Q(11,QFb,2,1,"div",61);S(12,"async");H();L();H()}if(a&2){a=b.row;
b=O(2);var d,e,g;qf("bv2-grid-cell-variable-height",null==(d=T(1,15,b.listViewPrefs$))?null:d.wrapTitles);z(3);qf("bv2-grid-cell-flex-wrap",null==(e=T(4,17,b.listViewPrefs$))?null:e.wrapTitles);z(2);F("ngIf",a.archived);z(1);F("accessLevel",a.accessLevel)("compactMode",!0);z(1);F("retentionState",a.retentionState)("showOnlyInDangerZone",!0)("compactMode",!0)("modifiedTime",a.modifiedTime);z(2);F("href",b.paths.editIssue(a.issueId),Md);gf("title",a.title);z(1);Df(" ",a.title," ");z(1);F("ngIf",null==
(g=T(12,19,b.listViewPrefs$))?null:g.showHotlists)}},SFb=function(a,b){a&1&&(G(0,"td",65),J(1),G(2,"div",66),R(3),H(),L(),H());a&2&&(a=b.row,b=O(2),z(2),qf("low",b.isLowPriority(a))("high",b.isHighPriority(a))("p0",b.isP0Priority(a)),z(1),Df(" P",a.priority," "))},TFb=function(a){a&1&&I(0,"mat-icon",72);if(a&2){a=O().$implicit;var b=O(4);F("svgIcon",b.STATUS_ICON[a])}},UFb=function(a){a&1&&(J(0),R(1),L());if(a&2){a=O().$implicit;var b=O(4);z(1);Ef(b.STATUS_TERSE[a])}},VFb=function(a){a&1&&(G(0,"span"),
R(1),H());if(a&2){a=O().$implicit;var b=O(4);tf("chippy status-",a,"");z(1);Df(" ",b.STATUS_TERSE[a]," ")}},WFb=function(a,b){a&1&&(J(0),G(1,"span",68),S(2,"async"),Q(3,TFb,1,1,"mat-icon",69),Q(4,UFb,2,1,"ng-container",70),Q(5,VFb,2,4,"span",71),H(),L());if(a&2){a=b.$implicit;b=O(4);var c;z(1);F("ngSwitch",null==(c=T(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]);z(2);F("ngSwitchCase","icon");z(1);
F("ngSwitchCase","plain")}},XFb=function(a){a&1&&(J(0),Q(1,WFb,6,6,"ng-container",3),L());if(a&2){a=O().row;var b=O(2);z(1);F("ngIf",b.convertIssueStatusStrToTag(a.status))}},YFb=function(a){a&1&&(G(0,"td",67),Q(1,XFb,2,1,"ng-container",3),H());a&2&&(O(2),z(1),F("ngIf",!0))},ZFb=function(a,b){a&1&&(G(0,"b-person-hovercard",75),R(1),H());a&2&&(a=b.ngIf,b=O().row,F("email",a),z(1),Df(" ",b.assignee," "))},$Fb=function(a){a&1&&(G(0,"span"),R(1,"--"),H())},aGb=function(a,b){a&1&&(G(0,"td",73),J(1),Q(2,
ZFb,2,2,"b-person-hovercard",74),S(3,"omitObfuscatedEmail"),Q(4,$Fb,2,0,"span",3),L(),H());a&2&&(a=b.row,z(2),F("ngIf",T(3,2,a.assignee)),z(2),F("ngIf",!a.assignee))},cGb=function(a){if(a&1){var b=v();G(0,"div",29)(1,"pop-grid",30);M("focusedRowIndexChange",function(c){w(b);var d=O();return y(d.focusedRowIndex=c)})("rowClick",function(c){w(b);var d=O();return y(d.goToIssue(c.id,c.isRead,c.event))})("sortChange",function(c){w(b);var d=O();return y(d.onSortChange(c))});Q(2,CFb,3,2,"th",31);Q(3,EFb,
3,3,"th",32);Q(4,FFb,3,2,"th",33);Q(5,GFb,1,0,"td",34);Q(6,HFb,3,3,"td",35);Q(7,IFb,3,4,"td",36);Q(8,KFb,4,3,"td",37);Q(9,MFb,2,1,"td",38);Q(10,NFb,4,1,"td",39);Q(11,RFb,13,21,"td",40);Q(12,SFb,4,7,"td",41);Q(13,YFb,2,1,"td",42);Q(14,aGb,5,4,"td",43);H()()}a&2&&(a=O(),z(1),F("list",bGb(a))("columns",a.columns)("focusedRowIndex",a.focusedRowIndex)("enableDragDropHeader",!1)("rowLabelRenderer",a.issueDescription)("sort",a.sortConfig),z(1),F("forHeaderCell","focused"),z(1),F("forHeaderCell","selected"),
z(2),F("forViewCell","focused"),z(1),F("forViewCell","selected"),z(1),F("forViewCell","starred"),z(1),F("forViewCell","issueId"),z(1),F("forViewCell","alerts"),z(1),F("forViewCell","dismiss"),z(1),F("forViewCell","title"),z(1),F("forViewCell","priority"),z(1),F("forViewCell","status"),z(1),F("forViewCell","assignee"))},dGb=function(a){a&1&&vf(0)},fGb=function(a,b){a&1&&(J(0),Q(1,dGb,1,0,"ng-container",7),L());if(a&2){a=b.$implicit;O(3);var c=Cf(5);z(1);F("ngTemplateOutlet",c)("ngTemplateOutletContext",
Jf(2,eGb,a))}},gGb=function(a){a&1&&(G(0,"div",4)(1,"div",5),R(2,"TEAMFOOD"),H(),Q(3,fGb,2,4,"ng-container",6),S(4,"async"),H());a&2&&(a=O(2),z(3),F("ngForOf",T(4,1,a.beapFeaturesTF$)))},hGb=function(a){a&1&&vf(0)},iGb=function(a,b){a&1&&(J(0),Q(1,hGb,1,0,"ng-container",7),L());if(a&2){a=b.$implicit;O(3);var c=Cf(5);z(1);F("ngTemplateOutlet",c)("ngTemplateOutletContext",Jf(2,eGb,a))}},jGb=function(a){a&1&&(G(0,"div",4)(1,"div",5),R(2,"EARLY ACCESS"),H(),Q(3,iGb,2,4,"ng-container",6),S(4,"async"),
H());a&2&&(a=O(2),z(3),F("ngForOf",T(4,1,a.beapFeaturesEA$)))},kGb=function(a){a&1&&(J(0),Q(1,gGb,5,3,"div",3),S(2,"async"),Q(3,jGb,5,3,"div",3),S(4,"async"),L());a&2&&(a=O(),z(1),F("ngIf",T(2,2,a.hasFeaturesTF$)),z(2),F("ngIf",T(4,4,a.hasFeaturesEA$)))},lGb=function(a){a&1&&(G(0,"div",8),R(1,"No available experiments"),H())},mGb=function(a){a&1&&(G(0,"a",23),R(1," Learn more"),H());a&2&&(a=O().feature,gf("href",a.learnMoreLink,Md))},nGb=function(a){a&1&&(G(0,"b-callout",24)(1,"b-callout-body"),R(2,
" Reload page to see changes. "),H()())},oGb=function(a,b){if(a&1){var c=v();G(0,"div",9)(1,"div",10)(2,"div",11);I(3,"mat-slide-toggle",12);S(4,"featureState");S(5,"featureState");H();G(6,"div",13)(7,"div",14);R(8);H();G(9,"span",15);R(10);Q(11,mGb,2,1,"a",16);H();G(12,"div",17)(13,"a",18);M("click",function(){var d=w(c).feature;O().linkClicked[d.experimentId]=!0;return y()});I(14,"mat-icon",19);R(15);S(16,"featureState");H()();Q(17,nGb,3,0,"b-callout",20);H();G(18,"div",21);I(19,"b-app-beap-state-indicator",
22);H()()()}a&2&&(a=b.feature,b=O(),z(3),F("checked",T(4,10,a.state))("matTooltip",T(5,12,a.state)?"Opted in":"Opted out")("disabled",!0),z(5),Df(" ",a.title," "),z(2),Df("",a.description," "),z(1),F("ngIf",a.learnMoreLink),z(2),gf("href","https://webdog.corp.google.com/app/list;frontend=buganizer;id="+a.experimentId,Md),z(2),Df(" ",T(16,14,a.state)?"Opt out":"Opt in"," "),z(2),F("ngIf",!!b.linkClicked[a.experimentId]),z(2),F("experimentId",a.experimentId))},pGb=function(a){a&1&&(G(0,"mat-option",
26),R(1),H());a&2&&(a=O().$implicit,F("value",a),z(1),Df(" ",a.name," "))},qGb=function(a,b){a&1&&(J(0),Q(1,pGb,2,2,"mat-option",25),L());a&2&&(a=b.$implicit,z(1),F("ngIf",a.shouldDisplay()))},rGb=function(a,b){a&1&&(G(0,"mat-option",29),R(1),H());a&2&&(a=b.$implicit,F("value",a.id),z(1),Df(" ",a.name," "))},tGb=function(a){if(a&1){var b=v();G(0,"mat-form-field",5)(1,"mat-select",27);M("ngModelChange",function(c){w(b);var d=O();return y(d.preferredHomepage.selectedOptionId=c)})("selectionChange",
function(){w(b);var c=O();return y(sGb(c.preferredHomepage))});Q(2,rGb,2,2,"mat-option",28);H()()}a&2&&(a=O(),z(1),F("ngModel",a.preferredHomepage.selectedOptionId),z(1),F("ngForOf",a.preferredHomepage.selectedMainOption.options))},uGb=function(a,b){a&1&&(G(0,"mat-option",30),R(1),H());a&2&&(a=b.$implicit,F("value",a.value),z(1),Df(" ",a.label," "))},vGb=function(a,b){a&1&&(G(0,"mat-option",30),R(1),H());a&2&&(a=b.$implicit,F("value",a.value),z(1),Df(" ",a.label," "))},wGb=function(a,b){a&1&&(G(0,
"mat-option",30),R(1),H());a&2&&(a=b.$implicit,F("value",a.value),z(1),Df(" ",a.label," "))},xGb=function(a){if(a&1){var b=v();G(0,"div",20)(1,"mat-slide-toggle",31);M("change",function(c){w(b);var d=O();c=c.checked;d.userPreferences.showInlineImages=c;d.save("showInlineImages",c.toString());return y()});R(2," Show SnipIt images inline in comments ");H()()}a&2&&(a=O(),z(1),F("checked",a.getShowInlineImages()))},yGb=function(a){if(a&1){var b=v();J(0);G(1,"div",0)(2,"div",1)(3,"p",2);R(4,"Other");H()();
G(5,"div")(6,"div")(7,"mat-slide-toggle",32);M("change",function(c){w(b);var d=O();d.userPreferences.bugScreensaverPreferences.enableBugScreensaver=c.checked;return y(d.save("saveBugScreensaverPreferences"))});R(8," Enable bug screensaver ");H()()()();L()}a&2&&(a=O(),z(7),F("checked",a.userPreferences.bugScreensaverPreferences.enableBugScreensaver))},zGb=function(a,b){a&1&&(G(0,"mat-option",20),R(1),S(2,"toNewEmailPreference"),H());a&2&&(a=b.$implicit,F("value",a),z(1),Df(" ",T(2,2,a)," "))},AGb=
function(a,b){a&1&&(G(0,"mat-option",20),R(1),S(2,"toNewEmailPreference"),H());a&2&&(a=b.$implicit,F("value",a),z(1),Df(" ",T(2,2,a)," "))},BGb=function(a,b){a&1&&(G(0,"mat-option",20),R(1),S(2,"toNewEmailPreference"),H());a&2&&(a=b.$implicit,F("value",a),z(1),Df(" ",T(2,2,a)," "))},CGb=function(a,b){a&1&&(G(0,"mat-option",20),R(1),S(2,"toNewEmailPreference"),H());a&2&&(a=b.$implicit,F("value",a),z(1),Df(" ",T(2,2,a)," "))},DGb=function(a,b){a&1&&(G(0,"mat-option",20),R(1),S(2,"toNewEmailPreference"),
H());a&2&&(a=b.$implicit,F("value",a),z(1),Df(" ",T(2,2,a)," "))},EGb=function(a,b){a&1&&(G(0,"mat-option",20),R(1),S(2,"toNewEmailPreference"),H());a&2&&(a=b.$implicit,F("value",a),z(1),Df(" ",T(2,2,a)," "))},FGb=function(a,b){a&1&&(G(0,"mat-option",3),R(1),H());a&2&&(a=b.$implicit,F("value",a.id),z(1),Df(" ",a.displayName," "))},GGb=function(a){a&1&&(J(0),I(1,"b-spinner"),L())},HGb=function(a){a&1&&(G(0,"mat-hint"),R(1,"This field is read-only"),H())},IGb=function(a,b){a&1&&(G(0,"mat-option",20),
R(1),H());a&2&&(a=b.$implicit,F("value",a.frequency),z(1),Df(" ",a.display," "))},JGb=function(a,b){a&1&&(G(0,"mat-option",20),R(1),H());a&2&&(a=b.$implicit,F("value",a.ordinal),z(1),Df(" ",a.display," "))},KGb=function(a){if(a&1){var b=v();G(0,"div")(1,"mat-form-field",14)(2,"mat-label");R(3," Repeat on ");H();G(4,"mat-select",16);M("ngModelChange",function(d){w(b);var e=O(2).ngIf,g=O(2);ds(g,Object.assign({},e,{ordinal:d}));return y()});Q(5,JGb,2,2,"mat-option",17);H()()()}if(a&2){a=O(2).ngIf;var c=
O(2);z(4);F("ngModel",a.ordinal);z(1);F("ngForOf",c.repeatOnOptions.get(a.frequency))}},LGb=function(a,b){a&1&&(G(0,"mat-option",20),R(1),H());a&2&&(a=b.$implicit,F("value",a.timeOfDay),z(1),Df(" ~",a.display," "))},MGb=function(a,b){if(a&1){var c=v();J(0);G(1,"div")(2,"mat-form-field",14)(3,"mat-label");R(4," Repeat at ");H();G(5,"mat-select",21);M("ngModelChange",function(e){w(c);var g=O(2).ngIf,h=O(2);ds(h,Object.assign({},g,{timeOfDay:e}));return y()});Q(6,LGb,2,2,"mat-option",17);H()()();L()}if(a&
2){a=b.ngIf;b=O(2).ngIf;var d=O(2);z(5);F("ngModel",b.timeOfDay)("compareWith",d.compareTimeOfDay);z(1);F("ngForOf",a)}},NGb=function(a){a&1&&(G(0,"div",22),R(1),H());a&2&&(a=O(2).ngIf,z(1),Df(" Subscription ID: ",a.id," "))},OGb=function(a){if(a&1){var b=v();J(0);G(1,"div")(2,"mat-form-field",14)(3,"mat-label");R(4," Frequency ");H();G(5,"mat-select",16);M("ngModelChange",function(d){w(b);var e=O().ngIf,g=O(2);return y(g.setFrequency(d,e))});Q(6,IGb,2,2,"mat-option",17);H()()();Q(7,KGb,6,2,"div",
0);Q(8,MGb,7,3,"ng-container",0);S(9,"async");G(10,"div")(11,"b-timezone-picker",18);M("timezoneIdChange",function(d){w(b);var e=O().ngIf,g=O(2);return y(g.setTimeZone(d,e))});H()();Q(12,NGb,2,1,"div",19);L()}if(a&2){a=O().ngIf;var c=O(2);z(5);F("ngModel",a.frequency);z(1);F("ngForOf",c.frequencyOptions);z(1);F("ngIf",a.frequency!==c.DAILY);z(1);F("ngIf",T(9,7,c.repeatAtOptions$));z(3);F("timezoneId",a.timeZone.id)("fullWidth",!0);z(1);F("ngIf",a.id)}},QGb=function(a,b){if(a&1){var c=v();J(0);G(1,
"div")(2,"div",7)(3,"mat-slide-toggle",13);M("change",function(){w(c);var d=O(2);return y(PGb(d))});S(4,"async");R(5," Subscribe to your own reports ");Q(6,GGb,2,0,"ng-container",0);S(7,"async");H()();G(8,"div")(9,"mat-form-field",14)(10,"mat-label");R(11,"Scope");H();G(12,"input",15);M("focus",function(){w(c);var d=O(2);return y(d.inputHasFocus=!0)})("blur",function(){w(c);var d=O(2);return y(d.inputHasFocus=!1)});H();Q(13,HGb,2,0,"mat-hint",0);H()();Q(14,OGb,13,9,"ng-container",0);H();L()}a&2&&
(a=b.ngIf,b=O(2),z(3),F("disabled",T(4,6,b.isThinking$))("checked",0!==a.id),z(3),F("ngIf",T(7,8,b.isThinking$)),z(6),F("ngModel",b.currentUser.email),z(1),F("ngIf",b.inputHasFocus),z(1),F("ngIf",0!==a.id))},RGb=function(a){a&1&&(J(0),G(1,"div",1)(2,"div",2)(3,"p",3),R(4,"Frequency settings"),H(),G(5,"p",10),R(6," Choose when to receive your own reports. "),G(7,"a",11),R(8,"Learn more"),H()()(),Q(9,QGb,15,10,"ng-container",0),S(10,"async"),H(),I(11,"hr",12),L());a&2&&(a=O(),z(9),F("ngIf",T(10,1,a.userSubscription$)))},
SGb=function(a){a&1&&(J(0),I(1,"b-spinner"),L())},TGb=function(a){a&1&&(G(0,"th",31),R(1,"Scope"),H())},UGb=function(a,b){a&1&&(G(0,"td",32),R(1),H());a&2&&(a=b.$implicit,z(1),Df(" ",a.lead.emailAddress," "))},VGb=function(a){a&1&&(G(0,"th",31),R(1,"Frequency"),H())},YGb=function(a,b){a&1&&(G(0,"td",32),R(1),S(2,"async"),S(3,"async"),H());if(a&2){a=b.$implicit;b=O(2);var c;z(1);Fka(" ",b.frequencyDisplayMap.get(a.frequency)," ",a.ordinal?"weekly"===a.frequency?"- "+WGb[a.ordinal-1].display:"monthly"===
a.frequency?"- "+XGb(a.ordinal):"":""," - ",null==(c=T(2,4,b.hourOfDayDisplayMap$))?null:c.get(a.timeOfDay.hours)," - ",null==(c=T(3,6,b.timeZoneDisplayMap$))?null:c.get(a.timeZone.id)," ")}},ZGb=function(a){a&1&&I(0,"th",31)},aHb=function(a){if(a&1){var b=v();G(0,"td",32)(1,"button",33);I(2,"mat-icon",34);H();G(3,"mat-menu",null,35)(5,"button",36);M("click",function(){var d=w(b).$implicit,e=O(2);return y(e.openDialog(d))});R(6," Edit subscription ");H();G(7,"button",37);M("click",function(){var d=
w(b).$implicit,e=O(2);return y($Gb(e,d))});R(8," Delete subscription ");H()()()}if(a&2){var c=Cf(4);z(1);F("matMenuTriggerFor",c)}},bHb=function(a){a&1&&I(0,"tr",38)},cHb=function(a,b){a&1&&I(0,"tr",39);a&2&&(a=b.$implicit,gf("aria-label","Subscription with ID "+a.id+" and scoped to "+a.lead.emailAddress))},dHb=function(a){a&1&&(J(0),G(1,"table",23),J(2,24),Q(3,TGb,2,0,"th",25),Q(4,UGb,2,1,"td",26),L(),J(5,27),Q(6,VGb,2,0,"th",25),Q(7,YGb,4,8,"td",26),L(),J(8,28),Q(9,ZGb,1,0,"th",25),Q(10,aHb,9,1,
"td",26),L(),Q(11,bHb,1,0,"tr",29),Q(12,cHb,1,1,"tr",30),H(),L());a&2&&(a=O(),z(1),F("dataSource",a.subscriptions$),z(10),F("matHeaderRowDef",a.columns),z(1),F("matRowDefColumns",a.columns))},eHb=function(a){a&1&&(G(0,"mat-error"),R(1,"Please select a valid, single user"),H())},fHb=function(a){a&1&&(G(0,"mat-error"),R(1,"Report for sundar@ cannot be generated"),H())},gHb=function(a,b){a&1&&(G(0,"mat-option",20),R(1),H());a&2&&(a=b.$implicit,F("value",a.frequency),z(1),Df(" ",a.display," "))},hHb=
function(a,b){a&1&&(G(0,"mat-option",20),R(1),H());a&2&&(a=b.$implicit,F("value",a.ordinal),z(1),Df(" ",a.display," "))},iHb=function(a){if(a&1){var b=v();G(0,"div")(1,"mat-form-field",14)(2,"mat-label");R(3," Repeat on ");H();G(4,"mat-select",16);M("ngModelChange",function(d){w(b);var e=O().$implicit;return y(e.ordinal=d)});Q(5,hHb,2,2,"mat-option",17);H()()()}if(a&2){a=O().$implicit;var c=O();z(4);F("ngModel",a.ordinal);z(1);F("ngForOf",c.repeatOnOptions.get(a.frequency))}},jHb=function(a,b){a&
1&&(G(0,"mat-option",20),R(1),H());a&2&&(a=b.$implicit,F("value",a.timeOfDay),z(1),Df(" ~",a.display," "))},kHb=function(a,b){if(a&1){var c=v();J(0);G(1,"div")(2,"mat-form-field",14)(3,"mat-label");R(4," Repeat at ");H();G(5,"mat-select",21);M("ngModelChange",function(e){w(c);var g=O().$implicit;return y(g.timeOfDay=e)});Q(6,jHb,2,2,"mat-option",17);H()()();L()}if(a&2){a=b.ngIf;b=O().$implicit;var d=O();z(5);F("ngModel",b.timeOfDay)("compareWith",d.compareTimeOfDay);z(1);F("ngForOf",a)}},lHb=function(a){a&
1&&(G(0,"div",22),R(1),H());a&2&&(a=O().$implicit,z(1),Df(" Subscription ID: ",a.id," "))},oHb=function(a,b){if(a&1){var c=v();G(0,"h1",40);R(1,"Add report subscription");H();G(2,"mat-dialog-content")(3,"p",41);R(4," Select the user (scope) and frequency of the report you wish to receive. ");H();G(5,"div")(6,"mat-form-field",42)(7,"mat-label");R(8,"Scope");H();G(9,"input",43);M("ngModelChange",function(e){var g=w(c).$implicit,h=O();return y(g.lead=h.emailToUser(e))});H();Q(10,eHb,2,0,"mat-error",
0);Q(11,fHb,2,0,"mat-error",0);H()();G(12,"div")(13,"mat-form-field",14)(14,"mat-label");R(15," Frequency ");H();G(16,"mat-select",16);M("ngModelChange",function(e){var g=w(c).$implicit;return y(g.frequency=e)})("ngModelChange",function(e){var g=w(c).$implicit;O();return y(mHb(e,g))});Q(17,gHb,2,2,"mat-option",17);H()()();Q(18,iHb,6,2,"div",0);Q(19,kHb,7,3,"ng-container",0);S(20,"async");G(21,"div")(22,"b-timezone-picker",18);M("timezoneIdChange",function(e){var g=w(c).$implicit;return y(g.timeZone.id=
e)});H()();Q(23,lHb,2,1,"div",19);G(24,"p",44);R(25," You are the only recipient of your subscription. Anyone else wishing to receive this report will need to subscribe for themselves. ");H();G(26,"a",45);R(27,"Learn more");H()();G(28,"mat-dialog-actions")(29,"button",46);R(30,"Cancel");H();G(31,"button",8);M("click",function(){var e=w(c).$implicit,g=O();return y(nHb(g,e))});R(32);H()()}if(a&2){a=b.$implicit;b=O();var d;z(9);F("ngModel",null!==(d=null==a.lead?null:a.lead.emailAddress)&&void 0!==d?
d:"")("bContactAutocomplete","SINGLE");z(1);F("ngIf",b.dialogInvalidEmailFormat);z(1);F("ngIf",b.ceoSelected);z(5);F("ngModel",a.frequency);z(1);F("ngForOf",b.frequencyOptions);z(1);F("ngIf",a.frequency!==b.DAILY);z(1);F("ngIf",T(20,13,b.repeatAtOptions$));z(3);F("timezoneId",a.timeZone.id)("fullWidth",!0);z(1);F("ngIf",a.id);z(8);F("disabled",!a.lead||!a.lead.emailAddress);z(1);Df(" ",0===a.id?"Add":"Update"," ")}},XGb=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"},pHb=function(a){a&1&&(G(0,"mat-tab",7)(1,"div",3),I(2,"b-slo-reports-settings"),H()())},qHb=function(a){a&1&&(G(0,"mat-tab",8)(1,"div",3),I(2,"b-beap-settings"),H()())},rHb=function(a){if(a&1){var b=v();G(0,"b-star-toggle",13);M("starClicked",function(){w(b);var c=O(2);return y(c.toggleStar())});H()}a&2&&(a=O(2),F("starMessage","Star this bookmark group")("unStarMessage","Un-star this bookmark group")("starred",a.isStarred))},sHb=function(a){a&
1&&I(0,"b-star-toggle",14);a&2&&F("starMessage","You are an admin of this bookmark group, and cannot star/unstar it.")("unStarMessage","You are an admin of this bookmark group, and cannot star/unstar it.")("starred",!0)("disabled",!0)},tHb=function(a,b){a&1&&(G(0,"li")(1,"a",15),R(2),H()());a&2&&(a=b.$implicit,b=O(2),z(1),F("href",b.getUrl(a),Md)("title",a.description),z(1),Df(" ",b.getDisplayName(a)," "))},uHb=function(a){if(a&1){var b=v();G(0,"div")(1,"div",4)(2,"div",5);Q(3,rHb,1,3,"b-star-toggle",
6);Q(4,sHb,1,4,"b-star-toggle",7);G(5,"span",8);R(6);H();G(7,"button",9);M("click",function(){w(b);var c=O();return y(c.openEditBookmarkGroup())});H()();G(8,"div",10);R(9);H()();G(10,"ul",11);Q(11,tHb,3,3,"li",12);H()()}a&2&&(a=O(),z(3),F("ngIf",!a.userIsAdmin),z(1),F("ngIf",a.userIsAdmin),z(2),Df("Bookmark Group: ",a.bookmarkGroup.name," "),z(3),Ef(a.bookmarkGroup.description),z(2),F("ngForOf",a.bookmarkGroup.item))},vHb=function(a){if(a&1){var b=v();G(0,"b-star-toggle",16);M("starClicked",function(){w(b);
var c=O(2);return y(c.toggleStar())})("keydown.space",function(c){return c.stopPropagation()})("keydown.enter",function(c){return c.stopPropagation()});H()}a&2&&(a=O(2),F("starMessage","Star this hotlist")("unStarMessage","Un-star this hotlist")("starred",a.isStarred))},wHb=function(a){a&1&&I(0,"b-star-toggle",17);a&2&&F("starMessage","You are an admin of this hotlist, and cannot star/unstar it.")("unStarMessage","You are an admin of this hotlist, and cannot star/unstar it.")("starred",!0)("disabled",
!0)},xHb=function(a){a&1&&I(0,"b-star-toggle",17);a&2&&F("starMessage","")("unStarMessage","")("starred",!1)("disabled",!0)},yHb=function(a){a&1&&(G(0,"div",18),R(1," Hotlist not found. "),H());a&2&&F("bFocus",!0)},zHb=function(a){a&1&&(G(0,"div"),R(1," Loading details... "),H())},AHb=function(a){a&1&&(G(0,"span",25),R(1," (archived) "),H())},BHb=function(a){a&1&&(G(0,"span",26),R(1," \u00a0(changed) "),H())},CHb=function(a){if(a&1){var b=v();G(0,"div")(1,"span",19);R(2," Hotlist: ");G(3,"span",20);
R(4);H()();Q(5,AHb,2,0,"span",21);G(6,"div",22)(7,"button",23);M("click",function(){w(b);var c=O(2);return y(c.openEditHotlist())});H()();Q(8,BHb,2,0,"span",24);H()}a&2&&(a=O(2),z(3),F("matTooltip",a.hotlist.description),z(1),Df(" ",a.hotlist.name," "),z(1),F("ngIf",a.hotlist.archived),z(3),F("ngIf",a.hasParamChanges()))},DHb=function(a){if(a&1){var b=v();G(0,"div",27)(1,"button",28);M("click",function(){w(b);var c=O(2);return y(c.save())});R(2,"Save ");H();G(3,"button",29);M("click",function(){w(b);
var c=O(2);return y(c.discardChanges())});R(4,"Discard changes ");H()()}},EHb=function(a){a&1&&(G(0,"div",9),Q(1,vHb,1,3,"b-star-toggle",10),Q(2,wHb,1,4,"b-star-toggle",11),Q(3,xHb,1,4,"b-star-toggle",11),G(4,"div",12),Q(5,yHb,2,1,"div",13),Q(6,zHb,2,0,"div",14),Q(7,CHb,9,4,"div",14),H(),Q(8,DHb,5,0,"div",15),H());a&2&&(a=O(),z(1),F("ngIf",!a.isDirectAdmin()&&a.hotlist&&!a.hotlist.archived),z(1),F("ngIf",a.isDirectAdmin()&&a.hotlist&&!a.hotlist.archived),z(1),F("ngIf",!a.hotlist),z(2),F("ngIf",!a.hotlist&&
!a.hotlistLoading),z(1),F("ngIf",a.hotlistLoading),z(1),F("ngIf",a.hotlist&&!a.hotlistLoading),z(1),F("ngIf",a.hasParamChanges()))},FHb=function(a){a&1&&(G(0,"div",30),I(1,"b-spinner"),G(2,"span"),R(3),H()());a&2&&(a=O(),z(3),Df(" Loading hotlist: ",a.hotlistId,""))},GHb=function(a){a&1&&(G(0,"div",31),R(1),H());a&2&&(a=O(),F("bFocus",!0),z(1),Df(" No issues in hotlist ",a.hotlistId,". "))},HHb=function(a){if(a&1){var b=v();G(0,"div",32)(1,"b-issues-grid",33);M("init",function(c){w(b);var d=O();return y(d.resultsGrid=
c)})("focusedRowIndexChange",function(c){w(b);var d=O();return y(d.focusedRowIndex=c)})("columnsChange",function(c){w(b);var d=O();return y(d.issueColumns=c)})("sortChange",function(c){w(b);var d=O();return y(d.setSort(c.field,c.direction))})("rowClick",function(c){w(b);var d=O();return y(d.goToIssue(c.id,c.isRead,c.event))})("onRowDragDrop",function(c){w(b);var d=O();return y(d.repositionIssue(c.srcIndex,c.destIndex))})("onNextPage",function(){w(b);var c=O();return y(Xr(c,c.page,1))})("onPrevPage",
function(){w(b);var c=O();return y(Xr(c,c.page,-1))});H()()}a&2&&(a=O(),z(1),F("searchResults",a.searchResults)("focusedRowIndex",a.focusedRowIndex)("columns",a.issueColumns)("enableColumnSaving",!!a.isColumnSaveEnabled)("sort",a.getSort()))},IHb=function(a){a&1&&(G(0,"div"),R(1," Loading details... "),H())},JHb=function(a){a&1&&(G(0,"div"),R(1," Saved search not found. "),H())},KHb=function(a){a&1&&(G(0,"span",15),R(1," \u00a0(changed) "),H())},LHb=function(a){if(a&1){var b=v();G(0,"div",11);R(1,
" Saved search: ");G(2,"span",12);R(3);H();G(4,"button",13);M("click",function(){w(b);var c=O(2);return y(c.openEditSavedSearch())});H();Q(5,KHb,2,0,"span",14);H()}a&2&&(a=O(2),z(2),F("matTooltip",a.savedSearch.description),z(1),Df(" ",a.savedSearch.name," "),z(2),F("ngIf",a.hasParamChanges()))},MHb=function(a){a&1&&(G(0,"div",9),Q(1,IHb,2,0,"div",8),Q(2,JHb,2,0,"div",8),Q(3,LHb,6,3,"div",10),H());a&2&&(a=O(),z(1),F("ngIf",!a.savedSearch&&a.isLoading),z(1),F("ngIf",!a.savedSearch&&!a.isLoading),z(1),
F("ngIf",a.savedSearch))},NHb=function(a){if(a&1){var b=v();G(0,"div",16)(1,"button",17);M("click",function(){w(b);var c=O();return y(c.save())});R(2,"Save ");H();G(3,"button",18);M("click",function(){w(b);var c=O();return y(c.discardChanges())});R(4,"Discard changes ");H();G(5,"span",19)(6,"a",20);M("click",function(){w(b);var c=O();c.analytics.trackEvent(c.ANALYTICS_CATEGORY,"backToNormalSearch");return y()});R(7," Back to normal search");H()()()}a&2&&(a=O(),z(6),F("href",a.exitLink,Md))},OHb=function(a){a&
1&&(G(0,"span"),R(1),H());a&2&&(a=O(3),z(1),Df(" Searching",a.searchParams.query?" for "+a.searchParams.query:"","..."))},PHb=function(a){a&1&&(G(0,"div",24),I(1,"b-spinner"),Q(2,OHb,2,1,"span",8),H());a&2&&(a=O(2),z(2),F("ngIf",a.searchParams))},QHb=function(a){a&1&&(G(0,"div",25),R(1," No issues in saved search. "),H());a&2&&F("bFocus",!0)},RHb=function(a){if(a&1){var b=v();G(0,"div",26)(1,"b-issues-grid",27);M("init",function(c){w(b);var d=O(2);return y(d.resultsGrid=c)})("focusedRowIndexChange",
function(c){w(b);var d=O(2);return y(d.focusedRowIndex=c)})("columnsChange",function(c){w(b);var d=O(2);return y(d.issueColumns=c)})("sortChange",function(c){w(b);var d=O(2);return y(d.setSort(c.field,c.direction))})("rowClick",function(c){w(b);var d=O(2);return y(d.goToIssue(c.id,c.isRead,c.event))})("onNextPage",function(){w(b);var c=O(2);return y(Xr(c,c.page,1))})("onPrevPage",function(){w(b);var c=O(2);return y(Xr(c,c.page,-1))});H()()}a&2&&(a=O(2),z(1),F("searchResults",a.searchResults)("focusedRowIndex",
a.focusedRowIndex)("columns",a.issueColumns)("enableColumnSaving",!!a.isColumnSaveEnabled)("sort",a.getSort()))},SHb=function(a){a&1&&(G(0,"div"),Q(1,PHb,3,1,"div",21),Q(2,QHb,2,1,"div",22),Q(3,RHb,2,5,"div",23),H());a&2&&(a=O(),z(1),F("ngIf",a.isLoading),z(1),F("ngIf",!a.isLoading&&!a.hasResults()),z(1),F("ngIf",!a.isLoading&&a.hasResults()))},es=function(a,b){return ml().config.enabledFlags.get(a)?[b]:[]},THb=function(){var a=Ac(gs).getEnvironmentType(),b={};return(b.DEV="Dev",b.NIGHTLY="Autopush",
b.QA="Dev",b.PROD="Prod",b)[a]},UHb=function(a,b){var c={};return hn("A",(c.href=b,c.target="_blank",c.rel="noopener noreferrer nofollow",c),a)},WHb=function(){return new VHb(new hs("https://people-pa.googleapis.com","AIzaSyClMyMjdjUv-Z9gej4bgUQoU3CSbak7a9s",{withCredentials:!0,"googleapis.config/auth/useFirstPartyAuth":!0,"googleapis.config/auth/useFirstPartyAuthV2":!0}))},XHb=function(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}},YHb="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},ZHb=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");},hh=ZHb(this),is=function(a,b){if(b)a:{var c=hh;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&&YHb(c,a,{configurable:!0,writable:!0,value:b})}};is("Symbol",function(a){if(a)return a;var b=function(g,h){this.$jscomp$symbol$id_=g;YHb(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});
is("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=hh[b[c]];"function"===typeof d&&"function"!=typeof d.prototype[a]&&YHb(d.prototype,a,{configurable:!0,writable:!0,value:function(){return $Hb(XHb(this))}})}return a});is("Symbol.asyncIterator",function(a){return a?a:Symbol("d")});
var $Hb=function(a){a={next:a};a[Symbol.iterator]=function(){return this};return a},js=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:XHb(a)};throw Error("e`"+String(a));},xe=function(a){for(var b,c=[];!(b=a.next()).done;)c.push(b.value);return c},Vc=function(a){return a instanceof Array?a:xe(k(a))},ks=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)},aIb="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)ks(d,e)&&(a[e]=d[e])}return a};is("Object.assign",function(a){return a||aIb});var bIb="function"==typeof Object.create?Object.create:function(a){var b=function(){};b.prototype=a;return new b},cIb;
if("function"==typeof Object.setPrototypeOf)cIb=Object.setPrototypeOf;else{var dIb;a:{var eIb={a:!0},fIb={};try{fIb.__proto__=eIb;dIb=fIb.a;break a}catch(a){}dIb=!1}cIb=dIb?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError("f`"+a);return a}:null}
var ls=cIb,U=function(a,b){a.prototype=bIb(b.prototype);a.prototype.constructor=a;if(ls)ls(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},gIb=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=gIb.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 me=function(a){a.nextAddress=0},ie=function(a,b,c){a.catchAddress_=b;void 0!=c&&(a.finallyAddress_=c)},ms=function(a,b){a.nextAddress=b;a.catchAddress_=0},le=function(a){a.catchAddress_=0;var b=a.abruptCompletion_.exception;a.abruptCompletion_=null;return b},je=function(a,b,c,d){d?a.finallyContexts_[d]=a.abruptCompletion_:a.finallyContexts_=[a.abruptCompletion_];a.catchAddress_=b||0;a.finallyAddress_=c||0},ke=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},hIb=function(a){this.context_=new gIb;this.program_=a};hIb.prototype.next_=function(a){this.context_.start_();if(this.context_.yieldAllIterator_)return iIb(this,this.context_.yieldAllIterator_.next,a,this.context_.next_);this.context_.next_(a);return ns(this)};
var jIb=function(a,b){a.context_.start_();var c=a.context_.yieldAllIterator_;if(c)return iIb(a,"return"in c?c["return"]:function(d){return{value:d,done:!0}},b,a.context_.return);a.context_.return(b);return ns(a)};hIb.prototype.throw_=function(a){this.context_.start_();if(this.context_.yieldAllIterator_)return iIb(this,this.context_.yieldAllIterator_["throw"],a,this.context_.next_);this.context_.throw_(a);return ns(this)};
var iIb=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),ns(a)}a.context_.yieldAllIterator_=null;d.call(a.context_,g);return ns(a)},ns=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}},kIb=function(a){this.next=function(b){return a.next_(b)};this.throw=function(b){return a.throw_(b)};this.return=function(b){return jIb(a,b)};this[Symbol.iterator]=function(){return this}},Igb=function(a){var b=Jgb;a=new kIb(new hIb(a));ls&&b.prototype&&ls(a,
b.prototype);return a},lIb=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())})},he=function(a){return lIb(new kIb(new hIb(a)))},Uha=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))})},Pc=function(){for(var a=Number(this),b=[],c=a;c<arguments.length;c++)b[c-a]=arguments[c];return b};is("Reflect.setPrototypeOf",function(a){return a?a:ls?function(b,c){try{return ls(b,c),!0}catch(d){return!1}}:null});
is("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=hh.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(x){this.asyncThrow_(x)}}}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(x){return function(A){q||(q=!0,x.call(l,A))}}var l=this,q=!1;return{resolve:h(this.resolveTo_),
reject:h(this.reject_)}};e.prototype.resolveTo_=function(h){if(h===this)this.reject_(new TypeError("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=hh.console;"undefined"!==typeof l&&l.error(h.result_)}},1)};e.prototype.notifyUnhandledRejection_=
function(){if(this.isRejectionHandled_)return!1;var h=hh.CustomEvent,l=hh.Event,q=hh.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=hh.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(x){q.reject(x)}};e.prototype.then=function(h,l){function q(K,N){return"function"==typeof K?function(P){try{x(K(P))}catch(Y){A(Y)}}:
N}var x,A,B=new e(function(K,N){x=K;A=N});this.callWhenSettled_(q(h,x),q(l,A));return B};e.prototype.catch=function(h){return this.then(void 0,h)};e.prototype.callWhenSettled_=function(h,l){function q(){switch(x.state_){case 1:h(x.result_);break;case 2:l(x.result_);break;default:throw Error("k`"+x.state_);}}var x=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 x=k(h),A=x.next();!A.done;A=x.next())c(A.value).callWhenSettled_(l,q)})};e.all=function(h){var l=k(h),q=l.next();return q.done?c([]):new e(function(x,A){function B(P){return function(Y){K[P]=Y;N--;0==N&&x(K)}}var K=[],N=0;do K.push(void 0),N++,c(q.value).callWhenSettled_(B(K.length-1),A),q=l.next();while(!q.done)})};return e});var ps=function(a,b,c){if(null==a)throw new TypeError("l`"+c);if(b instanceof RegExp)throw new TypeError("m`"+c);return a+""};
is("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=ps(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 mIb=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}};is("Array.prototype.find",function(a){return a?a:function(b,c){return mIb(this,b,c).v}});
is("WeakMap",function(a){function b(){}function c(q){var x=typeof q;return"object"===x&&null!==q||"function"===x}function d(q){if(!ks(q,g)){var x=new b;YHb(q,g,{value:x})}}function e(q){var x=Object[q];x&&(Object[q]=function(A){if(A instanceof b)return A;Object.isExtensible(A)&&d(A);return x(A)})}if(function(){if(!a||!Object.seal)return!1;try{var q=Object.seal({}),x=Object.seal({}),A=new a([[q,2],[x,3]]);if(2!=A.get(q)||3!=A.get(x))return!1;A.delete(q);A.set(x,4);return!A.has(q)&&4==A.get(x)}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 x;!(x=q.next()).done;)x=x.value,this.set(x[0],x[1])}};l.prototype.set=function(q,x){if(!c(q))throw Error("n");d(q);if(!ks(q,g))throw Error("o`"+q);q[g][this.id_]=x;return this};l.prototype.get=function(q){return c(q)&&ks(q,g)?q[g][this.id_]:void 0};l.prototype.has=function(q){return c(q)&&ks(q,g)&&ks(q[g],this.id_)};l.prototype.delete=
function(q){return c(q)&&ks(q,g)&&ks(q[g],this.id_)?delete q[g][this.id_]:!1};return l});
is("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 x=q.entries(),A=x.next();if(A.done||A.value[0]!=l||"s"!=A.value[1])return!1;A=x.next();return A.done||4!=A.value[0].x||"t"!=A.value[1]||!x.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 x=d(this,l);x.list||(x.list=this.data_[x.id]=[]);x.entry?x.entry.value=q:(x.entry={next:this.head_,previous:this.head_.previous,head:this.head_,key:l,value:q},x.list.push(x.entry),this.head_.previous.next=x.entry,this.head_.previous=x.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 x=this.entries(),A;!(A=x.next()).done;)A=A.value,l.call(q,A[1],A[0],this)};c.prototype[Symbol.iterator]=c.prototype.entries;var d=function(l,q){var x=q&&typeof q;"object"==x||"function"==x?b.has(q)?x=b.get(q):(x=""+ ++h,b.set(q,x)):x="p_"+q;var A=l.data_[x];if(A&&ks(l.data_,x))for(l=0;l<A.length;l++){var B=A[l];if(q!==q&&B.key!==B.key||q===B.key)return{id:x,list:A,index:l,entry:B}}return{id:x,list:A,index:-1,
entry:void 0}},e=function(l,q){var x=l.head_;return $Hb(function(){if(x){for(;x.head!=l.head_;)x=x.previous;for(;x.next!=x.head;)return x=x.next,{done:!1,value:q(x)};x=null}return{done:!0,value:void 0}})},g=function(){var l={};return l.previous=l.next=l.head=l},h=0;return c});is("Object.is",function(a){return a?a:function(b,c){return b===c?0!==b||1/b===1/c:b!==b&&c!==c}});
is("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}});is("String.prototype.includes",function(a){return a?a:function(b,c){return-1!==ps(this,b,"includes").indexOf(b,c||0)}});is("Number.MAX_SAFE_INTEGER",function(){return 9007199254740991});
is("Number.isFinite",function(a){return a?a:function(b){return"number"!==typeof b?!1:!isNaN(b)&&Infinity!==b&&-Infinity!==b}});is("Number.isNaN",function(a){return a?a:function(b){return"number"===typeof b&&isNaN(b)}});is("Number.isInteger",function(a){return a?a:function(b){return Number.isFinite(b)?b===Math.floor(b):!1}});is("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}});
is("Number.isSafeInteger",function(a){return a?a:function(b){return Number.isInteger(b)&&Math.abs(b)<=Number.MAX_SAFE_INTEGER}});var nIb=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};is("Array.prototype.entries",function(a){return a?a:function(){return nIb(this,function(b,c){return[b,c]})}});
is("Array.prototype.keys",function(a){return a?a:function(){return nIb(this,function(b){return b})}});is("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}});
is("Array.prototype.values",function(a){return a?a:function(){return nIb(this,function(b,c){return c})}});is("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 qs=function(a){return a?a:Array.prototype.fill};is("Int8Array.prototype.fill",qs);is("Uint8Array.prototype.fill",qs);is("Uint8ClampedArray.prototype.fill",qs);
is("Int16Array.prototype.fill",qs);is("Uint16Array.prototype.fill",qs);is("Int32Array.prototype.fill",qs);is("Uint32Array.prototype.fill",qs);is("Float32Array.prototype.fill",qs);is("Float64Array.prototype.fill",qs);is("Object.setPrototypeOf",function(a){return a||ls});
is("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});is("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)ks(b,d)&&c.push([d,b[d]]);return c}});
is("String.prototype.endsWith",function(a){return a?a:function(b,c){var d=ps(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}});is("String.prototype.repeat",function(a){return a?a:function(b){var c=ps(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}});is("Object.getOwnPropertySymbols",function(a){return a?a:function(){return[]}});
is("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}});is("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}});is("Array.prototype.findIndex",function(a){return a?a:function(b,c){return mIb(this,b,c).i}});
is("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}});
is("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}});
is("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;})})}});is("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}});
is("String.prototype.padStart",function(a){return a?a:function(b,c){var d=ps(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}});is("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)ks(b,d)&&c.push(b[d]);return c}});
is("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)}});
is("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)}});is("Array.of",function(a){return a?a:function(b){return Array.from(arguments)}});
is("String.prototype.codePointAt",function(a){return a?a:function(b){var c=ps(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 oIb=oIb||{},ba=this||self,uo=function(a,b){a=a.split(".");b=b||ba;for(var c=0;c<a.length;c++)if(b=b[a[c]],null==b)return null;return b},Qb=function(a){var b=typeof a;return"object"!=b?b:a?Array.isArray(a)?"array":b:"null"},ua=function(a){var b=Qb(a);return"array"==b||"object"==b&&"number"==typeof a.length},va=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b},xa=function(a){return Object.prototype.hasOwnProperty.call(a,pIb)&&a[pIb]||(a[pIb]=++qIb)},pIb="closure_uid_"+(1E9*Math.random()>>>
0),qIb=0,rIb=function(a,b,c){return a.call.apply(a.bind,arguments)},sIb=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)}},rs=function(a,b,c){rs=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?rIb:sIb;return rs.apply(null,arguments)},ss=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)}},tIb=function(a){(0,eval)(a)},uIb=function(a,b){a=a.split(".");var c=ba;a[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)a.length||void 0===b?c[d]&&c[d]!==Object.prototype[d]?c=c[d]:c=c[d]={}:c[d]=b},ts=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)}},vIb=function(a){return a};ts(aa,Error);aa.prototype.name="CustomError";var wIb;ts(aaa,aa);aaa.prototype.name="AssertionError";var Th=function(a,b){return 0==a.lastIndexOf(b,0)},us=function(a,b){var c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c},Pab=function(a){return 0==Lp("@ldap.google.com",a.slice(a.length-16))},Bk=function(a){return/^[\s\xa0]*$/.test(a)},Vh=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]},Lp=function(a,b){a=String(a).toLowerCase();b=String(b).toLowerCase();return a<b?-1:a==b?0:1},EIb=function(a){if(!xIb.test(a))return a;-1!=a.indexOf("&")&&
(a=a.replace(yIb,"&amp;"));-1!=a.indexOf("<")&&(a=a.replace(zIb,"&lt;"));-1!=a.indexOf(">")&&(a=a.replace(AIb,"&gt;"));-1!=a.indexOf('"')&&(a=a.replace(BIb,"&quot;"));-1!=a.indexOf("'")&&(a=a.replace(CIb,"&#39;"));-1!=a.indexOf("\x00")&&(a=a.replace(DIb,"&#0;"));return a},yIb=/&/g,zIb=/</g,AIb=/>/g,BIb=/"/g,CIb=/'/g,DIb=/\x00/g,xIb=/[\x00&<>"']/,fa=function(a,b){return-1!=a.indexOf(b)},na=function(a,b){return fa(a.toLowerCase(),b.toLowerCase())},taa=function(a,b){var c=0;a=Vh(String(a)).split(".");
b=Vh(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=FIb(0==g[1].length?0:parseInt(g[1],10),0==h[1].length?0:parseInt(h[1],10))||FIb(0==g[2].length,0==h[2].length)||FIb(g[2],h[2]);g=g[3];h=h[3]}while(0==c)}return c},FIb=function(a,b){return a<b?-1:a>b?1:0};var da,GIb=uo("WIZ_global_data.oxN3nb"),HIb=GIb&&GIb[610401301];da=null!=HIb?HIb:!1;var ea,IIb=ba.navigator;ea=IIb?IIb.userAgentData||null:null;var xaa=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},pa=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)},JIb=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},KIb=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},LIb=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 MIb=function(a){MIb[" "](a);return a};MIb[" "]=function(){};var NIb=function(a,b){try{return MIb(a[b]),!0}catch(c){}return!1};var OIb=daa(),vs=eaa(),ws=ha("Edge"),fp=ws||vs,xs=ha("Gecko")&&!(na(ca(),"WebKit")&&!ha("Edge"))&&!(ha("Trident")||ha("MSIE"))&&!ha("Edge"),ys=na(ca(),"WebKit")&&!ha("Edge"),PIb=ys&&ha("Mobile"),Yp=qaa(),QIb=raa(),RIb=(ja()?"Linux"===ea.platform:ha("Linux"))||saa(),SIb=ba.navigator||null;SIb&&fa(SIb.appVersion||"","X11");var TIb=oaa(),UIb=paa(),VIb=ha("iPad"),WIb=ha("iPod"),XIb=la();na(ca(),"KaiOS");var YIb=function(){var a=ba.document;return a?a.documentMode:void 0},ZIb;
a:{var $Ib="",aJb=function(){var a=ca();if(xs)return/rv:([^\);]+)(\)|;)/.exec(a);if(ws)return/Edge\/([\d\.]+)/.exec(a);if(vs)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(ys)return/WebKit\/(\S+)/.exec(a);if(OIb)return/(?:Version)[ \/]?(\S+)/.exec(a)}();aJb&&($Ib=aJb?aJb[1]:"");if(vs){var bJb=YIb();if(null!=bJb&&bJb>parseFloat($Ib)){ZIb=String(bJb);break a}}ZIb=$Ib}var cJb=ZIb,dJb;if(ba.document&&vs){var eJb=YIb();dJb=eJb?eJb:parseInt(cJb,10)||void 0}else dJb=void 0;var zs=dJb;var fJb=haa(),gJb=paa()||ha("iPod"),hJb=ha("iPad"),iJb=kaa(),jJb=iaa(),kJb=jaa()&&!la();var lJb={},As=null,mJb=xs||ys||!kJb&&!vs&&"function"==typeof ba.atob,Kaa=function(a,b){void 0===b&&(b=0);nJb();b=lJb[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],x=b[h>>2];h=b[(h&3)<<4|l>>4];l=b[(l&15)<<2|q>>6];q=b[q&63];c[g++]=x+h+l+q}x=0;q=d;switch(a.length-e){case 2:x=a[e+1],q=b[(x&15)<<2]||d;case 1:a=a[e],c[g]=b[a>>2]+b[(a&3)<<4|x>>4]+q+d}return c.join("")},Bhb=function(a){if(mJb)return ba.atob(a);var b="";oJb(a,function(c){b+=
String.fromCharCode(c)});return b},pJb=function(a){var b=[];oJb(a,function(c){b.push(c)});return b},Oaa=function(a){var b=a.length,c=3*b/4;c%3?c=Math.floor(c):fa("=.",a[b-1])&&(c=fa("=.",a[b-2])?c-2:c-1);var d=new Uint8Array(c),e=0;oJb(a,function(g){d[e++]=g});return e!==c?d.subarray(0,e):d},oJb=function(a,b){function c(q){for(;d<a.length;){var x=a.charAt(d++),A=As[x];if(null!=A)return A;if(!Bk(x))throw Error("F`"+x);}return q}nJb();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))}},nJb=function(){if(!As){As={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;5>c;c++){var d=a.concat(b[c].split(""));lJb[c]=d;for(var e=0;e<d.length;e++){var g=d[e];void 0===As[g]&&(As[g]=e)}}}};var Raa="undefined"!==typeof Uint8Array,Jaa=!vs&&"function"===typeof btoa,Paa=/[-_.]/g,Maa={"-":"+",_:"/",".":"="},Saa,Da={};var qJb,Ca=function(a,b){if(b!==Da)throw Error("G");this.value_=a;if(null!=a&&0===a.length)throw Error("H");},Aa=function(){return qJb||(qJb=new Ca(null,Da))},Eb=function(a){var b=a.value_;return null==b?"":"string"===typeof b?b:a.value_=Laa(b)},SLa=function(a){return(a=Ea(a))?new Uint8Array(a):Taa()};Ca.prototype.isEmpty=function(){return null==this.value_};Ca.prototype.sizeBytes=function(){var a=Ea(this);return a?a.length:0};
var rJb=function(a,b){if(!a.value_||!b.value_||a.value_===b.value_)return a.value_===b.value_;if("string"===typeof a.value_&&"string"===typeof b.value_){var c=a.value_,d=b.value_;b.value_.length>a.value_.length&&(d=a.value_,c=b.value_);if(0!==c.lastIndexOf(d,0))return!1;for(b=d.length;b<c.length;b++)if("="!==c[b])return!1;return!0}c=Ea(a);b=Ea(b);return Uaa(c,b)},Ea=function(a){if(Da!==Da)throw Error("G");var b=a.value_;null==b||ya(b)||("string"===typeof b?b=Qaa(b):(Qb(b),b=null));return null==b?
b:a.value_=b},Mba=function(a,b,c,d){var e=Iba;if("string"===typeof b)b=b?new Ca(b,Da):Aa(),e(c,d,b);else if(b instanceof Uint8Array)b=b.length?new Ca(new Uint8Array(b),Da):Aa(),e(c,d,b);else if(!(b instanceof Ca))return!1;return rJb(a,b)};var sJb="function"===typeof Uint8Array.prototype.slice,Fa=0,Ga=0,aba="function"===typeof BigInt;var tJb=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=tJb.prototype;f.init=function(a,b,c,d){d=void 0===d?{}:d;this.aliasBytesFields=void 0===d.aliasBytesFields?!1:d.aliasBytesFields;a&&(a=Waa(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>uJb.length&&uJb.push(this)};
f.clear=function(){this.bytes_=null;this.bytesAreImmutable_=!1;this.cursor_=this.end_=this.start_=0;this.aliasBytesFields=!1};f.getEnd=function(){return this.end_};f.setEnd=function(a){this.end_=a};f.reset=function(){this.cursor_=this.start_};f.getCursor=function(){return this.cursor_};f.advance=function(a){vJb(this,this.cursor_+a)};
f.readSplitVarint64=function(a){var b=0,c=0,d=0,e=this.bytes_,g=this.cursor_;do{var h=e[g++];b|=(h&127)<<d;d+=7}while(32>d&&h&128);32<d&&(c|=(h&127)>>4);for(d=3;32>d&&h&128;d+=7)h=e[g++],c|=(h&127)<<d;vJb(this,g);if(128>h)return a(b>>>0,c>>>0);throw Error("z");};var vJb=function(a,b){a.cursor_=b;if(b>a.end_)throw Error("A`"+b+"`"+a.end_);};f=tJb.prototype;
f.readSignedVarint32=function(){var a=this.bytes_,b=this.cursor_,c=a[b++],d=c&127;if(c&128&&(c=a[b++],d|=(c&127)<<7,c&128&&(c=a[b++],d|=(c&127)<<14,c&128&&(c=a[b++],d|=(c&127)<<21,c&128&&(c=a[b++],d|=c<<28,c&128&&a[b++]&128&&a[b++]&128&&a[b++]&128&&a[b++]&128&&a[b++]&128)))))throw Error("z");vJb(this,b);return d};f.readUint8=function(){var a=this.bytes_[this.cursor_];this.advance(1);return a};
f.readUint32=function(){var a=this.bytes_,b=this.cursor_,c=a[b],d=a[b+1],e=a[b+2];a=a[b+3];this.advance(4);return(c<<0|d<<8|e<<16|a<<24)>>>0};f.readUint64=function(){var a=this.readUint32(),b=this.readUint32();return Zaa(a,b)};f.readUint64String=function(){var a=this.readUint32(),b=this.readUint32();return cba(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 $aa(a,b)};f.readDouble=function(){var a=this.readUint32(),b=this.readUint32(),c=2*(b>>31)+1,d=b>>>20&2047;a=4294967296*(b&1048575)+a;return 2047==d?a?NaN:Infinity*c:0==d?c*Math.pow(2,-1074)*a:c*Math.pow(2,d-1075)*(a+4503599627370496)};
f.readBool=function(){for(var a=0,b=this.cursor_,c=b+10,d=this.bytes_;b<c;){var e=d[b++];a|=e;if(0===(e&128))return vJb(this,b),!!(a&127)}throw Error("z");};f.readByteString=function(a){if(0==a)return Aa();if(0>a)throw Error("B`"+a);var b=this.cursor_,c=b+a;if(c>this.end_)throw Error("A`"+(this.end_-b)+"`"+a);this.cursor_=c;this.aliasBytesFields&&this.bytesAreImmutable_?b=this.bytes_.subarray(b,b+a):(c=this.bytes_,a=b+a,b=b===a?Taa():sJb?c.slice(b,a):new Uint8Array(c.subarray(b,a)));return Vaa(b)};
var uJb=[];var wJb=function(a){var b=void 0;if(uJb.length){var c=uJb.pop();c.init(a,void 0,void 0,b);a=c}else a=new tJb(a,b);this.decoder_=a;this.fieldCursor_=this.decoder_.getCursor();this.nextWireType_=this.nextTag_=this.nextField_=-1;this.setOptions(b)};f=wJb.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>xJb.length&&xJb.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 qca=function(a){var b=a.decoder_;if(b.cursor_==b.end_)return!1;a.fieldCursor_=a.decoder_.getCursor();b=a.decoder_.readSignedVarint32()>>>0;var c=b>>>3,d=b&7;if(!(0<=d&&5>=d))throw Error("v`"+d+"`"+a.fieldCursor_);if(1>c)throw Error("w`"+c+"`"+a.fieldCursor_);a.nextTag_=b;a.nextField_=c;a.nextWireType_=d;return!0},sca=function(a){switch(a.nextWireType_){case 0:0!=a.nextWireType_?sca(a):a.decoder_.readBool();break;case 1:a.decoder_.advance(8);break;case 2:if(2!=a.nextWireType_)sca(a);else{var b=
a.decoder_.readSignedVarint32()>>>0;a.decoder_.advance(b)}break;case 5:a.decoder_.advance(4);break;case 3:b=a.nextField_;do{if(!qca(a))throw Error("x");if(4==a.nextWireType_){if(a.nextField_!=b)throw Error("y");break}sca(a)}while(1);break;default:throw Error("v`"+a.nextWireType_+"`"+a.fieldCursor_);}};f=wJb.prototype;f.readInt32=function(){return this.decoder_.readSignedVarint32()};f.readInt64=function(){return this.decoder_.readSplitVarint64($aa)};
f.readUint32=function(){return this.decoder_.readSignedVarint32()>>>0};f.readUint64=function(){return this.decoder_.readSplitVarint64(Zaa)};f.readUint64String=function(){return this.decoder_.readSplitVarint64(cba)};f.readDouble=function(){return this.decoder_.readDouble()};f.readBool=function(){return this.decoder_.readBool()};f.readByteString=function(){var a=this.decoder_.readSignedVarint32()>>>0;return this.decoder_.readByteString(a)};f.readSplitVarint64=function(a){return this.decoder_.readSplitVarint64(a)};
var xJb=[];var yJb=function(a,b){this.lo=a>>>0;this.hi=b>>>0},AJb=function(a){if(!a)return zJb||(zJb=new yJb(0,0));if(!/^\d+$/.test(a))return null;dba(a);return new yJb(Fa,Ga)},zJb,BJb=function(a,b){this.lo=a>>>0;this.hi=b>>>0},DJb=function(a){if(!a)return CJb||(CJb=new BJb(0,0));if(!/^-?\d+$/.test(a))return null;dba(a);return new BJb(Fa,Ga)},CJb;var Bs=function(){this.buffer_=[]};Bs.prototype.length=function(){return this.buffer_.length};Bs.prototype.end=function(){var a=this.buffer_;this.buffer_=[];return a};Bs.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)};Bs.prototype.writeSplitFixed64=function(a,b){this.writeUint32(a);this.writeUint32(b)};
var EJb=function(a,b){for(;127<b;)a.buffer_.push(b&127|128),b>>>=7;a.buffer_.push(b)},FJb=function(a,b){if(0<=b)EJb(a,b);else{for(var c=0;9>c;c++)a.buffer_.push(b&127|128),b>>=7;a.buffer_.push(1)}};f=Bs.prototype;f.writeUint8=function(a){this.buffer_.push(a>>>0&255)};f.writeUint32=function(a){this.buffer_.push(a>>>0&255);this.buffer_.push(a>>>8&255);this.buffer_.push(a>>>16&255);this.buffer_.push(a>>>24&255)};
f.writeUint64=function(a){var b=a>>>0;a=Math.floor((a-b)/4294967296)>>>0;Fa=b;Ga=a;this.writeUint32(Fa);this.writeUint32(Ga)};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){Yaa(a);this.writeSplitFixed64(Fa,Ga)};
f.writeDouble=function(a){var b=+a;if(0===b)Ga=0<1/b?0:2147483648,Fa=0;else if(isNaN(b))Ga=2147483647,Fa=4294967295;else if(b=(a=0>b?-2147483648:0)?-b:b,1.7976931348623157E308<b)Ga=(a|2146435072)>>>0,Fa=0;else if(2.2250738585072014E-308>b){var c=b/Math.pow(2,-1074);Ga=(a|c/4294967296)>>>0;Fa=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);Ga=(a|c+1023<<20|1048576*b&1048575)>>>0;Fa=4503599627370496*b>>>0}this.writeUint32(Fa);this.writeUint32(Ga)};
f.writeBool=function(a){this.buffer_.push(a?1:0)};var GJb=function(){this.blocks_=[];this.totalLength_=0;this.encoder_=new Bs},Gca=function(a,b){0!==b.length&&(a.blocks_.push(b),a.totalLength_+=b.length)},Cs=function(a,b,c){EJb(a.encoder_,8*b+c)};f=GJb.prototype;f.writeInt32=function(a,b){null!=b&&null!=b&&(Cs(this,a,0),FJb(this.encoder_,b))};
f.writeInt64=function(a,b){null!=b&&("string"===typeof b&&DJb(b),null!=b&&(Cs(this,a,0),"number"===typeof b?(a=this.encoder_,Yaa(b),a.writeSplitVarint64(Fa,Ga)):(b=DJb(b),this.encoder_.writeSplitVarint64(b.lo,b.hi))))};f.writeUint32=function(a,b){null!=b&&null!=b&&(Cs(this,a,0),EJb(this.encoder_,b))};
f.writeUint64=function(a,b){null!=b&&("string"===typeof b&&AJb(b),null!=b&&(Cs(this,a,0),"number"===typeof b?(a=this.encoder_,Yaa(b),a.writeSplitVarint64(Fa,Ga)):(b=AJb(b),this.encoder_.writeSplitVarint64(b.lo,b.hi))))};f.writeDouble=function(a,b){null!=b&&(Cs(this,a,1),this.encoder_.writeDouble(b))};f.writeBool=function(a,b){null!=b&&(Cs(this,a,0),this.encoder_.writeBool(b))};f.writeSplitFixed64=function(a,b){Cs(this,a,1);this.encoder_.writeSplitFixed64(b)};
f.writeSplitVarint64=function(a,b){Cs(this,a,0);this.encoder_.writeSplitVarint64(b)};var Hca=function(a,b){this.$$binaryReaderFn=a;this.$$binaryWriterFn=b};var Ia="function"===typeof Symbol&&"symbol"===typeof Symbol()?Symbol():void 0;var gb={},HJb,ob=Object.freeze(Oa([],23)),IJb=function(a){this.idx_=0;this.arr_=a};IJb.prototype.next=function(){return this.idx_<this.arr_.length?{done:!1,value:this.arr_[this.idx_++]}:{done:!0,value:void 0}};IJb.prototype[Symbol.iterator]=function(){return this};var Wba={};var Cba="function"===typeof Symbol&&"symbol"===typeof Symbol()?Symbol():"di";var mb=function(a,b,c,d){c=void 0===c?Dba:c;d=void 0===d?Dba:d;var e=La(a);e|=32;Oa(a,e);this.arrayState=e;this.valueCtor=b;this.keyToApi=c||Dba;this.valueToApi=this.valueCtor?Nba:d||Dba;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),x=l[1];b||(x=d(l[1],!1,!0,void 0,void 0,e));null!=q&&g.set(q,x)}this.size=g.size},JJb=function(a){if(a.arrayState&2)throw Error("T");},eca=function(a,b){b=void 0===b?Oba: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},Yba=function(a,b){b=void 0===b?Oba: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=mb.prototype;f.getLength=function(){return this.size};f.clear=function(){JJb(this);this.map_.clear();this.size=0};f.delete=function(a){JJb(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 IJb(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 IJb(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){JJb(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&&hba(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)};var Lba=function(a,b){return b instanceof mb?Pba(a.map_,b.map_):Rba(a.map_,b)};mb.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){Wa(a);return pb(a,b,c,d)},pb=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},Dj=function(a,b,c,d){return void 0!==Ds(a,b,c,void 0===d?!1:d)},Qj=function(a,b,c,d){return void 0!==Ds(a,b,no(a,d,c))},Es=function(a,b,c){return $ba(a,b,c,!1,3,La(a.internalArray_)).length},Fs=function(a,b,c,d,e){zb(a,b,c,e,d,!1,1);return a},Gs=function(a,b){var c=m(a,b),d=rba(c);null!=d&&d!==c&&pb(a,b,d);return d},ar=function(a,b){a=m(a,b);return null==a?a:!!a},qo=function(a,b){var c=m(a,b),d=Va(c,!0,!!(La(a.internalArray_)&
18));null!=d&&d!==c&&pb(a,b,d);return d},Hs=function(a,b,c,d){return rb(a,b,rba,c,d)},Is=function(a,b,c,d){return rb(a,b,La(a.internalArray_)&18?Tba:Uba,c,d)},Gj=function(a,b){a=qo(a,b);return null==a?Aa():a},Vba,KJb=function(a,b,c){Wa(a);null==c?c=void 0:c=eba(c);pb(a,b,c)},kj=function(a,b,c){return tb(a,b,c,db)},Fi=function(a,b,c){return tb(a,b,c,yba)},al=function(a,b,c){return tb(a,b,c,uba)},Js=function(a,b){return n(a,b,void 0,!1)},LJb=function(a,b,c){Wa(a);c=Va(c,!1,!1);null==c||c.isEmpty()?
ub(a,b):pb(a,b,c);return a},nj=function(a,b,c){return vb(a,b,Za(c),0)},$n=function(a,b,c,d){Wa(a);(c=Ci(a,c))&&c!==b&&null!=d&&ub(a,c);return pb(a,b,d)},no=function(a,b,c){return Ci(a,b)===c?c:-1},Ci=function(a,b){for(var c=0,d=0;d<b.length;d++){var e=b[d];null!=m(a,e)&&(0!==c&&ub(a,c),c=e)}return c},Ks=function(a,b,c){var d=La(a.internalArray_);lba(d);var e=m(a,c);b=nb(Bba(e,b,!0,d));e!==b&&pb(a,c,b);return b},Ds=function(a,b,c,d){var e=m(a,c,d);b=Bba(e,b,!1,La(a.internalArray_));b!==e&&null!=b&&
pb(a,c,b,d);return b},MJb=function(a,b,c){return(a=Ds(a,b,c,!1))?a:Aba(b)},Z=function(a,b,c,d){d=void 0===d?!1:d;b=Ds(a,b,c,d);if(null==b)return b;if(!Qa(a.internalArray_)){var e=nb(b);e!==b&&(b=e,pb(a,c,b,d))}return b},Ms=function(a,b,c){return MJb(a,b,no(a,Ls,c))},aj=function(a,b,c){var d=La(a.internalArray_),e=!!(d&2);a=$ba(a,b,c,void 0,e?1:2,d);if(!(e||La(a)&8)){for(e=0;e<a.length;e++)b=a[e],c=nb(b),b!==c&&(a[e]=c);Ja(a,8)}return a},Yi=function(a,b,c,d,e){Wa(a);null==d&&(d=void 0);return pb(a,
c,d,e)},ho=function(a,b,c,d){Wa(a);null==d&&(d=void 0);return $n(a,b,c,d)},Ns=function(a,b,c){return n(a,b,Za(c))},dj=function(a,b,c){Wa(a);if(null!=c){for(var d=!!c.length,e=0;e<c.length;e++){var g=c[e];d=d&&!Qa(g.internalArray_)}e=La(c);g=e|1;g=(d?g|8:g&-9)|4;g!=e&&(c=gba(c,g))}null==c&&(c=void 0);return pb(a,b,c)},jo=function(a,b,c,d,e){zb(a,b,c,d,e);return a},Os=function(a,b){return sba(m(a,b))},Ps=function(a,b){return tba(m(a,b))},mo=function(a,b){return m(a,b)},RLa=function(a,b){return m(a,
b)},Fh=function(a,b,c,d){return rb(a,b,sba,c,d)},il=function(a,b,c,d){return rb(a,b,wba,c,d)},Hh=function(a,b,c,d){return rb(a,b,xba,c,d)},Lj=function(a,b,c){return n(a,b,ab(c))},Ih=function(a,b,c,d){return rb(a,b,zba,c,d)},mj=function(a,b,c){return vb(a,b,c,"")},kr=function(a,b){return vba(m(a,b))},Tk=function(a,b,c,d){return rb(a,b,vba,c,d)},Pi=function(a,b,c){return vb(a,b,c,0)},Jj=function(a,b,c){c=void 0===c?!1:c;return Db(ar(a,b),c)},Gh=function(a,b,c){c=void 0===c?0:c;return Db(Os(a,b),c)},
Qs=function(a,b,c){c=void 0===c?0:c;return Db(Ps(a,b),c)},gj=function(a,b,c){c=void 0===c?0:c;return Db(m(a,b),c)},Rs=function(a,b){var c=void 0===c?0:c;return Db(m(a,b),c)},yi=function(a,b,c){c=void 0===c?"0":c;return Db(m(a,b),c)},NJb=function(a,b){var c=void 0===c?"0":c;return Db(m(a,b),c)},hj=function(a,b,c){c=void 0===c?0:c;return Db(Gs(a,b),c)},V=function(a,b,c){c=void 0===c?"":c;return Db(m(a,b),c)},W=function(a,b,c){c=void 0===c?0:c;return Db(kr(a,b),c)},Ss=function(a,b,c){a=Fh(a,b,void 0,
2);Xa(a,c);return a[c]},OJb=function(a,b){a=il(a,b,void 0,2);Xa(a);return a[void 0]},Ts=function(a,b,c){a=Hh(a,b,void 0,2);Xa(a,c);return a[c]},PJb=function(a,b,c){a=Hs(a,b,void 0,2);Xa(a,c);return a[c]},Us=function(a,b,c){a=Ih(a,b,void 0,2);Xa(a,c);return a[c]},QJb=function(a,b){a=Is(a,b,void 0,2);Xa(a);return a[void 0]},Vs=function(a,b,c){a=Tk(a,b,void 0,2);Xa(a,c);return a[c]},Ws=function(a,b,c){return xb(a,b,c,void 0,Hh)},Xs=function(a,b,c){return V(a,no(a,c,b))},Ys=function(a,b,c){return ar(a,
no(a,c,b))},Zs=function(a,b,c){return Os(a,no(a,c,b))},$s=function(a,b,c){b=no(a,c,b);return m(a,b)},oo=function(a,b,c){return Gs(a,no(a,c,b))},po=function(a,b,c){b=no(a,c,b);return m(a,b)},Sj=function(a,b,c,d){return Z(a,b,no(a,d,c))},at=function(a,b,c){return kr(a,no(a,c,b))},bt=function(a,b){a=Os(a,b);return null==a?void 0:a},ct=function(a,b){a=m(a,b);return null==a?void 0:a},dt=function(a,b){a=m(a,b);return null==a?void 0:a},wr=function(a,b){a=kr(a,b);return null==a?void 0:a},Dk=function(a,b){return null!=
ar(a,b)},Ek=function(a,b){return null!=Os(a,b)},Ok=function(a,b){return null!=m(a,b)},xi=function(a,b){return null!=m(a,b)},wk=function(a,b){return null!=m(a,b)},fj=function(a,b){return null!=kr(a,b)},et=function(a,b,c){return Zba(a,m(a,b),b,c,Fba)},Vj=function(a,b,c){return Zba(a,m(a,b),b,c,kb)};var aca;var r=function(a,b,c){null==a&&(a=aca);aca=void 0;if(null==a)a=c?[c]:[],Oa(a,48);else{if(!Array.isArray(a))throw Error();if(c&&c!==a[0])throw Error();Ja(a,32)}this.arrayIndexOffset=c?0:-1;this.internalArray_=a;a:{c=this.internalArray_.length;a=c-1;if(c&&(c=this.internalArray_[a],Ta(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 HJb?nca(this,this.internalArray_,!1):nca(this,kca(this.internalArray_),!0)};r.prototype.serialize=function(){HJb=!0;try{return JSON.stringify(this.toJSON(),dca)}finally{HJb=!1}};var Nca=function(a,b){if(null==b||""==b)return new a;b=JSON.parse(b);if(!Array.isArray(b))throw Error(void 0);return bca(a,hba(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 Jca=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 a.ctor?Dj(this,a.ctor,a.fieldIndex,!0):void 0!==Jca(this,a)};r.prototype.clone=function(){return mca(this,!1)};
r.prototype.isMutable=function(){return!Qa(this.internalArray_)};r.prototype.isImmutable=function(){return Qa(this.internalArray_)};var cr=function(a,b,c){b.ctor?b.setExtensionFn(a,b.ctor,b.fieldIndex,c,!0):b.setExtensionFn(a,b.fieldIndex,c,!0)};r.prototype.build=function(){if(La(this.internalArray_)&2)var a=this;else a=this.internalCachedImmutable_,a&&Kba(a,this)||(a=mca(this,!0),Ra(a.internalArray_),this.internalCachedImmutable_=a);return a};r.prototype.messagePrototypeMarker=gb;
r.prototype.toString=function(){return nca(this,this.internalArray_,!1).toString()};var oca=Symbol(),xca=Symbol(),Hb=Symbol(),Gb=Symbol(),RJb=Ib(function(a,b,c){if(0!==a.nextWireType_)return!1;pb(b,c,a.readInt64());return!0},function(a,b,c){a.writeInt64(c,m(b,c))}),ft=Ib(function(a,b,c){if(0!==a.nextWireType_)return!1;pb(b,c,a.readInt32());return!0},function(a,b,c){a.writeInt32(c,Os(b,c))}),SJb=Ib(function(a,b,c){if(0!==a.nextWireType_&&2!==a.nextWireType_)return!1;b=Sba(b,c,0,!1,Qa(b.internalArray_));if(2==a.nextWireType_){c=tJb.prototype.readSignedVarint32;var d=a.decoder_.readSignedVarint32()>>>
0;for(d=a.decoder_.getCursor()+d;a.decoder_.getCursor()<d;)b.push(c.call(a.decoder_))}else b.push(a.readInt32());return!0},function(a,b,c){b=Fh(b,c);if(null!=b)for(var d=0;d<b.length;d++){var e=a,g=b[d];null!=g&&(Cs(e,c,0),FJb(e.encoder_,g))}}),TJb=Ib(function(a,b,c){if(1!==a.nextWireType_)return!1;pb(b,c,a.decoder_.readUint64String());return!0},function(a,b,c){b=m(b,c);null!=b&&("string"===typeof b&&AJb(b),Cs(a,c,1),"number"===typeof b?a.encoder_.writeUint64(b):(c=AJb(b),a.encoder_.writeSplitFixed64(c.lo,
c.hi)))}),UJb=Ib(function(a,b,c){if(5!==a.nextWireType_)return!1;pb(b,c,a.decoder_.readUint32());return!0},function(a,b,c){b=Ps(b,c);null!=b&&(Cs(a,c,5),a.encoder_.writeUint32(b))}),VJb=Ib(function(a,b,c){if(0!==a.nextWireType_)return!1;pb(b,c,a.readBool());return!0},function(a,b,c){a.writeBool(c,ar(b,c))}),WJb=Ib(function(a,b,c,d,e){if(2!==a.nextWireType_)return!1;b=Ks(b,d,c);c=a.decoder_.getEnd();d=a.decoder_.readSignedVarint32()>>>0;var g=a.decoder_.getCursor()+d,h=g-c;0>=h&&(a.decoder_.setEnd(g),
e(b,a,void 0,void 0,void 0),h=g-a.decoder_.getCursor());if(h)throw Error("u`"+d+"`"+(d-h));a.decoder_.cursor_=g;a.decoder_.setEnd(c);return!0},function(a,b,c,d,e){b=Ds(b,d,c);if(null!=b){Cs(a,c,2);c=a.encoder_.end();Gca(a,c);c.push(a.totalLength_);e(b,a);e=c.pop();for(e=a.totalLength_+a.encoder_.length()-e;127<e;)c.push(e&127|128),e>>>=7,a.totalLength_++;c.push(e);a.totalLength_++}});var Ica=function(a,b,c,d){this.fieldIndex=a;this.fieldName=b;this.ctor=c;this.toObjectFn=d;this.isRepeated=0;this.getExtensionFn=Z;this.setExtensionFn=Yi;this.defaultValue=void 0};var gt=function(a){r.call(this,a)};U(gt,r);gt.prototype.getAction=function(){return W(this,1,1)};gt.prototype.hasAction=function(){return fj(this,1)};gt.prototype.toObject=function(){return XJb(this)};var XJb=function(a){if(null!=a)return t(a),{action:p(kr(a,1)),prevState:p(kr(a,2))}};var YJb=function(a){r.call(this,a)};U(YJb,r);f=YJb.prototype;f.getValue=function(){return Gj(this,1)};f.setValue=function(a){return n(this,1,Va(a,!1,!1))};f.hasValue=function(){return null!=qo(this,1)};f.getTimestamp=function(){return gj(this,2)};f.setTimestamp=function(a){return n(this,2,a)};f.hasTimestamp=function(){return Ok(this,2)};f.toObject=function(){return ZJb(this)};var ZJb=function(a){if(null!=a)return t(a),{value:Pb(a.getValue()),timestamp:p(m(a,2)),encodedrestrict:Pb(Gj(a,3))}};var ht=function(a){r.call(this,a)};U(ht,r);ht.prototype.getObsolete4=function(){return Gj(this,4)};ht.prototype.toObject=function(){return it(this)};var it=function(a){if(null!=a)return t(a),{keyid:p(Os(a,1)),wrappedkey:Pb(Gj(a,2)),extendedkeyhashstring:p(m(a,3)),obsolete4:Pb(a.getObsolete4())}};var $Jb=function(a){r.call(this,a)};U($Jb,r);$Jb.prototype.toObject=function(){return aKb(this)};var aKb=function(a){if(null!=a)return t(a),{sgnDomain:p(m(a,1)),sgnPk:p(m(a,2)),sgnIdent:p(m(a,3))}};var bKb=function(a){r.call(this,a)};U(bKb,r);bKb.prototype.toObject=function(){return cKb(this)};var cKb=function(a){if(null!=a)return t(a),{chatid:p(m(a,33)),membertype:p(Os(a,34))}};var dKb=function(a){r.call(this,a)};U(dKb,r);dKb.prototype.toObject=function(){return eKb(this)};var eKb=function(a){if(null!=a)return t(a),{ownergaiaid:p(m(a,24)),circleid:p(m(a,25))}};var fKb=function(a){r.call(this,a)};U(fKb,r);fKb.prototype.toObject=function(){return gKb(this)};var gKb=function(a){if(null!=a)return t(a),{eventid:p(m(a,30)),membertype:p(Os(a,31))}};var hKb=function(a){r.call(this,a)};U(hKb,r);hKb.prototype.toObject=function(){return iKb(this)};var iKb=function(a){if(null!=a)return t(a),{ownergaiaid:p(m(a,6)),groupid:p(m(a,7))}};var jKb=function(a){r.call(this,a)};U(jKb,r);jKb.prototype.toObject=function(){return kKb(this)};var kKb=function(a){if(null!=a)return t(a),{keyvalue:p(m(a,15))}};var jt=function(a){r.call(this,a)};U(jt,r);f=jt.prototype;f.getApplication=function(){return V(this,1)};f.setApplication=function(a){return n(this,1,a)};f.getApplicationOrUndefined=function(){return dt(this,1)};f.getId=function(){return V(this,2)};f.setId=function(a){return n(this,2,a)};f.toObject=function(){return lKb(this)};var lKb=function(a){if(null!=a)return t(a),{application:p(m(a,1)),id:p(m(a,2)),part:p(m(a,3))}};var kt=function(a){r.call(this,a)};U(kt,r);kt.prototype.getResourceId=function(){return Z(this,jt,39)};kt.prototype.setResourceId=function(a){Yi(this,jt,39,a)};kt.prototype.hasResourceId=function(){return Dj(this,jt,39)};kt.prototype.toObject=function(){return mKb(this)};var mKb=function(a){if(null!=a)return t(a),{obsolete36:p(m(a,36)),obsolete37:p(m(a,37)),roleId:p(Os(a,38)),resourceId:lKb(a.getResourceId())}};var lt=function(a){r.call(this,a)};U(lt,r);lt.prototype.getBlob=function(){return Gj(this,13)};lt.prototype.clearBlob=function(){return Js(this,13)};lt.prototype.toObject=function(){return nKb(this)};var nKb=function(a){if(null!=a)return t(a),{serviceid:p(Os(a,12)),blob:Pb(a.getBlob())}};var oKb=function(a){r.call(this,a)};U(oKb,r);oKb.prototype.toObject=function(){return pKb(this)};var pKb=function(a){if(null!=a)return t(a),{squareid:p(m(a,27)),membertype:p(Os(a,28))}};var mt=function(a){r.call(this,a)};U(mt,r);f=mt.prototype;f.getKey=function(){return Z(this,jKb,14)};f.hasKey=function(){return Dj(this,jKb,14)};f.getCircle=function(){return Z(this,dKb,23)};f.getEvent=function(){return Z(this,fKb,29)};f.toObject=function(){return qKb(this)};
var qKb=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:iKb(Z(a,hKb,5)),allusers:p(ar(a,8)),allauthenticatedusers:p(ar(a,10)),nouser:p(ar(a,41)),serviceBlob:nKb(Z(a,lt,11)),key:kKb(a.getKey()),userpseudonym:aKb(Z(a,$Jb,16)),mdbuser:p(m(a,17)),mdbgroup:p(m(a,18)),ldapuser:p(m(a,19)),ldapgroup:p(m(a,20)),obsolete21:p(Os(a,21)),obsolete22:Pb(Gj(a,22)),circle:eKb(a.getCircle()),square:pKb(Z(a,oKb,26)),
event:gKb(a.getEvent()),chat:cKb(Z(a,bKb,32)),resourceRole:mKb(Z(a,kt,35)),anonymousinviteid:p(m(a,40))}};var nt=function(a){r.call(this,a)};U(nt,r);nt.prototype.getScope=function(){return Z(this,mt,1)};nt.prototype.getWrappedkeyList=function(){return aj(this,ht,3)};nt.prototype.getMetadata=function(){return Z(this,YJb,4)};nt.prototype.setMetadata=function(a){Yi(this,YJb,4,a)};nt.repeatedFields_=[3];nt.prototype.toObject=function(){return ot(this)};var ot=function(a){if(null!=a)return t(a),{role:p(Os(a,2)),scope:qKb(a.getScope()),wrappedkeyList:Kb(a.getWrappedkeyList(),it),metadata:ZJb(a.getMetadata())}};var pt=function(a){r.call(this,a)};U(pt,r);pt.repeatedFields_=[4,5];pt.prototype.toObject=function(){return rKb(this)};var rKb=function(a){if(null!=a)return t(a),{addedEntryList:Kb(aj(a,nt,4),ot),removedEntryList:Kb(aj(a,nt,5),ot),readersCanEditAclChange:XJb(Z(a,gt,13)),writersCanEditAclChange:XJb(Z(a,gt,14)),changeReason:p(kr(a,25))}};var qt=function(a){r.call(this,a,1)};U(qt,r);var rt={};qt.prototype.toObject=function(){return st(this)};var st=function(a){if(null!=a){t(a);var b={};Nb(a,b,rt);return b}};rt[52221103]=Jb(52221103,{messageSetExtension:0},pt,rKb);var sKb=function(a){r.call(this,a)};U(sKb,r);sKb.prototype.toObject=function(){return tKb(this)};var tKb=function(a){if(null!=a)return t(a),{shareUrl:p(m(a,1))}};var tt=function(a){r.call(this,a)};U(tt,r);tt.prototype.getEmail=function(){return V(this,3)};tt.prototype.setEmail=function(a){return n(this,3,a)};tt.prototype.hasEmail=function(){return wk(this,3)};tt.prototype.toObject=function(){return uKb(this)};var uKb=function(a){if(null!=a){t(a);var b=et(a,1,sKb);return{recipientsMap:Ob(b,tKb),role:p(kr(a,2)),email:p(m(a,3))}}};var ut=function(a){r.call(this,a)};U(ut,r);ut.prototype.getMessage=function(){return V(this,2)};ut.prototype.setMessage=function(a){n(this,2,a)};ut.prototype.toObject=function(){return vKb(this)};var vKb=function(a){if(null!=a){t(a);var b=et(a,1,tt);b=Ob(b,uKb);var c=p(m(a,2)),d=p(ar(a,3));a=Vj(a,7,tt);return{granteesMap:b,message:c,shouldNotify:d,nonGaiaGranteesMap:Ob(a,uKb)}}};var vt=function(a){r.call(this,a)};U(vt,r);vt.repeatedFields_=[1];vt.prototype.toObject=function(){return wKb(this)};var wKb=function(a){if(null!=a)return t(a),{aclChangeStructList:Kb(aj(a,pt,1),rKb)}};var xKb=function(a){r.call(this,a)};U(xKb,r);f=xKb.prototype;f.getValue=function(){return V(this,1)};f.setValue=function(a){return n(this,1,a)};f.hasValue=function(){return wk(this,1)};f.getDisplayName=function(){return V(this,2)};f.setDisplayName=function(a){return n(this,2,a)};f.toObject=function(){return yKb(this)};var yKb=function(a){if(null!=a)return t(a),{value:p(m(a,1)),displayName:p(m(a,2))}};var zKb=function(a){r.call(this,a)};U(zKb,r);zKb.repeatedFields_=[1];zKb.prototype.toObject=function(){return AKb(this)};var AKb=function(a){if(null!=a)return t(a),{namedValuesList:Kb(aj(a,xKb,1),yKb)}};var wt=function(a){r.call(this,a)};U(wt,r);wt.prototype.getValuesList=function(){return Ih(this,1)};wt.prototype.setValuesList=function(a){Fi(this,1,a)};wt.prototype.getValues=function(a){return Us(this,1,a)};wt.prototype.setValues=function(a,b){xb(this,1,a,b,Ih)};wt.repeatedFields_=[1];wt.prototype.toObject=function(){return xt(this)};var xt=function(a){if(null!=a)return t(a),{valuesList:p(Ih(a,1))}};var Ch=function(a){r.call(this,a)};U(Ch,r);f=Ch.prototype;f.getSeconds=function(){return gj(this,1)};f.setSeconds=function(a){return Cb(this,1,a)};f.getNanos=function(){return Gh(this,2)};f.setNanos=function(a){return Bb(this,2,a)};f.toDate=function(){var a=this.getSeconds(),b=this.getNanos();return new Date(1E3*a+b/1E6)};f.toObject=function(){return yt(this)};var yt=function(a){if(null!=a)return t(a),{seconds:gj(a,1),nanos:Gh(a,2)}};var zt=function(a){r.call(this,a)};U(zt,r);f=zt.prototype;f.getValueCase=function(){return Ci(this,At)};f.getTextValue=function(){return Xs(this,1,At)};f.setTextValue=function(a){$n(this,1,At,a)};f.getTextListValues=function(){return Sj(this,wt,2,At)};f.getSelectionListValue=function(){return Sj(this,wt,4,At)};f.getUserListValues=function(){return Sj(this,wt,13,At)};f.getDateValue=function(){return Sj(this,Ch,14,At)};f.setDateValue=function(a){ho(this,14,At,a)};
var At=[1,2,3,4,5,11,12,13,14],Bt=[6,7,8,9,10,15,16,17,18];zt.prototype.toObject=function(){return BKb(this)};
var BKb=function(a){if(null!=a)return t(a),{textValue:p(po(a,1,At)),textListValues:xt(a.getTextListValues()),selectionValue:p(po(a,3,At)),selectionListValue:xt(a.getSelectionListValue()),longTextValue:p(po(a,5,At)),numberValue:p($s(a,11,At)),userValue:p(po(a,12,At)),userListValues:xt(a.getUserListValues()),dateValue:yt(a.getDateValue()),namedTextValue:p(po(a,6,Bt)),namedLongTextValue:p(po(a,7,Bt)),namedTextListValues:xt(Sj(a,wt,8,Bt)),namedSelectionValue:yKb(Sj(a,xKb,9,Bt)),namedSelectionListValue:AKb(Sj(a,
zKb,10,Bt)),namedNumberValue:p($s(a,15,Bt)),namedUserValue:p(po(a,16,Bt)),namedUserListValues:xt(Sj(a,wt,17,Bt)),namedDateValue:yt(Sj(a,Ch,18,Bt))}};var CKb=function(a){r.call(this,a)};U(CKb,r);f=CKb.prototype;f.getFieldId=function(){return V(this,1)};f.setFieldId=function(a){n(this,1,a)};f.getOldValue=function(){return Z(this,zt,2)};f.getNewValue=function(){return Z(this,zt,3)};f.getDisplayName=function(){return V(this,4)};f.setDisplayName=function(a){return n(this,4,a)};f.toObject=function(){return DKb(this)};
var DKb=function(a){if(null!=a)return t(a),{fieldId:p(m(a,1)),oldValue:BKb(a.getOldValue()),newValue:BKb(a.getNewValue()),displayName:p(m(a,4))}};var Ct=function(a){r.call(this,a)};U(Ct,r);f=Ct.prototype;f.getLabel=function(){return V(this,1)};f.setLabel=function(a){return n(this,1,a)};f.hasLabel=function(){return wk(this,1)};f.getTitle=function(){return V(this,5)};f.setTitle=function(a){return n(this,5,a)};Ct.repeatedFields_=[3,4];Ct.prototype.toObject=function(){return EKb(this)};
var EKb=function(a){if(null!=a)return t(a),{label:p(m(a,1)),labelScope:p(kr(a,2)),changeTypesList:p(Tk(a,3)),fieldChangesList:Kb(aj(a,CKb,4),DKb),title:p(m(a,5)),reasonType:p(kr(a,6))}};var FKb=function(a){r.call(this,a)};U(FKb,r);FKb.prototype.toObject=function(){return GKb(this)};var GKb=function(a){if(null!=a)return t(a),{removedReviewerGaiaId:p(m(a,1)),addedReviewerGaiaId:p(m(a,2))}};var Dt=function(a){r.call(this,a)};U(Dt,r);Dt.prototype.getApprovalStatus=function(){return W(this,6,0)};Dt.repeatedFields_=[3,4,8,12];Dt.prototype.toObject=function(){return HKb(this)};
var HKb=function(a){if(null!=a)return t(a),{approvalEventType:p(kr(a,1)),approvalId:p(m(a,2)),approvalEventIdList:p(Fh(a,3)),reviewerGaiaIdsList:p(rb(a,4,eb)),initiatorGaiaId:p(m(a,5)),approvalStatus:p(kr(a,6)),reviewerDecision:p(kr(a,7)),reviewerChangesList:Kb(aj(a,FKb,8),GKb),dueTimeMs:p(m(a,9)),oldDueTimeMs:p(m(a,10)),resetReviewerGaiaIdsList:p(rb(a,12,eb)),userInteractionMode:p(kr(a,11)),approvalProcess:p(kr(a,13))}};var Et=function(a){r.call(this,a)};U(Et,r);Et.prototype.getApprovalStatus=function(){return W(this,3,0)};Et.repeatedFields_=[5];Et.prototype.toObject=function(){return IKb(this)};var IKb=function(a){if(null!=a)return t(a),{approvalId:p(m(a,1)),notificationType:p(kr(a,2)),approvalStatus:p(kr(a,3)),initiatorGaiaId:p(m(a,4)),recipientGaiaIdsList:p(il(a,5)),dueTimeMs:p(m(a,6)),userInteractionMode:p(kr(a,7))}};var Ft=function(a){r.call(this,a)};U(Ft,r);Ft.prototype.getValuesList=function(){return Ih(this,1)};Ft.prototype.setValuesList=function(a){Fi(this,1,a)};Ft.prototype.getValues=function(a){return Us(this,1,a)};Ft.prototype.setValues=function(a,b){xb(this,1,a,b,Ih)};Ft.repeatedFields_=[1];Ft.prototype.toObject=function(){return JKb(this)};var JKb=function(a){if(null!=a)return t(a),{valuesList:p(Ih(a,1))}};var Gt=function(a){r.call(this,a)};U(Gt,r);f=Gt.prototype;f.getValueCase=function(){return Ci(this,Ht)};f.getTextValue=function(){return Xs(this,1,Ht)};f.setTextValue=function(a){$n(this,1,Ht,a)};f.getTextListValues=function(){return Sj(this,Ft,2,Ht)};f.getSelectionListValue=function(){return Sj(this,Ft,4,Ht)};f.getUserListValues=function(){return Sj(this,Ft,8,Ht)};f.getDateValue=function(){return Sj(this,Ch,9,Ht)};f.setDateValue=function(a){ho(this,9,Ht,a)};var Ht=[1,2,3,4,5,6,7,8,9];
Gt.prototype.toObject=function(){return KKb(this)};var KKb=function(a){if(null!=a)return t(a),{textValue:p(po(a,1,Ht)),textListValues:JKb(a.getTextListValues()),selectionValue:p(po(a,3,Ht)),selectionListValue:JKb(a.getSelectionListValue()),longTextValue:p(po(a,5,Ht)),numberValue:p($s(a,6,Ht)),userValue:p(po(a,7,Ht)),userListValues:JKb(a.getUserListValues()),dateValue:yt(a.getDateValue())}};var It=function(a){r.call(this,a)};U(It,r);It.prototype.getOldValue=function(){return Z(this,Gt,2)};It.prototype.getNewValue=function(){return Z(this,Gt,3)};It.prototype.toObject=function(){return LKb(this)};var LKb=function(a){if(null!=a)return t(a),{attributeId:p(m(a,1)),oldValue:KKb(a.getOldValue()),newValue:KKb(a.getNewValue())}};var MKb=function(a){r.call(this,a)};U(MKb,r);MKb.repeatedFields_=[3,4];MKb.prototype.toObject=function(){return NKb(this)};var NKb=function(a){if(null!=a)return t(a),{publishedCategoryName:p(m(a,1)),categoryScope:p(kr(a,2)),changeTypesList:p(Tk(a,3)),attributeChangesList:Kb(aj(a,It,4),LKb),reasonType:p(kr(a,5))}};var Jt=function(a){r.call(this,a)};U(Jt,r);Jt.repeatedFields_=[7];Jt.prototype.toObject=function(){return OKb(this)};var OKb=function(a){if(null!=a){t(a);var b=p(Os(a,1)),c=p(Os(a,2)),d=p(Os(a,3)),e=p(Os(a,4));var g=sb(a,5,Eba);return{characterCount:b,wordCount:c,nonStopWordCount:d,newLineCount:e,punctuationCountMap:Ob(g),validUrlCount:p(Os(a,6)),languageCodeList:p(Ih(a,7))}}};var Kt=function(a){r.call(this,a)};U(Kt,r);Kt.repeatedFields_=[7];Kt.prototype.toObject=function(){return PKb(this)};var PKb=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(il(a,7)),assignedUser:p(m(a,8)),commentSummary:OKb(Z(a,Jt,9)),anchorTextSummary:OKb(Z(a,Jt,10))}};var QKb=function(a){r.call(this,a)};U(QKb,r);QKb.prototype.toObject=function(){return RKb(this)};var RKb=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))}};var Lt=function(a){r.call(this,a)};U(Lt,r);Lt.prototype.getId=function(){return gj(this,1)};Lt.prototype.setId=function(a){return n(this,1,a)};Lt.prototype.toObject=function(){return SKb(this)};var SKb=function(a){if(null!=a)return t(a),{id:p(m(a,1))}};var Mt=function(a){r.call(this,a)};U(Mt,r);Mt.repeatedFields_=[1];Mt.prototype.toObject=function(){return TKb(this)};var TKb=function(a){if(null!=a)return t(a),{matchingRuleList:Kb(aj(a,Lt,1),SKb)}};var UKb=function(a){r.call(this,a)};U(UKb,r);UKb.prototype.toObject=function(){return VKb(this)};var VKb=function(a){if(null!=a)return t(a),{previousViolation:TKb(Z(a,Mt,1)),currentViolation:TKb(Z(a,Mt,2))}};var WKb=function(a){r.call(this,a)};U(WKb,r);WKb.prototype.toObject=function(){return XKb(this)};var XKb=function(a){if(null!=a)return t(a),{sourceDomainGaiaId:p(m(a,1)),destinationDomainGaiaId:p(m(a,2))}};var YKb=function(a){r.call(this,a)};U(YKb,r);YKb.prototype.toObject=function(){return ZKb(this)};var ZKb=function(a){if(null!=a)return t(a),{downloadUuid:p(m(a,1))}};var $Kb=function(a){r.call(this,a)};U($Kb,r);$Kb.repeatedFields_=[1];$Kb.prototype.toObject=function(){return aLb(this)};var aLb=function(a){if(null!=a)return t(a),{additionalEffectiveEntriesList:Kb(aj(a,nt,1),ot)}};var bLb=function(a){r.call(this,a)};U(bLb,r);bLb.repeatedFields_=[1];bLb.prototype.toObject=function(){return cLb(this)};var cLb=function(a){if(null!=a)return t(a),{recipientEmailList:p(Ih(a,1))}};var dLb=function(a){r.call(this,a)};U(dLb,r);dLb.prototype.toObject=function(){return eLb(this)};var eLb=function(a){if(null!=a)return t(a),{allowLessSecureLink:p(ar(a,1))}};var fLb=function(a){r.call(this,a)};U(fLb,r);f=fLb.prototype;f.getId=function(){return V(this,1)};f.setId=function(a){return n(this,1,a)};f.getTitle=function(){return V(this,2)};f.setTitle=function(a){return n(this,2,a)};f.toObject=function(){return gLb(this)};var gLb=function(a){if(null!=a)return t(a),{id:p(m(a,1)),title:p(m(a,2)),isRoot:p(ar(a,3)),isTeamDriveRoot:p(ar(a,4))}};var hLb=function(a){r.call(this,a)};U(hLb,r);hLb.prototype.getParentId=function(){return V(this,1)};hLb.prototype.setParentId=function(a){return n(this,1,a)};hLb.prototype.toObject=function(){return iLb(this)};var iLb=function(a){if(null!=a)return t(a),{parentId:p(m(a,1)),shortcutId:p(m(a,2))}};var jLb=function(a){r.call(this,a)};U(jLb,r);jLb.repeatedFields_=[1,2];jLb.prototype.toObject=function(){return kLb(this)};var kLb=function(a){if(null!=a)return t(a),{migratedParentsList:Kb(aj(a,hLb,1),iLb),removedParentIdsList:p(Ih(a,2))}};var lLb=function(a){r.call(this,a)};U(lLb,r);lLb.prototype.getReason=function(){return W(this,1,0)};lLb.prototype.setReason=function(a){n(this,1,a)};lLb.prototype.toObject=function(){return mLb(this)};var mLb=function(a){if(null!=a)return t(a),{reason:p(kr(a,1))}};var nLb=function(a){r.call(this,a)};U(nLb,r);nLb.repeatedFields_=[1,2,3];nLb.prototype.toObject=function(){return oLb(this)};var oLb=function(a){if(null!=a)return t(a),{addedParentList:Kb(aj(a,fLb,1),gLb),removedParentList:Kb(aj(a,fLb,2),gLb),reparentReasonList:Kb(aj(a,lLb,3),mLb),multiparentMigrationInfo:kLb(Z(a,jLb,4))}};var pLb=function(a){r.call(this,a)};U(pLb,r);pLb.repeatedFields_=[1];pLb.prototype.toObject=function(){return qLb(this)};var qLb=function(a){if(null!=a)return t(a),{authedUsersList:p(il(a,1))}};var rLb=function(a){r.call(this,a)};U(rLb,r);var sLb=[2];rLb.prototype.toObject=function(){return tLb(this)};var tLb=function(a){if(null!=a)return t(a),{privateDescription:p(m(a,1)),authedUserList:qLb(Sj(a,pLb,2,sLb))}};var uLb=function(a){r.call(this,a)};U(uLb,r);f=uLb.prototype;f.getText=function(){return V(this,1)};f.setText=function(a){return n(this,1,a)};f.getUrl=function(){return V(this,2)};f.setUrl=function(a){return n(this,2,a)};f.hasUrl=function(){return wk(this,2)};f.toObject=function(){return vLb(this)};var vLb=function(a){if(null!=a)return t(a),{text:p(m(a,1)),url:p(m(a,2)),privateContext:tLb(Z(a,rLb,3))}};var wLb=function(a){r.call(this,a)};U(wLb,r);wLb.repeatedFields_=[1];wLb.prototype.toObject=function(){return xLb(this)};var xLb=function(a){if(null!=a)return t(a),{ownerGaiaIdList:p(rb(a,1,eb)),ownerIsTeamDrive:p(ar(a,2)),teamDriveRootId:p(m(a,3)),teamDriveName:p(m(a,4)),teamDriveCreatorId:p(m(a,5))}};var yLb=function(a){r.call(this,a)};U(yLb,r);yLb.prototype.toObject=function(){return zLb(this)};var zLb=function(a){if(null!=a)return t(a),{publishMode:p(kr(a,1)),signinRequired:p(ar(a,2)),publishedTime:yt(Z(a,Ch,3))}};var ALb=function(a){r.call(this,a)};U(ALb,r);ALb.prototype.toObject=function(){return BLb(this)};var BLb=function(a){if(null!=a)return t(a),{oldPublishState:zLb(Z(a,yLb,1)),newPublishState:zLb(Z(a,yLb,2))}};var CLb=function(a){r.call(this,a)};U(CLb,r);CLb.prototype.toObject=function(){return DLb(this)};var DLb=function(a){if(null!=a)return t(a),{oldTitle:p(m(a,1)),newTitle:p(m(a,2))}};var ELb=function(a){r.call(this,a)};U(ELb,r);ELb.repeatedFields_=[2];ELb.prototype.toObject=function(){return FLb(this)};var FLb=function(a){if(null!=a)return t(a),{recipientDocId:p(m(a,1)),importedRangesList:p(Ih(a,2))}};var GLb=function(a){r.call(this,a)};U(GLb,r);f=GLb.prototype;f.getType=function(){return W(this,1,1)};f.setType=function(a){return n(this,1,a)};f.hasType=function(){return fj(this,1)};f.getAppId=function(){return V(this,2)};f.setAppId=function(a){n(this,2,a)};f.toObject=function(){return HLb(this)};var HLb=function(a){if(null!=a)return t(a),{type:W(a,1,1),appId:p(m(a,2))}};var ILb=function(a){r.call(this,a)};U(ILb,r);ILb.prototype.toObject=function(){return JLb(this)};var JLb=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))}};var KLb=function(a){r.call(this,a)};U(KLb,r);KLb.prototype.toObject=function(){return LLb(this)};var LLb=function(a){if(null!=a)return t(a),{packageRootId:p(m(a,1)),packageParentId:p(m(a,2)),packageMimeType:p(m(a,3))}};var Nt=function(a){r.call(this,a)};U(Nt,r);f=Nt.prototype;f.getId=function(){return V(this,1)};f.setId=function(a){return n(this,1,a)};f.getVersion=function(){return Rs(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 V(this,2)};f.setName=function(a){return n(this,2,a)};f.hasName=function(){return wk(this,2)};f.getNameOrUndefined=function(){return dt(this,2)};
f.getMimeType=function(){return V(this,3)};f.setMimeType=function(a){n(this,3,a)};Nt.repeatedFields_=[6];Nt.prototype.toObject=function(){return MLb(this)};var MLb=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:W(a,5,0),objectFamilyList:p(Fh(a,6)),isTeamDriveRoot:p(ar(a,7)),packageEmbeddingData:LLb(Z(a,KLb,8)),shortcutTargetId:p(m(a,9)),shortcutTargetMimeType:p(m(a,10))}};var NLb=function(a){r.call(this,a)};U(NLb,r);NLb.prototype.toObject=function(){return OLb(this)};var OLb=function(a){if(null!=a)return t(a),{allowLessSecureLinkForAllFiles:p(ar(a,1))}};var PLb=function(a){r.call(this,a)};U(PLb,r);PLb.repeatedFields_=[5,6,10,9];PLb.prototype.toObject=function(){return QLb(this)};
var QLb=function(a){if(null!=a)return t(a),{teamDriveId:p(m(a,1)),teamDriveJoinMessage:p(m(a,3)),membershipChangeType:p(kr(a,4)),addedTeamDriveRoleList:p(Tk(a,5)),removedTeamDriveRoleList:p(Tk(a,6)),resharedTeamDriveRoleList:p(Tk(a,10)),sendShareNotification:Jj(a,7,!0),isIndirectMembershipChange:p(ar(a,8)),indirectGroupsList:p(rb(a,9,eb)),isFromGroupAddedToTeamDrive:p(ar(a,11))}};var Ot=function(a){r.call(this,a)};U(Ot,r);Ot.prototype.getOldValue=function(){return W(this,1,0)};Ot.prototype.getNewValue=function(){return W(this,2,0)};Ot.prototype.toObject=function(){return Pt(this)};var Pt=function(a){if(null!=a)return t(a),{oldValue:p(kr(a,1)),newValue:p(kr(a,2))}};var RLb=function(a){r.call(this,a)};U(RLb,r);RLb.prototype.getDownload=function(){return Z(this,Ot,3)};RLb.prototype.setDownload=function(a){Yi(this,Ot,3,a)};RLb.prototype.toObject=function(){return SLb(this)};var SLb=function(a){if(null!=a)return t(a),{crossDomainSharing:Pt(Z(a,Ot,1)),directAcl:Pt(Z(a,Ot,2)),download:Pt(a.getDownload()),driveFs:Pt(Z(a,Ot,4)),fileOrganizerCanShareFolders:Pt(Z(a,Ot,5))}};var TLb=function(a){r.call(this,a)};U(TLb,r);TLb.prototype.toObject=function(){return ULb(this)};var ULb=function(a){if(null!=a)return t(a),{currentState:p(kr(a,1)),restoredSinceThisEvent:p(ar(a,2))}};var Qt=function(a){r.call(this,a)};U(Qt,r);Qt.prototype.getCode=function(){return W(this,2,0)};Qt.prototype.setCode=function(a){return n(this,2,a)};Qt.prototype.toObject=function(){return VLb(this)};var VLb=function(a){if(null!=a)return t(a),{entry:ot(Z(a,nt,1)),code:W(a,2,0)}};var WLb=function(a){r.call(this,a)};U(WLb,r);WLb.repeatedFields_=[1,2,3,4];WLb.prototype.toObject=function(){return XLb(this)};var XLb=function(a){if(null!=a)return t(a),{addedEntryVisibilityList:Kb(aj(a,Qt,1),VLb),removedEntryVisibilityList:Kb(aj(a,Qt,2),VLb),fullAclVisibilityList:p(Tk(a,3)),beforeEventVisibilityList:p(Tk(a,4))}};var YLb=function(a){r.call(this,a)};U(YLb,r);YLb.repeatedFields_=[1,2];YLb.prototype.toObject=function(){return ZLb(this)};var ZLb=function(a){if(null!=a)return t(a),{addedWorkspaceIdsList:p(Ih(a,1)),removedWorkspaceIdsList:p(Ih(a,2))}};var $Lb=function(a){r.call(this,a)};U($Lb,r);$Lb.prototype.toObject=function(){return aMb(this)};var aMb=function(a){if(null!=a)return t(a),{deviceUserSessionId:p(m(a,1)),userAuthenticationTimeMs:p(m(a,2))}};var Rt=function(a){r.call(this,a)};U(Rt,r);Rt.prototype.getType=function(){return W(this,1,0)};Rt.prototype.setType=function(a){return n(this,1,a)};Rt.prototype.hasType=function(){return fj(this,1)};Rt.prototype.toObject=function(){return bMb(this)};var bMb=function(a){if(null!=a)return t(a),{type:p(kr(a,1)),groupingId:p(m(a,2)),propagationStartTimeMillis:p(m(a,3)),propagationRootItemId:p(m(a,4))}};var cMb=function(a){r.call(this,a)};U(cMb,r);cMb.prototype.toObject=function(){return dMb(this)};var dMb=function(a){if(null!=a)return t(a),{intentType:p(kr(a,1))}};var St=function(a){r.call(this,a)};U(St,r);St.prototype.getType=function(){return W(this,1,0)};St.prototype.setType=function(a){return n(this,1,a)};St.prototype.hasType=function(){return fj(this,1)};St.prototype.toObject=function(){return eMb(this)};var eMb=function(a){if(null!=a)return t(a),{type:p(kr(a,1))}};var Tt=function(a){r.call(this,a)};U(Tt,r);Tt.prototype.getEmail=function(){return V(this,14)};Tt.prototype.setEmail=function(a){return n(this,14,a)};Tt.prototype.hasEmail=function(){return wk(this,14)};Tt.prototype.toObject=function(){return fMb(this)};var fMb=function(a){if(null!=a)return t(a),{gaiaid:p(m(a,13)),email:p(m(a,14))}};var gMb=function(a){r.call(this,a)};U(gMb,r);gMb.prototype.getId=function(){return Rs(this,11)};gMb.prototype.setId=function(a){return n(this,11,a)};gMb.prototype.toObject=function(){return hMb(this)};var hMb=function(a){if(null!=a)return t(a),{id:p(m(a,11))}};var iMb=function(a){r.call(this,a)};U(iMb,r);iMb.repeatedFields_=[10];iMb.prototype.toObject=function(){return jMb(this)};var jMb=function(a){if(null!=a)return t(a),{keyvalue:p(m(a,9)),gaiaIdList:Kb(aj(a,gMb,10),hMb)}};var kMb=function(a){r.call(this,a)};U(kMb,r);kMb.repeatedFields_=[1];kMb.prototype.toObject=function(){return lMb(this)};var lMb=function(a){if(null!=a)return t(a),{scopeList:Kb(aj(a,mt,1),qKb)}};var mMb=function(a){r.call(this,a)};U(mMb,r);mMb.prototype.getWrappedkeyList=function(){return aj(this,ht,2)};mMb.repeatedFields_=[2];mMb.prototype.toObject=function(){return nMb(this)};var nMb=function(a){if(null!=a)return t(a),{hmacsha1:Pb(Gj(a,1)),wrappedkeyList:Kb(a.getWrappedkeyList(),it)}};var Ut=function(a){r.call(this,a)};U(Ut,r);Ut.prototype.getEmail=function(){return V(this,2)};Ut.prototype.setEmail=function(a){return n(this,2,a)};Ut.prototype.hasEmail=function(){return wk(this,2)};Ut.repeatedFields_=[12,7];Ut.prototype.toObject=function(){return oMb(this)};
var oMb=function(a){if(null!=a)return t(a),{inviteid:p(m(a,1)),requirelistedtoken:Jj(a,13,!1),tokenmetadataList:Kb(aj(a,mMb,12),nMb),email:p(m(a,2)),singleuse:Jj(a,3,!1),uses:p(Os(a,4)),creationtimems:p(m(a,5)),rolevalue:p(Os(a,6)),recipientemailList:p(Ih(a,7)),indirect:p(ar(a,8)),expirationtimems:p(m(a,9)),allowanonymoususage:p(ar(a,11)),inviter:p(m(a,14)),obsolete10:Pb(Gj(a,10))}};var pMb=function(a){r.call(this,a)};U(pMb,r);pMb.repeatedFields_=[1];pMb.prototype.toObject=function(){return qMb(this)};var qMb=function(a){if(null!=a)return t(a),{abuseTypeList:p(Fh(a,1))}};var rMb=function(a){r.call(this,a)};U(rMb,r);rMb.prototype.toObject=function(){return sMb(this)};var sMb=function(a){if(null!=a)return t(a),{minimumAgeYears:p(Os(a,1)),maximumAgeYears:p(Os(a,2))}};var tMb=function(a){r.call(this,a)};U(tMb,r);tMb.prototype.getContentType=function(){return W(this,1,1)};tMb.prototype.toObject=function(){return uMb(this)};var uMb=function(a){if(null!=a)return t(a),{contentType:p(kr(a,1))}};var vMb=function(a){r.call(this,a)};U(vMb,r);vMb.repeatedFields_=[2];vMb.prototype.toObject=function(){return wMb(this)};var wMb=function(a){if(null!=a)return t(a),{globalAgeRestriction:sMb(Z(a,rMb,1)),locationBasedAgeRestrictionList:Kb(aj(a,tMb,2),uMb)}};var xMb=function(a){r.call(this,a)};U(xMb,r);var yMb=[1];xMb.prototype.toObject=function(){return zMb(this)};var zMb=function(a){if(null!=a)return t(a),{driveItemContentRegion:p(at(a,1,yMb))}};var AMb=function(a){r.call(this,a)};U(AMb,r);AMb.prototype.toObject=function(){return BMb(this)};var BMb=function(a){if(null!=a)return t(a),{matchingDetectorId:p(m(a,1)),matchingDlpContentRegion:zMb(Z(a,xMb,2))}};var CMb=function(a){r.call(this,a)};U(CMb,r);CMb.repeatedFields_=[2,3];CMb.prototype.toObject=function(){return DMb(this)};var DMb=function(a){if(null!=a)return t(a),{matchingRuleId:p(m(a,1)),matchingDetectorIdList:p(Ih(a,2)),matchingDetectorDetailList:Kb(aj(a,AMb,3),BMb)}};var Vt=function(a){r.call(this,a)};U(Vt,r);Vt.prototype.getObsolete4=function(){return OJb(this,4)};Vt.repeatedFields_=[2,3,4];Vt.prototype.toObject=function(){return EMb(this)};var EMb=function(a){if(null!=a)return t(a),{timestampMillis:p(m(a,1)),obsolete2List:p(il(a,2)),matchingDlpRuleList:Kb(aj(a,CMb,3),DMb),obsolete4List:p(il(a,4)),matchedAtleastOnce:p(ar(a,5))}};var FMb=function(a){r.call(this,a)};U(FMb,r);FMb.prototype.toObject=function(){return GMb(this)};var GMb=function(a){if(null!=a)return t(a),{domainId:p(m(a,1))}};var HMb=function(a){r.call(this,a)};U(HMb,r);HMb.prototype.hasUserId=function(){return Ok(this,1)};HMb.prototype.toObject=function(){return IMb(this)};var IMb=function(a){if(null!=a)return t(a),{userId:p(m(a,1))}};var JMb=function(a){r.call(this,a)};U(JMb,r);f=JMb.prototype;f.getDomain=function(){return Z(this,FMb,2)};f.setDomain=function(a){return Yi(this,FMb,2,a)};f.hasDomain=function(){return Dj(this,FMb,2)};f.getDlpInfo=function(){return Z(this,Vt,5)};f.toObject=function(){return KMb(this)};var KMb=function(a){if(null!=a)return t(a),{liableUser:IMb(Z(a,HMb,1)),domain:GMb(a.getDomain()),abuse:qMb(Z(a,pMb,3)),ageRestriction:wMb(Z(a,vMb,4)),dlpInfo:EMb(a.getDlpInfo())}};var LMb=function(a){r.call(this,a)};U(LMb,r);LMb.prototype.toObject=function(){return MMb(this)};var MMb=function(a){if(null!=a)return t(a),{gaiaEmail:Jj(a,1,!1)}};var NMb=function(a){r.call(this,a)};U(NMb,r);NMb.prototype.getScope=function(){return Z(this,mt,1)};NMb.prototype.toObject=function(){return OMb(this)};var OMb=function(a){if(null!=a)return t(a),{scope:qKb(a.getScope()),knownsharetimedata:MMb(Z(a,LMb,3))}};var Wt=function(a){r.call(this,a)};U(Wt,r);Wt.prototype.getEntriesList=function(){return aj(this,nt,2)};Wt.repeatedFields_=[2,17,3,7,8,12,22,20];Wt.prototype.toObject=function(){return Xt(this)};
var Xt=function(a){if(null!=a)return t(a),{entriesList:Kb(a.getEntriesList(),ot),scopeinfoList:Kb(aj(a,NMb,17),OMb),invitesList:Kb(aj(a,Ut,3),oMb),obsolete16:Pb(Gj(a,16)),writerscaneditacl:p(ar(a,4)),readerscaneditacl:p(ar(a,6)),noanonymousaccess:p(ar(a,5)),revokedkeyvaluesList:p(rb(a,7,eb)),persistentAccessSetList:Kb(aj(a,iMb,8),jMb),acceptedEmailInviteList:Kb(aj(a,Tt,12),fMb),requiredscopes:lMb(Z(a,kMb,15)),policydata:KMb(Z(a,JMb,18)),zookie:Pb(Gj(a,19)),resourceid:lKb(Z(a,jt,21)),zanzibarwrappedkeyList:Kb(aj(a,
ht,22),it),ticketedwrappedkeyList:Kb(aj(a,ht,20),it)}};var PMb=function(a){r.call(this,a)};U(PMb,r);PMb.prototype.toObject=function(){return QMb(this)};var QMb=function(a){if(null!=a)return t(a),{membershipAcl:Xt(Z(a,Wt,2)),visitorAcl:Xt(Z(a,Wt,3)),teamDriveState:p(kr(a,4)),inheritedAcl:Xt(Z(a,Wt,5))}};var RMb=function(a){r.call(this,a)};U(RMb,r);RMb.prototype.toObject=function(){return SMb(this)};var SMb=function(a){if(null!=a)return t(a),{domainPolicyVisibilityState:p(kr(a,1)),namedPartyState:p(kr(a,2))}};var TMb=function(a){r.call(this,a)};U(TMb,r);f=TMb.prototype;f.getEventType=function(){return Vs(this,2)};f.setEventType=function(a){return xb(this,2,a,void 0,Tk)};f.getSource=function(){return Z(this,GLb,35)};f.setSource=function(a){return Yi(this,GLb,35,a)};f.hasSource=function(){return Dj(this,GLb,35)};f.getTimestamp=function(){return Rs(this,4)};f.setTimestamp=function(a){return n(this,4,a)};f.hasTimestamp=function(){return null!=m(this,4)};f.getUser=function(){return Rs(this,5)};
f.setUser=function(a){n(this,5,a)};f.hasUser=function(){return null!=m(this,5)};f.getTarget=function(){return Z(this,Nt,6)};f.setTarget=function(a){return Yi(this,Nt,6,a)};f.getComment=function(){return Z(this,Kt,14)};f.setComment=function(a){Yi(this,Kt,14,a)};f.getVisibility=function(){return Z(this,WLb,51)};f.getDownload=function(){return Z(this,YKb,91)};f.setDownload=function(a){Yi(this,YKb,91,a)};f.getEventId=function(){return V(this,18)};f.setEventId=function(a){n(this,18,a)};
f.getParent=function(a){return Us(this,20,a)};f.setParent=function(a){return xb(this,20,a,void 0,Ih)};f.getDlpInfo=function(){return Z(this,Vt,64)};TMb.repeatedFields_=[2,41,29,57,24,77,85,20,21,22,39];TMb.prototype.toObject=function(){return UMb(this)};
var UMb=function(a){if(null!=a)return t(a),{primaryEventType:p(kr(a,1)),eventTypeList:p(Tk(a,2)),originatingApp:p(m(a,15)),originatingAppSubId:p(m(a,34)),source:HLb(a.getSource()),isAdminAction:Jj(a,31,!1),systemEvent:eMb(Z(a,St,68)),requestIntentList:Kb(aj(a,cMb,41),dMb),timestamp:p(m(a,4)),user:p(m(a,5)),targetUserList:p(rb(a,29,eb)),targetGroupList:p(rb(a,57,eb)),target:MLb(a.getTarget()),move:oLb(Z(a,nLb,7)),rename:DLb(Z(a,CLb,8)),aclChange:wKb(Z(a,vt,9)),visitorAclChange:wKb(Z(a,vt,55)),teamDriveInheritedAclChange:wKb(Z(a,
vt,82)),copy:RKb(Z(a,QKb,13)),sourceCopy:JLb(Z(a,ILb,90)),comment:PKb(a.getComment()),trash:ULb(Z(a,TLb,56)),dlpUpdate:VKb(Z(a,UKb,52)),teamDriveMembershipChange:QLb(Z(a,PLb,46)),teamDriveSettingsChange:SLb(Z(a,RLb,70)),teamDriveLinkShareMetadataChange:OLb(Z(a,NLb,88)),visibility:XLb(a.getVisibility()),originAppContext:vLb(Z(a,uLb,65)),approvalChangeMessage:HKb(Z(a,Dt,75)),approvalSystemNotificationMessage:IKb(Z(a,Et,78)),accessRequestMessage:vKb(Z(a,ut,72)),sheetsRangeImportMessage:FLb(Z(a,ELb,74)),
propagationInfo:bMb(Z(a,Rt,66)),hijackDetectionInfo:aMb(Z(a,$Lb,67)),ownerDomainIdList:p(rb(a,24,eb)),actorDomainId:p(m(a,59)),ownerCustomerId:p(m(a,79)),actorCustomerId:p(m(a,80)),previousOwnerCustomerId:p(m(a,92)),viewHistoryVisibility:SMb(Z(a,RMb,71)),categoryMetadataChangesList:Kb(aj(a,MKb,77),NKb),publishChange:BLb(Z(a,ALb,84)),appliedLabelChangesList:Kb(aj(a,Ct,85),EKb),linkShareMetadataChange:eLb(Z(a,dLb,87)),download:ZKb(a.getDownload()),eventId:p(m(a,18)),parentList:p(Ih(a,20)),ancestorList:p(Ih(a,
21)),subscriberList:p(rb(a,22,eb)),ownerInfo:xLb(Z(a,wLb,62)),previousOwnerInfo:xLb(Z(a,wLb,61)),creatorGaiaId:p(m(a,63)),acl:Xt(Z(a,Wt,25)),teamDriveAcls:QMb(Z(a,PMb,76)),ipAddress:p(m(a,26)),trashed:p(ar(a,27)),dlpInfo:EMb(a.getDlpInfo()),customExtensionList:Kb(aj(a,qt,39),st),domainTransferData:XKb(Z(a,WKb,73)),workspaceChange:ZLb(Z(a,YLb,81)),emailAsAttachment:cLb(Z(a,bLb,83)),effectiveAclChangeInfo:aLb(Z(a,$Kb,86))}};rt[10837399]=Jb(10837399,{messageSetExtension:0},Wt,Xt);rt[62513794]=Jb(62513794,{messageSetExtension:0},TMb,UMb);var VMb=function(a){r.call(this,a)};U(VMb,r);VMb.prototype.getResourceKey=function(){return m(this,2)};VMb.prototype.toObject=function(){return WMb(this)};var WMb=function(a){if(null!=a)return t(a),{resourceKey:p(m(a,2))}};var XMb=function(a){r.call(this,a)};U(XMb,r);XMb.prototype.getCustomerId=function(){return m(this,1)};XMb.prototype.toObject=function(){return YMb(this)};var YMb=function(a){if(null!=a)return t(a),{customerId:p(m(a,1))}};var ZMb=function(a){r.call(this,a)};U(ZMb,r);ZMb.prototype.toObject=function(){return $Mb(this)};var $Mb=function(a){if(null!=a)return t(a),{}};var aNb=function(a){r.call(this,a)};U(aNb,r);aNb.prototype.getCustomerId=function(){return Z(this,XMb,1)};aNb.prototype.toObject=function(){return bNb(this)};var bNb=function(a){if(null!=a)return t(a),{customerId:YMb(a.getCustomerId())}};var cNb=function(a){r.call(this,a)};U(cNb,r);var dNb=[1,2];cNb.prototype.toObject=function(){return eNb(this)};var eNb=function(a){if(null!=a)return t(a),{consumerInfo:$Mb(Sj(a,ZMb,1,dNb)),customerInfo:bNb(Sj(a,aNb,2,dNb))}};var fNb=function(a){r.call(this,a)};U(fNb,r);fNb.prototype.toObject=function(){return gNb(this)};var gNb=function(a){if(null!=a)return t(a),{membershipCount:p(Os(a,1)),memberType:p(kr(a,2)),membershipState:p(kr(a,3))}};var Yt=function(a){r.call(this,a)};U(Yt,r);Yt.prototype.getValueList=function(){return aj(this,fNb,1)};Yt.prototype.addValue=function(){return jo(this,1,fNb)};Yt.prototype.setValue=function(a,b){return Fs(this,1,fNb,a,b)};Yt.repeatedFields_=[1];Yt.prototype.toObject=function(){return hNb(this)};var hNb=function(a){if(null!=a)return t(a),{valueList:Kb(a.getValueList(),gNb)}};var iNb=function(a){r.call(this,a)};U(iNb,r);iNb.prototype.getIndex=function(){return Qs(this,1)};iNb.prototype.setIndex=function(a){vb(this,1,a,0)};iNb.prototype.toObject=function(){return jNb(this)};var jNb=function(a){if(null!=a)return t(a),{index:Qs(a,1),dataSourceIndex:Qs(a,2)}};var Zt=function(a){r.call(this,a)};U(Zt,r);f=Zt.prototype;f.getId=function(){return V(this,1)};f.setId=function(a){return mj(this,1,a)};f.getSourceId=function(){return W(this,2,0)};f.setSourceId=function(a){return Pi(this,2,a)};f.toObject=function(){return kNb(this)};var kNb=function(a){if(null!=a)return t(a),{id:V(a,1),sourceId:W(a,2,0)}};var lNb=function(a){r.call(this,a)};U(lNb,r);lNb.prototype.toObject=function(){return mNb(this)};var mNb=function(a){if(null!=a)return t(a),{sampleRate:Gh(a,1),samples:Pb(Gj(a,2))}};var Eh=function(a){r.call(this,a)};U(Eh,r);f=Eh.prototype;f.getSeconds=function(){return gj(this,1)};f.setSeconds=function(a){return Cb(this,1,a)};f.getNanos=function(){return Gh(this,2)};f.setNanos=function(a){return Bb(this,2,a)};f.toObject=function(){return $t(this)};var $t=function(a){if(null!=a)return t(a),{seconds:gj(a,1),nanos:Gh(a,2)}};var nNb=function(a){r.call(this,a)};U(nNb,r);nNb.prototype.getDuration=function(){return Z(this,Eh,1)};nNb.prototype.toObject=function(){return oNb(this)};var oNb=function(a){if(null!=a)return t(a),{duration:$t(a.getDuration()),internalPreviewUrl:V(a,2),internalWaveformUrl:V(a,3),internalWaveformData:mNb(Z(a,lNb,4))}};var au=function(a){r.call(this,a)};U(au,r);f=au.prototype;f.getUrl=function(){return V(this,1)};f.setUrl=function(a){return mj(this,1,a)};f.getHeight=function(){return Gh(this,2)};f.setHeight=function(a){return Bb(this,2,a)};f.getWidth=function(){return Gh(this,3)};f.setWidth=function(a){return Bb(this,3,a)};f.toObject=function(){return bu(this)};var bu=function(a){if(null!=a)return t(a),{url:V(a,1),height:Gh(a,2),width:Gh(a,3),rotation:Qs(a,4)}};var cu=function(a){r.call(this,a)};U(cu,r);cu.prototype.getDuration=function(){return Z(this,Eh,2)};cu.prototype.toObject=function(){return pNb(this)};var pNb=function(a){if(null!=a)return t(a),{aspectRatio:hj(a,1),duration:$t(a.getDuration()),internalPreviewUrl:V(a,3)}};var qNb=function(a){r.call(this,a)};U(qNb,r);qNb.prototype.getLeft=function(){return hj(this,1)};qNb.prototype.getRight=function(){return hj(this,3)};qNb.prototype.toObject=function(){return rNb(this)};var rNb=function(a){if(null!=a)return t(a),{left:hj(a,1),top:hj(a,2),right:hj(a,3),bottom:hj(a,4)}};var sNb=function(a){r.call(this,a)};U(sNb,r);sNb.prototype.getRotate=function(){return Gh(this,2)};sNb.prototype.setRotate=function(a){return Bb(this,2,a)};sNb.prototype.toObject=function(){return tNb(this)};var tNb=function(a){if(null!=a)return t(a),{cropCoordinates:rNb(Z(a,qNb,1)),rotate:Gh(a,2),caption:V(a,3)}};var uNb=function(a){r.call(this,a)};U(uNb,r);f=uNb.prototype;f.getEmail=function(){return V(this,1)};f.setEmail=function(a){return mj(this,1,a)};f.getName=function(){return V(this,2)};f.setName=function(a){return mj(this,2,a)};f.getDisplayName=function(){return V(this,3)};f.setDisplayName=function(a){return mj(this,3,a)};f.toObject=function(){return vNb(this)};
var vNb=function(a){if(null!=a)return t(a),{email:V(a,1),name:V(a,2),displayName:V(a,3),templateProfilePhotoUrl:V(a,4),profilePhoto:bu(Z(a,au,5))}};var du=function(a){r.call(this,a)};U(du,r);du.prototype.getBackgroundColor=function(){return V(this,2)};du.prototype.setBackgroundColor=function(a){mj(this,2,a)};du.prototype.setSelected=function(a){return Ab(this,5,a)};du.prototype.toObject=function(){return wNb(this)};var wNb=function(a){if(null!=a)return t(a),{accessRole:W(a,1,0),backgroundColor:V(a,2),foregroundColor:V(a,3),hidden:Jj(a,4),selected:Jj(a,5),profileMetadata:vNb(Z(a,uNb,6))}};var xNb=function(a){r.call(this,a)};U(xNb,r);xNb.prototype.toObject=function(){return yNb(this)};var yNb=function(a){if(null!=a)return t(a),{rawBytes:Pb(Gj(a,1))}};var eu=function(a){r.call(this,a)};U(eu,r);f=eu.prototype;f.getEmailList=function(){return Ih(this,1)};f.addEmail=function(a){return wb(this,1,a)};f.getEmail=function(a){return Us(this,1,a)};f.setEmail=function(a){return xb(this,1,a,void 0,Ih)};f.getGroupId=function(a){return Us(this,2,a)};f.setGroupId=function(a){xb(this,2,a,void 0,Ih)};eu.repeatedFields_=[1,2];eu.prototype.toObject=function(){return zNb(this)};var zNb=function(a){if(null!=a)return t(a),{emailList:p(Ih(a,1)),groupIdList:p(Ih(a,2))}};var ANb=function(a){r.call(this,a)};U(ANb,r);ANb.prototype.toObject=function(){return BNb(this)};var BNb=function(a){if(null!=a)return t(a),{searchTerm:V(a,1)}};var CNb=function(a){r.call(this,a)};U(CNb,r);CNb.prototype.toObject=function(){return DNb(this)};var DNb=function(a){if(null!=a)return t(a),{originalGif:bu(Z(a,au,1)),originalLmsImage:bu(Z(a,au,2)),collectionMetadata:BNb(Z(a,ANb,3))}};var ENb=function(a){r.call(this,a)};U(ENb,r);ENb.prototype.getCategory=function(){return W(this,1,0)};ENb.prototype.toObject=function(){return FNb(this)};var FNb=function(a){if(null!=a)return t(a),{category:W(a,1,0),categoryLabel:V(a,2)}};var GNb=function(a){r.call(this,a)};U(GNb,r);GNb.prototype.getTotalItems=function(){return Qs(this,1)};GNb.prototype.setTotalItems=function(a){return vb(this,1,a,0)};GNb.prototype.toObject=function(){return HNb(this)};var HNb=function(a){if(null!=a)return t(a),{totalItems:Qs(a,1),startTimestamp:yt(Z(a,Ch,2)),endTimestamp:yt(Z(a,Ch,3))}};var fu=function(a){r.call(this,a)};U(fu,r);fu.prototype.getLatitude=function(){return hj(this,1)};fu.prototype.getLongitude=function(){return hj(this,2)};fu.prototype.toObject=function(){return INb(this)};var INb=function(a){if(null!=a)return t(a),{latitude:p(Gs(a,1)),longitude:p(Gs(a,2))}};var JNb=function(a){r.call(this,a)};U(JNb,r);JNb.prototype.toObject=function(){return KNb(this)};var KNb=function(a){if(null!=a)return t(a),{albumMetadata:HNb(Z(a,GNb,1)),dedupKey:V(a,2),geolocationInfo:INb(Z(a,fu,3)),sha1:Pb(Gj(a,4))}};var LNb=function(a){r.call(this,a)};U(LNb,r);LNb.prototype.toObject=function(){return MNb(this)};var MNb=function(a){if(null!=a)return t(a),{assetId:V(a,1)}};var NNb=function(a){r.call(this,a)};U(NNb,r);NNb.prototype.toObject=function(){return ONb(this)};var ONb=function(a){if(null!=a)return t(a),{contentId:V(a,1)}};var gu=function(a){r.call(this,a)};U(gu,r);gu.prototype.getPhotoId=function(){return V(this,1)};gu.prototype.toObject=function(){return PNb(this)};var PNb=function(a){if(null!=a)return t(a),{photoId:V(a,1)}};var QNb=function(a){r.call(this,a)};U(QNb,r);QNb.prototype.toObject=function(){return RNb(this)};var RNb=function(a){if(null!=a)return t(a),{remoteRef:V(a,1)}};var SNb=function(a){r.call(this,a)};U(SNb,r);SNb.prototype.toObject=function(){return TNb(this)};var TNb=function(a){if(null!=a)return t(a),{serializedUploadFileResponse:V(a,1)}};var hu=function(a){r.call(this,a)};U(hu,r);hu.prototype.getAgentId=function(){return W(this,3,0)};var iu=[2,4,5,6,7];hu.prototype.toObject=function(){return UNb(this)};var UNb=function(a){if(null!=a)return t(a),{dataUrl:V(a,1),agentId:W(a,3,0),gmailPhotosMetadata:RNb(Sj(a,QNb,2,iu)),geoPhotoMetadata:PNb(Sj(a,gu,4,iu)),myMapsMetadata:TNb(Sj(a,SNb,5,iu)),culturalMetadata:MNb(Sj(a,LNb,7,iu)),genericMetadata:ONb(Sj(a,NNb,6,iu))}};var VNb=function(a){r.call(this,a)};U(VNb,r);VNb.prototype.getCategory=function(){return V(this,1)};VNb.prototype.toObject=function(){return WNb(this)};var WNb=function(a){if(null!=a)return t(a),{category:V(a,1)}};var XNb=function(a){r.call(this,a)};U(XNb,r);f=XNb.prototype;f.getWidth=function(){return Qs(this,1)};f.setWidth=function(a){return vb(this,1,a,0)};f.getHeight=function(){return Qs(this,2)};f.setHeight=function(a){return vb(this,2,a,0)};f.toObject=function(){return YNb(this)};var YNb=function(a){if(null!=a)return t(a),{width:Qs(a,1),height:Qs(a,2)}};var ZNb=function(a){r.call(this,a)};U(ZNb,r);ZNb.prototype.toObject=function(){return $Nb(this)};var $Nb=function(a){if(null!=a)return t(a),{imageSize:YNb(Z(a,XNb,1))}};var aOb=function(a){r.call(this,a)};U(aOb,r);aOb.prototype.toObject=function(){return bOb(this)};var bOb=function(a){if(null!=a)return t(a),{originalImage:bu(Z(a,au,1)),referrerUrl:V(a,2)}};var cOb=function(a){r.call(this,a)};U(cOb,r);cOb.prototype.getVideoMetadata=function(){return Z(this,cu,1)};cOb.prototype.hasVideoMetadata=function(){return Dj(this,cu,1)};cOb.prototype.toObject=function(){return dOb(this)};var dOb=function(a){if(null!=a)return t(a),{videoMetadata:pNb(a.getVideoMetadata()),channelName:V(a,2),channelId:V(a,3),viewCount:Rs(a,4)}};var eOb=function(a){r.call(this,a)};U(eOb,r);eOb.prototype.toObject=function(){return fOb(this)};var fOb=function(a){if(null!=a)return t(a),{youtubeVideoMetadata:dOb(Z(a,cOb,1))}};var ju=function(a){r.call(this,a)};U(ju,r);f=ju.prototype;f.getId=function(){return Z(this,Zt,1)};f.setId=function(a){return Yi(this,Zt,1,a)};f.getName=function(){return V(this,2)};f.setName=function(a){return mj(this,2,a)};f.getDescription=function(){return V(this,3)};f.setDescription=function(a){return mj(this,3,a)};f.getParentId=function(){return V(this,4)};f.setParentId=function(a){return mj(this,4,a)};f.getType=function(){return W(this,6,0)};f.setType=function(a){return Pi(this,6,a)};
f.getMimeType=function(){return V(this,7)};f.setMimeType=function(a){mj(this,7,a)};f.getUrl=function(){return V(this,8)};f.setUrl=function(a){return mj(this,8,a)};f.getIconUrl=function(){return V(this,11)};f.setIconUrl=function(a){return mj(this,11,a)};var ku=function(a){return aj(a,au,10)};ju.prototype.getLastModifiedTimestamp=function(){return Z(this,Ch,12)};ju.prototype.getVideoMetadata=function(){return Z(this,cu,34)};ju.prototype.hasVideoMetadata=function(){return Dj(this,cu,34)};
var lu=function(a){return Z(a,gOb,21)},hOb=function(a){r.call(this,a)};U(hOb,r);var gOb=function(a){r.call(this,a)};U(gOb,r);f=gOb.prototype;f.getShared=function(){return Jj(this,1)};f.setShared=function(a){Ab(this,1,a)};f.getVideoMetadata=function(){return Z(this,cu,3)};f.hasVideoMetadata=function(){return Dj(this,cu,3)};f.getResourceKey=function(){return V(this,11)};ju.repeatedFields_=[5,10,22];ju.prototype.toObject=function(){return mu(this)};
var mu=function(a){if(null!=a)return t(a),{id:kNb(a.getId()),name:V(a,2),description:V(a,3),parentId:V(a,4),allParentIdList:p(Ih(a,5)),type:W(a,6,0),mimeType:V(a,7),url:V(a,8),templateThumbUrl:V(a,9),iconUrl:V(a,11),embedUrl:V(a,13),previewUrl:V(a,20),thumbnailList:Kb(ku(a),bu),internalThumbnailList:Kb(aj(a,au,22),bu),lastModifiedTimestamp:yt(a.getLastModifiedTimestamp()),creationTimestampMs:yt(Z(a,Ch,16)),videoMetadata:pNb(a.getVideoMetadata()),audioMetadata:oNb(Z(a,nNb,35)),calendarMetadata:wNb(Z(a,
du,14)),webMetadata:bOb(Z(a,aOb,15)),photosMetadata:KNb(Z(a,JNb,18)),themesMetadata:WNb(Z(a,VNb,19)),driveMetadata:iOb(lu(a)),youtubeMetadata:fOb(Z(a,eOb,24)),cameraMetadata:yNb(Z(a,xNb,26)),contactsMetadata:zNb(Z(a,eu,27)),partyMetadata:FNb(Z(a,ENb,28)),urlMetadata:$Nb(Z(a,ZNb,29)),uploadMetadata:UNb(Z(a,hu,30)),cropPhotoMetadata:tNb(Z(a,sNb,32)),lmsMetadata:DNb(Z(a,CNb,33)),bucketId:V(a,17),sizeBytes:Rs(a,23),itemDiagnosticsInfo:jNb(Z(a,iNb,25)),isAttachment:Jj(a,31)}};hOb.prototype.toObject=function(){return jOb(this)};
var jOb=function(a){if(null!=a)return t(a),{targetId:V(a,1),targetMimeType:V(a,2),targetItem:mu(Z(a,ju,3)),targetLookupStatus:W(a,4,0)}};gOb.prototype.toObject=function(){return iOb(this)};
var iOb=function(a){if(null!=a)return t(a),{shared:Jj(a,1),hasPrimarySyncParent:Jj(a,2),videoMetadata:pNb(a.getVideoMetadata()),recencyTimestamp:yt(Z(a,Ch,4)),recencyReason:gj(a,5),sharedDriveId:V(a,6),hasOwnPermissions:Jj(a,7),shortcutDetails:jOb(Z(a,hOb,8)),copyable:Jj(a,9),downloadUrl:V(a,10),resourceKey:V(a,11),isRecentUpload:Jj(a,12),canDownload:Jj(a,13),restrictedDownload:Jj(a,14)}};var nu=function(a){r.call(this,a)};U(nu,r);nu.prototype.getLabel=function(){return V(this,2)};nu.prototype.setLabel=function(a){return mj(this,2,a)};nu.prototype.toObject=function(){return kOb(this)};var kOb=function(a){if(null!=a)return t(a),{viewId:V(a,1),label:V(a,2),optionsJson:V(a,3)}};var ou=function(a){r.call(this,a)};U(ou,r);f=ou.prototype;f.getStatus=function(){return W(this,1,0)};f.setStatus=function(a){return Pi(this,1,a)};f.getItemList=function(){return aj(this,ju,2)};f.setItemList=function(a){dj(this,2,a)};f.addItem=function(a,b){return jo(this,2,ju,a,b)};f.setItem=function(a,b){return Fs(this,2,ju,a,b)};f.getItemCount=function(){return Es(this,ju,2)};f.getAction=function(){return W(this,3,0)};f.getErrorCode=function(){return W(this,4,0)};
f.getInternalOnlyV1ViewInfo=function(){return Z(this,nu,7)};ou.repeatedFields_=[2];ou.prototype.toObject=function(){return lOb(this)};var lOb=function(a){if(null!=a)return t(a),{status:W(a,1,0),itemList:Kb(a.getItemList(),mu),action:W(a,3,0),errorCode:W(a,4,0),internalOnlyV1ViewInfo:kOb(a.getInternalOnlyV1ViewInfo())}};var mOb=function(a){r.call(this,a)};U(mOb,r);mOb.prototype.getEventType=function(){return W(this,1,0)};mOb.prototype.setEventType=function(a){return Pi(this,1,a)};mOb.prototype.toObject=function(){return nOb(this)};var nOb=function(a){if(null!=a)return t(a),{eventType:W(a,1,0)}};var oOb=function(a){r.call(this,a)};U(oOb,r);f=oOb.prototype;f.getItemList=function(){return aj(this,ju,1)};f.setItemList=function(a){dj(this,1,a)};f.addItem=function(a,b){return jo(this,1,ju,a,b)};f.setItem=function(a,b){return Fs(this,1,ju,a,b)};f.getItemCount=function(){return Es(this,ju,1)};oOb.repeatedFields_=[1];oOb.prototype.toObject=function(){return pOb(this)};var pOb=function(a){if(null!=a)return t(a),{itemList:Kb(a.getItemList(),mu),currentItem:mu(Z(a,ju,2)),currentItemIndex:Qs(a,3)}};var qOb=function(a){r.call(this,a)};U(qOb,r);f=qOb.prototype;f.getQuery=function(){return V(this,1)};f.setQuery=function(a){return mj(this,1,a)};f.clearQuery=function(){Js(this,1)};f.setShowHidden=function(a){return Ab(this,3,a)};f.toObject=function(){return rOb(this)};var rOb=function(a){if(null!=a)return t(a),{query:V(a,1),minAccessRole:W(a,2,0),showHidden:Jj(a,3),fetchProfile:Jj(a,4)}};var pu=function(a){r.call(this,a)};U(pu,r);pu.prototype.getUploadUrl=function(){return V(this,1)};pu.prototype.getAgentId=function(){return W(this,3,0)};pu.repeatedFields_=[11];pu.prototype.toObject=function(){return sOb(this)};
var sOb=function(a){if(null!=a){t(a);var b=V(a,1);var c=sb(a,7,kb);c=Ob(c);var d=sb(a,2,kb);d=Ob(d);var e=sb(a,6,kb);return{uploadUrl:b,uploadUrlParametersMap:c,metadataMap:d,videoMetadataMap:Ob(e),agentId:W(a,3,0),configurationId:W(a,4,0),sendDataUrl:Jj(a,5),fileExtensionsList:p(Ih(a,11))}}};var tOb=function(a){r.call(this,a)};U(tOb,r);tOb.prototype.getUploadSourceOptions=function(){return Z(this,pu,2)};tOb.prototype.toObject=function(){return uOb(this)};var uOb=function(a){if(null!=a)return t(a),{uploadMode:W(a,1,0),uploadSourceOptions:sOb(a.getUploadSourceOptions())}};var qu=function(a){r.call(this,a)};U(qu,r);qu.prototype.getQuery=function(){return V(this,1)};qu.prototype.setQuery=function(a){return mj(this,1,a)};qu.prototype.clearQuery=function(){Js(this,1)};qu.prototype.toObject=function(){return vOb(this)};var vOb=function(a){if(null!=a)return t(a),{query:V(a,1)}};var ru=function(a){r.call(this,a)};U(ru,r);ru.prototype.getParent=function(a){return Us(this,1,a)};ru.prototype.setParent=function(a){return xb(this,1,a,void 0,Ih)};ru.repeatedFields_=[1,3];ru.prototype.toObject=function(){return wOb(this)};var wOb=function(a){if(null!=a)return t(a),{parentList:p(Ih(a,1)),embeddingParent:V(a,2),fileExtensionsList:p(Ih(a,3)),convertToDocsItem:Jj(a,4)}};var xOb=function(a){r.call(this,a)};U(xOb,r);xOb.repeatedFields_=[3];xOb.prototype.toObject=function(){return yOb(this)};var yOb=function(a){if(null!=a)return t(a),{allowOnlyDownloadableItems:Jj(a,1),allowOnlyCopyableItems:Jj(a,2),disabledItemIdsList:p(Ih(a,3))}};var zOb=function(a){r.call(this,a)};U(zOb,r);f=zOb.prototype;f.getType=function(){return W(this,1,0)};f.setType=function(a){return Pi(this,1,a)};f.getDirection=function(){return W(this,2,0)};f.setDirection=function(a){return Pi(this,2,a)};f.toObject=function(){return AOb(this)};var AOb=function(a){if(null!=a)return t(a),{type:W(a,1,0),direction:W(a,2,0),foldersFirst:Jj(a,3)}};var BOb=function(a){r.call(this,a)};U(BOb,r);f=BOb.prototype;f.getParentId=function(){return V(this,1)};f.setParentId=function(a){return mj(this,1,a)};f.getQuery=function(){return V(this,2)};f.setQuery=function(a){return mj(this,2,a)};f.clearQuery=function(){Js(this,2)};f.getStarred=function(){return Jj(this,7)};f.setStarred=function(a){Ab(this,7,a)};f.getLastModified=function(){return Z(this,Ch,9)};f.getRestrictions=function(){return Z(this,xOb,19)};f.toObject=function(){return COb(this)};
var COb=function(a){if(null!=a)return t(a),{parentId:V(a,1),query:V(a,2),sortBy:AOb(Z(a,zOb,3)),ownedBy:W(a,4,0),sharedWithMe:Jj(a,5),starred:Jj(a,7),viewMode:W(a,8,0),lastModified:yt(a.getLastModified()),disableInstantUpdates:Jj(a,10),inSharedDrive:Jj(a,11),inComputers:Jj(a,12),permissions:W(a,13,0),itemSuggest:Jj(a,14),driveUploadOptions:wOb(Z(a,ru,15)),encryptedOnlyMode:Jj(a,16),includeEncryptedItems:Jj(a,17),excludeSharedDriveItems:Jj(a,20),itemSuggestScenarioType:W(a,18,0),restrictions:yOb(a.getRestrictions())}};var DOb=function(a){r.call(this,a)};U(DOb,r);f=DOb.prototype;f.getValueCase=function(){return Ci(this,EOb)};f.getFieldName=function(){return W(this,1,0)};f.setFieldName=function(a){Pi(this,1,a)};f.getStringValue=function(){return Xs(this,3,EOb)};f.setStringValue=function(a){return $n(this,3,EOb,a)};var EOb=[3,4];DOb.prototype.toObject=function(){return FOb(this)};
var FOb=function(a){if(null!=a)return t(a),{fieldName:W(a,1,0),filterOperator:W(a,2,0),stringValue:p(po(a,3,EOb)),doubleValue:p(oo(a,4,EOb))}};var GOb=function(a){r.call(this,a)};U(GOb,r);GOb.prototype.getFilterNodeList=function(){return aj(this,su,1)};var HOb=function(a){r.call(this,a)};U(HOb,r);HOb.prototype.getFilterNodeList=function(){return aj(this,su,1)};var su=function(a){r.call(this,a)};U(su,r);su.prototype.getFilter=function(){return Sj(this,DOb,3,IOb)};su.prototype.setFilter=function(a){return ho(this,3,IOb,a)};GOb.repeatedFields_=[1];GOb.prototype.toObject=function(){return JOb(this)};
var JOb=function(a){if(null!=a)return t(a),{filterNodeList:Kb(a.getFilterNodeList(),KOb)}};HOb.repeatedFields_=[1];HOb.prototype.toObject=function(){return LOb(this)};var LOb=function(a){if(null!=a)return t(a),{filterNodeList:Kb(a.getFilterNodeList(),KOb)}},IOb=[1,2,3];su.prototype.toObject=function(){return KOb(this)};var KOb=function(a){if(null!=a)return t(a),{andNode:LOb(Sj(a,HOb,1,IOb)),orNode:JOb(Sj(a,GOb,2,IOb)),filter:FOb(a.getFilter())}};var tu=function(a){r.call(this,a)};U(tu,r);tu.prototype.getQuery=function(){return V(this,1)};tu.prototype.setQuery=function(a){return mj(this,1,a)};tu.prototype.clearQuery=function(){Js(this,1)};tu.prototype.toObject=function(){return MOb(this)};var MOb=function(a){if(null!=a)return t(a),{query:V(a,1),viewMode:W(a,2,0),filterType:W(a,3,0),rootFilterNode:KOb(Z(a,su,4)),viewType:W(a,5,0)}};var NOb=function(a){r.call(this,a)};U(NOb,r);NOb.prototype.getCategory=function(){return W(this,2,0)};NOb.prototype.toObject=function(){return OOb(this)};var OOb=function(a){if(null!=a)return t(a),{category:W(a,2,0),deprecatedCategory:V(a,1)}};var POb=function(a){r.call(this,a)};U(POb,r);POb.repeatedFields_=[8];POb.prototype.toObject=function(){return QOb(this)};var QOb=function(a){if(null!=a)return t(a),{parentAlbumKey:V(a,1),bucketBy:W(a,2,0),viewMode:W(a,3,0),queryText:V(a,4),includePhotos:Jj(a,5),includeVideos:Jj(a,6),enableVideoPreviews:Jj(a,9),viewType:W(a,7,0),associationOriginList:p(Tk(a,8))}};var ROb=function(a){r.call(this,a)};U(ROb,r);ROb.prototype.toObject=function(){return SOb(this)};var SOb=function(a){if(null!=a)return t(a),{themeSourceId:W(a,1,0)}};var TOb=function(a){r.call(this,a)};U(TOb,r);TOb.prototype.setMode=function(a){return Pi(this,1,a)};TOb.prototype.toObject=function(){return UOb(this)};var UOb=function(a){if(null!=a)return t(a),{mode:W(a,1,0)}};var uu=function(a){r.call(this,a)};U(uu,r);uu.prototype.getQuery=function(){return V(this,1)};uu.prototype.setQuery=function(a){return mj(this,1,a)};uu.prototype.clearQuery=function(){Js(this,1)};uu.prototype.toObject=function(){return VOb(this)};var VOb=function(a){if(null!=a)return t(a),{query:V(a,1),usageRights:W(a,2,0),disableSafeSearchMode:Jj(a,3),viewMode:W(a,4,0)}};var vu=function(a){r.call(this,a)};U(vu,r);vu.prototype.getQuery=function(){return V(this,2)};vu.prototype.setQuery=function(a){return mj(this,2,a)};vu.prototype.clearQuery=function(){Js(this,2)};vu.prototype.toObject=function(){return WOb(this)};var WOb=function(a){if(null!=a)return t(a),{viewMode:W(a,1,0),query:V(a,2)}};var wu=function(a){r.call(this,a)};U(wu,r);f=wu.prototype;f.getSourceId=function(){return W(this,1,0)};f.setSourceId=function(a){return Pi(this,1,a)};f.getName=function(){return V(this,8)};f.setName=function(a){return mj(this,8,a)};f.getUploadSourceOptions=function(){return Z(this,pu,10)};f.getInternalOnlyV1ViewInfo=function(){return Z(this,nu,18)};wu.repeatedFields_=[14];wu.prototype.toObject=function(){return XOb(this)};
var XOb=function(a){if(null!=a)return t(a),{sourceId:W(a,1,0),name:V(a,8),driveSourceOptions:COb(Z(a,BOb,3)),calendarSourceOptions:rOb(Z(a,qOb,4)),webSourceOptions:VOb(Z(a,uu,5)),photosSourceOptions:QOb(Z(a,POb,6)),themesSourceOptions:SOb(Z(a,ROb,7)),youtubeSourceOptions:WOb(Z(a,vu,9)),uploadSourceOptions:sOb(a.getUploadSourceOptions()),contactsSourceOptions:vOb(Z(a,qu,12)),partySourceOptions:OOb(Z(a,NOb,13)),urlSourceOptions:UOb(Z(a,TOb,15)),cameraSourceOptions:uOb(Z(a,tOb,16)),lmsSourceOptions:MOb(Z(a,
tu,17)),childSourceList:Kb(aj(a,wu,14),XOb),internalOnlyV1ViewInfo:kOb(a.getInternalOnlyV1ViewInfo())}};var xu=function(a){r.call(this,a)};U(xu,r);f=xu.prototype;f.getCommand=function(){return W(this,1,0)};f.setCommand=function(a){return Pi(this,1,a)};f.getSource=function(){return Z(this,wu,2)};f.setSource=function(a){return Yi(this,wu,2,a)};f.hasSource=function(){return Dj(this,wu,2)};f.setVisible=function(a){return Ab(this,5,a)};f.getItemList=function(){return aj(this,ju,7)};f.setItemList=function(a){dj(this,7,a)};f.addItem=function(a,b){return jo(this,7,ju,a,b)};
f.setItem=function(a,b){return Fs(this,7,ju,a,b)};f.getItemCount=function(){return Es(this,ju,7)};xu.repeatedFields_=[3,7];xu.prototype.toObject=function(){if(null!=this){t(this);var a={command:W(this,1,0),source:XOb(this.getSource()),itemIdList:Kb(aj(this,Zt,3),kNb),correlationId:V(this,4),visible:Jj(this,5),cssVisibilityChanged:Jj(this,6),itemList:Kb(this.getItemList(),mu)}}else a=void 0;return a};var YOb=function(a){r.call(this,a)};U(YOb,r);f=YOb.prototype;f.getCommand=function(){return W(this,1,0)};f.setCommand=function(a){return Pi(this,1,a)};f.getItemList=function(){return aj(this,ju,4)};f.setItemList=function(a){dj(this,4,a)};f.addItem=function(a,b){return jo(this,4,ju,a,b)};f.setItem=function(a,b){return Fs(this,4,ju,a,b)};f.getItemCount=function(){return Es(this,ju,4)};var ZOb=Rb(YOb);YOb.repeatedFields_=[4];
YOb.prototype.toObject=function(){if(null!=this){t(this);var a={command:W(this,1,0),pickerResult:lOb(Z(this,ou,2)),correlationId:V(this,3),itemList:Kb(this.getItemList(),mu),previewData:pOb(Z(this,oOb,5)),latencyData:nOb(Z(this,mOb,6))}}else a=void 0;return a};var $Ob=function(a){r.call(this,a)};U($Ob,r);$Ob.prototype.getResourceKey=function(){return Z(this,VMb,2)};$Ob.prototype.toObject=function(){return aPb(this)};var aPb=function(a){if(null!=a)return t(a),{documentId:V(a,1),resourceKey:WMb(a.getResourceKey())}};var bPb=function(a){r.call(this,a)};U(bPb,r);bPb.prototype.getGroupId=function(){return V(this,1)};bPb.prototype.setGroupId=function(a){mj(this,1,a)};bPb.prototype.toObject=function(){return cPb(this)};var cPb=function(a){if(null!=a)return t(a),{groupId:V(a,1)}};var yu=function(a){r.call(this,a)};U(yu,r);f=yu.prototype;f.getCode=function(){return Os(this,1)};f.getCode_legacyNullable=function(){return Os(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 dPb(this)};var dPb=function(a){if(null!=a)return t(a),{code:p(Os(a,1)),space:p(m(a,2)),message:p(m(a,3)),canonicalCode:p(Os(a,6)),messageSet:st(Z(a,qt,5))}};rt[10071]=Jb(10071,{messageSetExtension:0},yu,dPb);var zu=function(a){r.call(this,a)};U(zu,r);zu.prototype.getQuery=function(){return V(this,4)};zu.prototype.setQuery=function(a){return n(this,4,a)};zu.prototype.clearQuery=function(){Js(this,4)};zu.prototype.hasQuery=function(){return wk(this,4)};zu.repeatedFields_=[5];zu.prototype.toObject=function(){return ePb(this)};
var ePb=function(a){if(null!=a)return t(a),{rpcStatus:dPb(Z(a,yu,7)),executedCode:p(m(a,9)),query:p(m(a,4)),msgOut:p(m(a,2)),msgErr:p(m(a,3)),exitStatus:p(kr(a,6)),imagesList:p(Ih(a,5)),selfRefineIterations:p(Os(a,8)),elapsedServerTimeMs:p(m(a,10))}};var fPb=function(a){r.call(this,a)};U(fPb,r);fPb.repeatedFields_=[2,3];fPb.prototype.toObject=function(){return gPb(this)};var gPb=function(a){if(null!=a)return t(a),{includesHeaderRow:p(ar(a,1)),columnNamesList:p(Ih(a,2)),sampleRowsList:p(Ih(a,3))}};var hPb=function(a){r.call(this,a)};U(hPb,r);hPb.prototype.getFileName=function(){return V(this,1)};var iPb=[2];hPb.prototype.toObject=function(){return jPb(this)};var jPb=function(a){if(null!=a)return t(a),{fileName:p(m(a,1)),csvFile:gPb(Sj(a,fPb,2,iPb))}};var kPb=function(a){r.call(this,a)};U(kPb,r);kPb.repeatedFields_=[1];kPb.prototype.toObject=function(){return lPb(this)};var lPb=function(a){if(null!=a)return t(a),{availableInputFileMetadataList:Kb(aj(a,hPb,1),jPb),previousCodeExecutionMetadata:ePb(Z(a,zu,2))}};var mPb=function(a){r.call(this,a)};U(mPb,r);mPb.prototype.getState=function(){return W(this,1,0)};mPb.prototype.toObject=function(){return nPb(this)};var nPb=function(a){if(null!=a)return t(a),{state:p(kr(a,1))}};var oPb=function(a){r.call(this,a)};U(oPb,r);oPb.prototype.toObject=function(){return pPb(this)};var pPb=function(a){if(null!=a)return t(a),{privateDoNotAccessOrElseSafeUrlWrappedValue:p(m(a,3))}};var Au=function(a){r.call(this,a)};U(Au,r);Au.prototype.toObject=function(){return qPb(this)};var qPb=function(a){if(null!=a)return t(a),{rawUrl:V(a,1),safeUrl:pPb(Z(a,oPb,2))}};var rPb=function(a){r.call(this,a)};U(rPb,r);f=rPb.prototype;f.getUrl=function(){return Z(this,Au,1)};f.setUrl=function(a){return Yi(this,Au,1,a)};f.hasUrl=function(){return Dj(this,Au,1)};f.getWidth=function(){return Gh(this,3)};f.setWidth=function(a){return n(this,3,a)};f.getHeight=function(){return Gh(this,4)};f.setHeight=function(a){return n(this,4,a)};f.getTitle=function(){return V(this,5)};f.setTitle=function(a){return n(this,5,a)};f.toObject=function(){return sPb(this)};
var sPb=function(a){if(null!=a)return t(a),{url:qPb(a.getUrl()),width:p(Os(a,3)),height:p(Os(a,4)),title:p(m(a,5)),embeddedUrl:p(m(a,6)),docid:p(m(a,7))}};var tPb=function(a){r.call(this,a)};U(tPb,r);f=tPb.prototype;f.getUrl=function(){return Z(this,Au,1)};f.setUrl=function(a){return Yi(this,Au,1,a)};f.hasUrl=function(){return Dj(this,Au,1)};f.getTitle=function(){return V(this,2)};f.setTitle=function(a){return n(this,2,a)};f.toObject=function(){return uPb(this)};var uPb=function(a){if(null!=a)return t(a),{url:qPb(a.getUrl()),title:p(m(a,2)),imageSourceType:p(kr(a,3)),faviconUrl:p(m(a,4))}};var vPb=function(a){r.call(this,a)};U(vPb,r);f=vPb.prototype;f.setImage=function(){Yi(this,rPb,1,void 0)};f.getAnchor=function(){return V(this,3)};f.getErrorCode=function(){return W(this,7,0)};f.hasErrorCode=function(){return fj(this,7)};f.toObject=function(){return wPb(this)};var wPb=function(a){if(null!=a)return t(a),{image:sPb(Z(a,rPb,1)),attribution:uPb(Z(a,tPb,2)),anchor:p(m(a,3)),imageTagIndex:p(Os(a,5)),thumbnail:sPb(Z(a,rPb,4)),errorCode:p(kr(a,7))}};var Bu=function(a){r.call(this,a)};U(Bu,r);Bu.prototype.getTemporaryData=function(){return Z(this,qt,3)};Bu.prototype.toObject=function(){return xPb(this)};var xPb=function(a){if(null!=a)return t(a),{cellId:p(m(a,1)),fprint:p(m(a,2)),temporaryData:st(a.getTemporaryData())}};rt[13258261]=Jb(13258261,{messageSetExtension:0},Bu,xPb);var yPb=function(a){r.call(this,a)};U(yPb,r);yPb.prototype.toObject=function(){return zPb(this)};var zPb=function(a){if(null!=a)return t(a),{provider:W(a,1,4369),dataset:p(m(a,2))}};var APb=function(a){r.call(this,a)};U(APb,r);APb.prototype.toObject=function(){return BPb(this)};var BPb=function(a){if(null!=a)return t(a),{sourceSummary:zPb(Z(a,yPb,1)),isAuto:Jj(a,2,!1)}};var Cu=function(a){r.call(this,a)};U(Cu,r);Cu.prototype.getInternal=function(){return Z(this,APb,15)};Cu.prototype.toObject=function(){return CPb(this)};var CPb=function(a){if(null!=a)return t(a),{internal:BPb(a.getInternal())}};var Du=function(a){r.call(this,a,500)};U(Du,r);Du.prototype.getMetadata=function(){return Z(this,Cu,500)};Du.prototype.setMetadata=function(a){Yi(this,Cu,500,a)};Du.prototype.getTemporaryData=function(){return Z(this,qt,15)};Du.prototype.toObject=function(){return DPb(this)};var DPb=function(a){if(null!=a)return t(a),{latE7:p(Ps(a,1)),lngE7:p(Ps(a,2)),metadata:CPb(a.getMetadata()),temporaryData:st(a.getTemporaryData())}};rt[14827556]=Jb(14827556,{messageSetExtension:0},Du,DPb);var Eu=function(a){r.call(this,a)};U(Eu,r);Eu.prototype.getStatus=function(){return W(this,1,-1)};Eu.prototype.setStatus=function(a){return n(this,1,a)};Eu.prototype.hasStatus=function(){return fj(this,1)};Eu.prototype.toObject=function(){return EPb(this)};var EPb=function(a){if(null!=a)return t(a),{status:p(kr(a,1)),distanceMeters:p(Os(a,2)),durationSeconds:p(Os(a,3)),durationInTrafficSeconds:p(Os(a,4)),latencyMs:p(Os(a,5))}};var FPb=function(a){r.call(this,a)};U(FPb,r);FPb.prototype.toObject=function(){return GPb(this)};var GPb=function(a){if(null!=a)return t(a),{canonicalResponseSummary:EPb(Z(a,Eu,1)),comparisonResponseSummary:EPb(Z(a,Eu,2))}};var Fu=function(a){r.call(this,a)};U(Fu,r);Fu.prototype.getType=function(a){return Us(this,3,a)};Fu.prototype.setType=function(a,b){return xb(this,3,a,b,Ih)};Fu.prototype.getTypeCount=function(){return Ih(this,3,void 0,2).length};Fu.repeatedFields_=[3];Fu.prototype.toObject=function(){return HPb(this)};var HPb=function(a){if(null!=a)return t(a),{geocoderStatus:p(kr(a,1)),typeList:p(Ih(a,3)),partialMatch:p(ar(a,4)),placeId:p(m(a,5))}};var Gu=function(a){r.call(this,a)};U(Gu,r);f=Gu.prototype;f.getValue=function(){return Qs(this,1)};f.setValue=function(a){return n(this,1,a)};f.hasValue=function(){return null!=Ps(this,1)};f.getText=function(){return V(this,2)};f.setText=function(a){return n(this,2,a)};f.toObject=function(){return Hu(this)};var Hu=function(a){if(null!=a)return t(a),{value:p(Ps(a,1)),text:p(m(a,2))}};var IPb=function(a){r.call(this,a)};U(IPb,r);IPb.repeatedFields_=[1,2];IPb.prototype.toObject=function(){return JPb(this)};var JPb=function(a){if(null!=a)return t(a),{durationList:Kb(aj(a,Gu,1),Hu),percentileList:p(Hs(a,2))}};var Iu=function(a){r.call(this,a)};U(Iu,r);Iu.prototype.toObject=function(){return Ju(this)};var Ju=function(a){if(null!=a)return t(a),{lat:p(Gs(a,1)),lng:p(Gs(a,2))}};var KPb=function(a){r.call(this,a)};U(KPb,r);KPb.prototype.getLocation=function(){return Z(this,Iu,1)};KPb.prototype.toObject=function(){return LPb(this)};var LPb=function(a){if(null!=a)return t(a),{location:Ju(a.getLocation()),stepIndex:p(Ps(a,2)),stepInterpolation:p(Gs(a,3))}};var Ku=function(a){r.call(this,a)};U(Ku,r);Ku.prototype.getNumber=function(){return hj(this,1)};Ku.prototype.getFeatureId=function(){return Z(this,Bu,2)};Ku.prototype.toObject=function(){return MPb(this)};var MPb=function(a){if(null!=a)return t(a),{number:p(Gs(a,1)),featureId:xPb(a.getFeatureId())}};var NPb=function(a){r.call(this,a)};U(NPb,r);NPb.prototype.toObject=function(){return OPb(this)};var OPb=function(a){if(null!=a)return t(a),{points:p(m(a,1))}};var Lu=function(a){r.call(this,a)};U(Lu,r);f=Lu.prototype;f.getValue=function(){return Rs(this,1)};f.setValue=function(a){return n(this,1,a)};f.hasValue=function(){return null!=m(this,1)};f.getText=function(){return V(this,2)};f.setText=function(a){return n(this,2,a)};f.getTimeZone=function(){return V(this,3)};f.setTimeZone=function(a){return n(this,3,a)};f.hasTimeZone=function(){return wk(this,3)};f.toObject=function(){return PPb(this)};
var PPb=function(a){if(null!=a)return t(a),{value:p(m(a,1)),text:p(m(a,2)),timeZone:p(m(a,3))}};var QPb=function(a){r.call(this,a)};U(QPb,r);f=QPb.prototype;f.getName=function(){return V(this,1)};f.setName=function(a){return n(this,1,a)};f.hasName=function(){return wk(this,1)};f.getNameOrUndefined=function(){return dt(this,1)};f.getUrl=function(){return V(this,2)};f.setUrl=function(a){return n(this,2,a)};f.hasUrl=function(){return wk(this,2)};f.getPhone=function(){return V(this,3)};f.setPhone=function(a){return n(this,3,a)};f.hasPhone=function(){return wk(this,3)};f.toObject=function(){return RPb(this)};
var RPb=function(a){if(null!=a)return t(a),{name:p(m(a,1)),url:p(m(a,2)),phone:p(m(a,3))}};var SPb=function(a){r.call(this,a)};U(SPb,r);f=SPb.prototype;f.getName=function(){return V(this,1)};f.setName=function(a){return n(this,1,a)};f.hasName=function(){return wk(this,1)};f.getNameOrUndefined=function(){return dt(this,1)};f.getType=function(){return W(this,2,1)};f.setType=function(a){return n(this,2,a)};f.hasType=function(){return fj(this,2)};f.getIcon=function(){return V(this,3)};f.toObject=function(){return TPb(this)};
var TPb=function(a){if(null!=a)return t(a),{name:p(m(a,1)),type:p(kr(a,2)),icon:p(m(a,3)),localIcon:p(m(a,4))}};var UPb=function(a){r.call(this,a)};U(UPb,r);f=UPb.prototype;f.getName=function(){return V(this,1)};f.setName=function(a){return n(this,1,a)};f.hasName=function(){return wk(this,1)};f.getNameOrUndefined=function(){return dt(this,1)};f.getShortName=function(){return V(this,2)};f.getUrl=function(){return V(this,3)};f.setUrl=function(a){return n(this,3,a)};f.hasUrl=function(){return wk(this,3)};f.getIcon=function(){return V(this,6)};f.setColor=function(a){return n(this,7,a)};
f.clearColor=function(){return Js(this,7)};UPb.repeatedFields_=[5];UPb.prototype.toObject=function(){return VPb(this)};var VPb=function(a){if(null!=a)return t(a),{name:p(m(a,1)),shortName:p(m(a,2)),url:p(m(a,3)),vehicle:TPb(Z(a,SPb,4)),agencyList:Kb(aj(a,QPb,5),RPb),icon:p(m(a,6)),color:p(m(a,7)),textColor:p(m(a,8))}};var WPb=function(a){r.call(this,a)};U(WPb,r);f=WPb.prototype;f.getName=function(){return V(this,1)};f.setName=function(a){return n(this,1,a)};f.hasName=function(){return wk(this,1)};f.getNameOrUndefined=function(){return dt(this,1)};f.getLocation=function(){return Z(this,Iu,2)};f.toObject=function(){return XPb(this)};var XPb=function(a){if(null!=a)return t(a),{name:p(m(a,1)),location:Ju(a.getLocation())}};var Mu=function(a){r.call(this,a)};U(Mu,r);Mu.prototype.clearLine=function(){return Js(this,3)};Mu.prototype.getDepartureTime=function(){return Z(this,Lu,6)};Mu.prototype.getArrivalTime=function(){return Z(this,Lu,7)};Mu.prototype.toObject=function(){return YPb(this)};
var YPb=function(a){if(null!=a)return t(a),{departureStop:XPb(Z(a,WPb,1)),arrivalStop:XPb(Z(a,WPb,2)),line:VPb(Z(a,UPb,3)),numStops:p(Ps(a,4)),headsign:p(m(a,5)),departureTime:PPb(a.getDepartureTime()),arrivalTime:PPb(a.getArrivalTime()),headway:p(Ps(a,8)),tripShortName:p(m(a,9))}};var Nu=function(a){r.call(this,a)};U(Nu,r);f=Nu.prototype;f.getStartLocation=function(){return Z(this,Iu,2)};f.getEndLocation=function(){return Z(this,Iu,3)};f.getDuration=function(){return Z(this,Gu,5)};f.getDistance=function(){return Z(this,Gu,7)};f.getBuildingLevel=function(){return Z(this,Ku,11)};f.getStepList=function(){return aj(this,Nu,9)};Nu.repeatedFields_=[9];Nu.prototype.toObject=function(){return ZPb(this)};
var ZPb=function(a){if(null!=a)return t(a),{travelMode:p(kr(a,1)),startLocation:Ju(a.getStartLocation()),endLocation:Ju(a.getEndLocation()),polyline:OPb(Z(a,NPb,4)),duration:Hu(a.getDuration()),htmlInstructions:p(m(a,6)),distance:Hu(a.getDistance()),transitDetails:YPb(Z(a,Mu,8)),maneuver:p(m(a,10)),buildingLevel:MPb(a.getBuildingLevel()),stepList:Kb(a.getStepList(),ZPb)}};var $Pb=function(a){r.call(this,a)};U($Pb,r);$Pb.prototype.toObject=function(){return aQb(this)};var aQb=function(a){if(null!=a)return t(a),{speedCategory:p(kr(a,1)),offsetMeters:p(Ps(a,2))}};var bQb=function(a){r.call(this,a)};U(bQb,r);f=bQb.prototype;f.getStepList=function(){return aj(this,Nu,1)};f.getDuration=function(){return Z(this,Gu,2)};f.getDistance=function(){return Z(this,Gu,3)};f.getStartLocation=function(){return Z(this,Iu,6)};f.getEndLocation=function(){return Z(this,Iu,7)};f.getDepartureTime=function(){return Z(this,Lu,10)};f.getArrivalTime=function(){return Z(this,Lu,11)};bQb.repeatedFields_=[1,14,100];bQb.prototype.toObject=function(){return cQb(this)};
var cQb=function(a){if(null!=a)return t(a),{stepList:Kb(a.getStepList(),ZPb),duration:Hu(a.getDuration()),distance:Hu(a.getDistance()),startLocation:Ju(a.getStartLocation()),endLocation:Ju(a.getEndLocation()),startAddress:p(m(a,8)),endAddress:p(m(a,9)),departureTime:PPb(a.getDepartureTime()),arrivalTime:PPb(a.getArrivalTime()),durationInTraffic:Hu(Z(a,Gu,12)),durationInTrafficPercentiles:JPb(Z(a,IPb,13)),trafficSpeedEntryList:Kb(aj(a,$Pb,14),aQb),viaWaypointList:Kb(aj(a,KPb,100),LPb)}};var dQb=function(a){r.call(this,a,500)};U(dQb,r);f=dQb.prototype;f.getPoint=function(){return Z(this,Du,9)};f.setPoint=function(a){Yi(this,Du,9,a)};f.getFeatureId=function(){return Z(this,Bu,10)};f.getPriority=function(){return W(this,8,1)};f.setPriority=function(a){return n(this,8,a)};f.hasPriority=function(){return fj(this,8)};f.getLevelFeatureId=function(){return Z(this,Bu,13)};f.getMetadata=function(){return Z(this,Cu,500)};f.setMetadata=function(a){Yi(this,Cu,500,a)};dQb.repeatedFields_=[12];
dQb.prototype.toObject=function(){return eQb(this)};var eQb=function(a){if(null!=a)return t(a),{point:DPb(a.getPoint()),featureId:xPb(a.getFeatureId()),featureType:p(Os(a,11)),segmentPosition:p(Gs(a,2)),pointOnSegment:DPb(Z(a,Du,3)),pointOffSegment:DPb(Z(a,Du,4)),canEnter:p(ar(a,5)),canExit:p(ar(a,6)),priority:W(a,8,1),unsuitableTravelModeList:p(Tk(a,12)),levelFeatureId:xPb(a.getLevelFeatureId()),metadata:CPb(a.getMetadata())}};var Ou=function(a){r.call(this,a)};U(Ou,r);Ou.prototype.getLatlng=function(){return Z(this,Iu,1)};Ou.prototype.getAddress=function(){return V(this,2)};Ou.prototype.getBuildingLevel=function(){return Z(this,Ku,4)};Ou.repeatedFields_=[100];Ou.prototype.toObject=function(){return fQb(this)};
var fQb=function(a){if(null!=a)return t(a),{latlng:Ju(a.getLatlng()),address:p(m(a,2)),placeId:p(m(a,5)),snapZoomLevel:p(Os(a,3)),buildingLevel:MPb(a.getBuildingLevel()),heading:p(Os(a,6)),sideOfRoad:p(ar(a,7)),accessPointList:Kb(aj(a,dQb,100),eQb)}};var gQb=function(a){r.call(this,a)};U(gQb,r);f=gQb.prototype;f.getValue=function(){return hj(this,1)};f.setValue=function(a){return Ns(this,1,a)};f.hasValue=function(){return null!=Gs(this,1)};f.getText=function(){return V(this,3)};f.setText=function(a){return n(this,3,a)};f.toObject=function(){return hQb(this)};var hQb=function(a){if(null!=a)return t(a),{value:p(Gs(a,1)),currency:p(m(a,2)),text:p(m(a,3))}};var iQb=function(a){r.call(this,a)};U(iQb,r);iQb.prototype.toObject=function(){return jQb(this)};var jQb=function(a){if(null!=a)return t(a),{southwest:Ju(Z(a,Iu,1)),northeast:Ju(Z(a,Iu,2))}};var Pu=function(a){r.call(this,a)};U(Pu,r);Pu.prototype.getWarning=function(){return Us(this,5)};Pu.prototype.getResolvedWaypointList=function(){return aj(this,Ou,100)};Pu.repeatedFields_=[2,5,6,100];Pu.prototype.toObject=function(){return kQb(this)};
var kQb=function(a){if(null!=a){t(a);var b=p(m(a,1)),c=Kb(aj(a,bQb,2),cQb),d=p(m(a,3)),e=OPb(Z(a,NPb,4)),g=jQb(Z(a,iQb,7)),h=p(Ih(a,5));var l=rb(a,6,tba);return{summary:b,legList:c,copyrights:d,overviewPolyline:e,bounds:g,warningList:h,waypointIndexList:p(l),fare:hQb(Z(a,gQb,8)),resolvedWaypointList:Kb(a.getResolvedWaypointList(),fQb)}}};var lQb=function(a){r.call(this,a)};U(lQb,r);f=lQb.prototype;f.getStatus=function(){return W(this,1,-1)};f.setStatus=function(a){return n(this,1,a)};f.hasStatus=function(){return fj(this,1)};f.getErrorMessage=function(){return V(this,4)};f.setErrorMessage=function(a){n(this,4,a)};f.getResolvedWaypointList=function(){return aj(this,Ou,100)};lQb.repeatedFields_=[2,5,6,100];lQb.prototype.toObject=function(){return mQb(this)};
var mQb=function(a){if(null!=a)return t(a),{status:p(kr(a,1)),errorMessage:p(m(a,4)),errorDetail:p(m(a,3)),routeList:Kb(aj(a,Pu,2),kQb),availableTravelModeList:p(Tk(a,5)),geocodedWaypointList:Kb(aj(a,Fu,6),HPb),resolvedWaypointList:Kb(a.getResolvedWaypointList(),fQb),includeFareInfo:Jj(a,101,!1),experiment:GPb(Z(a,FPb,103)),crpSucceeded:p(ar(a,104))}};var nQb=function(a){r.call(this,a)};U(nQb,r);nQb.prototype.toObject=function(){return oQb(this)};var oQb=function(a){if(null!=a)return t(a),{directionsResponse:mQb(Z(a,lQb,1))}};var Qu=function(a){r.call(this,a)};U(Qu,r);Qu.prototype.getLatitude=function(){return hj(this,1)};Qu.prototype.getLongitude=function(){return hj(this,2)};Qu.prototype.toObject=function(){return pQb(this)};var pQb=function(a){if(null!=a)return t(a),{latitude:hj(a,1),longitude:hj(a,2)}};var qQb=function(a){r.call(this,a)};U(qQb,r);f=qQb.prototype;f.getId=function(){return V(this,1)};f.setId=function(a){return n(this,1,a)};f.getDisplayName=function(){return V(this,2)};f.setDisplayName=function(a){return n(this,2,a)};f.getLocation=function(){return Z(this,Qu,3)};f.toObject=function(){return rQb(this)};var rQb=function(a){if(null!=a)return t(a),{id:p(m(a,1)),displayName:p(m(a,2)),location:pQb(a.getLocation())}};var sQb=function(a){r.call(this,a)};U(sQb,r);sQb.repeatedFields_=[1];sQb.prototype.toObject=function(){return tQb(this)};var tQb=function(a){if(null!=a)return t(a),{placesList:Kb(aj(a,qQb,1),rQb)}};var uQb=function(a){r.call(this,a)};U(uQb,r);uQb.prototype.getContentCase=function(){return Ci(this,vQb)};var vQb=[1,2];uQb.prototype.toObject=function(){return wQb(this)};var wQb=function(a){if(null!=a)return t(a),{placeMarkerContent:tQb(Sj(a,sQb,1,vQb)),directionsContent:oQb(Sj(a,nQb,2,vQb))}};var xQb=function(a){r.call(this,a)};U(xQb,r);f=xQb.prototype;f.getContentCase=function(){return Ci(this,Ru)};f.getAnchor=function(){return V(this,1)};f.getUrl=function(){return Xs(this,4,Ru)};f.setUrl=function(a){return $n(this,4,Ru,a)};f.hasUrl=function(){return null!=po(this,4,Ru)};var Ru=[3,4,5,6,7,8,9,10];xQb.prototype.toObject=function(){return yQb(this)};
var yQb=function(a){if(null!=a)return t(a),{anchor:p(m(a,1)),llmDescription:p(m(a,2)),imageContent:wPb(Sj(a,vPb,3,Ru)),url:p(po(a,4,Ru)),iframeContent:p(po(a,5,Ru)),json:p(po(a,6,Ru)),csv:p(po(a,7,Ru)),pngBase64:p(po(a,8,Ru)),mapContent:wQb(Sj(a,uQb,9,Ru)),svgBase64:p(po(a,10,Ru))}};var zQb=function(a){r.call(this,a)};U(zQb,r);zQb.prototype.addItems=function(a,b){return jo(this,1,xQb,a,b)};zQb.repeatedFields_=[1];zQb.prototype.toObject=function(){return AQb(this)};var AQb=function(a){if(null!=a)return t(a),{itemsList:Kb(aj(a,xQb,1),yQb)}};var BQb=function(a){r.call(this,a)};U(BQb,r);f=BQb.prototype;f.getMessageId=function(){return V(this,1)};f.getSubject=function(){return V(this,2)};f.getDate=function(){return V(this,4)};f.setDate=function(a){return n(this,4,a)};f.hasBody=function(){return wk(this,5)};f.toObject=function(){return CQb(this)};var CQb=function(a){if(null!=a)return t(a),{messageId:p(m(a,1)),messageUrl:p(m(a,6)),subject:p(m(a,2)),sender:p(m(a,3)),date:p(m(a,4)),body:p(m(a,5))}};var Su=function(a){r.call(this,a)};U(Su,r);Su.prototype.getSubject=function(){return V(this,1)};Su.prototype.getMessagesList=function(){return aj(this,BQb,2)};Su.prototype.setMessagesList=function(a){return dj(this,2,a)};Su.repeatedFields_=[2];Su.prototype.toObject=function(){return DQb(this)};var DQb=function(a){if(null!=a)return t(a),{subject:p(m(a,1)),messagesList:Kb(a.getMessagesList(),CQb),threadId:p(m(a,3)),threadUrl:p(m(a,4))}};var EQb=function(a){r.call(this,a)};U(EQb,r);EQb.prototype.getFileName=function(){return V(this,2)};EQb.prototype.toObject=function(){return FQb(this)};var FQb=function(a){if(null!=a)return t(a),{fileId:p(m(a,1)),fileName:p(m(a,2)),fileContents:p(m(a,3)),fileUrl:p(m(a,4))}};var GQb=function(a){r.call(this,a)};U(GQb,r);f=GQb.prototype;f.getTaskId=function(){return V(this,1)};f.getDescription=function(){return V(this,2)};f.setDescription=function(a){return n(this,2,a)};f.hasDescription=function(){return wk(this,2)};f.getTitle=function(){return V(this,3)};f.setTitle=function(a){return n(this,3,a)};f.toObject=function(){return HQb(this)};var HQb=function(a){if(null!=a)return t(a),{taskId:p(m(a,1)),description:p(m(a,2)),title:p(m(a,3)),updated:p(m(a,4))}};var IQb=function(a){r.call(this,a)};U(IQb,r);IQb.prototype.getTasksList=function(){return aj(this,GQb,3)};IQb.repeatedFields_=[1,2,3];IQb.prototype.toObject=function(){return JQb(this)};var JQb=function(a){if(null!=a)return t(a),{filesList:Kb(aj(a,EQb,1),FQb),emailsList:Kb(aj(a,Su,2),DQb),tasksList:Kb(a.getTasksList(),HQb),totalCountAvailable:p(Os(a,4))}};var Wca="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");var KQb=function(a){return function(){return a}},Tu=function(){},LQb=function(a){return a},wMa=function(){var a=vMa;return function(){return!a.apply(this,arguments)}},MQb=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}},NQb=function(a,b){var c=0;return function(d){ba.clearTimeout(c);var e=arguments;c=ba.setTimeout(function(){a.apply(void 0,e)},b)}},OQb=function(a,b){var c=0,d=!1,e=[],g=function(){c=0;d&&(d=!1,h())},h=function(){c=ba.setTimeout(g,b);var l=e;e=[];a.apply(void 0,l)};
return function(l){e=arguments;c?d=!0:h()}};var PQb={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 QQb,RQb=function(){if(void 0===QQb){var a=null,b=ba.trustedTypes;if(b&&b.createPolicy){try{a=b.createPolicy("goog#html",{createHTML:vIb,createScript:vIb,createScriptURL:vIb})}catch(c){ba.console&&ba.console.error(c.message)}QQb=a}else QQb=a}return QQb};var Zb=function(a,b){this.stringConstValueWithSecurityContract__googStringSecurityPrivate_=a===SQb&&b||"";this.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_=TQb};Zb.prototype.implementsGoogStringTypedString=!0;Zb.prototype.getTypedStringValue=function(){return this.stringConstValueWithSecurityContract__googStringSecurityPrivate_};
var $b=function(a){return a instanceof Zb&&a.constructor===Zb&&a.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_===TQb?a.stringConstValueWithSecurityContract__googStringSecurityPrivate_:"type_error:Const"},Gn=function(a){return new Zb(SQb,a)},TQb={},SQb={};var Uu=function(a){this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_=a};Uu.prototype.toString=function(){return this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_+""};Uu.prototype.implementsGoogStringTypedString=!0;Uu.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_.toString()};
var vh=function(a){if(a instanceof Uu&&a.constructor===Uu)return a.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_;Qb(a);return"type_error:TrustedResourceUrl"},Fn=function(a){return Fg($b(a))},UQb={},Fg=function(a){var b=RQb();a=b?b.createScriptURL(a):a;return new Uu(a,UQb)};var Xb=function(a){this.privateDoNotAccessOrElseSafeUrlWrappedValue_=a};Xb.prototype.toString=function(){return this.privateDoNotAccessOrElseSafeUrlWrappedValue_.toString()};Xb.prototype.implementsGoogStringTypedString=!0;Xb.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeUrlWrappedValue_.toString()};
var Yb=function(a){if(a instanceof Xb&&a.constructor===Xb)return a.privateDoNotAccessOrElseSafeUrlWrappedValue_;Qb(a);return"type_error:SafeUrl"},VQb=/^data:(.*);base64,[a-z0-9+\/]+=*$/i,WQb=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i,fda=function(a){if(a instanceof Xb)return a;a="object"==typeof a&&a.implementsGoogStringTypedString?a.getTypedStringValue():String(a);WQb.test(a)?a=Ig(a):(a=String(a).replace(/(%0A|%0D)/g,""),a=a.match(VQb)?Ig(a):null);return a},XQb;
try{new URL("s://g"),XQb=!0}catch(a){XQb=!1}
var YQb=XQb,N_a=function(a){if(a instanceof Xb)return a;a="object"==typeof a&&a.implementsGoogStringTypedString?a.getTypedStringValue():String(a);a:{var b=a;if(YQb){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 Ig(a)},ZQb={},Ig=function(a){return new Xb(a,ZQb)},gda=Ig("about:invalid#zClosurez");var $Qb={},Vu=function(a){this.privateDoNotAccessOrElseSafeStyleWrappedValue_=a;this.implementsGoogStringTypedString=!0};Vu.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeStyleWrappedValue_};Vu.prototype.toString=function(){return this.privateDoNotAccessOrElseSafeStyleWrappedValue_.toString()};
var aRb=function(a){if(a instanceof Vu&&a.constructor===Vu)return a.privateDoNotAccessOrElseSafeStyleWrappedValue_;Qb(a);return"type_error:SafeStyle"},bRb=new Vu("",$Qb),ada=RegExp("^[-+,.\"'%_!#/ a-zA-Z0-9\\[\\]]+$"),$ca=RegExp("\\b(url\\([ \t\n]*)('[ -&(-\\[\\]-~]*'|\"[ !#-\\[\\]-~]*\"|[!#-&*-\\[\\]-~]*)([ \t\n]*\\))","g"),Zca=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"),bda=/\/\*/;var Wu=function(a){this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_=a;this.implementsGoogStringTypedString=!0};Wu.prototype.toString=function(){return this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_.toString()};Wu.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_};var cRb=function(a){if(a instanceof Wu&&a.constructor===Wu)return a.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_;Qb(a);return"type_error:SafeStyleSheet"};var dRb={},Cg=function(a){this.privateDoNotAccessOrElseSafeHtmlWrappedValue_=a;this.implementsGoogStringTypedString=!0};Cg.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeHtmlWrappedValue_.toString()};Cg.prototype.toString=function(){return this.privateDoNotAccessOrElseSafeHtmlWrappedValue_.toString()};
var gk=function(a){if(a instanceof Cg&&a.constructor===Cg)return a.privateDoNotAccessOrElseSafeHtmlWrappedValue_;Qb(a);return"type_error:SafeHtml"},fn=function(a){return a instanceof Cg?a:Dg(EIb("object"==typeof a&&a.implementsGoogStringTypedString?a.getTypedStringValue():String(a)))},Xu=function(a){if(a instanceof Cg)return a;a=fn(a);a=gk(a).toString().replace(/(\r\n|\r|\n)/g,"<br>");return Dg(a)},hn=function(a,b,c){var d=String(a);if(!eRb.test(d))throw Error("ca");if(d.toUpperCase()in fRb)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(!eRb.test(g))throw Error("ca");var h=b[g];if(null!=h){var l=g;var q=h;if(q instanceof Zb)q=$b(q);else if("style"==l.toLowerCase()){h=void 0;if(!va(q))throw Error("ca");if(!(q instanceof Vu)){var x="";for(h in q)if(Object.prototype.hasOwnProperty.call(q,h)){if(!/^[-_a-zA-Z0-9]+$/.test(h))throw Error("ba`"+h);var A=q[h];null!=A&&(A=Array.isArray(A)?A.map(eda).join(" "):eda(A),x+=h+":"+A+";")}q=x?new Vu(x,
$Qb):bRb}q=aRb(q)}else{if(/^on/i.test(l))throw Error("ca");if(l.toLowerCase()in gRb)if(q instanceof Uu)q=vh(q).toString();else if(q instanceof Xb)q=Yb(q);else if("string"===typeof q)q=(fda(q)||gda).getTypedStringValue();else throw Error("ca");}q.implementsGoogStringTypedString&&(q=q.getTypedStringValue());l=l+'="'+EIb(String(q))+'"';e+=" "+l}}b=d+e;null==c?c=[]:Array.isArray(c)||(c=[c]);!0===PQb[a.toLowerCase()]?b+=">":(g=jn(c),b+=">"+gk(g).toString()+"</"+a+">");return Dg(b)},hRb=function(a){var b=
fn(Yr),c=[],d=function(e){Array.isArray(e)?e.forEach(d):(e=fn(e),c.push(gk(e).toString()))};a.forEach(d);return Dg(c.join(gk(b).toString()))},jn=function(a){return hRb(Array.prototype.slice.call(arguments))},Dg=function(a){var b=RQb();a=b?b.createHTML(a):a;return new Cg(a,dRb)},eRb=/^[a-zA-Z0-9-]+$/,gRb={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0},fRb={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},Yr=
new Cg(ba.trustedTypes&&ba.trustedTypes.emptyHTML||"",dRb);var iRb=MQb(function(){var a=document.createElement("div"),b=document.createElement("div");b.appendChild(document.createElement("div"));a.appendChild(b);b=a.firstChild.firstChild;a.innerHTML=gk(Yr);return!b.parentElement}),uMa=function(a,b){if(iRb())for(;a.lastChild;)a.removeChild(a.lastChild);a.innerHTML=gk(b)},jRb=function(a,b){b=b instanceof Xb?b:N_a(b);a.action=Yb(b)},lRb=function(a,b){var c=kRb(a.ownerDocument&&a.ownerDocument.defaultView);c&&a.setAttribute("nonce",c);a.src=vh(b)},O_a=function(a,
b,c,d){a=a instanceof Xb?a:N_a(a);b=b||ba;c=c instanceof Zb?$b(c):c||"";return void 0!==d?b.open(Yb(a),c,d):b.open(Yb(a),c)},mRb=/^[\w+/_-]+[=]{0,2}$/,kRb=function(a){a=(a||ba).document;return a.querySelector?(a=a.querySelector("script[nonce]"))&&(a=a.nonce||a.getAttribute("nonce"))&&mRb.test(a)?a:"":""};var nRb=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")},oRb=function(a){return a.replace(/[\s\xa0]+/g," ").replace(/^\s+|\s+$/g,"")},gp=function(a){return a=EIb(a)},pRb=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},Ceb=function(a,b,c){return a.replace(new RegExp(gn(b),"g"),c.replace(/\$/g,
"$$$$"))},gn=function(a){return String(a).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")},qRb=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)},Yu=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+qRb("0",Math.max(0,b-c))+a},Ak=function(a){return null==a?"":String(a)},rRb=function(){return Math.floor(2147483648*
Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^Date.now()).toString(36)},Wh=function(a){var b=Number(a);return 0==b&&Bk(a)?NaN:b},Zh=function(a){return a.replace(RegExp("(^|[\\s]+)([a-z])","g"),function(b,c,d){return c+d.toUpperCase()})},Rh=function(a){isFinite(a)&&(a=String(a));return"string"===typeof a?/^\s*-?0x/i.test(a)?parseInt(a,16):parseInt(a,10):NaN},sRb=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,Ka){q&&q.measure&&q.measure(wa,Ka)}function d(wa){return x+wa}function e(wa){Ba||a[X]&&(Ba=a[X].resolve(0));if(Ba){var Ka=Ba[ka];Ka||(Ka=Ba.then);Ka.call(Ba,wa)}else a[Y](wa,0)}function g(wa){0===Ya&&0===ma.length&&e(h);wa&&ma.push(wa)}function h(){if(!za){for(za=!0;ma.length;){var wa=ma;ma=[];for(var Ka=0;Ka<wa.length;Ka++){var Na=wa[Ka];try{Na.zone.runTask(Na,null,null)}catch(fb){Ua.onUnhandledError(fb)}}}Ua.microtaskDrainDone();za=
!1}}function l(){}var q=a.performance;b("Zone");var x=a.__Zone_symbol_prefix||"__zone_symbol__",A=!0===a[d("forceDuplicateZoneCheck")];if(a.Zone){if(A||"function"!==typeof a.Zone.__symbol__)throw Error("da");return a.Zone}var B=function(wa,Ka){this._parent=wa;this._name=Ka?Ka.name||"unnamed":"<root>";this._properties=Ka&&Ka.properties||{};this._zoneDelegate=new N(this,this._parent&&this._parent._zoneDelegate,Ka)};B.assertZonePatched=function(){if(a.Promise!==Sa.ZoneAwarePromise)throw Error("ea");
};B.__load_patch=function(wa,Ka,Na){Na=void 0===Na?!1:Na;if(Sa.hasOwnProperty(wa)){if(!Na&&A)throw Error("fa`"+wa);}else a["__Zone_disable_"+wa]||(Na="Zone:"+wa,b(Na),Sa[wa]=Ka(a,B,Ua),c(Na,Na))};B.prototype.get=function(wa){var Ka=this.getZoneWith(wa);if(Ka)return Ka._properties[wa]};B.prototype.getZoneWith=function(wa){for(var Ka=this;Ka;){if(Ka._properties.hasOwnProperty(wa))return Ka;Ka=Ka._parent}return null};B.prototype.fork=function(wa){if(!wa)throw Error("ga");return this._zoneDelegate.fork(this,
wa)};B.prototype.wrap=function(wa,Ka){if("function"!==typeof wa)throw Error("ha`"+wa);var Na=this._zoneDelegate.intercept(this,wa,Ka),fb=this;return function(){return fb.runGuarded(Na,this,arguments,Ka)}};B.prototype.run=function(wa,Ka,Na,fb){Lb={parent:Lb,zone:this};try{return this._zoneDelegate.invoke(this,wa,Ka,Na,fb)}finally{Lb=Lb.parent}};B.prototype.runGuarded=function(wa,Ka,Na,fb){Lb={parent:Lb,zone:this};try{try{return this._zoneDelegate.invoke(this,wa,void 0===Ka?null:Ka,Na,fb)}catch(bb){if(this._zoneDelegate.handleError(this,
bb))throw bb;}}finally{Lb=Lb.parent}};B.prototype.runTask=function(wa,Ka,Na){if(wa.zone!=this)throw Error("ia`"+(wa.zone||Ma).name+"`"+this.name);if("notScheduled"!==wa.state||"eventTask"!==wa.type&&"macroTask"!==wa.type){var fb="running"!=wa.state;fb&&wa._transitionTo("running","scheduled");wa.runCount++;var bb=qb;qb=wa;Lb={parent:Lb,zone:this};try{"macroTask"==wa.type&&wa.data&&!wa.data.isPeriodic&&(wa.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,wa,Ka,Na)}catch(Tc){if(this._zoneDelegate.handleError(this,
Tc))throw Tc;}}finally{"notScheduled"!==wa.state&&"unknown"!==wa.state&&("eventTask"==wa.type||wa.data&&wa.data.isPeriodic?fb&&wa._transitionTo("scheduled","running"):(wa.runCount=0,this._updateTaskCount(wa,-1),fb&&wa._transitionTo("notScheduled","running","notScheduled"))),Lb=Lb.parent,qb=bb}}};B.prototype.scheduleTask=function(wa){if(wa.zone&&wa.zone!==this)for(var Ka=this;Ka;){if(Ka===wa.zone)throw Error("ja`"+this.name+"`"+wa.zone.name);Ka=Ka.parent}wa._transitionTo("scheduling","notScheduled");
Ka=[];wa._zoneDelegates=Ka;wa._zone=this;try{wa=this._zoneDelegate.scheduleTask(this,wa)}catch(Na){throw wa._transitionTo("unknown","scheduling","notScheduled"),this._zoneDelegate.handleError(this,Na),Na;}wa._zoneDelegates===Ka&&this._updateTaskCount(wa,1);"scheduling"==wa.state&&wa._transitionTo("scheduled","scheduling");return wa};B.prototype.scheduleMicroTask=function(wa,Ka,Na,fb){return this.scheduleTask(new P("microTask",wa,Ka,Na,fb,void 0))};B.prototype.scheduleMacroTask=function(wa,Ka,Na,fb,
bb){return this.scheduleTask(new P("macroTask",wa,Ka,Na,fb,bb))};B.prototype.scheduleEventTask=function(wa,Ka,Na,fb,bb){return this.scheduleTask(new P("eventTask",wa,Ka,Na,fb,bb))};B.prototype.cancelTask=function(wa){if(wa.zone!=this)throw Error("ka`"+(wa.zone||Ma).name+"`"+this.name);if("scheduled"===wa.state||"running"===wa.state){wa._transitionTo("canceling","scheduled","running");try{this._zoneDelegate.cancelTask(this,wa)}catch(Ka){throw wa._transitionTo("unknown","canceling"),this._zoneDelegate.handleError(this,
Ka),Ka;}this._updateTaskCount(wa,-1);wa._transitionTo("notScheduled","canceling");wa.runCount=0;return wa}};B.prototype._updateTaskCount=function(wa,Ka){var Na=wa._zoneDelegates;-1==Ka&&(wa._zoneDelegates=null);for(var fb=0;fb<Na.length;fb++)Na[fb]._updateTaskCount(wa.type,Ka)};hh.Object.defineProperties(B.prototype,{parent:{configurable:!0,enumerable:!0,get:function(){return this._parent}},name:{configurable:!0,enumerable:!0,get:function(){return this._name}}});hh.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 Lb.zone}},currentTask:{configurable:!0,enumerable:!0,get:function(){return qb}}});B.__symbol__=d;var K={name:"",onHasTask:function(wa,Ka,Na,fb){return wa.hasTask(Na,fb)},onScheduleTask:function(wa,Ka,Na,fb){return wa.scheduleTask(Na,fb)},onInvokeTask:function(wa,Ka,Na,fb,bb,Tc){return wa.invokeTask(Na,fb,bb,Tc)},onCancelTask:function(wa,Ka,Na,fb){return wa.cancelTask(Na,
fb)}},N=function(wa,Ka,Na){this._taskCounts={microTask:0,macroTask:0,eventTask:0};this.zone=wa;this._parentDelegate=Ka;this._forkZS=Na&&(Na&&Na.onFork?Na:Ka._forkZS);this._forkDlgt=Na&&(Na.onFork?Ka:Ka._forkDlgt);this._forkCurrZone=Na&&(Na.onFork?this.zone:Ka._forkCurrZone);this._interceptZS=Na&&(Na.onIntercept?Na:Ka._interceptZS);this._interceptDlgt=Na&&(Na.onIntercept?Ka:Ka._interceptDlgt);this._interceptCurrZone=Na&&(Na.onIntercept?this.zone:Ka._interceptCurrZone);this._invokeZS=Na&&(Na.onInvoke?
Na:Ka._invokeZS);this._invokeDlgt=Na&&(Na.onInvoke?Ka:Ka._invokeDlgt);this._invokeCurrZone=Na&&(Na.onInvoke?this.zone:Ka._invokeCurrZone);this._handleErrorZS=Na&&(Na.onHandleError?Na:Ka._handleErrorZS);this._handleErrorDlgt=Na&&(Na.onHandleError?Ka:Ka._handleErrorDlgt);this._handleErrorCurrZone=Na&&(Na.onHandleError?this.zone:Ka._handleErrorCurrZone);this._scheduleTaskZS=Na&&(Na.onScheduleTask?Na:Ka._scheduleTaskZS);this._scheduleTaskDlgt=Na&&(Na.onScheduleTask?Ka:Ka._scheduleTaskDlgt);this._scheduleTaskCurrZone=
Na&&(Na.onScheduleTask?this.zone:Ka._scheduleTaskCurrZone);this._invokeTaskZS=Na&&(Na.onInvokeTask?Na:Ka._invokeTaskZS);this._invokeTaskDlgt=Na&&(Na.onInvokeTask?Ka:Ka._invokeTaskDlgt);this._invokeTaskCurrZone=Na&&(Na.onInvokeTask?this.zone:Ka._invokeTaskCurrZone);this._cancelTaskZS=Na&&(Na.onCancelTask?Na:Ka._cancelTaskZS);this._cancelTaskDlgt=Na&&(Na.onCancelTask?Ka:Ka._cancelTaskDlgt);this._cancelTaskCurrZone=Na&&(Na.onCancelTask?this.zone:Ka._cancelTaskCurrZone);this._hasTaskCurrZone=this._hasTaskDlgtOwner=
this._hasTaskDlgt=this._hasTaskZS=null;var fb=Na&&Na.onHasTask,bb=Ka&&Ka._hasTaskZS;if(fb||bb)this._hasTaskZS=fb?Na:K,this._hasTaskDlgt=Ka,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=wa,Na.onScheduleTask||(this._scheduleTaskZS=K,this._scheduleTaskDlgt=Ka,this._scheduleTaskCurrZone=this.zone),Na.onInvokeTask||(this._invokeTaskZS=K,this._invokeTaskDlgt=Ka,this._invokeTaskCurrZone=this.zone),Na.onCancelTask||(this._cancelTaskZS=K,this._cancelTaskDlgt=Ka,this._cancelTaskCurrZone=this.zone)};N.prototype.fork=
function(wa,Ka){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,wa,Ka):new B(wa,Ka)};N.prototype.intercept=function(wa,Ka,Na){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,wa,Ka,Na):Ka};N.prototype.invoke=function(wa,Ka,Na,fb,bb){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,wa,Ka,Na,fb,bb):Ka.apply(Na,fb)};N.prototype.handleError=function(wa,Ka){return this._handleErrorZS?this._handleErrorZS.onHandleError(this._handleErrorDlgt,
this._handleErrorCurrZone,wa,Ka):!0};N.prototype.scheduleTask=function(wa,Ka){var Na=Ka;if(this._scheduleTaskZS)this._hasTaskZS&&Na._zoneDelegates.push(this._hasTaskDlgtOwner),(Na=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,wa,Ka))||(Na=Ka);else if(Ka.scheduleFn)Ka.scheduleFn(Ka);else if("microTask"==Ka.type)g(Ka);else throw Error("la");return Na};N.prototype.invokeTask=function(wa,Ka,Na,fb){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,
this._invokeTaskCurrZone,wa,Ka,Na,fb):Ka.callback.apply(Na,fb)};N.prototype.cancelTask=function(wa,Ka){if(this._cancelTaskZS)wa=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,wa,Ka);else{if(!Ka.cancelFn)throw Error("ma");wa=Ka.cancelFn(Ka)}return wa};N.prototype.hasTask=function(wa,Ka){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,wa,Ka)}catch(Na){this.handleError(wa,Na)}};N.prototype._updateTaskCount=function(wa,Ka){var Na=this._taskCounts,
fb=Na[wa];Ka=Na[wa]=fb+Ka;if(0>Ka)throw Error("na");0!=fb&&0!=Ka||this.hasTask(this.zone,{microTask:0<Na.microTask,macroTask:0<Na.macroTask,eventTask:0<Na.eventTask,change:wa})};var P=function(wa,Ka,Na,fb,bb,Tc){this._zone=null;this.runCount=0;this._zoneDelegates=null;this._state="notScheduled";this.type=wa;this.source=Ka;this.data=fb;this.scheduleFn=bb;this.cancelFn=Tc;if(!Na)throw Error("oa");this.callback=Na;var hb=this;this.invoke="eventTask"===wa&&fb&&fb.useG?P.invokeTask:function(){return P.invokeTask.call(a,
hb,this,arguments)}};P.invokeTask=function(wa,Ka,Na){wa||(wa=this);Ya++;try{return wa.runCount++,wa.zone.runTask(wa,Ka,Na)}finally{1==Ya&&h(),Ya--}};P.prototype._transitionTo=function(wa,Ka,Na){if(this._state===Ka||this._state===Na)this._state=wa,"notScheduled"==wa&&(this._zoneDelegates=null);else throw Error("pa`"+this.type+"`"+this.source+"`"+wa+"`"+Ka+"`"+(Na?" or '"+Na+"'":"")+"`"+this._state);};P.prototype.toString=function(){return this.data&&"undefined"!==typeof this.data.handleId?this.data.handleId.toString():
Object.prototype.toString.call(this)};P.prototype.toJSON=function(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}};hh.Object.defineProperties(P.prototype,{zone:{configurable:!0,enumerable:!0,get:function(){return this._zone}},state:{configurable:!0,enumerable:!0,get:function(){return this._state}}});var Y=d("setTimeout"),X=d("Promise"),ka=d("then"),ma=[],za=!1,Ba,Ma={name:"NO ZONE"},Sa={},Ua={symbol:d,currentZoneFrame:function(){return Lb},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},Lb={parent:null,zone:new B(null,null)},qb=null,Ya=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(ma){for(var za={zoneName:ma.zone.name},Ba=za;ma.parent;){ma=ma.parent;var Ma={zoneName:ma.zone.name};za=za.parent=Ma}return Ba}function e(ma,za,Ba){Ba=void 0===Ba?!0:Ba;ma=ma.split("\n");for(var Ma=0;ma[Ma]!==x&&ma[Ma]!==A&&ma[Ma]!==B&&ma[Ma]!==K&&ma[Ma]!==N&&Ma<ma.length;)Ma++;for(;Ma<ma.length&&za;Ma++){var Sa=ma[Ma];if(Sa.trim())switch(q[Sa]){case 0:ma.splice(Ma,1);Ma--;break;case 1:za.parent?za=za.parent:za=null;ma.splice(Ma,1);Ma--;break;default:ma[Ma]+=
Ba?" ["+za.zone.name+"]":" ["+za.zoneName+"]"}}return ma.join("\n")}function g(){var ma=this,za=l.apply(this,arguments),Ba=za.originalStack=za.stack;if(g.stackRewrite&&Ba){var Ma=c.currentZoneFrame();if("lazy"===P)za[c.symbol("zoneFrameNames")]=d(Ma);else if("default"===P)try{za.stack=za.zoneAwareStack=e(Ba,Ma)}catch(Sa){}}return this instanceof l&&this.constructor!=l?(Object.keys(za).concat("stack","message").forEach(function(Sa){var Ua=za[Sa];if(void 0!==Ua)try{ma[Sa]=Ua}catch(Lb){}}),this):za}
var h=c.symbol("zoneJsInternalStackFrames"),l=a[c.symbol("Error")]=a.Error,q={},x,A,B,K,N;a.Error=g;var P=a.__Zone_Error_BlacklistedStackFrames_policy||a.__Zone_Error_ZoneJsInternalStackFrames_policy||"default";g.prototype=l.prototype;g[h]=q;g.stackRewrite=!1;var Y=c.symbol("zoneAwareStack");"lazy"===P&&Object.defineProperty(g.prototype,"zoneAwareStack",{configurable:!0,enumerable:!0,get:function(){this[Y]||(this[Y]=e(this.originalStack,this[c.symbol("zoneFrameNames")],!1));return this[Y]},set:function(ma){this.originalStack=
ma;this[Y]=e(this.originalStack,this[c.symbol("zoneFrameNames")],!1)}});var X=["stackTraceLimit","captureStackTrace","prepareStackTrace"];(a=Object.keys(l))&&a.forEach(function(ma){0===X.filter(function(za){return za===ma}).length&&Object.defineProperty(g,ma,{get:function(){return l[ma]},set:function(za){l[ma]=za}})});l.hasOwnProperty("stackTraceLimit")&&(l.stackTraceLimit=Math.max(l.stackTraceLimit,15),Object.defineProperty(g,"stackTraceLimit",{get:function(){return l.stackTraceLimit},set:function(ma){return l.stackTraceLimit=
ma}}));l.hasOwnProperty("captureStackTrace")&&Object.defineProperty(g,"captureStackTrace",{value:function(ma,za){l.captureStackTrace(ma,za)}});Object.defineProperty(g,"prepareStackTrace",{get:function(){return l.prepareStackTrace},set:function(ma){return ma&&"function"===typeof ma?l.prepareStackTrace=function(za,Ba){if(Ba)for(var Ma=0;Ma<Ba.length;Ma++)if("zoneCaptureStackTrace"===Ba[Ma].getFunctionName()){Ba.splice(Ma,1);break}return ma.call(this,za,Ba)}:l.prepareStackTrace=ma}});if("disable"!==
P){var ka=b.current.fork({name:"detect",onHandleError:function(ma,za,Ba,Ma){if(Ma.originalStack&&Error===g)for(ma=Ma.originalStack.split(/\n/),Ma=Ba=za=!1;ma.length;){var Sa=ma.shift();if(/:\d+:\d+/.test(Sa)||"ZoneAwareError"===Sa){var Ua=Sa.split("(")[0].split("@")[0],Lb=1;-1!==Ua.indexOf("ZoneAwareError")&&(-1!==Ua.indexOf("new ZoneAwareError")?(x=Sa,A=Sa.replace("new ZoneAwareError","new Error.ZoneAwareError")):(B=Sa,K=Sa.replace("Error.",""),-1===Sa.indexOf("Error.ZoneAwareError")&&(N=Sa.replace("ZoneAwareError",
"Error.ZoneAwareError"))),q[A]=0);-1!==Ua.indexOf("runGuarded")?Ba=!0:-1!==Ua.indexOf("runTask")?Ma=!0:-1!==Ua.indexOf("run")?za=!0:Lb=0;q[Sa]=Lb;if(za&&Ba&&Ma){g.stackRewrite=!0;break}}}return!1}}).fork({name:"child",onScheduleTask:function(ma,za,Ba,Ma){return ma.scheduleTask(Ba,Ma)},onInvokeTask:function(ma,za,Ba,Ma,Sa,Ua){return ma.invokeTask(Ba,Ma,Sa,Ua)},onCancelTask:function(ma,za,Ba,Ma){return ma.cancelTask(Ba,Ma)},onInvoke:function(ma,za,Ba,Ma,Sa,Ua,Lb){return ma.invoke(Ba,Ma,Sa,Ua,Lb)}});
b=Error.stackTraceLimit;Error.stackTraceLimit=100;ka.run(function(){ka.runGuarded(function(){var ma=function(){};ka.scheduleEventTask(h,function(){ka.scheduleMacroTask(h,function(){ka.scheduleMicroTask(h,function(){throw Error();},void 0,function(za){za._transitionTo=ma;za.invoke()});ka.scheduleMicroTask(h,function(){throw Error();},void 0,function(za){za._transitionTo=ma;za.invoke()})},void 0,function(za){za._transitionTo=ma;za.invoke()},function(){})},void 0,function(za){za._transitionTo=ma;za.invoke()},
function(){})})});Error.stackTraceLimit=b}});var ac=Object.getOwnPropertyDescriptor,nda=Object.defineProperty,qda=Object.getPrototypeOf,tRb=Object.create,uRb=Array.prototype.slice,vRb=Zone.__symbol__("addEventListener"),wRb=Zone.__symbol__("removeEventListener"),kc=Zone.__symbol__(""),cc=Zone.__symbol__,xRb="undefined"!==typeof window,ic=xRb?window:void 0,dc=xRb&&ic||"object"===typeof self&&self||global,yRb="undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,xda=!("nw"in dc)&&"undefined"!==typeof dc.process&&"[object process]"===
{}.toString.call(dc.process),zRb=!xda&&!yRb&&!(!xRb||!ic.HTMLElement),ARb="undefined"!==typeof dc.process&&"[object process]"==={}.toString.call(dc.process)&&!yRb&&!(!xRb||!ic.HTMLElement),lda={},mda=function(a){if(a=a||dc.event){var b=lda[a.type];b||(b=lda[a.type]=cc("ON_PROPERTY"+a.type));var c=this||a.target||dc;b=c[b];zRb&&c===ic&&"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"),sda=!1,tda=!1;var mc=!1;if("undefined"!==typeof window)try{var BRb=Object.defineProperty({},"passive",{get:function(){mc=!0}});window.addEventListener("test",BRb,BRb);window.removeEventListener("test",BRb,BRb)}catch(a){mc=!1}var zda={useG:!0},lc={},yda={},Bda=new RegExp("^"+kc+"(\\w+)(true|false)$"),wda=cc("propagationStopped");Zone.__load_patch("ZoneAwarePromise",function(a,b,c){function d(hb){if(hb&&hb.toString===Object.prototype.toString){var yb=hb.constructor&&hb.constructor.name;return(yb?yb:"")+": "+JSON.stringify(hb)}return hb?hb.toString():Object.prototype.toString.call(hb)}function e(hb){c.onUnhandledError(hb);try{var yb=b[Ba];"function"===typeof yb&&yb.call(this,hb)}catch($a){}}function g(hb){return hb}function h(hb){return bb.reject(hb)}function l(hb,yb){return function($a){try{q(hb,yb,$a)}catch(Fb){q(hb,!1,Fb)}}}
function q(hb,yb,$a){var Fb=Ya();if(hb===$a)throw new TypeError("ra");if(null===hb[Ma]){var jb=null;try{if("object"===typeof $a||"function"===typeof $a)jb=$a&&$a.then}catch(Mb){return Fb(function(){q(hb,!1,Mb)})(),hb}if(!1!==yb&&$a instanceof bb&&$a.hasOwnProperty(Ma)&&$a.hasOwnProperty(Sa)&&null!==$a[Ma])x($a),q(hb,$a[Ma],$a[Sa]);else if(!1!==yb&&"function"===typeof jb)try{jb.call($a,Fb(l(hb,yb)),Fb(l(hb,!1)))}catch(Mb){Fb(function(){q(hb,!1,Mb)})()}else{hb[Ma]=yb;Fb=hb[Sa];hb[Sa]=$a;hb[Ua]===Ua&&
!0===yb&&(hb[Ma]=hb[qb],hb[Sa]=hb[Lb]);!1===yb&&$a instanceof Error&&(jb=b.currentTask&&b.currentTask.data&&b.currentTask.data.__creationTrace__)&&P($a,wa,{configurable:!0,enumerable:!1,writable:!0,value:jb});for(jb=0;jb<Fb.length;)A(hb,Fb[jb++],Fb[jb++],Fb[jb++],Fb[jb++]);if(0==Fb.length&&0==yb){hb[Ma]=0;yb=$a;try{throw Error("sa`"+d($a)+"`"+($a&&$a.stack?"\n"+$a.stack:""));}catch(Mb){yb=Mb}ka&&(yb.throwOriginal=!0);yb.rejection=$a;yb.promise=hb;yb.zone=b.current;yb.task=b.currentTask;X.push(yb);
c.scheduleMicroTask()}}}return hb}function x(hb){if(0===hb[Ma]){try{var yb=b[Ka];yb&&"function"===typeof yb&&yb.call(this,{rejection:hb[Sa],promise:hb})}catch($a){}hb[Ma]=!1;for(yb=0;yb<X.length;yb++)hb===X[yb].promise&&X.splice(yb,1)}}function A(hb,yb,$a,Fb,jb){x(hb);var Mb=hb[Ma],jc=Mb?"function"===typeof Fb?Fb:g:"function"===typeof jb?jb:h;yb.scheduleMicroTask("Promise.then",function(){try{var Dc=hb[Sa],Uc=!!$a&&Ua===$a[Ua];Uc&&($a[Lb]=Dc,$a[qb]=Mb);var ff=yb.run(jc,void 0,Uc&&jc!==h&&jc!==g?[]:
[Dc]);q($a,!0,ff)}catch(Fd){q($a,!1,Fd)}},$a)}function B(hb){var yb=hb.prototype,$a=N(yb,"then");if(!$a||!1!==$a.writable&&$a.configurable){var Fb=yb.then;yb[za]=Fb;hb.prototype.then=function(jb,Mb){var jc=this;return(new bb(function(Dc,Uc){Fb.call(jc,Dc,Uc)})).then(jb,Mb)};hb[Tc]=!0}}function K(hb){return function(yb,$a){yb=hb.apply(yb,$a);if(yb instanceof bb)return yb;$a=yb.constructor;$a[Tc]||B($a);return yb}}var N=Object.getOwnPropertyDescriptor,P=Object.defineProperty,Y=c.symbol,X=[],ka=!0===
a[Y("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],ma=Y("Promise"),za=Y("then");c.onUnhandledError=function(hb){if(c.showUncaughtError()){var yb=hb&&hb.rejection;yb?console.error("Unhandled Promise rejection:",yb instanceof Error?yb.message:yb,"; Zone:",hb.zone.name,"; Task:",hb.task&&hb.task.source,"; Value:",yb,yb instanceof Error?yb.stack:void 0):console.error(hb)}};c.microtaskDrainDone=function(){for(var hb={};X.length;){hb.$jscomp$loop$prop$uncaughtPromiseError$2253=X.shift();try{hb.$jscomp$loop$prop$uncaughtPromiseError$2253.zone.runGuarded(function(yb){return function(){if(yb.$jscomp$loop$prop$uncaughtPromiseError$2253.throwOriginal)throw yb.$jscomp$loop$prop$uncaughtPromiseError$2253.rejection;
throw yb.$jscomp$loop$prop$uncaughtPromiseError$2253;}}(hb))}catch(yb){e(yb)}hb={$jscomp$loop$prop$uncaughtPromiseError$2253:hb.$jscomp$loop$prop$uncaughtPromiseError$2253}}};var Ba=Y("unhandledPromiseRejectionHandler"),Ma=Y("state"),Sa=Y("value"),Ua=Y("finally"),Lb=Y("parentPromiseValue"),qb=Y("parentPromiseState"),Ya=function(){var hb=!1;return function(yb){return function(){hb||(hb=!0,yb.apply(null,arguments))}}},wa=Y("currentTaskTrace"),Ka=Y("rejectionHandledHandler"),Na=function(){},fb=a.AggregateError,
bb=function(hb){if(!(this instanceof bb))throw Error("ta");this[Ma]=null;this[Sa]=[];try{var yb=Ya();hb&&hb(yb(l(this,!0)),yb(l(this,!1)))}catch($a){q(this,!1,$a)}};bb.toString=function(){return"function ZoneAwarePromise() { [native code] }"};bb.resolve=function(hb){return q(new this(null),!0,hb)};bb.reject=function(hb){return q(new this(null),!1,hb)};bb.any=function(hb){if(!hb||"function"!==typeof hb[Symbol.iterator])return Promise.reject(new fb([],"All promises were rejected"));var yb=[],$a=0;try{for(var Fb=
k(hb),jb=Fb.next();!jb.done;jb=Fb.next()){var Mb=jb.value;$a++;yb.push(bb.resolve(Mb))}}catch(Uc){return Promise.reject(new fb([],"All promises were rejected"))}if(0===$a)return Promise.reject(new fb([],"All promises were rejected"));var jc=!1,Dc=[];return new bb(function(Uc,ff){for(var Fd=0;Fd<yb.length;Fd++)yb[Fd].then(function(oe){jc||(jc=!0,Uc(oe))},function(oe){Dc.push(oe);$a--;0===$a&&(jc=!0,ff(new fb(Dc,"All promises were rejected")))})})};bb.race=function(hb){function yb(Dc){Fb(Dc)}function $a(Dc){jb(Dc)}
var Fb,jb,Mb=new this(function(Dc,Uc){Fb=Dc;jb=Uc});hb=k(hb);for(var jc=hb.next();!jc.done;jc=hb.next())(jc=jc.value)&&jc.then||(jc=this.resolve(jc)),jc.then(yb,$a);return Mb};bb.all=function(hb){return bb.allWithCallback(hb)};bb.allSettled=function(hb){return(this&&this.prototype instanceof bb?this:bb).allWithCallback(hb,{thenCallback:function(yb){return{status:"fulfilled",value:yb}},errorCallback:function(yb){return{status:"rejected",reason:yb}}})};bb.allWithCallback=function(hb,yb){var $a,Fb,jb=
new this(function(Fd,oe){$a=Fd;Fb=oe}),Mb=2,jc=0,Dc=[],Uc={};hb=k(hb);for(var ff=hb.next();!ff.done;Uc={$jscomp$loop$prop$curValueIndex$2256:Uc.$jscomp$loop$prop$curValueIndex$2256},ff=hb.next()){(ff=ff.value)&&ff.then||(ff=this.resolve(ff));Uc.$jscomp$loop$prop$curValueIndex$2256=jc;try{ff.then(function(Fd){return function(oe){Dc[Fd.$jscomp$loop$prop$curValueIndex$2256]=yb?yb.thenCallback(oe):oe;Mb--;0===Mb&&$a(Dc)}}(Uc),function(Fd){return function(oe){yb?(Dc[Fd.$jscomp$loop$prop$curValueIndex$2256]=
yb.errorCallback(oe),Mb--,0===Mb&&$a(Dc)):Fb(oe)}}(Uc))}catch(Fd){Fb(Fd)}Mb++;jc++}Mb-=2;0===Mb&&$a(Dc);return jb};hh.Object.defineProperty(bb.prototype,Symbol.toStringTag,{configurable:!0,enumerable:!0,get:function(){return"Promise"}});hh.Object.defineProperty(bb.prototype,Symbol.species,{configurable:!0,enumerable:!0,get:function(){return bb}});bb.prototype.then=function(hb,yb){var $a,Fb=null==($a=this.constructor)?void 0:$a[Symbol.species];Fb&&"function"===typeof Fb||(Fb=this.constructor||bb);
$a=new Fb(Na);Fb=b.current;null==this[Ma]?this[Sa].push(Fb,$a,hb,yb):A(this,Fb,$a,hb,yb);return $a};bb.prototype.catch=function(hb){return this.then(null,hb)};bb.prototype.finally=function(hb){var yb,$a=null==(yb=this.constructor)?void 0:yb[Symbol.species];$a&&"function"===typeof $a||($a=bb);yb=new $a(Na);yb[Ua]=Ua;$a=b.current;null==this[Ma]?this[Sa].push($a,yb,hb,hb):A(this,$a,yb,hb,hb);return yb};bb.resolve=bb.resolve;bb.reject=bb.reject;bb.race=bb.race;bb.all=bb.all;ma=a[ma]=a.Promise;a.Promise=
bb;var Tc=Y("thenPatched");c.patchThen=B;ma&&(B(ma),hc(a,"fetch",function(hb){return K(hb)}));Promise[b.__symbol__("uncaughtPromiseErrors")]=X;return bb});var Fda=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=Ida(a);c.patchOnProperties=pda;c.patchMethod=hc;c.bindArguments=ida;c.patchMacroTask=rda;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=Dda;c.patchEventTarget=Cda;c.isIEOrEdge=uda;c.ObjectDefineProperty=nda;c.ObjectGetOwnPropertyDescriptor=ac;c.ObjectCreate=tRb;c.ArraySlice=uRb;c.patchClass=fc;c.wrapWithCurrentZone=hda;c.filterProperties=Hda;c.attachOriginToPatched=
bc;c._redefineProperty=Object.defineProperty;c.patchCallbacks=Gda;c.getGlobalObjects=function(){return{globalSources:yda,zoneSymbolEventNames:lc,eventNames:d,isBrowser:zRb,isMix:ARb,isNode:xda,TRUE_STR:"true",FALSE_STR:"false",ZONE_SYMBOL_PREFIX:kc,ADD_EVENT_LISTENER_STR:"addEventListener",REMOVE_EVENT_LISTENER_STR:"removeEventListener"}}});var Jda,Kda,Lda,Mda,oc;var Uda=[].concat(Vc("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(" ")),
Vc(["webglcontextrestored","webglcontextlost","webglcontextcreationerror"]),Vc(["autocomplete","autocompleteerror"]),Vc(["toggle"]),Vc("afterscriptexecute beforescriptexecute DOMContentLoaded freeze fullscreenchange mozfullscreenchange webkitfullscreenchange msfullscreenchange fullscreenerror mozfullscreenerror webkitfullscreenerror msfullscreenerror readystatechange visibilitychange resume".split(" ")),Vc("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(" ")),
Vc("beforecopy beforecut beforepaste copy cut paste dragstart loadend animationstart search transitionrun transitionstart webkitanimationend webkitanimationiteration webkitanimationstart webkittransitionend".split(" ")),Vc("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=Qda;Pda()});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){Rda(c,e);d=e.getGlobalObjects();var g=d.isMix;d.isNode&&!g||Tda(e,c)||(d="undefined"!==typeof WebSocket,Vda(e),e.patchClass("XMLHttpRequest"),d&&Sda(e,c),Zone[e.symbol("patchEvents")]=!0)})}})("undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{});Zone.__load_patch("legacy",function(a){(a=a[Zone.__symbol__("legacyPatch")])&&a()});Zone.__load_patch("timers",function(a){nc(a,"set","clear","Timeout");nc(a,"set","clear","Interval");nc(a,"set","clear","Immediate")});Zone.__load_patch("requestAnimationFrame",function(a){nc(a,"request","cancel","AnimationFrame");nc(a,"mozRequest","mozCancel","AnimationFrame");nc(a,"webkitRequest","webkitCancel","AnimationFrame")});
Zone.__load_patch("blocking",function(a,b){for(var c=["alert","prompt","confirm"],d=0;d<c.length;d++)hc(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],x=d+(q+h),A=d+(q+g);e[q]={};e[q][h]=x;e[q][g]=A}(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(){fc("MutationObserver");fc("WebKitMutationObserver")});Zone.__load_patch("IntersectionObserver",function(){fc("IntersectionObserver")});Zone.__load_patch("FileReader",function(){fc("FileReader")});
Zone.__load_patch("on_property",function(a,b,c){if((!xda||ARb)&&!Zone[c.symbol("patchEvents")]){b=a.__Zone_ignore_on_properties;c=[];if(zRb){var d=window;c=c.concat("Document SVGElement Element HTMLElement HTMLBodyElement HTMLMediaElement HTMLFrameSetElement HTMLFrameElement HTMLIFrameElement HTMLMarqueeElement Worker".split(" "));a:{try{var e=ic.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=Ida(d);var h=b?b.concat(e):b;e=qda(d);d&&(g=Hda(d,g,h),pda(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=Ida(e.prototype),g&&(e=Hda(g,e,b),pda(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 x(Ba){var Ma=Ba.data,Sa=Ma.target;Sa[g]=!1;Sa[l]=!1;var Ua=Sa[e];N||(N=Sa[vRb],P=Sa[wRb]);Ua&&P.call(Sa,"readystatechange",Ua);Ua=Sa[e]=function(){if(Sa.readyState===Sa.DONE)if(!Ma.aborted&&Sa[g]&&"scheduled"===Ba.state){var Lb=Sa[b.__symbol__("loadfalse")];if(0!==Sa.status&&Lb&&0<Lb.length){var qb=Ba.invoke;Ba.invoke=function(){for(var Ya=Sa[b.__symbol__("loadfalse")],wa=0;wa<Ya.length;wa++)Ya[wa]===Ba&&Ya.splice(wa,1);Ma.aborted||"scheduled"!==
Ba.state||qb.call(Ba)};Lb.push(Ba)}else Ba.invoke()}else Ma.aborted||!1!==Sa[g]||(Sa[l]=!0)};N.call(Sa,"readystatechange",Ua);Sa[c]||(Sa[c]=Ba);ma.apply(Sa,Ma.args);Sa[g]=!0;return Ba}function A(){}function B(Ba){Ba=Ba.data;Ba.aborted=!0;return za.apply(Ba.target,Ba.args)}var K=q.XMLHttpRequest;if(K){K=K.prototype;var N=K[vRb],P=K[wRb];!N&&(q=q.XMLHttpRequestEventTarget)&&(q=q.prototype,N=q[vRb],P=q[wRb]);var Y=hc(K,"open",function(){return function(Ba,Ma){Ba[d]=0==Ma[2];Ba[h]=Ma[1];return Y.apply(Ba,
Ma)}}),X=cc("fetchTaskAborting"),ka=cc("fetchTaskScheduling"),ma=hc(K,"send",function(){return function(Ba,Ma){if(!0===b.current[ka]||Ba[d])return ma.apply(Ba,Ma);Ma={target:Ba,url:Ba[h],isPeriodic:!1,args:Ma,aborted:!1};var Sa=Zone.current.scheduleMacroTask("XMLHttpRequest.send",A,Ma,x,B);Ba&&!0===Ba[l]&&!Ma.aborted&&"scheduled"===Sa.state&&Sa.invoke()}}),za=hc(K,"abort",function(){return function(Ba,Ma){var Sa=Ba[c];if(Sa&&"string"==typeof Sa.type)null==Sa.cancelFn||Sa.data&&Sa.data.aborted||Sa.zone.cancelTask(Sa);
else if(!0===b.current[X])return za.apply(Ba,Ma)}})}})(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&&kda(a.navigator.geolocation)});
Zone.__load_patch("PromiseRejectionEvent",function(a,b){function c(d){return function(e){Ada(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("queueMicrotask",function(a,b,c){Eda(a,c)});Zone.__load_patch("canvas",function(a,b,c){a=a.HTMLCanvasElement;"undefined"!==typeof a&&a.prototype&&a.prototype.toBlob&&c.patchMacroTask(a.prototype,"toBlob",function(d,e){return{name:"HTMLCanvasElement.toBlob",target:d,cbIdx:0,args:e}})});var Xda=pc({"\u0275prov":pc}),aea=pc({"\u0275inj":pc}),Yda=pc({ngInjectableDef:pc}),bea=pc({ngInjectorDef:pc});var uc=function(a,b){b=Error.call(this,"NG0"+Math.abs(a)+(b?": "+b:""));this.message=b.message;"stack"in b&&(this.stack=b.stack);this.code=a};U(uc,Error);var fea;var iea=pc({__forward_ref__:pc});var Id="undefined"!==typeof globalThis&&globalThis||"undefined"!==typeof global&&global||"undefined"!==typeof window&&window||"undefined"!==typeof self&&"undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self;var CRb={},DRb=/\n/gm,yc=void 0;var Rc=function(a,b){this._desc=a;this.\u0275prov=void 0;"number"==typeof b?this.__NG_ELEMENT_ID__=b:void 0!==b&&(this.\u0275prov=qc({token:this,providedIn:b.providedIn||"root",factory:b.factory}))};Rc.prototype.toString=function(){return"InjectionToken "+this._desc};hh.Object.defineProperties(Rc.prototype,{multi:{configurable:!0,enumerable:!0,get:function(){return this}}});var Nea=new Rc("ENVIRONMENT_INITIALIZER");var ERb=new Rc("INJECTOR",-1);var Mea=new Rc("INJECTOR_DEF_TYPES");var Rea=function(){};Rea.prototype.get=function(a,b){b=void 0===b?CRb:b;if(b===CRb)throw a=Error("xa`"+tc(a)),a.name="NullInjectorError",a;return b};var Hc=pc({"\u0275cmp":pc}),wea=pc({"\u0275dir":pc}),Aea=pc({"\u0275pipe":pc}),FRb=pc({"\u0275mod":pc}),Cea=pc({"\u0275fac":pc}),nd=pc({__NG_ELEMENT_ID__:pc}),GRb=pc({__NG_ENV_ID__:pc});var Jc={},Fc=[];var Oea=pc({provide:String,useValue:pc});var Mja=new Rc("Set Injector scope.");var Wea={},HRb={},Qea=void 0,Zu=function(){},ud=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;Yea(a,function(g){return IRb(e,g)});this.records.set(ERb,Sc(void 0,this));d.has("environment")&&this.records.set(Zu,Sc(void 0,this));a=this.records.get(Mja);null!=a&&"string"===typeof a.value&&this.scopes.add(a.value);this.injectorDefTypes=new Set(this.get(Mea.multi,Fc,2))};U(ud,Zu);
ud.prototype.destroy=function(){JRb(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()}};
ud.prototype.onDestroy=function(a){var b=this;JRb(this);this._onDestroyHooks.push(a);return function(){var c=b._onDestroyHooks.indexOf(a);-1!==c&&b._onDestroyHooks.splice(c,1)}};ud.prototype.runInContext=function(a){JRb(this);var b=zc(this),c=vc();try{return a()}finally{zc(b),vc(c)}};
ud.prototype.get=function(a,b,c){b=void 0===b?CRb:b;c=void 0===c?0:c;JRb(this);if(a.hasOwnProperty(GRb))return a[GRb](this);c=kea(c);var d=zc(this),e=vc();try{if(!(c&4)){var g=this.records.get(a);if(void 0===g){var h=("function"===typeof a||"object"===typeof a&&a instanceof Rc)&&Zda(a),l;if(l=h)if(h.providedIn){var q=xc(h.providedIn);l="string"===typeof q?"any"===q||this.scopes.has(q):this.injectorDefTypes.has(q)}else l=!1;l?g=Sc(Uea(a),Wea):g=null;this.records.set(a,g)}if(null!=g){b=g;b.value===
Wea&&(b.value=HRb,b.value=b.factory());var x;if(x="object"===typeof b.value&&b.value){var A=b.value;x=null!==A&&"object"===typeof A&&"function"===typeof A.ngOnDestroy}x&&this._ngOnDestroyHooks.add(b.value);return b.value}}var B=c&2?Sea():this.parent;b=c&8&&b===CRb?null:b;return B.get(a,b)}catch(za){if("NullInjectorError"===za.name){(za.ngTempTokenPath=za.ngTempTokenPath||[]).unshift(tc(a));if(d)throw za;x=za;var K=this.source,N=x.ngTempTokenPath;a.__source&&N.unshift(a.__source);var P="\n"+x.message;
a=K;a=void 0===a?null:a;P=P&&"\n"===P.charAt(0)&&"\u0275"==P.charAt(1)?P.slice(2):P;var Y=tc(N);if(Array.isArray(N))Y=N.map(tc).join(" -> ");else if("object"===typeof N){K=[];for(var X in N)if(N.hasOwnProperty(X)){var ka=N[X];K.push(X+":"+("string"===typeof ka?JSON.stringify(ka):tc(ka)))}Y="{"+K.join(", ")+"}"}var ma="R3InjectorError"+(a?"("+a+")":"")+"["+Y+"]: "+P.replace(DRb,"\n  ");x.message=ma;x.ngTokenPath=N;x.ngTempTokenPath=null;throw x;}throw za;}finally{vc(e),zc(d)}};
var Jfa=function(a){var b=zc(a),c=vc();try{for(var d=a.get(Nea.multi,Fc,2),e=k(d),g=e.next();!g.done;g=e.next()){var h=g.value;h()}}finally{zc(b),vc(c)}};ud.prototype.toString=function(){for(var a=[],b=k(this.records.keys()),c=b.next();!c.done;c=b.next())a.push(tc(c.value));return"R3Injector["+a.join(", ")+"]"};
var JRb=function(a){if(a._destroyed)throw new uc(205,!1);},IRb=function(a,b){b=xc(b);var c=Qc(b)?b:xc(b&&b.provide),d=Xea(b);if(Qc(b)||!0!==b.multi)a.records.get(c);else{var e=a.records.get(c);e||(e=Sc(void 0,Wea,!0),e.factory=function(){return lea(e.multi)},a.records.set(c,e));c=b;e.multi.push(b)}a.records.set(c,d)};hh.Object.defineProperties(ud.prototype,{destroyed:{configurable:!0,enumerable:!0,get:function(){return this._destroyed}}});var KRb=Bc(Wc(function(a){return{token:a}}),-1),$u=Bc(Wc(),8);Bc(Wc(),2);var av=Bc(Wc(),4);Bc(Wc(),1);var cfa=function(a,b,c){this.previousValue=a;this.currentValue=b;this.firstChange=c};cfa.prototype.isFirstChange=function(){return this.firstChange};Zc.ngInherit=!0;var dd=jfa(null),Kga=null,uf=!0;var LRb=function(a){this.ref=a};LRb.prototype.deref=function(){return this.ref};var MRb,NRb=null!=(MRb=Id.WeakRef)?MRb:LRb;var ORb=0,mfa=null,PRb=function(){this.id=ORb++;this.ref=new NRb(this);this.producers=new Map;this.consumers=new Map;this.trackingVersion=0};hh.Object.defineProperties(PRb.prototype,{hasProducers:{configurable:!0,enumerable:!0,get:function(){return 0<this.producers.size}}});var QRb=function(){},RRb=function(a,b){PRb.call(this);var c=this;this.watch=a;this.schedule=b;this.dirty=!1;this.cleanupFn=QRb;this.registerOnCleanup=function(d){c.cleanupFn=d}};U(RRb,PRb);RRb.prototype.notify=function(){this.dirty||this.schedule(this);this.dirty=!0};
RRb.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=ld(this);this.trackingVersion++;try{this.cleanupFn(),this.cleanupFn=QRb,
this.watch(this.registerOnCleanup)}finally{ld(a)}}};RRb.prototype.cleanup=function(){this.cleanupFn()};var rd=function(a,b){var c=C;this.factory=a;this.resolving=!1;this.canSeeViewProviders=b;this.injectImpl=c};var tfa=!0,vfa=0,pd={},sd=function(a,b){this._tNode=a;this._lView=b};sd.prototype.get=function(a,b,c){return Efa(this._tNode,this._lView,a,kea(c),b)};pc({provide:String,useValue:pc});var bv=function(){},Ze=function(a){if(Array.isArray(a))return Kfa({name:""},void 0,a,"");var b,c=null!=(b=a.name)?b:"";return Kfa({name:c},a.parent,a.providers,c)},SRb=new Rea;bv.\u0275prov=qc({token:bv,providedIn:"any",factory:function(){return u(ERb)}});bv.__NG_ELEMENT_ID__=-1;var cv=function(){};var TRb=function(){},URb=function(){};var Lfa=void 0;var VRb=new Rc("AppId",{providedIn:"root",factory:function(){return"ng"}}),Gja=new Rc("Platform Initializer"),dv=new Rc("Platform ID",{providedIn:"platform",factory:function(){return"unknown"}});new Rc("Application Packages Root URL");var ev=new Rc("AnimationModuleType"),WRb=new Rc("CSP nonce",{providedIn:"root",factory:function(){var a,b;return(null==(a=Mfa().body)?void 0:null==(b=a.querySelector("[ngCspNonce]"))?void 0:b.getAttribute("ngCspNonce"))||null}});new Rc("",{providedIn:"root",factory:function(){return new Set}});var XRb=function(){},YRb=function(){};var vd=function(a){this.nativeElement=a};vd.__NG_ELEMENT_ID__=function(){return wd(ed(),v())};var ZRb=function(){},fv=function(){};fv.__NG_ELEMENT_ID__=function(){var a=v(),b=bd(ed().index,a);return(Xc(b)?b:a)[11]};var Ofa=new Map,Iga=0;var Qd=function(){this._console=console};Qd.prototype.handleError=function(a){var b=this._findOriginalError(a);this._console.error("ERROR",a);b&&this._console.error("ORIGINAL ERROR",b)};Qd.prototype._findOriginalError=function(a){for(a=a&&a.ngOriginalError;a&&a.ngOriginalError;)a=a.ngOriginalError;return a||null};new Rc("");var $Rb=new Rc("",{providedIn:"root",factory:function(){return!1}});var Ufa=/^>|^->|\x3c!--|--\x3e|--!>|<!-$/g,Vfa=/(<|>)/;var Dd=function(){PRb.apply(this,arguments);this._lView=null};U(Dd,PRb);Dd.prototype.runInContext=function(a,b,c){var d=ld(this);this.trackingVersion++;try{a(b,c)}finally{ld(d)}};Dd.prototype.destroy=function(){this.trackingVersion++};hh.Object.defineProperties(Dd.prototype,{lView:{configurable:!0,enumerable:!0,set:function(a){this._lView=a}},hasReadASignal:{configurable:!0,enumerable:!0,get:function(){return this.hasProducers}}});var Cd=null;var Od={};var Ed=function(a){this.changingThisBreaksApplicationSecurity=a};Ed.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see https://g.co/ng/security#xss)"};var aSb=function(){Ed.apply(this,arguments)};U(aSb,Ed);aSb.prototype.getTypeName=function(){return"HTML"};var bSb=function(){Ed.apply(this,arguments)};U(bSb,Ed);bSb.prototype.getTypeName=function(){return"URL"};var cSb=function(){Ed.apply(this,arguments)};U(cSb,Ed);
cSb.prototype.getTypeName=function(){return"ResourceURL"};var jga;var tga=function(a){this.inertDocumentHelper=a};tga.prototype.getInertBodyElement=function(a){a="<body><remove></remove>"+a;try{var b=(new window.DOMParser).parseFromString(lga(a),"text/html").body;if(null===b)return this.inertDocumentHelper.getInertBodyElement(a);b.removeChild(b.firstChild);return b}catch(c){return null}};var sga=function(a){this.defaultDoc=a;this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")};
sga.prototype.getInertBodyElement=function(a){var b=this.inertDocument.createElement("template");b.innerHTML=lga(a);return b};var mga=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;var dSb=Jd("area,br,col,hr,img,wbr"),eSb=Jd("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),fSb=Jd("rp,rt"),gSb=Kd(fSb,eSb),hSb=Kd(eSb,Jd("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")),iSb=Kd(fSb,Jd("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")),
vga=Kd(dSb,hSb,iSb,gSb),xga=Jd("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),jSb=Jd("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"),
kSb=Jd("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"),
wga=Kd(xga,jSb,kSb),yga=Jd("script,style,template"),uga=function(){this.buf=[]};uga.prototype.endElement=function(a){a=a.nodeName.toLowerCase();vga.hasOwnProperty(a)&&!dSb.hasOwnProperty(a)&&(this.buf.push("</"),this.buf.push(a),this.buf.push(">"))};var zga=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},oga=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,pga=/([^#-~ |!])/g,rga;var lSb={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 Bga;var gv=function(){this.all=new Set;this.queue=new Map};gv.prototype.create=function(a,b,c){var d=this,e="undefined"===typeof Zone?null:Zone.current,g=new RRb(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}};
gv.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$2263:a.$jscomp$loop$prop$watch$2263},c=b.next()){var d=k(c.value);c=d.next().value;d=d.next().value;a.$jscomp$loop$prop$watch$2263=c;c=d;this.queue.delete(a.$jscomp$loop$prop$watch$2263);c?c.run(function(e){return function(){return e.$jscomp$loop$prop$watch$2263.run()}}(a)):a.$jscomp$loop$prop$watch$2263.run()}};gv.\u0275prov=qc({token:gv,providedIn:"root",factory:function(){return new gv}});var $f=function(a,b){this._lView=a;this._cdRefInjectingView=b;this._appRef=null;this._attachedToViewContainer=!1};f=$f.prototype;f.destroy=function(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){var a=this._lView[3];if(Yc(a)){var b=a[8],c=b?b.indexOf(this):-1;-1<c&&(Yfa(a,c),Eea(b,c))}this._attachedToViewContainer=!1}$fa(this._lView[1],this._lView)};f.onDestroy=function(a){var b=this._lView;if(256===(b[2]&256))throw new uc(911,!1);null===b[21]&&(b[21]=[]);b[21].push(a)};
f.markForCheck=function(){Rfa(this._cdRefInjectingView||this._lView)};f.detach=function(){this._lView[2]&=-129};f.detectChanges=function(){jha(this._lView[1],this._lView,this.context)};
hh.Object.defineProperties($f.prototype,{rootNodes:{configurable:!0,enumerable:!0,get:function(){var a=this._lView,b=a[1];return hha(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 mSb=function(a){$f.call(this,a);this._view=a};U(mSb,$f);mSb.prototype.detectChanges=function(){var a=this._view;jha(a[1],a,a[8],!1)};
hh.Object.defineProperties(mSb.prototype,{context:{configurable:!0,enumerable:!0,get:function(){return null}}});var nSb=function(){};nSb.\u0275prov=qc({token:nSb,providedIn:"root",factory:function(){return null}});var hv=function(){this.full="0.0.0-PLACEHOLDER";this.minor=this.major="0";this.patch=["0","0","0-PLACEHOLDER"].slice(2).join(".")},oSb=new hv;var pSb={};var qSb=function(a){this.ngModule=a};U(qSb,cv);var rSb=function(a,b){return new bg(b[Hc]||null,a.ngModule)},sSb=function(a,b){this.injector=a;this.parentInjector=b};sSb.prototype.get=function(a,b,c){c=kea(c);var d=this.injector.get(a,pSb,c);return d!==pSb||b===pSb?d:this.parentInjector.get(a,b,c)};
var bg=function(a,b){this.componentDef=a;this.ngModule=b;this.componentType=a.type;this.selector=a.selectors.map(rea).join(",");this.ngContentSelectors=a.ngContentSelectors?a.ngContentSelectors:[];this.isBoundToModule=!!b};U(bg,YRb);
bg.prototype.create=function(a,b,c,d){d=d||this.ngModule;var e;(d=d instanceof Zu?d:null==(e=d)?void 0:e.injector)&&null!==this.componentDef.getStandaloneInjector&&(d=this.componentDef.getStandaloneInjector(d)||d);var g=d?new sSb(a,d):a;a=g.get(ZRb,null);if(null===a)throw new uc(407,!1);e=g.get(nSb,null);d=g.get(gv,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($Rb,
!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=Uga(0,null,null,1,0,null,null,null,null,null,null);g=Jga(null,e,null,l,null,null,d,a,g,null,null);ifa(g);try{var q=this.componentDef;l=null;if(q.findHostDirectiveDefs){var x=[];l=new Map;q.findHostDirectiveDefs(q,x,l);x.push(q)}else x=[q];var A=g[1];g[25]=h;var B=Nd(A,25,2,"#host",null);A=x;for(var K=
g[1],N=k(A),P=N.next();!P.done;P=N.next())B.mergedAttrs=Cc(B.mergedAttrs,P.value.hostAttrs);null!==B.mergedAttrs&&(gha(B,B.mergedAttrs,!0),null!==h&&fga(a,h,B));N=null;null!==h&&(N=null);var Y=d.rendererFactory.createRenderer(h,q);P=16;q.signals?P=4096:q.onPush&&(P=64);var X=Jga(g,Oga(q),null,P,g[B.index],B,d,Y,null,null,N);K.firstCreatePass&&Xga(K,B,A.length-1);Pga(g,X);var ka=g[B.index]=X;var ma=e.data[25];if(h)if(c)nea(a,h,["ng-version",oSb.full]);else{var za=q.selectors[0];c=[];B=[];K=1;for(Y=
2;K<za.length;){var Ba=za[K];if("string"===typeof Ba)2===Y?""!==Ba&&c.push(Ba,za[++K]):8===Y&&B.push(Ba);else{if(0!==(Y&1))break;Y=Ba}K++}c&&nea(a,h,c);if(B&&0<B.length){var Ma=B.join(" ");""===Ma?a.removeAttribute(h,"class"):a.setAttribute(h,"class",Ma)}}if(void 0!==b){var Sa=this.ngContentSelectors,Ua=ma.projection=[];for(za=0;za<Sa.length;za++){var Lb=b[za];Ua.push(null!=Lb?Array.from(Lb):null)}}b=x;Sa=l;x=[nha];var qb=ed(),Ya=g[1],wa=ad(qb,g);Yga(Ya,g,qb,b,null,Sa);for(Sa=0;Sa<b.length;Sa++){var Ka=
qd(g,Ya,qb.directiveStart+Sa,qb);xd(Ka,g)}Rga(Ya,g,qb);wa&&xd(wa,g);var Na=qd(g,Ya,qb.directiveStart+qb.componentOffset,qb);ka[8]=g[8]=Na;if(null!==x)for(var fb=k(x),bb=fb.next();!bb.done;bb=fb.next()){var Tc=bb.value;Tc(Na,q)}Nga(Ya,qb,ka);var hb=Na;fha(e,g,null)}finally{lfa()}return new iv(this.componentType,hb,wd(ma,g),g,ma)};
hh.Object.defineProperties(bg.prototype,{inputs:{configurable:!0,enumerable:!0,get:function(){return mha(this.componentDef.inputs)}},outputs:{configurable:!0,enumerable:!0,get:function(){return mha(this.componentDef.outputs)}}});var iv=function(a,b,c,d,e){this.location=c;this._rootLView=d;this._tNode=e;this.previousInputValues=null;this.instance=b;this.hostView=this.changeDetectorRef=new mSb(d);this.componentType=a};U(iv,XRb);
iv.prototype.setInput=function(a,b){var c=this._tNode.inputs,d;null!==c&&(d=c[a])&&(null!=this.previousInputValues||(this.previousInputValues=new Map),this.previousInputValues.has(a)&&Object.is(this.previousInputValues.get(a),b)||(c=this._rootLView,Wga(c[1],c,d,a,b),this.previousInputValues.set(a,b),a=bd(this._tNode.index,c),Rfa(a)))};iv.prototype.destroy=function(){this.hostView.destroy()};iv.prototype.onDestroy=function(a){this.hostView.onDestroy(a)};
hh.Object.defineProperties(iv.prototype,{injector:{configurable:!0,enumerable:!0,get:function(){return new sd(this._tNode,this._rootLView)}}});var Rd=function(a,b,c){this._parent=b;this._bootstrapComponents=[];this.destroyCbs=[];this.componentFactoryResolver=new qSb(this);var d=(a[FRb]||null).bootstrap;this._bootstrapComponents=d instanceof Function?d():d;this._r3Injector=Ifa(a,b,[{provide:TRb,useValue:this},{provide:cv,useValue:this.componentFactoryResolver}].concat(Vc(c)),tc(a),new Set(["environment"]));Jfa(this._r3Injector);this.instance=this._r3Injector.get(a)};U(Rd,TRb);
Rd.prototype.destroy=function(){var a=this._r3Injector;!a.destroyed&&a.destroy();this.destroyCbs.forEach(function(b){return b()});this.destroyCbs=null};Rd.prototype.onDestroy=function(a){this.destroyCbs.push(a)};hh.Object.defineProperties(Rd.prototype,{injector:{configurable:!0,enumerable:!0,get:function(){return this._r3Injector}}});var tSb=function(a){this.moduleType=a};U(tSb,URb);tSb.prototype.create=function(a){return new Rd(this.moduleType,a,[])};
var pha=function(a){this.componentFactoryResolver=new qSb(this);this.instance=null;var b=new ud([].concat(Vc(a.providers),[{provide:TRb,useValue:this},{provide:cv,useValue:this.componentFactoryResolver}]),a.parent||Sea(),a.debugName,new Set(["environment"]));this.injector=b;a.runEnvironmentInitializers&&Jfa(b)};U(pha,TRb);pha.prototype.destroy=function(){this.injector.destroy()};pha.prototype.onDestroy=function(a){this.injector.onDestroy(a)};var uSb=new Rc("Application Initializer"),jv=function(){var a=this;this.done=this.initialized=!1;this.donePromise=new Promise(function(c,d){a.resolve=c;a.reject=d});var b;this.appInits=null!=(b=Ac(uSb,{optional:!0}))?b:[]},vSb=function(a){if(!a.initialized){for(var b=[],c={},d=k(a.appInits),e=d.next();!e.done;c={$jscomp$loop$prop$initResult$2265:c.$jscomp$loop$prop$initResult$2265},e=d.next())e=e.value,c.$jscomp$loop$prop$initResult$2265=e(),Sd(c.$jscomp$loop$prop$initResult$2265)?b.push(c.$jscomp$loop$prop$initResult$2265):
rha(c.$jscomp$loop$prop$initResult$2265)&&(e=new Promise(function(g){return function(h,l){g.$jscomp$loop$prop$initResult$2265.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}};jv.\u0275fac=function(a){return new (a||jv)};jv.\u0275prov=qc({token:jv,factory:jv.\u0275fac,providedIn:"root"});var kv=function(){};kv.prototype.log=function(a){console.log(a)};kv.prototype.warn=function(a){console.warn(a)};kv.\u0275fac=function(a){return new (a||kv)};kv.\u0275prov=qc({token:kv,factory:kv.\u0275fac,providedIn:"platform"});var tha=["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 uha={};var mh=new Rc("LocaleId",{providedIn:"root",factory:function(){return Ac(mh,12)||("undefined"!==typeof oIb?"en-US":"undefined"!==typeof $localize&&$localize.locale||"en-US")}});new Rc("DefaultCurrencyCode",{providedIn:"root",factory:function(){return"USD"}});new Rc("Translations");new Rc("TranslationsFormat");var wSb=!1,$d={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):wSb&&console.log("RxJS: Back to a better error behavior. Thank you. <3");wSb=a},get useDeprecatedSynchronousErrorHandling(){return wSb}};var qe="function"===typeof Symbol&&Symbol.observable||"@@observable";var xSb={closed:!0,next:function(){},error:function(a){if($d.useDeprecatedSynchronousErrorHandling)throw a;Ud(a)},complete:function(){}};var Xd=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 fe=Array.isArray||function(a){return a&&"number"===typeof a.length};var Wd=function(a){this.closed=!1;this._subscriptions=this._parentOrParents=null;a&&(this._ctorUnsubscribe=!0,this._unsubscribe=a)};
Wd.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 Wd)a.remove(this);else if(null!==a)for(var e=0;e<a.length;++e)a[e].remove(this);if(Vd(c)){b&&(this._unsubscribe=void 0);try{c.call(this)}catch(q){var g=q instanceof Xd?xha(q.errors):[q]}}if(fe(d)){e=-1;for(var h=d.length;++e<h;){var l=d[e];if(vha(l))try{l.unsubscribe()}catch(q){g=
g||[],q instanceof Xd?g=g.concat(xha(q.errors)):g.push(q)}}}if(g)throw new Xd(g);}};
Wd.prototype.add=function(a){var b=a;if(!a)return Wd.EMPTY;switch(typeof a){case "function":b=new Wd(a);case "object":if(b===this||b.closed||"function"!==typeof b.unsubscribe)return b;if(this.closed)return b.unsubscribe(),b;b instanceof Wd||(a=b,b=new Wd,b._subscriptions=[a]);break;default:throw Error("Da`"+a);}var c=b._parentOrParents;if(null===c)b._parentOrParents=this;else if(c instanceof Wd){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};Wd.prototype.remove=function(a){var b=this._subscriptions;b&&(a=b.indexOf(a),-1!==a&&b.splice(a,1))};var ySb=new Wd;ySb.closed=!0;Wd.EMPTY=ySb;var Yd=function(a,b,c){Wd.call(this);this.syncErrorValue=null;this.isStopped=this.syncErrorThrowable=this.syncErrorThrown=!1;switch(arguments.length){case 0:this.destination=xSb;break;case 1:if(!a){this.destination=xSb;break}if("object"===typeof a){a instanceof Yd?(this.syncErrorThrowable=a.syncErrorThrowable,this.destination=a,a.add(this)):(this.syncErrorThrowable=!0,this.destination=new lv(this,a));break}default:this.syncErrorThrowable=!0,this.destination=new lv(this,a,b,c)}};U(Yd,Wd);
Yd.EMPTY=Wd.EMPTY;Yd.create=function(a,b,c){a=new Yd(a,b,c);a.syncErrorThrowable=!1;return a};f=Yd.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,Wd.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 lv=function(a,b,c,d){Yd.call(this);this._parentSubscriber=a;var e=this;if(Vd(b))var g=b;else b&&(g=b.next,c=b.error,d=b.complete,b!==xSb&&(e=Object.create(b),wha(b)&&b.add(this.unsubscribe.bind(this)),e.unsubscribe=this.unsubscribe.bind(this)));this._context=e;this._next=g;this._error=c;this._complete=d};U(lv,Yd);lv.EMPTY=Yd.EMPTY;lv.create=Yd.create;f=lv.prototype;
f.next=function(a){if(!this.isStopped&&this._next){var b=this._parentSubscriber;$d.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=$d.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):Ud(a),this.unsubscribe();else{this.unsubscribe();if(c)throw a;Ud(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)};$d.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($d.useDeprecatedSynchronousErrorHandling)throw c;Ud(c)}};
f.__tryOrSetError=function(a,b,c){if(!$d.useDeprecatedSynchronousErrorHandling)throw Error("Ea");try{b.call(this._context,c)}catch(d){return $d.useDeprecatedSynchronousErrorHandling?(a.syncErrorValue=d,a.syncErrorThrown=!0):Ud(d),!0}return!1};f._unsubscribe=function(){var a=this._parentSubscriber;this._parentSubscriber=this._context=null;a.unsubscribe()};var zSb=function(a){Yd.call(this);this.destination=a};U(zSb,Yd);zSb.EMPTY=Yd.EMPTY;zSb.create=Yd.create;var ae=function(a){a&&(this._subscribe=a)};f=ae.prototype;f.lift=function(a){var b=new ae;b.source=this;b.operator=a;return b};
f.subscribe=function(a,b,c){var d=this.operator;a:{if(a){if(a instanceof Yd||Aha(a)&&wha(a))break a;if(Aha(a)){a=new zSb(a);break a}}a=a||b||c?new Yd(a,b,c):new Yd(xSb)}d?a.add(d.call(a,this.source)):a.add(this.source||$d.useDeprecatedSynchronousErrorHandling&&!a.syncErrorThrowable?this._subscribe(a):this._trySubscribe(a));if($d.useDeprecatedSynchronousErrorHandling&&a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a};
f._trySubscribe=function(a){try{return this._subscribe(a)}catch(b){$d.useDeprecatedSynchronousErrorHandling&&(a.syncErrorThrown=!0,a.syncErrorValue=b),yha(a)?a.error(b):console.warn(b)}};f.forEach=function(a,b){var c=this;b=Bha(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)};ae.prototype[qe]=function(){return this};
ae.prototype.pipe=function(){var a=Pc.apply(0,arguments);return 0===a.length?this:zha(a)(this)};var ASb=function(a){var b=Bha(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)})})};ae.create=function(a){return new ae(a)};var BSb=function(a,b){Wd.call(this);this.subject=a;this.subscriber=b;this.closed=!1};U(BSb,Wd);BSb.EMPTY=Wd.EMPTY;BSb.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 mv=function(){function a(){this.message="object unsubscribed";this.name="ObjectUnsubscribedError";return this}a.prototype=Object.create(Error.prototype);return a}();var Ne=function(){this.observers=[];this.hasError=this.isStopped=this.closed=!1;this.thrownError=null};U(Ne,ae);f=Ne.prototype;f.lift=function(a){var b=new nv(this,this);b.operator=a;return b};f.next=function(a){if(this.closed)throw new mv;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 mv;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 mv;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 mv;return ae.prototype._trySubscribe.call(this,a)};f._subscribe=function(a){if(this.closed)throw new mv;if(this.hasError)return a.error(this.thrownError),Wd.EMPTY;if(this.isStopped)return a.complete(),Wd.EMPTY;this.observers.push(a);return new BSb(this,a)};var CSb=function(a){var b=new ae;b.source=a;return b};
hh.Object.defineProperties(Ne.prototype,{observed:{configurable:!0,enumerable:!0,get:function(){var a;return 0<(null==(a=this.observers)?void 0:a.length)}}});Ne.create=function(a,b){return new nv(a,b)};var nv=function(a,b){Ne.call(this);this.destination=a;this.source=b};U(nv,Ne);nv.create=Ne.create;nv.prototype.next=function(a){var b=this.destination;b&&b.next&&b.next(a)};nv.prototype.error=function(a){var b=this.destination;b&&b.error&&this.destination.error(a)};
nv.prototype.complete=function(){var a=this.destination;a&&a.complete&&this.destination.complete()};nv.prototype._subscribe=function(a){return this.source?this.source.subscribe(a):Wd.EMPTY};var ge=function(){Ne.apply(this,arguments);this.value=null;this.hasCompleted=this.hasNext=!1};U(ge,Ne);ge.create=Ne.create;ge.prototype._subscribe=function(a){return this.hasError?(a.error(this.thrownError),Wd.EMPTY):this.hasCompleted&&this.hasNext?(a.next(this.value),a.complete(),Wd.EMPTY):Ne.prototype._subscribe.call(this,a)};ge.prototype.next=function(a){this.hasCompleted||(this.value=a,this.hasNext=!0)};ge.prototype.error=function(a){this.hasCompleted||Ne.prototype.error.call(this,a)};
ge.prototype.complete=function(){this.hasCompleted=!0;this.hasNext&&Ne.prototype.next.call(this,this.value);Ne.prototype.complete.call(this)};var ov=function(a){Ne.call(this);this._value=a};U(ov,Ne);ov.create=Ne.create;ov.prototype._subscribe=function(a){var b=Ne.prototype._subscribe.call(this,a);b&&!b.closed&&a.next(this._value);return b};ov.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new mv;return this._value};ov.prototype.next=function(a){Ne.prototype.next.call(this,this._value=a)};hh.Object.defineProperties(ov.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.getValue()}}});var we=new ae(function(a){return a.complete()});var Eha=function(a){return function(b){for(var c=0,d=a.length;c<d&&!b.closed;c++)b.next(a[c]);b.complete()}};var DSb=function(a,b,c){this.kind=a;this.value=b;this.error=c;this.hasValue="N"===a};DSb.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)}};
DSb.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 ESb={now:function(){return(ESb.delegate||Date).now()},delegate:void 0};var Me=function(a,b,c){a=void 0===a?Infinity:a;b=void 0===b?Infinity:b;c=void 0===c?ESb:c;Ne.call(this);this.timestampProvider=c;this._events=[];this._infiniteTimeWindow=!1;this._bufferSize=1>a?1:a;this._windowTime=1>b?1:b;Infinity===b?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow};U(Me,Ne);Me.create=Ne.create;f=Me.prototype;
f.nextInfiniteTimeWindow=function(a){var b=this._events;b.push(a);b.length>this._bufferSize&&b.shift();Ne.prototype.next.call(this,a)};f.nextTimeWindow=function(a){this._events.push({time:this._getNow(),value:a});this._trimBufferThenGetEvents();Ne.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 mv;if(this.isStopped||this.hasError)var e=Wd.EMPTY;else this.observers.push(a),e=new BSb(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():ESb.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 GSb=function(a,b){b=void 0===b?FSb:b;this.SchedulerAction=a;this.now=b};GSb.prototype.schedule=function(a,b,c){b=void 0===b?0:b;return(new this.SchedulerAction(this,a)).schedule(c,b)};var FSb=ESb.now;var He=function(){function a(){this.message="no elements in sequence";this.name="EmptyError";return this}a.prototype=Object.create(Error.prototype);return a}();var Iha=function(){};Iha.prototype.call=function(a,b){b._refCount++;a=new HSb(a,b);var c=b.subscribe(a);a.closed||(a.connection=b.connect());return c};var HSb=function(a,b){Yd.call(this,a);this.connectable=b;this.connection=null};U(HSb,Yd);HSb.EMPTY=Yd.EMPTY;HSb.create=Yd.create;
HSb.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 pv=function(a,b){this.source=a;this.subjectFactory=b;this._refCount=0;this._isComplete=!1};U(pv,ae);pv.create=ae.create;pv.prototype._subscribe=function(a){return this.getSubject().subscribe(a)};pv.prototype.getSubject=function(){var a=this._subject;if(!a||a.isStopped)this._subject=this.subjectFactory();return this._subject};
pv.prototype.connect=function(){var a=this._connection;a||(this._isComplete=!1,a=this._connection=new Wd,a.add(this.source.subscribe(new qv(this.getSubject(),this))),a.closed&&(this._connection=null,a=Wd.EMPTY));return a};pv.prototype.refCount=function(){return ee()(this)};var ija,ISb=pv.prototype;
ija={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:ISb._subscribe},_isComplete:{value:ISb._isComplete,writable:!0},getSubject:{value:ISb.getSubject},connect:{value:ISb.connect},refCount:{value:ISb.refCount}};var qv=function(a,b){Yd.call(this);this.destination=a;this.connectable=b};U(qv,Yd);qv.EMPTY=Yd.EMPTY;qv.create=Yd.create;
qv.prototype._error=function(a){this._unsubscribe();Yd.prototype._error.call(this,a)};qv.prototype._complete=function(){this.connectable._isComplete=!0;this._unsubscribe();Yd.prototype._complete.call(this)};qv.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 Jha=function(a){this.project=a;this.thisArg=void 0};Jha.prototype.call=function(a,b){return b.subscribe(new JSb(a,this.project,this.thisArg))};var JSb=function(a,b,c){Yd.call(this,a);this.project=b;this.count=0;this.thisArg=c||this};U(JSb,Yd);JSb.EMPTY=Yd.EMPTY;JSb.create=Yd.create;JSb.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 pe="function"===typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator";var $ha=function(a){return a&&"number"===typeof a.length&&"function"!==typeof a};var KSb=function(a){return function(b){var c=a[pe]();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 LSb=function(a){return function(b){var c=a[qe]();if("function"!==typeof c.subscribe)throw new TypeError("Ia");return c.subscribe(b)}};var MSb=function(a){return function(b){a.then(function(c){b.closed||(b.next(c),b.complete())},function(c){return b.error(c)}).then(null,Ud);return b}};var Vha=function(a){if(a&&"function"===typeof a[qe])return LSb(a);if($ha(a))return Eha(a);if(Rha(a))return MSb(a);if(a&&"function"===typeof a[pe])return KSb(a);if(Symbol&&Symbol.asyncIterator&&a&&"function"===typeof a[Symbol.asyncIterator])return Tha(a);throw new TypeError("Ja`"+(vha(a)?"an invalid object":"'"+a+"'"));};var rv=function(a){Yd.call(this);this.parent=a};U(rv,Yd);rv.EMPTY=Yd.EMPTY;rv.create=Yd.create;rv.prototype._next=function(a){this.parent.notifyNext(a)};rv.prototype._error=function(a){this.parent.notifyError(a);this.unsubscribe()};rv.prototype._complete=function(){this.parent.notifyComplete();this.unsubscribe()};var sv=function(a,b,c){Yd.call(this);this.parent=a;this.outerValue=b;this.outerIndex=c};U(sv,Yd);sv.EMPTY=Yd.EMPTY;sv.create=Yd.create;
sv.prototype._next=function(a){this.parent.notifyNext(this.outerValue,a,this.outerIndex)};sv.prototype._error=function(a){this.parent.notifyError(a);this.unsubscribe()};sv.prototype._complete=function(){this.parent.notifyComplete(this);this.unsubscribe()};var tv=function(){Yd.apply(this,arguments)};U(tv,Yd);tv.EMPTY=Yd.EMPTY;tv.create=Yd.create;tv.prototype.notifyNext=function(a){this.destination.next(a)};tv.prototype.notifyError=function(a){this.destination.error(a)};
tv.prototype.notifyComplete=function(){this.destination.complete()};var uv=function(){Yd.apply(this,arguments)};U(uv,Yd);uv.EMPTY=Yd.EMPTY;uv.create=Yd.create;uv.prototype.notifyNext=function(a,b){this.destination.next(b)};uv.prototype.notifyError=function(a){this.destination.error(a)};uv.prototype.notifyComplete=function(){this.destination.complete()};var NSb={},Jia=function(a,b){this.resultSelector=a;this.keys=b};Jia.prototype.call=function(a,b){return b.subscribe(new OSb(a,this.resultSelector,this.keys))};var OSb=function(a,b,c){uv.call(this,a);this.resultSelector=b;this.keys=c;this.active=0;this.values=[];this.observables=[]};U(OSb,uv);OSb.EMPTY=uv.EMPTY;OSb.create=uv.create;f=OSb.prototype;f._next=function(a){this.values.push(NSb);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(ne(a[c],new sv(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===NSb?--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 bia=function(a,b){b=void 0===b?Infinity:b;this.project=a;this.concurrent=b};bia.prototype.call=function(a,b){return b.subscribe(new vv(a,this.project,this.concurrent))};var vv=function(a,b,c){c=void 0===c?Infinity:c;tv.call(this,a);this.destination=a;this.project=b;this.concurrent=c;this.hasCompleted=!1;this.buffer=[];this.index=this.active=0};U(vv,tv);vv.EMPTY=tv.EMPTY;vv.create=tv.create;
vv.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 rv(this);this.destination.add(a);ne(c,a)}else this.buffer.push(a)};vv.prototype._complete=function(){this.hasCompleted=!0;0===this.active&&0===this.buffer.length&&this.destination.complete();this.unsubscribe()};vv.prototype.notifyNext=function(a){this.destination.next(a)};
vv.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 eia=function(a){var b=requestAnimationFrame,c=cancelAnimationFrame;wv&&(b=wv.requestAnimationFrame,c=wv.cancelAnimationFrame);var d=b(function(e){c=void 0;a(e)});return new Wd(function(){var e;return null==(e=c)?void 0:e(d)})},PSb=function(){return((null==wv?void 0:wv.requestAnimationFrame)||requestAnimationFrame).apply(null,Vc(Pc.apply(0,arguments)))},QSb=function(){((null==wv?void 0:wv.cancelAnimationFrame)||cancelAnimationFrame).apply(null,Vc(Pc.apply(0,arguments)))},wv=void 0;var dia={now:function(){return(dia.delegate||performance).now()},delegate:void 0};var RSb=fia();var SSb=function(){Wd.call(this)};U(SSb,Wd);SSb.EMPTY=Wd.EMPTY;SSb.prototype.schedule=function(){return this};var TSb=function(a,b){var c=Pc.apply(2,arguments);return(null==xv?0:xv.setInterval)?xv.setInterval.apply(xv,[a,b].concat(Vc(c))):setInterval.apply(null,[a,b].concat(Vc(c)))},xv=void 0;var yv=function(a,b){Wd.call(this);this.scheduler=a;this.work=b;this.pending=!1};U(yv,SSb);yv.EMPTY=SSb.EMPTY;f=yv.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 TSb(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==xv?void 0:xv.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 zv=function(a,b){b=void 0===b?FSb:b;GSb.call(this,a,b);this.actions=[];this.active=!1;this.scheduled=void 0};U(zv,GSb);zv.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 ze=new zv(yv);var USb=new ae(ve);var pia=function(a,b){this.predicate=a;this.thisArg=b};pia.prototype.call=function(a,b){return b.subscribe(new VSb(a,this.predicate,this.thisArg))};var VSb=function(a,b,c){Yd.call(this,a);this.predicate=b;this.thisArg=c;this.count=0};U(VSb,Yd);VSb.EMPTY=Yd.EMPTY;VSb.create=Yd.create;VSb.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 ria=function(){};ria.prototype.call=function(a,b){return b.subscribe(new WSb(a))};var WSb=function(a){uv.call(this,a);this.hasFirst=!1;this.observables=[];this.subscriptions=[]};U(WSb,uv);WSb.EMPTY=uv.EMPTY;WSb.create=uv.create;f=WSb.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=ne(a[c],new sv(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;uv.prototype.notifyComplete.call(this,a)};f.notifyError=function(a){this.hasFirst=!0;uv.prototype.notifyError.call(this,a)};var XSb=function(a){this.resultSelector=a};XSb.prototype.call=function(a,b){return b.subscribe(new Av(a,this.resultSelector))};var Av=function(a,b,c){void 0===c&&Object.create(null);Yd.call(this,a);this.iterators=[];this.active=0;this.resultSelector=b};U(Av,Yd);Av.EMPTY=Yd.EMPTY;Av.create=Yd.create;Av.prototype._next=function(a){var b=this.iterators;fe(a)?b.push(new YSb(a)):"function"===typeof a[pe]?b.push(new ZSb(a[pe]())):b.push(new Bv(this.destination,this,a))};
Av.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--}}};Av.prototype._tryresultSelector=function(a){try{var b=this.resultSelector.apply(this,a)}catch(c){this.destination.error(c);return}this.destination.next(b)};var ZSb=function(a){this.iterator=a;this.nextResult=a.next()};ZSb.prototype.hasValue=function(){return!0};
ZSb.prototype.next=function(){var a=this.nextResult;this.nextResult=this.iterator.next();return a};ZSb.prototype.hasCompleted=function(){var a=this.nextResult;return a&&!!a.done};var YSb=function(a){this.array=a;this.length=this.index=0;this.length=a.length};YSb.prototype[pe]=function(){return this};YSb.prototype.next=function(){var a=this.index++,b=this.array;return a<this.length?{value:b[a],done:!1}:{value:null,done:!0}};YSb.prototype.hasValue=function(){return this.array.length>this.index};
YSb.prototype.hasCompleted=function(){return this.array.length===this.index};var Bv=function(a,b,c){tv.call(this,a);this.parent=b;this.observable=c;this.stillUnsubscribed=!0;this.buffer=[];this.isComplete=!1};U(Bv,tv);Bv.EMPTY=tv.EMPTY;Bv.create=tv.create;Bv.prototype[pe]=function(){return this};f=Bv.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 ne(this.observable,new rv(this))};var $Sb=function(a,b,c){this.key=a;this.groupSubject=b;this.refCountSubscription=c};U($Sb,ae);$Sb.create=ae.create;$Sb.prototype._subscribe=function(a){var b=new Wd,c=this.refCountSubscription,d=this.groupSubject;c&&!c.closed&&b.add(new aTb(c));b.add(d.subscribe(a));return b};var aTb=function(a){Wd.call(this);this.parent=a;a.count++};U(aTb,Wd);aTb.EMPTY=Wd.EMPTY;
aTb.prototype.unsubscribe=function(){var a=this.parent;a.closed||this.closed||(Wd.prototype.unsubscribe.call(this),--a.count,0===a.count&&a.attemptedToUnsubscribe&&a.unsubscribe())};var yia=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 bTb=function(a,b){a=void 0===a?Cv:a;b=void 0===b?Infinity:b;zv.call(this,a,function(){return c.frame});var c=this;this.maxFrames=b;this.frame=0;this.index=-1};U(bTb,zv);bTb.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 Cv=function(a,b,c){c=void 0===c?a.index+=1:c;yv.call(this,a,b);this.scheduler=a;this.work=b;this.index=c;this.active=!0;this.index=a.index=c};U(Cv,yv);Cv.EMPTY=yv.EMPTY;Cv.prototype.schedule=function(a,b){b=void 0===b?0:b;if(Number.isFinite(b)){if(!this.id)return yv.prototype.schedule.call(this,a,b);this.active=!1;var c=new Cv(this.scheduler,this.work);this.add(c);return c.schedule(a,b)}return Wd.EMPTY};
Cv.prototype.requestAsyncId=function(a,b,c){this.delay=a.frame+(void 0===c?0:c);a=a.actions;a.push(this);a.sort(cTb);return!0};Cv.prototype.recycleAsyncId=function(){};Cv.prototype._execute=function(a,b){if(!0===this.active)return yv.prototype._execute.call(this,a,b)};var cTb=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 dTb=function(a,b){yv.call(this,a,b);this.scheduler=a;this.work=b};U(dTb,yv);dTb.EMPTY=yv.EMPTY;dTb.prototype.requestAsyncId=function(a,b,c){c=void 0===c?0:c;if(null!==c&&0<c)return yv.prototype.requestAsyncId.call(this,a,b,c);a.actions.push(this);return a.scheduled||(a.scheduled=PSb(function(){return a.flush(void 0)}))};
dTb.prototype.recycleAsyncId=function(a,b,c){c=void 0===c?0:c;if(null!==c&&0<c||null===c&&0<this.delay)return yv.prototype.recycleAsyncId.call(this,a,b,c);0===a.actions.length&&(QSb(b),a.scheduled=void 0)};var eTb=function(){zv.apply(this,arguments)};U(eTb,zv);eTb.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 fTb=new eTb(dTb);var gTb=1,hTb,zia={},iTb=function(a){var b=gTb++;zia[b]=!0;hTb||(hTb=Promise.resolve());hTb.then(function(){return Aia(b)&&a()});return b},jTb=function(a){Aia(a)};var lTb=function(){return((null==kTb?void 0:kTb.setImmediate)||iTb).apply(null,Vc(Pc.apply(0,arguments)))},kTb=void 0;var mTb=function(a,b){yv.call(this,a,b);this.scheduler=a;this.work=b};U(mTb,yv);mTb.EMPTY=yv.EMPTY;mTb.prototype.requestAsyncId=function(a,b,c){c=void 0===c?0:c;if(null!==c&&0<c)return yv.prototype.requestAsyncId.call(this,a,b,c);a.actions.push(this);return a.scheduled||(a.scheduled=lTb(a.flush.bind(a,void 0)))};
mTb.prototype.recycleAsyncId=function(a,b,c){c=void 0===c?0:c;if(null!==c&&0<c||null===c&&0<this.delay)return yv.prototype.recycleAsyncId.call(this,a,b,c);0===a.actions.length&&(((null==kTb?void 0:kTb.clearImmediate)||jTb)(b),a.scheduled=void 0)};var nTb=function(){zv.apply(this,arguments)};U(nTb,zv);nTb.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 oTb=new nTb(mTb);var Dv=function(a,b){yv.call(this,a,b);this.scheduler=a;this.work=b};U(Dv,yv);Dv.EMPTY=yv.EMPTY;Dv.prototype.schedule=function(a,b){b=void 0===b?0:b;if(0<b)return yv.prototype.schedule.call(this,a,b);this.delay=b;this.state=a;this.scheduler.flush(this);return this};Dv.prototype.execute=function(a,b){return 0<b||this.closed?yv.prototype.execute.call(this,a,b):this._execute(a,b)};
Dv.prototype.requestAsyncId=function(a,b,c){c=void 0===c?0:c;return null!==c&&0<c||null===c&&0<this.delay?yv.prototype.requestAsyncId.call(this,a,b,c):a.flush(this)};var pTb=function(){zv.apply(this,arguments)};U(pTb,zv);var qTb=new pTb(Dv);var rTb=function(){function a(){this.message="argument out of range";this.name="ArgumentOutOfRangeError";return this}a.prototype=Object.create(Error.prototype);return a}();var sTb=function(){function a(b){this.message=b;this.name="NotFoundError";return this}a.prototype=Object.create(Error.prototype);return a}();var tTb=function(){function a(b){this.message=b;this.name="SequenceError";return this}a.prototype=Object.create(Error.prototype);return a}();var E={};E.Observable=ae;E.ConnectableObservable=pv;E.GroupedObservable=$Sb;E.observable=qe;E.animationFrames=function(a){return a?fia(a):RSb};E.Subject=Ne;E.BehaviorSubject=ov;E.ReplaySubject=Me;E.AsyncSubject=ge;E.asap=oTb;E.asapScheduler=oTb;E.async=ze;E.asyncScheduler=ze;E.queue=qTb;E.queueScheduler=qTb;E.animationFrame=fTb;E.animationFrameScheduler=fTb;E.VirtualTimeScheduler=bTb;E.VirtualAction=Cv;E.Scheduler=GSb;E.Subscription=Wd;E.Subscriber=Yd;E.Notification=DSb;
E.NotificationKind={NEXT:"N",ERROR:"E",COMPLETE:"C"};E.pipe=function(){return zha(Pc.apply(0,arguments))};E.noop=ve;E.identity=Zd;E.isObservable=function(a){return!!a&&(a instanceof ae||"function"===typeof a.lift&&"function"===typeof a.subscribe)};E.lastValueFrom=function(a){return new Promise(function(b,c){var d=!1,e;a.subscribe({next:function(g){e=g;d=!0},error:c,complete:function(){d?b(e):c(new He)}})})};
E.firstValueFrom=function(a){return new Promise(function(b,c){var d=new Wd;d.add(a.subscribe({next:function(e){b(e);d.unsubscribe()},error:c,complete:function(){c(new He)}}))})};E.ArgumentOutOfRangeError=rTb;E.EmptyError=He;E.NotFoundError=sTb;E.ObjectUnsubscribedError=mv;E.SequenceError=tTb;E.TimeoutError=yia;E.UnsubscriptionError=Xd;E.bindCallback=Kha;E.bindNodeCallback=Nha;
E.combineLatest=function(){var a=Pc.apply(0,arguments),b=void 0,c=void 0,d=void 0;ce(a[a.length-1])&&(c=a.pop());"function"===typeof a[a.length-1]&&(b=a.pop());if(1===a.length){var e=a[0];fe(e)&&(a=e);vha(e)&&Object.getPrototypeOf(e)===Object.prototype&&(d=Object.keys(e),a=d.map(function(g){return e[g]}))}return de(be(a,c),new Jia(b,d))};E.concat=ue;E.defer=cia;E.empty=function(a){return a?Cha(a):we};
E.forkJoin=function(){var a=Pc.apply(0,arguments);if(1===a.length){var b=a[0];if(fe(b))return gia(b,null);if(vha(b)&&Object.getPrototypeOf(b)===Object.prototype)return a=Object.keys(b),gia(a.map(function(d){return b[d]}),a)}if("function"===typeof a[a.length-1]){var c=a.pop();a=1===a.length&&fe(a[0])?a[0]:a;return gia(a,null).pipe(D(function(d){return c.apply(null,Vc(d))}))}return gia(a,null)};E.from=re;E.fromEvent=hia;E.fromEventPattern=jia;
E.generate=function(a,b,c,d,e){if(1==arguments.length){var g=a.initialState;b=a.condition;c=a.iterate;var h=a.resultSelector||Zd;e=a.scheduler}else void 0===d||ce(d)?(g=a,h=Zd,e=d):(g=a,h=d);return new ae(function(l){var q=g;if(e)return e.schedule(kia,0,{subscriber:l,iterate:c,condition:b,resultSelector:h,state:q});do{if(b){var x=void 0;try{x=b(q)}catch(A){l.error(A);break}if(!x){l.complete();break}}x=void 0;try{x=h(q)}catch(A){l.error(A);break}l.next(x);if(l.closed)break;try{q=c(q)}catch(A){l.error(A);
break}}while(1)})};E.iif=function(a,b,c){b=void 0===b?we:b;c=void 0===c?we:c;return cia(function(){return a()?b:c})};E.interval=function(a,b){a=void 0===a?0:a;b=void 0===b?ze:b;if(!lia(a)||0>a)a=0;b&&"function"===typeof b.schedule||(b=ze);return new ae(function(c){c.add(b.schedule(mia,a,{subscriber:c,counter:0,period:a}));return c})};
E.merge=function(){var a=Pc.apply(0,arguments),b=Infinity,c=void 0,d=a[a.length-1];ce(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 ae?a[0]:te(b)(be(a,c))};E.never=function(){return USb};E.of=Fha;E.onErrorResumeNext=nia;
E.pairs=function(a,b){return b?new ae(function(c){var d=Object.keys(a),e=new Wd;e.add(b.schedule(oia,0,{keys:d,index:0,subscriber:c,subscription:e,obj:a}));return e}):new ae(function(c){for(var d=Object.keys(a),e=0;e<d.length&&!c.closed;e++){var g=d[e];a.hasOwnProperty(g)&&c.next([g,a[g]])}c.complete()})};E.partition=function(a,b,c){return[ye(b,c)(new ae(Vha(a))),ye(qia(b,c))(new ae(Vha(a)))]};E.race=sia;
E.range=function(a,b,c){a=void 0===a?0:a;return new ae(function(d){void 0===b&&(b=a,a=0);var e=0,g=a;if(c)return c.schedule(tia,0,{index:e,count:b,start:a,subscriber:d});do{if(e++>=b){d.complete();break}d.next(g++);if(d.closed)break}while(1)})};E.throwError=function(a,b){return b?new ae(function(c){return b.schedule(Gha,0,{error:a,subscriber:c})}):new ae(function(c){return c.error(a)})};E.timer=wia;
E.using=function(a,b){return new ae(function(c){try{var d=a()}catch(h){c.error(h);return}try{var e=b(d)}catch(h){c.error(h);return}var g=(e?re(e):we).subscribe(c);return function(){g.unsubscribe();d&&d.unsubscribe()}})};E.zip=function(){var a=Pc.apply(0,arguments),b=void 0;"function"===typeof a[a.length-1]&&(b=a.pop());return de(be(a),new XSb(b))};E.scheduled=aia;E.EMPTY=we;E.NEVER=USb;E.config=$d;var Ev=function(){this.taskId=0;this.pendingTasks=new Set;this.hasPendingTasks=new E.BehaviorSubject(!1)};Ev.prototype.add=function(){this.hasPendingTasks.next(!0);var a=this.taskId++;this.pendingTasks.add(a);return a};Ev.prototype.remove=function(a){this.pendingTasks.delete(a);0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)};Ev.prototype.ngOnDestroy=function(){this.pendingTasks.clear();this.hasPendingTasks.next(!1)};Ev.\u0275fac=function(a){return new (a||Ev)};
Ev.\u0275prov=qc({token:Ev,factory:Ev.\u0275fac,providedIn:"root"});var Fv=function(){};Fv.prototype.getModuleId=function(){};Fv.\u0275fac=function(a){return new (a||Fv)};Fv.\u0275prov=qc({token:Fv,factory:Fv.\u0275fac,providedIn:"root"});new Rc("compilerOptions");var Bia=Promise.resolve(0);var Gv=function(a){a=void 0===a?!1:a;E.Subject.call(this);this.__isAsync=a};U(Gv,E.Subject);Gv.create=E.Subject.create;Gv.prototype.emit=function(a){E.Subject.prototype.next.call(this,a)};
Gv.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=Dia(b),d&&(d=Dia(d)),c&&(c=Dia(c)));d=E.Subject.prototype.subscribe.call(this,{next:d,error:b,complete:c});a instanceof E.Subscription&&a.add(d);return d};var Fia=function(a){this.durationSelector=a};Fia.prototype.call=function(a,b){return b.subscribe(new Hv(a,this.durationSelector))};var Hv=function(a,b){tv.call(this,a);this.durationSelector=b;this.value=null;this.hasValue=!1;this.throttled=null};U(Hv,tv);Hv.EMPTY=tv.EMPTY;Hv.create=tv.create;
Hv.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=ne(c,new rv(this));!a||a.closed?uTb(this):this.add(this.throttled=a)}};var uTb=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))};Hv.prototype.notifyNext=function(){uTb(this)};Hv.prototype.notifyComplete=function(){uTb(this)};var Hia=function(a){this.closingNotifier=a};Hia.prototype.call=function(a,b){return b.subscribe(new Iv(a,this.closingNotifier))};var Iv=function(a,b){tv.call(this,a);this.buffer=[];this.add(ne(b,new rv(this)))};U(Iv,tv);Iv.EMPTY=tv.EMPTY;Iv.create=tv.create;Iv.prototype._next=function(a){this.buffer.push(a)};Iv.prototype.notifyNext=function(){var a=this.buffer;this.buffer=[];this.destination.next(a)};var Oia=function(a){this.durationSelector=a};Oia.prototype.call=function(a,b){return b.subscribe(new vTb(a,this.durationSelector))};var vTb=function(a,b){tv.call(this,a);this.durationSelector=b;this.value=null;this.hasValue=!1;this.durationSubscription=null};U(vTb,tv);vTb.EMPTY=tv.EMPTY;vTb.create=tv.create;f=vTb.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(){wTb(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=ne(b,new rv(this)))&&!c.closed&&this.add(this.durationSubscription=c)};f.notifyNext=function(){wTb(this)};f.notifyComplete=function(){wTb(this)};var wTb=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;tv.prototype._next.call(a,b)}};var Qia=function(a,b){this.dueTime=a;this.scheduler=b};Qia.prototype.call=function(a,b){return b.subscribe(new Jv(a,this.dueTime,this.scheduler))};var Jv=function(a,b,c){Yd.call(this,a);this.dueTime=b;this.scheduler=c;this.lastValue=this.debouncedSubscription=null;this.hasValue=!1};U(Jv,Yd);Jv.EMPTY=Yd.EMPTY;Jv.create=Yd.create;Jv.prototype._next=function(a){xTb(this);this.lastValue=a;this.hasValue=!0;this.add(this.debouncedSubscription=this.scheduler.schedule(Sia,this.dueTime,this))};
Jv.prototype._complete=function(){Ria(this);this.destination.complete()};var Ria=function(a){xTb(a);if(a.hasValue){var b=a.lastValue;a.lastValue=null;a.hasValue=!1;a.destination.next(b)}},xTb=function(a){var b=a.debouncedSubscription;null!==b&&(a.remove(b),b.unsubscribe(),a.debouncedSubscription=null)};var Tia=function(a){this.defaultValue=a};Tia.prototype.call=function(a,b){return b.subscribe(new Kv(a,this.defaultValue))};var Kv=function(a,b){Yd.call(this,a);this.defaultValue=b;this.isEmpty=!0};U(Kv,Yd);Kv.EMPTY=Yd.EMPTY;Kv.create=Yd.create;Kv.prototype._next=function(a){this.isEmpty=!1;this.destination.next(a)};Kv.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue);this.destination.complete()};var Via=function(a,b){this.delay=a;this.scheduler=b};Via.prototype.call=function(a,b){return b.subscribe(new Lv(a,this.delay,this.scheduler))};var Lv=function(a,b,c){Yd.call(this,a);this.destination=a;this.delay=b;this.scheduler=c;this.queue=[];this.active=!1};U(Lv,Yd);Lv.EMPTY=Yd.EMPTY;Lv.create=Yd.create;
var yTb=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)};Lv.prototype._schedule=function(a){this.active=!0;var b=this.destination;b.add(a.schedule(yTb,this.delay,{source:this,destination:b,scheduler:a}))};
Lv.prototype._next=function(a){var b=this.scheduler;a=new zTb(b.now()+this.delay,a);this.queue.push(a);!1===this.active&&this._schedule(b)};Lv.prototype._error=function(a){this.queue.length=0;this.destination.error(a);this.unsubscribe()};Lv.prototype._complete=function(){0===this.queue.length&&this.destination.complete();this.unsubscribe()};var zTb=function(a,b){this.time=a;this.value=b};var Wia=function(a){this.compare=a;this.keySelector=void 0};Wia.prototype.call=function(a,b){return b.subscribe(new Mv(a,this.compare,this.keySelector))};var Mv=function(a,b,c){Yd.call(this,a);this.keySelector=c;this.hasKey=!1;"function"===typeof b&&(this.compare=b)};U(Mv,Yd);Mv.EMPTY=Yd.EMPTY;Mv.create=Yd.create;Mv.prototype.compare=function(a,b){return a===b};
Mv.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 Xia=function(){this.count=1};Xia.prototype.call=function(a,b){return b.subscribe(new ATb(a,this.count))};var ATb=function(a,b){Yd.call(this,a);this.count=b;this._valueCount=0};U(ATb,Yd);ATb.EMPTY=Yd.EMPTY;ATb.create=Yd.create;ATb.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 Zia=function(a){this.errorFactory=a};Zia.prototype.call=function(a,b){return b.subscribe(new Nv(a,this.errorFactory))};var Nv=function(a,b){Yd.call(this,a);this.errorFactory=b;this.hasValue=!1};U(Nv,Yd);Nv.EMPTY=Yd.EMPTY;Nv.create=Yd.create;Nv.prototype._next=function(a){this.hasValue=!0;this.destination.next(a)};Nv.prototype._complete=function(){if(this.hasValue)return this.destination.complete();try{var a=this.errorFactory()}catch(b){a=b}this.destination.error(a)};var aja=function(a){this.callback=a};aja.prototype.call=function(a,b){a=b.subscribe(a);a.add(this.callback);return a};var bja=function(){};bja.prototype.call=function(a,b){return b.subscribe(new BTb(a))};var BTb=function(){Yd.apply(this,arguments)};U(BTb,Yd);BTb.EMPTY=Yd.EMPTY;BTb.create=Yd.create;BTb.prototype._next=function(){};var dja=function(){this.total=1};dja.prototype.call=function(a,b){return b.subscribe(new Ov(a,this.total))};var Ov=function(a,b){Yd.call(this,a);this.total=b;this.ring=[];this.count=0};U(Ov,Yd);Ov.EMPTY=Yd.EMPTY;Ov.create=Yd.create;Ov.prototype._next=function(a){var b=this.ring,c=this.total,d=this.count++;b.length<c?b.push(a):b[d%c]=a};
Ov.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 gja=function(a){this.value=a};gja.prototype.call=function(a,b){return b.subscribe(new CTb(a,this.value))};var CTb=function(a,b){Yd.call(this,a);this.value=b};U(CTb,Yd);CTb.EMPTY=Yd.EMPTY;CTb.create=Yd.create;CTb.prototype._next=function(){this.destination.next(this.value)};var hja=function(a,b,c){this.accumulator=a;this.seed=b;this.hasSeed=void 0===c?!1:c};hja.prototype.call=function(a,b){return b.subscribe(new DTb(a,this.accumulator,this.seed,this.hasSeed))};var DTb=function(a,b,c,d){Yd.call(this,a);this.accumulator=b;this._state=c;this._hasState=d;this.index=0};U(DTb,Yd);DTb.EMPTY=Yd.EMPTY;DTb.create=Yd.create;
DTb.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 oja=function(a){this.total=a};oja.prototype.call=function(a,b){return b.subscribe(new ETb(a,this.total))};var ETb=function(a,b){Yd.call(this,a);this.total=b;this.count=0};U(ETb,Yd);ETb.EMPTY=Yd.EMPTY;ETb.create=Yd.create;ETb.prototype._next=function(a){++this.count>this.total&&this.destination.next(a)};var pja=function(a){this.project=a};pja.prototype.call=function(a,b){return b.subscribe(new FTb(a,this.project))};var FTb=function(a,b){tv.call(this,a);this.destination=a;this.project=b;this.index=0};U(FTb,tv);FTb.EMPTY=tv.EMPTY;FTb.create=tv.create;f=FTb.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 rv(this);this.destination.add(a);this.innerSubscription=a;ne(c,a)};
f._complete=function(){var a=this.innerSubscription;a&&!a.closed||tv.prototype._complete.call(this);this.unsubscribe()};f._unsubscribe=function(){this.innerSubscription=void 0};f.notifyComplete=function(){this.innerSubscription=void 0;this.isStopped&&tv.prototype._complete.call(this)};f.notifyNext=function(a){this.destination.next(a)};var qja=function(a){this.notifier=a};qja.prototype.call=function(a,b){a=new Pv(a);var c=ne(this.notifier,new rv(a));return c&&!a.notifierHasNotified?(a.add(c),b.subscribe(a)):a};var Pv=function(a){tv.call(this,a);this.notifierHasNotified=!1};U(Pv,tv);Pv.EMPTY=tv.EMPTY;Pv.create=tv.create;Pv.prototype.notifyNext=function(){this.notifierHasNotified=!0;this.complete()};Pv.prototype.notifyComplete=function(){};var rja=function(a,b){this.predicate=a;this.inclusive=b};rja.prototype.call=function(a,b){return b.subscribe(new GTb(a,this.predicate,this.inclusive))};var GTb=function(a,b,c){Yd.call(this,a);this.predicate=b;this.inclusive=c;this.index=0};U(GTb,Yd);GTb.EMPTY=Yd.EMPTY;GTb.create=Yd.create;GTb.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 tja=function(a,b){this.nextOrObserver=a;this.error=b;this.complete=void 0};tja.prototype.call=function(a,b){return b.subscribe(new Qv(a,this.nextOrObserver,this.error,this.complete))};var Qv=function(a,b,c,d){Yd.call(this,a);this._tapComplete=this._tapError=this._tapNext=ve;this._tapError=c||ve;this._tapComplete=d||ve;Vd(b)?(this._context=this,this._tapNext=b):b&&(this._context=b,this._tapNext=b.next||ve,this._tapError=b.error||ve,this._tapComplete=b.complete||ve)};U(Qv,Yd);Qv.EMPTY=Yd.EMPTY;
Qv.create=Yd.create;Qv.prototype._next=function(a){try{this._tapNext.call(this._context,a)}catch(b){this.destination.error(b);return}this.destination.next(a)};Qv.prototype._error=function(a){try{this._tapError.call(this._context,a)}catch(b){this.destination.error(b);return}this.destination.error(a)};Qv.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(a){this.destination.error(a);return}return this.destination.complete()};var uja={leading:!0,trailing:!1},vja=function(a,b,c){this.durationSelector=a;this.leading=b;this.trailing=c};vja.prototype.call=function(a,b){return b.subscribe(new Rv(a,this.durationSelector,this.leading,this.trailing))};var Rv=function(a,b,c,d){tv.call(this,a);this.destination=a;this.durationSelector=b;this._leading=c;this._trailing=d;this._sendValue=null;this._hasValue=!1};U(Rv,tv);Rv.EMPTY=tv.EMPTY;Rv.create=tv.create;
Rv.prototype._next=function(a){this._hasValue=!0;this._sendValue=a;this._throttled||(this._leading?this.send():HTb(this,a))};Rv.prototype.send=function(){var a=this._sendValue;this._hasValue&&(this.destination.next(a),HTb(this,a));this._hasValue=!1;this._sendValue=null};var HTb=function(a,b){try{var c=a.durationSelector(b)}catch(d){a.destination.error(d);return}a.add(a._throttled=ne(c,new rv(a)))},ITb=function(a){var b=a._throttled,c=a._trailing;b&&b.unsubscribe();a._throttled=null;c&&a.send()};
Rv.prototype.notifyNext=function(){ITb(this)};Rv.prototype.notifyComplete=function(){ITb(this)};var xja=function(a,b){this.observables=a;this.project=b};xja.prototype.call=function(a,b){return b.subscribe(new Sv(a,this.observables,this.project))};var Sv=function(a,b,c){uv.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(ne(b[c],new sv(this,void 0,c)))};U(Sv,uv);Sv.EMPTY=uv.EMPTY;Sv.create=uv.create;
Sv.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))};Sv.prototype.notifyComplete=function(){};Sv.prototype._next=function(a){0===this.toRespond.length&&(a=[a].concat(Vc(this.values)),this.project?this._tryProject(a):this.destination.next(a))};Sv.prototype._tryProject=function(a){try{var b=this.project.apply(this,a)}catch(c){this.destination.error(c);return}this.destination.next(b)};var We=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 Gv(!1);this.onMicrotaskEmpty=new Gv(!1);this.onStable=new Gv(!1);this.onError=new Gv(!1);if("undefined"==typeof Zone)throw new uc(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=Id.requestAnimationFrame;c=Id.cancelAnimationFrame;"undefined"!==typeof Zone&&b&&c&&((c=b[Zone.__symbol__("OriginalDelegate")])&&(b=c),Zone.__symbol__("OriginalDelegate"));
this.nativeRequestAnimationFrame=b;Cja(this)},Eja=function(){return"undefined"!==typeof Zone&&!0===Zone.current.get("isAngularZone")},Dja=function(){if(Eja())throw new uc(909,!1);};We.prototype.run=function(a,b,c){return this._inner.run(a,b,c)};We.prototype.runTask=function(a,b,c){var d=this._inner;a=d.scheduleEventTask("NgZoneEvent: undefined",a,JTb,Eia,Eia);try{return d.runTask(a,b,c)}finally{d.cancelTask(a)}};We.prototype.runGuarded=function(a,b,c){return this._inner.runGuarded(a,b,c)};
We.prototype.runOutsideAngular=function(a){return this._outer.run(a)};var JTb={},$e=function(){this.hasPendingMacrotasks=this.hasPendingMicrotasks=!1;this.isStable=!0;this.onUnstable=new Gv;this.onMicrotaskEmpty=new Gv;this.onStable=new Gv;this.onError=new Gv};$e.prototype.run=function(a,b,c){return a.apply(b,c)};$e.prototype.runGuarded=function(a,b,c){return a.apply(b,c)};$e.prototype.runOutsideAngular=function(a){return a()};$e.prototype.runTask=function(a,b,c){return a.apply(b,c)};
var Vja=new Rc("",{providedIn:"root",factory:Fja});var KTb=new Rc(""),LTb=new Rc(""),Tv=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;MTb||(MTb=c,NTb(b));this._watchAngularEvents();a.run(function(){d.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})};
Tv.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(){Dja();Cia(function(){a._isZoneStable=!0;a._runCallbacksIfReady()})}})})};Tv.prototype.isStable=function(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks};
Tv.prototype._runCallbacksIfReady=function(){var a=this;if(this.isStable())Cia(function(){for(;0!==a._callbacks.length;){var c=a._callbacks.pop();clearTimeout(c.timeoutId);c.doneCb(a._didWork)}a._didWork=!1});else{var b=OTb(this);this._callbacks=this._callbacks.filter(function(c){return c.updateCb&&c.updateCb(b)?(clearTimeout(c.timeoutId),!1):!0});this._didWork=!0}};
var OTb=function(a){return a.taskTrackingZone?a.taskTrackingZone.macroTasks.map(function(b){return{source:b.source,creationLocation:b.creationLocation,data:b.data}}):[]};f=Tv.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,OTb(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[]};Tv.\u0275fac=function(a){return new (a||Tv)(u(We),u(Uv),u(LTb))};Tv.\u0275prov=qc({token:Tv,factory:Tv.\u0275fac});var Uv=function(){this._applications=new Map};
Uv.prototype.registerApplication=function(a,b){this._applications.set(a,b)};Uv.prototype.unregisterApplication=function(a){this._applications.delete(a)};Uv.prototype.findTestabilityInTree=function(a,b){var c,d;return null!=(d=null==(c=MTb)?void 0:c.findTestabilityInTree(this,a,void 0===b?!0:b))?d:null};Uv.\u0275fac=function(a){return new (a||Uv)};Uv.\u0275prov=qc({token:Uv,factory:Uv.\u0275fac,providedIn:"platform"});var MTb;var PTb=this,Xe=null,Jja=new Rc("AllowMultipleToken"),Nja=new Rc("PlatformDestroyListeners"),QTb=new Rc("appBootstrapListener"),RTb=function(a,b){this.name=a;this.token=b},Ye=function(a){this._injector=a;this._modules=[];this._destroyListeners=[];this._destroyed=!1},STb=function(a,b,c){var d=Pja(null==c?void 0:c.ngZone,Oja({eventCoalescing:null==c?void 0:c.ngZoneEventCoalescing,runCoalescing:null==c?void 0:c.ngZoneRunCoalescing}));return d.run(function(){var e=oha(b.moduleType,a.injector,Wja(function(){return d})),
g=e.injector.get(Qd,null);d.runOutsideAngular(function(){var h=d.onError.subscribe({next:function(l){g.handleError(l)}});e.onDestroy(function(){Sja(a._modules,e);h.unsubscribe()})});return Qja(g,d,function(){var h=e.injector.get(jv);vSb(h);return h.donePromise.then(function(){var l=e.injector.get(mh,"en-US")||"en-US";if(null==l)throw Error("wa`Expected localeId to be defined` [Expected=> null != "+(l+" <=Actual]"));a._moduleDoBootstrap(e);return e})})})},UTb=function(){var a=TTb(),b=Vv;var c=void 0===
c?[]:c;var d=Rja({},c);Promise.resolve(new tSb(b)).then(function(e){return STb(a,e,d)})};Ye.prototype._moduleDoBootstrap=function(a){var b=a.injector.get(Wv);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 uc(-403,!1);this._modules.push(a)};Ye.prototype.onDestroy=function(a){this._destroyListeners.push(a)};
Ye.prototype.destroy=function(){if(this._destroyed)throw new uc(404,!1);this._modules.slice().forEach(function(b){return b.destroy()});this._destroyListeners.forEach(function(b){return b()});var a=this._injector.get(Nja,null);a&&(a.forEach(function(b){return b()}),a.clear());this._destroyed=!0};hh.Object.defineProperties(Ye.prototype,{injector:{configurable:!0,enumerable:!0,get:function(){return this._injector}},destroyed:{configurable:!0,enumerable:!0,get:function(){return this._destroyed}}});
Ye.\u0275fac=function(a){return new (a||Ye)(u(bv))};Ye.\u0275prov=qc({token:Ye,factory:Ye.\u0275fac,providedIn:"platform"});var Wv=function(){var a=this;this._bootstrapListeners=[];this._destroyed=this._runningTick=!1;this._destroyListeners=[];this._views=[];this.internalErrorHandler=Ac(Uja);this.zoneIsStable=Ac(Vja);this.componentTypes=[];this.components=[];this.isStable=Ac(Ev).hasPendingTasks.pipe(Se(function(b){return b?(0,E.of)(!1):a.zoneIsStable}),Fe(),Oe());this._injector=Ac(Zu)};
Wv.prototype.bootstrap=function(a,b){var c=this,d=a instanceof YRb;if(!this._injector.get(jv).done)throw new uc(405,!1);var e;d?e=a:e=rSb(this._injector.get(cv),a);this.componentTypes.push(e.componentType);a=e.isBoundToModule?void 0:this._injector.get(TRb);var g=e.create(SRb,[],b||e.selector,a),h=g.location.nativeElement,l=g.injector.get(KTb,null);null==l||l.registerApplication(h);g.onDestroy(function(){c.detachView(g.hostView);Sja(c.components,g);null==l||l.unregisterApplication(h)});this._loadComponent(g);
return g};var VTb=function(a){if(a._runningTick)throw new uc(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}},WTb=function(a,b){a._views.push(b);if(b._attachedToViewContainer)throw new uc(902,!1);b._appRef=a};f=Wv.prototype;f.detachView=function(a){Sja(this._views,a);a._appRef=null;var b=a._lView;Bd(b[11],2,a._lView[1].firstChild,b,null,null,!1)};
f._loadComponent=function(a){WTb(this,a.hostView);VTb(this);this.components.push(a);var b=this._injector.get(QTb,[]);b.push.apply(b,Vc(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 Sja(b._destroyListeners,a)}};f.destroy=function(){if(this._destroyed)throw new uc(406,!1);var a=this._injector;a.destroy&&!a.destroyed&&a.destroy()};hh.Object.defineProperties(Wv.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}}});
Wv.\u0275fac=function(a){return new (a||Wv)};Wv.\u0275prov=qc({token:Wv,factory:Wv.\u0275fac,providedIn:"root"});var Uja=new Rc("",{providedIn:"root",factory:function(){return Ac(Qd).handleError.bind(PTb)}}),af=function(){this.zone=Ac(We);this.applicationRef=Ac(Wv)};af.prototype.initialize=function(){var a=this;this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:function(){a.zone.run(function(){VTb(a.applicationRef)})}}))};
af.prototype.ngOnDestroy=function(){var a;null==(a=this._onMicrotaskEmptySubscription)||a.unsubscribe()};af.\u0275fac=function(a){return new (a||af)};af.\u0275prov=qc({token:af,factory:af.\u0275fac,providedIn:"root"});new Rc("");new Rc("AnalyzeForEntryComponents");var lf=0,mf=0,nf=0,jka=0,lka=0;var Dka=Eka;var Hf=function(a){this._injector=a;this.cachedInjectors=new Map};Hf.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()}};Hf.\u0275prov=qc({token:Hf,providedIn:"environment",factory:function(){return new Hf(u(Zu))}});var Xf=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=Xf.prototype;b[Symbol.iterator]||(b[Symbol.iterator]=Uka)};f=Xf.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 Sf=function(a){!a._changes||!a._changesDetected&&a._emitDistinctChangesOnly||a._changes.emit(a)};Xf.prototype.setDirty=function(){this.dirty=!0};
Xf.prototype.destroy=function(){this.changes.complete();this.changes.unsubscribe()};hh.Object.defineProperties(Xf.prototype,{changes:{configurable:!0,enumerable:!0,get:function(){return this._changes||(this._changes=new Gv)}}});Symbol.iterator;var Qf=function(){};Qf.__NG_ELEMENT_ID__=Wka;var Of=function(a,b,c){this._declarationLView=a;this._declarationTContainer=b;this.elementRef=c};U(Of,Qf);Of.__NG_ELEMENT_ID__=Qf.__NG_ELEMENT_ID__;Of.prototype.createEmbeddedView=function(a,b){return XTb(this,a,b)};
var XTb=function(a,b,c){var d=a._declarationTContainer.tView;c=Jga(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));fha(d,c,b);return new $f(c)};hh.Object.defineProperties(Of.prototype,{ssrId:{configurable:!0,enumerable:!0,get:function(){var a;return(null==(a=this._declarationTContainer.tView)?void 0:a.ssrId)||null}}});var Rf=function(){};Rf.__NG_ELEMENT_ID__=Yka;var Pf=function(a,b,c){this._lContainer=a;this._hostTNode=b;this._hostLView=c};U(Pf,Rf);Pf.__NG_ELEMENT_ID__=Rf.__NG_ELEMENT_ID__;f=Pf.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=XTb(a,b||{},e);YTb(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 bg(a[Hc]||null);c=c||this.parentInjector;g||null!=a.ngModule||(e=(e?c:this.parentInjector).get(Zu,null))&&(g=e);d=a.create(c,d,null,g);YTb(this,d.hostView,b);return d};f.insert=function(a,b){return YTb(this,a,b)};
var YTb=function(a,b,c){var d=b._lView,e=d[1];if(Yc(d[3])){var g=a.indexOf(b);-1!==g?a.detach(g):(g=d[3],g=new Pf(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&&ZTb(g,e);d[2]|=128;g=cga(c,a);h=d[11];var l=h.parentNode(a[7]);if(null!==
l){var q=a[6];d[0]=l;d[6]=q;Bd(h,1,e.firstChild,d,l,g,!1)}if(b._appRef)throw new uc(902,!1);b._attachedToViewContainer=!0;d=Zka(a);c>=d.length?d.push(b):d.splice(c,0,b);return b};f=Pf.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=Yfa(this._lContainer,a);b&&(Eea(Zka(this._lContainer),a),$fa(b[1],b))};
f.detach=function(a){a=this._adjustIndex(a,-1);var b=Yfa(this._lContainer,a);return b&&null!=Eea(Zka(this._lContainer),a)?new $f(b):null};f._adjustIndex=function(a,b){return null==a?this.length+(void 0===b?0:b):a};
hh.Object.defineProperties(Pf.prototype,{element:{configurable:!0,enumerable:!0,get:function(){return wd(this._hostTNode,this._hostLView)}},injector:{configurable:!0,enumerable:!0,get:function(){return new sd(this._hostTNode,this._hostLView)}},parentInjector:{configurable:!0,enumerable:!0,get:function(){var a=zfa(this._hostTNode,this._hostLView);if(-1!==a){var b=sfa(a,this._hostLView);return new sd(b[1].data[(a&32767)+8],b)}return new sd(null,this._hostLView)}},length:{configurable:!0,enumerable:!0,
get:function(){return this._lContainer.length-11}}});var $ka=ala;var hla=function(a){this.queryList=a;this.matches=null};hla.prototype.clone=function(){return new hla(this.queryList)};hla.prototype.setDirty=function(){this.queryList.setDirty()};var gla=function(a){this.queries=a=void 0===a?[]:a};gla.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 gla(c)}return null};
gla.prototype.detachView=function(a){ZTb(this,a)};var ZTb=function(a,b){for(var c=0;c<a.queries.length;c++)null!==b.queries.queries[c].matches&&a.queries[c].setDirty()},ela=function(a,b,c){this.predicate=a;this.flags=b;this.read=void 0===c?null:c},ila=function(a){this.queries=a=void 0===a?[]:a};f=ila.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 ila(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)};hh.Object.defineProperties(ila.prototype,{length:{configurable:!0,enumerable:!0,get:function(){return this.queries.length}}});
var Yf=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};
Yf.prototype.elementStart=function(a,b){if($Tb(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}aUb(this,a,b,g);aUb(this,a,b,Gfa(b,a,e,!1,!1))}else c===Qf?b.type&4&&aUb(this,a,b,-1):aUb(this,a,b,Gfa(b,a,c,!1,!1))}};Yf.prototype.elementEnd=function(a){this._declarationNodeIndex===a.index&&(this._appliesToNextNode=!1)};
Yf.prototype.template=function(a,b){this.elementStart(a,b)};Yf.prototype.embeddedTView=function(a,b){return $Tb(this,a)?(this.crossesNgTemplate=!0,bUb(this,-a.index,b),new Yf(this.metadata)):null};
var $Tb=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},aUb=function(a,b,c,d){if(null!==d){var e=a.metadata.read;null!==e?e===vd||e===Rf||e===Qf&&c.type&4?bUb(a,c.index,-2):(b=Gfa(c,b,e,!1,!1),null!==b&&bUb(a,c.index,b)):bUb(a,c.index,d)}},bUb=function(a,b,c){null===a.matches?a.matches=[b,c]:a.matches.push(b,c)};var Xv=function(){};Xv.\u0275fac=function(a){return new (a||Xv)(u(Wv))};Xv.\u0275mod=Ic({type:Xv});Xv.\u0275inj=rc({});var Yv=function(){};Yv.__NG_ELEMENT_ID__=jla;var cUb=function(){};cUb.prototype.supports=function(a){return bka(a)};cUb.prototype.create=function(a){return new Zv(a)};var dUb=function(a,b){return b},Zv=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||dUb};
Zv.prototype.forEachItem=function(a){var b;for(b=this._itHead;null!==b;b=b._next)a(b)};var eUb=function(a,b){var c=a._itHead;a=a._removalsHead;for(var d=0,e=null;c||a;){var g=!a||c&&c.currentIndex<kla(a,d,e)?c:a,h=kla(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,x=l-d;if(q!=x){for(var A=0;A<q;A++){var B=A<e.length?e[A]:e[A]=0,K=B+A;x<=K&&K<q&&(e[A]=B+1)}e[g.previousIndex]=x-q}}h!==l&&b(g,h,l)}};
Zv.prototype.forEachAddedItem=function(a){var b;for(b=this._additionsHead;null!==b;b=b._nextAdded)a(b)};Zv.prototype.forEachRemovedItem=function(a){var b;for(b=this._removalsHead;null!==b;b=b._nextRemoved)a(b)};var fUb=function(a,b){for(a=a._identityChangesHead;null!==a;a=a._nextIdentityChange)b(a)};f=Zv.prototype;f.diff=function(a){null==a&&(a=[]);if(!bka(a))throw new uc(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;cka(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 gUb(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 $v);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 $v);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};hh.Object.defineProperties(Zv.prototype,{isDirty:{configurable:!0,enumerable:!0,get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}}});
var gUb=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},hUb=function(){this._tail=this._head=null};hUb.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)};
hUb.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};hUb.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 $v=function(){this.map=new Map};$v.prototype.put=function(a){var b=a.trackById,c=this.map.get(b);c||(c=new hUb,this.map.set(b,c));c.add(a)};
$v.prototype.get=function(a,b){var c=this.map.get(a);return c?c.get(a,b):null};$v.prototype.remove=function(a){var b=a.trackById;this.map.get(b).remove(a)&&this.map.delete(b);return a};$v.prototype.clear=function(){this.map.clear()};hh.Object.defineProperties($v.prototype,{isEmpty:{configurable:!0,enumerable:!0,get:function(){return 0===this.map.size}}});var iUb=function(){};iUb.prototype.supports=function(a){return a instanceof Map||aka(a)};iUb.prototype.create=function(){return new jUb};var jUb=function(){this._records=new Map;this._removalsTail=this._removalsHead=this._additionsTail=this._additionsHead=this._changesTail=this._changesHead=this._previousMapHead=this._appendAfter=this._mapHead=null};jUb.prototype.forEachItem=function(a){var b;for(b=this._mapHead;null!==b;b=b._next)a(b)};var kUb=function(a,b){for(a=a._changesHead;null!==a;a=a._nextChanged)b(a)};
f=jUb.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||aka(a)))throw new uc(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 lUb(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)})};hh.Object.defineProperties(jUb.prototype,{isDirty:{configurable:!0,enumerable:!0,get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}}});var lUb=function(a){this.key=a;this._nextChanged=this._nextRemoved=this._nextAdded=this._prev=this._next=this._nextPrevious=this.currentValue=this.previousValue=null};var aw=function(a){this.factories=a};aw.prototype.find=function(a){var b=this.factories.find(function(c){return c.supports(a)});if(null!=b)return b;throw new uc(901,!1);};aw.\u0275prov=qc({token:aw,providedIn:"root",factory:function(){return new aw([new cUb])}});var bw=function(a){this.factories=a};bw.prototype.find=function(a){var b=this.factories.find(function(c){return c.supports(a)});if(b)return b;throw new uc(901,!1);};bw.\u0275prov=qc({token:bw,providedIn:"root",factory:function(){return new bw([new iUb])}});var mUb=Lja(null,"core",[]);var nUb=/\s+/,oUb=[],cw=function(a,b,c,d){this._iterableDiffers=a;this._keyValueDiffers=b;this._ngEl=c;this._renderer=d;this.initialClasses=oUb;this.stateMap=new Map};
cw.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()};
cw.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})};cw.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}};
cw.prototype._toggleClass=function(a,b){var c=this;a=a.trim();0<a.length&&a.split(nUb).forEach(function(d){b?c._renderer.addClass(c._ngEl.nativeElement,d):c._renderer.removeClass(c._ngEl.nativeElement,d)})};hh.Object.defineProperties(cw.prototype,{klass:{configurable:!0,enumerable:!0,set:function(a){this.initialClasses=null!=a?a.trim().split(nUb):oUb}},ngClass:{configurable:!0,enumerable:!0,set:function(a){this.rawClass="string"===typeof a?a.trim().split(nUb):a}}});
cw.\u0275fac=function(a){return new (a||cw)(C(aw),C(bw),C(vd),C(fv))};cw.\u0275dir=Kc({type:cw,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0});var pUb=function(a,b,c,d){this.$implicit=a;this.ngForOf=b;this.index=c;this.count=d};hh.Object.defineProperties(pUb.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 dw=function(a,b,c){this._viewContainer=a;this._template=b;this._differs=c;this._ngForOf=null;this._ngForOfDirty=!0;this._differ=null};dw.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)};
dw.prototype._applyChanges=function(a){var b=this,c=this._viewContainer;eUb(a,function(h,l,q){null==h.previousIndex?c.createEmbeddedView(b._template,new pUb(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}fUb(a,function(h){c.get(h.currentIndex).context.$implicit=h.item})};
hh.Object.defineProperties(dw.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)}}});dw.\u0275fac=function(a){return new (a||dw)(C(Rf),C(Qf),C(aw))};
dw.\u0275dir=Kc({type:dw,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});var ew=function(a,b){this._viewContainer=a;this._context=new qUb;this._elseViewRef=this._thenViewRef=this._elseTemplateRef=null;this._thenTemplateRef=b};
ew.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)))};
hh.Object.defineProperties(ew.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){mla("ngIfThen",a);this._thenTemplateRef=a;this._thenViewRef=null;this._updateView()}},ngIfElse:{configurable:!0,enumerable:!0,set:function(a){mla("ngIfElse",a);this._elseTemplateRef=a;this._elseViewRef=null;this._updateView()}}});ew.\u0275fac=function(a){return new (a||ew)(C(Rf),C(Qf))};
ew.\u0275dir=Kc({type:ew,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});var qUb=function(){this.ngIf=this.$implicit=null};var rUb=function(a,b){this._viewContainerRef=a;this._templateRef=b;this._created=!1};rUb.prototype.create=function(){this._created=!0;this._viewContainerRef.createEmbeddedView(this._templateRef)};rUb.prototype.destroy=function(){this._created=!1;this._viewContainerRef.clear()};var fw=function(){this._defaultViews=[];this._defaultUsed=!1;this._lastCaseCheckIndex=this._caseCount=0;this._lastCasesMatched=!1};fw.prototype._addCase=function(){return this._caseCount++};fw.prototype._addDefault=function(a){this._defaultViews.push(a)};
fw.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};
fw.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()}}};hh.Object.defineProperties(fw.prototype,{ngSwitch:{configurable:!0,enumerable:!0,set:function(a){this._ngSwitch=a;0===this._caseCount&&this._updateDefaultCases(!0)}}});fw.\u0275fac=function(a){return new (a||fw)};
fw.\u0275dir=Kc({type:fw,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0});var gw=function(a,b,c){this.ngSwitch=c;c._addCase();this._view=new rUb(a,b)};gw.prototype.ngDoCheck=function(){var a=this._view,b=this.ngSwitch._matchCase(this.ngSwitchCase);b&&!a._created?a.create():!b&&a._created&&a.destroy()};gw.\u0275fac=function(a){return new (a||gw)(C(Rf),C(Qf),C(fw,9))};gw.\u0275dir=Kc({type:gw,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0});
var hw=function(a,b,c){c._addDefault(new rUb(a,b))};hw.\u0275fac=function(a){return new (a||hw)(C(Rf),C(Qf),C(fw,9))};hw.\u0275dir=Kc({type:hw,selectors:[["","ngSwitchDefault",""]],standalone:!0});var iw=function(a,b,c){this._ngEl=a;this._differs=b;this._renderer=c;this._differ=this._ngStyle=null};iw.prototype.ngDoCheck=function(){if(this._differ){var a=this._differ.diff(this._ngStyle);a&&this._applyChanges(a)}};iw.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)};
iw.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)});kUb(a,function(c){return b._setStyle(c.key,c.currentValue)})};hh.Object.defineProperties(iw.prototype,{ngStyle:{configurable:!0,enumerable:!0,set:function(a){this._ngStyle=a;!this._differ&&a&&(this._differ=this._differs.find(a).create())}}});iw.\u0275fac=function(a){return new (a||iw)(C(vd),C(bw),C(fv))};
iw.\u0275dir=Kc({type:iw,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0});var jw=function(a){this._viewContainerRef=a;this.ngTemplateOutletInjector=this.ngTemplateOutlet=this.ngTemplateOutletContext=this._viewRef=null};
jw.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)};
jw.\u0275fac=function(a){return new (a||jw)(C(Rf))};jw.\u0275dir=Kc({type:jw,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Zc]});var sUb=function(){};sUb.prototype.createSubscription=function(a,b){return nfa(function(){return a.subscribe({next:b,error:function(c){throw c;}})})};sUb.prototype.dispose=function(a){nfa(function(){return a.unsubscribe()})};var tUb=function(){};tUb.prototype.createSubscription=function(a,b){return a.then(b,function(c){throw c;})};tUb.prototype.dispose=function(){};var uUb=new tUb,vUb=new sUb,kw=function(a){this._strategy=this._obj=this._subscription=this._latestValue=null;this._ref=a};f=kw.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(Sd(a))return uUb;if(rha(a))return vUb;throw eg();};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())};kw.\u0275fac=function(a){return new (a||kw)(C(Yv,16))};kw.\u0275pipe=Lc({name:"async",type:kw,pure:!1,standalone:!0});var lw=function(){};lw.prototype.transform=function(a){if(null==a)return null;if("string"!==typeof a)throw eg();return a.toLowerCase()};lw.\u0275fac=function(a){return new (a||lw)};lw.\u0275pipe=Lc({name:"lowercase",type:lw,pure:!0,standalone:!0});
var wUb=/(?:[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,mw=
function(){};mw.prototype.transform=function(a){if(null==a)return null;if("string"!==typeof a)throw eg();return a.replace(wUb,function(b){return b[0].toUpperCase()+b.slice(1).toLowerCase()})};mw.\u0275fac=function(a){return new (a||mw)};mw.\u0275pipe=Lc({name:"titlecase",type:mw,pure:!0,standalone:!0});var Mla=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,jg={},zla=/((?:[^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]*)/,Cla={};var xUb=new Rc("DATE_PIPE_DEFAULT_TIMEZONE"),yUb=new Rc("DATE_PIPE_DEFAULT_OPTIONS"),nw=function(a,b,c){this.locale=a;this.defaultTimezone=b;this.defaultOptions=c};
nw.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,x,A=null!=(x=null!=(q=null!=c?c:null==(l=this.defaultOptions)?void 0:l.timezone)?q:this.defaultTimezone)?x:void 0;return Gla(a,h,d||this.locale,A)}catch(B){throw eg();}};nw.\u0275fac=function(a){return new (a||nw)(C(mh,16),C(xUb,24),C(yUb,24))};nw.\u0275pipe=Lc({name:"date",type:nw,pure:!0,standalone:!0});var ow=function(){};ow.prototype.transform=function(a){return JSON.stringify(a,null,2)};ow.\u0275fac=function(a){return new (a||ow)};ow.\u0275pipe=Lc({name:"json",type:ow,pure:!1,standalone:!0});var pw=function(a){this.differs=a;this.keyValues=[];this.compareFn=Ola};pw.prototype.transform=function(a,b){var c=this;b=void 0===b?Ola: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};
pw.\u0275fac=function(a){return new (a||pw)(C(bw,16))};pw.\u0275pipe=Lc({name:"keyvalue",type:pw,pure:!1,standalone:!0});var Rla=/^(\d+)?\.((\d+)(-(\d+))?)?$/;var qw=function(a){this._locale=a};
qw.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=Td(c)[14][0],g=dg(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],x=-1!==l.indexOf(".")?l.split("."):[l.substring(0,l.lastIndexOf("0")+1),l.substring(l.lastIndexOf("0")+
1)],A=x[0],B=x[1]||"";d.posPre=A.substring(0,A.indexOf("#"));for(e=0;e<B.length;e++){var K=B.charAt(e);"0"===K?d.minFrac=d.maxFrac=e+1:"#"===K?d.maxFrac=e+1:d.posSuf+=K}var N=A.split(",");d.gSize=N[1]?N[1].length:0;d.lgSize=N[2]||N[1]?(N[2]||N[1]).length:0;if(q){var P=l.length-d.posPre.length-d.posSuf.length,Y=q.indexOf("#");d.negPre=q.substring(0,Y).replace(/'/g,"");d.negSuf=q.slice(Y+P).replace(/'/g,"")}else d.negPre=g+d.posPre,d.negSuf=d.posSuf;return Ula(a,d,c,b)}catch(X){throw eg();}};
qw.\u0275fac=function(a){return new (a||qw)(C(mh,16))};qw.\u0275pipe=Lc({name:"number",type:qw,pure:!0,standalone:!0});var rw=function(){};rw.prototype.transform=function(a,b,c){if(null==a)return null;if(!this.supports(a))throw eg();return a.slice(b,c)};rw.prototype.supports=function(a){return"string"===typeof a||Array.isArray(a)};rw.\u0275fac=function(a){return new (a||rw)};rw.\u0275pipe=Lc({name:"slice",type:rw,pure:!1,standalone:!0});var sw=function(){};sw.\u0275fac=function(a){return new (a||sw)};sw.\u0275mod=Ic({type:sw});sw.\u0275inj=rc({});var tw=function(a,b){this._renderer=a;this._elementRef=b;this.onChange=function(){};this.onTouched=function(){}};tw.prototype.setProperty=function(a,b){this._renderer.setProperty(this._elementRef.nativeElement,a,b)};tw.prototype.registerOnTouched=function(a){this.onTouched=a};tw.prototype.registerOnChange=function(a){this.onChange=a};tw.prototype.setDisabledState=function(a){this.setProperty("disabled",a)};tw.\u0275fac=function(a){return new (a||tw)(C(fv),C(vd))};tw.\u0275dir=Kc({type:tw});
var pg=function(){tw.apply(this,arguments)};U(pg,tw);pg.\u0275fac=function(){var a;return function(b){return(a||(a=td(pg)))(b||pg)}}();pg.\u0275dir=Kc({type:pg,features:[bf]});var uw=new Rc("NgValueAccessor");var zUb=function(a){return a.src};new Rc("ImageLoader",{providedIn:"root",factory:function(){return zUb}});var fh=new Rc("DocumentToken");new Rc("PRECONNECT_CHECK_BLOCKLIST");new Rc("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:function(){return new Set}});var AUb={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840]};new Rc("ImageConfig",{providedIn:"root",factory:function(){return AUb}});var BUb=null,CUb=function(){};var vw=function(){};vw.prototype.historyGo=function(){throw Error("bb");};vw.\u0275fac=function(a){return new (a||vw)};vw.\u0275prov=qc({token:vw,factory:function(){return Ac(ww)},providedIn:"platform"});var DUb=new Rc("Location Initialized"),ww=function(){this._doc=Ac(fh);this._location=window.location;this._history=window.history};U(ww,vw);
ww.prototype.onPopState=function(a){var b=EUb(this._doc,"window");b.addEventListener("popstate",a,!1);return function(){return b.removeEventListener("popstate",a)}};var FUb=function(a,b){var c=EUb(a._doc,"window");c.addEventListener("hashchange",b,!1);return function(){return c.removeEventListener("hashchange",b)}};f=ww.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};
hh.Object.defineProperties(ww.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}}});ww.\u0275fac=function(a){return new (a||ww)};ww.\u0275prov=qc({token:ww,factory:function(){return new ww},providedIn:"platform"});var xw=function(){};xw.prototype.historyGo=function(){throw Error("bb");};xw.\u0275fac=function(a){return new (a||xw)};xw.\u0275prov=qc({token:xw,factory:function(){return Ac(yw)},providedIn:"root"});var GUb=new Rc("appBaseHref"),yw=function(a,b){this._platformLocation=a;this._removeListenerFns=[];var c,d,e;this._baseHref=null!=(e=null!=(d=null!=b?b:BUb.getBaseHref())?d:null==(c=Ac(fh).location)?void 0:c.origin)?e:""};U(yw,xw);f=yw.prototype;f.ngOnDestroy=function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()};
f.onPopState=function(a){this._removeListenerFns.push(this._platformLocation.onPopState(a),FUb(this._platformLocation,a))};f.getBaseHref=function(){return this._baseHref};f.prepareExternalUrl=function(a){return Vla(this._baseHref,a)};f.path=function(a){var b=this._platformLocation.pathname+lg(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+lg(d)))};
f.replaceState=function(a,b,c,d){this._platformLocation.replaceState(a,b,this.prepareExternalUrl(c+lg(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)};yw.\u0275fac=function(a){return new (a||yw)(u(vw),u(GUb,8))};yw.\u0275prov=qc({token:yw,factory:yw.\u0275fac,providedIn:"root"});var zw=function(a,b){this._platformLocation=a;this._baseHref="";this._removeListenerFns=[];null!=b&&(this._baseHref=b)};U(zw,xw);f=zw.prototype;f.ngOnDestroy=function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()};f.onPopState=function(a){this._removeListenerFns.push(this._platformLocation.onPopState(a),FUb(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=Vla(this._baseHref,a);return 0<a.length?"#"+a:a};f.pushState=function(a,b,c,d){c=this.prepareExternalUrl(c+lg(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+lg(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)};zw.\u0275fac=function(a){return new (a||zw)(u(vw),u(GUb,8))};
zw.\u0275prov=qc({token:zw,factory:zw.\u0275fac});var Aw=function(a){var b=this;this._subject=new Gv;this._urlChangeListeners=[];this._urlChangeSubscription=null;this._locationStrategy=a;a=this._locationStrategy.getBaseHref();this._basePath=Xla(Wla(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=Aw.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 Wla(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+lg(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+lg(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})};Aw.\u0275fac=function(a){return new (a||Aw)(u(xw))};Aw.\u0275prov=qc({token:Aw,factory:function(){return new Aw(u(xw))},providedIn:"root"});new hv;var HUb=function(){};HUb.\u0275prov=qc({token:HUb,providedIn:"root",factory:function(){return new IUb}});var IUb=function(){var a=u(fh),b=window;this.document=a;this.window=b;this.offset=function(){return[0,0]}};IUb.prototype.setOffset=function(a){Array.isArray(a)?this.offset=function(){return a}:this.offset=a};IUb.prototype.getScrollPosition=function(){return JUb(this)?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]};
var KUb=function(a,b){JUb(a)&&a.window.scrollTo(b[0],b[1])},JUb=function(a){try{return!!a.window&&!!a.window.scrollTo&&"pageXOffset"in a.window}catch(b){return!1}};var LUb=function(){};var MUb={provide:uw,useExisting:wc(function(){return og}),multi:!0},NUb=new Rc("CompositionEventMode"),og=function(a,b,c){tw.call(this,a,b);this._compositionMode=c;this._composing=!1;null==this._compositionMode&&(this._compositionMode=!/android (\d+)/.test((BUb?window.navigator.userAgent:"").toLowerCase()))};U(og,tw);og.prototype.writeValue=function(a){this.setProperty("value",null==a?"":a)};og.prototype._handleInput=function(a){if(!this._compositionMode||this._compositionMode&&!this._composing)this.onChange(a)};
og.prototype._compositionStart=function(){this._composing=!0};og.prototype._compositionEnd=function(a){this._composing=!1;this._compositionMode&&this.onChange(a)};og.\u0275fac=function(a){return new (a||og)(C(fv),C(vd),C(NUb,8))};
og.\u0275dir=Kc({type:og,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(a,b){a&1&&M("input",function(c){return b._handleInput(c.target.value)})("blur",function(){return b.onTouched()})("compositionstart",function(){return b._compositionStart()})("compositionend",
function(c){return b._compositionEnd(c.target.value)})},features:[Gf([MUb]),bf]});var Bw=new Rc("NgValidators"),OUb=new Rc("NgAsyncValidators"),PUb=function(a){return $la(a)};var Cw=function(){this._rawValidators=[];this._rawAsyncValidators=[];this._onDestroyCallbacks=[]};f=Cw.prototype;f._setValidators=function(a){this._rawValidators=a||[];this._composedValidatorFn=jma(this._rawValidators)};f._setAsyncValidators=function(a){this._rawAsyncValidators=a||[];this._composedAsyncValidatorFn=lma(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};
hh.Object.defineProperties(Cw.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 Dw=function(){Cw.apply(this,arguments);this.valueAccessor=this.name=this._parent=null};U(Dw,Cw);var Ew=function(){Cw.apply(this,arguments)};U(Ew,Cw);hh.Object.defineProperties(Ew.prototype,{formDirective:{configurable:!0,enumerable:!0,get:function(){return null}},path:{configurable:!0,enumerable:!0,get:function(){return null}}});var QUb=function(a){this._cd=a};
hh.Object.defineProperties(QUb.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 Fw=function(a){this._cd=a};U(Fw,QUb);Fw.\u0275fac=function(a){return new (a||Fw)(C(Dw,2))};
Fw.\u0275dir=Kc({type:Fw,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(a,b){a&2&&qf("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:[bf]});var Gw=function(a){this._cd=a};U(Gw,QUb);Gw.\u0275fac=function(a){return new (a||Gw)(C(Ew,10))};
Gw.\u0275dir=Kc({type:Gw,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(a,b){a&2&&qf("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:[bf]});var RUb=new Rc("CallSetDisabledState",{providedIn:"root",factory:function(){return"whenDisabledForLegacyCode"}});var Hw=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)},wma=function(a,b){a._assignValidators(b)},xma=function(a,b){a._assignAsyncValidators(b)},SUb=function(a){a=a._rawValidators;return Array.isArray(a)?a.includes(PUb):a===PUb},zma=function(a,b){b=void 0===b?{}:b;a.touched=!0;a._parent&&
!b.onlySelf&&zma(a._parent,b)},TUb=function(a,b){b=void 0===b?{}:b;a.touched=!1;a._pendingTouched=!1;a._forEachChild(function(c){TUb(c,{onlySelf:!0})});a._parent&&!b.onlySelf&&a._parent._updateTouched(b)},Ama=function(a,b){b=void 0===b?{}:b;a.pristine=!1;a._parent&&!b.onlySelf&&Ama(a._parent,b)},UUb=function(a,b){b=void 0===b?{}:b;a.pristine=!0;a._pendingDirty=!1;a._forEachChild(function(c){UUb(c,{onlySelf:!0})});a._parent&&!b.onlySelf&&a._parent._updatePristine(b)};f=Hw.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}))});ng(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&&(ng(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 ng=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&&ng(a._parent,b)};f=Hw.prototype;
f._updateTreeValidity=function(a){a=void 0===a?{emitEvent:!0}:a;this._forEachChild(function(b){return b._updateTreeValidity(a)});ng(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=ema(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 Gv;this.statusChanges=new Gv};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){qg(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)?jma(a):a||null};f._assignAsyncValidators=function(a){a=this._rawAsyncValidators=Array.isArray(a)?a.slice():a;this._composedAsyncValidatorFn=Array.isArray(a)?lma(a):a||null};
hh.Object.defineProperties(Hw.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 Iw=function(a,b,c){var d=Hw.call,e=Ema(b);c=(qg(b)?b.asyncValidators:c)||null;d.call(Hw,this,e,c);this.controls=a;this._initObservables();this._setUpdateStrategy(b);this._setUpControls();ng(this,{onlySelf:!0,emitEvent:!!this.asyncValidator})};U(Iw,Hw);var VUb=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=Iw.prototype;
f.addControl=function(a){var b=void 0===b?{}:b;VUb(this,a);ng(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];ng(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;Fma(this,a);Object.keys(a).forEach(function(d){var e=c.controls;if(!Object.keys(e).length)throw new uc(1E3,"");if(!e[d])throw new uc(1001,"");c.controls[d].setValue(a[d],{onlySelf:!0,emitEvent:b.emitEvent})});ng(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);ng(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&&ng(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 WUb={provide:Ew,useExisting:wc(function(){return Jw})},XUb=Promise.resolve(),Jw=function(a,b,c){Ew.call(this);this.callSetDisabledState=c;this.submitted=!1;this._directives=new Set;this.ngSubmit=new Gv;this.form=new Iw({},jma(a),lma(b))};U(Jw,Ew);f=Jw.prototype;f.ngAfterViewInit=function(){this._setUpdateStrategy()};
f.addControl=function(a){var b=this;XUb.then(function(){var c=b._findContainer(a.path);a.control=VUb(c,a.name,a.control);mg(a.control,a,b.callSetDisabledState);ng(a.control,{emitEvent:!1});b._directives.add(a)})};f.removeControl=function(a){var b=this;XUb.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;XUb.then(function(){c.form.get(a.path).setValue(b)})};f.setValue=function(a){this.control.setValue(a)};
f.onSubmit=function(a){this.submitted=!0;Cma(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};
hh.Object.defineProperties(Jw.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}}});Jw.\u0275fac=function(a){return new (a||Jw)(C(Bw,10),C(OUb,10),C(RUb,8))};
Jw.\u0275dir=Kc({type:Jw,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(a,b){a&1&&M("submit",function(c){return b.onSubmit(c)})("reset",function(){return b.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Gf([WUb]),bf]});var Kw=function(a,b,c){a=void 0===a?null:a;var d=Hw.call,e=Ema(b);c=(qg(b)?b.asyncValidators:c)||null;d.call(Hw,this,e,c);this.defaultValue=null;this._onChange=[];this._pendingChange=!1;this._applyFormState(a);this._setUpdateStrategy(b);this._initObservables();ng(this,{onlySelf:!0,emitEvent:!!this.asyncValidator});qg(b)&&(b.nonNullable||b.initialValueIsDefault)&&(Gma(a)?this.defaultValue=a.value:this.defaultValue=a)};U(Kw,Hw);f=Kw.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)});ng(this,b)};f.reset=function(a,b){a=void 0===a?this.defaultValue:a;b=void 0===b?{}:b;this._applyFormState(a);UUb(this,b);TUb(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&&Ama(this),this._pendingTouched&&zma(this),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1};f._applyFormState=function(a){Gma(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 YUb={provide:Dw,useExisting:wc(function(){return Lw})},ZUb=Promise.resolve(),Lw=function(a,b,c,d,e,g){Dw.call(this);this._changeDetectorRef=e;this.callSetDisabledState=g;this.control=new Kw;this._registered=!1;this.name="";this.update=new Gv;this._parent=a;this._setValidators(b);this._setAsyncValidators(c);this.valueAccessor=Dma(d)};U(Lw,Dw);f=Lw.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);Bma(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(){mg(this.control,this,this.callSetDisabledState);ng(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;ZUb.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&&ag(a);ZUb.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?nma(a,this._parent):[a]};
hh.Object.defineProperties(Lw.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}}});Lw.\u0275fac=function(a){return new (a||Lw)(C(Ew,9),C(Bw,10),C(OUb,10),C(uw,10),C(Yv,8),C(RUb,8))};
Lw.\u0275dir=Kc({type:Lw,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Gf([YUb]),bf,Zc]});var Mw=function(){};Mw.\u0275fac=function(a){return new (a||Mw)};Mw.\u0275dir=Kc({type:Mw,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]});var $Ub={provide:uw,useExisting:wc(function(){return Nw}),multi:!0},Nw=function(){pg.apply(this,arguments)};U(Nw,pg);Nw.prototype.writeValue=function(a){this.setProperty("value",null==a?"":a)};Nw.prototype.registerOnChange=function(a){this.onChange=function(b){a(""==b?null:parseFloat(b))}};Nw.\u0275fac=function(){var a;return function(b){return(a||(a=td(Nw)))(b||Nw)}}();
Nw.\u0275dir=Kc({type:Nw,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(a,b){a&1&&M("input",function(c){return b.onChange(c.target.value)})("blur",function(){return b.onTouched()})},features:[Gf([$Ub]),bf]});var aVb={provide:uw,useExisting:wc(function(){return Ow}),multi:!0},Pw=function(){};Pw.\u0275fac=function(a){return new (a||Pw)};Pw.\u0275mod=Ic({type:Pw});Pw.\u0275inj=rc({});var Qw=function(){this._accessors=[]};Qw.prototype.add=function(a,b){this._accessors.push([a,b])};Qw.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}};
Qw.prototype.select=function(a){var b=this;this._accessors.forEach(function(c){b._isSameGroup(c,a)&&c[1]!==a&&c[1].writeValue(a.value)})};Qw.prototype._isSameGroup=function(a,b){return a[0].control?a[0]._parent===b._control._parent&&a[1].name===b.name:!1};Qw.\u0275fac=function(a){return new (a||Qw)};Qw.\u0275prov=qc({token:Qw,factory:Qw.\u0275fac,providedIn:Pw});
var Ow=function(a,b,c,d){pg.call(this,a,b);this._registry=c;this._injector=d;this.setDisabledStateFired=!1;this.onChange=function(){};var e;this.callSetDisabledState=null!=(e=Ac(RUb,{optional:!0}))?e:"whenDisabledForLegacyCode"};U(Ow,pg);f=Ow.prototype;f.ngOnInit=function(){this._control=this._injector.get(Dw);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)};
Ow.\u0275fac=function(a){return new (a||Ow)(C(fv),C(vd),C(Qw),C(bv))};Ow.\u0275dir=Kc({type:Ow,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(a,b){a&1&&M("change",function(){return b.onChange()})("blur",function(){return b.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[Gf([aVb]),bf]});var bVb=new Rc("NgModelWithFormControlWarning"),cVb={provide:Dw,useExisting:wc(function(){return Rw})},Rw=function(a,b,c,d,e){Dw.call(this);this._ngModelWarningConfig=d;this.callSetDisabledState=e;this.update=new Gv;this._ngModelWarningSent=!1;this._setValidators(a);this._setAsyncValidators(b);this.valueAccessor=Dma(c)};U(Rw,Dw);
Rw.prototype.ngOnChanges=function(a){if(this._isControlChanged(a)){var b=a.form.previousValue;b&&uma(b,this);mg(this.form,this,this.callSetDisabledState);ng(this.form,{emitEvent:!1})}Bma(a,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)};Rw.prototype.ngOnDestroy=function(){this.form&&uma(this.form,this)};Rw.prototype.viewToModelUpdate=function(a){this.viewModel=a;this.update.emit(a)};Rw.prototype._isControlChanged=function(a){return a.hasOwnProperty("form")};
hh.Object.defineProperties(Rw.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}}});Rw.\u0275fac=function(a){return new (a||Rw)(C(Bw,10),C(OUb,10),C(uw,10),C(bVb,8),C(RUb,8))};
Rw.\u0275dir=Kc({type:Rw,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[Gf([cVb]),bf,Zc]});var dVb={provide:Ew,useExisting:wc(function(){return Sw})},Sw=function(a,b,c){Ew.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 Gv;this._setValidators(a);this._setAsyncValidators(b)};U(Sw,Ew);f=Sw.prototype;f.ngOnChanges=function(a){a.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)};
f.ngOnDestroy=function(){this.form&&(tma(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(function(){}))};f.addControl=function(a){var b=this.form.get(a.path);mg(b,a,this.callSetDisabledState);ng(b,{emitEvent:!1});this.directives.push(a);return b};f.removeControl=function(a){uma(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;Cma(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&&(uma(c||null,b),d instanceof Kw&&(mg(d,b,a.callSetDisabledState),b.control=d))});this.form._updateTreeValidity({emitEvent:!1})};
f._setUpFormContainer=function(a){var b=this.form.get(a.path);oma(b,a);ng(b,{emitEvent:!1})};f._cleanUpFormContainer=function(a){if(this.form){var b=this.form.get(a.path);b&&tma(b,a)&&ng(b,{emitEvent:!1})}};f._updateRegistrations=function(){this.form._registerOnCollectionChange(this._onCollectionChange);this._oldForm&&this._oldForm._registerOnCollectionChange(function(){})};f._updateValidators=function(){oma(this.form,this);this._oldForm&&tma(this._oldForm,this)};f._checkFormPresent=function(){};
hh.Object.defineProperties(Sw.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[]}}});Sw.\u0275fac=function(a){return new (a||Sw)(C(Bw,10),C(OUb,10),C(RUb,8))};
Sw.\u0275dir=Kc({type:Sw,selectors:[["","formGroup",""]],hostBindings:function(a,b){a&1&&M("submit",function(c){return b.onSubmit(c)})("reset",function(){return b.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Gf([dVb]),bf,Zc]});var eVb={provide:Dw,useExisting:wc(function(){return Tw})},Tw=function(a,b,c,d,e){Dw.call(this);this._ngModelWarningConfig=e;this._added=!1;this.name=null;this.update=new Gv;this._ngModelWarningSent=!1;this._parent=a;this._setValidators(b);this._setAsyncValidators(c);this.valueAccessor=Dma(d)};U(Tw,Dw);f=Tw.prototype;f.ngOnChanges=function(a){this._added||this._setUpControl();Bma(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};
hh.Object.defineProperties(Tw.prototype,{isDisabled:{configurable:!0,enumerable:!0,set:function(){}},path:{configurable:!0,enumerable:!0,get:function(){return nma(null==this.name?this.name:this.name.toString(),this._parent)}},formDirective:{configurable:!0,enumerable:!0,get:function(){return this._parent?this._parent.formDirective:null}}});Tw.\u0275fac=function(a){return new (a||Tw)(C(Ew,13),C(Bw,10),C(OUb,10),C(uw,10),C(bVb,8))};
Tw.\u0275dir=Kc({type:Tw,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[Gf([eVb]),bf,Zc]});var Uw=function(){this._validator=bma};Uw.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):bma,this._onChange&&this._onChange())};Uw.prototype.validate=function(a){return this._validator(a)};Uw.prototype.registerOnValidatorChange=function(a){this._onChange=a};Uw.prototype.enabled=function(a){return null!=a};Uw.\u0275fac=function(a){return new (a||Uw)};
Uw.\u0275dir=Kc({type:Uw,features:[Zc]});var fVb={provide:Bw,useExisting:wc(function(){return Vw}),multi:!0},Vw=function(){Uw.apply(this,arguments);this.inputName="min";this.normalizeInput=function(a){return"number"===typeof a?a:parseFloat(a)};this.createValidator=function(a){return Zla(a)}};U(Vw,Uw);Vw.\u0275fac=function(){var a;return function(b){return(a||(a=td(Vw)))(b||Vw)}}();
Vw.\u0275dir=Kc({type:Vw,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&&gf("min",b._enabled?b.min:null)},inputs:{min:"min"},features:[Gf([fVb]),bf]});var gVb={provide:Bw,useExisting:wc(function(){return Ww}),multi:!0},Ww=function(){Uw.apply(this,arguments);this.inputName="required";this.normalizeInput=ag;this.createValidator=function(){return $la}};
U(Ww,Uw);Ww.prototype.enabled=function(a){return a};Ww.\u0275fac=function(){var a;return function(b){return(a||(a=td(Ww)))(b||Ww)}}();Ww.\u0275dir=Kc({type:Ww,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(a,b){a&2&&gf("required",b._enabled?"":null)},inputs:{required:"required"},features:[Gf([gVb]),bf]});
var hVb={provide:Bw,useExisting:wc(function(){return Xw}),multi:!0},Xw=function(){Uw.apply(this,arguments);this.inputName="maxlength";this.normalizeInput=function(a){return"number"===typeof a?a:parseInt(a,10)};this.createValidator=function(a){return ama(a)}};U(Xw,Uw);Xw.\u0275fac=function(){var a;return function(b){return(a||(a=td(Xw)))(b||Xw)}}();
Xw.\u0275dir=Kc({type:Xw,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(a,b){a&2&&gf("maxlength",b._enabled?b.maxlength:null)},inputs:{maxlength:"maxlength"},features:[Gf([hVb]),bf]});var iVb={provide:Bw,useExisting:wc(function(){return Yw}),multi:!0},Yw=function(){Uw.apply(this,arguments);this.inputName="pattern";this.normalizeInput=function(a){return a};this.createValidator=function(a){return cma(a)}};
U(Yw,Uw);Yw.\u0275fac=function(){var a;return function(b){return(a||(a=td(Yw)))(b||Yw)}}();Yw.\u0275dir=Kc({type:Yw,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(a,b){a&2&&gf("pattern",b._enabled?b.pattern:null)},inputs:{pattern:"pattern"},features:[Gf([iVb]),bf]});var Zw=function(){};Zw.\u0275fac=function(a){return new (a||Zw)};Zw.\u0275mod=Ic({type:Zw});Zw.\u0275inj=rc({imports:[Pw]});var $w=function(){};$w.\u0275fac=function(a){return new (a||$w)};$w.\u0275mod=Ic({type:$w});$w.\u0275inj=rc({imports:[Zw]});var ax=function(){};ax.\u0275fac=function(a){return new (a||ax)};ax.\u0275mod=Ic({type:ax});ax.\u0275inj=rc({imports:[Zw]});new hv;var Hma,Ima="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 rg;var Mma,tg;var Oma;var jVb;try{jVb="undefined"!==typeof Intl&&Intl.v8BreakIterator}catch(a){jVb=!1}
var bx=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&&!jVb)&&"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};bx.\u0275fac=function(a){return new (a||bx)(u(dv))};bx.\u0275prov=qc({token:bx,factory:bx.\u0275fac,providedIn:"root"});var cx=function(a){this._platform=a};cx.prototype.isDisabled=function(a){return a.hasAttribute("disabled")};cx.prototype.isVisible=function(a){return!!(a.offsetWidth||a.offsetHeight||"function"===typeof a.getClientRects&&a.getClientRects().length)&&"visible"===getComputedStyle(a).visibility};
var kVb=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===Sma(c)||!a.isVisible(c)))return!1;c=b.nodeName.toLowerCase();var d=Sma(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};
cx.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")||Rma(a);return c&&!this.isDisabled(a)&&((null==b?void 0:b.ignoreVisibility)||this.isVisible(a))};cx.\u0275fac=function(a){return new (a||cx)(u(bx))};cx.\u0275prov=qc({token:cx,factory:cx.\u0275fac,providedIn:"root"});var dx=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 lVb(g)};this.endAnchorListener=function(){return mVb(g)};this._enabled=!0;(void 0===e?0:e)||nVb(this)};
dx.prototype.destroy=function(){var a=this._startAnchor,b=this._endAnchor;a&&(a.removeEventListener("focus",this.startAnchorListener),a.remove());b&&(b.removeEventListener("focus",this.endAnchorListener),b.remove());this._startAnchor=this._endAnchor=null;this._hasAttached=!1};
var nVb=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))},oVb=function(a){return new Promise(function(b){a._executeOnStable(function(){return b(a.focusInitialElement())})})};
dx.prototype._getRegionBoundary=function(a){var b=this._element.querySelectorAll("[cdk-focus-region-"+a+"], [cdkFocusRegion"+(a+"], [cdk-focus-")+(a+"]"));return"start"==a?b.length?b[0]:this._getFirstTabbableElement(this._element):b.length?b[b.length-1]:this._getLastTabbableElement(this._element)};
dx.prototype.focusInitialElement=function(){var a=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(a){if(!this._checker.isFocusable(a))return a=this._getFirstTabbableElement(a),null==a||a.focus(void 0),!!a;a.focus(void 0);return!0}return mVb(this)};var mVb=function(a){(a=a._getRegionBoundary("start"))&&a.focus(void 0);return!!a},lVb=function(a){(a=a._getRegionBoundary("end"))&&a.focus(void 0);return!!a};f=dx.prototype;f.hasAttached=function(){return this._hasAttached};
f._getFirstTabbableElement=function(a){if(this._checker.isFocusable(a)&&kVb(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)&&kVb(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 pVb=function(a,b){a._startAnchor&&a._endAnchor&&(a._toggleAnchorTabIndex(b,a._startAnchor),a._toggleAnchorTabIndex(b,a._endAnchor))};
dx.prototype._executeOnStable=function(a){this._ngZone.isStable?a():this._ngZone.onStable.pipe(Ge()).subscribe(a)};hh.Object.defineProperties(dx.prototype,{enabled:{configurable:!0,enumerable:!0,get:function(){return this._enabled},set:function(a){this._enabled=a;this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(a,this._startAnchor),this._toggleAnchorTabIndex(a,this._endAnchor))}}});var ex=function(a,b,c){this._checker=a;this._ngZone=b;this._document=c};
ex.prototype.create=function(a,b){return new dx(a,this._checker,this._ngZone,this._document,void 0===b?!1:b)};ex.\u0275fac=function(a){return new (a||ex)(u(cx),u(We),u(fh))};ex.\u0275prov=qc({token:ex,factory:ex.\u0275fac,providedIn:"root"});var fx=function(a,b){this._elementRef=a;this._focusTrapFactory=b;this._previouslyFocusedElement=null;this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)};f=fx.prototype;
f.ngOnDestroy=function(){this.focusTrap.destroy();this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)};f.ngAfterContentInit=function(){nVb(this.focusTrap);this.autoCapture&&this._captureFocus()};f.ngDoCheck=function(){this.focusTrap.hasAttached()||nVb(this.focusTrap)};f.ngOnChanges=function(a){(a=a.autoCapture)&&!a.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()};
f._captureFocus=function(){this._previouslyFocusedElement=ug();oVb(this.focusTrap)};hh.Object.defineProperties(fx.prototype,{enabled:{configurable:!0,enumerable:!0,get:function(){return this.focusTrap.enabled},set:function(a){this.focusTrap.enabled=xg(a)}},autoCapture:{configurable:!0,enumerable:!0,get:function(){return this._autoCapture},set:function(a){this._autoCapture=xg(a)}}});fx.\u0275fac=function(a){return new (a||fx)(C(vd),C(ex),C(fh))};
fx.\u0275dir=Kc({type:fx,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[Zc]});var qVb=new Rc("cdk-input-modality-detector-options"),rVb={ignoreKeys:[18,17,224,91,16]},gx=sg({passive:!0,capture:!0}),hx=function(a,b,c,d){var e=this;this._platform=a;this._mostRecentTarget=null;this._modality=new E.BehaviorSubject(null);this._lastTouchMs=0;this._onKeydown=function(g){var h,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=vg(g))};this._onMousedown=function(g){650>Date.now()-e._lastTouchMs||
(e._modality.next(Uma(g)?"keyboard":"mouse"),e._mostRecentTarget=vg(g))};this._onTouchstart=function(g){Vma(g)?e._modality.next("keyboard"):(e._lastTouchMs=Date.now(),e._modality.next("touch"),e._mostRecentTarget=vg(g))};this._options=Object.assign({},rVb,d);this.modalityDetected=this._modality.pipe(Qe(1));this.modalityDetected.pipe(Fe());a.isBrowser&&b.runOutsideAngular(function(){c.addEventListener("keydown",e._onKeydown,gx);c.addEventListener("mousedown",e._onMousedown,gx);c.addEventListener("touchstart",
e._onTouchstart,gx)})};hx.prototype.ngOnDestroy=function(){this._modality.complete();this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,gx),document.removeEventListener("mousedown",this._onMousedown,gx),document.removeEventListener("touchstart",this._onTouchstart,gx))};hh.Object.defineProperties(hx.prototype,{mostRecentModality:{configurable:!0,enumerable:!0,get:function(){return this._modality.value}}});
hx.\u0275fac=function(a){return new (a||hx)(u(bx),u(We),u(fh),u(qVb,8))};hx.\u0275prov=qc({token:hx,factory:hx.\u0275fac,providedIn:"root"});var sVb=new Rc("cdk-focus-monitor-default-options"),tVb=sg({passive:!0,capture:!0}),ix=function(a,b,c,d,e){var g=this;this._ngZone=a;this._platform=b;this._inputModalityDetector=c;this._origin=null;this._originFromTouchInteraction=this._windowFocused=!1;this._elementInfo=new Map;this._monitoredElementCount=0;this._rootNodeFocusListenerCount=new Map;this._windowFocusListener=function(){g._windowFocused=!0;g._windowFocusTimeoutId=window.setTimeout(function(){return g._windowFocused=!1})};this._stopInputModalityDetector=
new E.Subject;this._rootNodeFocusAndBlurListener=function(h){for(var l=vg(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};
ix.prototype.monitor=function(a,b){b=void 0===b?!1:b;a=zg(a);if(!this._platform.isBrowser||1!==a.nodeType)return(0,E.of)(null);var c=Pma(a)||this._getDocument(),d=this._elementInfo.get(a);if(d)return b&&(d.checkChildren=!0),d.subject;b={checkChildren:b,subject:new E.Subject,rootNode:c};this._elementInfo.set(a,b);this._registerGlobalListeners(b);return b.subject};
ix.prototype.stopMonitoring=function(a){a=zg(a);var b=this._elementInfo.get(a);b&&(b.subject.complete(),this._setClasses(a),this._elementInfo.delete(a),this._removeGlobalListeners(b))};var jx=function(a,b,c,d){b=zg(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=ix.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=vg(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,tVb);c.addEventListener("blur",b._rootNodeFocusAndBlurListener,tVb)});this._rootNodeFocusListenerCount.set(c,a+1);1===++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(function(){b._getWindow().addEventListener("focus",b._windowFocusListener)}),
this._inputModalityDetector.modalityDetected.pipe(Te(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,tVb),a.removeEventListener("blur",this._rootNodeFocusAndBlurListener,tVb),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};ix.\u0275fac=function(a){return new (a||ix)(u(We),u(bx),u(hx),u(fh,8),u(sVb,8))};ix.\u0275prov=qc({token:ix,factory:ix.\u0275fac,providedIn:"root"});
var kx=function(a,b){this._elementRef=a;this._focusMonitor=b;this._focusOrigin=null;this.cdkFocusChange=new Gv};kx.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)})};kx.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef);this._monitorSubscription&&this._monitorSubscription.unsubscribe()};
hh.Object.defineProperties(kx.prototype,{focusOrigin:{configurable:!0,enumerable:!0,get:function(){return this._focusOrigin}}});kx.\u0275fac=function(a){return new (a||kx)(C(vd),C(ix))};kx.\u0275dir=Kc({type:kx,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]});var lx=function(){};lx.prototype.attach=function(a){this._attachedHost=a;return a.attach(this)};lx.prototype.detach=function(){var a=this._attachedHost;null!=a&&(this._attachedHost=null,a.detach())};hh.Object.defineProperties(lx.prototype,{isAttached:{configurable:!0,enumerable:!0,get:function(){return null!=this._attachedHost}}});var mx=function(a,b,c,d,e){this.component=a;this.viewContainerRef=b;this.injector=c;this.componentFactoryResolver=d;this.projectableNodes=e};U(mx,lx);
var nx=function(a,b,c,d){this.templateRef=a;this.viewContainerRef=b;this.context=c;this.injector=d};U(nx,lx);nx.prototype.attach=function(a,b){this.context=b=void 0===b?this.context:b;return lx.prototype.attach.call(this,a)};nx.prototype.detach=function(){this.context=void 0;return lx.prototype.detach.call(this)};hh.Object.defineProperties(nx.prototype,{origin:{configurable:!0,enumerable:!0,get:function(){return this.templateRef.elementRef}}});var ox=function(){this._isDisposed=!1};f=ox.prototype;
f.hasAttached=function(){return!!this._attachedPortal};f.attach=function(a){if(a instanceof mx)return this._attachedPortal=a,this.attachComponentPortal(a);if(a instanceof nx)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 px=function(a,b,c,d,e){this._isDisposed=!1;this.outletElement=a;this._componentFactoryResolver=b;this._appRef=c;this._defaultInjector=d;this._document=e};U(px,ox);
px.prototype.attachComponentPortal=function(a){var b=this,c=rSb(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||SRb),WTb(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};px.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};
px.prototype.dispose=function(){ox.prototype.dispose.call(this);this.outletElement.remove()};px.prototype._getComponentRootNode=function(a){return a.hostView.rootNodes[0]};var qx=function(a,b){nx.call(this,a,b)};U(qx,nx);qx.\u0275fac=function(a){return new (a||qx)(C(Qf),C(Rf))};qx.\u0275dir=Kc({type:qx,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[bf]});var rx=function(a,b,c){this._isDisposed=!1;this._componentFactoryResolver=a;this._viewContainerRef=b;this._isInitialized=!1;this.attached=new Gv;this._document=c};U(rx,ox);f=rx.prototype;f.ngOnInit=function(){this._isInitialized=!0};
f.ngOnDestroy=function(){ox.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=rSb(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]);ox.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});ox.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};
hh.Object.defineProperties(rx.prototype,{portal:{configurable:!0,enumerable:!0,get:function(){return this._attachedPortal},set:function(a){if(!this.hasAttached()||a||this._isInitialized)this.hasAttached()&&ox.prototype.detach.call(this),a&&ox.prototype.attach.call(this,a),this._attachedPortal=a||null}}});rx.\u0275fac=function(a){return new (a||rx)(C(cv),C(Rf),C(fh))};
rx.\u0275dir=Kc({type:rx,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[bf]});var sx=function(){};sx.\u0275fac=function(a){return new (a||sx)};sx.\u0275mod=Ic({type:sx});sx.\u0275inj=rc({});var uVb=function(){};U(uVb,CUb);var tx=function(){};U(tx,uVb);var vVb=function(a,b,c){a.addEventListener(b,c);return function(){a.removeEventListener(b,c)}};tx.prototype.dispatchEvent=function(a,b){a.dispatchEvent(b)};tx.prototype.remove=function(a){a.parentNode&&a.parentNode.removeChild(a)};tx.prototype.createElement=function(a,b){b=b||document;return b.createElement(a)};var EUb=function(a,b){return"window"===b?window:"document"===b?a:"body"===b?a.body:null};
tx.prototype.getBaseHref=function(){var a=(wVb=wVb||document.querySelector("base"))?wVb.getAttribute("href"):null;null==a?a=null:(xVb=xVb||document.createElement("a"),xVb.setAttribute("href",a),a=xVb.pathname,a="/"===a.charAt(0)?a:"/"+a);return a};var wVb=null,xVb;var yVb=function(){},NTb=function(a){Id.getAngularTestability=function(b,c){b=a.findTestabilityInTree(b,void 0===c?!0:c);if(null==b)throw new uc(5103,!1);return b};Id.getAllAngularTestabilities=function(){return Array.from(a._applications.values())};Id.getAllAngularRootElements=function(){return Array.from(a._applications.keys())};Id.frameworkStabilizers||(Id.frameworkStabilizers=[]);Id.frameworkStabilizers.push(function(b){var c=Id.getAllAngularTestabilities(),d=c.length,e=!1,g=function(h){e=e||
h;d--;0==d&&b(e)};c.forEach(function(h){h.whenStable(g)})})};yVb.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 ux=function(){};ux.prototype.build=function(){return new XMLHttpRequest};ux.\u0275fac=function(a){return new (a||ux)};ux.\u0275prov=qc({token:ux,factory:ux.\u0275fac});var zVb=new Rc("EventManagerPlugins"),vx=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()};vx.prototype.addEventListener=function(a,b,c){return this._findPluginFor(b).addEventListener(a,b,c)};vx.prototype.getZone=function(){return this._zone};
vx.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 uc(5101,!1);this._eventNameToPlugin.set(a,b);return b};vx.\u0275fac=function(a){return new (a||vx)(u(zVb),u(We))};vx.\u0275prov=qc({token:vx,factory:vx.\u0275fac});var AVb=function(a){this._doc=a};var wx=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=BVb(this);this.platformIsServer="server"===d;CVb(this)},FVb=function(a,b){b=k(b);for(var c=b.next();!c.done;c=b.next())if(c=c.value,1===DVb(a,c,1))for(var d=a,e=k(d.hostNodes),g=e.next();!g.done;g=e.next())EVb(d,g.value,c)};
wx.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())GVb(this,b.value);CVb(this)};
var GVb=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)},BVb=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},DVb=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},EVb=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})},CVb=function(a){var b=a.hostNodes;b.clear();b.add(a.doc.head)};
wx.\u0275fac=function(a){return new (a||wx)(u(fh),u(VRb),u(WRb,8),u(dv))};wx.\u0275prov=qc({token:wx,factory:wx.\u0275fac});var HVb={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/"},Wma=/%COMP%/g,IVb=new Rc("RemoveStylesOnCompDestory",{providedIn:"root",factory:function(){return!1}}),yx=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 xx(a,e,h,this.platformIsServer)};yx.prototype.createRenderer=function(a,b){if(!a||!b)return this.defaultRenderer;this.platformIsServer&&3===b.encapsulation&&(b=Object.assign({},b,{encapsulation:0}));b=JVb(this,a,b);b instanceof KVb?(FVb(b.sharedStylesHost,b.styles),b.rendererUsageCount++,b.setAttribute(a,b.hostAttr,"")):b instanceof zx&&(FVb(b.sharedStylesHost,b.styles),b.rendererUsageCount++);return b};
var JVb=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,x=a.platformIsServer;switch(c.encapsulation){case 0:e=new KVb(h,l,c,a.appId,q,e,g,x);break;case 3:return new LVb(h,l,b,c,e,g,a.nonce,x);default:e=new zx(h,l,c,q,e,g,x)}e.onDestroy=function(){return d.delete(c.id)};d.set(c.id,e)}return e};yx.prototype.ngOnDestroy=function(){this.rendererByCompId.clear()};
yx.\u0275fac=function(a){return new (a||yx)(u(vx),u(wx),u(VRb),u(IVb),u(fh),u(dv),u(We),u(WRb))};yx.\u0275prov=qc({token:yx,factory:yx.\u0275fac});var xx=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=xx.prototype;f.destroy=function(){};f.createElement=function(a,b){return b?this.doc.createElementNS(HVb[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 uc(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=HVb[d])?a.setAttributeNS(d,b,c):a.setAttribute(b,c)):a.setAttribute(b,c)};f.removeAttribute=function(a,b,c){if(c){var d=HVb[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=EUb(this.doc,a),!a))throw Error("cb`"+a+"`"+b);return this.eventManager.addEventListener(a,b,MVb(this,c))};
var MVb=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()}},LVb=function(a,b,c,d,e,g,h,l){xx.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())EVb(a,b,e.value);d=Xma(d.id,d.styles);d=k(d);for(a=d.next();!a.done;a=d.next())a=
a.value,b=document.createElement("style"),h&&b.setAttribute("nonce",h),b.textContent=a,this.shadowRoot.appendChild(b)};U(LVb,xx);var NVb=function(a,b){return b===a.hostEl?a.shadowRoot:b};f=LVb.prototype;f.appendChild=function(a,b){return xx.prototype.appendChild.call(this,NVb(this,a),b)};f.insertBefore=function(a,b,c){return xx.prototype.insertBefore.call(this,NVb(this,a),b,c)};f.removeChild=function(a,b){return xx.prototype.removeChild.call(this,NVb(this,a),b)};
f.parentNode=function(a){return NVb(this,xx.prototype.parentNode.call(this,NVb(this,a)))};f.destroy=function(){this.sharedStylesHost.hostNodes.delete(this.shadowRoot)};var zx=function(a,b,c,d,e,g,h,l){xx.call(this,a,e,g,h);this.sharedStylesHost=b;this.removeStylesOnCompDestory=d;this.rendererUsageCount=0;this.styles=l?Xma(l,c.styles):c.styles};U(zx,xx);
zx.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>=DVb(a,c,-1)&&GVb(a,c);this.rendererUsageCount--;if(0===this.rendererUsageCount){var d;null==(d=this.onDestroy)||d.call(this)}}};var KVb=function(a,b,c,d,e,g,h,l){d=d+"-"+c.id;zx.call(this,a,b,c,e,g,h,l,d);this.contentAttr="_ngcontent-%COMP%".replace(Wma,d);this.hostAttr="_nghost-%COMP%".replace(Wma,d)};U(KVb,zx);
KVb.prototype.createElement=function(a,b){a=zx.prototype.createElement.call(this,a,b);zx.prototype.setAttribute.call(this,a,this.contentAttr,"");return a};var Ax=function(a){this._doc=a};U(Ax,AVb);Ax.prototype.supports=function(){return!0};Ax.prototype.addEventListener=function(a,b,c){var d=this;a.addEventListener(b,c,!1);return function(){return d.removeEventListener(a,b,c)}};Ax.prototype.removeEventListener=function(a,b,c){return a.removeEventListener(b,c)};Ax.\u0275fac=function(a){return new (a||Ax)(u(fh))};Ax.\u0275prov=qc({token:Ax,factory:Ax.\u0275fac});var OVb=["alt","control","meta","shift"],PVb={"\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"},QVb={alt:function(a){return a.altKey},control:function(a){return a.ctrlKey},meta:function(a){return a.metaKey},shift:function(a){return a.shiftKey}},Bx=function(a){this._doc=a};U(Bx,AVb);Bx.prototype.supports=function(a){return null!=RVb(a)};
Bx.prototype.addEventListener=function(a,b,c){var d=RVb(b),e=SVb(d.fullKey,c,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return vVb(a,d.domEventName,e)})};
var RVb=function(a){var b=a.toLowerCase().split(".");a=b.shift();if(0===b.length||"keydown"!==a&&"keyup"!==a)return null;var c=TVb(b.pop()),d="",e=b.indexOf("code");-1<e&&(b.splice(e,1),d="code.");OVb.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},UVb=function(a,b){var c=PVb[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");OVb.forEach(function(e){e!==c&&(0,QVb[e])(a)&&(d+=e+".")});d+=c;return d===b},SVb=function(a,b,c){return function(d){UVb(d,a)&&c.runGuarded(function(){return b(d)})}},TVb=function(a){switch(a){case "esc":return"escape";default:return a}};Bx.\u0275fac=function(a){return new (a||Bx)(u(fh))};Bx.\u0275prov=qc({token:Bx,factory:Bx.\u0275fac});var TTb=Lja(mUb,"browser",[{provide:dv,useValue:"browser"},{provide:Gja,useValue:function(){var a=new tx;BUb||(BUb=a)},multi:!0},{provide:fh,useFactory:function(){return Lfa=document},deps:[]}]),VVb=new Rc(""),WVb=[{provide:LTb,useClass:yVb,deps:[]},{provide:KTb,useClass:Tv,deps:[We,Uv,LTb]},{provide:Tv,useClass:Tv,deps:[We,Uv,LTb]}],XVb=[{provide:Mja,useValue:"root"},{provide:Qd,useFactory:function(){return new Qd},deps:[]},{provide:zVb,useClass:Ax,multi:!0,deps:[fh,We,dv]},{provide:zVb,useClass:Bx,
multi:!0,deps:[fh]},yx,wx,vx,{provide:ZRb,useExisting:yx},{provide:LUb,useClass:ux,deps:[]},[]],Cx=function(){};Cx.\u0275fac=function(a){return new (a||Cx)(u(VVb,12))};Cx.\u0275mod=Ic({type:Cx});Cx.\u0275inj=rc({providers:[].concat(Vc(XVb),Vc(WVb)),imports:[sw,Xv]});var Dx=function(a){this._doc=a};Dx.prototype.getTitle=function(){return this._doc.title};Dx.prototype.setTitle=function(a){this._doc.title=a||""};Dx.\u0275fac=function(a){return new (a||Dx)(u(fh))};Dx.\u0275prov=qc({token:Dx,factory:function(a){var b=null;a?b=new a:b=new Dx(u(fh));return b},providedIn:"root"});new Rc("HammerGestureConfig");new Rc("HammerLoader");new $u;var YVb=function(){},ZVb=function(){};var Ex=function(a){var b=this;this.normalizedNames=new Map;this.lazyUpdate=null;a?"string"===typeof a?this.lazyInit=function(){b.headers=new Map;a.split("\n").forEach(function(c){var d=c.indexOf(":");if(0<d){var e=c.slice(0,d),g=e.toLowerCase();c=c.slice(d+1).trim();$Vb(b,e,g);b.headers.has(g)?b.headers.get(g).push(c):b.headers.set(g,[c])}})}:"undefined"!==typeof Headers&&a instanceof Headers?(this.headers=new Map,a.forEach(function(c,d){aWb(b,d,c)})):this.lazyInit=function(){b.headers=new Map;Object.entries(a).forEach(function(c){var d=
k(c);c=d.next().value;d=d.next().value;aWb(b,c,d)})}:this.headers=new Map};f=Ex.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 $Vb=function(a,b,c){a.normalizedNames.has(c)||a.normalizedNames.set(c,b)};Ex.prototype.init=function(){var a=this;this.lazyInit&&(this.lazyInit instanceof Ex?bWb(this,this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(b){return cWb(a,b)}),this.lazyUpdate=null))};
var bWb=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))})};Ex.prototype.clone=function(a){var b=new Ex;b.lazyInit=this.lazyInit&&this.lazyInit instanceof Ex?this.lazyInit:this;b.lazyUpdate=(this.lazyUpdate||[]).concat([a]);return b};
var cWb=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;$Vb(a,b.name,c);b=("a"===b.op?a.headers.get(c):void 0)||[];b.push.apply(b,Vc(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)}},aWb=function(a,
b,c){c=(Array.isArray(c)?c:[c]).map(function(e){return e.toString()});var d=b.toLowerCase();a.headers.set(d,c);$Vb(a,b,d)};Ex.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 dWb=function(){},Zma=/%(\d[a-f0-9])/gi,$ma={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"},Fx=function(a){var b=this;a=void 0===a?{}:a;this.cloneFrom=this.updates=null;this.encoder=a.encoder||new dWb;if(a.fromString){if(a.fromObject)throw Error("db");this.map=Yma(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(bna):[""+d];b.map.set(c,d)})):this.map=null};f=Fx.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=ana(b);return a.map.get(b).map(function(d){return c+"="+ana(d)}).join("&")}).filter(function(b){return""!==b}).join("&")};f.clone=function(a){var b=new Fx({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 eWb=function(){this.map=new Map};f=eWb.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 Gx=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 Ex);this.context||(this.context=new eWb);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 Fx,this.urlWithParams=b)},fWb=function(a){return null===a.body?null:cna(a.body)||dna(a.body)||ena(a.body)||"undefined"!==typeof URLSearchParams&&a.body instanceof URLSearchParams||"string"===typeof a.body?a.body:a.body instanceof
Fx?a.body.toString():"object"===typeof a.body||"boolean"===typeof a.body||Array.isArray(a.body)?JSON.stringify(a.body):a.body.toString()};
Gx.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,x,A=null!=(x=a.context)?x:this.context;void 0!==a.setHeaders&&(l=Object.keys(a.setHeaders).reduce(function(B,K){return B.set(K,a.setHeaders[K])},l));a.setParams&&
(q=Object.keys(a.setParams).reduce(function(B,K){return B.set(K,a.setParams[K])},q));return new Gx(b,c,e,{params:q,headers:l,context:A,reportProgress:h,responseType:d,withCredentials:g})};var Hx=function(a,b,c){b=void 0===b?200:b;c=void 0===c?"OK":c;this.headers=a.headers||new Ex;this.status=void 0!==a.status?a.status:b;this.statusText=a.statusText||c;this.url=a.url||null;this.ok=200<=this.status&&300>this.status},gWb=function(a){a=void 0===a?{}:a;Hx.call(this,a);this.type=2};U(gWb,Hx);
gWb.prototype.clone=function(a){a=void 0===a?{}:a;return new gWb({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 Ix=function(a){a=void 0===a?{}:a;Hx.call(this,a);this.type=4;this.body=void 0!==a.body?a.body:null};U(Ix,Hx);
Ix.prototype.clone=function(a){a=void 0===a?{}:a;return new Ix({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 hWb=function(a){Hx.call(this,a,0,"Unknown Error");this.name="HttpErrorResponse";this.ok=!1;this.message=200<=this.status&&300>this.status?"Http failure during parsing for "+(a.url||"(unknown url)"):"Http failure response for "+(a.url||"(unknown url)")+": "+a.status+" "+a.statusText;this.error=a.error||null};U(hWb,Hx);var Jx=function(a){this.handler=a};f=Jx.prototype;
f.request=function(a,b,c){var d=this;c=void 0===c?{}:c;if(a instanceof Gx)b=a;else{var e=void 0;e=c.headers instanceof Ex?c.headers:new Ex(c.headers);var g=void 0;c.params&&(g=c.params instanceof Fx?c.params:new Fx({fromObject:c.params}));b=new Gx(a,b,void 0!==c.body?c.body:null,{headers:e,context:c.context,params:g,reportProgress:c.reportProgress,responseType:c.responseType||"json",withCredentials:c.withCredentials})}e=(0,E.of)(b).pipe(se(function(h){return d.handler.handle(h)},1));if(a instanceof
Gx||"events"===c.observe)return e;a=e.pipe(ye(function(h){return h instanceof Ix}));switch(c.observe||"body"){case "body":switch(b.responseType){case "arraybuffer":return a.pipe(D(function(h){if(null!==h.body&&!(h.body instanceof ArrayBuffer))throw Error("eb");return h.body}));case "blob":return a.pipe(D(function(h){if(null!==h.body&&!(h.body instanceof Blob))throw Error("fb");return h.body}));case "text":return a.pipe(D(function(h){if(null!==h.body&&"string"!==typeof h.body)throw Error("gb");return h.body}));
default:return a.pipe(D(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 Fx).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,fna(c,b))};f.post=function(a,b,c){c=void 0===c?{}:c;return this.request("POST",a,fna(c,b))};f.put=function(a,b,c){c=void 0===c?{}:c;return this.request("PUT",a,fna(c,b))};Jx.\u0275fac=function(a){return new (a||Jx)(u(YVb))};Jx.\u0275prov=qc({token:Jx,factory:Jx.\u0275fac});var iWb=new Rc(""),jWb=new Rc(""),kWb=new Rc(""),Kx=function(a,b){this.backend=a;this.injector=b;this.chain=null;this.pendingTasks=Ac(Ev)};U(Kx,YVb);Kx.prototype.handle=function(a){var b=this;null===this.chain&&(this.chain=Array.from(new Set([].concat(Vc(this.injector.get(jWb)),Vc(this.injector.get(kWb,[]))))).reduceRight(function(d,e){return ina(d,e,b.injector)},gna));var c=this.pendingTasks.add();return this.chain(a,function(d){return b.backend.handle(d)}).pipe(Ie(function(){return b.pendingTasks.remove(c)}))};
Kx.\u0275fac=function(a){return new (a||Kx)(u(ZVb),u(Zu))};Kx.\u0275prov=qc({token:Kx,factory:Kx.\u0275fac});var lWb=/^\)\]\}',?\n/,Lx=function(a){this.xhrFactory=a};
Lx.prototype.handle=function(a){if("JSONP"===a.method)throw new uc(-2800,!1);var b=this.xhrFactory;return(b.\u0275loadImpl?(0,E.from)(b.\u0275loadImpl()):(0,E.of)(null)).pipe(Se(function(){return new E.Observable(function(c){var d=b.build();d.open(a.method,a.urlWithParams);a.withCredentials&&(d.withCredentials=!0);a.headers.forEach(function(N,P){return d.setRequestHeader(N,P.join(","))});a.headers.has("Accept")||d.setRequestHeader("Accept","application/json, text/plain, */*");if(!a.headers.has("Content-Type")){var e=
null===a.body||ena(a.body)?null:dna(a.body)?a.body.type||null:cna(a.body)?null:"string"===typeof a.body?"text/plain":a.body instanceof Fx?"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=fWb(a),h=null,l=function(){if(null!==h)return h;var N=d.statusText||"OK",P=
new Ex(d.getAllResponseHeaders()),Y=("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 gWb({headers:P,status:d.status,statusText:N,url:Y})},q=function(){var N=l(),P=N.headers,Y=N.status,X=N.statusText;N=N.url;var ka=null;204!==Y&&(ka="undefined"===typeof d.response?d.responseText:d.response);0===Y&&(Y=ka?200:0);var ma=200<=Y&&300>Y;if("json"===a.responseType&&"string"===typeof ka){var za=
ka;ka=ka.replace(lWb,"");try{ka=""!==ka?JSON.parse(ka):null}catch(Ba){ka=za,ma&&(ma=!1,ka={error:Ba,text:ka})}}ma?(c.next(new Ix({body:ka,headers:P,status:Y,statusText:X,url:N||void 0})),c.complete()):c.error(new hWb({error:ka,headers:P,status:Y,statusText:X,url:N||void 0}))},x=function(N){var P=l().url;N=new hWb({error:N,status:d.status||0,statusText:d.statusText||"Unknown Error",url:P||void 0});c.error(N)},A=!1,B=function(N){A||(c.next(l()),A=!0);var P={type:3,loaded:N.loaded};N.lengthComputable&&
(P.total=N.total);"text"===a.responseType&&d.responseText&&(P.partialText=d.responseText);c.next(P)},K=function(N){var P={type:1,loaded:N.loaded};N.lengthComputable&&(P.total=N.total);c.next(P)};d.addEventListener("load",q);d.addEventListener("error",x);d.addEventListener("timeout",x);d.addEventListener("abort",x);a.reportProgress&&(d.addEventListener("progress",B),null!==g&&d.upload&&d.upload.addEventListener("progress",K));d.send(g);c.next({type:0});return function(){d.removeEventListener("error",
x);d.removeEventListener("abort",x);d.removeEventListener("load",q);d.removeEventListener("timeout",x);a.reportProgress&&(d.removeEventListener("progress",B),null!==g&&d.upload&&d.upload.removeEventListener("progress",K));d.readyState!==d.DONE&&d.abort()}})}))};Lx.\u0275fac=function(a){return new (a||Lx)(u(LUb))};Lx.\u0275prov=qc({token:Lx,factory:Lx.\u0275fac});var jna=new Rc("XSRF_ENABLED"),mWb=new Rc("XSRF_COOKIE_NAME",{providedIn:"root",factory:function(){return"XSRF-TOKEN"}}),lna=new Rc("XSRF_HEADER_NAME",{providedIn:"root",factory:function(){return"X-XSRF-TOKEN"}}),kna=function(){},Mx=function(a,b,c){this.doc=a;this.platform=b;this.cookieName=c;this.lastCookieString="";this.lastToken=null};
Mx.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};
Mx.\u0275fac=function(a){return new (a||Mx)(u(fh),u(dv),u(mWb))};Mx.\u0275prov=qc({token:Mx,factory:Mx.\u0275fac});var nWb=new Rc("LEGACY_INTERCEPTOR_FN");var oWb={cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"},pWb=oWb.cookieName,qWb=oWb.headerName,rWb=[];void 0!==pWb&&rWb.push({provide:mWb,useValue:pWb});void 0!==qWb&&rWb.push({provide:lna,useValue:qWb});var Nx=function(){};Nx.\u0275fac=function(a){return new (a||Nx)};Nx.\u0275mod=Ic({type:Nx});
Nx.\u0275inj=rc({providers:[function(){for(var a=[Jx,Lx,Kx,{provide:YVb,useExisting:Kx},{provide:ZVb,useExisting:Lx},{provide:jWb,useValue:mna,multi:!0},{provide:jna,useValue:!0},{provide:kna,useClass:Mx}],b=k(Pc.apply(0,arguments)),c=b.next();!c.done;c=b.next())a.push.apply(a,Vc(c.value.\u0275providers));return{"\u0275providers":a}}({"\u0275kind":1,"\u0275providers":[{provide:nWb,useFactory:function(){var a=null;return function(b,c){if(null===a){var d;a=(null!=(d=Ac(iWb,{optional:!0}))?d:[]).reduceRight(hna,
gna)}var e=Ac(Ev),g=e.add();return a(b,c).pipe(Ie(function(){return e.remove(g)}))}}},{provide:jWb,useExisting:nWb,multi:!0}]})]});new Rc("");var Ox=function(){};Ox.\u0275fac=function(a){return new (a||Ox)};Ox.\u0275prov=qc({token:Ox,factory:function(a){return a?new (a||Ox):u(Px)},providedIn:"root"});var Px=function(a){this._doc=a};U(Px,Ox);
Px.prototype.sanitize=function(a,b){if(null==b)return null;switch(a){case 0:return b;case 1:return Hd(b,"HTML")?Gd(b):Aga(this._doc,String(b)).toString();case 2:return Hd(b,"Style")?Gd(b):b;case 3:if(Hd(b,"Script"))return Gd(b);throw new uc(5200,!1);case 4:return Hd(b,"URL")?Gd(b):nga(String(b));case 5:if(Hd(b,"ResourceURL"))return Gd(b);throw new uc(5201,!1);default:throw new uc(5202,!1);}};Px.prototype.bypassSecurityTrustHtml=function(a){return new aSb(a)};Px.prototype.bypassSecurityTrustUrl=function(a){return new bSb(a)};
Px.prototype.bypassSecurityTrustResourceUrl=function(a){return new cSb(a)};Px.\u0275fac=function(a){return new (a||Px)(u(fh))};Px.\u0275prov=qc({token:Px,factory:function(a){a?a=new a:(a=u(bv),a=new Px(a.get(fh)));return a},providedIn:"root"});new hv;(function(){return""}).toString().indexOf("`");var uWb=function(a){var b=uo("window.location.href");null==a&&(a='Unknown Error of type "null/undefined"');if("string"===typeof a)return{message:a,name:"Unknown error",lineNumber:"Not available",fileName:b,stack:"Not available"};var c=!1;try{var d=a.lineNumber||a.line||"Not available"}catch(h){d="Not available",c=!0}try{var e=a.fileName||a.filename||a.sourceURL||ba.$googDebugFname||b}catch(h){e="Not available",c=!0}b=sWb(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,tWb[c])c=tWb[c];else{c=String(c);if(!tWb[c]){var g=/function\s+([^\(]+)/m.exec(c);tWb[c]=g?g[1]:"[Anonymous]"}c=tWb[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}},sWb=function(a,b){b||(b={});b[vWb(a)]=!0;var c=a.stack||"";(a=a.cause)&&!b[vWb(a)]&&(c+="\nCaused by: ",a.stack&&0==a.stack.indexOf(a.toString())||(c+="string"===typeof a?a:a.message+"\n"),c+=sWb(a,b));return c},vWb=function(a){var b="";"function"===typeof a.toString&&(b=""+a);return b+a.stack},tWb={};var wWb;try{new URL("s://g"),wWb=!0}catch(a){wWb=!1}var nna=wWb;var pna=function(a){this.isValid=a},qna=[Hg("data"),Hg("http"),Hg("https"),Hg("mailto"),Hg("ftp"),new pna(function(a){return/^[^:]*([/?#]|$)/.test(a)})];var Qx=function(a){this.decorated=new Px(a)};U(Qx,Ox);Qx.prototype.sanitize=function(a,b){if(null==b)return null;if(b instanceof Uu||b instanceof Xb||b instanceof Cg){if(xWb(b,a))return this.decorated.sanitize(a,yWb(this,b));throw Error("ib`"+lSb[a]+"`"+b);}return this.decorated.sanitize(a,b)};Qx.prototype.bypassSecurityTrustHtml=function(){throw Error("jb");};Qx.prototype.bypassSecurityTrustUrl=function(){throw Error("jb");};
Qx.prototype.bypassSecurityTrustResourceUrl=function(){throw Error("jb");};var yWb=function(a,b){if(null!=b){if(b instanceof Cg)return a.decorated.bypassSecurityTrustHtml(String(b));if(b instanceof Xb)return a.decorated.bypassSecurityTrustUrl(Yb(b));if(b instanceof Uu)return a.decorated.bypassSecurityTrustResourceUrl(String(b))}return null},xWb=function(a,b){switch(b){case 1:return a instanceof Cg;case 4:return a instanceof Xb||a instanceof Uu;case 5:return a instanceof Uu;case 3:return!1;default:return!1}};
Qx.\u0275fac=function(a){return new (a||Qx)(u(fh))};Qx.\u0275prov=qc({token:Qx,factory:Qx.\u0275fac});var zWb=[{provide:nSb,useExisting:Ox},{provide:Ox,useClass:Qx}],Rx=function(){};Rx.\u0275fac=function(a){return new (a||Rx)};Rx.\u0275mod=Ic({type:Rx});Rx.\u0275inj=rc({providers:zWb,imports:[Cx]});var una=new Set(["true","1"]),vna=new Set(["false","0"]);var AWb=function(){},BWb=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 Pg=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=Pg.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(),CWb(this));this._started=!0};var CWb=function(a){Promise.resolve().then(function(){return a._onFinish()})};f=Pg.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 yna=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=yna.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 Gna="undefined"===typeof document?null:document.documentElement;var Qna=RegExp("{{\\s*(.+?)\\s*}}","g"),Sna=/-+([a-z0-9])/g;var Una=RegExp("s*:selfs*,?","g"),DWb=function(a){this._driver=a};f=DWb.prototype;f.build=function(a,b){b=new EWb(b);this._resetContextStyleTimingState(b);return Zg(this,Xg(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 uc(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(x){l.name=x;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 uc(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){Ona(l).forEach(function(q){g.hasOwnProperty(q)||e.add(q)})})});e.size&&(Rna(e.values()),b.errors.push(new uc(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=Zg(this,Xg(a.animation),b);return{type:1,matchers:tna(a.expr,b.errors),animation:c,queryCount:b.queryCount,depCount:b.depCount,options:$g(a.options)}};f.visitSequence=function(a,b){var c=this;return{type:2,steps:a.steps.map(function(d){return Zg(c,d,b)}),options:$g(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=Zg(c,h,b);e=Math.max(e,b.currentTime);return h});b.currentTime=e;return{type:3,steps:g,options:$g(a.options)}};
f.visitAnimate=function(a,b){var c=Xna(a.timings,b.errors);b.currentAnimateTimings=c;var d=a.styles?a.styles:Mg({});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=Mg(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 uc(3002,!1)):c.push(Mna(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),x=q.get(l),A=!0;x&&(e!=d&&e>=x.startTime&&d<=x.endTime&&(b.errors.push(new uc(3010,!1)),A=!1),e=x.startTime);A&&q.set(l,{startTime:e,endTime:d});b.options&&Pna(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 uc(3011,!1)),d;var e=0,g=[],h=!1,l=!1,q=0,x=a.steps.map(function(Y){Y=c._makeStyleAst(Y,b);var X=null!=Y.offset?Y.offset:Wna(Y.styles),ka=0;null!=X&&(e++,ka=Y.offset=X);l=l||0>ka||1<ka;h=h||ka<q;q=ka;g.push(ka);return Y});l&&b.errors.push(new uc(3012,!1));h&&b.errors.push(new uc(3200,!1));a=a.steps.length;var A=0;0<e&&e<a?b.errors.push(new uc(3202,!1)):0==e&&(A=1/(a-1));
var B=a-1,K=b.currentTime,N=b.currentAnimateTimings,P=N.duration;x.forEach(function(Y,X){X=0<A?X==B?1:A*X:g[X];var ka=X*P;b.currentTime=K+N.delay+ka;N.duration=ka;c._validateStyleAst(Y,b);Y.offset=X;d.styles.push(Y)});return d};f.visitReference=function(a,b){return{type:8,animation:Zg(this,Xg(a.animation),b),options:$g(a.options)}};f.visitAnimateChild=function(a,b){b.depCount++;return{type:9,options:$g(a.options)}};
f.visitAnimateRef=function(a,b){return{type:10,animation:this.visitReference(a.animation,b),options:$g(a.options)}};
f.visitQuery=function(a,b){var c=b.currentQuerySelector,d=a.options||{};b.queryCount++;b.currentQuery=a;var e=k(Vna(a.selector)),g=e.next().value;e=e.next().value;b.currentQuerySelector=c.length?c+" "+g:g;Rg(b.collectedStyles,b.currentQuerySelector,new Map);var h=Zg(this,Xg(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:$g(a.options)}};
f.visitStagger=function(a,b){b.currentQuery||b.errors.push(new uc(3013,!1));var c="full"===a.timings?{duration:0,delay:0,easing:"full"}:Lna(a.timings,b.errors,!0);return{type:12,animation:Zg(this,Xg(a.animation),b),timings:c,options:null}};var EWb=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 Sx=function(){this._map=new Map};Sx.prototype.get=function(a){return this._map.get(a)||[]};Sx.prototype.append=function(a,b){var c=this._map.get(a);c||this._map.set(a,c=[]);c.push.apply(c,Vc(b))};Sx.prototype.has=function(a){return this._map.has(a)};Sx.prototype.clear=function(){this._map.clear()};var FWb=RegExp(":enter","g"),GWb=RegExp(":leave","g"),Zna=function(){};f=Zna.prototype;
f.buildKeyframes=function(a,b,c,d,e,g,h,l,q,x){x=void 0===x?[]:x;q=q||new Sx;a=new HWb(a,b,q,d,e,x,[]);a.options=l;d=l.delay?Sg(l.delay):0;a.currentTimeline.delayNextStep(d);IWb(a.currentTimeline,[g],null,a.errors,l);Zg(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 A=e;break}A&&A._currentEmptyStepKeyframe===A._currentKeyframe&&IWb(A,[h],null,a.errors,l)}return c.length?c.map(function(B){return B.buildKeyframes()}):
[Yna(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=Tx(b,a.options),e=b.currentTimeline.currentTime;c=this._visitSubInstructions(c,d,d.options);e!=c&&Ux(b,c)}b.previousNode=a};
f.visitAnimateRef=function(a,b){var c=Tx(b,a.options);Ux(c);this._applyAnimationRefDelays([a.options,a.animation.options],b,c);this.visitReference(a.animation,c);Ux(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:Sg(Yg(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?Sg(c.duration):null,g=null!=c.delay?Sg(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 JWb(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){KWb(b,a.options,!0);Zg(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=Tx(b,g),Ux(e),null!=g.delay&&(6==e.previousNode.type&&(LWb(e.currentTimeline),e.previousNode=MWb),e.delayNextStep(Sg(g.delay))));a.steps.length&&(a.steps.forEach(function(h){return Zg(c,h,e)}),Vx(e.currentTimeline),e.subContextCount>d&&Ux(e));b.previousNode=a};
f.visitGroup=function(a,b){var c=this,d=[],e=b.currentTimeline.currentTime,g=a.options&&a.options.delay?Sg(a.options.delay):0;a.steps.forEach(function(h){var l=Tx(b,a.options);g&&l.delayNextStep(g);Zg(c,h,l);e=Math.max(e,l.currentTimeline.currentTime);d.push(l.currentTimeline)});d.forEach(function(h){return NWb(b.currentTimeline,h)});Ux(b,e);b.previousNode=a};
f._visitTiming=function(a,b){return a.dynamic?(a=a.strValue,a=b.params?Yg(a,b.params,b.errors):a,Lna(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&&(OWb(b.currentTimeline,b.currentTimeline.duration+c.delay),LWb(d));var e=a.style;5==e.type?this.visitKeyframes(e,b):(OWb(b.currentTimeline,b.currentTimeline.duration+c.duration),this.visitStyle(e,b),Vx(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 IWb(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=Tx(b).currentTimeline;g.easing=c.easing;a.styles.forEach(function(h){OWb(g,(h.offset||0)*e);IWb(g,h.styles,h.easing,b.errors,b.options);Vx(g)});NWb(b.currentTimeline,g);Ux(b,d+e);b.previousNode=a};
f.visitQuery=function(a,b){var c=this,d=b.currentTimeline.currentTime,e=a.options||{},g=e.delay?Sg(e.delay):0;g&&(6===b.previousNode.type||0==d&&0<b.currentTimeline._currentKeyframe.size)&&(LWb(b.currentTimeline),b.previousNode=MWb);var h=d;d=PWb(b,a.selector,a.limit,a.includeSelf,e.optional?!0:!1,b.errors);b.currentQueryTotal=d.length;var l=null;d.forEach(function(q,x){b.currentQueryIndex=x;x=Tx(b,a.options,q);g&&x.delayNextStep(g);q===b.element&&(l=x.currentTimeline);Zg(c,a.animation,x);Vx(x.currentTimeline);
h=Math.max(h,x.currentTimeline.currentTime)});b.currentQueryIndex=0;b.currentQueryTotal=0;Ux(b,h);l&&(NWb(b.currentTimeline,l),LWb(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;Zg(this,a.animation,b);b.previousNode=a;c.currentStaggerTime=d.currentTime-e+(d.startTime-c.currentTimeline.startTime)};
var MWb={},HWb=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=MWb;this.subContextCount=0;this.options={};this.currentStaggerTime=this.currentQueryTotal=this.currentQueryIndex=0;this.currentTimeline=l||new Wx(this._driver,b,0);h.push(this.currentTimeline)},KWb=function(a,b,c){if(b){var d=a.options;null!=b.duration&&(d.duration=
Sg(b.duration));null!=b.delay&&(d.delay=Sg(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]=Yg(e[h],g,a.errors))})}}};HWb.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 Tx=function(a,b,c){b=void 0===b?null:b;c=c||a.element;c=new HWb(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();KWb(c,b);c.currentQueryIndex=a.currentQueryIndex;c.currentQueryTotal=a.currentQueryTotal;c.parentContext=a;a.subContextCount++;return c},Ux=function(a,b){a.previousNode=MWb;a.currentTimeline=a.currentTimeline.fork(a.element,
b);a.timelines.push(a.currentTimeline)};HWb.prototype.delayNextStep=function(a){0<a&&this.currentTimeline.delayNextStep(a)};var PWb=function(a,b,c,d,e,g){var h=[];d&&h.push(a.element);0<b.length&&(b=b.replace(FWb,"."+a._enterClassName),b=b.replace(GWb,"."+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,Vc(a)));e||0!=h.length||g.push(new uc(3014,!1));return h};
hh.Object.defineProperties(HWb.prototype,{params:{configurable:!0,enumerable:!0,get:function(){return this.options.params}}});
var Wx=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()};Wx.prototype.containsAnimation=function(){switch(this._keyframes.size){case 0:return!1;case 1:return 0<this._currentKeyframe.size;default:return!0}};Wx.prototype.delayNextStep=function(a){var b=1===this._keyframes.size&&this._pendingStyles.size;this.duration||b?(OWb(this,this.currentTime+a),b&&LWb(this)):this.startTime+=a};
Wx.prototype.fork=function(a,b){Vx(this);return new Wx(this._driver,a,b||this.currentTime,this._elementTimelineStylesLookup)};Wx.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 OWb=function(a,b){Vx(a);a.duration=b;a._loadKeyframe()};
Wx.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 IWb=function(a,b,c,d,e){c&&a._previousKeyframe.set("easing",c);c=e&&e.params||{};b=boa(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=Yg(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)}},Vx=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)}))},LWb=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)}},NWb=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)})};
Wx.prototype.buildKeyframes=function(){var a=this;Vx(this);var b=new Set,c=new Set,d=1===this._keyframes.size&&0===this.duration,e=[];this._keyframes.forEach(function(x,A){x=Ug(x,new Map,a._backFill);x.forEach(function(B,K){"!"===B?b.add(K):"*"===B&&c.add(K)});d||x.set("offset",A/a.duration);e.push(x)});var g=b.size?Rna(b.values()):[],h=c.size?Rna(c.values()):[];if(d){var l=e[0],q=new Map(l);l.set("offset",0);q.set("offset",1);e=[l,q]}return Yna(this.element,e,g,h,this.duration,this.startTime,this.easing,
!1)};hh.Object.defineProperties(Wx.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 JWb=function(a,b,c,d,e,g,h){h=void 0===h?!1:h;Wx.call(this,a,b,g.delay);this.keyframes=c;this.preStyleProps=d;this.postStyleProps=e;this._stretchStartingKeyframe=h;this.timings={duration:g.duration,delay:g.delay,easing:g.easing}};
U(JWb,Wx);JWb.prototype.containsAnimation=function(){return 1<this.keyframes.length};
JWb.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=Ug(a[0]);h.set("offset",0);b.push(h);h=Ug(a[0]);h.set("offset",aoa(g));b.push(h);g=a.length-1;for(h=1;h<=g;h++){var l=Ug(a[h]),q=l.get("offset");l.set("offset",aoa((c+q*d)/e));b.push(l)}d=e;c=0;e="";a=b}return Yna(this.element,a,this.preStyleProps,this.postStyleProps,d,c,e,!0)};var QWb=function(){};var RWb=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(" ")),SWb=function(){};U(SWb,QWb);
var Ana=function(a,b,c){var d="",e=b.toString().trim();RWb.has(a)&&0!==b&&"0"!==b&&("number"===typeof b?d="px":(a=b.match(/^[+-]?[\d\.]+([a-z]*)$/))&&0==a[1].length&&c.push(new uc(3005,!1)));return e+d};var Xx=function(){};f=Xx.prototype;f.containsElement=function(a,b){return Ina(a,b)};f.getParentElement=function(a){return Hna(a)};f.query=function(a,b,c){return Jna(a,b,c)};f.computeStyle=function(a,b,c){return c||""};f.animate=function(a,b,c,d){return new Pg(c,d)};Xx.\u0275fac=function(a){return new (a||Xx)};Xx.\u0275prov=qc({token:Xx,factory:Xx.\u0275fac});var TWb=function(){};var UWb={},ah=function(a,b,c){this._triggerName=a;this.ast=b;this._stateStyles=c};ah.prototype.match=function(a,b,c,d){return doa(this.ast.matchers,a,b,c,d)};ah.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};
ah.prototype.build=function(a,b,c,d,e,g,h,l,q,x){var A=[],B=this.ast.options&&this.ast.options.params||UWb;h=this.buildStyles(c,h&&h.params||UWb,A);var K=l&&l.params||UWb;l=this.buildStyles(d,K,A);var N=new Set,P=new Map,Y=new Map,X="void"===d,ka;B={params:eoa(K,B),delay:null==(ka=this.ast.options)?void 0:ka.delay};a=x?[]:$na(a,b,this.ast.animation,e,g,h,l,B,q,A);var ma=0;a.forEach(function(za){ma=Math.max(za.duration+za.delay,ma)});if(A.length)return coa(b,this._triggerName,c,d,X,h,l,[],[],P,Y,ma,
A);a.forEach(function(za){var Ba=za.element,Ma=Rg(P,Ba,new Set);za.preStyleProps.forEach(function(Ua){return Ma.add(Ua)});var Sa=Rg(Y,Ba,new Set);za.postStyleProps.forEach(function(Ua){return Sa.add(Ua)});Ba!==b&&N.add(Ba)});A=Rna(N.values());return coa(b,this._triggerName,c,d,X,h,l,a,A,P,Y,ma)};var VWb=function(a,b){this.styles=a;this.defaultParams=b};
VWb.prototype.buildStyles=function(a,b){var c=new Map,d=Tg(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=Yg(g,d,b));var l=zna(h);g=Ana(l,g,b);c.set(h,g)})});return c};var WWb=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 VWb(e.style,e.options&&e.options.params||{}))});goa(this.states,"true","1");goa(this.states,"false","0");b.transitions.forEach(function(e){d.transitionFactories.push(new ah(a,e,d.states))});this.fallbackTransition=foa(a,this.states)},XWb=function(a,b,c,d,e){return a.transitionFactories.find(function(g){return g.match(b,c,
d,e)})||null};var YWb=new Sx,ZWb=function(a,b,c){this.bodyNode=a;this._driver=b;this._normalizer=c;this._animations=new Map;this._playersById=new Map;this.players=[]};f=ZWb.prototype;f.register=function(a,b){var c=[];b=(new DWb(this._driver)).build(b,c,[]);if(c.length)throw new uc(3503,!1);this._animations.set(a,b)};f._buildPlayer=function(a,b,c){var d=a.element;b=Bna(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=$na(this._driver,b,g,"ng-enter","ng-leave",new Map,new Map,c,YWb,e),b.forEach(function(l){var q=Rg(h,l.element,new Map);l.postStyleProps.forEach(function(x){return q.set(x,null)})})):(e.push(new uc(3300,!1)),b=[]);if(e.length)throw new uc(3504,!1);h.forEach(function(l,q){l.forEach(function(x,A){l.set(A,d._driver.computeStyle(q,A,"*"))})});e=b.map(function(l){var q=h.get(l.element);return d._buildPlayer(l,
new Map,q)});e=Qg(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 uc(3301,!1);return a};f.listen=function(a,b,c,d){b=Ena(b,"","","");Dna(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 $Wb=[],aXb={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},joa={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},bXb=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=Tg(a),delete a.value,this.options=a):this.options={};this.options.params||(this.options.params={})},cXb=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])})}};hh.Object.defineProperties(bXb.prototype,{params:{configurable:!0,enumerable:!0,get:function(){return this.options.params}}});var dXb=new bXb("void"),Yx=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;bh(b,this._hostClassName)};f=Yx.prototype;
f.listen=function(a,b,c,d){var e=this;if(!this._triggers.has(b))throw new uc(3302,!1);if(null==c||0==c.length)throw new uc(3303,!1);if("start"!=c&&"done"!=c)throw new uc(3400,!1);var g=Rg(this._elementListeners,a,[]),h={name:b,phase:c,callback:d};g.push(h);var l=Rg(this._engine.statesByElement,a,new Map);l.has(b)||(bh(a,"ng-trigger"),bh(a,"ng-trigger-"+b),l.set(b,dXb));return function(){eXb(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 uc(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 fXb(this.id,b,a),l=this._engine.statesByElement.get(a);l||(bh(a,"ng-trigger"),bh(a,"ng-trigger-"+b),this._engine.statesByElement.set(a,l=new Map));var q=l.get(b),x=new bXb(c,this.id);c&&c.hasOwnProperty("value")||!q||cXb(x,q.options);l.set(b,x);q||(q=dXb);if("void"!==x.value&&q.value===x.value){if(!poa(q.params,x.params)){d=[];var A=g.fallbackTransition.buildStyles(q.value,q.params,d),B=g.fallbackTransition.buildStyles(x.value,
x.params,d);d.length?this._engine.reportError(d):eXb(this._engine,function(){Wg(a,A);Vg(a,B)})}}else{c=Rg(this._engine.playersByElement,a,[]);c.forEach(function(N){N.namespaceId==e.id&&N.triggerName==b&&N.queued&&N.destroy()});l=XWb(g,q.value,x.value,a,x.params);var K=!1;if(!l){if(!d)return;l=g.fallbackTransition;K=!0}this._engine.totalQueuedPlayers++;this._queue.push({element:a,triggerName:b,transition:l,fromState:q,toState:x,player:h,isFallbackTransition:K});K||(bh(a,"ng-animate-queued"),h.onStart(function(){ch(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 P=N.indexOf(h);0<=P&&N.splice(P,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 gXb=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))};
Yx.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=hXb(c._engine,e);g.size?g.forEach(function(h){return iXb(h,e,b,!1,!0)}):gXb(c,e)}});jXb(this._engine,function(){return d.forEach(function(e){return gXb(c,e)})})};
var iXb=function(a,b,c,d,e){var g=a._engine.statesByElement.get(b),h=new Map;if(g){var l=[];g.forEach(function(q,x){h.set(x,q.value);a._triggers.has(x)&&(q=a.trigger(b,x,"void",e))&&l.push(q)});if(l.length){kXb(a._engine,a.id,b,!0,c,h);if(d)Qg(l).onDone(function(){return dh(a._engine,b)});return!0}}return!1},lXb=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)||dXb,q=new bXb("void"),x=new fXb(a.id,g,b);a._engine.totalQueuedPlayers++;a._queue.push({element:b,triggerName:g,transition:h,fromState:l,toState:q,player:x,isFallbackTransition:!0})}})}};
Yx.prototype.removeNode=function(a,b){var c=this,d=this._engine;a.childElementCount&&this._signalRemovalForInnerTriggers(a,b);if(!iXb(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}}lXb(this,a);e?kXb(d,this.id,a,!1,b):(e=a.__ng_removed,e&&e!==aXb||(eXb(d,function(){return gXb(c,a)}),mXb(d,a),d._onRemovalComplete(a,b)))}};
Yx.prototype.insertNode=function(a){bh(a,this._hostClassName)};
var nXb=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=Ena(g,d.triggerName,d.fromState.value,d.toState.value);q._data=b;Dna(d.player,l.phase,q,l.callback)}});e.markedForDestroy?eXb(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})};Yx.prototype.destroy=function(a){this.players.forEach(function(b){return b.destroy()});this._signalRemovalForInnerTriggers(this.hostElement,a)};
var Zx=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=Zx.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 Yx(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);eXb(this,function(){c.namespacesByHostElement.delete(d.hostElement);delete c._namespaceLookup[a];var e=c._namespaceList.indexOf(d);0<=e&&c._namespaceList.splice(e,1)});jXb(this,function(){return d.destroy(b)})}};f._fetchNamespace=function(a){return this._namespaceLookup[a]};
var hXb=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};Zx.prototype.trigger=function(a,b,c,d){return hoa(b)&&(a=this._fetchNamespace(a))?(a.trigger(b,c,d),!0):!1};
Zx.prototype.insertNode=function(a,b,c,d){if(hoa(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 oXb=function(a,b,c){c?a.disabledNodes.has(b)||(a.disabledNodes.add(b),bh(b,"ng-animate-disabled")):a.disabledNodes.has(b)&&(a.disabledNodes.delete(b),ch(b,"ng-animate-disabled"))};
Zx.prototype.removeNode=function(a,b,c){if(hoa(b)){var d=a?this._fetchNamespace(a):null;d?d.removeNode(b,c):kXb(this,a,b,!1,c);(d=this.namespacesByHostElement.get(b))&&d.id!==a&&d.removeNode(b,c)}else this._onRemovalComplete(b,c)};var kXb=function(a,b,c,d,e,g){a.collectedLeaveElements.push(c);c.__ng_removed={namespaceId:b,setForRemoval:e,hasAnimation:d,removedBeforeQueried:!1,previousTriggersValues:g}};Zx.prototype.listen=function(a,b,c,d,e){return hoa(b)?this._fetchNamespace(a).listen(b,c,d,e):function(){}};
Zx.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 mXb=function(a,b){var c=a.driver.query(b,".ng-trigger",!0);c.forEach(function(d){return pXb(a,d)});0!=a.playersByQueriedElement.size&&(c=a.driver.query(b,".ng-animating",!0),c.forEach(function(d){return qXb(a,d)}))},pXb=function(a,b){(a=a.playersByElement.get(b))&&a.forEach(function(c){c.queued?c.markedForDestroy=!0:c.destroy()})},qXb=function(a,b){(a=a.playersByQueriedElement.get(b))&&a.forEach(function(c){return c.finish()})},dh=function(a,b){var c=b.__ng_removed;if(c&&c.setForRemoval){b.__ng_removed=
aXb;if(c.namespaceId){mXb(a,b);var d=a._fetchNamespace(c.namespaceId);d&&gXb(d,b)}a._onRemovalComplete(b,c.setForRemoval)}var e;(null==(e=b.classList)?0:e.contains("ng-animate-disabled"))&&oXb(a,b,!1);a.driver.query(b,".ng-animate-disabled",!0).forEach(function(g){oXb(a,g,!1)})};
Zx.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++)bh(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++)dh(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)Qg(c).onDone(function(){e.forEach(function(g){return g()})});else e.forEach(function(g){return g()})}};
Zx.prototype.reportError=function(){throw new uc(3402,!1);};
Zx.prototype._flushAnimations=function(a,b){var c=this,d=new Sx,e=[],g=new Map,h=[],l=new Map,q=new Map,x=new Map,A=new Set;this.disabledNodes.forEach(function($a){A.add($a);$a=c.driver.query($a,".ng-animate-queued",!0);for(var Fb=0;Fb<$a.length;Fb++)A.add($a[Fb])});var B=this.bodyNode,K=Array.from(this.statesByElement.keys()),N=loa(K,this.collectedEnterElements),P=new Map,Y=0;N.forEach(function($a,Fb){var jb="ng-enter"+Y++;P.set(Fb,jb);$a.forEach(function(Mb){return bh(Mb,jb)})});for(var X=[],ka=
new Set,ma=new Set,za=0;za<this.collectedLeaveElements.length;za++){var Ba=this.collectedLeaveElements[za],Ma=Ba.__ng_removed;Ma&&Ma.setForRemoval&&(X.push(Ba),ka.add(Ba),Ma.hasAnimation?this.driver.query(Ba,".ng-star-inserted",!0).forEach(function($a){return ka.add($a)}):ma.add(Ba))}var Sa=new Map,Ua=loa(K,Array.from(ka));Ua.forEach(function($a,Fb){var jb="ng-leave"+Y++;Sa.set(Fb,jb);$a.forEach(function(Mb){return bh(Mb,jb)})});a.push(function(){N.forEach(function($a,Fb){var jb=P.get(Fb);$a.forEach(function(Mb){return ch(Mb,
jb)})});Ua.forEach(function($a,Fb){var jb=Sa.get(Fb);$a.forEach(function(Mb){return ch(Mb,jb)})});X.forEach(function($a){dh(c,$a)})});var Lb=[],qb=[];for(a=this._namespaceList.length-1;0<=a;a--)nXb(this._namespaceList[a],b).forEach(function($a){var Fb=$a.player,jb=$a.element;Lb.push(Fb);if(c.collectedEnterElements.length){var Mb=jb.__ng_removed;if(Mb&&Mb.setForMove){if(Mb.previousTriggersValues&&Mb.previousTriggersValues.has($a.triggerName)){Mb=Mb.previousTriggersValues.get($a.triggerName);var jc=
c.statesByElement.get($a.element);if(jc&&jc.has($a.triggerName)){var Dc=jc.get($a.triggerName);Dc.value=Mb;jc.set($a.triggerName,Dc)}}Fb.destroy();return}}Mb=!B||!c.driver.containsElement(B,jb);jc=Sa.get(jb);Dc=P.get(jb);var Uc=c._buildInstruction($a,d,Dc,jc,Mb);if(Uc.errors&&Uc.errors.length)qb.push(Uc);else if(Mb)Fb.onStart(function(){return Wg(jb,Uc.fromStyles)}),Fb.onDestroy(function(){return Vg(jb,Uc.toStyles)}),e.push(Fb);else if($a.isFallbackTransition)Fb.onStart(function(){return Wg(jb,Uc.fromStyles)}),
Fb.onDestroy(function(){return Vg(jb,Uc.toStyles)}),e.push(Fb);else{var ff=[];Uc.timelines.forEach(function(Fd){Fd.stretchStartingKeyframe=!0;c.disabledNodes.has(Fd.element)||ff.push(Fd)});Uc.timelines=ff;d.append(jb,Uc.timelines);h.push({instruction:Uc,player:Fb,element:jb});Uc.queriedElements.forEach(function(Fd){return Rg(l,Fd,[]).push(Fb)});Uc.preStyleProps.forEach(function(Fd,oe){if(Fd.size){var Ki=q.get(oe);Ki||q.set(oe,Ki=new Set);Fd.forEach(function(EU,So){return Ki.add(So)})}});Uc.postStyleProps.forEach(function(Fd,
oe){var Ki=x.get(oe);Ki||x.set(oe,Ki=new Set);Fd.forEach(function(EU,So){return Ki.add(So)})})}});if(qb.length){var Ya=[];qb.forEach(function(){Ya.push(new uc(3505,!1))});Lb.forEach(function($a){return $a.destroy()});this.reportError(Ya)}var wa=new Map,Ka=new Map;h.forEach(function($a){var Fb=$a.element;d.has(Fb)&&(Ka.set(Fb,Fb),c._beforeAnimationBuild($a.player.namespaceId,$a.instruction,wa))});e.forEach(function($a){var Fb=$a.element;c._getPreviousPlayers(Fb,!1,$a.namespaceId,$a.triggerName,null).forEach(function(jb){Rg(wa,
Fb,[]).push(jb);jb.destroy()})});var Na=X.filter(function($a){return qoa($a,q,x)}),fb=new Map;koa(fb,this.driver,ma,x,"*").forEach(function($a){qoa($a,q,x)&&Na.push($a)});var bb=new Map;N.forEach(function($a){koa(bb,c.driver,new Set($a),q,"!")});Na.forEach(function($a){var Fb=fb.get($a),jb=bb.get($a),Mb,jc;fb.set($a,new Map([].concat(Vc(null!=(Mb=null==Fb?void 0:Fb.entries())?Mb:[]),Vc(null!=(jc=null==jb?void 0:jb.entries())?jc:[]))))});var Tc=[],hb=[],yb={};h.forEach(function($a){var Fb=$a.element,
jb=$a.player,Mb=$a.instruction;if(d.has(Fb))if(A.has(Fb))jb.onDestroy(function(){return Vg(Fb,Mb.toStyles)}),jb.disabled=!0,jb.totalTime=Mb.totalTime,e.push(jb);else{var jc=yb;if(1<Ka.size){$a=Fb;for(var Dc=[];$a=$a.parentNode;){var Uc=Ka.get($a);if(Uc){jc=Uc;break}Dc.push($a)}Dc.forEach(function(ff){return Ka.set(ff,jc)})}$a=c._buildAnimation(jb.namespaceId,Mb,wa,g,bb,fb);rXb(jb,$a);jc===yb?Tc.push(jb):(($a=c.playersByElement.get(jc))&&$a.length&&(jb.parentPlayer=Qg($a)),e.push(jb))}else Wg(Fb,Mb.fromStyles),
jb.onDestroy(function(){return Vg(Fb,Mb.toStyles)}),hb.push(jb),A.has(Fb)&&e.push(jb)});hb.forEach(function($a){var Fb=g.get($a.element);Fb&&Fb.length&&(Fb=Qg(Fb),rXb($a,Fb))});e.forEach(function($a){$a.parentPlayer?sXb($a,$a.parentPlayer):$a.destroy()});for(b=0;b<X.length;b++)if(ma=X[b],a=ma.__ng_removed,ch(ma,"ng-leave"),!a||!a.hasAnimation){a=[];if(l.size)for((K=l.get(ma))&&K.length&&a.push.apply(a,Vc(K)),K=this.driver.query(ma,".ng-animating",!0),za=0;za<K.length;za++)(Ba=l.get(K[za]))&&Ba.length&&
a.push.apply(a,Vc(Ba));a=a.filter(function($a){return!$a.destroyed});a.length?moa(this,ma,a):dh(this,ma)}X.length=0;Tc.forEach(function($a){c.players.push($a);$a.onDone(function(){$a.destroy();var Fb=c.players.indexOf($a);c.players.splice(Fb,1)});$a.play()});return Tc};var eXb=function(a,b){a._flushFns.push(b)},jXb=function(a,b){a._whenQuietFns.push(b)};
Zx.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};
Zx.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$2276:g.$jscomp$loop$prop$players$2276},l=h.next()){l=l.value.element;var q=l!==e;g.$jscomp$loop$prop$players$2276=Rg(c,l,[]);this._getPreviousPlayers(l,q,a,d,b.toState).forEach(function(x){return function(A){var B=A._player;B.beforeDestroy&&B.beforeDestroy();A.destroy();x.$jscomp$loop$prop$players$2276.push(A)}}(g))}Wg(e,
b.fromStyles)};
Zx.prototype._buildAnimation=function(a,b,c,d,e,g){var h=this,l=b.triggerName,q=b.element,x=[],A=new Set,B=new Set,K=b.timelines.map(function(P){var Y=P.element;A.add(Y);var X=Y.__ng_removed;if(X&&X.removedBeforeQueried)return new Pg(P.duration,P.delay);X=Y!==q;var ka=ooa((c.get(Y)||$Wb).map(function(Ba){return Ba._player})).filter(function(Ba){return Ba.element?Ba.element===Y:!1}),ma=e.get(Y),za=g.get(Y);ma=Bna(P.keyframes,ma,za);ka=h._buildPlayer(P,ma,ka);P.subTimeline&&d&&B.add(Y);X&&(P=new fXb(a,
l,Y),rXb(P,ka),x.push(P));return ka});x.forEach(function(P){Rg(h.playersByQueriedElement,P.element,[]).push(P);P.onDone(function(){var Y=h.playersByQueriedElement,X=P.element,ka=Y.get(X);if(ka){if(ka.length){var ma=ka.indexOf(P);ka.splice(ma,1)}0==ka.length&&Y.delete(X)}return ka})});A.forEach(function(P){return bh(P,"ng-animating")});var N=Qg(K);N.onDestroy(function(){A.forEach(function(P){return ch(P,"ng-animating")});Vg(q,b.toStyles)});B.forEach(function(P){Rg(d,P,[]).push(N)});return N};
Zx.prototype._buildPlayer=function(a,b,c){return 0<b.length?this.driver.animate(a.element,b,a.duration,a.delay,a.easing,c):new Pg(a.duration,a.delay)};
var fXb=function(a,b,c){this.namespaceId=a;this.triggerName=b;this.element=c;this._player=new Pg;this._containsRealPlayer=!1;this._queuedCallbacks=new Map;this.destroyed=!1;this.parentPlayer=null;this.disabled=this.markedForDestroy=!1;this.queued=!0;this.totalTime=0},rXb=function(a,b){a._containsRealPlayer||(a._player=b,a._queuedCallbacks.forEach(function(c,d){c.forEach(function(e){return Dna(b,d,void 0,e)})}),a._queuedCallbacks.clear(),a._containsRealPlayer=!0,a.totalTime=b.totalTime,a.queued=!1)},
sXb=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=fXb.prototype;f._queueEvent=function(a,b){Rg(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 by=function(a,b,c){var d=this;this.bodyNode=a;this._driver=b;this._normalizer=c;this._triggerCache={};this.onRemovalComplete=function(){};this._transitionEngine=new Zx(a,b,c);this._timelineEngine=new ZWb(a,b,c);this._transitionEngine.onRemovalComplete=function(e,g){return d.onRemovalComplete(e,g)}};f=by.prototype;
f.registerTrigger=function(a,b,c,d,e){a=a+"-"+d;c=this._triggerCache[a];if(!c){c=[];e=(new DWb(this._driver)).build(e,c,[]);if(c.length)throw new uc(3404,!1);c=new WWb(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){oXb(this._transitionEngine,a,b)};f.process=function(a,b,c,d){"@"==c.charAt(0)?(c=k(Fna(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(Fna(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)};
hh.Object.defineProperties(by.prototype,{players:{configurable:!0,enumerable:!0,get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)}}});var soa=function(a,b,c){this._element=a;this._startStyles=b;this._endStyles=c;this._state=0;var d=tXb.get(a);d||tXb.set(a,d=new Map);this._initialStyles=d};soa.prototype.start=function(){1>this._state&&(this._startStyles&&Vg(this._element,this._startStyles,this._initialStyles),this._state=1)};soa.prototype.finish=function(){this.start();2>this._state&&(Vg(this._element,this._initialStyles),this._endStyles&&(Vg(this._element,this._endStyles),this._endStyles=null),this._state=1)};
soa.prototype.destroy=function(){this.finish();3>this._state&&(tXb.delete(this._element),this._startStyles&&(Wg(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Wg(this._element,this._endStyles),this._endStyles=null),Vg(this._element,this._initialStyles),this._state=3)};var tXb=new WeakMap;var uXb=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=uXb.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};hh.Object.defineProperties(uXb.prototype,{totalTime:{configurable:!0,enumerable:!0,get:function(){return this._delay+this._duration}}});var vXb=function(){};f=vXb.prototype;f.containsElement=function(a,b){return Ina(a,b)};f.getParentElement=function(a){return Hna(a)};f.query=function(a,b,c){return Jna(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(x){return x instanceof uXb});0!==c&&0!==d||e.forEach(function(x){x.currentSnapshot.forEach(function(A,B){return l.set(B,A)})});var q=Nna(b).map(function(x){return Ug(x)});q=Tna(a,q,l);b=toa(a,q);return new uXb(a,q,h,b)};var cy=function(a,b){this._nextAnimationId=0;this._renderer=a.createRenderer(b.body,{id:"0",encapsulation:2,styles:[],data:{animation:[]}})};U(cy,AWb);cy.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 wXb(b,this._renderer)};cy.\u0275fac=function(a){return new (a||cy)(u(ZRb),u(fh))};cy.\u0275prov=qc({token:cy,factory:cy.\u0275fac});
var wXb=function(a,b){this._id=a;this._renderer=b};U(wXb,BWb);wXb.prototype.create=function(a,b){return new xXb(this._id,a,b||{},this._renderer)};var xXb=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=xXb.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,Pc.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 dy=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)}};
dy.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 yXb("",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 zXb(this,g,d,this.engine)};
dy.prototype.begin=function(){this._cdRecurDepth++;this.delegate.begin&&this.delegate.begin()};dy.prototype._scheduleCountTask=function(){var a=this;this.promise.then(function(){a._microtaskId++})};
var AXb=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]))};
dy.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()};dy.\u0275fac=function(a){return new (a||dy)(u(ZRb),u(by),u(We))};dy.\u0275prov=qc({token:dy,factory:dy.\u0275fac});
var yXb=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=yXb.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)};hh.Object.defineProperties(yXb.prototype,{data:{configurable:!0,enumerable:!0,get:function(){return this.delegate.data}}});
var zXb=function(a,b,c,d,e){yXb.call(this,b,c,d,e);this.factory=a;this.namespaceId=b};U(zXb,yXb);zXb.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)};
zXb.prototype.listen=function(a,b,c){var d=this;if("@"==b.charAt(0)){a=uoa(a);b=b.slice(1);var e="";"@"!=b.charAt(0)&&(e=k(voa(b)),b=e.next().value,e=e.next().value);return this.engine.listen(this.namespaceId,a,b,e,function(g){AXb(d.factory,g._data||-1,c,g)})}return this.delegate.listen(a,b,c)};var ey=function(a,b,c){by.call(this,a.body,b,c)};U(ey,by);ey.prototype.ngOnDestroy=function(){this.flush()};ey.\u0275fac=function(a){return new (a||ey)(u(fh),u(TWb),u(QWb),u(Wv))};ey.\u0275prov=qc({token:ey,factory:ey.\u0275fac});var BXb=[{provide:AWb,useClass:cy},{provide:QWb,useFactory:function(){return new SWb}},{provide:by,useClass:ey},{provide:ZRb,useFactory:function(a,b,c){return new dy(a,b,c)},deps:[yx,by,We]}],CXb=[{provide:TWb,useFactory:function(){return new vXb}},{provide:ev,useValue:"BrowserAnimations"}].concat(Vc(BXb));
[{provide:TWb,useClass:Xx},{provide:ev,useValue:"NoopAnimations"}].concat(Vc(BXb));var fy=function(){};fy.\u0275fac=function(a){return new (a||fy)};fy.\u0275mod=Ic({type:fy});fy.\u0275inj=rc({providers:CXb,imports:[Rx]});var DXb=new Set,gy,hy=function(a,b){this._platform=a;this._nonce=b;this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):woa};hy.prototype.matchMedia=function(a){if(this._platform.WEBKIT||this._platform.BLINK){var b=this._nonce;if(!DXb.has(a))try{gy||(gy=document.createElement("style"),b&&(gy.nonce=b),gy.setAttribute("type","text/css"),document.head.appendChild(gy)),gy.sheet&&(gy.sheet.insertRule("@media "+a+" {body{ }}",0),DXb.add(a))}catch(c){console.error(c)}}return this._matchMedia(a)};
hy.\u0275fac=function(a){return new (a||hy)(u(bx),u(WRb,8))};hy.\u0275prov=qc({token:hy,factory:hy.\u0275fac,providedIn:"root"});var iy=function(a,b){this._mediaMatcher=a;this._zone=b;this._queries=new Map;this._destroySubject=new E.Subject};iy.prototype.ngOnDestroy=function(){this._destroySubject.next();this._destroySubject.complete()};
iy.prototype.observe=function(a){var b=this;a=xoa(wg(a)).map(function(c){return b._registerQuery(c).observable});a=(0,E.combineLatest)(a);a=(0,E.concat)(a.pipe(Ge()),a.pipe(Qe(1),De(0)));return a.pipe(D(function(c){var d={matches:!1,breakpoints:{}};c.forEach(function(e){var g=e.matches;e=e.query;d.matches=d.matches||g;d.breakpoints[e]=g});return d}))};
iy.prototype._registerQuery=function(a){var b=this;if(this._queries.has(a))return this._queries.get(a);var c=this._mediaMatcher.matchMedia(a),d={observable:(new E.Observable(function(e){var g=function(h){return b._zone.run(function(){return e.next(h)})};c.addListener(g);return function(){c.removeListener(g)}})).pipe(Re(c),D(function(e){return{query:a,matches:e.matches}}),Te(this._destroySubject)),mql:c};this._queries.set(a,d);return d};iy.\u0275fac=function(a){return new (a||iy)(u(hy),u(We))};
iy.\u0275prov=qc({token:iy,factory:iy.\u0275fac,providedIn:"root"});var jy=function(a,b){var c=this;this._platform=a;this._document=b;this._breakpointSubscription=Ac(iy).observe("(forced-colors: active)").subscribe(function(){c._hasCheckedHighContrastMode&&(c._hasCheckedHighContrastMode=!1,c._applyBodyHighContrastModeCssClasses())})},EXb=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};jy.prototype.ngOnDestroy=function(){this._breakpointSubscription.unsubscribe()};
jy.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=EXb(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")}};
jy.\u0275fac=function(a){return new (a||jy)(u(bx),u(fh))};jy.\u0275prov=qc({token:jy,factory:jy.\u0275fac,providedIn:"root"});var FXb=new Rc("liveAnnouncerElement",{providedIn:"root",factory:yoa}),GXb=new Rc("LIVE_ANNOUNCER_DEFAULT_OPTIONS");var ky=function(){};ky.prototype.create=function(a){return"undefined"===typeof MutationObserver?null:new MutationObserver(a)};ky.\u0275fac=function(a){return new (a||ky)};ky.\u0275prov=qc({token:ky,factory:ky.\u0275fac,providedIn:"root"});var ly=function(a){this._mutationObserverFactory=a;this._observedElements=new Map};f=ly.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=zg(a);return new E.Observable(function(d){var e=b._observeElement(c).subscribe(d);return function(){e.unsubscribe();b._unobserveElement(c)}})};f._observeElement=function(a){if(this._observedElements.has(a))this._observedElements.get(a).count++;else{var b=new E.Subject,c=this._mutationObserverFactory.create(function(d){return b.next(d)});c&&c.observe(a,{characterData:!0,childList:!0,subtree:!0});this._observedElements.set(a,{observer:c,stream:b,count:1})}return this._observedElements.get(a).stream};
f._unobserveElement=function(a){this._observedElements.has(a)&&(this._observedElements.get(a).count--,this._observedElements.get(a).count||this._cleanupObserver(a))};f._cleanupObserver=function(a){if(this._observedElements.has(a)){var b=this._observedElements.get(a),c=b.observer;b=b.stream;c&&c.disconnect();b.complete();this._observedElements.delete(a)}};ly.\u0275fac=function(a){return new (a||ly)(u(ky))};ly.\u0275prov=qc({token:ly,factory:ly.\u0275fac,providedIn:"root"});
var my=function(a,b,c){this._contentObserver=a;this._elementRef=b;this._ngZone=c;this.event=new Gv;this._disabled=!1;this._currentSubscription=null};my.prototype.ngAfterContentInit=function(){this._currentSubscription||this.disabled||this._subscribe()};my.prototype.ngOnDestroy=function(){this._unsubscribe()};
my.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)})};my.prototype._unsubscribe=function(){var a;null==(a=this._currentSubscription)||a.unsubscribe()};
hh.Object.defineProperties(my.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){(this._disabled=xg(a))?this._unsubscribe():this._subscribe()}},debounce:{configurable:!0,enumerable:!0,get:function(){return this._debounce},set:function(a){this._debounce=Ag(a);this._subscribe()}}});my.\u0275fac=function(a){return new (a||my)(C(ly),C(vd),C(We))};
my.\u0275dir=Kc({type:my,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]});var ny=function(){};ny.\u0275fac=function(a){return new (a||ny)};ny.\u0275mod=Ic({type:ny});ny.\u0275inj=rc({providers:[ky]});var HXb=0,oy=function(a,b,c,d){this._ngZone=b;this._defaultOptions=d;this._document=c;this._liveElement=a||this._createLiveElement()};f=oy.prototype;
f.announce=function(a){var b=Pc.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-"+HXb++;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)}};oy.\u0275fac=function(a){return new (a||oy)(u(FXb,8),u(We),u(fh),u(GXb,8))};oy.\u0275prov=qc({token:oy,factory:oy.\u0275fac,providedIn:"root"});var py=function(a){a._applyBodyHighContrastModeCssClasses()};py.\u0275fac=function(a){return new (a||py)(u(jy))};py.\u0275mod=Ic({type:py});py.\u0275inj=rc({imports:[ny]});var Coa=0,qy=function(a,b){this._platform=b;this._messageRegistry=new Map;this._messagesContainer=null;this._id=""+Coa++;this._document=a;this._id=Ac(VRb)+"-"+Coa++};qy.prototype.describe=function(a,b,c){if(this._canBeDescribed(a,b)){var d=Boa(b,c);"string"!==typeof b?(Doa(b,this._id),this._messageRegistry.set(d,{messageElement:b,referenceCount:0})):this._messageRegistry.has(d)||this._createMessageElement(b,c);this._isElementDescribedByMessage(a,d)||this._addMessageReference(a,d)}};
var IXb=function(a,b,c,d){if(c&&a._isElementNode(b)){d=Boa(c,d);a._isElementDescribedByMessage(b,d)&&a._removeMessageReference(b,d);"string"===typeof c&&(b=a._messageRegistry.get(d))&&0===b.referenceCount&&a._deleteMessageElement(d);var e;0===(null==(e=a._messagesContainer)?void 0:e.childNodes.length)&&(a._messagesContainer.remove(),a._messagesContainer=null)}};f=qy.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");Doa(c,this._id);c.textContent=a;b&&c.setAttribute("role",b);this._createMessagesContainer();this._messagesContainer.appendChild(c);this._messageRegistry.set(Boa(a,b),{messageElement:c,referenceCount:0})};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=zoa(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);Aoa(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--;eh(a,"aria-describedby",b.messageElement.id);a.removeAttribute("cdk-describedby-host")};f._isElementDescribedByMessage=function(a,b){a=zoa(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};qy.\u0275fac=function(a){return new (a||qy)(u(fh),u(bx))};qy.\u0275prov=qc({token:qy,factory:qy.\u0275fac,providedIn:"root"});var ry=function(a,b,c,d,e,g,h){dx.call(this,a,b,c,d,h.defer);this._focusTrapManager=e;this._inertStrategy=g;this._focusTrapManager.register(this)};U(ry,dx);ry.prototype.destroy=function(){this._focusTrapManager.deregister(this);dx.prototype.destroy.call(this)};ry.prototype._enable=function(){JXb(this._inertStrategy,this);pVb(this,!0)};ry.prototype._disable=function(){var a=this._inertStrategy;a._listener&&(this._document.removeEventListener("focus",a._listener,!0),a._listener=null);pVb(this,!1)};
hh.Object.defineProperties(ry.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 KXb=function(){this._listener=null},JXb=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)})};KXb.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)&&mVb(a)})};var LXb=new Rc("FOCUS_TRAP_INERT_STRATEGY");var sy=function(){this._focusTrapStack=[]};sy.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()};sy.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())};sy.\u0275fac=function(a){return new (a||sy)};sy.\u0275prov=qc({token:sy,factory:sy.\u0275fac,providedIn:"root"});var ty=function(a,b,c,d,e){this._checker=a;this._ngZone=b;this._focusTrapManager=c;this._document=d;this._inertStrategy=e||new KXb};ty.prototype.create=function(a,b){b=void 0===b?{defer:!1}:b;var c;"boolean"===typeof b?c={defer:b}:c=b;return new ry(a,this._checker,this._ngZone,this._document,this._focusTrapManager,this._inertStrategy,c)};ty.\u0275fac=function(a){return new (a||ty)(u(cx),u(We),u(sy),u(fh),u(LXb,8))};ty.\u0275prov=qc({token:ty,factory:ty.\u0275fac,providedIn:"root"});var uy=function(a){var b=this;this._items=a;this._activeItemIndex=-1;this._activeItem=null;this._wrap=!1;this._letterKeyStream=new E.Subject;this._typeaheadSubscription=E.Subscription.EMPTY;this._vertical=!0;this._allowedModifierKeys=[];this._homeAndEnd=!1;this._pageUpAndDown={enabled:!1,delta:10};this._skipPredicateFn=function(c){return c.disabled};this._pressedLetters=[];this.tabOut=new E.Subject;this.change=new E.Subject;a instanceof Xf&&(this._itemChangesSubscription=a.changes.subscribe(function(c){b._activeItem&&
(c=c.toArray().indexOf(b._activeItem),-1<c&&c!==b._activeItemIndex&&(b._activeItemIndex=c))}))},MXb=function(a,b){a._skipPredicateFn=b;return a},vy=function(a){a._wrap=!0;return a},wy=function(a,b){a._vertical=void 0===b?!0:b;return a},xy=function(a,b){a._horizontal=b;return a},NXb=function(a){a._allowedModifierKeys=["shiftKey"];return a},OXb=function(a,b){b=void 0===b?200:b;a._typeaheadSubscription.unsubscribe();a._typeaheadSubscription=a._letterKeyStream.pipe(Ue(function(c){return a._pressedLetters.push(c)}),
De(b),ye(function(){return 0<a._pressedLetters.length}),D(function(){return a._pressedLetters.join("")})).subscribe(function(c){for(var d=a._getItemsArray(),e=1;e<d.length+1;e++){var g=(a._activeItemIndex+e)%d.length,h=d[g];if(!a._skipPredicateFn(h)&&0===h.getLabel().toUpperCase().trim().indexOf(c)){a.setActiveItem(g);break}}a._pressedLetters=[]});return a},yy=function(a){a._homeAndEnd=!0;return a},PXb=function(a){a._pageUpAndDown={enabled:!0,delta:10};return a};
uy.prototype.setActiveItem=function(a){var b=this._activeItem;zy(this,a);this._activeItem!==b&&this.change.next(this._activeItemIndex)};
uy.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){QXb(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||Bg(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 QXb=function(a){a._setActiveItemByIndex(a._items.length-1,-1)};uy.prototype.setNextItemActive=function(){0>this._activeItemIndex?this._setActiveItemByIndex(0,1):this._setActiveItemByDelta(1)};
uy.prototype.setPreviousItemActive=function(){0>this._activeItemIndex&&this._wrap?QXb(this):this._setActiveItemByDelta(-1)};var zy=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=uy.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 Xf?this._items.toArray():this._items};hh.Object.defineProperties(uy.prototype,{activeItemIndex:{configurable:!0,enumerable:!0,get:function(){return this._activeItemIndex}},activeItem:{configurable:!0,enumerable:!0,get:function(){return this._activeItem}}});var Ay=function(){uy.apply(this,arguments)};U(Ay,uy);Ay.prototype.setActiveItem=function(a){this.activeItem&&this.activeItem.setInactiveStyles();uy.prototype.setActiveItem.call(this,a);this.activeItem&&this.activeItem.setActiveStyles()};var By=function(){uy.apply(this,arguments);this._origin="program"};U(By,uy);var RXb=function(a,b){a._origin=b;return a};By.prototype.setActiveItem=function(a){uy.prototype.setActiveItem.call(this,a);this.activeItem&&this.activeItem.focus(this._origin)};var SXb=new Rc("cdk-dir-doc",{providedIn:"root",factory:Eoa});var TXb=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i,Cy=function(a){this.value="ltr";this.change=new Gv;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)?TXb.test(navigator.language)?"rtl":"ltr":"rtl"===b?"rtl":"ltr"}};Cy.prototype.ngOnDestroy=function(){this.change.complete()};
Cy.\u0275fac=function(a){return new (a||Cy)(u(SXb,8))};Cy.\u0275prov=qc({token:Cy,factory:Cy.\u0275fac,providedIn:"root"});var Dy=function(){};Dy.\u0275fac=function(a){return new (a||Dy)};Dy.\u0275mod=Ic({type:Dy});Dy.\u0275inj=rc({});var Ey=function(a){this._attachedOverlays=[];this._document=a};Ey.prototype.ngOnDestroy=function(){this.detach()};Ey.prototype.add=function(a){this.remove(a);this._attachedOverlays.push(a)};Ey.prototype.remove=function(a){a=this._attachedOverlays.indexOf(a);-1<a&&this._attachedOverlays.splice(a,1);0===this._attachedOverlays.length&&this.detach()};Ey.\u0275fac=function(a){return new (a||Ey)(u(fh))};Ey.\u0275prov=qc({token:Ey,factory:Ey.\u0275fac,providedIn:"root"});var Fy=function(a,b){Ey.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$2278:g.$jscomp$loop$prop$keydownEvents$2278},h--)if(0<e[h]._keydownEvents.observers.length){g.$jscomp$loop$prop$keydownEvents$2278=e[h]._keydownEvents;c._ngZone?c._ngZone.run(function(l){return function(){return l.$jscomp$loop$prop$keydownEvents$2278.next(d)}}(g)):g.$jscomp$loop$prop$keydownEvents$2278.next(d);break}}};
U(Fy,Ey);Fy.prototype.add=function(a){var b=this;Ey.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)};Fy.prototype.detach=function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)};
Fy.\u0275fac=function(a){return new (a||Fy)(u(fh),u(We,8))};Fy.\u0275prov=qc({token:Fy,factory:Fy.\u0275fac,providedIn:"root"});var Gy=function(a,b,c){Ey.call(this,a);var d=this;this._platform=b;this._ngZone=c;this._cursorStyleIsSet=!1;this._pointerDownListener=function(e){d._pointerDownEventTarget=vg(e)};this._clickListener=function(e){var g=vg(e),h="click"===e.type&&d._pointerDownEventTarget?d._pointerDownEventTarget:g;d._pointerDownEventTarget=null;for(var l=d._attachedOverlays.slice(),q={},x=l.length-1;-1<x;q={$jscomp$loop$prop$outsidePointerEvents$2280:q.$jscomp$loop$prop$outsidePointerEvents$2280},x--){var A=l[x];if(!(1>
A._outsidePointerEvents.observers.length)&&A.hasAttached()){if(A.overlayElement.contains(g)||A.overlayElement.contains(h))break;q.$jscomp$loop$prop$outsidePointerEvents$2280=A._outsidePointerEvents;d._ngZone?d._ngZone.run(function(B){return function(){return B.$jscomp$loop$prop$outsidePointerEvents$2280.next(e)}}(q)):q.$jscomp$loop$prop$outsidePointerEvents$2280.next(e)}}}};U(Gy,Ey);
Gy.prototype.add=function(a){var b=this;Ey.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}};
Gy.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}};
Gy.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)};Gy.\u0275fac=function(a){return new (a||Gy)(u(fh),u(bx),u(We,8))};Gy.\u0275prov=qc({token:Gy,factory:Gy.\u0275fac,providedIn:"root"});var Hy=function(a,b){this._platform=b;this._document=a};Hy.prototype.ngOnDestroy=function(){var a;null==(a=this._containerElement)||a.remove()};var UXb=function(a){a._containerElement||a._createContainer();return a._containerElement};
Hy.prototype._createContainer=function(){if(this._platform.isBrowser||Qma())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");Qma()?a.setAttribute("platform","test"):this._platform.isBrowser||a.setAttribute("platform","server");this._document.body.appendChild(a);this._containerElement=a};
Hy.\u0275fac=function(a){return new (a||Hy)(u(fh),u(bx))};Hy.\u0275prov=qc({token:Hy,factory:Hy.\u0275fac,providedIn:"root"});var VXb=Lma(),WXb=function(a,b){this._viewportRuler=a;this._previousHTMLStyles={top:"",left:""};this._isEnabled=!1;this._document=b};WXb.prototype.attach=function(){};
WXb.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=yg(-this._previousScrollPosition.left);a.style.top=yg(-this._previousScrollPosition.top);a.classList.add("cdk-global-scrollblock");this._isEnabled=!0}};
WXb.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");VXb&&(b.scrollBehavior=c.scrollBehavior="auto");window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top);VXb&&(b.scrollBehavior=d,c.scrollBehavior=e)}};
WXb.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 XXb=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()})}};XXb.prototype.attach=function(a){this._overlayRef=a};
XXb.prototype.enable=function(){var a=this;if(!this._scrollSubscription){var b=this._scrollDispatcher.scrolled(0).pipe(ye(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)}};XXb.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)};XXb.prototype.detach=function(){this.disable();this._overlayRef=null};var YXb=function(){};YXb.prototype.enable=function(){};YXb.prototype.disable=function(){};YXb.prototype.attach=function(){};var ZXb=function(a,b,c,d){this._scrollDispatcher=a;this._viewportRuler=b;this._ngZone=c;this._config=d;this._scrollSubscription=null};ZXb.prototype.attach=function(a){this._overlayRef=a};
ZXb.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;Foa(b,[{width:d,height:c,bottom:c,right:d,top:0,left:0}])&&(a.disable(),a._ngZone.run(function(){return a._overlayRef.detach()}))}}))};
ZXb.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)};ZXb.prototype.detach=function(){this.disable();this._overlayRef=null};var $Xb=new Rc("VIRTUAL_SCROLL_STRATEGY");var Iy=function(a,b,c){this._ngZone=a;this._platform=b;this._scrolled=new E.Subject;this._globalSubscription=null;this._scrolledCount=0;this.scrollContainers=new Map;this._document=c};Iy.prototype.register=function(a){var b=this;this.scrollContainers.has(a)||this.scrollContainers.set(a,a._elementScrolled.subscribe(function(){return b._scrolled.next(a)}))};Iy.prototype.deregister=function(a){var b=this.scrollContainers.get(a);b&&(b.unsubscribe(),this.scrollContainers.delete(a))};
Iy.prototype.scrolled=function(a){var b=this;a=void 0===a?20:a;return this._platform.isBrowser?new E.Observable(function(c){b._globalSubscription||b._addGlobalListener();var d=0<a?b._scrolled.pipe(Be(a)).subscribe(c):b._scrolled.subscribe(c);b._scrolledCount++;return function(){d.unsubscribe();b._scrolledCount--;b._scrolledCount||b._removeGlobalListener()}}):(0,E.of)()};
Iy.prototype.ngOnDestroy=function(){var a=this;this._removeGlobalListener();this.scrollContainers.forEach(function(b,c){return a.deregister(c)});this._scrolled.complete()};var aYb=function(a,b){var c=[];a.scrollContainers.forEach(function(d,e){a._scrollableContainsElement(e,b)&&c.push(e)});return c};Iy.prototype._getWindow=function(){return this._document.defaultView||window};
Iy.prototype._scrollableContainsElement=function(a,b){b=zg(b);a=a.elementRef.nativeElement;do if(b==a)return!0;while(b=b.parentElement);return!1};Iy.prototype._addGlobalListener=function(){var a=this;this._globalSubscription=this._ngZone.runOutsideAngular(function(){return(0,E.fromEvent)(a._getWindow().document,"scroll").subscribe(function(){return a._scrolled.next()})})};
Iy.prototype._removeGlobalListener=function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)};Iy.\u0275fac=function(a){return new (a||Iy)(u(We),u(bx),u(fh,8))};Iy.\u0275prov=qc({token:Iy,factory:Iy.\u0275fac,providedIn:"root"});var Jy=function(a,b,c,d){var e=this;this.elementRef=a;this.scrollDispatcher=b;this.ngZone=c;this.dir=d;this._destroyed=new E.Subject;this._elementScrolled=new E.Observable(function(g){return e.ngZone.runOutsideAngular(function(){return(0,E.fromEvent)(e.elementRef.nativeElement,"scroll").pipe(Te(e._destroyed)).subscribe(g)})})};Jy.prototype.ngOnInit=function(){this.scrollDispatcher.register(this)};Jy.prototype.ngOnDestroy=function(){this.scrollDispatcher.deregister(this);this._destroyed.next();this._destroyed.complete()};
Jy.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!=Nma()?(null!=a.left&&(a.right=b.scrollWidth-b.clientWidth-a.left),2==Nma()?a.left=a.right:1==Nma()&&(a.left=a.right?-a.right:a.right)):null!=a.right&&(a.left=b.scrollWidth-b.clientWidth-a.right);this._applyScrollToOptions(a)};
Jy.prototype._applyScrollToOptions=function(a){var b=this.elementRef.nativeElement;Lma()?b.scrollTo(a):(null!=a.top&&(b.scrollTop=a.top),null!=a.left&&(b.scrollLeft=a.left))};Jy.\u0275fac=function(a){return new (a||Jy)(C(vd),C(Iy),C(We),C(Cy,8))};Jy.\u0275dir=Kc({type:Jy,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0});var bYb=function(){},cYb=function(a,b,c,d){eUb(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})}})};bYb.prototype.detach=function(){};var Ky=function(a,b,c,d){var e=this;a=void 0===a?!1:a;c=void 0===c?!0:c;this._multiple=a;this._emitChanges=c;this.compareWith=d;this._selection=new Set;this._deselectedToEmit=[];this._selectedToEmit=[];this.changed=new E.Subject;b&&b.length&&(a?b.forEach(function(g){return e._markSelected(g)}):this._markSelected(b[0]),this._selectedToEmit.length=0)};f=Ky.prototype;
f.select=function(){var a=this;Pc.apply(0,arguments).forEach(function(c){return a._markSelected(c)});var b=this._hasQueuedChanges();this._emitChangeEvent();return b};f.deselect=function(){var a=this;Pc.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};hh.Object.defineProperties(Ky.prototype,{selected:{configurable:!0,enumerable:!0,get:function(){this._selected||(this._selected=Array.from(this._selection.values()));return this._selected}}});var Ly=function(){this._listeners=[]};Ly.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)};Ly.prototype.listen=function(a){var b=this;this._listeners.push(a);return function(){b._listeners=b._listeners.filter(function(c){return a!==c})}};Ly.prototype.ngOnDestroy=function(){this._listeners=[]};Ly.\u0275fac=function(a){return new (a||Ly)};Ly.\u0275prov=qc({token:Ly,factory:Ly.\u0275fac,providedIn:"root"});var dYb=new Rc("_ViewRepeater");var My=function(a,b,c){var d=this;this._platform=a;this._change=new E.Subject;this._changeListener=function(e){d._change.next(e)};this._document=c;b.runOutsideAngular(function(){if(a.isBrowser){var e=d._getWindow();e.addEventListener("resize",d._changeListener);e.addEventListener("orientationchange",d._changeListener)}d.change().subscribe(function(){return d._viewportSize=null})})};f=My.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}};My.\u0275fac=function(a){return new (a||My)(u(bx),u(We),u(fh,8))};My.\u0275prov=qc({token:My,factory:My.\u0275fac,providedIn:"root"});var eYb=new Rc("VIRTUAL_SCROLLABLE"),Ny=function(a,b,c,d){Jy.call(this,a,b,c,d)};U(Ny,Jy);Ny.\u0275fac=function(a){return new (a||Ny)(C(vd),C(Iy),C(We),C(Cy,8))};Ny.\u0275dir=Kc({type:Ny,features:[bf]});var fYb=["contentWrapper"],gYb="undefined"!==typeof requestAnimationFrame?E.animationFrameScheduler:E.asapScheduler,Oy=function(a,b,c,d,e,g,h,l){Jy.call(this,a,g,c,e);var q=this;this.elementRef=a;this._changeDetectorRef=b;this._scrollStrategy=d;this.scrollable=l;this._platform=Ac(bx);this._detachedSubject=new E.Subject;this._renderedRangeSubject=new E.Subject;this._orientation="vertical";this._appendOnly=!1;this.scrolledIndexChange=new E.Observable(function(x){return q._scrollStrategy.scrolledIndexChange.subscribe(function(A){return Promise.resolve().then(function(){return q.ngZone.run(function(){return x.next(A)})})})});
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=E.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)};U(Oy,Ny);Oy.\u0275dir=Ny.\u0275dir;f=Oy.prototype;f.ngOnInit=function(){var a=this;this._platform.isBrowser&&(this.scrollable===this&&Ny.prototype.ngOnInit.call(this),this.ngZone.runOutsideAngular(function(){return Promise.resolve().then(function(){a._measureViewportSize();a._scrollStrategy.attach(a);a.scrollable._elementScrolled.pipe(Re(null),Be(0,gYb)).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();Ny.prototype.ngOnDestroy.call(this)};f.attach=function(a){var b=this;this.ngZone.runOutsideAngular(function(){b._forOf=a;b._forOf.dataStream.pipe(Te(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":""};hh.Object.defineProperties(Oy.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=xg(a)}}});
Oy.\u0275fac=function(a){return new (a||Oy)(C(vd),C(Yv),C(We),C($Xb,8),C(Cy,8),C(Iy),C(My),C(eYb,8))};
Oy.\u0275cmp=Gc({type:Oy,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(a,b){a&1&&Uf(fYb,7);if(a&2){var c;Tf(c=Wf())&&(b._contentWrapper=c.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(a,b){a&2&&qf("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:[Gf([{provide:Jy,useFactory:function(a,b){return a||b},deps:[[new $u,new KRb(eYb)],Oy]}]),bf,Nka],ngContentSelectors:["*"],decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(a,b){a&1&&(xf(),G(0,"div",0,1),yf(2),H(),I(3,"div",2));a&2&&(z(3),pf("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 Py=function(){};Py.\u0275fac=function(a){return new (a||Py)};Py.\u0275mod=Ic({type:Py});Py.\u0275inj=rc({});var Qy=function(){};Qy.\u0275fac=function(a){return new (a||Qy)};Qy.\u0275mod=Ic({type:Qy});Qy.\u0275inj=rc({imports:[Dy,Py,Dy,Py]});var Ry=function(a,b,c,d){var e=this;this._scrollDispatcher=a;this._viewportRuler=b;this._ngZone=c;this.noop=function(){return new YXb};this.close=function(g){return new XXb(e._scrollDispatcher,e._ngZone,e._viewportRuler,g)};this.block=function(){return new WXb(e._viewportRuler,e._document)};this.reposition=function(g){return new ZXb(e._scrollDispatcher,e._viewportRuler,e._ngZone,g)};this._document=d};Ry.\u0275fac=function(a){return new (a||Ry)(u(Iy),u(My),u(We),u(fh))};
Ry.\u0275prov=qc({token:Ry,factory:Ry.\u0275fac,providedIn:"root"});var Sy=function(a){this.scrollStrategy=new YXb;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 Ty=function(a,b,c,d,e,g,h,l,q,x){var A=this;x=void 0===x?!1:x;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=x;this._backdropElement=null;this._backdropClick=new E.Subject;this._attachments=new E.Subject;this._detachments=new E.Subject;this._locationChanges=E.Subscription.EMPTY;this._backdropClickHandler=function(B){return A._backdropClick.next(B)};
this._backdropTransitionendHandler=function(B){A._disposeBackdrop(B.target)};this._keydownEvents=new E.Subject;this._outsidePointerEvents=new E.Subject;d.scrollStrategy&&(this._scrollStrategy=d.scrollStrategy,this._scrollStrategy.attach(this));this._positionStrategy=d.positionStrategy};f=Ty.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()){hYb(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=yg(this._config.width);a.height=yg(this._config.height);a.minWidth=yg(this._config.minWidth);a.minHeight=yg(this._config.minHeight);a.maxWidth=yg(this._config.maxWidth);a.maxHeight=yg(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 hYb=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)})))};
Ty.prototype._toggleClasses=function(a,b,c){b=wg(b||[]).filter(function(d){return!!d});b.length&&(c?a.classList.add.apply(a.classList,Vc(b)):a.classList.remove.apply(a.classList,Vc(b)))};
Ty.prototype._detachContentWhenStable=function(){var a=this;this._ngZone.runOutsideAngular(function(){var b=a._ngZone.onStable.pipe(Te((0,E.merge)(a._attachments,a._detachments))).subscribe(function(){a._pane&&a._host&&0!==a._pane.children.length||(a._pane&&a._config.panelClass&&a._toggleClasses(a._pane,a._config.panelClass,!1),a._host&&a._host.parentElement&&(a._previousHostParent=a._host.parentElement,a._host.remove()),b.unsubscribe())})})};
Ty.prototype._disposeScrollStrategy=function(){var a=this._scrollStrategy;a&&(a.disable(),a.detach&&a.detach())};Ty.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)};
hh.Object.defineProperties(Ty.prototype,{overlayElement:{configurable:!0,enumerable:!0,get:function(){return this._pane}},hostElement:{configurable:!0,enumerable:!0,get:function(){return this._host}}});var iYb=function(a,b){this.connectionPair=a;this.scrollableViewProperties=b};var Ioa=/([A-Za-z%]+)$/,Uy=function(a,b,c,d,e){this._viewportRuler=b;this._document=c;this._platform=d;this._overlayContainer=e;this._lastBoundingBoxSize={width:0,height:0};this._isPushed=!1;this._canPush=!0;this._growAfterOpen=!1;this._hasFlexibleDimensions=!0;this._positionLocked=!1;this._viewportMargin=0;this._scrollables=[];this._preferredPositions=[];this._positionChanges=new E.Subject;this._resizeSubscription=E.Subscription.EMPTY;this._offsetY=this._offsetX=0;this._appliedPanelClasses=[];this.positionChanges=
this._positionChanges;this.setOrigin(a)};Uy.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()})};
Uy.prototype.apply=function(){if(!this._isDisposed&&this._platform.isBrowser)if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)jYb(this);else{this._clearPanelClasses();this._resetOverlayElementStyles();this._resetBoundingBoxStyles();this._viewportRect=this._getNarrowedViewportRect();this._originRect=this._getOriginRect();this._overlayRect=this._pane.getBoundingClientRect();this._containerRect=UXb(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),x=this._getOverlayPoint(q,b,l),A=this._getOverlayFit(x,b,c,l);if(A.isCompletelyWithinViewport){this._isPushed=!1;this._applyPosition(l,q);return}if(this._canFitWithFlexibleDimensions(A,x,c))e.push({position:l,origin:q,overlayRect:b,boundingBoxRect:this._calculateBoundingBoxRect(q,l)});else if(!g||g.overlayFit.visibleArea<A.visibleArea)g={overlayFit:A,
overlayPoint:x,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)}};Uy.prototype.detach=function(){this._clearPanelClasses();this._previousPushAmount=this._lastPosition=null;this._resizeSubscription.unsubscribe()};
Uy.prototype.dispose=function(){this._isDisposed||(this._boundingBox&&gh(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 jYb=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=UXb(a._overlayContainer).getBoundingClientRect();var c=a._getOriginPoint(a._originRect,a._containerRect,b);a._applyPosition(b,c)}else a.apply()}},kYb=function(a,b){a._scrollables=b;return a},Vy=function(a,b){a._preferredPositions=b;-1===b.indexOf(a._lastPosition)&&(a._lastPosition=
null);return a},Wy=function(a,b){a._viewportMargin=b;return a},Xy=function(a,b){a._hasFlexibleDimensions=void 0===b?!0:b;return a},lYb=function(a,b){a._growAfterOpen=void 0===b?!0:b;return a},mYb=function(a,b){a._canPush=void 0===b?!0:b;return a},nYb=function(a,b){a._positionLocked=void 0===b?!0:b;return a};Uy.prototype.setOrigin=function(a){this._origin=a;return this};var oYb=function(a,b){a._transformOriginSelector=b;return a};f=Uy.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=Koa(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=Joa(this._overlayRef.getConfig().minHeight);var e=Joa(this._overlayRef.getConfig().minWidth);c=a.fitsInViewportHorizontally||null!=e&&e<=c;return(a.fitsInViewportVertically||null!=b&&b<=d)&&c}return!1};
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=Koa(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 iYb(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 x=a.x;b=c.right-a.x}else x=Math.min(c.right-a.x+c.left,a.x),c=this._lastBoundingBoxSize.width,b=2*x,x=a.x-x,b>c&&!this._isInitialRender&&!this._growAfterOpen&&(x=a.x-c/2);return{top:e,left:x,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=yg(a.height);c.top=yg(a.top);c.bottom=yg(a.bottom);
c.width=yg(a.width);c.left=yg(a.left);c.right=yg(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=yg(d));e&&(c.maxWidth=yg(e))}this._lastBoundingBoxSize=a;gh(this._boundingBox.style,c)};f._resetBoundingBoxStyles=function(){gh(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})};
f._resetOverlayElementStyles=function(){gh(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();gh(c,this._getExactOverlayY(b,a,h));gh(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=yg(g.maxHeight):e&&(c.maxHeight=""));g.maxWidth&&
(d?c.maxWidth=yg(g.maxWidth):e&&(c.maxWidth=""));gh(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=yg(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=yg(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:Goa(a,c),isOriginOutsideView:Foa(a,c),isOverlayClipped:Goa(b,c),isOverlayOutsideView:Foa(b,c)}};f._subtractOverflows=function(a){return Pc.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&&wg(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 vd)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}};
hh.Object.defineProperties(Uy.prototype,{positions:{configurable:!0,enumerable:!0,get:function(){return this._preferredPositions}}});var pYb=function(){this._cssPosition="static";this._height=this._width=this._xOffset=this._xPosition=this._alignItems=this._bottomOffset=this._topOffset="";this._isDisposed=!1};f=pYb.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 qYb=function(a){a.left("");a._xPosition="center";return a},rYb=function(a){a.top("");a._alignItems="center";return a};
pYb.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="",x="";if(d)x="flex-start";else if("center"===
g)x="center",h?q=c:l=c;else if(h)if("left"===g||"end"===g)x="flex-end",l=c;else{if("right"===g||"start"===g)x="flex-start",q=c}else if("left"===g||"start"===g)x="flex-start",l=c;else if("right"===g||"end"===g)x="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=x;b.alignItems=e?"flex-start":this._alignItems}};
pYb.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 Yy=function(a,b,c,d){this._viewportRuler=a;this._document=b;this._platform=c;this._overlayContainer=d};Yy.prototype.global=function(){return new pYb};var Zy=function(a,b){return new Uy(b,a._viewportRuler,a._document,a._platform,a._overlayContainer)};Yy.\u0275fac=function(a){return new (a||Yy)(u(My),u(fh),u(bx),u(Hy))};Yy.\u0275prov=qc({token:Yy,factory:Yy.\u0275fac,providedIn:"root"});var sYb=0,$y=function(a,b,c,d,e,g,h,l,q,x,A,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=x;this._outsideClickDispatcher=A;this._animationsModuleType=B};f=$y.prototype;
f.create=function(a){var b=this._createHostElement(),c=this._createPaneElement(b),d=this._createPortalOutlet(c);a=new Sy(a);a.direction=a.direction||this._directionality.value;return new Ty(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-"+sYb++;b.classList.add("cdk-overlay-pane");a.appendChild(b);return b};f._createHostElement=function(){var a=this._document.createElement("div");UXb(this._overlayContainer).appendChild(a);return a};f._createPortalOutlet=function(a){this._appRef||(this._appRef=this._injector.get(Wv));return new px(a,this._componentFactoryResolver,this._appRef,this._injector,this._document)};
$y.\u0275fac=function(a){return new (a||$y)(u(Ry),u(Hy),u(cv),u(Yy),u(Fy),u(bv),u(We),u(fh),u(Cy),u(Aw),u(Gy),u(ev,8))};$y.\u0275prov=qc({token:$y,factory:$y.\u0275fac,providedIn:"root"});var tYb=[{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"}],uYb=new Rc("cdk-connected-overlay-scroll-strategy"),az=function(a){this.elementRef=a};az.\u0275fac=function(a){return new (a||az)(C(vd))};
az.\u0275dir=Kc({type:az,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0});
var bz=function(a,b,c,d,e){this._overlay=a;this._dir=e;this._push=this._flexibleDimensions=this._growAfterOpen=this._lockPosition=this._hasBackdrop=!1;this._positionSubscription=this._detachSubscription=this._attachSubscription=this._backdropSubscription=E.Subscription.EMPTY;this.viewportMargin=0;this.disableClose=this.open=!1;this.backdropClick=new Gv;this.positionChange=new Gv;this.attach=new Gv;this.detach=new Gv;this.overlayKeydown=new Gv;this.overlayOutsideClick=new Gv;this._templatePortal=new nx(b,
c);this._scrollStrategyFactory=d;this.scrollStrategy=this._scrollStrategyFactory()};f=bz.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=tYb);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||Bg(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 Sy({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 oYb(nYb(Wy(lYb(mYb(Xy(Vy(a.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()),c),this.flexibleDimensions),this.push),this.growAfterOpen),this.viewportMargin),this.lockPosition),this.transformOriginSelector)};
f._createPositionStrategy=function(){var a=Zy(this._overlay.position(),this._getFlexibleConnectedPositionStrategyOrigin());this._updatePositionStrategy(a);return a};f._getFlexibleConnectedPositionStrategyOrigin=function(){return this.origin instanceof az?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(sja(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()};
hh.Object.defineProperties(bz.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=
xg(a)}},lockPosition:{configurable:!0,enumerable:!0,get:function(){return this._lockPosition},set:function(a){this._lockPosition=xg(a)}},flexibleDimensions:{configurable:!0,enumerable:!0,get:function(){return this._flexibleDimensions},set:function(a){this._flexibleDimensions=xg(a)}},growAfterOpen:{configurable:!0,enumerable:!0,get:function(){return this._growAfterOpen},set:function(a){this._growAfterOpen=xg(a)}},push:{configurable:!0,enumerable:!0,get:function(){return this._push},set:function(a){this._push=
xg(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"}}});bz.\u0275fac=function(a){return new (a||bz)(C($y),C(Qf),C(Rf),C(uYb),C(Cy,8))};
bz.\u0275dir=Kc({type:bz,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:[Zc]});var vYb={provide:uYb,deps:[$y],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}};var cz=function(){};cz.\u0275fac=function(a){return new (a||cz)};cz.\u0275mod=Ic({type:cz});cz.\u0275inj=rc({providers:[$y,vYb],imports:[Dy,sx,Qy,Qy]});new hv;new hv;var wYb=new Rc("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}}),dz=function(a,b,c){this._sanityChecks=b;this._document=c;this._hasDoneGlobalChecks=!1;a._applyBodyHighContrastModeCssClasses();this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)};dz.prototype._checkIsEnabled=function(a){return Qma()?!1:"boolean"===typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[a]};dz.\u0275fac=function(a){return new (a||dz)(u(jy),u(wYb,8),u(fh))};dz.\u0275mod=Ic({type:dz});
dz.\u0275inj=rc({imports:[Dy,Dy]});new Rc("MAT_DATE_LOCALE",{providedIn:"root",factory:Noa});var ez=function(){this.localeChanges=this._localeChanges=new E.Subject},fz=function(a,b){return xYb(b)&&a.isValid(b)?b:null};ez.prototype.deserialize=function(a){return null==a||xYb(a)&&this.isValid(a)?a:this.invalid()};ez.prototype.setLocale=function(a){this.locale=a;this._localeChanges.next()};var gz=function(a,b,c){return a.getYear(b)-a.getYear(c)||a.getMonth(b)-a.getMonth(c)||a.getDate(b)-a.getDate(c)};
ez.prototype.sameDate=function(a,b){if(a&&b){var c=this.isValid(a),d=this.isValid(b);return c&&d?!gz(this,a,b):c==d}return a==b};var yYb=function(a,b,c,d){return c&&0>gz(a,b,c)?c:d&&0<gz(a,b,d)?d:b};var hz=new Rc("mat-date-formats");var iz=function(){};iz.prototype.isErrorState=function(a,b){return!!(a&&a.invalid&&(a.touched||b&&b.submitted))};iz.\u0275fac=function(a){return new (a||iz)};iz.\u0275prov=qc({token:iz,factory:iz.\u0275fac,providedIn:"root"});var zYb=function(){};zYb.\u0275fac=function(a){return new (a||zYb)};zYb.\u0275dir=Kc({type:zYb,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]});var jz=function(){};jz.\u0275fac=function(a){return new (a||jz)};jz.\u0275mod=Ic({type:jz});jz.\u0275inj=rc({imports:[dz,dz]});var AYb=new Rc("MAT_OPTION_PARENT_COMPONENT");kh(function(){});var BYb=new Rc("MatOptgroup");var CYb=sg({passive:!0,capture:!0}),EYb=function(a,b,c,d){var e=DYb,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,CYb)}))};var FYb=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 GYb={enterDuration:225,exitDuration:150},HYb=sg({passive:!0,capture:!0}),IYb=["mousedown","touchstart"],JYb=["mouseup","mouseleave","touchend","touchcancel"],KYb=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=zg(c))},LYb=function(a,b,c,d){d=void 0===d?{}:d;var e=a._containerRect=a._containerRect||a._containerElement.getBoundingClientRect(),g=Object.assign({},
GYb,d.animation);d.centered&&(b=e.left+e.width/2,c=e.top+e.height/2);var h=d.radius||Poa(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 x=new FYb(a,q,d,e);q.style.transform="scale3d(1, 1, 1)";x.state=0;d.persistent||(a._mostRecentTransientRipple=x);var A=null;e||!c&&!g.exitDuration||a._ngZone.runOutsideAngular(function(){var B=function(){return a._finishRippleTransition(x)},K=function(){return a._destroyRipple(x)};q.addEventListener("transitionend",B);q.addEventListener("transitioncancel",K);A={onTransitionEnd:B,onTransitionCancel:K}});a._activeRipples.set(x,A);!e&&c||a._finishRippleTransition(x);
return x},MYb=function(a,b){if(2!==b.state&&3!==b.state){var c=b.element,d=Object.assign({},GYb,b.config.animation);c.style.transitionDuration=d.exitDuration+"ms";c.style.opacity="0";b.state=2;!b._animationForciblyDisabledThroughCss&&d.exitDuration||a._finishRippleTransition(b)}};KYb.prototype.fadeOutAllNonPersistent=function(){this._getActiveRipples().forEach(function(a){a.config.persistent||MYb(a._renderer,a)})};
var NYb=function(a,b){var c=zg(b);a._platform.isBrowser&&c&&c!==a._triggerElement&&(a._removeTriggerEvents(),a._triggerElement=c,IYb.forEach(function(d){EYb(a._ngZone,d,c,a)}))};f=KYb.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(){JYb.forEach(function(c){b._triggerElement.addEventListener(c,b,HYb)})}),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||MYb(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=Uma(a),c=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;this._target.rippleDisabled||b||c||(this._isPointerDown=!0,LYb(this,a.clientX,a.clientY,this._target.rippleConfig))};f._onTouchStart=function(a){if(!this._target.rippleDisabled&&!Vma(a)){this._lastTouchStartEvent=Date.now();this._isPointerDown=!0;a=a.changedTouches;for(var b=0;b<a.length;b++)LYb(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&&MYb(a._renderer,a)}))};f._getActiveRipples=function(){return Array.from(this._activeRipples.keys())};
f._removeTriggerEvents=function(){var a=this,b=this._triggerElement;b&&(IYb.forEach(function(c){var d=DYb,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,CYb)))}}),this._pointerUpEventsRegistered&&JYb.forEach(function(c){return b.removeEventListener(c,a,HYb)}))};
var DYb=new function(){var a=this;this._events=new Map;this._delegateEventHandler=function(b){var c=vg(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 OYb=new Rc("mat-ripple-global-options"),kz=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 KYb(this,b,a,c)};f=kz.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&&NYb(this._rippleRenderer,this.trigger)};f.launch=function(a,b,c){return"number"===typeof a?LYb(this._rippleRenderer,a,void 0===b?0:b,Object.assign({},this.rippleConfig,c)):LYb(this._rippleRenderer,0,0,Object.assign({},this.rippleConfig,a))};
hh.Object.defineProperties(kz.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}}});kz.\u0275fac=function(a){return new (a||kz)(C(vd),C(We),C(bx),C(OYb,8),C(ev,8))};
kz.\u0275dir=Kc({type:kz,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(a,b){a&2&&qf("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 lz=function(a){this._animationMode=a;this.state="unchecked";this.disabled=!1;this.appearance="full"};lz.\u0275fac=function(a){return new (a||lz)(C(ev,8))};
lz.\u0275cmp=Gc({type:lz,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(a,b){a&2&&qf("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 PYb=["text"],QYb=0,RYb=function(a,b){this.source=a;this.isUserInput=void 0===b?!1:b},mz=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-"+QYb++;this.onSelectionChange=new Gv;this._stateChanges=new E.Subject};f=mz.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||Bg(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 RYb(this,void 0===a?!1:a))};
hh.Object.defineProperties(mz.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=xg(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()}}});mz.\u0275fac=function(){zd()};
mz.\u0275dir=Kc({type:mz,viewQuery:function(a,b){a&1&&Uf(PYb,7);if(a&2){var c;Tf(c=Wf())&&(b._text=c.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}});var nz=function(){};nz.\u0275fac=function(a){return new (a||nz)};nz.\u0275mod=Ic({type:nz});nz.\u0275inj=rc({imports:[dz,dz]});var oz=function(){};oz.\u0275fac=function(a){return new (a||oz)};oz.\u0275mod=Ic({type:oz});oz.\u0275inj=rc({imports:[dz]});var SYb={capture:!0},TYb=["focus","click","mouseenter","touchstart"],pz=function(){var a=this;this._document=Ac(fh,{optional:!0});this._animationMode=Ac(ev,{optional:!0});this._globalRippleOptions=Ac(OYb,{optional:!0});this._platform=Ac(bx);this._ngZone=Ac(We);this._onInteraction=function(b){b.target instanceof HTMLElement&&(b=b.target.closest("[mat-ripple-loader-uninitialized]"))&&UYb(a,b)};this._ngZone.runOutsideAngular(function(){for(var b=k(TYb),c=b.next();!c.done;c=b.next()){c=c.value;var d=
void 0;null==(d=a._document)||d.addEventListener(c,a._onInteraction,SYb)}})};pz.prototype.ngOnDestroy=function(){for(var a=k(TYb),b=a.next();!b.done;b=a.next()){b=b.value;var c=void 0;null==(c=this._document)||c.removeEventListener(b,this._onInteraction,SYb)}};
var VYb=function(a,b){a.setAttribute("mat-ripple-loader-uninitialized","");!b.className&&a.hasAttribute("mat-ripple-loader-class-name")||a.setAttribute("mat-ripple-loader-class-name",b.className||"");b.centered&&a.setAttribute("mat-ripple-loader-centered","")};pz.prototype.setDisabled=function(a,b){var c=a.matRipple;c?c.disabled=b:b?a.setAttribute("mat-ripple-loader-disabled",""):a.removeAttribute("mat-ripple-loader-disabled")};
var UYb=function(a,b){if(a._document){var c;null==(c=b.querySelector(".mat-ripple"))||c.remove();c=a._document.createElement("span");c.classList.add("mat-ripple",b.getAttribute("mat-ripple-loader-class-name"));b.append(c);a=new kz(new vd(c),a._ngZone,a._platform,a._globalRippleOptions?a._globalRippleOptions:void 0,a._animationMode?a._animationMode:void 0);a._isInitialized=!0;a.trigger=b;a.centered=b.hasAttribute("mat-ripple-loader-centered");a.disabled=b.hasAttribute("mat-ripple-loader-disabled");
WYb(b,a);return a}},WYb=function(a,b){a.removeAttribute("mat-ripple-loader-uninitialized");a.matRipple=b};pz.\u0275fac=function(a){return new (a||pz)};pz.\u0275prov=qc({token:pz,factory:pz.\u0275fac,providedIn:"root"});var XYb=[{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"]}],YYb=ih(kh(jh(function(a){this._elementRef=a}))),qz=function(a,b,c,d){var e=YYb.call(this,a)||this;e._platform=b;e._ngZone=c;e._animationMode=d;e._focusMonitor=Ac(ix);e._rippleLoader=Ac(pz);e._isFab=!1;e._disableRipple=!1;e._disabled=!1;null==e._rippleLoader||VYb(e._elementRef.nativeElement,{className:"mat-mdc-button-ripple"});var g=a.nativeElement.classList;a=k(XYb);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};U(qz,YYb);f=qz.prototype;f.ngAfterViewInit=function(){this._focusMonitor.monitor(this._elementRef,!0)};f.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef)};f.focus=function(a,b){(a=void 0===a?"program":a)?jx(this._focusMonitor,this._elementRef.nativeElement,a,b):this._elementRef.nativeElement.focus(b)};f._hasHostAttributes=function(){var a=this;return Pc.apply(0,arguments).some(function(b){return a._elementRef.nativeElement.hasAttribute(b)})};
f._updateRippleDisabled=function(){var a;null==(a=this._rippleLoader)||a.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)};
hh.Object.defineProperties(qz.prototype,{ripple:{configurable:!0,enumerable:!0,get:function(){var a;if(null==(a=this._rippleLoader))a=void 0;else{var b=this._elementRef.nativeElement;a=b.matRipple?b.matRipple:UYb(a,b)}return a},set:function(a){null==this._rippleLoader||WYb(this._elementRef.nativeElement,a)}},disableRipple:{configurable:!0,enumerable:!0,get:function(){return this._disableRipple},set:function(a){this._disableRipple=xg(a);this._updateRippleDisabled()}},disabled:{configurable:!0,enumerable:!0,
get:function(){return this._disabled},set:function(a){this._disabled=xg(a);this._updateRippleDisabled()}}});qz.\u0275fac=function(){zd()};qz.\u0275dir=Kc({type:qz,features:[bf]});var rz=function(a,b,c,d){var e=qz.call(this,a,b,c,d)||this;e._haltDisabledEvents=function(g){e.disabled&&(g.preventDefault(),g.stopImmediatePropagation())};return e};U(rz,qz);rz.prototype.ngOnInit=function(){var a=this;this._ngZone.runOutsideAngular(function(){a._elementRef.nativeElement.addEventListener("click",a._haltDisabledEvents)})};
rz.prototype.ngOnDestroy=function(){qz.prototype.ngOnDestroy.call(this);this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)};rz.\u0275fac=function(){zd()};rz.\u0275dir=Kc({type:rz,features:[bf]});var ZYb=["mat-button",""],$Yb=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],aZb=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],
bZb=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'},
cZb=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"},sz=function(a,b,c,d){return qz.call(this,a,b,c,d)||this};U(sz,qz);sz.\u0275dir=qz.\u0275dir;
sz.\u0275fac=function(a){return new (a||sz)(C(vd),C(bx),C(We),C(ev,8))};
sz.\u0275cmp=Gc({type:sz,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:7,hostBindings:function(a,b){a&2&&(gf("disabled",b.disabled||null),qf("_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:[bf],attrs:ZYb,ngContentSelectors:aZb,
decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(a,b){a&1&&(xf($Yb),I(0,"span",0),yf(1),G(2,"span",1),yf(3,1),H(),yf(4,2),I(5,"span",2)(6,"span",3));a&2&&qf("mdc-button__ripple",!b._isFab)("mdc-fab__ripple",b._isFab)},styles:[bZb(),cZb()],encapsulation:2,changeDetection:0});var tz=function(a,b,c,d){return rz.call(this,a,b,c,d)||this};U(tz,rz);tz.\u0275dir=rz.\u0275dir;
tz.\u0275fac=function(a){return new (a||tz)(C(vd),C(bx),C(We),C(ev,8))};
tz.\u0275cmp=Gc({type:tz,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:9,hostBindings:function(a,b){a&2&&(gf("disabled",b.disabled||null)("tabindex",b.disabled?-1:b.tabIndex)("aria-disabled",b.disabled.toString()),qf("_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:[bf],attrs:ZYb,ngContentSelectors:aZb,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(a,b){a&1&&(xf($Yb),I(0,"span",0),yf(1),G(2,"span",1),yf(3,1),H(),yf(4,2),I(5,"span",2)(6,"span",3));a&2&&qf("mdc-button__ripple",!b._isFab)("mdc-fab__ripple",b._isFab)},styles:[bZb(),cZb()],encapsulation:2,changeDetection:0});var uz=function(a,b,c,d){a=qz.call(this,a,b,c,d)||this;VYb(a._elementRef.nativeElement,{centered:!0});return a};U(uz,qz);uz.\u0275dir=qz.\u0275dir;uz.\u0275fac=function(a){return new (a||uz)(C(vd),C(bx),C(We),C(ev,8))};
uz.\u0275cmp=Gc({type:uz,selectors:[["button","mat-icon-button",""]],hostVars:7,hostBindings:function(a,b){a&2&&(gf("disabled",b.disabled||null),qf("_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:[bf],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&&(xf(),I(0,"span",0),yf(1),I(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 vz=function(a,b){this.selection=a;this._adapter=b;this.selectionChanged=this._selectionChanged=new E.Subject;this.selection=a};vz.prototype.updateSelection=function(a,b){var c=this.selection;this.selection=a;this._selectionChanged.next({selection:a,source:b,oldValue:c})};vz.prototype.ngOnDestroy=function(){this._selectionChanged.complete()};vz.prototype._isValidDateInstance=function(a){return xYb(a)&&this._adapter.isValid(a)};vz.\u0275fac=function(){zd()};vz.\u0275prov=qc({token:vz,factory:vz.\u0275fac});
var wz=function(a){vz.call(this,null,a)};U(wz,vz);wz.prototype.add=function(a){vz.prototype.updateSelection.call(this,a,this)};wz.prototype.isValid=function(){return null!=this.selection&&this._isValidDateInstance(this.selection)};wz.prototype.isComplete=function(){return null!=this.selection};wz.prototype.clone=function(){var a=new wz(this._adapter);a.updateSelection(this.selection,this);return a};wz.\u0275fac=function(a){return new (a||wz)(u(ez))};wz.\u0275prov=qc({token:wz,factory:wz.\u0275fac});
var dZb={provide:vz,deps:[[new $u,new av,vz],ez],useFactory:function(a,b){return a||new wz(b)}};new $u;new av;var xz=function(){this.changes=new E.Subject};xz.prototype.formatYearRange=function(a,b){return a+" \u2013 "+b};xz.prototype.formatYearRangeLabel=function(a,b){return a+" to "+b};xz.\u0275fac=function(a){return new (a||xz)};xz.\u0275prov=qc({token:xz,factory:xz.\u0275fac,providedIn:"root"});var eZb=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},fZb=1,gZb=sg({passive:!1,capture:!0}),yz=sg({passive:!0,capture:!0}),hZb=sg({passive:!0}),zz=function(a,b){var c=this;this._elementRef=a;this._ngZone=b;this._platform=Ac(bx);this._focusActiveCellAfterViewChecked=!1;this.numCols=7;this.activeCell=0;this.isRange=!1;this.cellAspectRatio=1;this.previewEnd=this.previewStart=
null;this.selectedValueChange=new Gv;this.previewChange=new Gv;this.activeDateChange=new Gv;this.dragStarted=new Gv;this.dragEnded=new Gv;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=apa(d),g=e?c._getCellFromElement(e):
null;e!==d.target&&(c._didDragSinceMouseDown=!0);Xoa(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=Xoa(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=apa(d))&&c._mouseupHandler({target:d})};this._id="mat-calendar-body-"+fZb++;this._startDateLabelId=this._id+"-start-date";this._endDateLabelId=this._id+"-end-date";b.runOutsideAngular(function(){var d=a.nativeElement;d.addEventListener("touchmove",c._touchmoveHandler,gZb);d.addEventListener("mouseenter",c._enterHandler,yz);d.addEventListener("focus",c._enterHandler,yz);d.addEventListener("mouseleave",c._leaveHandler,yz);d.addEventListener("blur",
c._leaveHandler,yz);d.addEventListener("mousedown",c._mousedownHandler,hZb);d.addEventListener("touchstart",c._mousedownHandler,hZb);c._platform.isBrowser&&(window.addEventListener("mouseup",c._mouseupHandler),window.addEventListener("touchend",c._touchendHandler))})};f=zz.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,gZb);a.removeEventListener("mouseenter",this._enterHandler,yz);a.removeEventListener("focus",this._enterHandler,yz);a.removeEventListener("mouseleave",this._leaveHandler,yz);a.removeEventListener("blur",this._leaveHandler,yz);a.removeEventListener("mousedown",this._mousedownHandler,hZb);a.removeEventListener("touchstart",this._mousedownHandler,hZb);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 Yoa(a,this.startValue,this.endValue)};f._isRangeEnd=function(a){return Zoa(a,this.startValue,this.endValue)};f._isInRange=function(a){return $oa(a,this.startValue,this.endValue,this.isRange)};f._isComparisonStart=function(a){return Yoa(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 Zoa(a,this.comparisonStart,this.comparisonEnd)};f._isInComparisonRange=function(a){return $oa(a,this.comparisonStart,this.comparisonEnd,this.isRange)};f._isComparisonIdentical=function(a){return this.comparisonStart===this.comparisonEnd&&a===this.comparisonStart};f._isPreviewStart=function(a){return Yoa(a,this.previewStart,this.previewEnd)};f._isPreviewEnd=function(a){return Zoa(a,this.previewStart,this.previewEnd)};
f._isInPreview=function(a){return $oa(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=Xoa(a);return b&&(a=b.getAttribute("data-mat-row"),b=b.getAttribute("data-mat-col"),a&&b)?this.rows[parseInt(a)][parseInt(b)]:null};
zz.\u0275fac=function(a){return new (a||zz)(C(vd),C(We))};
zz.\u0275cmp=Gc({type:zz,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:[Zc],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&&(Q(0,Soa,3,6,"tr",0),Q(1,Voa,3,2,"tr",1),G(2,"label",
2),R(3),H(),G(4,"label",2),R(5),H());a&2&&(F("ngIf",b._firstRowOffset<b.labelMinRequiredCells),z(1),F("ngForOf",b.rows),z(1),F("id",b._startDateLabelId),z(1),Df(" ",b.startDateAccessibleName,"\n"),z(1),F("id",b._endDateLabelId),z(1),Df(" ",b.endDateAccessibleName,"\n"))},dependencies:[cw,dw,ew],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 iZb=new Rc("MAT_DATE_RANGE_SELECTION_STRATEGY");new $u;new av;var Az=function(a,b,c,d,e){this._changeDetectorRef=a;this._dateFormats=b;this._dateAdapter=c;this._dir=d;this._rangeStrategy=e;this._rerenderSubscription=E.Subscription.EMPTY;this.activeDrag=null;this.selectedChange=new Gv;this._userSelection=new Gv;this.dragStarted=new Gv;this.dragEnded=new Gv;this.activeDateChange=new Gv;this._activeDate=new $m};f=Az.prototype;f.ngAfterContentInit=function(){var a=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Re(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);gz(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=Bz(this._activeDate,c?1:-1);break;case 39:this.activeDate=Bz(this._activeDate,c?-1:1);break;case 38:this.activeDate=Bz(this._activeDate,-7);break;case 40:this.activeDate=Bz(this._activeDate,7);break;case 36:this.activeDate=Bz(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case 35:this.activeDate=Bz(this._activeDate,jZb(this._activeDate)-this._dateAdapter.getDate(this._activeDate));
break;case 33:this.activeDate=a.altKey?Cz(this._activeDate,-1):Dz(this._activeDate,-1);break;case 34:this.activeDate=a.altKey?Cz(this._activeDate,1):Dz(this._activeDate,1);break;case 13:case 32:this._selectionKeyPressed=!0;this._canSelect(this._activeDate)&&a.preventDefault();return;case 27:null==this._previewEnd||Bg(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}gz(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 $m);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=Ez(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 Ez(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),a)};
f._initWeekdays=function(){var a=this._dateAdapter.getFirstDayOfWeek(),b=kZb(this._dateAdapter,"narrow"),c=kZb(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=jZb(this.activeDate),b=lZb;this._weeks=[[]];for(var c=0,d=this._firstWeekOffset;c<a;c++,d++){7==d&&(this._weeks.push([]),d=0);var e=Ez(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 eZb(c+1,b[c],h,g,l,this._getCellCompareValue(e),
e))}};f._shouldEnableDate=function(a){return!!a&&(!this.minDate||0<=gz(this._dateAdapter,a,this.minDate))&&(!this.maxDate||0>=gz(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};
hh.Object.defineProperties(Az.prototype,{activeDate:{configurable:!0,enumerable:!0,get:function(){return this._activeDate},set:function(a){var b=this._activeDate;a=fz(this._dateAdapter,this._dateAdapter.deserialize(a))||new $m;this._activeDate=yYb(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=fz(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=fz(this._dateAdapter,this._dateAdapter.deserialize(a))}},maxDate:{configurable:!0,enumerable:!0,get:function(){return this._maxDate},set:function(a){this._maxDate=fz(this._dateAdapter,this._dateAdapter.deserialize(a))}}});Az.\u0275fac=function(a){return new (a||Az)(C(Yv),C(hz,8),C(ez,8),C(Cy,8),C(iZb,8))};
Az.\u0275cmp=Gc({type:Az,selectors:[["mat-month-view"]],viewQuery:function(a,b){a&1&&Uf(zz,5);if(a&2){var c;Tf(c=Wf())&&(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:[Zc],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&&(G(0,"table",0)(1,"thead",1)(2,"tr"),Q(3,bpa,5,2,"th",2),H(),G(4,"tr"),I(5,"th",3),H()(),G(6,"tbody",4),M("selectedValueChange",function(c){return b._dateSelected(c)})("activeDateChange",function(c){return b._updateActiveDate(c)})("previewChange",
function(c){return b._previewChanged(c)})("dragStarted",function(c){return b.dragStarted.emit(c)})("dragEnded",function(c){return b._dragEnded(c)})("keyup",function(c){return b._handleCalendarBodyKeyup(c)})("keydown",function(c){return b._handleCalendarBodyKeydown(c)}),H()());a&2&&(z(3),F("ngForOf",b._weekdays),z(3),F("label",b._monthLabel)("rows",b._weeks)("todayValue",b._todayDate)("startValue",b._rangeStart)("endValue",b._rangeEnd)("comparisonStart",b._comparisonRangeStart)("comparisonEnd",b._comparisonRangeEnd)("previewStart",
b._previewStart)("previewEnd",b._previewEnd)("isRange",b._isRange)("labelMinRequiredCells",3)("activeCell",b._dateAdapter.getDate(b.activeDate)-1)("startDateAccessibleName",b.startDateAccessibleName)("endDateAccessibleName",b.endDateAccessibleName))},dependencies:[dw,zz],encapsulation:2,changeDetection:0});var Fz=function(a,b,c){this._changeDetectorRef=a;this._dateAdapter=b;this._dir=c;this._rerenderSubscription=E.Subscription.EMPTY;this.selectedChange=new Gv;this.yearSelected=new Gv;this.activeDateChange=new Gv;this._activeDate=new $m};f=Fz.prototype;f.ngAfterContentInit=function(){var a=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Re(null)).subscribe(function(){return a._init()})};f.ngOnDestroy=function(){this._rerenderSubscription.unsubscribe()};
f._init=function(){var a=this;this._todayYear=this._dateAdapter.getYear(new $m);var b=this._dateAdapter.getYear(this._activeDate)-nh(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=Ez(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);gz(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=Cz(this._activeDate,c?1:-1);break;case 39:this.activeDate=Cz(this._activeDate,c?-1:1);break;case 38:this.activeDate=Cz(this._activeDate,-4);break;case 40:this.activeDate=Cz(this._activeDate,4);break;case 36:this.activeDate=Cz(this._activeDate,-nh(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=Cz(this._activeDate,24-nh(this._dateAdapter,
this.activeDate,this.minDate,this.maxDate)-1);break;case 33:this.activeDate=Cz(this._activeDate,a.altKey?-240:-24);break;case 34:this.activeDate=Cz(this._activeDate,a.altKey?240:24);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}gz(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 nh(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=Ez(a,b,1);c=jZb(c);return Ez(a,b,Math.min(this._dateAdapter.getDate(this.activeDate),c))};f._createCellForYear=function(a){var b=Ez(a,0,1),c=""+b.getFullYear();b=this.dateClass?this.dateClass(b,"multi-year"):void 0;return new eZb(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=Ez(a,0,1);this._dateAdapter.getYear(b)==a;b=Bz(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))};
hh.Object.defineProperties(Fz.prototype,{activeDate:{configurable:!0,enumerable:!0,get:function(){return this._activeDate},set:function(a){var b=this._activeDate;a=fz(this._dateAdapter,this._dateAdapter.deserialize(a))||new $m;this._activeDate=yYb(this._dateAdapter,a,this.minDate,this.maxDate);dpa(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=fz(this._dateAdapter,
this._dateAdapter.deserialize(a));this._setSelectedYear(a)}},minDate:{configurable:!0,enumerable:!0,get:function(){return this._minDate},set:function(a){this._minDate=fz(this._dateAdapter,this._dateAdapter.deserialize(a))}},maxDate:{configurable:!0,enumerable:!0,get:function(){return this._maxDate},set:function(a){this._maxDate=fz(this._dateAdapter,this._dateAdapter.deserialize(a))}}});Fz.\u0275fac=function(a){return new (a||Fz)(C(Yv),C(ez,8),C(Cy,8))};
Fz.\u0275cmp=Gc({type:Fz,selectors:[["mat-multi-year-view"]],viewQuery:function(a,b){a&1&&Uf(zz,5);if(a&2){var c;Tf(c=Wf())&&(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&&(G(0,"table",0)(1,"thead",1)(2,"tr"),I(3,"th",2),H()(),G(4,"tbody",3),M("selectedValueChange",function(c){return b._yearSelected(c)})("activeDateChange",function(c){return b._updateActiveDate(c)})("keyup",function(c){return b._handleCalendarBodyKeyup(c)})("keydown",
function(c){return b._handleCalendarBodyKeydown(c)}),H()());a&2&&(z(4),F("rows",b._years)("todayValue",b._todayYear)("startValue",b._selectedYear)("endValue",b._selectedYear)("numCols",4)("cellAspectRatio",4/7)("activeCell",b._getActiveCell()))},dependencies:[zz],encapsulation:2,changeDetection:0});var Gz=function(a,b,c,d){this._changeDetectorRef=a;this._dateFormats=b;this._dateAdapter=c;this._dir=d;this._rerenderSubscription=E.Subscription.EMPTY;this.selectedChange=new Gv;this.monthSelected=new Gv;this.activeDateChange=new Gv;this._activeDate=new $m};f=Gz.prototype;f.ngAfterContentInit=function(){var a=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Re(null)).subscribe(function(){return a._init()})};f.ngOnDestroy=function(){this._rerenderSubscription.unsubscribe()};
f._monthSelected=function(a){a=a.value;var b=Ez(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);gz(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=Dz(this._activeDate,c?1:-1);break;case 39:this.activeDate=Dz(this._activeDate,c?-1:1);break;case 38:this.activeDate=Dz(this._activeDate,-4);break;case 40:this.activeDate=Dz(this._activeDate,4);break;case 36:this.activeDate=Dz(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case 35:this.activeDate=Dz(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));
break;case 33:this.activeDate=Cz(this._activeDate,a.altKey?-10:-1);break;case 34:this.activeDate=Cz(this._activeDate,a.altKey?10:1);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}gz(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 $m);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=Ez(this._dateAdapter.getYear(this.activeDate),a,1);b=jZb(b);return Ez(this._dateAdapter.getYear(this.activeDate),a,Math.min(this._dateAdapter.getDate(this.activeDate),b))};
f._createCellForMonth=function(a,b){var c=Ez(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 eZb(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=Ez(b,a,1);this._dateAdapter.getMonth(b)==a;b=Bz(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)};
hh.Object.defineProperties(Gz.prototype,{activeDate:{configurable:!0,enumerable:!0,get:function(){return this._activeDate},set:function(a){var b=this._activeDate;a=fz(this._dateAdapter,this._dateAdapter.deserialize(a))||new $m;this._activeDate=yYb(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=fz(this._dateAdapter,
this._dateAdapter.deserialize(a));this._setSelectedMonth(a)}},minDate:{configurable:!0,enumerable:!0,get:function(){return this._minDate},set:function(a){this._minDate=fz(this._dateAdapter,this._dateAdapter.deserialize(a))}},maxDate:{configurable:!0,enumerable:!0,get:function(){return this._maxDate},set:function(a){this._maxDate=fz(this._dateAdapter,this._dateAdapter.deserialize(a))}}});Gz.\u0275fac=function(a){return new (a||Gz)(C(Yv),C(hz,8),C(ez,8),C(Cy,8))};
Gz.\u0275cmp=Gc({type:Gz,selectors:[["mat-year-view"]],viewQuery:function(a,b){a&1&&Uf(zz,5);if(a&2){var c;Tf(c=Wf())&&(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&&(G(0,"table",0)(1,"thead",1)(2,"tr"),I(3,"th",2),H()(),G(4,"tbody",3),M("selectedValueChange",function(c){return b._monthSelected(c)})("activeDateChange",function(c){return b._updateActiveDate(c)})("keyup",
function(c){return b._handleCalendarBodyKeyup(c)})("keydown",function(c){return b._handleCalendarBodyKeydown(c)}),H()());a&2&&(z(4),F("label",b._yearLabel)("rows",b._months)("todayValue",b._todayMonth)("startValue",b._selectedMonth)("endValue",b._selectedMonth)("labelMinRequiredCells",2)("numCols",4)("cellAspectRatio",4/7)("activeCell",b._dateAdapter.getMonth(b.activeDate)))},dependencies:[zz],encapsulation:2,changeDetection:0});var mZb=1,Hz=function(a,b,c,d,e){this._intl=a;this.calendar=b;this._dateAdapter=c;this._dateFormats=d;this._id="mat-calendar-header-"+mZb++;this._periodButtonLabelId=this._id+"-period-label";this.calendar.stateChanges.subscribe(function(){return e.markForCheck()})};
Hz.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):dpa(this._dateAdapter,a,b,this.calendar.minDate,this.calendar.maxDate)};
Hz.prototype._formatMinAndMaxYearLabels=function(){var a=this._dateAdapter.getYear(this.calendar.activeDate)-nh(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),b=a+24-1;a=""+Ez(a,0,1).getFullYear();b=""+Ez(b,0,1).getFullYear();return[a,b]};
hh.Object.defineProperties(Hz.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,Vc(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,Vc(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]}}});Hz.\u0275fac=function(a){return new (a||Hz)(C(xz),C(wc(function(){return Iz})),C(ez,8),C(hz,8),C(Yv))};
Hz.\u0275cmp=Gc({type:Hz,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&&(xf(),G(0,"div",0)(1,"div",1)(2,"button",2),M("click",function(){b.calendar.currentView="month"==b.calendar.currentView?"multi-year":"month"}),G(3,"span",3),R(4),H(),jd(),G(5,"svg",4),I(6,"polygon",5),H()(),kd(),I(7,"div",6),yf(8),G(9,"button",7),M("click",function(){b.calendar.activeDate="month"==b.calendar.currentView?
Dz(b.calendar.activeDate,-1):Cz(b.calendar.activeDate,"year"==b.calendar.currentView?-1:-24)}),H(),G(10,"button",8),M("click",function(){b.calendar.activeDate="month"==b.calendar.currentView?Dz(b.calendar.activeDate,1):Cz(b.calendar.activeDate,"year"==b.calendar.currentView?1:24)}),H()()(),G(11,"label",9),R(12),H());a&2&&(z(2),gf("aria-label",b.periodButtonLabel)("aria-describedby",b._periodButtonLabelId),z(2),Ef(b.periodButtonText),z(1),qf("mat-calendar-invert","month"!==b.calendar.currentView),
z(4),F("disabled",!(b.calendar.minDate?!b.calendar.minDate||!b._isSameView(b.calendar.activeDate,b.calendar.minDate):1)),gf("aria-label",b.prevButtonLabel),z(1),F("disabled",!(!b.calendar.maxDate||!b._isSameView(b.calendar.activeDate,b.calendar.maxDate))),gf("aria-label",b.nextButtonLabel),z(1),F("id",b._periodButtonLabelId),z(1),Ef(b.periodButtonDescription))},dependencies:[sz,uz],encapsulation:2,changeDetection:0});
var Iz=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 Gv;this.yearSelected=new Gv;this.monthSelected=new Gv;this.viewChanged=new Gv(!0);this._userSelection=new Gv;this._userDragDrop=new Gv;this._activeDrag=null;this.stateChanges=new E.Subject;this._intlChanges=a.changes.subscribe(function(){d.markForCheck();e.stateChanges.next()})};f=Iz.prototype;
f.ngAfterContentInit=function(){this._calendarHeaderPortal=new mx(this.headerComponent||Hz);this.activeDate=this.startAt||new $m;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};
hh.Object.defineProperties(Iz.prototype,{startAt:{configurable:!0,enumerable:!0,get:function(){return this._startAt},set:function(a){this._startAt=fz(this._dateAdapter,this._dateAdapter.deserialize(a))}},selected:{configurable:!0,enumerable:!0,get:function(){return this._selected},set:function(a){this._selected=fz(this._dateAdapter,this._dateAdapter.deserialize(a))}},minDate:{configurable:!0,enumerable:!0,get:function(){return this._minDate},set:function(a){this._minDate=fz(this._dateAdapter,this._dateAdapter.deserialize(a))}},
maxDate:{configurable:!0,enumerable:!0,get:function(){return this._maxDate},set:function(a){this._maxDate=fz(this._dateAdapter,this._dateAdapter.deserialize(a))}},activeDate:{configurable:!0,enumerable:!0,get:function(){return this._clampedActiveDate},set:function(a){this._clampedActiveDate=yYb(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)}}});Iz.\u0275fac=function(a){return new (a||Iz)(C(xz),C(ez,8),C(hz,8),C(Yv))};
Iz.\u0275cmp=Gc({type:Iz,selectors:[["mat-calendar"]],viewQuery:function(a,b){a&1&&(Uf(Az,5),Uf(Gz,5),Uf(Fz,5));if(a&2){var c;Tf(c=Wf())&&(b.monthView=c.first);Tf(c=Wf())&&(b.yearView=c.first);Tf(c=Wf())&&(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:[Gf([dZb]),Zc],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&&(Q(0,epa,
0,0,"ng-template",0),G(1,"div",1),Q(2,fpa,1,11,"mat-month-view",2),Q(3,gpa,1,6,"mat-year-view",3),Q(4,hpa,1,6,"mat-multi-year-view",4),H());a&2&&(F("cdkPortalOutlet",b._calendarHeaderPortal),z(1),F("ngSwitch",b.currentView),z(1),F("ngSwitchCase","month"),z(1),F("ngSwitchCase","year"),z(1),F("ngSwitchCase","multi-year"))},dependencies:[fw,gw,kx,rx,Az,Gz,Fz],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 nZb=["mat-button",""],oZb=["*"],pZb=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"},
qZb="mat-button mat-flat-button mat-icon-button mat-raised-button mat-stroked-button mat-mini-fab mat-fab".split(" "),rZb=ih(kh(jh(function(a){this._elementRef=a}))),Jz=function(a,b,c){var d=rZb.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(qZb),g=e.next();!g.done;g=e.next())g=g.value,d._hasHostAttributes(g)&&d._getHostElement().classList.add(g);a.nativeElement.classList.add("mat-button-base");
d.isRoundButton&&(d.color="accent");return d};U(Jz,rZb);f=Jz.prototype;f.ngAfterViewInit=function(){this._focusMonitor.monitor(this._elementRef,!0)};f.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef)};f.focus=function(a,b){a?jx(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 Pc.apply(0,arguments).some(function(b){return a._getHostElement().hasAttribute(b)})};Jz.\u0275fac=function(a){return new (a||Jz)(C(vd),C(ix),C(ev,8))};
Jz.\u0275cmp=Gc({type:Jz,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&&Uf(kz,5);if(a&2){var c;Tf(c=Wf())&&(b.ripple=c.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(a,b){a&2&&(gf("disabled",b.disabled||null),qf("_mat-animation-noopable","NoopAnimations"===b._animationMode)("mat-button-disabled",
b.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[bf],attrs:nZb,ngContentSelectors:oZb,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(a,b){a&1&&(xf(),G(0,"span",0),yf(1),H(),I(2,"span",1)(3,"span",2));a&2&&(z(2),qf("mat-button-ripple-round",b.isRoundButton||b.isIconButton),F("matRippleDisabled",
b._isRippleDisabled())("matRippleCentered",b.isIconButton)("matRippleTrigger",b._getHostElement()))},dependencies:[kz],styles:[pZb()],encapsulation:2,changeDetection:0});var Kz=function(a,b,c,d){var e=Jz.call(this,b,a,c)||this;e._ngZone=d;e._haltDisabledEvents=function(g){e.disabled&&(g.preventDefault(),g.stopImmediatePropagation())};return e};U(Kz,Jz);
Kz.prototype.ngAfterViewInit=function(){var a=this;Jz.prototype.ngAfterViewInit.call(this);this._ngZone?this._ngZone.runOutsideAngular(function(){a._elementRef.nativeElement.addEventListener("click",a._haltDisabledEvents)}):this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)};Kz.prototype.ngOnDestroy=function(){Jz.prototype.ngOnDestroy.call(this);this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)};
Kz.\u0275fac=function(a){return new (a||Kz)(C(ix),C(vd),C(ev,8),C(We,8))};
Kz.\u0275cmp=Gc({type:Kz,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&&(gf("tabindex",b.disabled?-1:b.tabIndex)("disabled",b.disabled||null)("aria-disabled",b.disabled.toString()),qf("_mat-animation-noopable","NoopAnimations"===b._animationMode)("mat-button-disabled",b.disabled))},
inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[bf],attrs:nZb,ngContentSelectors:oZb,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(a,b){a&1&&(xf(),G(0,"span",0),yf(1),H(),I(2,"span",1)(3,"span",2));a&2&&(z(2),qf("mat-button-ripple-round",b.isRoundButton||b.isIconButton),
F("matRippleDisabled",b._isRippleDisabled())("matRippleCentered",b.isIconButton)("matRippleTrigger",b._getHostElement()))},dependencies:[kz],styles:[pZb()],encapsulation:2,changeDetection:0});var Lz=function(a,b,c,d){return mz.call(this,a,b,c,d)||this};U(Lz,mz);Lz.\u0275fac=function(a){return new (a||Lz)(C(vd),C(Yv),C(AYb,8),C(BYb,8))};
Lz.\u0275cmp=Gc({type:Lz,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(a,b){a&1&&M("click",function(){return b._selectViaInteraction()})("keydown",function(c){return b._handleKeydown(c)});a&2&&(wf("id",b.id),gf("tabindex",b._getTabIndex())("aria-selected",b.selected)("aria-disabled",b.disabled.toString()),qf("mat-selected",b.selected)("mat-option-multiple",b.multiple)("mat-active",b.active)("mat-option-disabled",b.disabled))},
exportAs:["matOption"],features:[bf],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&&(xf(),Q(0,ipa,1,2,"mat-pseudo-checkbox",0),G(1,"span",1,2),yf(3),H(),Q(4,jpa,2,1,"span",
3),I(5,"div",4));a&2&&(F("ngIf",b.multiple),z(4),F("ngIf",b.group&&b.group._inert),z(1),F("matRippleTrigger",b._getHostElement())("matRippleDisabled",b.disabled||b.disableRipple))},dependencies:[kz,ew,lz],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 Mz=function(){};Mz.\u0275fac=function(a){return new (a||Mz)};Mz.\u0275mod=Ic({type:Mz});Mz.\u0275inj=rc({imports:[nz,sw,dz,oz]});var sZb={params:{enterAnimationDuration:"150ms",exitAnimationDuration:"75ms"}},tZb=Kg("dialogContainer",[Ng("void, exit",Mg({opacity:0,transform:"scale(0.7)"})),Ng("enter",Mg({transform:"none"})),Og("* => enter",{type:3,steps:[Lg("{{enterAnimationDuration}} cubic-bezier(0, 0, 0.2, 1)",Mg({transform:"none",opacity:1})),xna("@*",wna())],options:null},sZb),Og("* => void, * => exit",{type:3,steps:[Lg("{{exitAnimationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)",Mg({opacity:0})),xna("@*",wna())],options:null},
sZb)]);var uZb=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 vZb=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 Nz=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};U(Nz,ox);f=Nz.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":oVb(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=ug();var c=this._elementRef.nativeElement;if(!a||a===this._document.body||a===c||c.contains(a))this._focusMonitor?(jx(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=ug();return a===b||a.contains(b)};f._initializeFocusTrap=function(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement);this._document&&(this._elementFocusedBeforeDialogWasOpened=ug())};
f._handleBackdropClicks=function(){var a=this;this._overlayRef.backdropClick().subscribe(function(){a._config.disableClose&&a._recaptureFocus()})};Nz.\u0275fac=function(a){return new (a||Nz)(C(vd),C(ex),C(fh,8),C(vZb),C(cx),C(We),C(Ty),C(ix))};
Nz.\u0275cmp=Gc({type:Nz,selectors:[["cdk-dialog-container"]],viewQuery:function(a,b){a&1&&Uf(rx,7);if(a&2){var c;Tf(c=Wf())&&(b._portalOutlet=c.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(a,b){a&2&&gf("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:[bf],decls:1,
vars:0,consts:[["cdkPortalOutlet",""]],template:function(a){a&1&&Q(0,kpa,0,0,"ng-template",0)},dependencies:[rx],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}\n"],encapsulation:2});var wZb=new Rc("DialogScrollStrategy"),xZb=new Rc("DialogData"),yZb=new Rc("DefaultDialogConfig"),zZb={provide:wZb,deps:[$y],useFactory:function(a){return function(){return a.scrollStrategies.block()}}};var AZb=function(a,b){var c=this;this.overlayRef=a;this.config=b;this.closed=new E.Subject;this.disableClose=b.disableClose;this.backdropClick=a.backdropClick();this.keydownEvents=a.keydownEvents();this.outsidePointerEvents=a.outsidePointerEvents();this.id=b.id;this.keydownEvents.subscribe(function(d){27!==d.keyCode||c.disableClose||Bg(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=AZb.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 BZb=0,Oz=function(a,b,c,d,e,g){var h=this;this._overlay=a;this._injector=b;this._defaultOptions=c;this._parentDialog=d;this._overlayContainer=e;this._openDialogsAtThisLevel=[];this._afterAllClosedAtThisLevel=new E.Subject;this._afterOpenedAtThisLevel=new E.Subject;this._ariaHiddenElements=new Map;(0,E.defer)(function(){return h.openDialogs.length?h._getAfterAllClosed():h._getAfterAllClosed().pipe(Re(void 0))});this._scrollStrategy=g};f=Oz.prototype;
f.open=function(a,b){var c=this;b=Object.assign({},this._defaultOptions||new vZb,b);b.id=b.id||"cdk-dialog-"+BZb++;b.id&&this.getDialogById(b.id);var d=this._getOverlayConfig(b);d=this._overlay.create(d);var e=new AZb(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;lpa(this._openDialogsAtThisLevel,function(b){!1===b.config.closeOnDestroy&&a._removeOpenDialog(b,!1)});lpa(this._openDialogsAtThisLevel,function(b){return b.close()});this._afterAllClosedAtThisLevel.complete();this._afterOpenedAtThisLevel.complete();this._openDialogsAtThisLevel=[]};
f._getOverlayConfig=function(a){var b=new Sy({positionStrategy:a.positionStrategy||rYb(qYb(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:vZb,useValue:c},{provide:AZb,useValue:b},{provide:Ty,useValue:a}];c.container?"function"===typeof c.container?d=c.container:(d=c.container.type,b.push.apply(b,Vc(c.container.providers(c)))):d=Nz;c=new mx(d,c.viewContainerRef,Ze({parent:e||this._injector,providers:b}),c.componentFactoryResolver);return a.attach(c).instance};
f._attachDialogContent=function(a,b,c,d){if(a instanceof Qf){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 nx(a,null,b,e))}else e=this._createInjector(d,b,c,this._injector),a=c.attachComponentPortal(new mx(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:xZb,useValue:a.data},{provide:AZb,useValue:b}];a.providers&&("function"===typeof a.providers?e.push.apply(e,Vc(a.providers(b,a,c))):e.push.apply(e,Vc(a.providers)));!a.direction||g&&g.get(Cy,null,{optional:!0})||e.push({provide:Cy,useValue:{value:a.direction,change:(0,E.of)()}});return Ze({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=UXb(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};
hh.Object.defineProperties(Oz.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}}});Oz.\u0275fac=function(a){return new (a||Oz)(u($y),u(bv),u(yZb,8),u(Oz,12),u(Hy),u(wZb))};Oz.\u0275prov=qc({token:Oz,factory:Oz.\u0275fac});var Pz=function(){};Pz.\u0275fac=function(a){return new (a||Pz)};Pz.\u0275mod=Ic({type:Pz});Pz.\u0275inj=rc({providers:[Oz,zZb],imports:[cz,sx,py,sx]});var Qz=function(a,b,c,d,e,g,h,l){Nz.call(this,a,b,c,d,e,g,h,l);this._animationStateChanged=new Gv};U(Qz,Nz);Qz.prototype._captureInitialFocus=function(){this._config.delayFocusTrap||this._trapFocus()};Qz.prototype._openAnimationDone=function(a){this._config.delayFocusTrap&&this._trapFocus();this._animationStateChanged.next({state:"opened",totalTime:a})};Qz.\u0275fac=function(a){return new (a||Qz)(C(vd),C(ex),C(fh,8),C(uZb),C(cx),C(We),C(Ty),C(ix))};
Qz.\u0275cmp=Gc({type:Qz,selectors:[["ng-component"]],features:[bf],decls:0,vars:0,template:function(){},encapsulation:2});var CZb=function(a,b,c){var d=this;this._ref=a;this._containerInstance=c;this._afterOpened=new E.Subject;this._beforeClosed=new E.Subject;this._state=0;this.disableClose=b.disableClose;this.id=a.id;c._animationStateChanged.pipe(ye(function(e){return"opened"===e.state}),Ge()).subscribe(function(){d._afterOpened.next();d._afterOpened.complete()});c._animationStateChanged.pipe(ye(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,E.merge)(this.backdropClick(),this.keydownEvents().pipe(ye(function(e){return 27===e.keyCode&&!d.disableClose&&!Bg(e)}))).subscribe(function(e){d.disableClose||(e.preventDefault(),d._closeInteractionType="keydown"===e.type?"keyboard":"mouse",d.close(void 0))})};
CZb.prototype.close=function(a){var b=this;this._result=a;this._containerInstance._animationStateChanged.pipe(ye(function(c){return"closing"===c.state}),Ge()).subscribe(function(c){b._beforeClosed.next(a);b._beforeClosed.complete();hYb(b._ref.overlayRef);b._closeFallbackTimeout=setTimeout(function(){return b._finishDialogClose()},c.totalTime+100)});this._state=1;this._containerInstance._startExitAnimation()};CZb.prototype.afterOpened=function(){return this._afterOpened};var Rz=function(a){return a._ref.closed};
f=CZb.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):qYb(b);a&&(a.top||a.bottom)?a.top?b.top(a.top):b.bottom(a.bottom):rYb(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 Rc("MatMdcDialogData");new Rc("mat-mdc-dialog-default-options");new Rc("mat-mdc-dialog-scroll-strategy");
var DZb=0,Sz=function(a,b,c,d,e,g,h,l,q){var x=this;this._overlay=a;this._defaultOptions=c;this._parentDialog=d;this._dialogRefConstructor=h;this._dialogContainerType=l;this._dialogDataToken=q;this._openDialogsAtThisLevel=[];this._afterAllClosedAtThisLevel=new E.Subject;this._afterOpenedAtThisLevel=new E.Subject;this._idPrefix="mat-dialog-";this.dialogConfigClass=uZb;(0,E.defer)(function(){return x.openDialogs.length?x._getAfterAllClosed():x._getAfterAllClosed().pipe(Re(void 0))});this._scrollStrategy=
g;this._dialog=b.get(Oz)};f=Sz.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 uZb,b);b.id=b.id||"mat-dialog-"+DZb++;b.scrollStrategy=b.scrollStrategy||this._scrollStrategy();a=this._dialog.open(a,Object.assign({},b,{positionStrategy:rYb(qYb(this._overlay.position().global())),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:function(){return[{provide:c.dialogConfigClass,useValue:b},{provide:vZb,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);Rz(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()};
hh.Object.defineProperties(Sz.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}}});Sz.\u0275fac=function(){zd()};Sz.\u0275prov=qc({token:Sz,factory:Sz.\u0275fac});var Tz=function(){CZb.apply(this,arguments)};U(Tz,CZb);var EZb=function(){uZb.apply(this,arguments);this.enterAnimationDuration=sZb.params.enterAnimationDuration;this.exitAnimationDuration=sZb.params.exitAnimationDuration};U(EZb,uZb);var Uz=function(a,b,c,d,e,g,h,l,q){Qz.call(this,a,b,c,d,e,g,h,q);this._changeDetectorRef=l;this._state="enter"};U(Uz,Qz);Uz.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})};
Uz.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})};Uz.prototype._startExitAnimation=function(){this._state="exit";this._changeDetectorRef.markForCheck()};
Uz.prototype._getAnimationState=function(){return{value:this._state,params:{enterAnimationDuration:this._config.enterAnimationDuration||"150ms",exitAnimationDuration:this._config.exitAnimationDuration||"75ms"}}};Uz.\u0275fac=function(a){return new (a||Uz)(C(vd),C(ex),C(fh,8),C(EZb),C(cx),C(We),C(Ty),C(Yv),C(ix))};
Uz.\u0275cmp=Gc({type:Uz,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-dialog-container"],hostVars:7,hostBindings:function(a,b){a&1&&zka("@dialogContainer.start",function(c){return b._onAnimationStart(c)})("@dialogContainer.done",function(c){return b._onAnimationDone(c)});a&2&&(wf("id",b._config.id),gf("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),xka("@dialogContainer",b._getAnimationState()))},features:[bf],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(a){a&1&&Q(0,mpa,0,0,"ng-template",0)},dependencies:[rx],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:[tZb]}});var Vz=new Rc("MatDialogData"),FZb=new Rc("mat-dialog-default-options"),GZb=new Rc("mat-dialog-scroll-strategy"),HZb={provide:GZb,deps:[$y],useFactory:function(a){return function(){return a.scrollStrategies.block()}}},Wz=function(a,b,c,d,e,g,h,l){Sz.call(this,a,b,d,g,h,e,Tz,Uz,Vz,l);this.dialogConfigClass=EZb};U(Wz,Sz);Wz.\u0275fac=function(a){return new (a||Wz)(u($y),u(bv),u(Aw,8),u(FZb,8),u(GZb),u(Wz,12),u(Hy),u(ev,8))};Wz.\u0275prov=qc({token:Wz,factory:Wz.\u0275fac});var IZb=0,Xz=function(a,b,c){this.dialogRef=a;this._elementRef=b;this._dialog=c;this.type="button"};Xz.prototype.ngOnInit=function(){this.dialogRef||(this.dialogRef=npa(this._elementRef,this._dialog.openDialogs))};Xz.prototype.ngOnChanges=function(a){if(a=a._matDialogClose||a._matDialogCloseResult)this.dialogResult=a.currentValue};Xz.prototype._onButtonClick=function(a){var b=this.dialogRef,c=this.dialogResult;b._closeInteractionType=0===a.screenX&&0===a.screenY?"keyboard":"mouse";b.close(c)};
Xz.\u0275fac=function(a){return new (a||Xz)(C(Tz,8),C(vd),C(Wz))};Xz.\u0275dir=Kc({type:Xz,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(a,b){a&1&&M("click",function(c){return b._onButtonClick(c)});a&2&&gf("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:[Zc]});
var Yz=function(a,b,c){this._dialogRef=a;this._elementRef=b;this._dialog=c;this.id="mat-dialog-title-"+IZb++};Yz.prototype.ngOnInit=function(){var a=this;this._dialogRef||(this._dialogRef=npa(this._elementRef,this._dialog.openDialogs));this._dialogRef&&Promise.resolve().then(function(){var b=a._dialogRef._containerInstance;b&&!b._ariaLabelledBy&&(b._ariaLabelledBy=a.id)})};Yz.\u0275fac=function(a){return new (a||Yz)(C(Tz,8),C(vd),C(Wz))};
Yz.\u0275dir=Kc({type:Yz,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(a,b){a&2&&wf("id",b.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]});var Zz=function(){};Zz.\u0275fac=function(a){return new (a||Zz)};Zz.\u0275dir=Kc({type:Zz,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]});var $z=function(){this.align="start"};
$z.\u0275fac=function(a){return new (a||$z)};$z.\u0275dir=Kc({type:$z,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"],hostVars:4,hostBindings:function(a,b){a&2&&qf("mat-dialog-actions-align-center","center"===b.align)("mat-dialog-actions-align-end","end"===b.align)},inputs:{align:"align"}});var aA=function(){};aA.\u0275fac=function(a){return new (a||aA)};aA.\u0275mod=Ic({type:aA});aA.\u0275inj=rc({providers:[Wz,HZb],imports:[Pz,cz,sx,dz,dz]});var JZb=sg({passive:!0}),bA=function(a,b){this._platform=a;this._ngZone=b;this._monitoredElements=new Map};
bA.prototype.monitor=function(a){var b=this;if(!this._platform.isBrowser)return E.EMPTY;var c=zg(a);if(a=this._monitoredElements.get(c))return a.subject;var d=new E.Subject,e=function(g){"cdk-text-field-autofill-start"!==g.animationName||c.classList.contains("cdk-text-field-autofilled")?"cdk-text-field-autofill-end"===g.animationName&&c.classList.contains("cdk-text-field-autofilled")&&(c.classList.remove("cdk-text-field-autofilled"),b._ngZone.run(function(){return d.next({target:g.target,isAutofilled:!1})})):
(c.classList.add("cdk-text-field-autofilled"),b._ngZone.run(function(){return d.next({target:g.target,isAutofilled:!0})}))};this._ngZone.runOutsideAngular(function(){c.addEventListener("animationstart",e,JZb);c.classList.add("cdk-text-field-autofill-monitored")});this._monitoredElements.set(c,{subject:d,unlisten:function(){c.removeEventListener("animationstart",e,JZb)}});return d};
bA.prototype.stopMonitoring=function(a){a=zg(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))};bA.prototype.ngOnDestroy=function(){var a=this;this._monitoredElements.forEach(function(b,c){return a.stopMonitoring(c)})};bA.\u0275fac=function(a){return new (a||bA)(u(bx),u(We))};bA.\u0275prov=qc({token:bA,factory:bA.\u0275fac,providedIn:"root"});var cA=function(a,b,c,d){var e=this;this._elementRef=a;this._platform=b;this._ngZone=c;this._destroyed=new E.Subject;this._enabled=!0;this._previousMinRows=-1;this._isViewInited=!1;this._handleFocusEvent=function(g){e._hasFocus="focus"===g.type};this._document=d;this._textareaElement=this._elementRef.nativeElement};f=cA.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,KZb(this),this._ngZone.runOutsideAngular(function(){(0,E.fromEvent)(a._getWindow(),"resize").pipe(Be(16),Te(a._destroyed)).subscribe(function(){return KZb(a,!0)});a._textareaElement.addEventListener("focus",a._handleFocusEvent);a._textareaElement.addEventListener("blur",a._handleFocusEvent)}),this._isViewInited=!0,KZb(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&&KZb(this)};
var KZb=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=cA.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)};
hh.Object.defineProperties(cA.prototype,{minRows:{configurable:!0,enumerable:!0,get:function(){return this._minRows},set:function(a){this._minRows=Ag(a);this._setMinHeight()}},maxRows:{configurable:!0,enumerable:!0,get:function(){return this._maxRows},set:function(a){this._maxRows=Ag(a);this._setMaxHeight()}},enabled:{configurable:!0,enumerable:!0,get:function(){return this._enabled},set:function(a){a=xg(a);this._enabled!==a&&((this._enabled=a)?KZb(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()}}});cA.\u0275fac=function(a){return new (a||cA)(C(vd),C(bx),C(We),C(fh,8))};
cA.\u0275dir=Kc({type:cA,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(a){a&1&&M("input",function(){})},inputs:{minRows:["cdkAutosizeMinRows","minRows"],maxRows:["cdkAutosizeMaxRows","maxRows"],enabled:["cdkTextareaAutosize","enabled"],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"]});var dA=function(){};dA.\u0275fac=function(a){return new (a||dA)};dA.\u0275mod=Ic({type:dA});dA.\u0275inj=rc({});var LZb=new Rc("MatError");var MZb=new Rc("MatPrefix");var NZb=new Rc("MatSuffix");var OZb=Kg("transitionMessages",[Ng("enter",Mg({opacity:1,transform:"translateY(0%)"})),Og("void => enter",[Mg({opacity:0,transform:"translateY(-5px)"}),Lg("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])]);var eA=function(){};eA.\u0275fac=function(a){return new (a||eA)};eA.\u0275dir=Kc({type:eA});new Rc("FloatingLabelParent");var PZb=new Rc("MatFormField");new Rc("MAT_FORM_FIELD_DEFAULT_OPTIONS");var QZb=0,fA=function(a,b){this.id="mat-error-"+QZb++;a||b.nativeElement.setAttribute("aria-live","polite")};fA.\u0275fac=function(a){return new (a||fA)(od("aria-live"),C(vd))};fA.\u0275dir=Kc({type:fA,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(a,b){a&2&&gf("id",b.id)},inputs:{id:"id"},features:[Gf([{provide:LZb,useExisting:fA}])]});var RZb=0,SZb=new Rc("MatHint"),gA=function(){this.align="start";this.id="mat-hint-"+RZb++};gA.\u0275fac=function(a){return new (a||gA)};gA.\u0275dir=Kc({type:gA,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(a,b){a&2&&(gf("id",b.id)("align",null),qf("mat-form-field-hint-end","end"===b.align))},inputs:{align:"align",id:"id"},features:[Gf([{provide:SZb,useExisting:gA}])]});var hA=function(){};hA.\u0275fac=function(a){return new (a||hA)};hA.\u0275dir=Kc({type:hA,selectors:[["mat-label"]]});var TZb=function(){};TZb.\u0275fac=function(a){return new (a||TZb)};TZb.\u0275dir=Kc({type:TZb,selectors:[["mat-placeholder"]]});var UZb=["connectionContainer"],VZb=["inputContainer"],WZb=["label"],XZb=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],YZb=0,ZZb=ih(function(a){this._elementRef=a},"primary"),$Zb=new Rc("MAT_FORM_FIELD_DEFAULT_OPTIONS"),iA=function(a,b,c,d,e,g,h){a=ZZb.call(this,a)||this;a._changeDetectorRef=b;a._dir=c;a._defaults=d;a._platform=e;a._ngZone=g;a._outlineGapCalculationNeededImmediately=
!1;a._outlineGapCalculationNeededOnStable=!1;a._destroyed=new E.Subject;a._hideRequiredMarker=!1;a._showAlwaysAnimate=!1;a._subscriptAnimationState="";a._hintLabel="";a._hintLabelId="mat-hint-"+YZb++;a._labelId="mat-form-field-label-"+YZb++;a.floatLabel=a._getDefaultFloatLabelState();a._animationsEnabled="NoopAnimations"!==h;a.appearance=(null==d?void 0:d.appearance)||"legacy";d&&(a._hideRequiredMarker=!!d.hideRequiredMarker,d.color&&(a.color=a.defaultColor=d.color));return a};U(iA,ZZb);f=iA.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(Re(null)).subscribe(function(){a._syncDescribedByIds();a._changeDetectorRef.markForCheck()});b.ngControl&&b.ngControl.valueChanges&&b.ngControl.valueChanges.pipe(Te(this._destroyed)).subscribe(function(){return a._changeDetectorRef.markForCheck()});this._ngZone.runOutsideAngular(function(){a._ngZone.onStable.pipe(Te(a._destroyed)).subscribe(function(){a._outlineGapCalculationNeededOnStable&&
oh(a)})});(0,E.merge)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(function(){a._outlineGapCalculationNeededOnStable=!0;a._changeDetectorRef.markForCheck()});this._hintChildren.changes.pipe(Re(null)).subscribe(function(){a._processHints();a._changeDetectorRef.markForCheck()});this._errorChildren.changes.pipe(Re(null)).subscribe(function(){a._syncDescribedByIds();a._changeDetectorRef.markForCheck()});this._dir&&this._dir.change.pipe(Te(this._destroyed)).subscribe(function(){"function"===
typeof requestAnimationFrame?a._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){return oh(a)})}):oh(a)})};f.ngAfterContentChecked=function(){this._outlineGapCalculationNeededImmediately&&oh(this)};f.ngAfterViewInit=function(){this._subscriptAnimationState="enter";this._changeDetectorRef.detectChanges()};f.ngOnDestroy=function(){this._destroyed.next();this._destroyed.complete()};f._shouldForward=function(a){var b=this._control?this._control.ngControl:null;return b&&b[a]};
f._hasPlaceholder=function(){return!!(this._control&&this._control.placeholder||this._placeholderChild)};f._hasLabel=function(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)};f._shouldLabelFloat=function(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())};f._hideControlPlaceholder=function(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()};
f._hasFloatingLabel=function(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()};f._getDisplayedMessages=function(){return this._errorChildren&&0<this._errorChildren.length&&this._control.errorState?"error":"hint"};
f._animateAndLockLabel=function(){var a=this;this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,(0,E.fromEvent)(this._label.nativeElement,"transitionend").pipe(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,Vc(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,Vc(this._errorChildren.map(function(d){return d.id})));this._control.setDescribedByIds(a)}};f._validateControlChild=function(){};
var oh=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"};iA.prototype._getStartEnd=function(a){return this._dir&&"rtl"===this._dir.value?a.right:a.left};iA.prototype._isAttachedToDOM=function(){var a=this._elementRef.nativeElement;if(a.getRootNode){var b=a.getRootNode();return b&&b!==a}return document.documentElement.contains(a)};
hh.Object.defineProperties(iA.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=xg(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}}});iA.\u0275fac=function(a){return new (a||iA)(C(vd),C(Yv),C(Cy,8),C($Zb,8),C(bx),C(We),C(ev,8))};
iA.\u0275cmp=Gc({type:iA,selectors:[["mat-form-field"]],contentQueries:function(a,b,c){a&1&&(Vf(c,eA,5),Vf(c,eA,7),Vf(c,hA,5),Vf(c,hA,7),Vf(c,TZb,5),Vf(c,LZb,5),Vf(c,SZb,5),Vf(c,MZb,5),Vf(c,NZb,5));if(a&2){var d;Tf(d=Wf())&&(b._controlNonStatic=d.first);Tf(d=Wf())&&(b._controlStatic=d.first);Tf(d=Wf())&&(b._labelChildNonStatic=d.first);Tf(d=Wf())&&(b._labelChildStatic=d.first);Tf(d=Wf())&&(b._placeholderChild=d.first);Tf(d=Wf())&&(b._errorChildren=d);Tf(d=Wf())&&(b._hintChildren=d);Tf(d=Wf())&&(b._prefixChildren=
d);Tf(d=Wf())&&(b._suffixChildren=d)}},viewQuery:function(a,b){a&1&&(Uf(UZb,7),Uf(VZb,5),Uf(WZb,5));if(a&2){var c;Tf(c=Wf())&&(b._connectionContainerRef=c.first);Tf(c=Wf())&&(b._inputContainerRef=c.first);Tf(c=Wf())&&(b._label=c.first)}},hostAttrs:["ngSkipHydration","",1,"mat-form-field"],hostVars:40,hostBindings:function(a,b){a&2&&qf("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:[Gf([{provide:PZb,useExisting:iA}]),bf],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&&(xf(XZb),G(0,"div",0)(1,"div",
1,2),M("click",function(){return b._control.onContainerClick()}),Q(3,opa,9,0,"ng-container",3),Q(4,ppa,2,1,"div",4),G(5,"div",5,6),yf(7),G(8,"span",7),Q(9,tpa,5,16,"label",8),H()(),Q(10,upa,2,0,"div",9),H(),Q(11,vpa,2,4,"div",10),G(12,"div",11),Q(13,wpa,2,1,"div",12),Q(14,ypa,5,2,"div",13),H()());a&2&&(z(3),F("ngIf","outline"==b.appearance),z(1),F("ngIf",b._prefixChildren.length),z(5),F("ngIf",b._hasFloatingLabel()),z(1),F("ngIf",b._suffixChildren.length),z(1),F("ngIf","outline"!=b.appearance),z(1),
F("ngSwitch",b._getDisplayedMessages()),z(1),F("ngSwitchCase","error"),z(1),F("ngSwitchCase","hint"))},dependencies:[ew,fw,gw,my],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:[OZb]},changeDetection:0});var jA=function(){};jA.\u0275fac=function(a){return new (a||jA)};jA.\u0275mod=Ic({type:jA});jA.\u0275inj=rc({imports:[sw,dz,ny,dz]});var a_b=new Rc("MAT_INPUT_VALUE_ACCESSOR");var b_b="button checkbox file hidden image radio range reset submit".split(" "),c_b=0,d_b=Loa(function(a,b,c,d){this._defaultErrorStateMatcher=a;this._parentForm=b;this._parentFormGroup=c;this.ngControl=d;this.stateChanges=new E.Subject}),kA=function(a,b,c,d,e,g,h,l,q,x){var A=d_b.call(this,g,d,e,c)||this;A._elementRef=a;A._platform=b;A._autofillMonitor=l;A._formField=x;A._uid="mat-input-"+c_b++;A.focused=!1;A.stateChanges=new E.Subject;A.controlType="mat-input";A.autofilled=!1;A._disabled=!1;A._type=
"text";A._readonly=!1;A._neverEmptyInputTypes="date datetime datetime-local month time week".split(" ").filter(function(K){return Jma().has(K)});A._iOSKeyupListener=function(K){K=K.target;K.value||0!==K.selectionStart||0!==K.selectionEnd||(K.setSelectionRange(1,1),K.setSelectionRange(0,0))};c=A._elementRef.nativeElement;var B=c.nodeName.toLowerCase();A._inputValueAccessor=h||c;A._previousNativeValue=A.value;A.id=A.id;b.IOS&&q.runOutsideAngular(function(){a.nativeElement.addEventListener("keyup",A._iOSKeyupListener)});
A._isServer=!A._platform.isBrowser;A._isNativeSelect="select"===B;A._isTextarea="textarea"===B;A._isInFormField=!!x;A._isNativeSelect&&(A.controlType=c.multiple?"mat-native-select-multiple":"mat-native-select");return A};U(kA,d_b);f=kA.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(){b_b.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)};
hh.Object.defineProperties(kA.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=xg(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:SUb(b))?d:!1},
set:function(a){this._required=xg(a)}},type:{configurable:!0,enumerable:!0,get:function(){return this._type},set:function(a){this._type=a||"text";this._validateType();!this._isTextarea&&Jma().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=xg(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}}});
kA.\u0275fac=function(a){return new (a||kA)(C(vd),C(bx),C(Dw,10),C(Jw,8),C(Sw,8),C(iz),C(a_b,10),C(bA),C(We),C(PZb,8))};
kA.\u0275dir=Kc({type:kA,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(a,b){a&1&&M("focus",function(){return b._focusChanged(!0)})("blur",function(){return b._focusChanged(!1)})("input",function(){return b._onInput()});a&2&&(wf("id",b.id)("disabled",b.disabled)("required",b.required),gf("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),qf("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:[Gf([{provide:eA,useExisting:kA}]),bf,Zc]});var lA=function(){var a=kA.apply(this,arguments)||this;a._legacyFormField=Ac(PZb,{optional:!0});return a};U(lA,kA);lA.prototype._getPlaceholder=function(){var a=this._legacyFormField,b;return!a||"legacy"!==a.appearance||(null==(b=a._hasLabel)?0:b.call(a))?this.placeholder:null};lA.\u0275fac=function(){var a;return function(b){return(a||(a=td(lA)))(b||lA)}}();
lA.\u0275dir=Kc({type:lA,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&&(gf("data-placeholder",b.placeholder),qf("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:[Gf([{provide:eA,useExisting:lA}]),bf]});var mA=function(){};mA.\u0275fac=function(a){return new (a||mA)};mA.\u0275mod=Ic({type:mA});mA.\u0275inj=rc({providers:[iz],imports:[dA,jA,dz,dA,jA]});var e_b={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},nA=e_b;nA=e_b;var f_b=RegExp("^((?:[-+]\\d*)?\\d{4})(?:(?:-?(\\d{2})(?:-?(\\d{2}))?)|(?:-?(\\d{3}))|(?:-?W(\\d{2})(?:-?([1-7]))?))?$"),g_b=/^(\d{2})(?::?(\d{2})(?::?(\d{2})(\.\d+)?)?)?$/,h_b=/Z|(?:([-+])(\d{2})(?::?(\d{2}))?)$/,i_b=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},j_b=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)},oA=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=oA.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 oA(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 oA(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 Jh=function(a,b,c){"number"===typeof a?(this.date=k_b(a,b||0,c||1),l_b(this,c||1)):va(a)?(this.date=k_b(a.getFullYear(),a.getMonth(),a.getDate()),l_b(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),l_b(this,a))},k_b=function(a,b,c){b=new Date(a,b,c);0<=a&&100>a&&b.setFullYear(b.getFullYear()-1900);return b};f=Jh.prototype;f.firstDayOfWeek_=nA.FIRSTDAYOFWEEK;
f.firstWeekCutOffDay_=nA.FIRSTWEEKCUTOFFDAY;f.clone=function(){var a=new Jh(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 jZb=function(a){return i_b(a.getFullYear(),a.getMonth())};f=Jh.prototype;
f.getDayOfYear=function(){for(var a=this.getDate(),b=this.getFullYear(),c=this.getMonth()-1;0<=c;c--)a+=i_b(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(i_b(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()),l_b(this,a.getDate()))};
f.toIsoString=function(a){var b=this.getFullYear(),c=0>b?"-":1E4<=b?"+":"";return[c+Yu(Math.abs(b),c?6:4),Yu(this.getMonth()+1,2),Yu(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 l_b=function(a,b){a.getDate()!=b&&(b=a.getDate()<b?1:-1,a.date.setUTCHours(a.date.getUTCHours()+b))};Jh.prototype.valueOf=function(){return this.date.valueOf()};
var $m=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())};ts($m,Jh);f=$m.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){Jh.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=Jh.prototype.toIsoString.call(this,a);return a?b+"T"+Yu(this.getHours(),2)+":"+Yu(this.getMinutes(),2)+":"+Yu(this.getSeconds(),2):b+"T"+Yu(this.getHours(),2)+Yu(this.getMinutes(),2)+Yu(this.getSeconds(),2)};f.equals=function(a){return this.getTime()==a.getTime()};f.toString=function(){return this.toIsoString()};f.clone=function(){var a=new $m(this.date);a.firstDayOfWeek_=this.getFirstDayOfWeek();a.firstWeekCutOffDay_=this.firstWeekCutOffDay_;return a};var m_b=function(){},uk=function(a){if("number"==typeof a){var b=new m_b;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(":",Yu(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=n_b(a);b.tzNames_=[c,c];b.tzNamesExt_={STD_LONG_NAME_GMT:a,STD_GENERIC_LOCATION:a};b.transitions_=[];return b}b=new m_b;
b.timeZoneId_=a.id;b.standardOffset_=-a.std_offset;b.tzNames_=a.names;b.tzNamesExt_=a.names_ext;b.transitions_=a.transitions;return b},n_b=function(a){var b=["GMT"];b.push(0>=a?"+":"-");a=Math.abs(a);b.push(Yu(Math.floor(a/60)%100,2),":",Yu(a%60,2));return b.join("")},o_b=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]};
m_b.prototype.getOffset=function(a){a=this.standardOffset_-o_b(this,a);return-1440===a?0:a};m_b.prototype.getShortName=function(a){return this.tzNames_[0<o_b(this,a)?2:0]};var pA=function(a){this.patternParts_=[];this.dateTimeSymbols_=nA;"number"==typeof a?this.applyStandardPattern_(a):this.applyPattern_(a)},p_b=[/^'(?:[^']|'')*('|$)/,/^(?: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]+/],q_b=function(a){return a.getHours?a.getHours():0};
pA.prototype.applyPattern_=function(a){for(r_b&&(a=a.replace(/\u200f/g,""));a;){for(var b=a,c=0;c<p_b.length;++c){var d=a.match(p_b[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);}};
pA.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()&&(e=6E4*(d.getTimezoneOffset()-a.getTimezoneOffset()),d=new Date(d.getTime()+e),c+=0<c?-864E5:864E5,e=new Date(a.getTime()+c));c=[];for(var g=0;g<this.patternParts_.length;++g){var h=this.patternParts_[g].text;1==this.patternParts_[g].type?c.push(s_b(this,h,a,d,e,b)):c.push(h)}return c.join("")};
pA.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 qA=function(a,b){return t_b(b,a.dateTimeSymbols_)},r_b=!1,t_b=function(a,b){a=String(a);b=b||nA;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("")},rA=function(a){if(!(a.getHours&&a.getSeconds&&a.getMinutes))throw Error("mb");},u_b=function(a,b){rA(b);b=q_b(b);return a.dateTimeSymbols_.AMPMS[12<=b&&24>b?1:0]},s_b=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),qA(a,Yu(c,h));case "Y":return c=d.getMonth(),e=d.getDate(),c=j_b(d.getFullYear(),c,e,a.dateTimeSymbols_.FIRSTWEEKCUTOFFDAY,a.dateTimeSymbols_.FIRSTDAYOFWEEK),c=(new Date(c)).getFullYear(),0>c&&(c=-c),2==h&&(c%=100),qA(a,Yu(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=qA(a,Yu(c+1,h))}return h;case "k":return rA(e),c=q_b(e)||24,qA(a,Yu(c,h));case "S":return c=e.getMilliseconds()/1E3,qA(a,c.toFixed(Math.min(3,h)).slice(2)+(3<h?Yu(0,h-3):""));case "E":return c=d.getDay(),4<=h?a.dateTimeSymbols_.WEEKDAYS[c]:a.dateTimeSymbols_.SHORTWEEKDAYS[c];case "a":return u_b(a,e);case "b":return u_b(a,e);case "B":return u_b(a,e);case "h":return rA(e),c=q_b(e)%12||12,qA(a,Yu(c,h));case "K":return rA(e),c=q_b(e)%
12,qA(a,Yu(c,h));case "H":return rA(e),c=q_b(e),qA(a,Yu(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=qA(a,Yu(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=qA(a,Yu(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 qA(a,Yu(d.getDate(),h));case "m":return rA(e),qA(a,Yu(e.getMinutes?e.getMinutes():0,h));case "s":return rA(e),qA(a,Yu(e.getSeconds(),h));case "v":return(g||uk(c.getTimezoneOffset())).timeZoneId_;case "V":return a=g||uk(c.getTimezoneOffset()),2>=h?a.timeZoneId_:0<o_b(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=j_b(e.getFullYear(),c,d,a.dateTimeSymbols_.FIRSTWEEKCUTOFFDAY,a.dateTimeSymbols_.FIRSTDAYOFWEEK),qA(a,Yu(Math.floor(Math.round((c-(new Date((new Date(c)).getFullYear(),0,1)).valueOf())/864E5)/7)+1,h));case "z":return a=g||uk(c.getTimezoneOffset()),4>h?a.getShortName(c):a.tzNames_[0<o_b(a,c)?3:1];case "Z":return d=
g||uk(c.getTimezoneOffset()),4>h?(h=-d.getOffset(c),a=[0>h?"-":"+"],h=Math.abs(h),a.push(Yu(Math.floor(h/60)%100,2),Yu(h%60,2)),h=a.join("")):h=qA(a,n_b(d.getOffset(c))),h;default:return""}};var zpa;var v_b=function(a,b){this.url=a;this.svgText=null;this.options=b},sA=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},tA=function(a,b,c){a._addSvgIconConfig("",b,new v_b(c))},w_b=function(a,b){return a._fontCssClassesByAlias.get(b)||
b};sA.prototype.setDefaultFontSetClass=function(){this._defaultFontSetClass=Pc.apply(0,arguments)};var x_b=function(a,b,c){c=void 0===c?"":c;var d=c+":"+b,e=a._svgIconConfigs.get(d);return e?a._getSvgFromConfig(e):(e=a._getIconConfigFromResolvers(c,b))?(a._svgIconConfigs.set(d,e),a._getSvgFromConfig(e)):(c=a._iconSetConfigs.get(c))?a._getSvgFromIconSetConfigs(b,c):(0,E.throwError)(Error("nb`"+d))};f=sA.prototype;
f.ngOnDestroy=function(){this._resolvers=[];this._svgIconConfigs.clear();this._iconSetConfigs.clear();this._cachedIconsByUrl.clear()};f._getSvgFromConfig=function(a){return a.svgText?(0,E.of)(this._svgElementFromConfig(a).cloneNode(!0)):this._loadSvgIconFromConfig(a).pipe(D(function(b){return b.cloneNode(!0)}))};
f._getSvgFromIconSetConfigs=function(a,b){var c=this,d=this._extractIconWithNameFromAnySet(a,b);if(d)return(0,E.of)(d);d=b.filter(function(e){return!e.svgText}).map(function(e){return c._loadSvgIconSetFromConfig(e).pipe(Ce(function(g){g="Loading icon set URL: "+c._sanitizer.sanitize(5,e.url)+" failed: "+g.message;c._errorHandler.handleError(Error(g));return(0,E.of)(null)}))});return(0,E.forkJoin)(d).pipe(D(function(){var e=c._extractIconWithNameFromAnySet(a,b);if(!e)throw Error("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(Ue(function(c){return a.svgText=c}),D(function(){return b._svgElementFromConfig(a)}))};
f._loadSvgIconSetFromConfig=function(a){return a.svgText?(0,E.of)(null):this._fetchIcon(a).pipe(Ue(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(Bpa("<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(Bpa("<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(D(function(h){return Bpa(h)}),Ie(function(){return b._inProgressUrlFetches.delete(g)}),Oe());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 v_b(d.url,d.options):new v_b(d)}};sA.\u0275fac=function(a){return new (a||sA)(u(Jx,8),u(Ox),u(fh,8),u(Qd))};sA.\u0275prov=qc({token:sA,factory:sA.\u0275fac,providedIn:"root"});new $u;new av;new $u;new $u;var y_b=ih(function(a){this._elementRef=a}),z_b=new Rc("MAT_ICON_DEFAULT_OPTIONS"),A_b=new Rc("mat-icon-location",{providedIn:"root",factory:Cpa}),B_b="clip-path color-profile src cursor fill filter marker marker-start marker-mid marker-end mask stroke".split(" "),C_b=B_b.map(function(a){return"["+a+"]"}).join(", "),D_b=/^url\(['"]?#(.*?)['"]?\)$/,uA=function(a,b,c,d,e,g){var h=y_b.call(this,a)||this;h._iconRegistry=b;h._location=d;h._errorHandler=e;h._inline=!1;h._previousFontSetClass=[];h._currentIconFetch=
E.Subscription.EMPTY;g&&(g.color&&(h.color=h.defaultColor=g.color),g.fontSet&&(h.fontSet=g.fontSet));c||a.nativeElement.setAttribute("aria-hidden","true");return h};U(uA,y_b);f=uA.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?w_b(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(C_b),c=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(a={$jscomp$loop$prop$i$2282:0};a.$jscomp$loop$prop$i$2282<b.length;a={$jscomp$loop$prop$i$2282:a.$jscomp$loop$prop$i$2282},a.$jscomp$loop$prop$i$2282++)B_b.forEach(function(d){return function(e){var g=b[d.$jscomp$loop$prop$i$2282],h=g.getAttribute(e);if(h=h?h.match(D_b):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=x_b(this._iconRegistry,d,c).pipe(Ge()).subscribe(function(e){return b._setSvgElement(e)},function(e){b._errorHandler.handleError(Error("tb`"+c+"`"+d+"`"+e.message))})}};
hh.Object.defineProperties(uA.prototype,{inline:{configurable:!0,enumerable:!0,get:function(){return this._inline},set:function(a){this._inline=xg(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())}}});uA.\u0275fac=function(a){return new (a||uA)(C(vd),C(sA),od("aria-hidden"),C(A_b),C(Qd),C(z_b,8))};
uA.\u0275cmp=Gc({type:uA,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(a,b){a&2&&(gf("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),qf("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:[bf],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(xf(),yf(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 vA=function(){};vA.\u0275fac=function(a){return new (a||vA)};vA.\u0275mod=Ic({type:vA});vA.\u0275inj=rc({});var wA=function(){};wA.\u0275fac=function(a){return new (a||wA)};wA.\u0275mod=Ic({type:wA});wA.\u0275inj=rc({});var xA={};xA.AssertionError=aaa;xA.ENABLE_ASSERTS=!1;xA.assert=function(a){return a};xA.assertArray=function(a){return a};xA.assertBoolean=function(a){return a};xA.assertElement=function(a){return a};xA.assertExists=function(a){return a};xA.assertFinite=function(a){return a};xA.assertFunction=function(a){return a};xA.assertInstanceof=function(a){return a};xA.assertNumber=function(a){return a};xA.assertObject=function(a){return a};xA.assertString=function(a){return a};xA.fail=function(){};var yA=function(){};yA.\u0275fac=function(a){return new (a||yA)};yA.\u0275mod=Ic({type:yA});yA.\u0275inj=rc({});var zA=function(){};zA.\u0275fac=function(a){return new (a||zA)};zA.\u0275mod=Ic({type:zA});zA.\u0275inj=rc({imports:[yA]});var AA=function(){};AA.prototype.getValue=function(a){a=window.localStorage.getItem(a);return(0,E.of)(a?JSON.parse(a):null)};AA.prototype.getValues=function(a){return(0,E.of)(a.reduce(function(b,c){var d=b.set;var e=(e=window.localStorage.getItem(c))?JSON.parse(e):null;return d.call(b,c,e)},new Map))};AA.prototype.setValue=function(a,b){window.localStorage.setItem(a,JSON.stringify(b));return(0,E.of)(void 0)};AA.\u0275fac=function(a){return new (a||AA)};
AA.\u0275prov=qc({token:AA,factory:AA.\u0275fac,providedIn:yA});var E_b=function(a){this.cellValue_=a};var F_b=function(a,b,c){this.metricName_=a;this.cellType_=b;this.fields_=c||[];this.cellMap_=new Map};f=F_b.prototype;f.addCell=function(a){var b=Pc.apply(1,arguments),c=this.getCells(b);c?c.push(new E_b(a)):this.setCell(a,b)};f.setCell=function(a){var b=this.getKey_(Pc.apply(1,arguments));this.cellMap_.set(b,[new E_b(a)])};f.getCells=function(){var a=this.getKey_(Pc.apply(0,arguments));return this.cellMap_.has(a)?this.cellMap_.get(a):void 0};
f.getCell=function(){var a=this.getCells(Pc.apply(0,arguments));return a&&a.length?a[0]:void 0};f.clear=function(){this.cellMap_.clear()};f.getKey_=function(){var a=Pc.apply(0,arguments);return a?a.join(","):"key"};var G_b=function(a,b){F_b.call(this,a,3,b)};U(G_b,F_b);G_b.prototype.incrementCounter=function(){this.incrementCounterBy(1,Pc.apply(0,arguments))};G_b.prototype.incrementCounterBy=function(a){var b=Pc.apply(1,arguments),c=0,d=this.getCell(b);d&&(c=d.cellValue_);this.setCell(c+a,b)};var H_b=function(a,b){F_b.call(this,a,2,b)};U(H_b,F_b);H_b.prototype.record=function(a){this.addCell(a,Pc.apply(1,arguments))};var BA=function(){this.disposed_=this.disposed_;this.onDisposeCallbacks_=this.onDisposeCallbacks_};BA.prototype.disposed_=!1;BA.prototype.isDisposed=function(){return this.disposed_};BA.prototype.dispose=function(){this.disposed_||(this.disposed_=!0,this.disposeInternal())};var CA=function(a,b){b=ss(ph,b);a.disposed_?b():(a.onDisposeCallbacks_||(a.onDisposeCallbacks_=[]),a.onDisposeCallbacks_.push(b))};BA.prototype.disposeInternal=function(){if(this.onDisposeCallbacks_)for(;this.onDisposeCallbacks_.length;)this.onDisposeCallbacks_.shift()()};var DA=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.propagationStopped_=!1};DA.prototype.stopPropagation=function(){this.propagationStopped_=!0};DA.prototype.preventDefault=function(){this.defaultPrevented=!0};var I_b=[],J_b=[],K_b=!1,L_b=function(a){I_b[I_b.length]=a;if(K_b)for(var b=0;b<J_b.length;b++)a(rs(J_b[b].wrap,J_b[b]))};var M_b=function(){if(!ba.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{var c=function(){};ba.addEventListener("test",c,b);ba.removeEventListener("test",c,b)}catch(d){}return a}();var EA=function(a,b){DA.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)};ts(EA,DA);var N_b={2:"touch",3:"pen",4:"mouse"};
EA.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)?xs&&(NIb(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=ys||void 0!==a.offsetX?
a.offsetX:a.layerX,this.offsetY=ys||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=Yp?a.metaKey:a.ctrlKey;this.pointerId=
a.pointerId||0;this.pointerType="string"===typeof a.pointerType?a.pointerType:N_b[a.pointerType]||"";this.state=a.state;this.event_=a;a.defaultPrevented&&EA.superClass_.preventDefault.call(this)};EA.prototype.stopPropagation=function(){EA.superClass_.stopPropagation.call(this);this.event_.stopPropagation?this.event_.stopPropagation():this.event_.cancelBubble=!0};
EA.prototype.preventDefault=function(){EA.superClass_.preventDefault.call(this);var a=this.event_;a.preventDefault?a.preventDefault():a.returnValue=!1};var O_b="closure_listenable_"+(1E6*Math.random()|0),FA=function(a){return!(!a||!a[O_b])};var P_b=0;var Q_b=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=++P_b;this.removed=this.callOnce=!1},R_b=function(a){a.removed=!0;a.listener=null;a.proxy=null;a.src=null;a.handler=null};var GA=function(a){this.src=a;this.listeners={};this.typeCount_=0};GA.prototype.getTypeCount=function(){return this.typeCount_};GA.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=S_b(a,b,d,e);-1<h?(b=a[h],c||(b.callOnce=!1)):(b=new Q_b(b,this.src,g,!!d,e),b.callOnce=c,a.push(b));return b};
GA.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.listeners))return!1;var e=this.listeners[a];b=S_b(e,b,c,d);return-1<b?(R_b(e[b]),zaa(e,b),0==e.length&&(delete this.listeners[a],this.typeCount_--),!0):!1};var T_b=function(a,b){var c=b.type;if(!(c in a.listeners))return!1;var d=ra(a.listeners[c],b);d&&(R_b(b),0==a.listeners[c].length&&(delete a.listeners[c],a.typeCount_--));return d};
GA.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,R_b(d[e]);delete this.listeners[c];this.typeCount_--}return b};GA.prototype.getListener=function(a,b,c,d){a=this.listeners[a.toString()];var e=-1;a&&(e=S_b(a,b,c,d));return-1<e?a[e]:null};
GA.prototype.hasListener=function(a,b){var c=void 0!==a,d=c?a.toString():"",e=void 0!==b;return Pca(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 S_b=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 U_b="closure_lm_"+(1E6*Math.random()|0),V_b={},W_b=0,zo=function(a,b,c,d,e){if(d&&d.once)return HA(a,b,c,d,e);if(Array.isArray(b)){for(var g=0;g<b.length;g++)zo(a,b[g],c,d,e);return null}c=X_b(c);return FA(a)?a.listen(b,c,va(d)?!!d.capture:!!d,e):Y_b(a,b,c,!1,d,e)},Y_b=function(a,b,c,d,e,g){if(!b)throw Error("ub");var h=va(e)?!!e.capture:!!e,l=Z_b(a);l||(a[U_b]=l=new GA(a));c=l.add(b,c,d,h,g);if(c.proxy)return c;d=$_b();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)M_b||(e=h),void 0===
e&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(a0b(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("vb");W_b++;return c},$_b=function(){var a=b0b,b=function(c){return a.call(b.src,b.listener,c)};return b},HA=function(a,b,c,d,e){if(Array.isArray(b)){for(var g=0;g<b.length;g++)HA(a,b[g],c,d,e);return null}c=X_b(c);return FA(a)?a.listenOnce(b,c,va(d)?!!d.capture:!!d,e):Y_b(a,b,c,!0,d,e)},IA=function(a,b,c,d,e){if(Array.isArray(b))for(var g=
0;g<b.length;g++)IA(a,b[g],c,d,e);else d=va(d)?!!d.capture:!!d,c=X_b(c),FA(a)?a.unlisten(b,c,d,e):a&&(a=Z_b(a))&&(b=a.getListener(b,c,d,e))&&JA(b)},JA=function(a){if("number"===typeof a||!a||a.removed)return!1;var b=a.src;if(FA(b))return b.unlistenByKey(a);var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(a0b(c),d):b.addListener&&b.removeListener&&b.removeListener(d);W_b--;(c=Z_b(b))?(T_b(c,a),0==c.getTypeCount()&&(c.src=null,b[U_b]=null)):
R_b(a);return!0},a0b=function(a){return a in V_b?V_b[a]:V_b[a]="on"+a},b0b=function(a,b){if(a.removed)a=!0;else{b=new EA(b,this);var c=a.listener,d=a.handler||a.src;a.callOnce&&JA(a);a=c.call(d,b)}return a},Z_b=function(a){a=a[U_b];return a instanceof GA?a:null},c0b="__closure_events_fn_"+(1E9*Math.random()>>>0),X_b=function(a){if("function"===typeof a)return a;a[c0b]||(a[c0b]=function(b){return a.handleEvent(b)});return a[c0b]};L_b(function(a){b0b=a(b0b)});var yo=function(){BA.call(this);this.eventTargetListeners_=new GA(this);this.actualEventTarget_=this;this.parentEventTarget_=null};ts(yo,BA);yo.prototype[O_b]=!0;f=yo.prototype;f.getParentEventTarget=function(){return this.parentEventTarget_};f.setParentEventTarget=function(a){this.parentEventTarget_=a};f.addEventListener=function(a,b,c,d){zo(this,a,b,c,d)};f.removeEventListener=function(a,b,c,d){IA(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 DA(a,c);else if(a instanceof DA)a.target=a.target||c;else{var e=a;a=new DA(d,c);Xca(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(){yo.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 T_b(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 d0b=function(a,b){this.limit_=100;this.create_=a;this.reset_=b;this.occupants_=0;this.head_=null};d0b.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};d0b.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 e0b=vs||ys;var f0b=function(a,b){return a+Math.random()*(b-a)};var fq=function(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0};fq.prototype.clone=function(){return new fq(this.x,this.y)};fq.prototype.equals=function(a){return a instanceof fq&&(this==a?!0:this&&a?this.x==a.x&&this.y==a.y:!1)};var gq=function(a,b){return new fq(a.x-b.x,a.y-b.y)};f=fq.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 fq?(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 KA=function(a,b){this.width=a;this.height=b},eeb=function(a,b){return a==b?!0:a&&b?a.width==b.width&&a.height==b.height:!1};f=KA.prototype;f.clone=function(){return new KA(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 Bo=function(a){return a?new LA(MA(a)):wIb||(wIb=new LA)},g0b=function(a,b){return"string"===typeof b?a.getElementById(b):b},NA=function(a,b){return(b||document).getElementsByTagName(String(a))},i0b=function(a,b){Sb(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:h0b.hasOwnProperty(d)?a.setAttribute(h0b[d],c):Th(d,"aria-")||Th(d,"data-")?a.setAttribute(d,c):a[d]=c})},
h0b={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"},OA=function(a){a=(a||window).document;a=j0b(a)?a.documentElement:a.body;return new KA(a.clientWidth,a.clientHeight)},PA=function(a){var b=k0b(a);a=a.parentWindow||a.defaultView;return vs&&a.pageYOffset!=b.scrollTop?new fq(b.scrollLeft,b.scrollTop):new fq(a.pageXOffset||
b.scrollLeft,a.pageYOffset||b.scrollTop)},k0b=function(a){return a.scrollingElement?a.scrollingElement:!ys&&j0b(a)?a.documentElement:a.body||a.documentElement},QA=function(a){return a?a.parentWindow||a.defaultView:window},m0b=function(a,b,c){return l0b(document,arguments)},l0b=function(a,b){var c=b[1],d=On(a,String(b[0]));c&&("string"===typeof c?d.className=c:Array.isArray(c)?d.className=c.join(" "):i0b(d,c));2<b.length&&n0b(a,d,b,2);return d},n0b=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(!ua(g)||va(g)&&0<g.nodeType)e(g);else{a:{if(g&&"number"==typeof g.length){if(va(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}pa(h?ta(g):g,e)}}},On=function(a,b){b=String(b);"application/xhtml+xml"===a.contentType&&(b=b.toLowerCase());return a.createElement(b)},j0b=function(a){return"CSS1Compat"==a.compatMode},o0b=function(a,b){n0b(MA(a),a,arguments,
1)},p0b=function(a){for(var b;b=a.firstChild;)a.removeChild(b)},RA=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null},SA=function(a){return va(a)&&1==a.nodeType},Sfb=function(a){var b;if(e0b&&(b=a.parentElement))return b;b=a.parentNode;return SA(b)?b:null},h6a=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},MA=function(a){return 9==a.nodeType?a:a.ownerDocument||a.document},q0b=function(a){return a.contentDocument||a.contentWindow.document},r0b=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 p0b(a),a.appendChild(MA(a).createTextNode(String(b)))},s0b={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},t0b={IMG:" ",BR:"\n"},u0b=
function(a){a=a.tabIndex;return"number"===typeof a&&0<=a&&32768>a},v0b=function(a,b,c){if(!(a.nodeName in s0b))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 t0b)b.push(t0b[a.nodeName]);else for(a=a.firstChild;a;)v0b(a,b,c),a=a.nextSibling},Aeb=function(){var a=QA();return void 0!==a.devicePixelRatio?a.devicePixelRatio:a.matchMedia?w0b(3)||w0b(2)||w0b(1.5)||w0b(1)||.75:1},w0b=function(a){return QA().matchMedia("(min-resolution: "+
a+"dppx),(min--moz-device-pixel-ratio: "+a+"),(min-resolution: "+96*a+"dpi)").matches?a:0},LA=function(a){this.document_=a||ba.document||document};f=LA.prototype;f.getDomHelper=Bo;f.getElement=function(a){return g0b(this.document_,a)};f.$=LA.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&&qa(a.split(/\s+/),b)&&(d[e++]=h);d.length=e;
b=d}else b=c;return b};f.$$=LA.prototype.getElementsByTagNameAndClass;f.setProperties=i0b;f.getViewportSize=function(a){return OA(a||this.getWindow())};f.createDom=function(a,b,c){return l0b(this.document_,arguments)};f.createElement=function(a){return On(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=o0b;
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=p0b;f.removeNode=RA;
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=SA;f.getParentElement=Sfb;f.contains=h6a;
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")||u0b(a)):b=a.hasAttribute("tabindex")&&u0b(a);if(b&&vs){var c;"function"!==typeof a.getBoundingClientRect||vs&&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 x0b,y0b=function(){var a=ba.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!ha("Presto")&&(a=function(){var e=On(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=rs(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&&!eaa()){var b=new a,c={},d=c;b.port1.onmessage=function(){if(void 0!==c.next){c=c.next;var e=c.cb;c.cb=null;e()}};return function(e){d.next={cb:e};d=d.next;b.port2.postMessage(0)}}return function(e){ba.setTimeout(e,0)}},z0b=LQb;L_b(function(a){z0b=a});var A0b=function(){this.workTail_=this.workHead_=null};A0b.prototype.add=function(a,b){var c=B0b.get();c.set(a,b);this.workTail_?this.workTail_.next=c:this.workHead_=c;this.workTail_=c};A0b.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 B0b=new d0b(function(){return new C0b},function(a){return a.reset()}),C0b=function(){this.next=this.scope=this.fn=null};
C0b.prototype.set=function(a,b){this.fn=a;this.scope=b;this.next=null};C0b.prototype.reset=function(){this.next=this.scope=this.fn=null};var D0b,E0b=!1,F0b=new A0b,TA=function(a,b){D0b||G0b();E0b||(D0b(),E0b=!0);F0b.add(a,b)},G0b=function(){if(ba.Promise&&ba.Promise.resolve){var a=ba.Promise.resolve(void 0);D0b=function(){a.then(H0b)}}else D0b=function(){var b=H0b;b=z0b(b);"function"!==typeof ba.setImmediate||ba.Window&&ba.Window.prototype&&!faa()&&ba.Window.prototype.setImmediate==ba.setImmediate?(x0b||(x0b=y0b()),x0b(b)):ba.setImmediate(b)}},H0b=function(){for(var a;a=F0b.remove();){try{a.fn.call(a.scope)}catch(b){baa(b)}B0b.put(a)}E0b=
!1};var I0b=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};var VA=function(a){this.state_=0;this.result_=void 0;this.callbackEntriesTail_=this.callbackEntries_=this.parent_=null;this.hadUnhandledRejection_=this.executing_=!1;if(a!=Tu)try{var b=this;a.call(void 0,function(c){UA(b,2,c)},function(c){UA(b,3,c)})}catch(c){UA(this,3,c)}},J0b=function(){this.next=this.context=this.onRejected=this.onFulfilled=this.child=null;this.always=!1};J0b.prototype.reset=function(){this.context=this.onRejected=this.onFulfilled=this.child=null;this.always=!1};
var K0b=new d0b(function(){return new J0b},function(a){a.reset()}),L0b=function(a,b,c){var d=K0b.get();d.onFulfilled=a;d.onRejected=b;d.context=c;return d},M0b=function(a){if(a instanceof VA)return a;var b=new VA(Tu);UA(b,2,a);return b},N0b=function(a){return new VA(function(b,c){c(a)})},P0b=function(a,b,c){O0b(a,b,c,null)||TA(ss(b,a))},Q0b=function(a){return new VA(function(b,c){a.length||b(void 0);for(var d=0,e;d<a.length;d++)e=a[d],P0b(e,b,c)})},R0b=function(a){return new VA(function(b,c){var d=
a.length,e=[];if(d)for(var g=function(x,A){d--;e[x]=A;0==d&&b(e)},h=function(x){c(x)},l=0,q;l<a.length;l++)q=a[l],P0b(q,ss(g,l),h);else b(e)})},S0b=function(a){return new VA(function(b,c){var d=a.length,e=[];if(d)for(var g=function(x){b(x)},h=function(x,A){d--;e[x]=A;0==d&&c(e)},l=0,q;l<a.length;l++)q=a[l],P0b(q,g,ss(h,l));else b(void 0)})},U0b=function(){var a,b,c=new VA(function(d,e){a=d;b=e});return new T0b(c,a,b)};
VA.prototype.then=function(a,b,c){return V0b(this,"function"===typeof a?a:null,"function"===typeof b?b:null,c)};VA.prototype.$goog_Thenable=!0;var X0b=function(a,b){b=L0b(b,b);b.always=!0;W0b(a,b);return a};VA.prototype.thenCatch=function(a,b){return V0b(this,null,a,b)};VA.prototype.catch=VA.prototype.thenCatch;VA.prototype.cancel=function(a){if(0==this.state_){var b=new WA(a);TA(function(){Y0b(this,b)},this)}};
var Y0b=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?Y0b(c,b):(g?(d=g,d.next==c.callbackEntriesTail_&&(c.callbackEntriesTail_=d),d.next=d.next.next):Z0b(c),$0b(c,e,3,b)))}a.parent_=null}else UA(a,3,b)},W0b=function(a,b){a.callbackEntries_||2!=a.state_&&3!=a.state_||a1b(a);a.callbackEntriesTail_?a.callbackEntriesTail_.next=b:a.callbackEntries_=
b;a.callbackEntriesTail_=b},V0b=function(a,b,c,d){var e=L0b(null,null,null);e.child=new VA(function(g,h){e.onFulfilled=b?function(l){try{var q=b.call(d,l);g(q)}catch(x){h(x)}}:g;e.onRejected=c?function(l){try{var q=c.call(d,l);void 0===q&&l instanceof WA?h(l):g(q)}catch(x){h(x)}}:h});e.child.parent_=a;W0b(a,e);return e.child};VA.prototype.unblockAndFulfill_=function(a){this.state_=0;UA(this,2,a)};VA.prototype.unblockAndReject_=function(a){this.state_=0;UA(this,3,a)};
var UA=function(a,b,c){0==a.state_&&(a===c&&(b=3,c=new TypeError("wb")),a.state_=1,O0b(c,a.unblockAndFulfill_,a.unblockAndReject_,a)||(a.result_=c,a.state_=b,a.parent_=null,a1b(a),3!=b||c instanceof WA||b1b(a,c)))},O0b=function(a,b,c,d){if(a instanceof VA)return W0b(a,L0b(b||Tu,c||null,d)),!0;if(I0b(a))return a.then(b,c,d),!0;if(va(a))try{var e=a.then;if("function"===typeof e)return c1b(a,e,b,c,d),!0}catch(g){return c.call(d,g),!0}return!1},c1b=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)}},a1b=function(a){a.executing_||(a.executing_=!0,TA(a.executeCallbacks_,a))},Z0b=function(a){var b=null;a.callbackEntries_&&(b=a.callbackEntries_,a.callbackEntries_=b.next,b.next=null);a.callbackEntries_||(a.callbackEntriesTail_=null);return b};VA.prototype.executeCallbacks_=function(){for(var a;a=Z0b(this);)$0b(this,a,this.state_,this.result_);this.executing_=!1};
var $0b=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,d1b(b,c,d);else try{b.always?b.onFulfilled.call(b.context):d1b(b,c,d)}catch(e){e1b.call(null,e)}K0b.put(b)},d1b=function(a,b,c){2==b?a.onFulfilled.call(a.context,c):a.onRejected&&a.onRejected.call(a.context,c)},b1b=function(a,b){a.hadUnhandledRejection_=!0;TA(function(){a.hadUnhandledRejection_&&e1b.call(null,b)})},e1b=baa,WA=function(a){aa.call(this,
a);this.reportErrorToServer=!1};ts(WA,aa);WA.prototype.name="cancel";var T0b=function(a,b,c){this.promise=a;this.resolve=b;this.reject=c};var XA=function(a,b){yo.call(this);this.interval_=a||1;this.timerObject_=b||ba;this.boundTick_=rs(this.tick_,this);this.last_=Date.now()};ts(XA,yo);f=XA.prototype;f.enabled=!1;f.timer_=null;f.getInterval=function(){return this.interval_};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(){XA.superClass_.disposeInternal.call(this);this.stop();delete this.timerObject_};
var Wn=function(a,b,c){if("function"===typeof a)c&&(a=rs(a,c));else if(a&&"function"==typeof a.handleEvent)a=rs(a.handleEvent,a);else throw Error("xb");return 2147483647<Number(b)?-1:ba.setTimeout(a,b||0)},Xn=function(a){ba.clearTimeout(a)},f1b=function(a,b){var c=null;return(new VA(function(d,e){c=Wn(function(){d(b)},a);-1==c&&e(Error("yb"))})).thenCatch(function(d){Xn(c);throw d;})};var g1b=function(a){BA.call(this);this.streamzLogger_=a;this.metricMap=new Map;this.disabledMetrics_=new Set;this.invocationCount=0;this.flushInterval=3E4;this.flushTimer=new XA(this.flushInterval);this.flushTimer.listen("tick",this.snapshotAndFlush,!1,this);CA(this,this.flushTimer)};U(g1b,BA);var h1b=function(a){a.flushTimer.enabled||a.flushTimer.start();a.invocationCount++;100<=a.invocationCount&&a.snapshotAndFlush()};f=g1b.prototype;
f.snapshotAndFlush=function(){var a=this.metricMap.values();a=[].concat(Vc(a)).filter(function(b){return b.cellMap_.size});a.length&&this.streamzLogger_.flush(a,!1);i1b(a);this.invocationCount=0;this.flushTimer.enabled&&this.flushTimer.stop()};f.addNewCounter=function(a){var b=Pc.apply(1,arguments);this.metricMap.has(a)||this.metricMap.set(a,new G_b(a,b))};f.addNewEventMetric=function(a){var b=Pc.apply(1,arguments);this.metricMap.has(a)||this.metricMap.set(a,new H_b(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(Vc(Pc.apply(1,arguments))))};f.incrementCounterBy=function(a,b){var c=Pc.apply(2,arguments),d=this.getMetric(a);d&&d instanceof G_b&&(d.incrementCounterBy(b,c),h1b(this))};f.record=function(a,b){var c=Pc.apply(2,arguments),d=this.getMetric(a);d&&d instanceof H_b&&(d.record(b,c),h1b(this))};var i1b=function(a){for(var b=0;b<a.length;b++)a[b].clear()};var j1b=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"})};j1b.prototype.increment=function(a,b,c){this.streamzService_.incrementCounter(this.metricName_,a,b,c)};j1b.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};
var k1b=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"})};k1b.prototype.record=function(a,b,c){this.streamzService_.record(this.metricName_,a,b,c)};k1b.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};
var l1b=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"})};l1b.prototype.increment=function(a,b){this.streamzService_.incrementCounter(this.metricName_,a,b)};l1b.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};
var m1b=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"})};m1b.prototype.increment=function(a,b,c){this.streamzService_.incrementCounter(this.metricName_,a,b,c)};m1b.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};var n1b={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 q1b=function(a){a=o1b(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+=p1b(a,h),c+=p1b(a,h+4),d+=p1b(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 n1b.toString(d)},r1b=function(a){return a},o1b=function(a){for(var b=[],c=0;c<a.length;c++)b.push(a.charCodeAt(c));return b},p1b=function(a,b){return a[b]+(a[b+1]<<8)+(a[b+2]<<16)+(a[b+3]<<24)};var YA=function(a){r.call(this,a)};U(YA,r);YA.prototype.getValueCase=function(){return Ci(this,ZA)};var ZA=[1,2,3];YA.prototype.toObject=function(){return s1b(this)};var s1b=function(a){if(null!=a)return t(a),{strVal:p(po(a,1,ZA)),intVal:p(Zs(a,2,ZA)),boolVal:p(Ys(a,3,ZA))}};var t1b=function(a){r.call(this,a)};U(t1b,r);t1b.prototype.getCount=function(){return gj(this,2)};t1b.prototype.setCount=function(a){return n(this,2,a)};t1b.prototype.toObject=function(){return u1b(this)};var u1b=function(a){if(null!=a)return t(a),{valueOrBucket:p(Gs(a,1)),count:p(m(a,2))}};var v1b=function(a){r.call(this,a)};U(v1b,r);v1b.prototype.getEntryList=function(){return aj(this,t1b,1)};v1b.repeatedFields_=[1];v1b.prototype.toObject=function(){return w1b(this)};var w1b=function(a){if(null!=a)return t(a),{entryList:Kb(a.getEntryList(),u1b)}};var $A=function(a){r.call(this,a)};U($A,r);$A.prototype.getValueCase=function(){return Ci(this,aB)};var aB=[1,2,3];$A.prototype.toObject=function(){return x1b(this)};var x1b=function(a){if(null!=a)return t(a),{int64Val:p($s(a,1,aB)),doubleVal:p(oo(a,2,aB)),histogramVal:w1b(Sj(a,v1b,3,aB))}};var bB=function(a){r.call(this,a)};U(bB,r);bB.prototype.setField=function(a){Fs(this,1,YA,a)};bB.repeatedFields_=[1];bB.prototype.toObject=function(){return y1b(this)};var y1b=function(a){if(null!=a)return t(a),{fieldList:Kb(aj(a,YA,1),s1b),incBy:x1b(Z(a,$A,2))}};var z1b=function(a){r.call(this,a)};U(z1b,r);z1b.prototype.getAppName=function(){return V(this,1)};z1b.prototype.toObject=function(){return A1b(this)};var A1b=function(a){if(null!=a)return t(a),{appName:p(m(a,1)),appVersion:p(m(a,2)),useMobilespec:p(ar(a,3))}};var B1b=function(a){r.call(this,a)};U(B1b,r);B1b.prototype.getAppName=function(){return V(this,1)};B1b.prototype.getExperimentId=function(){return Gh(this,3)};B1b.prototype.toObject=function(){return C1b(this)};var C1b=function(a){if(null!=a)return t(a),{appName:p(m(a,1)),appVersion:p(m(a,2)),experimentId:p(Os(a,3)),useMobilespec:p(ar(a,4))}};var D1b=function(a){r.call(this,a)};U(D1b,r);D1b.prototype.getMobile=function(){return Sj(this,z1b,1,E1b)};var E1b=[1,2];D1b.prototype.toObject=function(){return F1b(this)};var F1b=function(a){if(null!=a)return t(a),{mobile:A1b(a.getMobile()),mobileExp:C1b(Sj(a,B1b,2,E1b))}};var cB=function(a){r.call(this,a)};U(cB,r);cB.prototype.getFieldName=function(){return Us(this,3)};cB.prototype.setFieldName=function(a){xb(this,3,a,void 0,Ih)};cB.repeatedFields_=[3,6,4];cB.prototype.toObject=function(){return G1b(this)};var G1b=function(a){if(null!=a)return t(a),{streamzName:p(m(a,1)),hashedStreamzName:p(m(a,5)),rootSpec:F1b(Z(a,D1b,2)),fieldNameList:p(Ih(a,3)),hashedFieldNameList:p(rb(a,6,eb)),incList:Kb(aj(a,bB,4),y1b)}};var H1b=function(a){r.call(this,a)};U(H1b,r);H1b.prototype.getKey=function(){return V(this,1)};H1b.prototype.hasKey=function(){return wk(this,1)};H1b.prototype.toObject=function(){return I1b(this)};var I1b=function(a){if(null!=a)return t(a),{key:p(m(a,1))}};var J1b=function(a){r.call(this,a)};U(J1b,r);J1b.repeatedFields_=[1];J1b.prototype.toObject=function(){if(null!=this){t(this);var a={batchList:Kb(aj(this,cB,1),G1b),slicerMetadata:I1b(Z(this,H1b,2))}}else a=void 0;return a};var K1b=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 M1b=function(a,b,c){var d=String(ba.location.href);return d&&a&&b?[b,L1b(K1b(d),a,c||null)].join(" "):null},L1b=function(a,b,c){var d=[],e=[];if(1==(Array.isArray(c)?2:1))return e=[b,a],pa(d,function(l){e.push(l)}),N1b(e.join(" "));var g=[],h=[];pa(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];pa(d,function(l){e.push(l)});a=N1b(e.join(" "));a=[c,a];0==h.length||a.push(h.join(""));return a.join("_")},N1b=function(a){var b=
Epa();b.update(a);return b.digestString().toLowerCase()};var O1b={};var P1b=function(){this.document_=document||{cookie:""}};f=P1b.prototype;f.isEnabled=function(){if(!ba.navigator.cookieEnabled)return!1;if(!this.isEmpty())return!0;this.set("TESTCOOKIESENABLED","1",{maxAge:60});if("1"!==this.get("TESTCOOKIESENABLED"))return!1;this.remove("TESTCOOKIESENABLED");return!0};
f.set=function(a,b,c){var d=!1;if("object"===typeof c){var e=c.sameSite;d=c.secure||!1;var g=c.domain||void 0;var h=c.path||void 0;var 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=Vh(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 Q1b(this).keys};f.getValues=function(){return Q1b(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=Q1b(this).values,c=0;c<b.length;c++)if(b[c]==a)return!0;return!1};f.clear=function(){for(var a=Q1b(this).keys,b=a.length-1;0<=b;b--)this.remove(a[b])};
var Q1b=function(a){a=(a.document_.cookie||"").split(";");for(var b=[],c=[],d,e,g=0;g<a.length;g++)e=Vh(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 R1b=function(a){return!!O1b.FPA_SAMESITE_PHASE2_MOD||!(void 0===a||!a)},S1b=function(a,b,c,d){(a=ba[a])||"undefined"===typeof document||(a=(new P1b).get(b));return a?M1b(a,c,d):null},vo=function(a,b){b=void 0===b?!1:b;var c=K1b(String(ba.location.href)),d=[];var e=b;e=void 0===e?!1:e;var g=ba.__SAPISID||ba.__APISID||ba.__3PSAPISID||ba.__OVERRIDE_SID;R1b(e)&&(g=g||ba.__1PSAPISID);if(g)e=!0;else{if("undefined"!==typeof document){var h=new P1b;g=h.get("SAPISID")||h.get("APISID")||h.get("__Secure-3PAPISID")||
h.get("SID")||h.get("OSID");R1b(e)&&(g=g||h.get("__Secure-1PAPISID"))}e=!!g}e&&(e=(c=0==c.indexOf("https:")||0==c.indexOf("chrome-extension:")||0==c.indexOf("moz-extension:"))?ba.__SAPISID:ba.__APISID,e||"undefined"===typeof document||(e=new P1b,e=e.get(c?"SAPISID":"APISID")||e.get("__Secure-3PAPISID")),(e=e?M1b(e,c?"SAPISIDHASH":"APISIDHASH",a):null)&&d.push(e),c&&R1b(b)&&((b=S1b("__1PSAPISID","__Secure-1PAPISID","SAPISID1PHASH",a))&&d.push(b),(a=S1b("__3PSAPISID","__Secure-3PAPISID","SAPISID3PHASH",
a))&&d.push(a)));return 0==d.length?null:d.join(" ")};var dB=function(a){r.call(this,a)};U(dB,r);dB.repeatedFields_=[2];dB.prototype.toObject=function(){return T1b(this)};var T1b=function(a){if(null!=a)return t(a),{clearBlob:Pb(qo(a,1)),clearBlobJs:p(m(a,4)),encryptedBlobList:Pb(Is(a,2)),usersMatch:p(ar(a,3))}};var U1b=function(a){this.currBaseValue_=this.currValue_=this.initialValue_=a};U1b.prototype.reset=function(){this.currBaseValue_=this.currValue_=this.initialValue_};U1b.prototype.getValue=function(){return this.currValue_};var V1b=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,""))},W1b=function(a){try{return ba.JSON.parse(a)}catch(b){}a=String(a);if(V1b(a))try{return eval("("+a+")")}catch(b){}throw Error("Db`"+a);},Y1b=function(a,b){return(new X1b(b)).serialize(a)},X1b=function(a){this.replacer_=
a};X1b.prototype.serialize=function(a){var b=[];Z1b(this,a,b);return b.join("")};
var Z1b=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],Z1b(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),$1b(d,c),c.push(":"),Z1b(a,a.replacer_?a.replacer_.call(b,
d,e):e,c),g=","));c.push("}");return}}switch(typeof b){case "string":$1b(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);}}},a2b={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\u000b"},b2b=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g,$1b=function(a,b){b.push('"',a.replace(b2b,
function(c){var d=a2b[c];d||(d="\\u"+(c.charCodeAt(0)|65536).toString(16).slice(1),a2b[c]=d);return d}),'"')};var c2b=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 d2b=function(){};d2b.prototype.cachedOptions_=null;d2b.prototype.getOptions=function(){return this.cachedOptions_||(this.cachedOptions_=this.internalGetOptions())};var e2b,f2b=function(){};ts(f2b,d2b);f2b.prototype.createInstance=function(){var a=g2b(this);return a?new ActiveXObject(a):new XMLHttpRequest};f2b.prototype.internalGetOptions=function(){var a={};g2b(this)&&(a[0]=!0,a[1]=!0);return a};
var g2b=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_};e2b=new f2b;var h2b=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$"),i2b=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," ")):"")}}},j2b=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]},k2b=function(a,b,c){if(Array.isArray(b))for(var d=0;d<b.length;d++)k2b(a,String(b[d]),c);else null!=b&&c.push(a+(""===b?"":"="+encodeURIComponent(String(b))))},l2b=function(a,b){var c=[];for(b=b||0;b<a.length;b+=2)k2b(a[b],a[b+1],c);return c.join("&")},m2b=function(a){var b=[],c;for(c in a)k2b(c,a[c],b);return b.join("&")},eB=function(a,b){var c=2==arguments.length?l2b(arguments[1],0):l2b(arguments,
1);return j2b(a,c)},qwa=function(a,b){b=m2b(b);return j2b(a,b)},n2b=function(a,b,c){c=null!=c?"="+encodeURIComponent(String(c)):"";return j2b(a,b+c)},o2b=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},p2b=/#|$/,q2b=function(a,b){var c=a.search(p2b),d=o2b(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," "))},r2b=/[?&]($|#)/;var fB=function(a){yo.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};ts(fB,yo);
var s2b=/^https?$/i,t2b=["POST","PUT"],u2b=[],qh=function(a,b,c,d,e,g,h){var l=new fB;u2b.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};fB.prototype.cleanupSend_=function(){this.dispose();ra(u2b,this)};fB.prototype.setTrustToken=function(a){this.trustToken_=a};
fB.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():e2b.getOptions();this.xhr_.onreadystatechange=rs(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=ba.FormData&&a instanceof ba.FormData;!qa(t2b,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{v2b(this),0<this.timeoutInterval_&&((this.useXhr2Timeout_=w2b(this.xhr_))?(this.xhr_.timeout=
this.timeoutInterval_,this.xhr_.ontimeout=rs(this.timeout_,this)):this.timeoutId_=Wn(this.timeout_,this.timeoutInterval_,this)),this.inSend_=!0,this.xhr_.send(a),this.inSend_=!1}catch(h){this.error_(5,h)}};var w2b=function(a){return vs&&"number"===typeof a.timeout&&void 0!==a.ontimeout};fB.prototype.createXhr=function(){return this.xmlHttpFactory_?this.xmlHttpFactory_.createInstance():e2b.createInstance()};
fB.prototype.timeout_=function(){"undefined"!=typeof oIb&&this.xhr_&&(this.lastError_="Timed out after "+this.timeoutInterval_+"ms, aborting",this.lastErrorCode_=8,this.dispatchEvent("timeout"),this.abort(8))};fB.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;x2b(this);y2b(this)};var x2b=function(a){a.errorDispatched_||(a.errorDispatched_=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};
fB.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"),y2b(this))};fB.prototype.disposeInternal=function(){this.xhr_&&(this.active_&&(this.active_=!1,this.inAbort_=!0,this.xhr_.abort(),this.inAbort_=!1),y2b(this,!0));fB.superClass_.disposeInternal.call(this)};
fB.prototype.onReadyStateChange_=function(){if(!this.isDisposed())if(this.inOpen_||this.inSend_||this.inAbort_)z2b(this);else this.onReadyStateChangeEntryPoint_()};fB.prototype.onReadyStateChangeEntryPoint_=function(){z2b(this)};
var z2b=function(a){if(a.active_&&"undefined"!=typeof oIb&&(!a.xhrOptions_[1]||4!=a.getReadyState()||2!=a.getStatus()))if(a.inSend_&&4==a.getReadyState())Wn(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()+"]";x2b(a)}}finally{y2b(a)}}},y2b=function(a,
b){if(a.xhr_){v2b(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){}}},v2b=function(a){a.xhr_&&a.useXhr2Timeout_&&(a.xhr_.ontimeout=null);a.timeoutId_&&(Xn(a.timeoutId_),a.timeoutId_=null)};f=fB.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(h2b)[1]||null,!a&&ba.self&&ba.self.location&&(a=ba.self.location.protocol.slice(0,-1)),a=!s2b.test(a?a.toLowerCase():"");b=a}return b};f.getReadyState=function(){return this.xhr_?this.xhr_.readyState:0};f.getStatus=function(){try{return 2<this.getReadyState()?this.xhr_.status:-1}catch(a){return-1}};
f.getLastUri=function(){return String(this.lastUri_)};f.getResponseText=function(){try{return this.xhr_?this.xhr_.responseText:""}catch(a){return""}};f.getResponseJson=function(a){if(this.xhr_){var b=this.xhr_.responseText;a&&0==b.indexOf(a)&&(b=b.substring(a.length));a:{a=b;if(ba.JSON)try{var c=ba.JSON.parse(a);break a}catch(d){}c=W1b(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(!Bk(b[c])){var d=sRb(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 Oca(a,function(h){return h.join(", ")})};var sh=function(a,b){return a.xhr_?a.xhr_.getResponseHeader(b):null};fB.prototype.getLastErrorCode=function(){return this.lastErrorCode_};
fB.prototype.getLastError=function(){return"string"===typeof this.lastError_?this.lastError_:String(this.lastError_)};L_b(function(a){fB.prototype.onReadyStateChangeEntryPoint_=a(fB.prototype.onReadyStateChangeEntryPoint_)});var gB=function(a){r.call(this,a)};U(gB,r);gB.prototype.setTransmissionType=function(a){n(this,1,a)};gB.prototype.setRetryCount=function(a){n(this,3,a)};gB.prototype.toObject=function(){return A2b(this)};var A2b=function(a){if(null!=a)return t(a),{transmissionType:p(kr(a,1)),isFinal:p(ar(a,2)),retryCount:p(Os(a,3))}};var B2b=function(a){r.call(this,a)};U(B2b,r);f=B2b.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 dt(this,2)};f.toObject=function(){return C2b(this)};var C2b=function(a){if(null!=a)return t(a),{brand:p(m(a,1)),version:p(m(a,2))}};var hB=function(a){r.call(this,a)};U(hB,r);hB.prototype.getMobile=function(){return ar(this,2)};hB.repeatedFields_=[1];hB.prototype.toObject=function(){return D2b(this)};var D2b=function(a){if(null!=a)return t(a),{uaListList:Kb(aj(a,B2b,1),C2b),mobile:p(ar(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))}};var iB=function(a){r.call(this,a)};U(iB,r);f=iB.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 Ks(this,gB,10)};f.toObject=function(){return E2b(this)};
var E2b=function(a){if(null!=a)return t(a),{os:p(m(a,1)),osVersion:p(m(a,2)),deviceType:p(kr(a,3)),country:p(m(a,4)),locale:p(m(a,5)),osType:p(kr(a,6)),buildLabel:p(m(a,7)),continent:p(m(a,8)),clientHints:D2b(Z(a,hB,9)),flushInfo:A2b(Z(a,gB,10))}};var F2b=["platform","platformVersion","architecture","model","uaFullVersion"];new hB;var G2b=function(a){r.call(this,a)};U(G2b,r);G2b.prototype.toObject=function(){return H2b(this)};var H2b=function(a){if(null!=a)return t(a),{guestAngle:p(ar(a,1))}};var I2b=function(a){r.call(this,a)};U(I2b,r);I2b.prototype.toObject=function(){return J2b(this)};var J2b=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(kr(a,2)),graphicsCapabilities:H2b(Z(a,G2b,3)),battlestarMachineTier:p(kr(a,6)),hypervisorType:p(kr(a,7))}};var jB=function(a){r.call(this,a)};U(jB,r);jB.prototype.getClientType=function(){return kr(this,1)};jB.prototype.setClientType=function(a){return n(this,1,a)};jB.prototype.setBuildLabel=function(a){n(this,2,a)};jB.prototype.toObject=function(){return K2b(this)};var K2b=function(a){if(null!=a)return t(a),{clientType:p(kr(a,1)),buildLabel:p(m(a,2)),birdsongBuildLabel:p(m(a,3))}};var L2b=function(a){r.call(this,a)};U(L2b,r);L2b.prototype.getLocale=function(){return m(this,1)};L2b.prototype.setLocale=function(a){return n(this,1,a)};L2b.prototype.toObject=function(){return M2b(this)};var M2b=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))}};var N2b=function(a){r.call(this,a)};U(N2b,r);f=N2b.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 O2b(this)};
var O2b=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(Os(a,9))}};var P2b=function(a){r.call(this,a)};U(P2b,r);P2b.prototype.toObject=function(){return Q2b(this)};var Q2b=function(a){if(null!=a)return t(a),{buildVersion:p(m(a,1)),driveDesktopClientType:p(kr(a,2))}};var R2b=function(a){r.call(this,a)};U(R2b,r);R2b.prototype.toObject=function(){return S2b(this)};var S2b=function(a){if(null!=a)return t(a),{buildVersion:p(m(a,1)),g1DesktopClientType:p(kr(a,2))}};var T2b=function(a){r.call(this,a)};U(T2b,r);T2b.prototype.getLocale=function(){return m(this,11)};T2b.prototype.setLocale=function(a){return n(this,11,a)};T2b.prototype.toObject=function(){return U2b(this)};
var U2b=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(kr(a,8)),locale:p(m(a,11)),onDeviceAssistantEnabled:p(ar(a,12)),surfaceType:p(kr(a,13)),ontologicalSurfaceType:p(kr(a,19)),osType:p(kr(a,14)),optedInMetricsLogging:p(ar(a,15))}};var V2b=function(a){r.call(this,a)};U(V2b,r);V2b.prototype.getLocale=function(){return m(this,5)};V2b.prototype.setLocale=function(a){return n(this,5,a)};V2b.prototype.toObject=function(){return W2b(this)};var W2b=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))}};var X2b=function(a){r.call(this,a)};U(X2b,r);X2b.prototype.toObject=function(){return Y2b(this)};var Y2b=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(Os(a,6)),applicationBundleId:p(m(a,7))}};var Z2b=function(a){r.call(this,a)};U(Z2b,r);Z2b.prototype.getAppId=function(){return m(this,3)};Z2b.prototype.setAppId=function(a){n(this,3,a)};Z2b.prototype.toObject=function(){return $2b(this)};var $2b=function(a){if(null!=a)return t(a),{deviceId:p(m(a,1)),os:p(kr(a,2)),appId:p(m(a,3)),appVersion:p(m(a,4)),mccMnc:p(m(a,5))}};var a3b=function(a){r.call(this,a)};U(a3b,r);f=a3b.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 b3b(this)};var b3b=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))}};var c3b=function(a){r.call(this,a)};U(c3b,r);c3b.prototype.toObject=function(){return d3b(this)};var d3b=function(a){if(null!=a)return t(a),{usageType:p(kr(a,1))}};var e3b=function(a){r.call(this,a)};U(e3b,r);e3b.prototype.toObject=function(){return f3b(this)};var f3b=function(a){if(null!=a)return t(a),{isExtendedAdvertisingSupported:p(ar(a,1)),isPeripheralRoleSupported:p(ar(a,2)),isLowEnergySupported:p(ar(a,3)),isAdvertisementOffloadSupported:p(ar(a,4))}};var g3b=function(a){r.call(this,a)};U(g3b,r);g3b.prototype.toObject=function(){return h3b(this)};var h3b=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))}};var i3b=function(a){r.call(this,a)};U(i3b,r);i3b.repeatedFields_=[13,14];i3b.prototype.toObject=function(){return j3b(this)};
var j3b=function(a){if(null!=a)return t(a),{deviceType:p(kr(a,1)),deviceManufacturer:p(m(a,2)),deviceModel:p(m(a,3)),physicalMemory:p(m(a,4)),processorCount:p(Os(a,5)),logicalProcessorCount:p(Os(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:Kb(aj(a,g3b,13),h3b),networkDriverInfosList:Kb(aj(a,g3b,14),h3b),bleExtdAdvSupported:p(ar(a,15)),bluetoothInfo:f3b(Z(a,e3b,16)),usageType:p(kr(a,
17))}};var kB=function(a){r.call(this,a)};U(kB,r);kB.prototype.getBattlestarClientInfo=function(){return Sj(this,I2b,1,k3b)};kB.prototype.getDriveDesktopClientInfo=function(){return Sj(this,P2b,2,k3b)};kB.prototype.getG1DesktopClientInfo=function(){return Sj(this,R2b,3,k3b)};kB.prototype.getWindowsClientInfo=function(){return Sj(this,i3b,5,k3b)};var k3b=[1,2,3,4,5];kB.prototype.toObject=function(){return l3b(this)};
var l3b=function(a){if(null!=a)return t(a),{battlestarClientInfo:J2b(a.getBattlestarClientInfo()),driveDesktopClientInfo:Q2b(a.getDriveDesktopClientInfo()),g1DesktopClientInfo:S2b(a.getG1DesktopClientInfo()),nearbyClientInfo:d3b(Sj(a,c3b,4,k3b)),windowsClientInfo:j3b(a.getWindowsClientInfo())}};var m3b=function(a){r.call(this,a)};U(m3b,r);m3b.prototype.toObject=function(){return n3b(this)};var n3b=function(a){if(null!=a)return t(a),{machineClass:p(kr(a,1))}};var o3b=function(a){r.call(this,a)};U(o3b,r);o3b.prototype.toObject=function(){return p3b(this)};var p3b=function(a){if(null!=a)return t(a),{vrClientType:p(kr(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))}};var q3b=function(a){r.call(this,a)};U(q3b,r);f=q3b.prototype;f.setBuildLabel=function(a){n(this,1,a)};f.setEnvironment=function(a){return n(this,3,a)};f.getEnvironmentOrUndefined=function(){return dt(this,3)};f.getLocation=function(){return m(this,4)};f.toObject=function(){return r3b(this)};
var r3b=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))}};var lB=function(a){r.call(this,a)};U(lB,r);f=lB.prototype;f.getClientType=function(){return kr(this,1)};f.setClientType=function(a){return n(this,1,a)};f.getBattlestarClientInfo=function(){return Z(this,I2b,22)};f.getDriveDesktopClientInfo=function(){return Z(this,P2b,24)};f.getG1DesktopClientInfo=function(){return Z(this,R2b,25)};f.getMutableJsClientInfo=function(){return Ks(this,iB,11)};f.getWindowsClientInfo=function(){return Z(this,i3b,26)};f.toObject=function(){return s3b(this)};
var s3b=function(a){if(null!=a)return t(a),{clientType:p(kr(a,1)),remoteHost:p(m(a,6)),remoteHost6:p(m(a,7)),battlestarClientInfo:J2b(a.getBattlestarClientInfo()),birdsongClientInfo:K2b(Z(a,jB,14)),desktopClientInfo:O2b(Z(a,N2b,3)),driveDesktopClientInfo:Q2b(a.getDriveDesktopClientInfo()),g1DesktopClientInfo:S2b(a.getG1DesktopClientInfo()),googleHomeClientInfo:U2b(Z(a,T2b,16)),jsClientInfo:E2b(Z(a,iB,11)),kaiosClientInfo:W2b(Z(a,V2b,20)),macClientInfo:Y2b(Z(a,X2b,13)),pancettaClientInfo:$2b(Z(a,Z2b,
10)),playCeClientInfo:b3b(Z(a,a3b,5)),portablePhenotypeLibraryClientInfo:l3b(Z(a,kB,23)),sparklightClientInfo:n3b(Z(a,m3b,18)),vrClientInfo:p3b(Z(a,o3b,8)),windowsClientInfo:j3b(a.getWindowsClientInfo()),yetiClientInfo:r3b(Z(a,q3b,15)),browserInfo:M2b(Z(a,L2b,9)),heterodyneConfigVersion:p(m(a,12))}};rt[66321687]=Jb(66321687,{messageSetExtension:0},lB,s3b);var t3b=function(a){r.call(this,a)};U(t3b,r);t3b.repeatedFields_=[1,2,3,4,5];t3b.prototype.toObject=function(){return u3b(this)};var u3b=function(a){if(null!=a)return t(a),{clientAlteringExperimentList:p(Ih(a,1)),otherExperimentList:p(Ih(a,2)),gwsExperimentList:p(Fh(a,3)),playExperimentList:p(il(a,4)),unsupportedPlayExperimentList:p(il(a,5))}};var v3b=function(a){r.call(this,a)};U(v3b,r);f=v3b.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 dt(this,3)};f.toObject=function(){return w3b(this)};var w3b=function(a){if(null!=a)return t(a),{appType:p(Os(a,1)),androidPackageName:p(m(a,2)),version:p(m(a,3))}};var x3b=function(a){r.call(this,a)};U(x3b,r);f=x3b.prototype;f.getKey=function(){return m(this,1)};f.hasKey=function(){return wk(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 wk(this,2)};f.toObject=function(){return y3b(this)};var y3b=function(a){if(null!=a)return t(a),{key:p(m(a,1)),value:p(m(a,2))}};var z3b=function(a){r.call(this,a)};U(z3b,r);z3b.prototype.toObject=function(){return A3b(this)};var A3b=function(a){if(null!=a)return t(a),{networkType:W(a,1,-1),mobileSubtype:W(a,2,0)}};var mB=function(a){r.call(this,a,33)};U(mB,r);f=mB.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 wk(this,26)};f.getValueList=function(){return aj(this,x3b,3)};f.addValue=function(){return jo(this,3,x3b)};f.setValue=function(a,b){return Fs(this,3,x3b,a,b)};f.getStore=function(){return qo(this,4)};var B3b=function(a,b){return n(a,8,b)};
mB.prototype.getExperimentIds=function(){return Z(this,dB,16)};mB.prototype.setExperimentIds=function(a){Yi(this,dB,16,a)};var C3b=function(a,b){n(a,24,b)},D3b={};mB.repeatedFields_=[3,20,27];mB.prototype.toObject=function(){return E3b(this)};
var E3b=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(Os(a,11)),componentId:p(m(a,26)),eventFlowId:p(m(a,12)),isUserInitiated:p(ar(a,10)),valueList:Kb(a.getValueList(),y3b),store:Pb(a.getStore()),appUsage1p:w3b(Z(a,v3b,9)),sourceExtension:Pb(qo(a,6)),sourceExtensionJs:p(m(a,8)),sourceExtensionJson:p(m(a,13)),sourceExtensionJsonProto3:p(m(a,29)),exp:u3b(Z(a,t3b,7)),testId:p(m(a,14)),timezoneOffsetSeconds:gj(a,
15,18E4),experimentIds:T1b(a.getExperimentIds()),clientVe:Pb(qo(a,18)),clientVeJs:p(m(a,24)),internalEvent:p(kr(a,19)),testCodeList:p(Fh(a,20)),genericDimensionsList:p(Fh(a,27)),networkConnectionInfo:A3b(Z(a,z3b,23)),inDirectBootMode:p(ar(a,25)),zwiebackCookieOverride:p(m(a,28)),moduleAppliedSamplingRate:p(Gs(a,30)),clientAppliedSamplingRate:p(Gs(a,32))};Nb(a,b,D3b);return b}};var F3b=function(a){r.call(this,a)};U(F3b,r);F3b.prototype.toObject=function(){return G3b(this)};var G3b=function(a){if(null!=a)return t(a),{collectStartMs:p(m(a,3)),collectUntilMs:p(m(a,1)),skipPersistentLogStorage:p(ar(a,2))}};var H3b=function(a){r.call(this,a)};U(H3b,r);H3b.prototype.toObject=function(){return I3b(this)};var I3b=function(a){if(null!=a)return t(a),{isUnmetered:p(ar(a,1)),isCharging:p(ar(a,2)),autoTimeStatus:p(kr(a,3)),isGooglerDevice:p(ar(a,4))}};var J3b=function(a){r.call(this,a)};U(J3b,r);f=J3b.prototype;f.getSource=function(){return m(this,3)};f.setSource=function(a){return n(this,3,a)};f.hasSource=function(){return wk(this,3)};f.getSourceOrUndefined=function(){return dt(this,3)};f.toObject=function(){return K3b(this)};var K3b=function(a){if(null!=a)return t(a),{timeMs:p(m(a,1)),uptimeMs:p(m(a,2)),source:p(m(a,3))}};var L3b=function(a){r.call(this,a)};U(L3b,r);L3b.prototype.toObject=function(){return M3b(this)};var M3b=function(a){if(null!=a)return t(a),{originAssociatedProductId:p(Os(a,13))}};var N3b=function(a){r.call(this,a)};U(N3b,r);N3b.prototype.toObject=function(){return O3b(this)};var O3b=function(a){if(null!=a)return t(a),{prequest:M3b(Z(a,L3b,2))}};var P3b=function(a){r.call(this,a)};U(P3b,r);P3b.prototype.toObject=function(){return Q3b(this)};var Q3b=function(a){if(null!=a)return t(a),{privacyContext:O3b(Z(a,N3b,1)),productIdOrigin:W(a,2,0)}};var R3b=function(a){r.call(this,a,19)};U(R3b,r);f=R3b.prototype;f.getClientInfo=function(){return Z(this,lB,1)};f.getMutableClientInfo=function(){return Ks(this,lB,1)};f.setClientInfo=function(a){Yi(this,lB,1,a)};f.setLogSource=function(a){return n(this,2,a)};f.getQosTier=function(){return W(this,9,0)};var S3b={};R3b.repeatedFields_=[3,5];
R3b.prototype.toObject=function(){if(null!=this){t(this);var a={requestTimeMs:p(m(this,4)),requestUptimeMs:p(m(this,8)),clientInfo:s3b(this.getClientInfo()),logSource:W(this,2,-1),logSourceName:p(m(this,6)),zwiebackCookie:p(m(this,7)),logEventList:Kb(aj(this,mB,3),E3b),serializedLogEventsList:Pb(Is(this,5)),logEventDroppedCount:p(m(this,14)),qosTier:W(this,9,0),scheduler:p(kr(this,10)),deviceStatus:I3b(Z(this,H3b,11)),externalTimestamp:K3b(Z(this,J3b,12)),collectForDebug:G3b(Z(this,F3b,13)),appMobilespecId:p(Ps(this,
16)),complianceData:Q3b(Z(this,P3b,18))};Nb(this,a,S3b)}else a=void 0;return a};var nB=function(a){r.call(this,a)};U(nB,r);nB.prototype.getId=function(a){return Us(this,1,a)};nB.prototype.setId=function(a){return xb(this,1,a,void 0,Ih)};nB.repeatedFields_=[1];nB.prototype.toObject=function(){return T3b(this)};var T3b=function(a){if(null!=a)return t(a),{idList:p(Ih(a,1))}};var U3b=function(a){r.call(this,a)};U(U3b,r);U3b.prototype.toObject=function(){return V3b(this)};var V3b=function(a){if(null!=a)return t(a),{logRequestIndex:p(Os(a,1)),responseAction:p(kr(a,2))}};var W3b=function(a){r.call(this,a)};U(W3b,r);W3b.repeatedFields_=[1];W3b.prototype.toObject=function(){return X3b(this)};var X3b=function(a){if(null!=a)return t(a),{logSourceNameList:p(Ih(a,1))}};var Y3b=function(a){r.call(this,a)};U(Y3b,r);Y3b.prototype.getQosTier=function(){return kr(this,2)};Y3b.prototype.setLogSource=function(a){return n(this,3,a)};Y3b.prototype.toObject=function(){return Z3b(this)};var Z3b=function(a){if(null!=a)return t(a),{logSourceName:p(m(a,1)),qosTier:p(kr(a,2)),logSource:W(a,3,-1)}};var $3b=function(a){r.call(this,a)};U($3b,r);$3b.repeatedFields_=[1];$3b.prototype.toObject=function(){return a4b(this)};var a4b=function(a){if(null!=a)return t(a),{qosTierConfigurationList:Kb(aj(a,Y3b,1),Z3b),qosTierFingerprint:p(m(a,2))}};var oB=function(a){r.call(this,a,6)};U(oB,r);oB.prototype.getExperiments=function(){return Z(this,nB,2)};oB.prototype.setExperiments=function(a){Yi(this,nB,2,a)};oB.prototype.hasExperiments=function(){return Dj(this,nB,2)};oB.prototype.getQosTier=function(){return Z(this,$3b,3)};var b4b={};oB.repeatedFields_=[5];
oB.prototype.toObject=function(){if(null!=this){t(this);var a={nextRequestWaitMillis:yi(this,1,"-1"),experiments:T3b(this.getExperiments()),qosTier:a4b(this.getQosTier()),logSourceBatchingDenylist:X3b(Z(this,W3b,4)),logResponseDetailsList:Kb(aj(this,U3b,5),V3b)};Nb(this,a,b4b)}else a=void 0;return a};var c4b=function(a){r.call(this,a)};U(c4b,r);c4b.prototype.toObject=function(){return d4b(this)};var d4b=function(a){if(null!=a)return t(a),{suggestedFlushIntervalMillis:Gh(a,1,-1)}};var e4b=Jb(175237375,{jsExtension:0},c4b,d4b);b4b[175237375]=e4b;var qB=function(a,b,c,d,e,g,h,l,q,x,A){yo.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;yo.call(this);this.logSource=a;this.getAuthHeaderValue=b||function(){};this.logRequestBuilder=new pB(a,g);this.networkIOSend=d;this.network=A;this.bufferSize=1E3;this.uniformRandomFunction=ss(f0b,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<=naa("Chromium")||45<=naa("Firefox")||
12<=naa("Safari")||la()&&uaa())&&!!QA()&&!!QA().navigator&&!!QA().navigator.sendBeacon;a=(new lB).setClientType(1);this.logRequestBuilder.setClientInfo(a);this.flushBackoff=new U1b(1E4);this.flushTimer=new XA(this.flushBackoff.getValue());CA(this,this.flushTimer);x=f4b(this,x);zo(this.flushTimer,"tick",x,!1,this);this.backupTimer=new XA(6E5);CA(this,this.backupTimer);zo(this.backupTimer,"tick",x,!1,this);this.disableAutomaticFlush||this.backupTimer.start();this.isServiceWorkerScope||(zo(document,
"visibilitychange",function(){"hidden"===document.visibilityState&&B.finalFlush()}),zo(document,"pagehide",this.finalFlush,!1,this))};U(qB,yo);var f4b=function(a,b){return b?function(){b().then(function(){a.flush()})}:function(){a.flush()}};qB.prototype.disposeInternal=function(){this.finalFlush();yo.prototype.disposeInternal.call(this)};qB.prototype.setClearcutUrl=function(a){this.clearcutUrl=a};qB.prototype.setUseConsistentTimezoneOffset=function(a){this.useConsistentTimezoneOffset=a};
qB.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 rB=function(a,b){b instanceof mB?a.log(b):(b=B3b(new mB,b.serialize()),a.log(b))};f=qB.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 dB);KJb(this.experimentIds,2,a)};f.setClearExperimentIds=function(a){a?(this.experimentIds||(this.experimentIds=new dB),a=a.serialize(),n(this.experimentIds,4,a)):this.experimentIds&&Js(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;g4b(this,a)};var g4b=function(a,b){a.flushBackoff=new U1b(1>b?1:b);a.flushTimer.setInterval(a.flushBackoff.getValue())};
qB.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)}Ok(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 h4b(a));
this.disableAutomaticFlush||this.flushTimer.enabled||this.flushTimer.start()};
qB.prototype.flush=function(a,b){var c=this;if(0===this.pendingEvents.length)a&&a();else if(this.sendBeaconApiEnabled)this.logRequestBuilder.setTransmissionType(3),i4b(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=n2b(h,"authuser",this.sessionIndex));this.pageId&&(d["X-Goog-PageId"]=this.pageId,h=n2b(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 x={url:h,body:l,bodyType:1,requestHeaders:d,requestType:"POST",withCredentials:this.withCredentials,timeoutMillis:this.timeoutMillis},A=function(N){c.flushBackoff.reset();c.flushTimer.setInterval(c.flushBackoff.getValue());if(N){var P=null;try{var Y=JSON.parse(N.replace(")]}'\n",""));P=new oB(Y)}catch(X){}P&&(N=Number(yi(P,1,"-1")),0<N&&(c.startWaitingMs=Date.now(),c.noFlushUntilMs=c.startWaitingMs+N),P=P.getExtension(e4b))&&(P=Gh(P,1,-1),-1!==P&&(c.clientSpecifiedFlushInterval||
g4b(c,P)))}a&&a();c.numRetriesSinceLastSuccessfulFlush=0},B=function(N,P){var Y=aj(e,mB,3),X=c.flushBackoff;X.currBaseValue_=Math.min(3E5,2*X.currBaseValue_);X.currValue_=Math.min(3E5,X.currBaseValue_+Math.round(.2*(Math.random()-.5)*X.currBaseValue_));c.flushTimer.setInterval(c.flushBackoff.getValue());401===N&&g&&(c.lastFailedAuth=g);void 0===P&&(P=500<=N&&600>N||401===N||0===N);P&&(c.pendingEvents=Y.concat(c.pendingEvents),c.disableAutomaticFlush||c.flushTimer.enabled||c.flushTimer.start());b&&
b("net-send-failed",N);++c.numRetriesSinceLastSuccessfulFlush},K=function(){c.network?c.network.send(x,A,B):c.networkIOSend(x,A,B)};q?q.then(function(N){x.requestHeaders["Content-Encoding"]="gzip";x.requestHeaders["Content-Type"]="application/binary";x.body=N;x.bodyType=2;K()},function(){K()}):K()}}}};
qB.prototype.finalFlush=function(){this.clientSideLogOnlyForDevelopment||(j4b(this.logRequestBuilder,!0),this.useSendBeaconForFinalFlush&&(this.logRequestBuilder.setTransmissionType(3),i4b(this)),this.useGetRequestForFinalFlush&&(this.logRequestBuilder.setTransmissionType(2),k4b(this)),this.flush(),j4b(this.logRequestBuilder,!1))};
var i4b=function(a){l4b(a,32,10,function(b,c){b=n2b(b,"format","json");var d=!1;try{d=QA().navigator.sendBeacon(b,c.serialize())}catch(e){}a.sendBeaconApiEnabled&&!d&&(a.sendBeaconApiEnabled=!1);return d})},k4b=function(a){l4b(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=Kaa(d,3);b=eB(b,"format","base64json","p",c);if(15360<b.length)return!1;(new Image).src=b;return!0})},l4b=function(a,b,c,d){if(0!==a.pendingEvents.length){var e=
a.getClearcutUrl();for(var g=e.search(p2b),h=0,l,q=[];0<=(l=o2b(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(r2b,"$1");e=eB(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()}},h4b=function(){DA.call(this,"event-logged",void 0)};U(h4b,DA);var pB=function(a,b){this.isServiceWorkerScope=b=void 0===b?!1:b;this.uach=this.locale=null;this.logRequest=new R3b;this.logRequest.setLogSource(a);b||(this.locale=document.documentElement.getAttribute("lang"));this.setClientInfo(new lB)};
pB.prototype.setLogSource=function(a){this.logRequest.setLogSource(a);return this};pB.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(),Z(a,hB,9)||Yi(a,hB,9,this.uach))};pB.prototype.setBuildLabel=function(a){this.getMutableJsClientInfo().setBuildLabel(a)};
pB.prototype.setTransmissionType=function(a){Dj(this.getMutableClientInfo(),iB,11)&&this.getMutableFlushInfo().setTransmissionType(a)};var j4b=function(a,b){Dj(a.getMutableClientInfo(),iB,11)&&(a=a.getMutableFlushInfo(),Lj(a,2,b))};pB.prototype.setRetryCount=function(a){Dj(this.getMutableClientInfo(),iB,11)&&this.getMutableFlushInfo().setRetryCount(a)};pB.prototype.getMutableClientInfo=function(){return this.logRequest.getClientInfo()};
var m4b=function(a,b){var c=void 0===c?F2b:c;b(QA(),c).then(function(d){a.uach=d;d=a.getMutableJsClientInfo();Yi(d,hB,9,a.uach);return!0}).catch(function(){return!1})};pB.prototype.getMutableJsClientInfo=function(){var a=this.getMutableClientInfo(),b=Z(a,iB,11);b||(b=new iB,Yi(a,iB,11,b));return b};pB.prototype.getMutableFlushInfo=function(){var a=this.getMutableJsClientInfo(),b=Z(a,gB,10);b||(b=new gB,Lj(b,2,!1),Yi(a,gB,10,b));return b};
pB.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=dj(c,3,a);b&&n(a,14,b);return a};var n4b=function(a,b){BA.call(this);this.logSource=a;this.sessionIndex=b;this.destinationUrl_="https://play.google.com/log?format=json&hasfast=true";this.enableServiceWorkerScope_=!1;this.componentId_="";this.enableSendBeaconApi_=this.useGetRequestForFinalFlush_=this.useSendBeaconForFinalFlush_=!1;this.useConsistentTimezoneOffset=void 0;this.networkIOSend_=Fpa};U(n4b,BA);f=n4b.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 qB(this.logSource,this.getAuthHeaderValue_?this.getAuthHeaderValue_:vo,this.sessionIndex,this.networkIOSend_,this.destinationUrl_,this.enableServiceWorkerScope_,!1,this.disableWithCredentials_,void 0,void 0,this.network_?this.network_:void 0);CA(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_&&m4b(a.logRequestBuilder,this.userAgentClientHintsProvider_);this.useConsistentTimezoneOffset&&a.setUseConsistentTimezoneOffset(!0);return a};var o4b=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;BA.call(this);g?c=g:(a=(new n4b(a,"0")).setComponentId(b),CA(this,a),""!=c&&(a.destinationUrl_=c),d&&(a.enableServiceWorkerScope_=!0),e&&a.setBuildLabel(e),c=a.build());this.componentId_=b;this.transport_=c};U(o4b,BA);o4b.prototype.getComponentId=function(){return this.componentId_};
o4b.prototype.flush=function(a){a=a||[];if(a.length){for(var b=new J1b,c=[],d=0;d<a.length;d++){var e=a[d],g=e;var h=new cB;h=n(h,1,g.metricName_);for(var l=g,q=[],x=0;x<l.fields_.length;x++)q.push(l.fields_[x].field_name);h=Fi(h,3,q);l=[];q=[];x=k(g.cellMap_.keys());for(var A=x.next();!A.done;A=x.next())q.push(A.value.split(","));for(x=0;x<q.length;x++){A=q[x];var B=g.cellType_;for(var K=g.getCells(A)||[],N=[],P=0;P<K.length;P++){var Y=K[P];Y=Y&&Y.cellValue_;var X=new $A;switch(B){case 3:$n(X,1,
aB,Number(Y));break;case 2:$n(X,2,aB,Za(Number(Y)))}N.push(X)}B=N;for(K=0;K<B.length;K++){N=B[K];P=new bB;N=Yi(P,$A,2,N);P=A;Y=[];X=g;for(var ka=[],ma=0;ma<X.fields_.length;ma++)ka.push(X.fields_[ma].field_type);X=ka;for(ka=0;ka<X.length;ka++){ma=X[ka];var za=P[ka],Ba=new YA;switch(ma){case 3:$n(Ba,1,ZA,String(za));break;case 2:$n(Ba,2,ZA,Number(za));break;case 1:$n(Ba,3,ZA,ab("true"==za))}Y.push(Ba)}dj(N,1,Y);l.push(N)}}dj(h,4,l);c.push(h);e.clear()}dj(b,1,c);rB(this.transport_,b);this.transport_.flush()}};var p4b=new Rc("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(" ")}}),q4b=new Rc("STREAMZ_PRODUCT_IDENTIFIER"),r4b=new Rc("STREAMZ_ALLOWLIST_IDENTIFIER"),s4b=new Rc("one_developer_workflow.streamz_service",{providedIn:"root",factory:function(){return Ac(We).runOutsideAngular(function(){var a=new o4b(1503);a=new g1b(a);a.flushInterval=1E4;a.flushTimer.setInterval(1E4);
return a})}}),sB=function(a,b,c,d,e){this.streamzService=a;this.zone=b;this.oneDeveloperWorkflowUsageMetrics=new j1b(this.streamzService);new k1b(this.streamzService);new l1b(this.streamzService);new m1b(this.streamzService);this.productIdentifier=d||window.location.hostname;this.productionAllowlist=c.map(r1b);this.allowlistIdentifier=q1b(null!=e?e:this.productIdentifier)};
sB.prototype.logUsageMetric=function(a,b){var c=this;this.zone.runOutsideAngular(function(){t4b(c)&&c.oneDeveloperWorkflowUsageMetrics.increment(a,c.productIdentifier,b)})};var t4b=function(a){return a.productionAllowlist.some(function(b){return a.allowlistIdentifier===b})};sB.\u0275fac=function(a){return new (a||sB)(u(s4b),u(We),u(p4b),u(q4b,8),u(r4b,8))};sB.\u0275prov=qc({token:sB,factory:sB.\u0275fac,providedIn:"root"});var u4b=new Rc("Feature Tooltip Controller Config");new Rc("TooltipAnchor");new Rc("TooltipPeventer");var v4b=Kg("transformMenu",[Ng("void",Mg({opacity:0,transform:"scale(0.8)"})),Og("void => enter",Lg("120ms cubic-bezier(0, 0, 0.2, 1)",Mg({opacity:1,transform:"scale(1)"}))),Og("* => void",Lg("100ms 25ms linear",Mg({opacity:0})))]),w4b=Kg("fadeInItems",[Ng("showing",Mg({opacity:1})),Og("void => *",[Mg({opacity:0}),Lg("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])]);var x4b=new Rc("MatMenuContent"),tB=function(a,b,c,d,e,g,h){this._template=a;this._componentFactoryResolver=b;this._appRef=c;this._injector=d;this._viewContainerRef=e;this._document=g;this._changeDetectorRef=h;this._attached=new E.Subject};
tB.prototype.attach=function(a){a=void 0===a?{}:a;this._portal||(this._portal=new nx(this._template,this._viewContainerRef));this.detach();this._outlet||(this._outlet=new px(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()};
tB.prototype.detach=function(){this._portal.isAttached&&this._portal.detach()};tB.prototype.ngOnDestroy=function(){this._outlet&&this._outlet.dispose()};tB.\u0275fac=function(a){return new (a||tB)(C(Qf),C(cv),C(Wv),C(bv),C(Rf),C(fh),C(Yv))};tB.\u0275dir=Kc({type:tB});var y4b=new Rc("MAT_MENU_PANEL");var z4b=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],A4b=jh(kh(function(){})),uB=function(a,b,c,d,e){var g=A4b.call(this)||this;g._elementRef=a;g._document=b;g._focusMonitor=c;g._parentMenu=d;g._changeDetectorRef=e;g.role="menuitem";g._hovered=new E.Subject;g._focused=new E.Subject;g._highlighted=!1;g._triggersSubmenu=!1;var h;null==d||null==(h=d.addItem)||h.call(d,g);return g};U(uB,A4b);f=uB.prototype;
f.focus=function(a,b){this._focusMonitor&&a?jx(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()};uB.\u0275fac=function(a){return new (a||uB)(C(vd),C(fh),C(ix),C(y4b,8),C(Yv))};
uB.\u0275cmp=Gc({type:uB,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&&M("click",function(c){return b._checkDisabled(c)})("mouseenter",function(){return b._handleMouseEnter()});a&2&&(gf("role",b.role)("tabindex",b._getTabIndex())("aria-disabled",b.disabled)("disabled",b.disabled||null),qf("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:[bf],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&&(xf(z4b),yf(0),G(1,"span",0),yf(2,1),H(),I(3,"div",1),Q(4,Gpa,2,0,"svg",2));a&2&&(z(3),F("matRippleDisabled",b.disableRipple||b.disabled)("matRippleTrigger",b._getHostElement()),z(1),F("ngIf",b._triggersSubmenu))},dependencies:[ew,kz],encapsulation:2,changeDetection:0});var B4b=0,C4b=new Rc("mat-menu-default-options",{providedIn:"root",factory:Ipa}),vB=function(a,b,c,d){this._elementRef=a;this._ngZone=b;this._changeDetectorRef=d;this._directDescendantItems=new Xf;this._classList={};this._panelAnimationState="void";this._animationDone=new E.Subject;this.close=this.closed=new Gv;this.panelId="mat-menu-panel-"+B4b++;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=vB.prototype;f.ngOnInit=function(){this.setPositionClasses()};
f.ngAfterContentInit=function(){var a=this;this._updateDirectDescendants();this._keyManager=yy(OXb(vy(new By(this._directDescendantItems))));this._keyManager.tabOut.subscribe(function(){return a.closed.emit("tab")});this._directDescendantItems.changes.pipe(Re(this._directDescendantItems),Se(function(b){return E.merge.apply(null,Vc(b.map(function(c){return c._focused})))})).subscribe(function(b){return zy(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(Re(this._directDescendantItems),Se(function(a){return E.merge.apply(null,Vc(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:Bg(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||RXb(c,"keyboard");c.onKeydown(a);return}a.stopPropagation()};
var D4b=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;RXb(e,b)._setActiveItemByIndex(0,1);!e.activeItem&&d&&d.focus()}})};f=vB.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(Re(this._allItems)).subscribe(function(b){a._directDescendantItems.reset(b.filter(function(c){return c._parentMenu===a}));Sf(a._directDescendantItems)})};
hh.Object.defineProperties(vB.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=xg(a)}},hasBackdrop:{configurable:!0,enumerable:!0,
get:function(){return this._hasBackdrop},set:function(a){this._hasBackdrop=xg(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}}});
vB.\u0275fac=function(a){return new (a||vB)(C(vd),C(We),C(C4b),C(Yv))};
vB.\u0275dir=Kc({type:vB,contentQueries:function(a,b,c){a&1&&(Vf(c,x4b,5),Vf(c,uB,5),Vf(c,uB,4));if(a&2){var d;Tf(d=Wf())&&(b.lazyContent=d.first);Tf(d=Wf())&&(b._allItems=d);Tf(d=Wf())&&(b.items=d)}},viewQuery:function(a,b){a&1&&Uf(Qf,5);if(a&2){var c;Tf(c=Wf())&&(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 wB=function(a,b,c,d){vB.call(this,a,b,c,d);this._elevationPrefix="mat-elevation-z";this._baseElevation=8};U(wB,vB);wB.\u0275dir=vB.\u0275dir;wB.\u0275fac=function(a){return new (a||wB)(C(vd),C(We),C(C4b),C(Yv))};
wB.\u0275cmp=Gc({type:wB,selectors:[["mat-menu"]],hostAttrs:["ngSkipHydration",""],hostVars:3,hostBindings:function(a){a&2&&gf("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[Gf([{provide:y4b,useExisting:wB}]),bf],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&&(xf(),Q(0,Hpa,3,6,"ng-template"))},dependencies:[cw],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:[v4b,w4b]},changeDetection:0});var E4b=new Rc("mat-menu-scroll-strategy"),F4b={provide:E4b,deps:[$y],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}},G4b=sg({passive:!0}),xB=function(a,b,c,d,e,g,h,l,q){var x=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=E.Subscription.EMPTY;this._changeDetectorRef=
Ac(Yv);this._handleTouchStart=function(A){Vma(A)||(x._openedBy="touch")};this._openedBy=void 0;this.restoreFocus=!0;this.onMenuOpen=this.menuOpened=new Gv;this.onMenuClose=this.menuClosed=new Gv;this._scrollStrategy=d;this._parentMaterialMenu=e instanceof vB?e:void 0;b.nativeElement.addEventListener("touchstart",this._handleTouchStart,G4b)};xB.prototype.ngAfterContentInit=function(){this._handleHover()};
xB.prototype.ngOnDestroy=function(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null);this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,G4b);this._menuCloseSubscription.unsubscribe();this._closingActionsSubscription.unsubscribe();this._hoverSubscription.unsubscribe()};var yB=function(a){return!!(a._menuItemInstance&&a._parentMaterialMenu&&a.menu)};f=xB.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?!yB(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 vB&&(b._startAnimation(),b._directDescendantItems.changes.pipe(Te(b.close)).subscribe(function(){jYb(nYb(e,
!1));nYb(e,!0)}))}};f.closeMenu=function(){var a;null==(a=this.menu)||a.close.emit()};f.focus=function(a,b){this._focusMonitor&&a?jx(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&&yB(this)||this.focus(this._openedBy);this._openedBy=void 0;if(c instanceof vB)c._resetAnimation(),c.lazyContent?c._animationDone.pipe(ye(function(e){return"void"===e.toState}),Ge(),Te(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=yB(this)?this._parentMaterialMenu:void 0;a.direction=this.dir;this._setMenuElevation(a);D4b(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(),yB(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 Sy({positionStrategy:oYb(lYb(nYb(Zy(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]),x=q.next().value;q=q.next().value;var A=0;yB(this)?(q=d="before"===a.xPosition?"start":"end",c=x="end"===d?"start":"end",this._parentMaterialMenu&&(null==this._parentInnerPadding&&(this._parentInnerPadding=(a=this._parentMaterialMenu.items.first)?
a._getHostElement().offsetTop:0),A="bottom"===g?this._parentInnerPadding:-this._parentInnerPadding)):a.overlapTrigger||(l="top"===g?"bottom":"top",h="top"===e?"bottom":"top");Vy(b,[{originX:d,originY:l,overlayX:x,overlayY:g,offsetY:A},{originX:c,originY:l,overlayX:q,overlayY:g,offsetY:A},{originX:d,originY:h,overlayX:x,overlayY:e,offsetY:-A},{originX:c,originY:h,overlayX:q,overlayY:e,offsetY:-A}])};
f._menuClosingActions=function(){var a=this,b=this._overlayRef.backdropClick(),c=this._overlayRef._detachments,d=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,E.of)(),e=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(ye(function(g){return g!==a._menuItemInstance}),ye(function(){return a._menuOpen})):(0,E.of)();return(0,E.merge)(b,d,e,c)};f._handleMousedown=function(a){Uma(a)||(this._openedBy=0===a.button?"mouse":void 0,yB(this)&&a.preventDefault())};
f._handleKeydown=function(a){a=a.keyCode;if(13===a||32===a)this._openedBy="keyboard";yB(this)&&(39===a&&"ltr"===this.dir||37===a&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())};f._handleClick=function(a){yB(this)?(a.stopPropagation(),this.openMenu()):this._menuOpen?this.closeMenu():this.openMenu()};
f._handleHover=function(){var a=this;yB(this)&&this._parentMaterialMenu&&(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(ye(function(b){return b===a._menuItemInstance&&!b.disabled}),Ee(0,E.asapScheduler)).subscribe(function(){a._openedBy="mouse";a.menu instanceof vB&&a.menu._isAnimating?a.menu._animationDone.pipe(Ge(),Ee(0,E.asapScheduler),Te(a._parentMaterialMenu._hovered())).subscribe(function(){return a.openMenu()}):a.openMenu()}))};
f._getPortal=function(a){this._portal&&this._portal.templateRef===a.templateRef||(this._portal=new nx(a.templateRef,this._viewContainerRef));return this._portal};
hh.Object.defineProperties(xB.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(yB(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"}}});xB.\u0275fac=function(a){return new (a||xB)(C($y),C(vd),C(Rf),C(E4b),C(y4b,8),C(uB,10),C(Cy,8),C(ix),C(We))};
xB.\u0275dir=Kc({type:xB,hostVars:3,hostBindings:function(a,b){a&1&&M("click",function(c){return b._handleClick(c)})("mousedown",function(c){return b._handleMousedown(c)})("keydown",function(c){return b._handleKeydown(c)});a&2&&gf("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 zB=function(){xB.apply(this,arguments)};U(zB,xB);zB.\u0275fac=function(){var a;return function(b){return(a||(a=td(zB)))(b||zB)}}();zB.\u0275dir=Kc({type:zB,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],exportAs:["matMenuTrigger"],features:[bf]});var AB=function(){tB.apply(this,arguments)};U(AB,tB);AB.\u0275fac=function(){var a;return function(b){return(a||(a=td(AB)))(b||AB)}}();AB.\u0275dir=Kc({type:AB,selectors:[["ng-template","matMenuContent",""]],features:[Gf([{provide:x4b,useExisting:AB}]),bf]});var BB=function(){return uB.apply(this,arguments)||this};U(BB,uB);BB.\u0275fac=function(){var a;return function(b){return(a||(a=td(BB)))(b||BB)}}();
BB.\u0275cmp=Gc({type:BB,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:20,hostBindings:function(a,b){a&2&&(gf("role",b.role)("tabindex",b._getTabIndex())("aria-disabled",b.disabled.toString())("disabled",b.disabled||null),qf("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:[Gf([{provide:uB,useExisting:BB}]),bf],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&&(xf(),yf(0),I(1,"div",0),Q(2,Jpa,2,0,"svg",1));a&2&&(z(1),F("matRippleDisabled",b.disableRipple||b.disabled)("matRippleTrigger",b._getHostElement()),z(1),F("ngIf",b._triggersSubmenu))},dependencies:[ew,kz],encapsulation:2,changeDetection:0});var CB=function(){xB.apply(this,arguments)};U(CB,xB);CB.\u0275fac=function(){var a;return function(b){return(a||(a=td(CB)))(b||CB)}}();CB.\u0275dir=Kc({type:CB,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[bf]});var DB=function(a,b,c,d){vB.call(this,a,b,c,d);this._elevationPrefix="mat-elevation-z";this._baseElevation=4};U(DB,vB);DB.\u0275dir=vB.\u0275dir;DB.\u0275fac=function(a){return new (a||DB)(C(vd),C(We),C(C4b),C(Yv))};
DB.\u0275cmp=Gc({type:DB,selectors:[["mat-menu"]],hostAttrs:["ngSkipHydration",""],hostVars:3,hostBindings:function(a){a&2&&gf("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[Gf([{provide:y4b,useExisting:DB}]),bf],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&&(xf(),Q(0,Kpa,3,6,"ng-template"))},dependencies:[cw],
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:[v4b,w4b]},changeDetection:0});var EB=function(){};EB.\u0275fac=function(a){return new (a||EB)};EB.\u0275mod=Ic({type:EB});EB.\u0275inj=rc({providers:[F4b],imports:[sw,dz,nz,cz,Py,dz]});var H4b=["tooltip"],I4b=new Rc("mat-tooltip-scroll-strategy"),J4b={provide:I4b,deps:[$y],useFactory:function(a){return function(){return a.scrollStrategies.reposition({scrollThrottle:20})}}},K4b=new Rc("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),L4b=sg({passive:!0}),FB=function(a,b,c,d,e,g,h,l,q,x,A,B){var K=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=x;this._defaultOptions=A;this._position="below";this._pointerExitEventsInitialized=this._viewInitialized=this._disabled=this._positionAtOrigin=!1;this._viewportMargin=8;this._cssClassPrefix="mat";this.touchGestures="auto";this._message="";this._passiveListeners=[];this._destroyed=new E.Subject;this._scrollStrategy=q;this._document=B;A&&(this._showDelay=A.showDelay,this._hideDelay=A.hideDelay,A.position&&(this.position=A.position),A.positionAtOrigin&&
(this.positionAtOrigin=A.positionAtOrigin),A.touchGestures&&(this.touchGestures=A.touchGestures));x.change.pipe(Te(this._destroyed)).subscribe(function(){K._overlayRef&&K._updatePosition(K._overlayRef)})};f=FB.prototype;f.ngAfterViewInit=function(){var a=this;this._viewInitialized=!0;this._setupPointerEnterEventsIfNeeded();this._focusMonitor.monitor(this._elementRef).pipe(Te(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,L4b)});this._passiveListeners.length=0;this._destroyed.next();this._destroyed.complete();IXb(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 mx(this._tooltipComponent,this._viewContainerRef),b=this._tooltipInstance=b.attach(this._portal).instance,b._triggerElement=this._elementRef.nativeElement,b._mouseLeaveHideDelay=this._hideDelay,b._onHide.pipe(Te(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 vd)return this._overlayRef;this._detach()}c=aYb(this._scrollDispatcher,this._elementRef);a=kYb(Wy(Xy(oYb(Zy(this._overlay.position(),this.positionAtOrigin?a||this._elementRef:this._elementRef),"."+this._cssClassPrefix+"-tooltip"),!1),this._viewportMargin),c);a.positionChanges.pipe(Te(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(Te(this._destroyed)).subscribe(function(){return b._detach()});this._overlayRef.outsidePointerEvents().pipe(Te(this._destroyed)).subscribe(function(){var e;
return null==(e=b._tooltipInstance)?void 0:e._handleBodyInteraction()});this._overlayRef.keydownEvents().pipe(Te(this._destroyed)).subscribe(function(e){b._isTooltipVisible()&&27===e.keyCode&&!Bg(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();Vy(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(),Te(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,Vc(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,L4b)})};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"}};
hh.Object.defineProperties(FB.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=xg(a);this._detach();this._overlayRef=null}},disabled:{configurable:!0,
enumerable:!0,get:function(){return this._disabled},set:function(a){(this._disabled=xg(a))?this.hide(0):this._setupPointerEnterEventsIfNeeded()}},showDelay:{configurable:!0,enumerable:!0,get:function(){return this._showDelay},set:function(a){this._showDelay=Ag(a)}},hideDelay:{configurable:!0,enumerable:!0,get:function(){return this._hideDelay},set:function(a){this._hideDelay=Ag(a);this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}},message:{configurable:!0,enumerable:!0,
get:function(){return this._message},set:function(a){var b=this;IXb(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)}}});FB.\u0275fac=function(){zd()};
FB.\u0275dir=Kc({type:FB,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 HB=function(a,b,c,d,e,g,h,l,q,x,A,B){FB.call(this,a,b,c,d,e,g,h,l,q,x,A,B);this._tooltipComponent=GB;this._cssClassPrefix="mat-mdc";this._viewportMargin=8};U(HB,FB);HB.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};
HB.\u0275fac=function(a){return new (a||HB)(C($y),C(vd),C(Iy),C(Rf),C(We),C(bx),C(qy),C(ix),C(I4b),C(Cy,8),C(K4b,8),C(fh))};HB.\u0275dir=Kc({type:HB,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(a,b){a&2&&qf("mat-mdc-tooltip-disabled",b.disabled)},exportAs:["matTooltip"],features:[bf]});
var IB=function(a,b){this._changeDetectorRef=a;this._isVisible=this._closeOnInteraction=!1;this._onHide=new E.Subject;this._animationsDisabled="NoopAnimations"===b};f=IB.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))};
IB.\u0275fac=function(a){return new (a||IB)(C(Yv),C(ev,8))};IB.\u0275dir=Kc({type:IB});var GB=function(a,b,c){IB.call(this,a,c);this._elementRef=b;this._isMultiline=!1;this._showAnimation="mat-mdc-tooltip-show";this._hideAnimation="mat-mdc-tooltip-hide"};U(GB,IB);GB.\u0275dir=IB.\u0275dir;GB.prototype._onShow=function(){this._isMultiline=this._isTooltipMultiline();this._markForCheck()};
GB.prototype._isTooltipMultiline=function(){var a=this._elementRef.nativeElement.getBoundingClientRect();return 24<a.height&&200<=a.width};GB.\u0275fac=function(a){return new (a||GB)(C(Yv),C(vd),C(ev,8))};
GB.\u0275cmp=Gc({type:GB,selectors:[["mat-tooltip-component"]],viewQuery:function(a,b){a&1&&Uf(H4b,7);if(a&2){var c;Tf(c=Wf())&&(b._tooltip=c.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(a,b){a&1&&M("mouseleave",function(c){return b._handleMouseLeave(c)});a&2&&pf("zoom",b.isVisible()?1:null)},features:[bf],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&&(G(0,"div",0,1),M("animationend",function(c){return b._handleAnimationEnd(c)}),G(2,"div",2),R(3),H()());a&2&&(qf("mdc-tooltip--multiline",b._isMultiline),F("ngClass",b.tooltipClass),z(3),Ef(b.message))},dependencies:[cw],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 JB=function(){};JB.\u0275fac=function(a){return new (a||JB)};JB.\u0275mod=Ic({type:JB});JB.\u0275inj=rc({providers:[J4b],imports:[py,sw,cz,dz,dz,Py]});/*

 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 M4b=["tooltip"],LB=function(a,b,c,d,e,g,h,l,q,x,A,B){FB.call(this,a,b,c,d,e,g,h,l,q,x,A,B);this._tooltipComponent=KB};U(LB,FB);LB.\u0275fac=function(a){return new (a||LB)(C($y),C(vd),C(Iy),C(Rf),C(We),C(bx),C(qy),C(ix),C(I4b),C(Cy,8),C(K4b,8),C(fh))};LB.\u0275dir=Kc({type:LB,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],hostVars:2,hostBindings:function(a,b){a&2&&qf("mat-tooltip-disabled",b.disabled)},exportAs:["matTooltip"],features:[bf]});
var KB=function(a,b,c){IB.call(this,a,c);this._showAnimation="mat-tooltip-show";this._hideAnimation="mat-tooltip-hide";this._isHandset=b.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)")};U(KB,IB);KB.\u0275dir=IB.\u0275dir;KB.\u0275fac=function(a){return new (a||KB)(C(Yv),C(iy),C(ev,8))};
KB.\u0275cmp=Gc({type:KB,selectors:[["mat-tooltip-component"]],viewQuery:function(a,b){a&1&&Uf(M4b,7);if(a&2){var c;Tf(c=Wf())&&(b._tooltip=c.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(a,b){a&1&&M("mouseleave",function(c){return b._handleMouseLeave(c)});a&2&&pf("zoom",b.isVisible()?1:null)},features:[bf],decls:4,vars:6,consts:[[1,"mat-tooltip",3,"ngClass","animationend"],["tooltip",""]],template:function(a,b){a&1&&(G(0,"div",0,1),M("animationend",function(d){return b._handleAnimationEnd(d)}),
S(2,"async"),R(3),H());if(a&2){var c;qf("mat-tooltip-handset",null==(c=T(2,4,b._isHandset))?null:c.matches);F("ngClass",b.tooltipClass);z(3);Ef(b.message)}},dependencies:[cw,kw],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 MB=function(){};MB.\u0275fac=function(a){return new (a||MB)};MB.\u0275mod=Ic({type:MB});MB.\u0275inj=rc({imports:[dz,dz]});var N4b=new Rc("g3cWidgetTaskManagementServicePromiseClient"),O4b=new Rc("g3cWidgetUserPrefsServicePromiseClient"),P4b=new Rc("g3cWidgetServiceConfig");var Ah=function(a){r.call(this,a)};U(Ah,r);f=Ah.prototype;f.getYear=function(){return Gh(this,1)};f.setYear=function(a){return Bb(this,1,a)};f.getMonth=function(){return Gh(this,2)};f.setMonth=function(a){return Bb(this,2,a)};f.getDay=function(){return Gh(this,3)};f.setDay=function(a){Bb(this,3,a)};f.toObject=function(){return NB(this)};var NB=function(a){if(null!=a)return t(a),{year:Gh(a,1),month:Gh(a,2),day:Gh(a,3)}};var Q4b=function(a){r.call(this,a)};U(Q4b,r);Q4b.prototype.getDueDate=function(){return Sj(this,Ah,1,R4b)};var R4b=[1,2];Q4b.prototype.toObject=function(){return S4b(this)};var S4b=function(a){if(null!=a)return t(a),{dueDate:NB(a.getDueDate()),dueTimeMs:p($s(a,2,R4b)),dueType:W(a,3,0)}};var T4b=function(a){r.call(this,a)};U(T4b,r);T4b.prototype.toObject=function(){return U4b(this)};var U4b=function(a){if(null!=a)return t(a),{taskStatus:W(a,1,0)}};var bp=function(a){r.call(this,a)};U(bp,r);bp.prototype.getLabel=function(){return V(this,1)};bp.prototype.setLabel=function(a){return mj(this,1,a)};bp.prototype.getApprovalStatus=function(){return W(this,2,0)};bp.prototype.getOwnersList=function(){return Ih(this,3)};bp.repeatedFields_=[3];bp.prototype.toObject=function(){return V4b(this)};var V4b=function(a){if(null!=a)return t(a),{label:V(a,1),approvalStatus:W(a,2,0),ownersList:p(Ih(a,3))}};var W4b=function(a){r.call(this,a)};U(W4b,r);f=W4b.prototype;f.getId=function(){return gj(this,1)};f.setId=function(a){return Cb(this,1,a)};f.getLabel=function(){return V(this,2)};f.setLabel=function(a){return mj(this,2,a)};f.toObject=function(){return X4b(this)};var X4b=function(a){if(null!=a)return t(a),{id:gj(a,1),label:V(a,2)}};var Y4b=function(a){r.call(this,a)};U(Y4b,r);f=Y4b.prototype;f.getId=function(){return gj(this,2)};f.setId=function(a){return Cb(this,2,a)};f.getLabel=function(){return V(this,3)};f.setLabel=function(a){return mj(this,3,a)};f.toObject=function(){return Z4b(this)};var Z4b=function(a){if(null!=a)return t(a),{deprecated:Jj(a,1),id:gj(a,2),label:V(a,3),helpText:V(a,4)}};var $4b=function(a){r.call(this,a)};U($4b,r);$4b.prototype.toObject=function(){return a5b(this)};var a5b=function(a){if(null!=a)return t(a),{selectOptionId:gj(a,1),fdlcPhase:W(a,2,0)}};var b5b=function(a){r.call(this,a)};U(b5b,r);b5b.repeatedFields_=[1];b5b.prototype.toObject=function(){return c5b(this)};var c5b=function(a){if(null!=a)return t(a),{fdlcMapList:Kb(aj(a,$4b,1),a5b)}};var d5b=function(a){r.call(this,a)};U(d5b,r);f=d5b.prototype;f.getId=function(){return NJb(this,1)};f.setId=function(a){Wa(this);null!=a&&0!==+a?pb(this,1,a):ub(this,1);return this};f.getLabel=function(){return V(this,2)};f.setLabel=function(a){return mj(this,2,a)};f.getTeamId=function(){return Rs(this,3)};f.setTeamId=function(a){return vb(this,3,a,0)};f.toObject=function(){return e5b(this)};var e5b=function(a){if(null!=a)return t(a),{id:NJb(a,1),label:V(a,2),teamId:Rs(a,3)}};var f5b=function(a){r.call(this,a)};U(f5b,r);f=f5b.prototype;f.getId=function(){return gj(this,1)};f.setId=function(a){return Cb(this,1,a)};f.getLabel=function(){return V(this,2)};f.setLabel=function(a){return mj(this,2,a)};f.getType=function(){return W(this,3,0)};f.setType=function(a){return Pi(this,3,a)};f.getOwner=function(){return Jj(this,9)};f.setOwner=function(a){return Ab(this,9,a)};f.getOptionsList=function(){return aj(this,Y4b,16)};f.setOptionsList=function(a){return dj(this,16,a)};
f.setOptions=function(a){Fs(this,16,Y4b,a)};f5b.repeatedFields_=[16];var g5b=[5,6],h5b=[20];f5b.prototype.toObject=function(){return i5b(this)};
var i5b=function(a){if(null!=a)return t(a),{id:gj(a,1),label:V(a,2),type:W(a,3,0),helpText:V(a,4),productArea:e5b(Sj(a,d5b,5,g5b)),approverDefinition:X4b(Sj(a,W4b,6,g5b)),doNotCopy:Jj(a,7),pdaRelated:Jj(a,8),owner:Jj(a,9),mcrRelated:Jj(a,10),eventsRelated:Jj(a,11),brandingRelated:Jj(a,12),securityRelated:Jj(a,13),marketingPdaRelated:Jj(a,14),alwaysEditable:Jj(a,15),onlyConfigurableByAdmins:Jj(a,17),isConfigurationAttribute:Jj(a,18),emptySetNotValid:Jj(a,19),optionsList:Kb(a.getOptionsList(),Z4b),
singleSelectMetadata:c5b(Sj(a,b5b,20,h5b))}};var OB=function(a){r.call(this,a)};U(OB,r);OB.prototype.getTypeName=function(){return V(this,1).split("/").pop()};OB.prototype.getValue=function(){var a=m(this,2);if(Array.isArray(a)||a instanceof r)throw Error("X");return Gj(this,2)};OB.prototype.setValue=function(a){if(null==a)a=this;else if(Array.isArray(a))a=n(this,2,kca(a));else if("string"===typeof a||a instanceof Ca||ya(a))a=LJb(this,2,a);else throw Error("Y`"+a);return a};OB.prototype.toObject=function(){return j5b(this)};
var j5b=function(a){if(null!=a)return t(a),{typeUrl:V(a,1),value:Lca(a)}};var PB=function(a){r.call(this,a)};U(PB,r);PB.prototype.getValue=function(){return Z(this,OB,2)};PB.prototype.setValue=function(a){return Yi(this,OB,2,a)};PB.prototype.hasValue=function(){return Dj(this,OB,2)};PB.prototype.toObject=function(){return k5b(this)};var k5b=function(a){if(null!=a)return t(a),{definition:i5b(Z(a,f5b,1)),value:j5b(a.getValue())}};var QB=function(a){r.call(this,a)};U(QB,r);QB.prototype.getYear=function(){return Gh(this,1)};QB.prototype.setYear=function(a){return Bb(this,1,a)};QB.prototype.getNumber=function(){return Gh(this,2)};QB.prototype.toObject=function(){return l5b(this)};var l5b=function(a){if(null!=a)return t(a),{year:Gh(a,1),number:Gh(a,2)}};var $Va=function(a){r.call(this,a)};U($Va,r);var aWa=[1,2,3];$Va.prototype.toObject=function(){return m5b(this)};var m5b=function(a){if(null!=a)return t(a),{specificDate:NB(Sj(a,Ah,1,aWa)),quarter:l5b(Sj(a,QB,2,aWa)),toBeDetermined:p(Ys(a,3,aWa))}};var RB=function(a){r.call(this,a)};U(RB,r);f=RB.prototype;f.getDescription=function(){return V(this,1)};f.setDescription=function(a){return mj(this,1,a)};f.getStatus=function(){return W(this,3,0)};f.setStatus=function(a){return Pi(this,3,a)};f.getVersion=function(){return gj(this,5)};f.setVersion=function(a){return Cb(this,5,a)};f.getOwnedByMe=function(){return Jj(this,7)};f.setOwnedByMe=function(a){return Ab(this,7,a)};RB.repeatedFields_=[4,6];RB.prototype.toObject=function(){return n5b(this)};
var n5b=function(a){if(null!=a)return t(a),{description:V(a,1),launchDate:m5b(Z(a,$Va,2)),status:W(a,3,0),approversList:Kb(aj(a,bp,4),V4b),version:gj(a,5),attributesList:Kb(aj(a,PB,6),k5b),ownedByMe:Jj(a,7),needBitApprovalFromMe:Jj(a,8),creatorEmail:V(a,9)}};var o5b=function(a){r.call(this,a)};U(o5b,r);f=o5b.prototype;f.getContent=function(){return V(this,1)};f.setContent=function(a){return mj(this,1,a)};f.getAuthorEmail=function(){return V(this,2)};f.getCommentNumber=function(){return Gh(this,4)};f.setCommentNumber=function(a){return Bb(this,4,a)};f.getFormattingMode=function(){return W(this,5,0)};f.setFormattingMode=function(a){return Pi(this,5,a)};f.toObject=function(){return p5b(this)};
var p5b=function(a){if(null!=a)return t(a),{content:V(a,1),authorEmail:V(a,2),modifiedTimestamp:gj(a,3),commentNumber:Gh(a,4),formattingMode:W(a,5,0)}};var SB=function(a){r.call(this,a)};U(SB,r);SB.prototype.toObject=function(){return q5b(this)};var q5b=function(a){if(null!=a)return t(a),{startTimeMs:gj(a,1),endTimeMs:gj(a,2),targetTimeMs:gj(a,3)}};var r5b=function(a){r.call(this,a)};U(r5b,r);f=r5b.prototype;f.getAssignmentBounds=function(){return Z(this,SB,1)};f.setAssignmentBounds=function(a){Yi(this,SB,1,a)};f.hasAssignmentBounds=function(){return Dj(this,SB,1)};f.getResponseBounds=function(){return Z(this,SB,2)};f.setResponseBounds=function(a){Yi(this,SB,2,a)};f.hasResponseBounds=function(){return Dj(this,SB,2)};f.getClosureBounds=function(){return Z(this,SB,3)};f.setClosureBounds=function(a){Yi(this,SB,3,a)};
f.hasClosureBounds=function(){return Dj(this,SB,3)};f.toObject=function(){return s5b(this)};var s5b=function(a){if(null!=a)return t(a),{assignmentBounds:q5b(a.getAssignmentBounds()),responseBounds:q5b(a.getResponseBounds()),closureBounds:q5b(a.getClosureBounds())}};var TB=function(a){r.call(this,a)};U(TB,r);TB.prototype.getAccessLevel=function(){return W(this,1,0)};TB.prototype.setAccessLevel=function(a){return Pi(this,1,a)};TB.prototype.toObject=function(){return t5b(this)};var t5b=function(a){if(null!=a)return t(a),{accessLevel:W(a,1,0)}};var u5b=function(a){r.call(this,a)};U(u5b,r);f=u5b.prototype;f.getType=function(){return W(this,1,0)};f.setType=function(a){return Pi(this,1,a)};f.getPriority=function(){return W(this,2,0)};f.setPriority=function(a){return Pi(this,2,a)};f.getSeverity=function(){return W(this,3,0)};f.setSeverity=function(a){return Pi(this,3,a)};f.getStatus=function(){return W(this,4,0)};f.setStatus=function(a){return Pi(this,4,a)};f.getSloStatus=function(){return Z(this,r5b,20)};
f.setSloStatus=function(a){Yi(this,r5b,20,a)};f.hasSloStatus=function(){return Dj(this,r5b,20)};f.getIsStarred=function(){return Jj(this,8)};f.getComponentId=function(){return gj(this,11)};f.setComponentId=function(a){return Cb(this,11,a)};f.getVersion=function(){return Gh(this,16)};f.setVersion=function(a){return Bb(this,16,a)};f.getAssignedToMe=function(){return Jj(this,13)};f.getAccessLimit=function(){return Z(this,TB,21)};f.setAccessLimit=function(a){return Yi(this,TB,21,a)};
f.getBlockingIssueIdsList=function(){return il(this,22)};f.getCommentsList=function(){return aj(this,o5b,10)};u5b.repeatedFields_=[7,22,10];u5b.prototype.toObject=function(){return v5b(this)};
var v5b=function(a){if(null!=a)return t(a),{type:W(a,1,0),priority:W(a,2,0),severity:W(a,3,0),status:W(a,4,0),sloStatus:s5b(a.getSloStatus()),reporterEmail:V(a,5),assigneeEmail:V(a,6),verifierEmail:V(a,14),ccEmailsList:p(Ih(a,7)),isStarred:Jj(a,8),lastModifiedByUserEmail:V(a,9),componentId:gj(a,11),canonicalIssueId:gj(a,18),version:Gh(a,16),majorModifiedTimestampMs:gj(a,19),reportedByMe:Jj(a,12),assignedToMe:Jj(a,13),ccIncludesMe:Jj(a,17),bugjugglerInCcList:Jj(a,15),accessLimit:t5b(a.getAccessLimit()),
blockingIssueIdsList:p(il(a,22)),commentsList:Kb(a.getCommentsList(),p5b),isOwnedByMyTeams:Jj(a,23)}};var UB=function(a){r.call(this,a)};U(UB,r);UB.prototype.getType=function(){return W(this,1,0)};UB.prototype.setType=function(a){return Pi(this,1,a)};UB.prototype.getState=function(){return W(this,5,0)};UB.repeatedFields_=[3];UB.prototype.toObject=function(){return w5b(this)};var w5b=function(a){if(null!=a)return t(a),{type:W(a,1,0),approverEmailsList:p(Ih(a,3)),reasonMessage:V(a,4),state:W(a,5,0)}};var VB=function(a){r.call(this,a)};U(VB,r);VB.prototype.getAuthorEmail=function(){return V(this,3)};VB.prototype.getContent=function(){return V(this,4)};VB.prototype.setContent=function(a){return mj(this,4,a)};VB.prototype.toObject=function(){return x5b(this)};var x5b=function(a){if(null!=a)return t(a),{publishTimestamp:gj(a,2),authorEmail:V(a,3),content:V(a,4),resolved:Jj(a,8)}};var y5b=function(a){r.call(this,a)};U(y5b,r);f=y5b.prototype;f.getAuthorEmail=function(){return V(this,2)};f.getContent=function(){return V(this,3)};f.setContent=function(a){return mj(this,3,a)};f.getRepliesList=function(){return aj(this,VB,5)};f.getExternalLink=function(){return V(this,6)};y5b.repeatedFields_=[5];y5b.prototype.toObject=function(){return z5b(this)};
var z5b=function(a){if(null!=a)return t(a),{publishTimestamp:gj(a,1),authorEmail:V(a,2),content:V(a,3),resolved:Jj(a,4),repliesList:Kb(a.getRepliesList(),x5b),externalLink:V(a,6)}};var WB=function(a){r.call(this,a)};U(WB,r);f=WB.prototype;f.getDescription=function(){return V(this,1)};f.setDescription=function(a){return mj(this,1,a)};f.getCategory=function(){return W(this,2,0)};f.getStatus=function(){return W(this,3,0)};f.setStatus=function(a){return Pi(this,3,a)};f.getIsStarred=function(){return Jj(this,4)};f.getReviewerEmailsList=function(){return Ih(this,6)};f.getCommentsList=function(){return aj(this,y5b,7)};f.getAuthorEmail=function(){return V(this,10)};
f.getNeedsAttention=function(){return Jj(this,12)};f.getChangeSize=function(){return W(this,18,0)};WB.repeatedFields_=[5,6,7,11,17,13,14];WB.prototype.toObject=function(){return A5b(this)};
var A5b=function(a){if(null!=a)return t(a),{description:V(a,1),descriptionUsesMarkdown:Jj(a,16),category:W(a,2,0),status:W(a,3,0),isStarred:Jj(a,4),approvalStatesList:Kb(aj(a,UB,5),w5b),reviewerEmailsList:p(Ih(a,6)),commentsList:Kb(a.getCommentsList(),z5b),externalLinkToCider:V(a,8),needsAttentionFromReviewer:Jj(a,9),authorEmail:V(a,10),isAuthorFromMyTeams:Jj(a,19),ccEmailsList:p(Ih(a,11)),needsAttention:Jj(a,12),attentionSetUsersList:p(Ih(a,17)),bugsList:p(Ih(a,13)),fixedBugsList:p(Ih(a,14)),workspaceName:V(a,
15),changeSize:W(a,18,0)}};var B5b=function(a){r.call(this,a)};U(B5b,r);f=B5b.prototype;f.getContent=function(){return V(this,3)};f.setContent=function(a){return mj(this,3,a)};f.getExternalLink=function(){return V(this,4)};f.getAction=function(){return W(this,6,0)};f.toObject=function(){return C5b(this)};var C5b=function(a){if(null!=a)return t(a),{authorDisplayName:V(a,1),authorPhotoLink:V(a,2),content:V(a,3),externalLink:V(a,4),modifiedTimestamp:gj(a,5),action:W(a,6,0)}};var D5b=function(a){r.call(this,a)};U(D5b,r);f=D5b.prototype;f.getCommentId=function(){return V(this,1)};f.getAssignedToMe=function(){return Jj(this,2)};f.getContent=function(){return V(this,8)};f.setContent=function(a){return mj(this,8,a)};f.getExternalLink=function(){return V(this,12)};f.getRepliesList=function(){return aj(this,B5b,14)};f.getDueDate=function(){return Z(this,Ah,18)};D5b.repeatedFields_=[14];D5b.prototype.toObject=function(){return E5b(this)};
var E5b=function(a){if(null!=a)return t(a),{commentId:V(a,1),assignedToMe:Jj(a,2),mentioningMe:Jj(a,3),isSuggestion:Jj(a,4),commentStatus:W(a,5,0),authorDisplayName:V(a,6),authorPhotoLink:V(a,7),content:V(a,8),prependQuotedContent:V(a,9),quotedContent:V(a,10),appendQuotedContent:V(a,11),externalLink:V(a,12),modifiedTimestamp:gj(a,13),repliesList:Kb(a.getRepliesList(),C5b),isDocwrapComment:Jj(a,15),assignedToMeTimestampMs:gj(a,16),mentioningMeTimestampMs:gj(a,17),dueDate:NB(a.getDueDate())}};var XB=function(a){r.call(this,a)};U(XB,r);f=XB.prototype;f.getCreatedTimestamp=function(){return gj(this,1)};f.getOwnedByMe=function(){return Jj(this,3)};f.setOwnedByMe=function(a){return Ab(this,3,a)};f.getSharedToMe=function(){return Jj(this,14)};f.getMimeType=function(){return V(this,15)};f.setMimeType=function(a){mj(this,15,a)};f.getCommentsList=function(){return aj(this,D5b,6)};f.getIsStarred=function(){return Jj(this,9)};XB.repeatedFields_=[17,6];XB.prototype.toObject=function(){return F5b(this)};
var F5b=function(a){if(null!=a)return t(a),{createdTimestamp:gj(a,1),createdByMe:Jj(a,2),ownedByMe:Jj(a,3),recentlySharedWithMe:Jj(a,8),sharedWithMeTimestamp:gj(a,4),sharedToMe:Jj(a,14),sharedToMyGroups:Jj(a,18),sharedToMyTeamDrive:Jj(a,19),actionItemsChecksum:V(a,5),mimeType:V(a,15),teamDriveId:V(a,16),parentIdsList:p(Ih(a,17)),openCommentsCount:Gh(a,21),commentsAssignedToMeCount:Gh(a,22),commentsMentioningMeCount:Gh(a,23),suggestionsCount:Gh(a,24),isDocwrapIncoming:Jj(a,25),isDocwrapOutgoing:Jj(a,
26),commentsList:Kb(a.getCommentsList(),E5b),lastCommentedTimestamp:gj(a,7),lastCommentedByGaiaId:gj(a,20),isStarred:Jj(a,9),ownerEmail:V(a,10),creatorEmail:V(a,11),lastModifiedByUserEmail:V(a,12),lastCommentedByUserDisplayName:V(a,13)}};var G5b=function(a){r.call(this,a)};U(G5b,r);G5b.prototype.getTitle=function(){return V(this,2)};G5b.prototype.setTitle=function(a){return mj(this,2,a)};G5b.prototype.toObject=function(){return H5b(this)};var H5b=function(a){if(null!=a)return t(a),{gtaskId:V(a,1),title:V(a,2),isCompleted:Jj(a,3),details:V(a,4),dueDateTimestamp:gj(a,5)}};var I5b=function(a){r.call(this,a)};U(I5b,r);f=I5b.prototype;f.getId=function(){return V(this,1)};f.setId=function(a){return mj(this,1,a)};f.getTitle=function(){return V(this,2)};f.setTitle=function(a){return mj(this,2,a)};f.toObject=function(){return J5b(this)};var J5b=function(a){if(null!=a)return t(a),{id:V(a,1),title:V(a,2)}};var K5b=function(a){r.call(this,a)};U(K5b,r);K5b.prototype.getTaskList=function(){return Z(this,I5b,8)};K5b.repeatedFields_=[5];var L5b=[9,10];K5b.prototype.toObject=function(){return M5b(this)};var M5b=function(a){if(null!=a)return t(a),{isCompleted:Jj(a,4),details:V(a,1),dueDateTimestamp:gj(a,2),emailLink:V(a,3),subtasksList:Kb(aj(a,G5b,5),H5b),isNewTask:Jj(a,7),taskList:J5b(a.getTaskList()),sourceGroup:cPb(Sj(a,bPb,9,L5b)),sourceDocument:aPb(Sj(a,$Ob,10,L5b))}};var YB=function(a){r.call(this,a)};U(YB,r);YB.prototype.getParentId=function(){return gj(this,11)};YB.prototype.setParentId=function(a){return Cb(this,11,a)};YB.prototype.toObject=function(){return N5b(this)};var N5b=function(a){if(null!=a)return t(a),{membershipId:gj(a,1),childId:gj(a,10),childName:V(a,2),childEmail:V(a,3),parentId:gj(a,11),parentName:V(a,4),parentEmail:V(a,5),createTimeMs:gj(a,6),expireTimeMs:gj(a,7),membershipType:W(a,8,0),getEmail:Jj(a,9)}};var O5b=function(a){r.call(this,a)};U(O5b,r);O5b.prototype.getMembership=function(){return Sj(this,YB,1,P5b)};var P5b=[1];O5b.prototype.toObject=function(){return Q5b(this)};var Q5b=function(a){if(null!=a)return t(a),{membership:N5b(a.getMembership())}};var R5b=function(a){r.call(this,a)};U(R5b,r);R5b.prototype.getState=function(){return W(this,1,0)};R5b.prototype.toObject=function(){return S5b(this)};var S5b=function(a){if(null!=a)return t(a),{state:W(a,1,0),updaterId:gj(a,2),updaterName:V(a,3),updaterEmail:V(a,4),updateTimeMs:gj(a,5),updateReason:V(a,6)}};var ZB=function(a){r.call(this,a)};U(ZB,r);ZB.prototype.getOriginal=function(){return Z(this,O5b,2)};ZB.prototype.getState=function(){return W(this,6,0)};ZB.repeatedFields_=[7];ZB.prototype.toObject=function(){return T5b(this)};var T5b=function(a){if(null!=a)return t(a),{upsert:Q5b(Z(a,O5b,1)),original:Q5b(a.getOriginal()),changeType:W(a,3,0),createTimeMs:gj(a,4),state:W(a,6,0),proposalUpdatesList:Kb(aj(a,R5b,7),S5b)}};var U5b=function(a){r.call(this,a)};U(U5b,r);U5b.prototype.getResourceCase=function(){return Ci(this,V5b)};U5b.prototype.getMembership=function(){return Sj(this,YB,2,V5b)};var V5b=[1,2];U5b.prototype.toObject=function(){return W5b(this)};var W5b=function(a){if(null!=a)return t(a),{proposal:T5b(Sj(a,ZB,1,V5b)),membership:N5b(a.getMembership())}};var X5b=function(a){r.call(this,a)};U(X5b,r);f=X5b.prototype;f.getCommentId=function(){return V(this,1)};f.getMessage=function(){return V(this,2)};f.setMessage=function(a){mj(this,2,a)};f.getAuthorEmail=function(){return V(this,3)};f.toObject=function(){return Y5b(this)};var Y5b=function(a){if(null!=a)return t(a),{commentId:V(a,1),message:V(a,2),authorEmail:V(a,3),updatedTimeMs:gj(a,4),unresolved:Jj(a,5),inReplyTo:V(a,6)}};var Z5b=function(a){r.call(this,a)};U(Z5b,r);Z5b.prototype.getValue=function(){return Gh(this,1)};Z5b.prototype.setValue=function(a){return Bb(this,1,a)};Z5b.prototype.toObject=function(){return $5b(this)};var $5b=function(a){if(null!=a)return t(a),{value:Gh(a,1),voterEmail:V(a,2)}};var a6b=function(a){r.call(this,a)};U(a6b,r);a6b.repeatedFields_=[2];a6b.prototype.toObject=function(){return b6b(this)};var b6b=function(a){if(null!=a)return t(a),{labelName:V(a,1),votesList:Kb(aj(a,Z5b,2),$5b),minVoteValue:Gh(a,3),maxVoteValue:Gh(a,4)}};var c6b=function(a){r.call(this,a)};U(c6b,r);f=c6b.prototype;f.getDescription=function(){return V(this,1)};f.setDescription=function(a){return mj(this,1,a)};f.getCategory=function(){return W(this,15,0)};f.getReviewerEmailsList=function(){return Ih(this,6)};f.getNeedsAttention=function(){return Jj(this,18)};f.setHost=function(a){return mj(this,8,a)};f.getProject=function(){return V(this,9)};f.setProject=function(a){mj(this,9,a)};f.getChangeSize=function(){return W(this,11,0)};
f.getIsStarred=function(){return Jj(this,13)};f.getCommentsList=function(){return aj(this,X5b,14)};c6b.repeatedFields_=[3,6,7,17,12,14];c6b.prototype.toObject=function(){return d6b(this)};
var d6b=function(a){if(null!=a)return t(a),{description:V(a,1),category:W(a,15,0),ownerEmail:V(a,2),statusesList:p(Tk(a,3)),submittable:Jj(a,4),assigneeEmail:V(a,5),reviewerEmailsList:p(Ih(a,6)),ccEmailsList:p(Ih(a,7)),attentionSetEmailsList:p(Ih(a,17)),needsAttention:Jj(a,18),host:V(a,8),project:V(a,9),branch:V(a,10),changeSize:W(a,11,0),labelApprovalStatesList:Kb(aj(a,a6b,12),b6b),isStarred:Jj(a,13),commentsList:Kb(a.getCommentsList(),Y5b),hostRepoBranchLink:V(a,16)}};var e6b=function(a){r.call(this,a)};U(e6b,r);e6b.prototype.getDescription=function(){return V(this,3)};e6b.prototype.setDescription=function(a){return mj(this,3,a)};e6b.prototype.toObject=function(){return f6b(this)};var f6b=function(a){if(null!=a)return t(a),{eventLogTimestamp:yt(Z(a,Ch,1)),updaterEmail:V(a,2),description:V(a,3)}};var g6b=function(a){r.call(this,a)};U(g6b,r);g6b.prototype.getEntriesList=function(){return aj(this,e6b,1)};g6b.repeatedFields_=[1];g6b.prototype.toObject=function(){return h6b(this)};var h6b=function(a){if(null!=a)return t(a),{entriesList:Kb(a.getEntriesList(),f6b)}};var i6b=function(a){r.call(this,a)};U(i6b,r);f=i6b.prototype;f.getDescription=function(){return V(this,1)};f.setDescription=function(a){return mj(this,1,a)};f.getStatus=function(){return W(this,2,0)};f.setStatus=function(a){return Pi(this,2,a)};f.getPriority=function(){return W(this,3,0)};f.setPriority=function(a){return Pi(this,3,a)};f.getAssignedToMe=function(){return Jj(this,10)};f.getDueDate=function(){return Z(this,Ah,13)};i6b.repeatedFields_=[6];i6b.prototype.toObject=function(){return j6b(this)};
var j6b=function(a){if(null!=a)return t(a),{description:V(a,1),status:W(a,2,0),priority:W(a,3,0),assigneeEmail:V(a,4),requesterEmail:V(a,5),ccEmailsList:p(Ih(a,6)),ticketType:V(a,7),worklog:h6b(Z(a,g6b,8)),requestedByMe:Jj(a,9),assignedToMe:Jj(a,10),myApprovalNeeded:Jj(a,11),ccIncludesMe:Jj(a,12),dueDate:NB(a.getDueDate())}};var k6b=function(a){r.call(this,a)};U(k6b,r);f=k6b.prototype;f.getStatus=function(){return W(this,3,0)};f.setStatus=function(a){return Pi(this,3,a)};f.getPriority=function(){return W(this,4,0)};f.setPriority=function(a){return Pi(this,4,a)};f.getDescription=function(){return V(this,10)};f.setDescription=function(a){return mj(this,10,a)};k6b.repeatedFields_=[7,8,11];k6b.prototype.toObject=function(){return l6b(this)};
var l6b=function(a){if(null!=a)return t(a),{productName:V(a,1),productLink:V(a,2),status:W(a,3,0),priority:W(a,4,0),resolveDeadline:yt(Z(a,Ch,5)),creatorEmail:V(a,6),productEmailsList:p(Ih(a,7)),privacyEmailsList:p(Ih(a,8)),autoCreated:Jj(a,9),description:V(a,10),descriptionUsesMarkdown:Jj(a,13),participantEmailsList:p(Ih(a,11)),bugId:gj(a,12)}};var $B=function(a){r.call(this,a)};U($B,r);$B.prototype.getResourceCase=function(){return Ci(this,m6b)};$B.prototype.getNeedsAttention=function(){return Jj(this,5)};$B.repeatedFields_=[2];var m6b=[101];$B.prototype.toObject=function(){return n6b(this)};var n6b=function(a){if(null!=a)return t(a),{ownerEmail:V(a,1),attentionSetList:p(Ih(a,2)),taskStatus:W(a,3,0),referenceName:V(a,4),needsAttention:Jj(a,5),trackable:l6b(Sj(a,k6b,101,m6b))}};var aC=function(a){r.call(this,a)};U(aC,r);f=aC.prototype;f.getResourceCase=function(){return Ci(this,Ls)};f.getResourceId=function(){return V(this,17)};f.setResourceId=function(a){mj(this,17,a)};f.getTitle=function(){return V(this,2)};f.setTitle=function(a){return mj(this,2,a)};f.getLastModifiedTimestamp=function(){return gj(this,3)};f.getIconName=function(){return V(this,10)};f.getExternalLink=function(){return V(this,16)};f.getIsDeleted=function(){return Jj(this,19)};
f.setIsDeleted=function(a){Ab(this,19,a)};var dp=function(a){return Sj(a,XB,5,Ls)},cp=function(a){return Sj(a,u5b,6,Ls)},Yo=function(a){return Sj(a,WB,8,Ls)},ap=function(a){return Sj(a,RB,9,Ls)},Ls=[5,6,7,8,9,18,22,23,24];aC.prototype.toObject=function(){return o6b(this)};
var o6b=function(a){if(null!=a)return t(a),{resourceId:V(a,17),taskSource:V(a,1),title:V(a,2),lastModifiedTimestamp:gj(a,3),fingerprint:V(a,4),iconName:V(a,10),itemTypeName:V(a,11),statusDescription:V(a,12),latestAction:V(a,13),latestActionTimestamp:gj(a,14),latestActionByUserEmail:V(a,20),hasDetails:Jj(a,15),externalLink:V(a,16),isDeleted:Jj(a,19),driveResource:F5b(dp(a)),buganizerResource:v5b(cp(a)),gtasksResource:M5b(Sj(a,K5b,7,Ls)),critiqueResource:A5b(Yo(a)),arianeResource:n5b(ap(a)),gerritResource:d6b(Sj(a,
c6b,18,Ls)),ganpatiResource:W5b(Sj(a,U5b,22,Ls)),gutsResource:j6b(Sj(a,i6b,23,Ls)),privacyResource:n6b(Sj(a,$B,24,Ls))}};var p6b=function(a){r.call(this,a)};U(p6b,r);f=p6b.prototype;f.getName=function(){return V(this,1)};f.setName=function(a){return mj(this,1,a)};f.getContent=function(){return V(this,2)};f.setContent=function(a){return mj(this,2,a)};f.toObject=function(){return q6b(this)};var q6b=function(a){if(null!=a)return t(a),{name:V(a,1),content:V(a,2)}};var bC=function(a){r.call(this,a)};U(bC,r);f=bC.prototype;f.getTaskId=function(){return V(this,1)};f.getResource=function(){return Z(this,aC,6)};f.setResource=function(a){return Yi(this,aC,6,a)};f.getNote=function(){return Z(this,p6b,22)};f.hasNote=function(){return Dj(this,p6b,22)};f.getCreatedTimestamp=function(){return gj(this,7)};f.getUpdatedTimestamp=function(){return gj(this,8)};f.toObject=function(){return r6b(this)};
var r6b=function(a){if(null!=a)return t(a),{taskId:V(a,1),gaiaId:gj(a,2),taskStatus:W(a,3,0),naturallyCompleted:Jj(a,4),hasNoActionItems:Jj(a,24),naturallyCompletedDescription:V(a,11),priorityOrder:hj(a,5),priorityOrderReservedUpper:hj(a,9),priorityOrderResetTimestampMs:gj(a,16),currentStatusSince:gj(a,10),currentStatusAutoUpdated:Jj(a,17),resource:o6b(a.getResource()),snoozeUntilMs:gj(a,12),autoUnsnoozeOnUpdate:Jj(a,18),prevStatusState:U4b(Z(a,T4b,13)),note:q6b(a.getNote()),readTimestampMs:gj(a,
15),createdTimestamp:gj(a,7),updatedTimestamp:gj(a,8),manuallyAdded:Jj(a,19),hasNote:Jj(a,20),dueInfo:S4b(Z(a,Q4b,23)),taskStatusRequiresAck:Jj(a,25),taskStatusRequiresAckReason:V(a,26)}};var s6b=function(a){r.call(this,a)};U(s6b,r);s6b.prototype.toObject=function(){return t6b(this)};var t6b=function(a){if(null!=a)return t(a),{autoArchiveInactive:W(a,1,0),launchDateAsDueDate:W(a,2,0)}};var u6b=function(a){r.call(this,a)};U(u6b,r);u6b.prototype.toObject=function(){return v6b(this)};var v6b=function(a){if(null!=a)return t(a),{autoArchiveClosed:W(a,1,0),sloAsDueDate:W(a,2,0)}};var w6b=function(a){r.call(this,a)};U(w6b,r);w6b.prototype.toObject=function(){return x6b(this)};var x6b=function(a){if(null!=a)return t(a),{autoArchiveSubmitted:W(a,1,0),dueAfterReceivingDays:gj(a,2),dueDateEnabled:W(a,3,0)}};var y6b=function(a){r.call(this,a)};U(y6b,r);y6b.prototype.toObject=function(){return z6b(this)};var z6b=function(a){if(null!=a)return t(a),{invitationUserAction:W(a,2,0),autoArchiveSelfOwnedAllResolved:W(a,3,0),autoArchiveOthersOwnedAllResolved:W(a,4,0),dueAfterMentionReceivingDays:gj(a,5),dueAfterAssignmentReceivingDays:gj(a,6),mentionDueDateEnabled:W(a,7,0),assignmentDueDateEnabled:W(a,8,0),dueAfterReceivingDays:gj(a,9),dueDateEnabled:W(a,10,0)}};var A6b=function(a){r.call(this,a)};U(A6b,r);A6b.prototype.toObject=function(){return B6b(this)};var B6b=function(a){if(null!=a)return t(a),{invitationUserAction:W(a,1,0),unsnoozedTasks:W(a,2,0)}};var C6b=function(a){r.call(this,a)};U(C6b,r);C6b.repeatedFields_=[4];C6b.prototype.toObject=function(){return D6b(this)};var D6b=function(a){if(null!=a)return t(a),{invitationUserAction:W(a,1,0),autoArchiveCompleted:W(a,2,0),completeOnArchiveOrMute:W(a,3,0),gtaskTaskListIdsList:p(Ih(a,4))}};var E6b=function(a){r.call(this,a)};U(E6b,r);E6b.prototype.toObject=function(){return F6b(this)};var F6b=function(a){if(null!=a)return t(a),{expirationAsDue:W(a,4,0),autoArchiveResolved:W(a,3,0)}};var G6b=function(a){r.call(this,a)};U(G6b,r);G6b.repeatedFields_=[1];G6b.prototype.toObject=function(){return H6b(this)};var H6b=function(a){if(null!=a)return t(a),{gerritHostsList:p(Ih(a,1)),autoArchiveSubmitted:W(a,2,0),invitationUserAction:W(a,3,0),dueAfterReceivingDays:gj(a,4),dueDateEnabled:W(a,5,0)}};var I6b=function(a){r.call(this,a)};U(I6b,r);I6b.prototype.toObject=function(){return J6b(this)};var J6b=function(a){if(null!=a)return t(a),{invitationUserAction:W(a,1,0),autoArchiveClosed:W(a,2,0),dueDateEnabled:W(a,3,0)}};var K6b=function(a){r.call(this,a)};U(K6b,r);K6b.prototype.toObject=function(){return L6b(this)};var L6b=function(a){if(null!=a)return t(a),{orderingOption:W(a,1,0),pinOverdueTasks:W(a,2,0),pinTasksDueInFiveDays:W(a,3,0)}};var M6b=function(a){r.call(this,a)};U(M6b,r);M6b.prototype.toObject=function(){return N6b(this)};var N6b=function(a){if(null!=a)return t(a),{autoArchiveClosed:W(a,1,0),trackableDueDateEnabled:W(a,2,0)}};var O6b=function(a){r.call(this,a)};U(O6b,r);O6b.prototype.toObject=function(){return P6b(this)};var P6b=function(a){if(null!=a)return t(a),{filterEnabled:Jj(a,1),arianeLaunches:W(a,2,0),arianeReviews:W(a,3,0)}};var Q6b=function(a){r.call(this,a)};U(Q6b,r);Q6b.prototype.getAssignedToMe=function(){return Jj(this,2)};Q6b.prototype.toObject=function(){return R6b(this)};var R6b=function(a){if(null!=a)return t(a),{filterEnabled:Jj(a,1),assignedToMe:Jj(a,2),reportedByMe:Jj(a,3),ccIncludesMe:Jj(a,6),bugjugglerInCcList:W(a,4,0),other:W(a,5,0)}};var S6b=function(a){r.call(this,a)};U(S6b,r);S6b.prototype.toObject=function(){return T6b(this)};var T6b=function(a){if(null!=a)return t(a),{filterEnabled:Jj(a,1),outgoingReviews:Jj(a,2),incomingReviews:Jj(a,3),ccedReviews:Jj(a,4),inAttentionSet:W(a,5,0),inPending:W(a,7,0),other:W(a,6,0)}};var U6b=function(a){r.call(this,a)};U(U6b,r);U6b.prototype.getSharedToMe=function(){return W(this,12,0)};U6b.prototype.toObject=function(){return V6b(this)};
var V6b=function(a){if(null!=a)return t(a),{filterEnabled:Jj(a,1),includeDocs:Jj(a,2),includeSlides:Jj(a,3),includeSheets:Jj(a,4),includeOtherTypes:Jj(a,5),commentsWithMentions:Jj(a,6),commentsWithAssignments:Jj(a,7),commentsWithSuggestions:Jj(a,8),filterBySharingAge:Jj(a,9),maxSharingAgeInDays:Gh(a,10),openComments:Jj(a,11),sharedToMe:W(a,12,0),sharedToMyGroups:W(a,13,0),sharedToMyTeamDrive:W(a,14,0),other:W(a,15,0),incomingDesignReview:W(a,16,0),outgoingDesignReview:W(a,17,0)}};var W6b=function(a){r.call(this,a)};U(W6b,r);W6b.prototype.toObject=function(){return X6b(this)};var X6b=function(a){if(null!=a)return t(a),{filterEnabled:Jj(a,1)}};var Y6b=function(a){r.call(this,a)};U(Y6b,r);Y6b.prototype.toObject=function(){return Z6b(this)};var Z6b=function(a){if(null!=a)return t(a),{filterEnabled:W(a,1,0)}};var $6b=function(a){r.call(this,a)};U($6b,r);$6b.prototype.toObject=function(){return a7b(this)};var a7b=function(a){if(null!=a)return t(a),{filterEnabled:Jj(a,1),outgoingReviews:W(a,2,0),incomingReviews:W(a,3,0),ccedReviews:W(a,4,0),inAttentionSet:W(a,5,0),other:W(a,6,0)}};var b7b=function(a){r.call(this,a)};U(b7b,r);b7b.prototype.toObject=function(){return c7b(this)};var c7b=function(a){if(null!=a)return t(a),{filterEnabled:W(a,1,0)}};var d7b=function(a){r.call(this,a)};U(d7b,r);d7b.prototype.toObject=function(){return e7b(this)};var e7b=function(a){if(null!=a)return t(a),{filterEnabled:W(a,1,0),inAttentionSet:W(a,2,0),other:W(a,3,0)}};var cC=function(a){r.call(this,a)};U(cC,r);cC.prototype.toObject=function(){return dC(this)};var dC=function(a){if(null!=a)return t(a),{critiqueFilter:T6b(Z(a,S6b,1)),driveFilter:V6b(Z(a,U6b,2)),buganizerFilter:R6b(Z(a,Q6b,3)),arianeFilter:P6b(Z(a,O6b,4)),gtasksFilter:X6b(Z(a,W6b,5)),gerritFilter:a7b(Z(a,$6b,7)),ganpatiFilter:Z6b(Z(a,Y6b,8)),gutsFilter:c7b(Z(a,b7b,10)),privacyFilter:e7b(Z(a,d7b,11)),taskAgeInDays:Gh(a,6),showPrivateNoteOnly:W(a,9,0)}};var f7b=function(a){r.call(this,a)};U(f7b,r);f7b.prototype.toObject=function(){return g7b(this)};
var g7b=function(a){if(null!=a){t(a);var b=V(a,1),c=t6b(Z(a,s6b,15)),d=v6b(Z(a,u6b,16)),e=x6b(Z(a,w6b,17)),g=z6b(Z(a,y6b,3)),h=F6b(Z(a,E6b,27)),l=H6b(Z(a,G6b,23)),q=D6b(Z(a,C6b,4)),x=J6b(Z(a,I6b,29)),A=N6b(Z(a,M6b,32)),B=Jj(a,5),K=Jj(a,6),N=Jj(a,7),P=Jj(a,8),Y=Jj(a,24),X=W(a,28,0),ka=Jj(a,22),ma=Jj(a,9),za=Jj(a,30),Ba=W(a,31,0),Ma=dC(Z(a,cC,10)),Sa=dC(Z(a,cC,11)),Ua=dC(Z(a,cC,12)),Lb=dC(Z(a,cC,13)),qb=dC(Z(a,cC,14)),Ya=V(a,19),wa=gj(a,20),Ka=gj(a,21);var Na=Vj(a,25,K6b);return{mostRecentWorkspaceId:b,
arianeTaskPrefs:c,buganizerTaskPrefs:d,critiqueTaskPrefs:e,driveTaskPrefs:g,ganpatiTaskPrefs:h,gerritTaskPrefs:l,gtasksTaskPrefs:q,gutsTaskPrefs:x,privacyTaskPrefs:A,arianeEnabled:B,buganizerEnabled:K,critiqueEnabled:N,driveEnabled:P,ganpatiEnabledDeprecated:Y,ganpatiEnabled:X,gerritEnabled:ka,gtasksEnabled:ma,gutsEnabled:za,privacyEnabled:Ba,pinnedTaskFilter:Ma,inboxFilter:Sa,snoozedTaskFilter:Ua,completedTaskFilter:Lb,dismissedTaskFilter:qb,viewedLaunchVersion:Ya,hiringChipDismissedTimestampMs:wa,
latestVisitTimestampMs:Ka,taskOrderingPrefsMap:Ob(Na,L6b),g3NotificationsPrefs:B6b(Z(a,A6b,26))}}};var eC=function(a){r.call(this,a)};U(eC,r);eC.prototype.getCreatedTimestamp=function(){return gj(this,3)};eC.prototype.getUpdatedTimestamp=function(){return gj(this,4)};var h7b=[2];eC.prototype.toObject=function(){return i7b(this)};var i7b=function(a){if(null!=a)return t(a),{prefsId:V(a,1),taskManagementPrefs:g7b(Sj(a,f7b,2,h7b)),initialized:Jj(a,5),createdTimestamp:gj(a,3),updatedTimestamp:gj(a,4)}};var Zi=function(a){r.call(this,a)};U(Zi,r);f=Zi.prototype;f.getId=function(){return V(this,1)};f.setId=function(a){return mj(this,1,a)};f.getVersion=function(){return V(this,2)};f.setVersion=function(a){return mj(this,2,a)};f.toObject=function(){return fC(this)};var fC=function(a){if(null!=a)return t(a),{id:V(a,1),version:V(a,2)}};var gC=function(a){r.call(this,a)};U(gC,r);gC.prototype.getName=function(){return V(this,1)};gC.prototype.setName=function(a){return mj(this,1,a)};gC.prototype.toObject=function(){if(null!=this){t(this);var a={name:V(this,1)}}else a=void 0;return a};var hC=function(a,b,c){var d=this;this.userPrefsApiPromiseClient=a;this.config=c;this.sessionIndex="0";(0,E.defer)(function(){var e=(new gC).setName("keys/2");return(0,E.from)(d.userPrefsApiPromiseClient.getUserPrefs(e,d.getHeaders()))}).pipe(D(function(e){return(e=Sj(e.getUserPrefs()||new eC,f7b,2,h7b))?12096E5>=Date.now()-gj(e,21):!1}),Pe(1))};
hC.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:vo([])||"","X-Goog-AuthUser":this.sessionIndex}};hC.\u0275fac=function(a){return new (a||hC)(u(O4b),u(N4b),u(P4b,8))};hC.\u0275prov=qc({token:hC,factory:hC.\u0275fac,providedIn:"root"});var iC=function(){};iC.\u0275fac=function(a){return new (a||iC)};iC.\u0275mod=Ic({type:iC});iC.\u0275inj=rc({imports:[nz,dz,dz]});var jC=function(){};jC.\u0275fac=function(a){return new (a||jC)};jC.\u0275mod=Ic({type:jC});jC.\u0275inj=rc({imports:[py,vA,sw,zA,iC,MB,cz,wA]});var j7b=function(a){r.call(this,a)};U(j7b,r);j7b.prototype.toObject=function(){if(null!=this){t(this);var a={}}else a=void 0;return a};var k7b=function(a,b,c){this.requestMessage_=a;this.methodDescriptor_=b;this.metadata_=c};k7b.prototype.getMethodDescriptor=function(){return this.methodDescriptor_};k7b.prototype.getMetadata=function(){return this.metadata_};var l7b=function(a,b,c){c=void 0===c?{}:c;this.responseMessage_=a;this.metadata_=c;this.methodDescriptor_=b;this.status_=null};l7b.prototype.getMetadata=function(){return this.metadata_};l7b.prototype.getMethodDescriptor=function(){return this.methodDescriptor_};l7b.prototype.getStatus=function(){return this.status_};var kC=function(a,b,c,d,e){this.name=a;this.requestType=b;this.responseType=c;this.requestSerializeFn=d;this.responseDeserializeFn=e},m7b=function(a,b,c){c=void 0===c?{}:c;return new k7b(b,a,c)};kC.prototype.getName=function(){return this.name};kC.prototype.getName=kC.prototype.getName;var n7b=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}},o7b=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 lC=function(a,b,c){c=void 0===c?{}:c;b=Error.call(this,b);this.message=b.message;"stack"in b&&(this.stack=b.stack);this.code=a;this.metadata=c};U(lC,Error);lC.prototype.toString=function(){var a="RpcError("+(o7b(this.code)||String(this.code))+")";this.message&&(a+=": "+this.message);return a};lC.prototype.name="RpcError";var p7b=Promise;var mC=function(a){r.call(this,a)};U(mC,r);mC.prototype.getCode=function(){return Gh(this,1)};mC.prototype.setCode=function(a){return Bb(this,1,a)};mC.prototype.getMessage=function(){return V(this,2)};mC.prototype.setMessage=function(a){mj(this,2,a)};var q7b=Rb(mC);mC.repeatedFields_=[3];mC.prototype.toObject=function(){return r7b(this)};var r7b=function(a){if(null!=a)return t(a),{code:Gh(a,1),message:V(a,2),detailsList:Kb(aj(a,OB,3),j5b)}};var nC=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_&&s7b(this)},y7b=function(a,b){zo(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){t7b(a,new lC(13,"Error when deserializing response data; error: "+g+(", response: "+c)));return}c=n7b(a.xhr_.getStatus());u7b(a,v7b(a));0==c?w7b(a,d):t7b(a,new lC(c,"Xhr succeeded but the status code is not 200"))}else{d=a.xhr_.getResponseText();var e={};d?(e=x7b(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());u7b(a,v7b(a));t7b(a,new lC(d,c,e))}})},s7b=function(a){a.xhrNodeReadableStream_.on("data",
function(b){if("1"in b){var c=b["1"];try{var d=a.grpcResponseDeserializeFn_(c)}catch(e){t7b(a,new lC(13,"Error when deserializing response data; error: "+e+(", response: "+c)))}d&&w7b(a,d)}if("2"in b)for(b=x7b(a,b["2"]),c=0;c<a.onStatusCallbacks_.length;c++)a.onStatusCallbacks_[c](b)});a.xhrNodeReadableStream_.on("end",function(){u7b(a,v7b(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=n7b(c);break;default:d=14}u7b(a,v7b(a));b=c2b(b)+", error: "+a.xhr_.getLastError();-1!=c&&(b+=", http status code: "+c);t7b(a,new lC(d,b))}})},v7b=function(a){var b={},c=a.xhr_.getResponseHeaders();Object.keys(c).forEach(function(d){b[d]=c[d]});return b},x7b=function(a,b){var c=2,d={};try{var e=q7b(b);c=e.getCode();var g=e.getMessage();
aj(e,OB,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}};nC.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 z7b=function(a,b){b=a.indexOf(b);-1<b&&a.splice(b,1)};nC.prototype.removeListener=function(a,b){"data"==a?z7b(this.onDataCallbacks_,b):"metadata"==a?z7b(this.onMetadataCallbacks_,b):"status"==a?z7b(this.onStatusCallbacks_,b):"end"==a?z7b(this.onEndCallbacks_,b):"error"==a&&z7b(this.onErrorCallbacks_,b);return this};nC.prototype.cancel=function(){this.xhr_.abort()};
var w7b=function(a,b){for(var c=0;c<a.onDataCallbacks_.length;c++)a.onDataCallbacks_[c](b)},u7b=function(a,b){for(var c=0;c<a.onMetadataCallbacks_.length;c++)a.onMetadataCallbacks_[c](b)},t7b=function(a,b){for(var c=0;c<a.onErrorCallbacks_.length;c++)a.onErrorCallbacks_[c](b)};nC.prototype.cancel=nC.prototype.cancel;nC.prototype.removeListener=nC.prototype.removeListener;nC.prototype.on=nC.prototype.on;var oC=function(a){this.worker_=a.worker||null;this.streamBinaryChunks_=a.streamBinaryChunks||!1;this.cacheMode_=this.credentialsMode_=void 0};ts(oC,d2b);oC.prototype.createInstance=function(){var a=new pC(this.worker_,this.streamBinaryChunks_);this.credentialsMode_&&a.setCredentialsMode(this.credentialsMode_);this.cacheMode_&&a.setCacheMode(this.cacheMode_);return a};oC.prototype.internalGetOptions=KQb({});oC.prototype.setCredentialsMode=function(a){this.credentialsMode_=a};
oC.prototype.setCacheMode=function(a){this.cacheMode_=a};var pC=function(a,b){yo.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};
ts(pC,yo);pC.prototype.open=function(a,b){if(0!=this.readyState)throw this.abort(),Error("Jb");this.method_=a;this.url_=b;this.readyState=1;A7b(this)};pC.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_||ba).fetch(new Request(this.url_,b)).then(this.handleResponse_.bind(this),this.handleSendFailure_.bind(this))};
pC.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,B7b(this));this.readyState=0};
pC.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,A7b(this)),this.inProgress_&&(this.readyState=3,A7b(this),this.inProgress_)))if("arraybuffer"===this.responseType)a.arrayBuffer().then(this.handleResponseArrayBuffer_.bind(this),this.handleSendFailure_.bind(this));else if("undefined"!==typeof ba.ReadableStream&&
"body"in a){this.currentReader_=a.body.getReader();if(this.streamBinaryChunks_){if(this.responseType)throw Error("Lb");this.response=[]}else this.response=this.responseText="",this.textDecoder_=new TextDecoder;C7b(this)}else a.text().then(this.handleResponseText_.bind(this),this.handleSendFailure_.bind(this))};var C7b=function(a){a.currentReader_.read().then(a.handleDataFromStream_.bind(a)).catch(a.handleSendFailure_.bind(a))};
pC.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?B7b(this):A7b(this);3==this.readyState&&C7b(this)}};pC.prototype.handleResponseText_=function(a){this.inProgress_&&(this.response=this.responseText=a,B7b(this))};
pC.prototype.handleResponseArrayBuffer_=function(a){this.inProgress_&&(this.response=a,B7b(this))};pC.prototype.handleSendFailure_=function(){this.inProgress_&&B7b(this)};var B7b=function(a){a.readyState=4;a.fetchResponse_=null;a.currentReader_=null;a.textDecoder_=null;A7b(a)};f=pC.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 A7b=function(a){a.onreadystatechange&&a.onreadystatechange.call(a)};
Object.defineProperty(pC.prototype,"withCredentials",{get:function(){return"include"===this.credentialsMode_},set:function(a){this.setCredentialsMode(a?"include":"same-origin")}});var D7b=function(a){if(a.getCount&&"function"==typeof a.getCount)a=a.getCount();else if(ua(a)||"string"===typeof a)a=a.length;else{var b=0,c;for(c in a)b++;a=b}return a},qC=function(a){if(a.getValues&&"function"==typeof a.getValues)return a.getValues();if("undefined"!==typeof Map&&a instanceof Map||"undefined"!==typeof Set&&a instanceof Set)return Array.from(a.values());if("string"===typeof a)return a.split("");if(ua(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return Qca(a)},E7b=
function(a){if(a.getKeys&&"function"==typeof a.getKeys)return a.getKeys();if(!a.getValues||"function"!=typeof a.getValues){if("undefined"!==typeof Map&&a instanceof Map)return Array.from(a.keys());if(!("undefined"!==typeof Set&&a instanceof Set)){if(ua(a)||"string"===typeof a){var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);return b}b=[];c=0;for(var d in a)b[c++]=d;return b}}},F7b=function(a,b,c){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,c);else if(ua(a)||"string"===typeof a)Array.prototype.forEach.call(a,
b,c);else for(var d=E7b(a),e=qC(a),g=e.length,h=0;h<g;h++)b.call(c,e[h],d&&d[h],a)},G7b=function(a,b,c){if("function"==typeof a.every)return a.every(b,c);if(ua(a)||"string"===typeof a)return Array.prototype.every.call(a,b,c);for(var d=E7b(a),e=qC(a),g=e.length,h=0;h<g;h++)if(!b.call(c,e[h],d&&d[h],a))return!1;return!0};var Do=function(a,b){this.domain_=this.userInfo_=this.scheme_="";this.port_=null;this.fragment_=this.path_="";this.ignoreCase_=!1;var c;a instanceof Do?(this.ignoreCase_=void 0!==b?b:a.ignoreCase_,rC(this,a.scheme_),this.setUserInfo(a.getUserInfo()),this.setDomain(a.getDomain()),this.setPort(a.getPort()),this.setPath(a.getPath()),H7b(this,a.queryData_.clone()),I7b(this,a.fragment_)):a&&(c=String(a).match(h2b))?(this.ignoreCase_=!!b,rC(this,c[1]||"",!0),this.setUserInfo(c[2]||"",!0),this.setDomain(c[3]||
"",!0),this.setPort(c[4]),this.setPath(c[5]||"",!0),H7b(this,c[6]||"",!0),I7b(this,c[7]||"",!0)):(this.ignoreCase_=!!b,this.queryData_=new sC(null,this.ignoreCase_))};
Do.prototype.toString=function(){var a=[],b=this.scheme_;b&&a.push(J7b(b,K7b,!0),":");var c=this.getDomain();if(c||"file"==b)a.push("//"),(b=this.getUserInfo())&&a.push(J7b(b,K7b,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.getPort(),null!=c&&a.push(":",String(c));if(c=this.getPath())this.hasDomain()&&"/"!=c.charAt(0)&&a.push("/"),a.push(J7b(c,"/"==c.charAt(0)?L7b:M7b,!0));(c=this.queryData_.toString())&&a.push("?",c);(c=this.fragment_)&&a.push("#",J7b(c,
N7b));return a.join("")};
Do.prototype.resolve=function(a){var b=this.clone(),c=!!a.scheme_;c?rC(b,a.scheme_):c=a.hasUserInfo();c?b.setUserInfo(a.getUserInfo()):c=a.hasDomain();c?b.setDomain(a.getDomain()):c=a.hasPort();var d=a.getPath();if(c)b.setPort(a.getPort());else if(c=a.hasPath()){if("/"!=d.charAt(0))if(this.hasDomain()&&!this.hasPath())d="/"+d;else{var e=b.getPath().lastIndexOf("/");-1!=e&&(d=b.getPath().slice(0,e+1)+d)}e=d;if(".."==e||"."==e)d="";else if(fa(e,"./")||fa(e,"/.")){d=Th(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?H7b(b,a.queryData_.clone()):c=!!a.fragment_;c&&I7b(b,a.fragment_);return b};Do.prototype.clone=function(){return new Do(this)};var rC=function(a,b,c){a.scheme_=c?tC(b,!0):b;a.scheme_&&(a.scheme_=a.scheme_.replace(/:$/,""));return a};f=Do.prototype;f.getUserInfo=function(){return this.userInfo_};
f.setUserInfo=function(a,b){this.userInfo_=b?tC(a):a;return this};f.hasUserInfo=function(){return!!this.userInfo_};f.getDomain=function(){return this.domain_};f.setDomain=function(a,b){this.domain_=b?tC(a,!0):a;return this};f.hasDomain=function(){return!!this.domain_};f.getPort=function(){return this.port_};f.setPort=function(a){if(a){a=Number(a);if(isNaN(a)||0>a)throw Error("Mb`"+a);this.port_=a}else this.port_=null;return this};f.hasPort=function(){return null!=this.port_};f.getPath=function(){return this.path_};
f.setPath=function(a,b){this.path_=b?tC(a,!0):a;return this};f.hasPath=function(){return!!this.path_};f.hasQuery=function(){return""!==this.queryData_.toString()};var H7b=function(a,b,c){b instanceof sC?(a.queryData_=b,a.queryData_.setIgnoreCase(a.ignoreCase_)):(c||(b=J7b(b,O7b)),a.queryData_=new sC(b,a.ignoreCase_));return a};Do.prototype.setQuery=function(a){return H7b(this,a)};Do.prototype.getQuery=function(){return this.queryData_.toString()};
var uC=function(a,b,c){a.queryData_.set(b,c);return a},vC=function(a,b){return a.queryData_.get(b)},I7b=function(a,b,c){a.fragment_=c?tC(b):b;return a},P7b=function(a){uC(a,"zx",rRb());return a};Do.prototype.removeParameter=function(a){this.queryData_.remove(a);return this};Do.prototype.isReadOnly=function(){return!1};Do.prototype.setIgnoreCase=function(a){this.ignoreCase_=a;this.queryData_&&this.queryData_.setIgnoreCase(a)};
var wC=function(a,b){return a instanceof Do?a.clone():new Do(a,b)},Q7b=function(a,b,c,d,e){var g=new Do(null);a&&rC(g,a);b&&g.setUserInfo(b);c&&g.setDomain(c);d&&g.setPort(d);e&&g.setPath(e);return g},tC=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},J7b=function(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,R7b),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},R7b=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},
K7b=/[#\/\?@]/g,M7b=/[#\?:]/g,L7b=/[#\?]/g,O7b=/[#\?@]/g,N7b=/#/g,sC=function(a,b){this.count_=this.keyMap_=null;this.encodedQuery_=a||null;this.ignoreCase_=!!b},xC=function(a){a.keyMap_||(a.keyMap_=new Map,a.count_=0,a.encodedQuery_&&i2b(a.encodedQuery_,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};f=sC.prototype;f.getCount=function(){xC(this);return this.count_};
f.add=function(a,b){xC(this);this.encodedQuery_=null;a=yC(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){xC(this);a=yC(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(){xC(this);return 0==this.count_};f.containsKey=function(a){xC(this);a=yC(this,a);return this.keyMap_.has(a)};
f.containsValue=function(a){var b=this.getValues();return qa(b,a)};f.forEach=function(a,b){xC(this);this.keyMap_.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};f.getKeys=function(){xC(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){xC(this);var b=[];if("string"===typeof a)this.containsKey(a)&&(b=b.concat(this.keyMap_.get(yC(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){xC(this);this.encodedQuery_=null;a=yC(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(yC(this,a),ta(b)),this.count_+=b.length)};f.toString=function(){if(this.encodedQuery_)return this.encodedQuery_;if(!this.keyMap_)return"";for(var a=[],b=Array.from(this.keyMap_.keys()),c=0;c<b.length;c++){var d=b[c],e=encodeURIComponent(String(d));d=this.getValues(d);for(var g=0;g<d.length;g++){var h=e;""!==d[g]&&(h+="="+encodeURIComponent(String(d[g])));a.push(h)}}return this.encodedQuery_=a.join("&")};
f.clone=function(){var a=new sC;a.encodedQuery_=this.encodedQuery_;this.keyMap_&&(a.keyMap_=new Map(this.keyMap_),a.count_=this.count_);return a};var yC=function(a,b){b=String(b);a.ignoreCase_&&(b=b.toLowerCase());return b};sC.prototype.setIgnoreCase=function(a){a&&!this.ignoreCase_&&(xC(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};
sC.prototype.extend=function(a){for(var b=0;b<arguments.length;b++)F7b(arguments[b],function(c,d){this.add(d,c)},this)};var S7b=function(a){var b="";Sb(a,function(c,d){b+=d;b+=":";b+=c;b+="\r\n"});return b},T7b=function(a,b,c){if(Ub(c))return a;c=S7b(c);if("string"===typeof a)return n2b(a,encodeURIComponent(String(b)),c);uC(a,b,c);return a};var bq=function(a){BA.call(this);this.handler_=a;this.keys_={}};ts(bq,BA);var U7b=[];bq.prototype.listen=function(a,b,c,d){Array.isArray(b)||(b&&(U7b[0]=b.toString()),b=U7b);for(var e=0;e<b.length;e++){var g=zo(a,b[e],c||this.handleEvent,d||!1,this.handler_||this);if(!g)break;this.keys_[g.key]=g}return this};bq.prototype.listenOnce=function(a,b,c,d){return V7b(this,a,b,c,d)};
var V7b=function(a,b,c,d,e,g){if(Array.isArray(c))for(var h=0;h<c.length;h++)V7b(a,b,c[h],d,e,g);else{b=HA(b,c,d||a.handleEvent,e,g||a.handler_||a);if(!b)return a;a.keys_[b.key]=b}return a};
bq.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=va(d)?!!d.capture:!!d,e=e||this.handler_||this,c=X_b(c),d=!!d,b=FA(a)?a.getListener(b,c,d,e):a?(a=Z_b(a))?a.getListener(b,c,d,e):null:null,b&&(JA(b),delete this.keys_[b.key]);return this};bq.prototype.removeAll=function(){Sb(this.keys_,function(a,b){this.keys_.hasOwnProperty(b)&&JA(a)},this);this.keys_={}};
bq.prototype.disposeInternal=function(){bq.superClass_.disposeInternal.call(this);this.removeAll()};bq.prototype.handleEvent=function(){throw Error("Ob");};var W7b=function(){this.isInputValid_=!0;this.streamPos_=0;this.leftoverInput_=""};W7b.prototype.error_=function(a,b){this.isInputValid_=!1;throw Error("Pb`"+this.streamPos_+"`"+b+"`"+a);};
W7b.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=pJb(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 th=function(){this.errorMessage_=null;this.result_=[];this.countLengthBytes_=this.length_=this.tag_=this.state_=this.streamPos_=0;this.messageBuffer_=null;this.countMessageBytes_=0};th.prototype.getErrorMessage=function(){return this.errorMessage_};th.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_);};th.prototype.acceptsBinaryInput=function(){return!0};
th.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 uh=function(){this.errorMessage_=null;this.streamPos_=0;this.base64Decoder_=new W7b;this.pbParser_=new th};uh.prototype.getErrorMessage=function(){return this.errorMessage_};uh.prototype.error_=function(a,b){this.errorMessage_="The stream is broken @"+this.streamPos_+". Error: "+b+". With input:\n"+a;throw Error(this.errorMessage_);};uh.prototype.acceptsBinaryInput=function(){return!1};
uh.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 zC=function(a){return"\r"==a||"\n"==a||" "==a||"\t"==a};var Mpa=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)},X7b={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=Mpa.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(;K<a.length;)if(zC(a[K]))K++,g.pos_++;else break;return K<x}function c(){for(var P;;){P=a[K++];if(!P)break;g.pos_++;switch(g.state_){case q.INIT:"{"===P?g.state_=q.OBJECT_OPEN:"["===P?g.state_=q.ARRAY_OPEN:zC(P)||g.error_(a,K);continue;case q.KEY_START:case q.OBJECT_OPEN:if(zC(P))continue;if(g.state_===q.KEY_START)h.push(q.KEY_END);else if("}"===P){e("{}");g.state_=d();continue}else h.push(q.OBJECT_END);'"'===P?g.state_=q.STRING:g.error_(a,K);continue;case q.KEY_END:case q.OBJECT_END:if(zC(P))continue;
":"===P?(g.state_===q.OBJECT_END&&(h.push(q.OBJECT_END),g.depth_++),g.state_=q.VALUE):"}"===P?(g.depth_--,e(),g.state_=d()):","===P?(g.state_===q.OBJECT_END&&h.push(q.OBJECT_END),g.state_=q.KEY_START):g.error_(a,K);continue;case q.ARRAY_OPEN:case q.VALUE:if(zC(P))continue;if(g.state_===q.ARRAY_OPEN)if(g.depth_++,g.state_=q.VALUE,"]"===P){g.depth_--;if(0===g.depth_){g.state_=q.ARRAY_END;return}e("[]");g.state_=d();continue}else h.push(q.ARRAY_END);'"'===P?g.state_=q.STRING:"{"===P?g.state_=q.OBJECT_OPEN:
"["===P?g.state_=q.ARRAY_OPEN:"t"===P?g.state_=q.TRUE1:"f"===P?g.state_=q.FALSE1:"n"===P?g.state_=q.NULL1:"-"!==P&&(-1!=="0123456789".indexOf(P)?g.state_=q.NUM_DIGIT:g.error_(a,K));continue;case q.ARRAY_END:if(","===P)h.push(q.ARRAY_END),g.state_=q.VALUE,1===g.depth_&&(B=K);else if("]"===P){g.depth_--;if(0===g.depth_)return;e();g.state_=d()}else if(zC(P))continue;else g.error_(a,K);continue;case q.STRING:var Y=K;a:for(;;){for(;0<g.unicodeCount_;)if(P=a[K++],4===g.unicodeCount_?g.unicodeCount_=0:g.unicodeCount_++,
!P)break a;if('"'===P&&!g.slashed_){g.state_=d();break}if("\\"===P&&!g.slashed_&&(g.slashed_=!0,P=a[K++],!P))break;if(g.slashed_)if(g.slashed_=!1,"u"===P&&(g.unicodeCount_=1),P=a[K++])continue;else break;l.lastIndex=K;P=l.exec(a);if(!P){K=a.length+1;break}K=P.index+1;P=a[P.index];if(!P)break}g.pos_+=K-Y;continue;case q.TRUE1:if(!P)continue;"r"===P?g.state_=q.TRUE2:g.error_(a,K);continue;case q.TRUE2:if(!P)continue;"u"===P?g.state_=q.TRUE3:g.error_(a,K);continue;case q.TRUE3:if(!P)continue;"e"===P?
g.state_=d():g.error_(a,K);continue;case q.FALSE1:if(!P)continue;"a"===P?g.state_=q.FALSE2:g.error_(a,K);continue;case q.FALSE2:if(!P)continue;"l"===P?g.state_=q.FALSE3:g.error_(a,K);continue;case q.FALSE3:if(!P)continue;"s"===P?g.state_=q.FALSE4:g.error_(a,K);continue;case q.FALSE4:if(!P)continue;"e"===P?g.state_=d():g.error_(a,K);continue;case q.NULL1:if(!P)continue;"u"===P?g.state_=q.NULL2:g.error_(a,K);continue;case q.NULL2:if(!P)continue;"l"===P?g.state_=q.NULL3:g.error_(a,K);continue;case q.NULL3:if(!P)continue;
"l"===P?g.state_=d():g.error_(a,K);continue;case q.NUM_DECIMAL_POINT:"."===P?g.state_=q.NUM_DIGIT:g.error_(a,K);continue;case q.NUM_DIGIT:if(-1!=="0123456789.eE+-".indexOf(P))continue;else K--,g.pos_--,g.state_=d();continue;default:g.error_(a,K)}}}function d(){var P=h.pop();return null!=P?P:q.VALUE}function e(P){1<g.depth_||(P||(P=-1===B?g.buffer_+a.substring(A,K):a.substring(B,K)),g.deliverMessageAsRawString_?g.result_.push(P):g.result_.push(JSON.parse(P)),B=K)}for(var g=this,h=g.stack_,l=g.stringInputPattern_,
q=X7b,x=a.length,A=0,B=-1,K=0;K<x;)switch(g.streamState_){case 3:return g.error_(a,K),null;case 2:return b()&&g.error_(a,K),null;case 0:if(b()){var N=a[K++];g.pos_++;if("["===N){g.streamState_=1;A=K;g.state_=q.ARRAY_OPEN;continue}else g.error_(a,K)}return null;case 1:return c(),0===g.depth_&&g.state_==q.ARRAY_END?(g.streamState_=2,g.buffer_=a.substring(K)):g.buffer_=-1===B?g.buffer_+a.substring(A):a.substring(B),0<g.result_.length?(N=g.result_,g.result_=[],N):null}return null};var Lpa=function(){this.errorMessage_=this.jsonStreamParser_=null;this.state_=this.streamPos_=0;this.result_=[];this.statusParsed_=!1};Lpa.prototype.getErrorMessage=function(){return this.errorMessage_};Lpa.prototype.acceptsBinaryInput=function(){return!1};
Lpa.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 Mpa({allowCompactJsonArrayFormat:!0,deliverMessageAsRawString:!0})}function d(q){if(q)for(var x=0;x<q.length;x++){var A={};A[1]=q[x];g.result_.push(A)}}function e(q){if(q){(g.statusParsed_||1<q.length)&&b("extra status: "+q);g.statusParsed_=!0;var x={};x[2]=q[0];g.result_.push(x)}}for(var g=
this,h=0;h<a.length;){var l;if(l=2!==g.state_){a:{for(;h<a.length;){if(!zC(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 Y7b=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 bq(this);this.eventHandler_.listen(this.xhr_,"readystatechange",this.readyStateChangeHandler_)};Y7b.prototype.getXhr=function(){return this.xhr_};
var AC=function(a,b){a.status_!=b&&(a.status_=b,a.statusHandler_&&a.statusHandler_())},Z7b=function(a){a.eventHandler_.removeAll();if(a.xhr_){var b=a.xhr_;a.xhr_=null;b.abort();b.dispose()}};Y7b.prototype.getStatus=function(){return this.status_};
Y7b.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?AC(this,7):7==c?AC(this,8):d||AC(this,3)),this.parser_||(this.parser_=Npa(this.xhr_),
null==this.parser_&&AC(this,5)),2<this.status_)Z7b(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(A){AC(this,
5);Z7b(this);break a}}else if(e.length>this.pos_){l=e.slice(this.pos_);this.pos_=e.length;try{var x=this.parser_.parse(l);null!=x&&this.dataHandler_&&this.dataHandler_(x)}catch(A){AC(this,5);Z7b(this);break a}}4==b?(0!=e.length||this.hasStreamingResponseData_?AC(this,2):AC(this,4),Z7b(this)):AC(this,1)}}}catch(A){AC(this,6),Z7b(this)}};var $7b=function(a){this.xhrReader_=a;a=rs(this.onData_,this);this.xhrReader_.dataHandler_=a;a=rs(this.onStatusChange_,this);this.xhrReader_.statusHandler_=a;this.callbackMap_={};this.callbackOnceMap_={}};f=$7b.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&&ra(c,b);(a=this.callbackOnceMap_[a])&&ra(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&&a8b(this,a,b);(b=this.callbackOnceMap_.data)&&a8b(this,a,b);this.callbackOnceMap_.data=[]};
var a8b=function(a,b,c){for(var d={},e=0;e<b.length;d={$jscomp$loop$prop$message$2284:d.$jscomp$loop$prop$message$2284},e++)d.$jscomp$loop$prop$message$2284=b[e],c.forEach(function(g){return function(h){try{h(g.$jscomp$loop$prop$message$2284)}catch(l){a.handleError_("message-callback exception (ignored) "+l)}}}(d))};
$7b.prototype.onStatusChange_=function(){switch(this.xhrReader_.getStatus()){case 1:b8b(this,"readable");break;case 5:case 6:case 4:case 7:case 3:b8b(this,"error");break;case 8:b8b(this,"close");break;case 2:b8b(this,"end")}};var b8b=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]=[]};$7b.prototype.handleError_=function(){};var BC=function(a){a=void 0===a?{}:a;this.suppressCorsPreflight_=a.suppressCorsPreflight||uo("suppressCorsPreflight",a)||!1;this.withCredentials_=a.withCredentials||uo("withCredentials",a)||!1;this.streamInterceptors_=a.streamInterceptors||[];this.unaryInterceptors_=a.unaryInterceptors||[];this.workerScope_=a.workerScope;this.chunkedServerStreaming_=a.useFetchDownloadStreams||!1},e8b=function(a,b,c,d,e){var g=b.substr(0,b.length-e.name.length);return c8b(function(h){return new p7b(function(l,q){var x=
{},A=d8b(a,h,g);A.on("error",function(B){return q(B)});A.on("metadata",function(B){x=B});A.on("data",function(B){var K=x;K=void 0===K?{}:K;l(new l7b(B,h.getMethodDescriptor(),K))})})},a.unaryInterceptors_).call(a,m7b(e,c,d)).then(function(h){return h.responseMessage_})},CC=function(a,b,c,d,e){return e8b(a,b,c,d,e)};
BC.prototype.serverStreaming=function(a,b,c,d){var e=this,g=a.substr(0,a.length-d.name.length);return c8b(function(h){var l=h.getMethodDescriptor(),q=h.getMetadata(),x=f8b(e,!1);q=g8b(e,q,x,g+l.getName());var A=h8b(x,l.responseDeserializeFn,!0);h=l.requestSerializeFn(h.requestMessage_);x.send(q,"POST",h);return A},this.streamInterceptors_).call(this,m7b(d,b,c))};
var d8b=function(a,b,c){var d=b.getMethodDescriptor(),e=b.getMetadata(),g=f8b(a,!0);a=g8b(a,e,g,c+d.getName());c=h8b(g,d.responseDeserializeFn,!1);y7b(c,"base64"==e["X-Goog-Encode-Response-If-Executable"]);b=d.requestSerializeFn(b.requestMessage_);g.send(a,"POST",b);return c},f8b=function(a,b){b=a.chunkedServerStreaming_&&!b;return a.workerScope_||b?new fB(new oC({worker:a.workerScope_,streamBinaryChunks:b})):new fB},g8b=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=T7b(d,"$httpHeaders",b);else for(var g in b)c.headers.set(g,b[g]);return d},h8b=function(a,b,c){if(c)if(!vs||10<=Number(zs)){c=new Y7b(a);var d=new $7b(c)}else d=null;return new nC({xhr:a,nodeReadableStream:d},b)},c8b=function(a,b){var c=a;b.forEach(function(d){var e=c;c=function(g){return d.intercept(g,
e)}});return c};var i8b=function(a){this.client_=new BC({format:"jspb"});this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};var j8b=function(a){r.call(this,a)};U(j8b,r);j8b.prototype.getUserPrefs=function(){return Z(this,eC,1)};var k8b=Rb(j8b);j8b.prototype.toObject=function(){if(null!=this){t(this);var a={userPrefs:i7b(this.getUserPrefs())}}else a=void 0;return a};var l8b=new kC("/google.internal.devopsconsole.v1.UserPrefsTaskService/GetUserPrefs",gC,j8b,function(a){return a.serialize()},k8b);var DC=function(a){r.call(this,a)};U(DC,r);DC.repeatedFields_=[1];DC.prototype.toObject=function(){return EC(this)};var EC=function(a){if(null!=a)return t(a),{pathsList:p(Ih(a,1))}};var m8b=function(a){this.client_=new BC({format:"jspb"});this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};m8b.prototype.getUserPrefs=function(a,b){return CC(this.client_,this.hostname_+"/$rpc/google.internal.devopsconsole.v1.UserPrefsTaskService/GetUserPrefs",a,b||{},l8b)};var n8b=function(a,b){this.target=a;this.targetElement=b;this.value=this.target.value},FC=function(a,b,c){var d=this;this._elementRef=a;this._dateAdapter=b;this._dateFormats=c;this.dateChange=new Gv;this.dateInput=new Gv;this.stateChanges=new E.Subject;this._onTouched=function(){};this._validatorOnChange=function(){};this._cvaOnChange=function(){};this._localeSubscription=this._valueChangesSubscription=E.Subscription.EMPTY;this._parseValidator=function(){return d._lastValueValid?null:{matDatepickerParse:{text:d._elementRef.nativeElement.value}}};
this._filterValidator=function(e){e=fz(d._dateAdapter,d._dateAdapter.deserialize(e.value));return!e||d._matchesFilter(e)?null:{matDatepickerFilter:!0}};this._minValidator=function(e){e=fz(d._dateAdapter,d._dateAdapter.deserialize(e.value));var g=d._rangeInput.min;return!g||!e||0>=gz(d._dateAdapter,g,e)?null:{matDatepickerMin:{min:g,actual:e}}};this._maxValidator=function(e){e=fz(d._dateAdapter,d._dateAdapter.deserialize(e.value));var g=d._rangeInput.max;return!g||!e||0<=gz(d._dateAdapter,g,e)?null:
{matDatepickerMax:{max:g,actual:e}}};this._lastValueValid=!1;this._localeSubscription=b.localeChanges.subscribe(function(){d._assignValueProgrammatically(d.value)})};f=FC.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 n8b(b,b._elementRef.nativeElement)),b.dateChange.emit(new n8b(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(xYb(d)&&xYb(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"];Bg(a,"altKey")&&40===a.keyCode&&b.every(function(c){return!Bg(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=fz(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 n8b(this,this._elementRef.nativeElement)))};f._onChange=function(){this.dateChange.emit(new n8b(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=fz(this._dateAdapter,a);this._assignValue(a);this._formatValue(a)};f._matchesFilter=function(a){var b=this._rangeInput.dateFilter;return!b||b(a)};
hh.Object.defineProperties(FC.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=xg(a);var b=this._elementRef.nativeElement;this._disabled!==a&&(this._disabled=a,this.stateChanges.next(void 0));a&&this._isInitialized&&b.blur&&b.blur()}}});
FC.\u0275fac=function(a){return new (a||FC)(C(vd),C(ez,8),C(hz,8))};FC.\u0275dir=Kc({type:FC,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[Zc]});var o8b=new Rc("MAT_DATE_RANGE_INPUT_PARENT"),GC=function(a,b,c,d,e,g,h,l){FC.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=Ac(Cy,{optional:!0})};U(GC,FC);f=GC.prototype;f.ngOnInit=function(){var a=this._injector.get(Dw,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){FC.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){FC.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 Opa(this._elementRef.nativeElement,!0)};
GC.\u0275fac=function(a){return new (a||GC)(C(o8b),C(vd),C(iz),C(bv),C(Jw,8),C(Sw,8),C(ez,8),C(hz,8))};GC.\u0275dir=Kc({type:GC,features:[bf]});Loa(GC);var p8b={provide:new Rc("mat-datepicker-scroll-strategy"),deps:[$y],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}};ih(function(a){this._elementRef=a});var q8b=new Rc("mat-mdc-fab-default-options",{providedIn:"root",factory:Ppa});[].concat(Vc(["disabled","disableRipple","color","tabIndex"]),["extended"]);var HC=function(){};HC.\u0275fac=function(a){return new (a||HC)};HC.\u0275mod=Ic({type:HC});HC.\u0275inj=rc({imports:[dz,nz,dz]});var IC=function(){};IC.\u0275fac=function(a){return new (a||IC)};IC.\u0275mod=Ic({type:IC});IC.\u0275inj=rc({providers:[xz,p8b],imports:[sw,HC,cz,py,sx,dz,Py]});var JC=function(){};JC.\u0275fac=function(a){return new (a||JC)};JC.\u0275mod=Ic({type:JC});JC.\u0275inj=rc({providers:[J4b],imports:[py,sw,cz,dz,dz,Py]});var KC=function(){};KC.\u0275fac=function(a){return new (a||KC)};KC.\u0275mod=Ic({type:KC});KC.\u0275inj=rc({providers:[{provide:O4b,useFactory:function(a){return new m8b(Qpa(a))},deps:[P4b]},{provide:N4b,useFactory:function(a){return new i8b(Qpa(a))},deps:[P4b]},hC],imports:[sw,jC,iC,IC,aA,MB,mA,EB,JC]});var r8b=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"})};r8b.prototype.record=function(a,b,c,d){this.streamzService_.record(this.metricName_,a,b,c,d)};r8b.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};
var s8b=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"})};s8b.prototype.increment=function(a,b,c){this.streamzService_.incrementCounter(this.metricName_,a,b,c)};s8b.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};
var t8b=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"})};t8b.prototype.record=function(a,b,c,d){this.streamzService_.record(this.metricName_,a,b,c,d)};t8b.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};var u8b="alternate author bookmark canonical cite help icon license next prefetch dns-prefetch prerender preconnect preload prev search subresource".split(" ");var v8b=function(a){this.servicePromise_=a;a.then(rs(function(){},this),function(){},this)},w8b=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)})},y8b=function(a,b,c){for(var d=Array(arguments.length-2),e=2;e<arguments.length;e++)d[e-2]=arguments[e];e=x8b(a,b).then(function(g){return g.apply(null,d)});return new v8b(e)},z8b={},x8b=function(a,b){var c=z8b[b];if(c)return c;c=(c=uo(b))?M0b(c):(new VA(function(d,e){var g=(new LA(document)).createElement("SCRIPT");
g.async=!0;wh(g,Fn(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=uo(b);if(!d)throw Error("Ub`"+b+"`"+a);return d});return z8b[b]=c};var A8b=function(a){this.loader_=a};A8b.prototype.startFeedback=function(a){w8b(this.loader_,"startFeedback",arguments)};A8b.prototype.requestSurvey=function(a){w8b(this.loader_,"requestSurvey",arguments).thenCatch(function(){},this)};A8b.prototype.presentSurvey=function(a){w8b(this.loader_,"presentSurvey",arguments).thenCatch(function(){},this)};var B8b=Gn("https://www.gstatic.com/feedback/js/help/prod/service/lazy.min.js");x8b(B8b,"help.service.Lazy.create").thenCatch(function(){});var LC=function(){},MC=function(){};var NC=function(a){r.call(this,a,0,NC.messageId)};U(NC,r);f=NC.prototype;f.getAuthor=function(){return V(this,1)};f.setAuthor=function(a){n(this,1,a)};f.getDescription=function(){return V(this,2)};f.setDescription=function(a){return n(this,2,a)};f.hasDescription=function(){return wk(this,2)};f.getPending=function(){return Jj(this,3)};f.getTimestamp=function(){return gj(this,4)};f.setTimestamp=function(a){return n(this,4,a)};f.hasTimestamp=function(){return Ok(this,4)};NC.repeatedFields_=[5];
NC.prototype.toObject=function(){if(null!=this){t(this);var a={author:p(m(this,1)),description:p(m(this,2)),pending:p(ar(this,3)),timestamp:p(m(this,4)),affectedFilesList:p(Ih(this,5))}}else a=void 0;return a};NC.messageId="b.ChangelistDetailsResponse";var OC=function(a){r.call(this,a)};U(OC,r);OC.prototype.getIssueIdsList=function(){return Hh(this,1)};OC.prototype.setIssueIdsList=function(a){return kj(this,1,a)};OC.prototype.addIssueIds=function(a){wb(this,1,a)};OC.prototype.getAuthorEmail=function(){return V(this,3)};OC.repeatedFields_=[1];OC.prototype.toObject=function(){return C8b(this)};
var C8b=function(a){if(null!=a)return t(a),{issueIdsList:p(Hh(a,1)),changelistStatus:p(kr(a,2)),authorEmail:p(m(a,3)),reviewerEmail:p(m(a,4)),ccEmail:p(m(a,5))}};var D8b=function(a){r.call(this,a,0,D8b.messageId)};U(D8b,r);f=D8b.prototype;f.getQuery=function(){return Z(this,OC,1)};f.setQuery=function(a){return Yi(this,OC,1,a)};f.clearQuery=function(){Js(this,1)};f.hasQuery=function(){return Dj(this,OC,1)};f.getNextPageToken=function(){return V(this,2)};f.toObject=function(){if(null!=this){t(this);var a={query:C8b(this.getQuery()),nextPageToken:p(m(this,2))}}else a=void 0;return a};D8b.messageId="b.ListChangelistsRequest";var E8b=function(a){r.call(this,a)};U(E8b,r);f=E8b.prototype;f.getAuthor=function(){return V(this,1)};f.setAuthor=function(a){n(this,1,a)};f.getPending=function(){return Jj(this,3)};f.getTimestamp=function(){return Z(this,Ch,4)};f.setTimestamp=function(a){return Yi(this,Ch,4,a)};f.hasTimestamp=function(){return Dj(this,Ch,4)};f.getIssueIdsList=function(){return Hh(this,5)};f.setIssueIdsList=function(a){return kj(this,5,a)};f.addIssueIds=function(a){wb(this,5,a)};E8b.repeatedFields_=[5,6];
E8b.prototype.toObject=function(){return F8b(this)};var F8b=function(a){if(null!=a)return t(a),{author:p(m(a,1)),changelistNumber:p(Os(a,2)),pending:p(ar(a,3)),timestamp:yt(a.getTimestamp()),issueIdsList:p(Hh(a,5)),fixedIssueIdsList:p(Hh(a,6))}};var PC=function(a){r.call(this,a,0,PC.messageId)};U(PC,r);PC.prototype.getChangelistsList=function(){return aj(this,E8b,1)};PC.prototype.getNextPageToken=function(){return V(this,2)};PC.repeatedFields_=[1];PC.prototype.toObject=function(){if(null!=this){t(this);var a={changelistsList:Kb(this.getChangelistsList(),F8b),nextPageToken:p(m(this,2))}}else a=void 0;return a};PC.messageId="b.ListChangelistsResponse";var QC=function(a){r.call(this,a,0,QC.messageId)};U(QC,r);QC.repeatedFields_=[1];QC.prototype.toObject=function(){if(null!=this){t(this);var a={changelistNumbersList:p(Fh(this,1))}}else a=void 0;return a};QC.messageId="b.PendingChangelistsResponse";var RC=function(a){this.executor=a};RC.prototype.getPendingChangelistsForIssue=function(a){return this.executor.get({url:"action/issues/"+a+"/pending_changelists",responseConstructor:QC}).pipe(D(aqa))};RC.prototype.getChangelistDetails=function(a){return this.executor.get({url:"/action/changelists/"+a,responseConstructor:NC}).pipe(D(dqa))};
var G8b=function(a,b){var c=new D8b,d=c.setQuery;b=(new OC).setIssueIdsList(b);b=n(b,2,2);c=d.call(c,b);return a.executor.post({url:"action/changelists/list",body:c,responseConstructor:PC}).pipe(D(cqa))};RC.\u0275fac=function(a){return new (a||RC)(u(LC))};RC.\u0275prov=qc({token:RC,factory:RC.\u0275fac,providedIn:"root"});var SC=function(a){this.changelistResources=a};SC.prototype.getPendingChangelistsForIssue=function(a){return(0,E.firstValueFrom)(this.changelistResources.getPendingChangelistsForIssue(a))};
SC.prototype.getChangelistDetails=function(a){return(0,E.firstValueFrom)(this.changelistResources.getChangelistDetails(a))};SC.\u0275fac=function(a){return new (a||SC)(u(RC))};SC.\u0275prov=qc({token:SC,factory:SC.\u0275fac,providedIn:"root"});var H8b={ACCESS_LEVEL_UNSPECIFIED:"ACCESS_LEVEL_UNSPECIFIED",INTERNAL:"INTERNAL",EXTERNAL_PARTNER:"EXTERNAL_PARTNER",EXTERNAL_PUBLIC:"EXTERNAL_PUBLIC"},Gqa={0:"ACCESS_LEVEL_UNSPECIFIED",1:"INTERNAL",2:"EXTERNAL_PARTNER",3:"EXTERNAL_PUBLIC"},Iqa={ACCESS_LEVEL_UNSPECIFIED:0,INTERNAL:1,EXTERNAL_PARTNER:2,EXTERNAL_PUBLIC:3},fsa={0:"ACCESS_LEVEL_UNSPECIFIED",1:"LIMIT_NONE",2:"LIMIT_VIEW",3:"LIMIT_APPEND",4:"LIMIT_VIEW_TRUSTED"},osa={ACCESS_LEVEL_UNSPECIFIED:0,LIMIT_NONE:1,LIMIT_VIEW:2,LIMIT_APPEND:3,LIMIT_VIEW_TRUSTED:4},
ysa={ACTION_TYPE_UNSPECIFIED:0,ADD:1,REMOVE:2},Ura={0:"OFF",1:"ON"},Vra={OFF:0,ON:1},UFa={0:"CONFIDENCE_LEVEL_UNSPECIFIED",1:"VERY_HIGH",2:"HIGH",3:"MEDIUM",4:"LOW"},I8b={CONFIDENCE_LEVEL_UNSPECIFIED:0,VERY_HIGH:1,HIGH:2,MEDIUM:3,LOW:4},gra={0:"UNKNOWN",1:"TEXT",2:"DATE",3:"ENUM",4:"NUMERIC",5:"REPEATED_TEXT",6:"REPEATED_DATE",7:"REPEATED_ENUM",8:"REPEATED_NUMERIC"},mra={UNKNOWN:0,TEXT:1,DATE:2,ENUM:3,NUMERIC:4,REPEATED_TEXT:5,REPEATED_DATE:6,REPEATED_ENUM:7,REPEATED_NUMERIC:8},Pra={0:"DAY_TYPE_UNSPECIFIED",
1:"CALENDAR",2:"BUSINESS"},Sra={DAY_TYPE_UNSPECIFIED:0,CALENDAR:1,BUSINESS:2},asa={0:"DELETION_REASON_UNSPECIFIED",1:"USER_REQUEST",2:"ABUSE",3:"PII",4:"RETENTION"},msa={DELETION_REASON_UNSPECIFIED:0,USER_REQUEST:1,ABUSE:2,PII:3,RETENTION:4},Yta={1:"COMFORTABLE",2:"COZY",3:"COMPACT"},lua={COMFORTABLE:1,COZY:2,COMPACT:3},Yza={0:"NO_DETAILED_TYPE",1:"UNRESTRICTED_GOOGLER",2:"TVC",3:"EXTERNAL",4:"PUBLIC",5:"ISSUE_CREATION_ONLY"},ota={0:"UNKNOWN_DIFF_TYPE",1:"SINGLE_VALUE",2:"COLLECTION",5:"USER_COLLECTION",
3:"LINKED_COLLECTION",4:"CUSTOM_FIELD",6:"STATUS_UPDATE"},ira={0:"UNKNOWN",1:"SILENT",2:"MINOR",3:"MAJOR",4:"BULK",5:"CLOSING"},nra={UNKNOWN:0,SILENT:1,MINOR:2,MAJOR:3,BULK:4,CLOSING:5},Gk={0:"UNKNOWN_PRIORITY",4:"CLOSURE_ONLY",1:"MINIMAL",2:"IMPORTANT",3:"ALL"},Xk={UNKNOWN_PRIORITY:0,CLOSURE_ONLY:4,MINIMAL:1,IMPORTANT:2,ALL:3},Xta={0:"DEFAULT",1:"ASSIGNMENT",2:"RESPONSE",3:"CLOSURE"},kua={DEFAULT:0,ASSIGNMENT:1,RESPONSE:2,CLOSURE:3},Nib={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"},dta={0:"FIELD_ORDERING_UNSPECIFIED",1:"INHERITED",2:"CUSTOMIZED"},J8b={FIELD_ORDERING_UNSPECIFIED:0,INHERITED:1,CUSTOMIZED:2},hra={0:"UNSPECIFIED",1:"INHERIT",2:"DISABLED",
3:"ENABLED"},K8b={UNSPECIFIED_FORMATTING_AUDIENCE:0,INTERNAL_AUDIENCE:1,EXTERNAL_AUDIENCE:2},L8b={UNSPECIFIED_FORMATTING_MODE:"UNSPECIFIED_FORMATTING_MODE",PLAIN:"PLAIN",MARKDOWN:"MARKDOWN",LITERAL:"LITERAL"},Hta={0:"UNSPECIFIED_FORMATTING_MODE",1:"PLAIN",2:"MARKDOWN",3:"LITERAL"},ksa={UNSPECIFIED_FORMATTING_MODE:0,PLAIN:1,MARKDOWN:2,LITERAL:3},Rqa={0:"IMPLICIT_ACCESS_UNSPECIFIED",1:"ALLOW",2:"DENY"},M8b={IMPLICIT_ACCESS_UNSPECIFIED:0,ALLOW:1,DENY:2},cl={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"},fua={1:cl.ISSUE_ID,2:cl.COMPONENT_PATH,3:cl.TYPE,4:cl.STATUS,5:cl.PRIORITY,6:cl.SEVERITY,7:cl.REPORTER,8:cl.ASSIGNEE,9:cl.VERIFIER,10:cl.CC,43:cl.COLLABORATOR,11:cl.CHANGELIST,32:cl.POSTMORTEM,12:cl.BLOCKING_ISSUE_ID,13:cl.BLOCKED_BY_ISSUE_ID,14:cl.CREATED_TIME,15:cl.MODIFIED_TIME,16:cl.RESOLVED_TIME,17:cl.VERIFIED_TIME,38:cl.DELETION_TIME,18:cl.TITLE,19:cl.FOUND_IN_VERSION,20:cl.TARGETED_TO_VERSION,21:cl.VERIFIED_IN_VERSION,22:cl.IN_PROD,23:cl.CANONICAL_ISSUE_ID,
24:cl.CUSTOM_FIELD,25:cl.POSITION,26:cl.VOTE_COUNT,27:cl.DUPLICATE_COUNT,28:cl.CC_COUNT,44:cl.COLLABORATOR_COUNT,29:cl.MODIFIED_BY,30:cl.LAST_MODIFIER,31:cl.ARCHIVED,33:cl.MIN_SLO,35:cl.ASSIGNMENT_SLO,36:cl.RESPONSE_SLO,37:cl.CLOSURE_SLO,39:cl.TEAM,40:cl.ESTIMATE,41:cl.ESTIMATE_TOTAL_OPEN,42:cl.ESTIMATE_TOTAL_COMPLETE},tua={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},Esa={ISSUE_RELATION_UNSPECIFIED:0,BLOCKING:1,
BLOCKED_BY:2,DUPLICATE:3,CANONICAL:4},bsa={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"},hsa={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},Mib={0:"NODE_JOIN_TYPE_UNSPECIFIED",1:"AND",2:"OR",3:"ERR",4:"NIL"},
N8b={UNKNOWN_SUBSCRIPTION:"UNKNOWN_SUBSCRIPTION",UNSUBSCRIBED:"UNSUBSCRIBED",SUBSCRIBED_CLOSURE_ONLY:"SUBSCRIBED_CLOSURE_ONLY",SUBSCRIBED_MAJOR_UPDATES:"SUBSCRIBED_MAJOR_UPDATES",SUBSCRIBED_ALL_UPDATES:"SUBSCRIBED_ALL_UPDATES"},tta={0:"UNKNOWN_SUBSCRIPTION",1:"UNSUBSCRIBED",2:"SUBSCRIBED_CLOSURE_ONLY",3:"SUBSCRIBED_MAJOR_UPDATES",4:"SUBSCRIBED_ALL_UPDATES"},Bsa={UNKNOWN_SUBSCRIPTION:0,UNSUBSCRIBED:1,SUBSCRIBED_CLOSURE_ONLY:2,SUBSCRIBED_MAJOR_UPDATES:3,SUBSCRIBED_ALL_UPDATES:4},Oib={0:"OPERATOR_UNSPECIFIED",
1:"EQ",2:"GT",3:"LT",4:"GE",5:"LE"},lCb={0:"UNKNOWN_PERMISSION",1:"OPEN_TO_JOIN"},O8b={PII_SEVERITY_UNSPECIFIED:"PII_SEVERITY_UNSPECIFIED",NONE_DETECTED:"NONE_DETECTED",PII:"PII",SPII:"SPII"},Cra={0:"PII_SEVERITY_UNSPECIFIED",1:"NONE_DETECTED",2:"PII",3:"SPII"},Xza={0:"PRINCIPAL_TYPE_UNSPECIFIED",1:"NON_GAIA",2:"USER",3:"GROUP",4:"ALIAS"},P8b={PRIORITY_UNSPECIFIED:"PRIORITY_UNSPECIFIED",P0:"P0",P1:"P1",P2:"P2",P3:"P3",P4:"P4"},csa={0:"PRIORITY_UNSPECIFIED",1:"P0",2:"P1",3:"P2",4:"P3",5:"P4"},isa=
{PRIORITY_UNSPECIFIED:0,P0:1,P1:2,P2:3,P3:4,P4:5},Q8b={REACTION_TYPE_UNSPECIFIED:"REACTION_TYPE_UNSPECIFIED",UPVOTE:"UPVOTE"},Kta={0:"REACTION_TYPE_UNSPECIFIED",1:"UPVOTE"},R8b={REACTION_TYPE_UNSPECIFIED:0,UPVOTE:1},Psa={0:"UNSPECIFIED",1:"USER_REQUEST",2:"ABUSE",3:"PII",4:"RETENTION"},QFa={REJECTION_REASON_UNSPECIFIED:0,REVERSED:1,SIMILAR:2,NOT_SIMILAR:3,OTHER:4},wya={0:"UNKNOWN",1:"HOTLIST",2:"BOOKMARK_GROUP",3:"SAVED_SEARCH"},S8b={UNKNOWN:0,HOTLIST:1,BOOKMARK_GROUP:2,SAVED_SEARCH:3},T8b={RETENTION_UNSPECIFIED:"RETENTION_UNSPECIFIED",
COMPONENT_DEFAULT:"COMPONENT_DEFAULT",INDEFINITE:"INDEFINITE"},$ra={0:"RETENTION_UNSPECIFIED",1:"COMPONENT_DEFAULT",2:"INDEFINITE"},lsa={RETENTION_UNSPECIFIED:0,COMPONENT_DEFAULT:1,INDEFINITE:2},U8b={UNSPECIFIED_RETENTION:"UNSPECIFIED_RETENTION",BUGANIZER_DEFAULT:"BUGANIZER_DEFAULT",CUSTOM_PERIOD:"CUSTOM_PERIOD",INDEFINITE_RETENTION:"INDEFINITE_RETENTION"},xra={0:"UNSPECIFIED_RETENTION",1:"BUGANIZER_DEFAULT",2:"CUSTOM_PERIOD",3:"INDEFINITE_RETENTION"},zra={UNSPECIFIED_RETENTION:0,BUGANIZER_DEFAULT:1,
CUSTOM_PERIOD:2,INDEFINITE_RETENTION:3},dsa={0:"SEVERITY_UNSPECIFIED",1:"S0",2:"S1",3:"S2",4:"S3",5:"S4"},jsa={SEVERITY_UNSPECIFIED:0,S0:1,S1:2,S2:3,S3:4,S4:5},V8b={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"},gua={0:"SIGNAL_TYPE_UNKNOWN",1:"NEAR_SLO",2:"MENTIONED",6:"REPLIED_TO_MENTION",7:"NEWLY_BLOCKING",
3:"UNBLOCKED",5:"ASSIGNED",4:"NEEDS_REPORTER_INPUT"},vua={SIGNAL_TYPE_UNKNOWN:0,NEAR_SLO:1,MENTIONED:2,REPLIED_TO_MENTION:6,NEWLY_BLOCKING:7,UNBLOCKED:3,ASSIGNED:5,NEEDS_REPORTER_INPUT:4},Hib={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"},kCb={0:"UNKNOWN",1:"NORMAL",2:"LARGE",3:"HUGE",4:"ENORMOUS"},Ora={0:"METRIC_UNSPECIFIED",1:"ASSIGNMENT",2:"RESPONSE",
3:"CLOSURE"},Rra={METRIC_UNSPECIFIED:0,ASSIGNMENT:1,RESPONSE:2,CLOSURE:3},esa={0:"SLO_SNOOZE_TYPE_UNSPECIFIED",1:"STARTS_ON",2:"ASSIGNMENT_ETA",3:"RESPONSE_ETA",4:"CLOSURE_ETA"},nsa={SLO_SNOOZE_TYPE_UNSPECIFIED:0,STARTS_ON:1,ASSIGNMENT_ETA:2,RESPONSE_ETA:3,CLOSURE_ETA:4},cta={0:"SLO_SOURCE_UNSPECIFIED",1:"USER",2:"BUGSCOPE"},Hra={SLO_SOURCE_UNSPECIFIED:0,USER:1,BUGSCOPE:2},ara={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"},cra={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},kkb={0:"STATE_UNSPECIFIED",1:"STATE_DISABLED",2:"STATE_ENABLED"},W8b={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"},ej={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"},jj={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},Qsa={0:"ACTIVE",1:"DELETED",2:"PURGED"},Pta={0:"THEME_UNSPECIFIED",1:"GOOGLE",2:"OPEN_SOURCE"},nya={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"},pya={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},Qib={0:"QUERY_BUILDER_RESPONSE_TYPE_UNSPECIFIED",1:"AND",2:"OR"},TFa={0:"TYPE_UNSPECIFIED",1:"ISSUE_DEDUPLICATION"},X8b={TYPE_UNSPECIFIED:0,ISSUE_DEDUPLICATION:1},PFa={TYPE_UNSPECIFIED:0,VIEWED:1,ACCEPTED:2,REJECTED:3},Nqa={0:"UNSPECIFIED",1:"ACTIVE",2:"DELETED",3:"UNAVAILABLE"},Oqa={UNSPECIFIED:0,ACTIVE:1,DELETED:2,UNAVAILABLE:3},lkb={0:"USER_GROUP_UNSPECIFIED",1:"USER_GROUP_BUGANIZER_TEAM",2:"USER_GROUP_TRUSTED_TESTER"},Jib=
{0:"VALUE_TYPE_UNSPECIFIED",1:"NOT",2:"OR",3:"AND",4:"RANGE",5:"SIMPLE"},Y8b={VIEW_UNSPECIFIED:0,BASIC:1,FULL:2};var kqa=Object.prototype.hasOwnProperty;var Yh=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};
Yh.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};Yh.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 Cqa={UNSPECIFIED:0,INHERIT:1,DISABLED:2,ENABLED:3};var Bi=function(a){r.call(this,a,0,Bi.messageId)};U(Bi,r);f=Bi.prototype;f.getCustomFieldId=function(){return gj(this,no(this,TC,1))};f.setCustomFieldId=function(a){return $n(this,1,TC,a)};f.hasCustomFieldId=function(){return null!=$s(this,1,TC)};f.getStandardField=function(){return W(this,no(this,TC,2),0)};f.setStandardField=function(a){$n(this,2,TC,a)};var TC=[1,2];Bi.prototype.toObject=function(){return Z8b(this)};
var Z8b=function(a){if(null!=a)return t(a),{customFieldId:p($s(a,1,TC)),standardField:p(at(a,2,TC))}};Bi.messageId="b.FieldId";var UC=function(a){r.call(this,a,0,UC.messageId)};U(UC,r);f=UC.prototype;f.getFieldId=function(){return Z(this,Bi,1)};f.setFieldId=function(a){Yi(this,Bi,1,a)};f.getStateOnIssues=function(){return W(this,2,0)};f.setStateOnIssues=function(a){n(this,2,a)};f.getEnabledOnIssues=function(){return Jj(this,3)};f.setEnabledOnIssues=function(a){Lj(this,3,a)};
f.toObject=function(){if(null!=this){t(this);var a={fieldId:Z8b(this.getFieldId()),stateOnIssues:p(kr(this,2)),enabledOnIssues:p(ar(this,3))}}else a=void 0;return a};UC.messageId="b.FieldConfig";var Xh=function(){this.required=!1;this.allowedValue=null;this.stateOnIssues=1;this.shared=!1;this.type="TEXT";this.fieldSignificance="MINOR"};Xh.prototype.isDate=function(){return"DATE"===this.type};Xh.prototype.isText=function(){return"TEXT"===this.type};Xh.prototype.isNumeric=function(){return"NUMERIC"===this.type};Xh.prototype.isRepeated=function(){return["REPEATED_TEXT","REPEATED_DATE","REPEATED_ENUM","REPEATED_NUMERIC"].includes(this.type)};var rCb=new Set([{alias:"googlers_unrestricted"},{alias:"google_domain"}].map(function(a){return"ALIAS:"+a.alias})),$8b={AGGREGATION_TYPE_UNSPECIFIED:"AGGREGATION_TYPE_UNSPECIFIED",SUM:"SUM",MAX:"MAX"};var $h=function(a){r.call(this,a,0,$h.messageId)};U($h,r);$h.prototype.getAccessLevel=function(){return W(this,1,0)};$h.prototype.setAccessLevel=function(a){return n(this,1,a)};$h.prototype.toObject=function(){return a9b(this)};var a9b=function(a){if(null!=a)return t(a),{accessLevel:p(kr(a,1))}};$h.messageId="b.AccessLimit";var Vi=function(a){r.call(this,a)};U(Vi,r);f=Vi.prototype;f.getEmailAddress=function(){return V(this,1)};f.setEmailAddress=function(a){mj(this,1,a)};f.getObfuscatedEmailAddress=function(){return V(this,2)};f.setObfuscatedEmailAddress=function(a){mj(this,2,a)};f.getUserGaiaStatus=function(){return W(this,3,0)};f.setUserGaiaStatus=function(a){Pi(this,3,a)};f.getAliasesList=function(){return Ih(this,4)};f.setAliasesList=function(a){Fi(this,4,a)};Vi.repeatedFields_=[4];Vi.prototype.toObject=function(){return VC(this)};
var VC=function(a){if(null!=a)return t(a),{emailAddress:V(a,1),obfuscatedEmailAddress:V(a,2),userGaiaStatus:W(a,3,0),aliasesList:p(Ih(a,4))}};var gi=function(a){r.call(this,a)};U(gi,r);f=gi.prototype;f.getEmailAddress=function(){return V(this,1)};f.setEmailAddress=function(a){n(this,1,a)};f.getObfuscatedEmailAddress=function(){return V(this,2)};f.setObfuscatedEmailAddress=function(a){n(this,2,a)};f.getUserGaiaStatus=function(){return W(this,3,0)};f.setUserGaiaStatus=function(a){n(this,3,a)};f.getAliasesList=function(){return Ih(this,4)};f.setAliasesList=function(a){Fi(this,4,a)};gi.repeatedFields_=[4];gi.prototype.toObject=function(){return WC(this)};
var WC=function(a){if(null!=a)return t(a),{emailAddress:p(m(a,1)),obfuscatedEmailAddress:p(m(a,2)),userGaiaStatus:p(kr(a,3)),aliasesList:p(Ih(a,4))}};var qi=function(a){r.call(this,a)};U(qi,r);f=qi.prototype;f.getUser=function(){return Sj(this,gi,1,XC)};f.setUser=function(a){ho(this,1,XC,a)};f.hasUser=function(){return Qj(this,gi,1,XC)};f.getGroup=function(){return Sj(this,gi,2,XC)};f.setGroup=function(a){ho(this,2,XC,a)};f.getAlias=function(){return Xs(this,3,XC)};f.setAlias=function(a){$n(this,3,XC,a)};var XC=[1,2,3];qi.prototype.toObject=function(){return YC(this)};
var YC=function(a){if(null!=a)return t(a),{user:WC(a.getUser()),group:WC(a.getGroup()),alias:p(po(a,3,XC))}};var ZC=function(a){r.call(this,a,0,ZC.messageId)};U(ZC,r);f=ZC.prototype;f.getAdminsList=function(){return aj(this,qi,2)};f.setAdminsList=function(a){dj(this,2,a)};f.getInheritedAdminsList=function(){return aj(this,qi,3)};f.getEditorsList=function(){return aj(this,qi,4)};f.setEditorsList=function(a){dj(this,4,a)};f.getImplicitEditorsList=function(){return aj(this,qi,5)};f.getAppendersList=function(){return aj(this,qi,6)};f.setAppendersList=function(a){dj(this,6,a)};
f.getImplicitAppendersList=function(){return aj(this,qi,7)};f.getReadersList=function(){return aj(this,qi,8)};f.setReadersList=function(a){dj(this,8,a)};f.getImplicitReadersList=function(){return aj(this,qi,9)};f.getRestrictedReadersList=function(){return aj(this,qi,11)};f.setRestrictedReadersList=function(a){dj(this,11,a)};f.getRestrictedPlusReadersList=function(){return aj(this,qi,12)};f.setRestrictedPlusReadersList=function(a){dj(this,12,a)};f.getImplicitAccess=function(){return W(this,10,0)};
f.setImplicitAccess=function(a){return n(this,10,a)};ZC.repeatedFields_=[2,3,4,5,6,7,8,9,11,12];
ZC.prototype.toObject=function(){if(null!=this){t(this);var a={adminsList:Kb(this.getAdminsList(),YC),inheritedAdminsList:Kb(this.getInheritedAdminsList(),YC),editorsList:Kb(this.getEditorsList(),YC),implicitEditorsList:Kb(this.getImplicitEditorsList(),YC),appendersList:Kb(this.getAppendersList(),YC),implicitAppendersList:Kb(this.getImplicitAppendersList(),YC),readersList:Kb(this.getReadersList(),YC),implicitReadersList:Kb(this.getImplicitReadersList(),YC),restrictedReadersList:Kb(this.getRestrictedReadersList(),
YC),restrictedPlusReadersList:Kb(this.getRestrictedPlusReadersList(),YC),implicitAccess:p(kr(this,10))}}else a=void 0;return a};ZC.messageId="b.AccessPolicy";var zi=function(a){r.call(this,a,0,zi.messageId)};U(zi,r);f=zi.prototype;f.getResourcePath=function(){return V(this,2)};f.setResourcePath=function(a){return n(this,2,a)};f.hasResourcePath=function(){return wk(this,2)};f.getSeverity=function(){return W(this,3,0)};f.setSeverity=function(a){return n(this,3,a)};f.hasSeverity=function(){return fj(this,3)};f.getJudgementReason=function(){return V(this,4)};f.setJudgementReason=function(a){return n(this,4,a)};f.toObject=function(){return $C(this)};
var $C=function(a){if(null!=a)return t(a),{contentJudgementId:p(m(a,1)),resourcePath:p(m(a,2)),severity:p(kr(a,3)),judgementReason:p(m(a,4)),contentJudge:p(m(a,5))}};zi.messageId="b.ContentJudgement";var Ii=function(a){r.call(this,a)};U(Ii,r);Ii.prototype.getValuesList=function(){return aj(this,Ah,1)};Ii.prototype.setValuesList=function(a){dj(this,1,a)};Ii.prototype.setValues=function(a,b){Fs(this,1,Ah,a,b)};Ii.repeatedFields_=[1];Ii.prototype.toObject=function(){return b9b(this)};var b9b=function(a){if(null!=a)return t(a),{valuesList:Kb(a.getValuesList(),NB)}};var Hi=function(a){r.call(this,a)};U(Hi,r);Hi.prototype.getValuesList=function(){return Hs(this,1)};Hi.prototype.setValuesList=function(a){tb(this,1,a,qba)};Hi.prototype.getValues=function(a){return PJb(this,1,a)};Hi.prototype.setValues=function(a,b){xb(this,1,a,pba(b),Hs)};Hi.repeatedFields_=[1];Hi.prototype.toObject=function(){return c9b(this)};var c9b=function(a){if(null!=a)return t(a),{valuesList:p(Hs(a,1))}};var Gi=function(a){r.call(this,a)};U(Gi,r);Gi.prototype.getValuesList=function(){return Ih(this,1)};Gi.prototype.setValuesList=function(a){Fi(this,1,a)};Gi.prototype.getValues=function(a){return Us(this,1,a)};Gi.prototype.setValues=function(a,b){xb(this,1,a,b,Ih)};Gi.repeatedFields_=[1];Gi.prototype.toObject=function(){return d9b(this)};var d9b=function(a){if(null!=a)return t(a),{valuesList:p(Ih(a,1))}};var Ei=function(a){r.call(this,a)};U(Ei,r);f=Ei.prototype;f.getCustomFieldId=function(){return yi(this,1)};f.setCustomFieldId=function(a){return n(this,1,a)};f.hasCustomFieldId=function(){return xi(this,1)};f.getDisplayValues=function(){return Us(this,12)};f.setDisplayValues=function(a,b){xb(this,12,a,b,Ih)};f.getTextValue=function(){return Xs(this,4,Di)};f.setTextValue=function(a){$n(this,4,Di,a)};f.getDateValue=function(){return Sj(this,Ah,5,Di)};f.setDateValue=function(a){ho(this,5,Di,a)};
f.getEnumValue=function(){return Xs(this,6,Di)};f.setEnumValue=function(a){$n(this,6,Di,a)};f.getNumericValue=function(){return hj(this,no(this,Di,7))};f.setNumericValue=function(a){$n(this,7,Di,Za(a))};f.getRepeatedTextValue=function(){return Sj(this,Gi,8,Di)};f.setRepeatedTextValue=function(a){ho(this,8,Di,a)};f.getRepeatedDateValue=function(){return Sj(this,Ii,9,Di)};f.setRepeatedDateValue=function(a){ho(this,9,Di,a)};f.getRepeatedEnumValue=function(){return Sj(this,Gi,10,Di)};
f.setRepeatedEnumValue=function(a){ho(this,10,Di,a)};f.getRepeatedNumericValue=function(){return Sj(this,Hi,11,Di)};f.setRepeatedNumericValue=function(a){ho(this,11,Di,a)};Ei.repeatedFields_=[12];var Di=[4,5,6,7,8,9,10,11];Ei.prototype.toObject=function(){return e9b(this)};
var e9b=function(a){if(null!=a)return t(a),{customFieldId:p(m(a,1)),displayValuesList:p(Ih(a,12)),textValue:p(po(a,4,Di)),dateValue:NB(a.getDateValue()),enumValue:p(po(a,6,Di)),numericValue:p(oo(a,7,Di)),repeatedTextValue:d9b(a.getRepeatedTextValue()),repeatedDateValue:b9b(a.getRepeatedDateValue()),repeatedEnumValue:d9b(a.getRepeatedEnumValue()),repeatedNumericValue:c9b(a.getRepeatedNumericValue())}};var Ji=function(a){r.call(this,a)};U(Ji,r);f=Ji.prototype;f.getCustomFieldId=function(){return yi(this,1)};f.setCustomFieldId=function(a){return n(this,1,a)};f.hasCustomFieldId=function(){return xi(this,1)};f.getComponentId=function(){return yi(this,2)};f.setComponentId=function(a){return n(this,2,a)};f.hasComponentId=function(){return xi(this,2)};f.getType=function(){return W(this,3,0)};f.setType=function(a){return n(this,3,a)};f.hasType=function(){return fj(this,3)};
f.getRequired=function(){return Jj(this,4)};f.setRequired=function(a){Lj(this,4,a)};f.getName=function(){return V(this,5)};f.setName=function(a){return n(this,5,a)};f.hasName=function(){return wk(this,5)};f.getNameOrUndefined=function(){return dt(this,5)};f.getDescription=function(){return V(this,6)};f.setDescription=function(a){return n(this,6,a)};f.hasDescription=function(){return wk(this,6)};f.getTypedDefaultValue=function(){return Z(this,Ei,10)};
f.setTypedDefaultValue=function(a){Yi(this,Ei,10,a)};f.getFieldSignificance=function(){return W(this,9,0)};f.setFieldSignificance=function(a){return n(this,9,a)};f.getStateOnIssues=function(){return W(this,11,0)};f.setStateOnIssues=function(a){n(this,11,a)};f.getEnabledOnIssues=function(){return Jj(this,12)};f.setEnabledOnIssues=function(a){Lj(this,12,a)};f.getShared=function(){return Jj(this,13)};f.setShared=function(a){Lj(this,13,a)};Ji.repeatedFields_=[8];Ji.prototype.toObject=function(){return f9b(this)};
var f9b=function(a){if(null!=a)return t(a),{customFieldId:p(m(a,1)),componentId:p(m(a,2)),type:p(kr(a,3)),required:p(ar(a,4)),name:p(m(a,5)),description:p(m(a,6)),typedDefaultValue:e9b(a.getTypedDefaultValue()),allowedValueList:p(Ih(a,8)),fieldSignificance:p(kr(a,9)),stateOnIssues:p(kr(a,11)),enabledOnIssues:p(ar(a,12)),shared:p(ar(a,13))}};var Oi=function(a){r.call(this,a)};U(Oi,r);f=Oi.prototype;f.getLabel=function(){return V(this,1)};f.setLabel=function(a){return mj(this,1,a)};f.getValue=function(){return hj(this,2)};f.setValue=function(a){return nj(this,2,a)};f.toObject=function(){return g9b(this)};var g9b=function(a){if(null!=a)return t(a),{label:V(a,1),value:hj(a,2)}};var Ni=function(a){r.call(this,a)};U(Ni,r);Ni.prototype.getOptionsList=function(){return aj(this,Oi,1)};Ni.prototype.setOptionsList=function(a){return dj(this,1,a)};Ni.prototype.setOptions=function(a){Fs(this,1,Oi,a)};Ni.repeatedFields_=[1];Ni.prototype.toObject=function(){return h9b(this)};var h9b=function(a){if(null!=a)return t(a),{optionsList:Kb(a.getOptionsList(),g9b)}};var Mi=function(a){r.call(this,a)};U(Mi,r);var qra=function(a,b){return nj(a,1,b)};Mi.prototype.toObject=function(){return i9b(this)};var i9b=function(a){if(null!=a)return t(a),{multiplier:hj(a,1)}};var Li=function(a){r.call(this,a)};U(Li,r);f=Li.prototype;f.getInherit=function(){return Jj(this,1)};f.setInherit=function(a){Ab(this,1,a)};f.getId=function(){return gj(this,2)};f.setId=function(a){return Cb(this,2,a)};f.getName=function(){return V(this,3)};f.setName=function(a){return mj(this,3,a)};var pra=function(a,b){ho(a,4,Rj,b)},rra=function(a,b){ho(a,5,Rj,b)};Li.prototype.getCustomFieldId=function(){return gj(this,100)};Li.prototype.setCustomFieldId=function(a){return Cb(this,100,a)};
var Rj=[4,5];Li.prototype.toObject=function(){return j9b(this)};var j9b=function(a){if(null!=a)return t(a),{inherit:Jj(a,1),id:gj(a,2),name:V(a,3),numericSpec:i9b(Sj(a,Mi,4,Rj)),enumSpec:h9b(Sj(a,Ni,5,Rj)),aggregationType:W(a,6,0),customFieldId:gj(a,100)}};var lj=function(a){r.call(this,a)};U(lj,r);lj.prototype.toObject=function(){return k9b(this)};var k9b=function(a){if(null!=a)return t(a),{specId:gj(a,1),estimate:V(a,2),averageDays:hj(a,3),totalOpen:hj(a,4),totalComplete:hj(a,5)}};var aD=function(a){r.call(this,a)};U(aD,r);f=aD.prototype;f.getStartTime=function(){return Z(this,Ch,1)};f.setStartTime=function(a){Yi(this,Ch,1,a)};f.getEndTime=function(){return Z(this,Ch,2)};f.setEndTime=function(a){Yi(this,Ch,2,a)};f.getTargetTime=function(){return Z(this,Ch,3)};f.setTargetTime=function(a){Yi(this,Ch,3,a)};f.getObjective=function(){return Z(this,Eh,4)};f.setObjective=function(a){return Yi(this,Eh,4,a)};f.getBusinessDays=function(){return Gh(this,5)};
f.setBusinessDays=function(a){return Bb(this,5,a)};f.getDayType=function(){return W(this,6,0)};f.setDayType=function(a){return Pi(this,6,a)};f.toObject=function(){return l9b(this)};var l9b=function(a){if(null!=a)return t(a),{startTime:yt(a.getStartTime()),endTime:yt(a.getEndTime()),targetTime:yt(a.getTargetTime()),objective:$t(a.getObjective()),businessDays:Gh(a,5),dayType:W(a,6,0)}};var m9b=function(a){r.call(this,a)};U(m9b,r);f=m9b.prototype;f.getAssignmentBounds=function(){return Z(this,aD,1)};f.setAssignmentBounds=function(a){Yi(this,aD,1,a)};f.hasAssignmentBounds=function(){return Dj(this,aD,1)};f.getResponseBounds=function(){return Z(this,aD,2)};f.setResponseBounds=function(a){Yi(this,aD,2,a)};f.hasResponseBounds=function(){return Dj(this,aD,2)};f.getClosureBounds=function(){return Z(this,aD,3)};f.setClosureBounds=function(a){Yi(this,aD,3,a)};
f.hasClosureBounds=function(){return Dj(this,aD,3)};f.toObject=function(){return n9b(this)};var n9b=function(a){if(null!=a)return t(a),{assignmentBounds:l9b(a.getAssignmentBounds()),responseBounds:l9b(a.getResponseBounds()),closureBounds:l9b(a.getClosureBounds())}};var Aj=function(a){r.call(this,a)};U(Aj,r);Aj.prototype.getSourceIssueIdsList=function(){return il(this,1)};Aj.prototype.setSourceIssueIdsList=function(a){return tb(this,1,a,db)};Aj.repeatedFields_=[1];Aj.prototype.toObject=function(){return o9b(this)};var o9b=function(a){if(null!=a)return t(a),{sourceIssueIdsList:p(il(a,1))}};var p9b=function(a){r.call(this,a)};U(p9b,r);p9b.prototype.getBlobRef=function(){return Gj(this,2)};p9b.prototype.toObject=function(){return q9b(this)};var q9b=function(a){if(null!=a)return t(a),{resourceName:V(a,1),blobRef:Pb(a.getBlobRef())}};var r9b=function(a){r.call(this,a)};U(r9b,r);r9b.prototype.getSeverity=function(){return W(this,1,0)};r9b.prototype.setSeverity=function(a){return Pi(this,1,a)};r9b.prototype.toObject=function(){return s9b(this)};var s9b=function(a){if(null!=a)return t(a),{severity:W(a,1,0)}};var t9b=function(a){r.call(this,a)};U(t9b,r);t9b.prototype.toObject=function(){return u9b(this)};var u9b=function(a){if(null!=a)return t(a),{restrictionVerdict:s9b(Z(a,r9b,1))}};var bD=function(a){r.call(this,a)};U(bD,r);f=bD.prototype;f.getStatus=function(){return W(this,1,0)};f.setStatus=function(a){return Pi(this,1,a)};f.getReason=function(){return W(this,2,0)};f.setReason=function(a){Pi(this,2,a)};f.toObject=function(){return v9b(this)};var v9b=function(a){if(null!=a)return t(a),{status:W(a,1,0),reason:W(a,2,0)}};var cD=function(a){r.call(this,a)};U(cD,r);f=cD.prototype;f.getRetentionPeriod=function(){return Z(this,Eh,1)};f.setRetentionPeriod=function(a){Yi(this,Eh,1,a)};f.getScheduledDeletionTime=function(){return Z(this,Ch,2)};f.setScheduledDeletionTime=function(a){Yi(this,Ch,2,a)};f.toObject=function(){return w9b(this)};var w9b=function(a){if(null!=a)return t(a),{retentionPeriod:$t(a.getRetentionPeriod()),scheduledDeletionTime:yt(a.getScheduledDeletionTime())}};var x9b=function(a){r.call(this,a)};U(x9b,r);f=x9b.prototype;f.getAttachmentId=function(){return gj(this,1)};f.setAttachmentId=function(a){Cb(this,1,a)};f.getContentType=function(){return V(this,2)};f.getLength=function(){return gj(this,3)};f.getFilename=function(){return V(this,4)};f.setFilename=function(a){mj(this,4,a)};f.getEntityStatus=function(){return Z(this,bD,6)};f.getEtag=function(){return Gj(this,7)};f.setEtag=function(a){LJb(this,7,a)};f.getContentVerdict=function(){return Z(this,t9b,10)};
f.getRestrictedRetentionState=function(){return Z(this,cD,11)};f.toObject=function(){return y9b(this)};var y9b=function(a){if(null!=a)return t(a),{attachmentId:gj(a,1),contentType:V(a,2),length:gj(a,3),filename:V(a,4),attachmentDataRef:q9b(Z(a,p9b,5)),entityStatus:v9b(a.getEntityStatus()),etag:Pb(a.getEtag()),contentVerdict:u9b(a.getContentVerdict()),restrictedRetentionState:w9b(a.getRestrictedRetentionState()),restrictedRetention:W(a,12,0)}};var dD=function(a){r.call(this,a)};U(dD,r);dD.prototype.getValuesList=function(){return aj(this,Ah,1)};dD.prototype.setValuesList=function(a){dj(this,1,a)};dD.prototype.setValues=function(a,b){Fs(this,1,Ah,a,b)};dD.repeatedFields_=[1];dD.prototype.toObject=function(){return z9b(this)};var z9b=function(a){if(null!=a)return t(a),{valuesList:Kb(a.getValuesList(),NB)}};var eD=function(a){r.call(this,a)};U(eD,r);eD.prototype.getValuesList=function(){return Hs(this,1)};eD.prototype.setValuesList=function(a){tb(this,1,a,qba)};eD.prototype.getValues=function(a){return PJb(this,1,a)};eD.prototype.setValues=function(a,b){xb(this,1,a,pba(b),Hs)};eD.repeatedFields_=[1];eD.prototype.toObject=function(){return A9b(this)};var A9b=function(a){if(null!=a)return t(a),{valuesList:p(Hs(a,1))}};var fD=function(a){r.call(this,a)};U(fD,r);fD.prototype.getValuesList=function(){return Ih(this,1)};fD.prototype.setValuesList=function(a){Fi(this,1,a)};fD.prototype.getValues=function(a){return Us(this,1,a)};fD.prototype.setValues=function(a,b){xb(this,1,a,b,Ih)};fD.repeatedFields_=[1];fD.prototype.toObject=function(){return B9b(this)};var B9b=function(a){if(null!=a)return t(a),{valuesList:p(Ih(a,1))}};var gD=function(a){r.call(this,a)};U(gD,r);f=gD.prototype;f.getValueCase=function(){return Ci(this,hD)};f.getCustomFieldId=function(){return gj(this,1)};f.setCustomFieldId=function(a){return Cb(this,1,a)};f.getTextValue=function(){return Xs(this,2,hD)};f.setTextValue=function(a){$n(this,2,hD,a)};f.getDateValue=function(){return Sj(this,Ah,3,hD)};f.setDateValue=function(a){ho(this,3,hD,a)};f.getEnumValue=function(){return Xs(this,4,hD)};f.setEnumValue=function(a){$n(this,4,hD,a)};
f.getNumericValue=function(){return hj(this,no(this,hD,5))};f.setNumericValue=function(a){$n(this,5,hD,Za(a))};f.getRepeatedTextValue=function(){return Sj(this,fD,6,hD)};f.setRepeatedTextValue=function(a){ho(this,6,hD,a)};f.getRepeatedDateValue=function(){return Sj(this,dD,7,hD)};f.setRepeatedDateValue=function(a){ho(this,7,hD,a)};f.getRepeatedEnumValue=function(){return Sj(this,fD,8,hD)};f.setRepeatedEnumValue=function(a){ho(this,8,hD,a)};
f.getRepeatedNumericValue=function(){return Sj(this,eD,9,hD)};f.setRepeatedNumericValue=function(a){ho(this,9,hD,a)};f.getDisplayString=function(){return V(this,10)};var hD=[2,3,4,5,6,7,8,9];gD.prototype.toObject=function(){return C9b(this)};
var C9b=function(a){if(null!=a)return t(a),{customFieldId:gj(a,1),textValue:p(po(a,2,hD)),dateValue:NB(a.getDateValue()),enumValue:p(po(a,4,hD)),numericValue:p(oo(a,5,hD)),repeatedTextValue:B9b(a.getRepeatedTextValue()),repeatedDateValue:z9b(a.getRepeatedDateValue()),repeatedEnumValue:B9b(a.getRepeatedEnumValue()),repeatedNumericValue:A9b(a.getRepeatedNumericValue()),displayString:V(a,10)}};var D9b=function(a){r.call(this,a)};U(D9b,r);f=D9b.prototype;f.getCustomFieldId=function(){return gj(this,1)};f.setCustomFieldId=function(a){return Cb(this,1,a)};f.getComponentId=function(){return gj(this,2)};f.setComponentId=function(a){return Cb(this,2,a)};f.getType=function(){return W(this,3,0)};f.setType=function(a){return Pi(this,3,a)};f.getRequired=function(){return Jj(this,4)};f.setRequired=function(a){Ab(this,4,a)};f.getName=function(){return V(this,5)};
f.setName=function(a){return mj(this,5,a)};f.getDescription=function(){return V(this,6)};f.setDescription=function(a){return mj(this,6,a)};f.getTypedDefaultValue=function(){return Z(this,gD,10)};f.setTypedDefaultValue=function(a){Yi(this,gD,10,a)};f.getEnumValues=function(a){return Us(this,8,a)};f.getFieldSignificance=function(){return W(this,9,0)};f.setFieldSignificance=function(a){return Pi(this,9,a)};f.getShared=function(){return Jj(this,11)};f.setShared=function(a){Ab(this,11,a)};
D9b.repeatedFields_=[8];D9b.prototype.toObject=function(){return E9b(this)};var E9b=function(a){if(null!=a)return t(a),{customFieldId:gj(a,1),componentId:gj(a,2),type:W(a,3,0),required:Jj(a,4),name:V(a,5),description:V(a,6),defaultValue:V(a,7),typedDefaultValue:C9b(a.getTypedDefaultValue()),enumValuesList:p(Ih(a,8)),fieldSignificance:W(a,9,0),shared:Jj(a,11)}};var F9b=function(a){r.call(this,a)};U(F9b,r);f=F9b.prototype;f.getCustomFieldId=function(){return gj(this,no(this,iD,1))};f.setCustomFieldId=function(a){return $n(this,1,iD,a)};f.hasCustomFieldId=function(){return null!=$s(this,1,iD)};f.getStandardField=function(){return W(this,no(this,iD,2),0)};f.setStandardField=function(a){$n(this,2,iD,a)};var iD=[1,2];F9b.prototype.toObject=function(){return G9b(this)};
var G9b=function(a){if(null!=a)return t(a),{customFieldId:p($s(a,1,iD)),standardField:p(at(a,2,iD))}};var jD=function(a){r.call(this,a)};U(jD,r);f=jD.prototype;f.getHasReacted=function(){return Jj(this,1)};f.setHasReacted=function(a){return Ab(this,1,a)};f.getCount=function(){return gj(this,2)};f.setCount=function(a){return Cb(this,2,a)};f.getRecentRespondersList=function(){return aj(this,Vi,3)};f.getType=function(){return W(this,4,0)};f.setType=function(a){return Pi(this,4,a)};jD.repeatedFields_=[3];jD.prototype.toObject=function(){return H9b(this)};
var H9b=function(a){if(null!=a)return t(a),{hasReacted:Jj(a,1),count:gj(a,2),recentRespondersList:Kb(a.getRecentRespondersList(),VC),type:W(a,4,0)}};var kD=function(a){r.call(this,a)};U(kD,r);kD.prototype.getReactionStatesList=function(){return aj(this,jD,2)};kD.prototype.addReactionStates=function(a){return jo(this,2,jD,a)};kD.repeatedFields_=[2];kD.prototype.toObject=function(){return I9b(this)};var I9b=function(a){if(null!=a)return t(a),{reactionStatesList:Kb(a.getReactionStatesList(),H9b)}};var hk=function(a){r.call(this,a)};U(hk,r);hk.prototype.toObject=function(){return lD(this)};var lD=function(a){if(null!=a)return t(a),{privateDoNotAccessOrElseSafeHtmlWrappedValue:p(m(a,2))}};var mD=function(a){r.call(this,a)};U(mD,r);mD.prototype.getContent=function(){return Z(this,hk,1)};mD.prototype.setContent=function(a){return Yi(this,hk,1,a)};mD.prototype.hasContent=function(){return Dj(this,hk,1)};mD.prototype.toObject=function(){return J9b(this)};var J9b=function(a){if(null!=a)return t(a),{content:lD(a.getContent())}};var nD=function(a){r.call(this,a)};U(nD,r);nD.prototype.getContent=function(){return Z(this,hk,1)};nD.prototype.setContent=function(a){return Yi(this,hk,1,a)};nD.prototype.hasContent=function(){return Dj(this,hk,1)};nD.prototype.toObject=function(){return K9b(this)};var K9b=function(a){if(null!=a)return t(a),{content:lD(a.getContent())}};var L9b=function(a){r.call(this,a)};U(L9b,r);f=L9b.prototype;f.getIsQuoted=function(){return Jj(this,1)};f.setIsQuoted=function(a){return Ab(this,1,a)};f.getContent=function(){return Z(this,hk,2)};f.setContent=function(a){return Yi(this,hk,2,a)};f.hasContent=function(){return Dj(this,hk,2)};f.toObject=function(){return M9b(this)};var M9b=function(a){if(null!=a)return t(a),{isQuoted:Jj(a,1),content:lD(a.getContent())}};var oD=function(a){r.call(this,a)};U(oD,r);oD.prototype.getPlainSectionList=function(){return aj(this,L9b,1)};oD.prototype.setPlainSectionList=function(a){return dj(this,1,a)};oD.repeatedFields_=[1];oD.prototype.toObject=function(){return N9b(this)};var N9b=function(a){if(null!=a)return t(a),{plainSectionList:Kb(a.getPlainSectionList(),M9b)}};var pD=function(a){r.call(this,a)};U(pD,r);f=pD.prototype;f.getKindCase=function(){return Ci(this,qD)};f.getPlainFormat=function(){return Sj(this,oD,1,qD)};f.setPlainFormat=function(a){ho(this,1,qD,a)};f.hasPlainFormat=function(){return Qj(this,oD,1,qD)};f.getMarkdownFormat=function(){return Sj(this,nD,2,qD)};f.setMarkdownFormat=function(a){ho(this,2,qD,a)};f.hasMarkdownFormat=function(){return Qj(this,nD,2,qD)};f.getLiteralFormat=function(){return Sj(this,mD,3,qD)};
f.setLiteralFormat=function(a){ho(this,3,qD,a)};f.hasLiteralFormat=function(){return Qj(this,mD,3,qD)};var qD=[1,2,3];pD.prototype.toObject=function(){return O9b(this)};var O9b=function(a){if(null!=a)return t(a),{plainFormat:N9b(a.getPlainFormat()),markdownFormat:K9b(a.getMarkdownFormat()),literalFormat:J9b(a.getLiteralFormat())}};var rD=function(a){r.call(this,a)};U(rD,r);rD.prototype.getMentionedUser=function(){return Z(this,Vi,1)};rD.prototype.getState=function(){return W(this,2,0)};rD.repeatedFields_=[3];rD.prototype.toObject=function(){return P9b(this)};var P9b=function(a){if(null!=a)return t(a),{mentionedUser:VC(a.getMentionedUser()),state:W(a,2,0),displayEmailList:p(Ih(a,3))}};var sD=function(a){r.call(this,a)};U(sD,r);f=sD.prototype;f.getIssueId=function(){return gj(this,6)};f.setIssueId=function(a){return Cb(this,6,a)};f.getCommentNumber=function(){return Gh(this,7)};f.setCommentNumber=function(a){return Bb(this,7,a)};f.getComment=function(){return V(this,1)};f.setComment=function(a){mj(this,1,a)};f.getFormattedComment=function(){return Z(this,pD,16)};f.hasFormattedComment=function(){return Dj(this,pD,16)};f.getMentionsList=function(){return aj(this,rD,14)};
f.getFormattingMode=function(){return W(this,9,0)};f.setFormattingMode=function(a){return Pi(this,9,a)};f.getAttachmentsList=function(){return aj(this,x9b,2)};f.setAttachmentsList=function(a){dj(this,2,a)};f.getModifiedTime=function(){return Z(this,Ch,4)};f.getEntityStatus=function(){return Z(this,bD,5)};f.getVersion=function(){return Gh(this,8)};f.setVersion=function(a){return Bb(this,8,a)};f.getContentVerdict=function(){return Z(this,t9b,10)};
f.getRestrictedRetentionState=function(){return Z(this,cD,11)};f.getRedacted=function(){return Jj(this,13)};f.getEtag=function(){return Gj(this,15)};f.setEtag=function(a){LJb(this,15,a)};f.getCommentReaction=function(){return Z(this,kD,17)};sD.repeatedFields_=[14,2];sD.prototype.toObject=function(){return Q9b(this)};
var Q9b=function(a){if(null!=a)return t(a),{issueId:gj(a,6),commentNumber:Gh(a,7),comment:V(a,1),formattedComment:O9b(a.getFormattedComment()),mentionsList:Kb(a.getMentionsList(),P9b),formattingMode:W(a,9,0),attachmentsList:Kb(a.getAttachmentsList(),y9b),lastEditor:VC(Z(a,Vi,3)),modifiedTime:yt(a.getModifiedTime()),entityStatus:v9b(a.getEntityStatus()),version:Gh(a,8),contentVerdict:u9b(a.getContentVerdict()),restrictedRetentionState:w9b(a.getRestrictedRetentionState()),restrictedRetention:W(a,12,
0),redacted:Jj(a,13),etag:Pb(a.getEtag()),commentReaction:I9b(a.getCommentReaction())}};var tD=function(a){r.call(this,a)};U(tD,r);tD.prototype.getAccessLevel=function(){return W(this,1,0)};tD.prototype.setAccessLevel=function(a){return Pi(this,1,a)};tD.prototype.toObject=function(){return R9b(this)};var R9b=function(a){if(null!=a)return t(a),{accessLevel:W(a,1,0)}};var S9b=function(a){r.call(this,a)};U(S9b,r);f=S9b.prototype;f.getComponentId=function(){return gj(this,1)};f.setComponentId=function(a){return Cb(this,1,a)};f.getType=function(){return W(this,2,0)};f.setType=function(a){return Pi(this,2,a)};f.getStatus=function(){return W(this,3,0)};f.setStatus=function(a){return Pi(this,3,a)};f.getPriority=function(){return W(this,4,0)};f.setPriority=function(a){return Pi(this,4,a)};f.getSeverity=function(){return W(this,5,0)};
f.setSeverity=function(a){return Pi(this,5,a)};f.getTitle=function(){return V(this,6)};f.setTitle=function(a){return mj(this,6,a)};f.getReporter=function(){return Z(this,Vi,7)};f.setReporter=function(a){Yi(this,Vi,7,a)};f.getAssignee=function(){return Z(this,Vi,8)};f.setAssignee=function(a){Yi(this,Vi,8,a)};f.clearAssignee=function(){return Js(this,8)};f.getVerifier=function(){return Z(this,Vi,9)};f.setVerifier=function(a){Yi(this,Vi,9,a)};f.clearVerifier=function(){return Js(this,9)};
f.getCcsList=function(){return aj(this,Vi,10)};f.getCollaboratorsList=function(){return aj(this,Vi,31)};f.setCollaborators=function(a){Fs(this,31,Vi,a)};f.getBlockingIssueIdsList=function(){return il(this,13)};f.addHotlistIds=function(a,b){return wb(this,14,a,b)};f.getCustomFieldsList=function(){return aj(this,gD,15)};f.setCustomFieldsList=function(a){dj(this,15,a)};f.getInProd=function(){return Jj(this,20)};f.setInProd=function(a){Ab(this,20,a)};f.getIsArchived=function(){return Jj(this,21)};
f.setIsArchived=function(a){return Ab(this,21,a)};f.getIsDeleted=function(){return Jj(this,23)};f.setIsDeleted=function(a){Ab(this,23,a)};f.getDeletionReason=function(){return W(this,24,0)};f.setDeletionReason=function(a){Pi(this,24,a)};f.getEntityStatus=function(){return Z(this,bD,25)};f.getSloEndTime=function(){return Z(this,Ch,34)};f.setSloEndTime=function(a){Yi(this,Ch,34,a)};f.getSloSnoozeType=function(){return W(this,30,0)};f.setSloSnoozeType=function(a){Pi(this,30,a)};
f.getPostmortemsList=function(){return Ih(this,27)};f.setPostmortemsList=function(a){Fi(this,27,a)};f.getRetention=function(){return W(this,28,0)};f.setRetention=function(a){Pi(this,28,a)};f.getEffort=function(){return Z(this,lj,29)};f.setEffort=function(a){Yi(this,lj,29,a)};f.hasEffort=function(){return Dj(this,lj,29)};f.getAccessLimit=function(){return Z(this,tD,32)};f.setAccessLimit=function(a){return Yi(this,tD,32,a)};S9b.repeatedFields_=[10,31,12,13,14,15,16,17,18,19,22,27];
S9b.prototype.toObject=function(){return T9b(this)};
var T9b=function(a){if(null!=a)return t(a),{componentId:gj(a,1),type:W(a,2,0),status:W(a,3,0),priority:W(a,4,0),severity:W(a,5,0),title:V(a,6),reporter:VC(a.getReporter()),assignee:VC(a.getAssignee()),verifier:VC(a.getVerifier()),ccsList:Kb(a.getCcsList(),VC),collaboratorsList:Kb(a.getCollaboratorsList(),VC),canonicalIssueId:gj(a,11),blockedByIssueIdsList:p(il(a,12)),blockingIssueIdsList:p(il(a,13)),hotlistIdsList:p(il(a,14)),customFieldsList:Kb(a.getCustomFieldsList(),C9b),codeChangesList:p(Ih(a,
16)),foundInVersionsList:p(Ih(a,17)),targetedToVersionsList:p(Ih(a,18)),verifiedInVersionsList:p(Ih(a,19)),inProd:Jj(a,20),isArchived:Jj(a,21),duplicateIssueIdsList:p(il(a,22)),isDeleted:Jj(a,23),deletionReason:W(a,24,0),entityStatus:v9b(a.getEntityStatus()),sloSnoozeUntil:yt(Z(a,Ch,26)),sloEndTime:yt(a.getSloEndTime()),sloSnoozeType:W(a,30,0),postmortemsList:p(Ih(a,27)),retention:W(a,28,0),effort:k9b(a.getEffort()),accessLimit:R9b(a.getAccessLimit())}};var uD=function(a){r.call(this,a)};U(uD,r);uD.prototype.getNotificationSubscription=function(){return W(this,4,0)};uD.prototype.setNotificationSubscription=function(a){return Pi(this,4,a)};uD.repeatedFields_=[3];uD.prototype.toObject=function(){return U9b(this)};var U9b=function(a){if(null!=a)return t(a),{hasStarred:Jj(a,1),hasUpvoted:Jj(a,2),editableCommentNumbersList:p(Fh(a,3)),notificationSubscription:W(a,4,0),lastViewedTime:yt(Z(a,Ch,5))}};var rk=function(a){r.call(this,a)};U(rk,r);rk.prototype.getHref=function(){return V(this,1)};rk.prototype.toObject=function(){return V9b(this)};var V9b=function(a){if(null!=a)return t(a),{href:p(m(a,1))}};var Dta=function(a){r.call(this,a)};U(Dta,r);f=Dta.prototype;f.getIssueId=function(){return gj(this,1)};f.setIssueId=function(a){return n(this,1,a)};f.getCommentNumber=function(){return Gh(this,2)};f.setCommentNumber=function(a){return n(this,2,a)};f.toObject=function(){return W9b(this)};var W9b=function(a){if(null!=a)return t(a),{issueId:p(m(a,1)),commentNumber:p(Os(a,2))}};var X9b=function(a){r.call(this,a)};U(X9b,r);var qk=[1,2];X9b.prototype.toObject=function(){return Y9b(this)};var Y9b=function(a){if(null!=a)return t(a),{hyperlink:V9b(Sj(a,rk,1,qk)),issueReference:W9b(Sj(a,Dta,2,qk)),sourceCommentNumber:Gh(a,3)}};var Z9b=function(a){r.call(this,a)};U(Z9b,r);f=Z9b.prototype;f.getIssueId=function(){return gj(this,1)};f.setIssueId=function(a){return Cb(this,1,a)};f.getUpdateText=function(){return V(this,2)};f.setUpdateText=function(a){mj(this,2,a)};f.getFormattingMode=function(){return W(this,4,0)};f.setFormattingMode=function(a){return Pi(this,4,a)};f.getAuthor=function(){return Z(this,Vi,5)};f.setAuthor=function(a){Yi(this,Vi,5,a)};f.getUpdateTime=function(){return Z(this,Ch,6)};
f.setUpdateTime=function(a){Yi(this,Ch,6,a)};f.getVersion=function(){return Gh(this,7)};f.setVersion=function(a){return Bb(this,7,a)};f.getEntityStatus=function(){return Z(this,bD,8)};f.toObject=function(){return $9b(this)};var $9b=function(a){if(null!=a)return t(a),{issueId:gj(a,1),updateText:V(a,2),formattedUpdateText:O9b(Z(a,pD,3)),formattingMode:W(a,4,0),author:VC(a.getAuthor()),updateTime:yt(a.getUpdateTime()),version:Gh(a,7),entityStatus:v9b(a.getEntityStatus())}};var vD=function(a){r.call(this,a)};U(vD,r);f=vD.prototype;f.getIssueId=function(){return gj(this,2)};f.setIssueId=function(a){return Cb(this,2,a)};f.getIssueState=function(){return Z(this,S9b,3)};f.getAttachmentsList=function(){return aj(this,x9b,18)};f.setAttachmentsList=function(a){dj(this,18,a)};f.getDescription=function(){return Z(this,sD,44)};f.setDescription=function(a){return Yi(this,sD,44,a)};f.hasDescription=function(){return Dj(this,sD,44)};
f.getStatusUpdate=function(){return Z(this,Z9b,43)};f.hasStatusUpdate=function(){return Dj(this,Z9b,43)};f.getCreatedTime=function(){return Z(this,Ch,5)};f.getModifiedTime=function(){return Z(this,Ch,6)};f.getLastModifier=function(){return Z(this,Vi,14)};f.setLastModifier=function(a){Yi(this,Vi,14,a)};f.getResolvedTime=function(){return Z(this,Ch,7)};f.getVerifiedTime=function(){return Z(this,Ch,8)};f.getUserData=function(){return Z(this,uD,9)};f.setUserData=function(a){Yi(this,uD,9,a)};
f.getVoteCount=function(){return gj(this,10)};f.setVoteCount=function(a){Cb(this,10,a)};f.getParentIssueIdsList=function(){return il(this,37)};f.setParentIssueIdsList=function(a){tb(this,37,a,db)};f.getAccessLimit=function(){return Z(this,TB,11)};f.setAccessLimit=function(a){return Yi(this,TB,11,a)};f.getVersion=function(){return Gh(this,12)};f.setVersion=function(a){return Bb(this,12,a)};f.getEtag=function(){return Gj(this,13)};f.setEtag=function(a){LJb(this,13,a)};
f.getCustomFieldsList=function(){return aj(this,D9b,15)};f.setCustomFieldsList=function(a){dj(this,15,a)};f.getVisibleFieldsList=function(){return aj(this,F9b,34)};f.setVisibleFieldsList=function(a){dj(this,34,a)};f.getSloStatus=function(){return Z(this,m9b,16)};f.setSloStatus=function(a){Yi(this,m9b,16,a)};f.hasSloStatus=function(){return Dj(this,m9b,16)};f.getSloId=function(){return gj(this,17)};f.setSloId=function(a){return Cb(this,17,a)};f.getTeamId=function(){return gj(this,33)};
f.setTeamId=function(a){return Cb(this,33,a)};f.getRetentionState=function(){return Z(this,cD,29)};f.setRetentionState=function(a){Yi(this,cD,29,a)};f.getAncestorsMap=function(){return et(this,38,Aj)};f.getChildIssueCount=function(){return Gh(this,39)};f.setChildIssueCount=function(a){Bb(this,39,a)};f.getIsArchived=function(){return Jj(this,40)};f.setIsArchived=function(a){return Ab(this,40,a)};f.getRelatedLinksList=function(){return aj(this,X9b,41)};f.getTrackerId=function(){return gj(this,42)};
f.setTrackerId=function(a){Cb(this,42,a)};vD.repeatedFields_=[18,37,31,15,34,41];vD.prototype.toObject=function(){return a$b(this)};
var a$b=function(a){if(null!=a)return t(a),{issueId:gj(a,2),issueState:T9b(a.getIssueState()),issueComment:Q9b(Z(a,sD,4)),attachmentsList:Kb(a.getAttachmentsList(),y9b),description:Q9b(a.getDescription()),statusUpdate:$9b(a.getStatusUpdate()),createdTime:yt(a.getCreatedTime()),modifiedTime:yt(a.getModifiedTime()),majorModifiedTime:yt(Z(a,Ch,35)),minorModifiedTime:yt(Z(a,Ch,36)),lastModifier:VC(a.getLastModifier()),resolvedTime:yt(a.getResolvedTime()),verifiedTime:yt(a.getVerifiedTime()),userData:U9b(a.getUserData()),
voteCount:gj(a,10),parentIssueId:gj(a,30),parentIssueIdsList:p(il(a,37)),incomingDependencyIdsList:p(il(a,31)),accessLimit:t5b(a.getAccessLimit()),version:Gh(a,12),etag:Pb(a.getEtag()),customFieldsList:Kb(a.getCustomFieldsList(),E9b),visibleFieldsList:Kb(a.getVisibleFieldsList(),G9b),sloStatus:n9b(a.getSloStatus()),sloId:gj(a,17),teamId:gj(a,33),retentionState:w9b(a.getRetentionState()),ancestorsMap:Ob(a.getAncestorsMap(),o9b),childIssueCount:Gh(a,39),isArchived:Jj(a,40),relatedLinksList:Kb(a.getRelatedLinksList(),
Y9b),trackerId:gj(a,42)}};var xD=function(a){r.call(this,a)};U(xD,r);xD.prototype.getContent=function(){return Z(this,hk,1)};xD.prototype.setContent=function(a){return Yi(this,hk,1,a)};xD.prototype.hasContent=function(){return Dj(this,hk,1)};xD.prototype.toObject=function(){return b$b(this)};var b$b=function(a){if(null!=a)return t(a),{content:lD(a.getContent())}};var yD=function(a){r.call(this,a)};U(yD,r);yD.prototype.getContent=function(){return Z(this,hk,1)};yD.prototype.setContent=function(a){return Yi(this,hk,1,a)};yD.prototype.hasContent=function(){return Dj(this,hk,1)};yD.prototype.toObject=function(){return c$b(this)};var c$b=function(a){if(null!=a)return t(a),{content:lD(a.getContent())}};var vra=function(a){r.call(this,a)};U(vra,r);f=vra.prototype;f.getIsQuoted=function(){return Jj(this,1)};f.setIsQuoted=function(a){return Lj(this,1,a)};f.getContent=function(){return Z(this,hk,2)};f.setContent=function(a){return Yi(this,hk,2,a)};f.hasContent=function(){return Dj(this,hk,2)};f.toObject=function(){return d$b(this)};var d$b=function(a){if(null!=a)return t(a),{isQuoted:p(ar(a,1)),content:lD(a.getContent())}};var zD=function(a){r.call(this,a)};U(zD,r);zD.prototype.getPlainSectionList=function(){return aj(this,vra,1)};zD.prototype.setPlainSectionList=function(a){return dj(this,1,a)};zD.repeatedFields_=[1];zD.prototype.toObject=function(){return e$b(this)};var e$b=function(a){if(null!=a)return t(a),{plainSectionList:Kb(a.getPlainSectionList(),d$b)}};var Ej=function(a){r.call(this,a)};U(Ej,r);f=Ej.prototype;f.getKindCase=function(){return Ci(this,AD)};f.getPlainFormat=function(){return Sj(this,zD,1,AD)};f.setPlainFormat=function(a){ho(this,1,AD,a)};f.hasPlainFormat=function(){return Qj(this,zD,1,AD)};f.getMarkdownFormat=function(){return Sj(this,yD,2,AD)};f.setMarkdownFormat=function(a){ho(this,2,AD,a)};f.hasMarkdownFormat=function(){return Qj(this,yD,2,AD)};f.getLiteralFormat=function(){return Sj(this,xD,3,AD)};
f.setLiteralFormat=function(a){ho(this,3,AD,a)};f.hasLiteralFormat=function(){return Qj(this,xD,3,AD)};var AD=[1,2,3];Ej.prototype.toObject=function(){return f$b(this)};var f$b=function(a){if(null!=a)return t(a),{plainFormat:e$b(a.getPlainFormat()),markdownFormat:c$b(a.getMarkdownFormat()),literalFormat:b$b(a.getLiteralFormat())}};var Ri=function(a){r.call(this,a)};U(Ri,r);Ri.prototype.getSeverity=function(){return W(this,1,0)};Ri.prototype.setSeverity=function(a){return n(this,1,a)};Ri.prototype.hasSeverity=function(){return fj(this,1)};Ri.prototype.toObject=function(){return g$b(this)};var g$b=function(a){if(null!=a)return t(a),{severity:p(kr(a,1))}};var sk=function(a){r.call(this,a)};U(sk,r);sk.prototype.toObject=function(){return h$b(this)};var h$b=function(a){if(null!=a)return t(a),{piiVerdict:g$b(Z(a,Ri,1))}};var Qi=function(a){r.call(this,a)};U(Qi,r);Qi.prototype.hasRetentionSelection=function(){return fj(this,1)};Qi.prototype.toObject=function(){return i$b(this)};var i$b=function(a){if(null!=a)return t(a),{retentionSelection:p(kr(a,1)),retentionPeriodDays:p(Os(a,2)),piiRetentionSelection:p(kr(a,3)),piiRetentionPeriodDays:p(Os(a,4)),spiiRetentionPeriodDays:p(Os(a,5))}};var yj=function(a){r.call(this,a,0,yj.messageId)};U(yj,r);f=yj.prototype;f.getRetentionPeriod=function(){return Z(this,Eh,1)};f.setRetentionPeriod=function(a){Yi(this,Eh,1,a)};f.getScheduledDeletionTime=function(){return Z(this,Ch,2)};f.setScheduledDeletionTime=function(a){Yi(this,Ch,2,a)};f.toObject=function(){return j$b(this)};var j$b=function(a){if(null!=a)return t(a),{retentionPeriod:$t(a.getRetentionPeriod()),scheduledDeletionTime:yt(a.getScheduledDeletionTime())}};yj.messageId="b.RetentionState";var Wi=function(a){r.call(this,a)};U(Wi,r);f=Wi.prototype;f.getHours=function(){return Gh(this,1)};f.setHours=function(a){return Bb(this,1,a)};f.getMinutes=function(){return Gh(this,2)};f.setMinutes=function(a){return Bb(this,2,a)};f.getSeconds=function(){return Gh(this,3)};f.setSeconds=function(a){return Bb(this,3,a)};f.getNanos=function(){return Gh(this,4)};f.setNanos=function(a){return Bb(this,4,a)};f.toObject=function(){return k$b(this)};
var k$b=function(a){if(null!=a)return t(a),{hours:Gh(a,1),minutes:Gh(a,2),seconds:Gh(a,3),nanos:Gh(a,4)}};var Xi=function(a){r.call(this,a)};U(Xi,r);f=Xi.prototype;f.getId=function(){return gj(this,1)};f.setId=function(a){return n(this,1,a)};f.setFrequency=function(a){return Pi(this,3,a)};f.getOrdinal=function(){return Gh(this,4)};f.setOrdinal=function(a){return Bb(this,4,a)};f.getTimeZone=function(){return Z(this,Zi,5)};f.setTimeZone=function(a){return Yi(this,Zi,5,a)};f.hasTimeZone=function(){return Dj(this,Zi,5)};f.toObject=function(){return l$b(this)};
var l$b=function(a){if(null!=a)return t(a),{id:p(m(a,1)),lead:VC(Z(a,Vi,2)),frequency:W(a,3,0),ordinal:Gh(a,4),timeZone:fC(a.getTimeZone()),timeOfDay:k$b(Z(a,Wi,6))}};var BD=function(a){r.call(this,a)};U(BD,r);BD.prototype.getTeamId=function(){return gj(this,1)};BD.prototype.setTeamId=function(a){return Cb(this,1,a)};BD.prototype.getEffectiveSloEditPolicy=function(){return W(this,3,0)};BD.prototype.toObject=function(){return m$b(this)};var m$b=function(a){if(null!=a)return t(a),{teamId:gj(a,1),sloEditPolicy:W(a,2,0),effectiveSloEditPolicy:W(a,3,0)}};var Ti=function(a){r.call(this,a)};U(Ti,r);f=Ti.prototype;f.getInherit=function(){return Jj(this,1)};f.setInherit=function(a){Lj(this,1,a)};f.getSource=function(){return W(this,2,0)};f.setSource=function(a){return n(this,2,a)};f.hasSource=function(){return fj(this,2)};f.getSourceOrUndefined=function(){return wr(this,2)};f.getId=function(){return yi(this,3)};f.setId=function(a){return n(this,3,a)};f.getSourceTeamId=function(){return yi(this,5)};f.setSourceTeamId=function(a){n(this,5,a)};
f.getComment=function(){return V(this,4)};f.setComment=function(a){n(this,4,a)};f.toObject=function(){return n$b(this)};var n$b=function(a){if(null!=a)return t(a),{inherit:p(ar(a,1)),source:p(kr(a,2)),id:p(m(a,3)),sourceTeamId:p(m(a,5)),sourceComponentId:p(m(a,6)),comment:p(m(a,4))}};var Si=function(a){r.call(this,a)};U(Si,r);f=Si.prototype;f.getStartTime=function(){return Z(this,Ch,1)};f.setStartTime=function(a){Yi(this,Ch,1,a)};f.getEndTime=function(){return Z(this,Ch,2)};f.setEndTime=function(a){Yi(this,Ch,2,a)};f.getTargetTime=function(){return Z(this,Ch,3)};f.setTargetTime=function(a){Yi(this,Ch,3,a)};f.getObjective=function(){return Z(this,Eh,4)};f.setObjective=function(a){return Yi(this,Eh,4,a)};f.getBusinessDays=function(){return Gh(this,5)};
f.setBusinessDays=function(a){return n(this,5,a)};f.getDayType=function(){return W(this,6,0)};f.setDayType=function(a){return n(this,6,a)};f.toObject=function(){return o$b(this)};var o$b=function(a){if(null!=a)return t(a),{startTime:yt(a.getStartTime()),endTime:yt(a.getEndTime()),targetTime:yt(a.getTargetTime()),objective:$t(a.getObjective()),businessDays:p(Os(a,5)),dayType:p(kr(a,6))}};var $i=function(a){r.call(this,a)};U($i,r);f=$i.prototype;f.getMetric=function(){return W(this,1,0)};f.getMatcher=function(){return V(this,2)};f.setMatcher=function(a){return n(this,2,a)};f.getDayType=function(){return W(this,4,0)};f.setDayType=function(a){return n(this,4,a)};f.getObjective=function(){return Z(this,Eh,3)};f.setObjective=function(a){return Yi(this,Eh,3,a)};f.getBusinessDays=function(){return Gh(this,5)};f.setBusinessDays=function(a){return n(this,5,a)};f.toObject=function(){return p$b(this)};
var p$b=function(a){if(null!=a)return t(a),{metric:p(kr(a,1)),matcher:p(m(a,2)),dayType:p(kr(a,4)),objective:$t(a.getObjective()),businessDays:p(Os(a,5))}};var cj=function(a){r.call(this,a,0,cj.messageId)};U(cj,r);f=cj.prototype;f.getSloId=function(){return yi(this,1)};f.setSloId=function(a){return n(this,1,a)};f.getVersion=function(){return Gh(this,2)};f.setVersion=function(a){return n(this,2,a)};f.getVersionOrUndefined=function(){return bt(this,2)};f.getName=function(){return V(this,3)};f.setName=function(a){return n(this,3,a)};f.hasName=function(){return wk(this,3)};f.getNameOrUndefined=function(){return dt(this,3)};
f.getDescription=function(){return V(this,4)};f.setDescription=function(a){return n(this,4,a)};f.hasDescription=function(){return wk(this,4)};f.getParentId=function(){return yi(this,5)};f.setParentId=function(a){return n(this,5,a)};f.getIsArchived=function(){return Jj(this,8)};f.setIsArchived=function(a){return Lj(this,8,a)};cj.repeatedFields_=[6,7];cj.prototype.toObject=function(){return q$b(this)};
var q$b=function(a){if(null!=a)return t(a),{sloId:p(m(a,1)),version:p(Os(a,2)),name:p(m(a,3)),description:p(m(a,4)),parentId:p(m(a,5)),elementsList:Kb(aj(a,$i,6),p$b),effectiveElementsList:Kb(aj(a,$i,7),p$b),isArchived:p(ar(a,8)),alertState:p(kr(a,9))}};cj.messageId="b.SloState";var zj=function(a){r.call(this,a)};U(zj,r);f=zj.prototype;f.getAssignmentBounds=function(){return Z(this,Si,1)};f.setAssignmentBounds=function(a){Yi(this,Si,1,a)};f.hasAssignmentBounds=function(){return Dj(this,Si,1)};f.getResponseBounds=function(){return Z(this,Si,2)};f.setResponseBounds=function(a){Yi(this,Si,2,a)};f.hasResponseBounds=function(){return Dj(this,Si,2)};f.getClosureBounds=function(){return Z(this,Si,3)};f.setClosureBounds=function(a){Yi(this,Si,3,a)};
f.hasClosureBounds=function(){return Dj(this,Si,3)};f.toObject=function(){return r$b(this)};var r$b=function(a){if(null!=a)return t(a),{assignmentBounds:o$b(a.getAssignmentBounds()),responseBounds:o$b(a.getResponseBounds()),closureBounds:o$b(a.getClosureBounds())}};var s$b=function(a){r.call(this,a,0,s$b.messageId)};U(s$b,r);f=s$b.prototype;f.getIssueId=function(){return yi(this,1)};f.setIssueId=function(a){return n(this,1,a)};f.getReason=function(){return W(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(kr(this,2))}}else a=void 0;return a};s$b.messageId="b.DeleteIssueRequest";var rj=function(a){r.call(this,a)};U(rj,r);f=rj.prototype;f.getFieldName=function(){return V(this,1)};f.setFieldName=function(a){n(this,1,a)};f.getValue=function(){return V(this,2)};f.setValue=function(a){return n(this,2,a)};f.hasValue=function(){return wk(this,2)};f.setActionType=function(a){n(this,3,a)};f.getCustomFieldValue=function(){return Z(this,Ei,5)};f.setCustomFieldValue=function(a){return Yi(this,Ei,5,a)};f.clearCustomFieldValue=function(){return Js(this,5)};
f.hasCustomFieldValue=function(){return Dj(this,Ei,5)};f.toObject=function(){return t$b(this)};var t$b=function(a){if(null!=a)return t(a),{fieldName:p(m(a,1)),value:p(m(a,2)),actionType:p(kr(a,3)),customFieldValue:e9b(a.getCustomFieldValue())}};var pj=function(a){r.call(this,a)};U(pj,r);pj.prototype.getAccessLevel=function(){return W(this,1,0)};pj.prototype.setAccessLevel=function(a){return n(this,1,a)};pj.prototype.toObject=function(){return u$b(this)};var u$b=function(a){if(null!=a)return t(a),{accessLevel:p(kr(a,1))}};var oj=function(a){r.call(this,a,0,oj.messageId)};U(oj,r);f=oj.prototype;f.getIssueId=function(){return yi(this,1)};f.setIssueId=function(a){return n(this,1,a)};f.getIssueAccessLimit=function(){return Z(this,pj,2)};f.setIssueAccessLimit=function(a){Yi(this,pj,2,a)};f.getAddedCollaboratorsList=function(){return aj(this,gi,3)};f.setAddedCollaboratorsList=function(a){dj(this,3,a)};f.getRemovedCollaboratorsList=function(){return aj(this,gi,4)};f.setRemovedCollaboratorsList=function(a){dj(this,4,a)};
oj.repeatedFields_=[3,4];oj.prototype.toObject=function(){if(null!=this){t(this);var a={issueId:p(m(this,1)),issueAccessLimit:u$b(this.getIssueAccessLimit()),addedCollaboratorsList:Kb(this.getAddedCollaboratorsList(),WC),removedCollaboratorsList:Kb(this.getRemovedCollaboratorsList(),WC)}}else a=void 0;return a};oj.messageId="b.GetRetainedAccessPrincipalsRequest";var xj=function(a){r.call(this,a)};U(xj,r);f=xj.prototype;f.getVoteCount=function(){return gj(this,1)};f.setVoteCount=function(a){n(this,1,a)};f.getCreatedTimeMicros=function(){return gj(this,2)};f.setCreatedTimeMicros=function(a){n(this,2,a)};f.getModifiedTimeMicros=function(){return gj(this,3)};f.setModifiedTimeMicros=function(a){n(this,3,a)};f.getLastModifier=function(){return Z(this,gi,10)};f.setLastModifier=function(a){Yi(this,gi,10,a)};f.getSloStatus=function(){return Z(this,zj,6)};
f.setSloStatus=function(a){Yi(this,zj,6,a)};f.hasSloStatus=function(){return Dj(this,zj,6)};f.getSloId=function(){return yi(this,7)};f.setSloId=function(a){return n(this,7,a)};f.getTeamId=function(){return yi(this,9)};f.setTeamId=function(a){return n(this,9,a)};f.getRetentionState=function(){return Z(this,yj,8)};f.setRetentionState=function(a){Yi(this,yj,8,a)};f.toObject=function(){return v$b(this)};
var v$b=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:WC(a.getLastModifier()),sloStatus:r$b(a.getSloStatus()),sloId:p(m(a,7)),teamId:p(m(a,9)),retentionState:j$b(a.getRetentionState())}};var CD=function(a){r.call(this,a,0,CD.messageId)};U(CD,r);f=CD.prototype;f.getHasReacted=function(){return Jj(this,1)};f.setHasReacted=function(a){return Lj(this,1,a)};f.getCount=function(){return gj(this,2)};f.setCount=function(a){return n(this,2,a)};f.getRecentRespondersList=function(){return aj(this,gi,3)};f.getType=function(){return W(this,4,0)};f.setType=function(a){return n(this,4,a)};f.hasType=function(){return fj(this,4)};CD.repeatedFields_=[3];CD.prototype.toObject=function(){return w$b(this)};
var w$b=function(a){if(null!=a)return t(a),{hasReacted:p(ar(a,1)),count:p(m(a,2)),recentRespondersList:Kb(a.getRecentRespondersList(),WC),type:p(kr(a,4))}};CD.messageId="b.ReactionState";var DD=function(a){r.call(this,a,0,DD.messageId)};U(DD,r);DD.prototype.getReactionStatesList=function(){return aj(this,CD,1)};DD.prototype.addReactionStates=function(a){return jo(this,1,CD,a)};DD.repeatedFields_=[1];DD.prototype.toObject=function(){return x$b(this)};var x$b=function(a){if(null!=a)return t(a),{reactionStatesList:Kb(a.getReactionStatesList(),w$b)}};DD.messageId="b.CommentReaction";var ED=function(a){r.call(this,a)};U(ED,r);f=ED.prototype;f.getStatus=function(){return W(this,1,0)};f.setStatus=function(a){return n(this,1,a)};f.hasStatus=function(){return fj(this,1)};f.getReason=function(){return W(this,2,0)};f.setReason=function(a){n(this,2,a)};f.toObject=function(){return FD(this)};var FD=function(a){if(null!=a)return t(a),{status:p(kr(a,1)),reason:p(kr(a,2))}};var GD=function(a){r.call(this,a)};U(GD,r);GD.prototype.getMentionedUser=function(){return Z(this,gi,1)};GD.prototype.getState=function(){return W(this,2,0)};GD.repeatedFields_=[3];GD.prototype.toObject=function(){return y$b(this)};var y$b=function(a){if(null!=a)return t(a),{mentionedUser:WC(a.getMentionedUser()),state:p(kr(a,2)),displayEmailList:p(Ih(a,3))}};var HD=function(a){r.call(this,a,0,HD.messageId)};U(HD,r);f=HD.prototype;f.getIssueId=function(){return yi(this,1)};f.setIssueId=function(a){return n(this,1,a)};f.getCommentId=function(){return Gh(this,2)};f.getMentionsList=function(){return aj(this,GD,16)};f.getLastModified=function(){return gj(this,5)};f.getVersion=function(){return Gh(this,6)};f.setVersion=function(a){return n(this,6,a)};f.getVersionOrUndefined=function(){return bt(this,6)};f.getEntityStatus=function(){return Z(this,ED,9)};
f.getFormattingMode=function(){return W(this,10,0)};f.setFormattingMode=function(a){return n(this,10,a)};f.getFormattedComment=function(){return Z(this,Ej,13)};f.hasFormattedComment=function(){return Dj(this,Ej,13)};f.getPiiRetentionState=function(){return Z(this,yj,11)};f.getPiiRetention=function(){return W(this,12,0)};f.setPiiRetention=function(a){return n(this,12,a)};f.getRedacted=function(){return Jj(this,15)};f.getEtag=function(){return V(this,17)};f.setEtag=function(a){n(this,17,a)};
f.hasEtag=function(){return wk(this,17)};f.getCommentReaction=function(){return Z(this,DD,18)};HD.repeatedFields_=[16];HD.prototype.toObject=function(){return z$b(this)};
var z$b=function(a){if(null!=a)return t(a),{issueId:p(m(a,1)),commentId:p(Os(a,2)),mentionsList:Kb(a.getMentionsList(),y$b),commentContentVerdict:h$b(Z(a,sk,14)),lastEditorUser:WC(Z(a,gi,8)),lastModified:p(m(a,5)),version:p(Os(a,6)),unlinkifiedComment:p(m(a,7)),entityStatus:FD(a.getEntityStatus()),formattingMode:p(kr(a,10)),formattedComment:f$b(a.getFormattedComment()),piiRetentionState:j$b(a.getPiiRetentionState()),piiRetention:p(kr(a,12)),redacted:p(ar(a,15)),etag:p(m(a,17)),commentReaction:x$b(a.getCommentReaction())}};
HD.messageId="b.IssueComment";var ij=function(a){r.call(this,a)};U(ij,r);f=ij.prototype;f.getCreatedTimeMicros=function(){return gj(this,2)};f.setCreatedTimeMicros=function(a){n(this,2,a)};f.getComponentId=function(){return yi(this,3)};f.setComponentId=function(a){return n(this,3,a)};f.hasComponentId=function(){return xi(this,3)};f.getVersion=function(){return gj(this,4)};f.setVersion=function(a){return n(this,4,a)};f.getVersionOrUndefined=function(){return ct(this,4)};f.getType=function(){return W(this,5,0)};
f.setType=function(a){return n(this,5,a)};f.hasType=function(){return fj(this,5)};f.getStatus=function(){return W(this,6,0)};f.setStatus=function(a){return n(this,6,a)};f.hasStatus=function(){return fj(this,6)};f.getPriority=function(){return W(this,7,0)};f.setPriority=function(a){return n(this,7,a)};f.hasPriority=function(){return fj(this,7)};f.getSeverity=function(){return W(this,8,0)};f.setSeverity=function(a){return n(this,8,a)};f.hasSeverity=function(){return fj(this,8)};
f.getTitle=function(){return V(this,9)};f.setTitle=function(a){return n(this,9,a)};f.getAttachmentId=function(){return Ts(this,14)};f.setAttachmentId=function(a){Ws(this,14,a)};f.getPostmortemsList=function(){return Ih(this,35)};f.setPostmortemsList=function(a){Fi(this,35,a)};f.setFoundInVersion=function(a){xb(this,19,a,void 0,Ih)};f.setTargetedToVersion=function(a){xb(this,20,a,void 0,Ih)};f.setVerifiedInVersion=function(a){xb(this,21,a,void 0,Ih)};f.getInProd=function(){return Jj(this,22)};
f.setInProd=function(a){Lj(this,22,a)};f.getHotlistIdList=function(){return Hh(this,23)};f.setHotlistIdList=function(a){kj(this,23,a)};f.getHotlistId=function(){return Ts(this,23)};f.setHotlistId=function(a){Ws(this,23,a)};f.setCustomField=function(a,b){return Fs(this,24,Ei,a,b)};f.getRetention=function(){return W(this,42,0)};f.setRetention=function(a){n(this,42,a)};f.getIsDeleted=function(){return Jj(this,27)};f.setIsDeleted=function(a){Lj(this,27,a)};
f.getDeletionReason=function(){return W(this,28,0)};f.setDeletionReason=function(a){n(this,28,a)};f.getSignificanceOverride=function(){return W(this,29,0)};f.setSignificanceOverride=function(a){n(this,29,a)};f.getIsArchived=function(){return Jj(this,31)};f.setIsArchived=function(a){return Lj(this,31,a)};f.getComment=function(){return V(this,25)};f.setComment=function(a){n(this,25,a)};f.getFormattingMode=function(){return W(this,45,0)};f.setFormattingMode=function(a){return n(this,45,a)};
f.getSloStartTime=function(){return Z(this,Ch,34)};f.setSloStartTime=function(a){Yi(this,Ch,34,a)};f.getSloEndTime=function(){return Z(this,Ch,54)};f.setSloEndTime=function(a){Yi(this,Ch,54,a)};f.getSloSnoozeType=function(){return W(this,52,0)};f.setSloSnoozeType=function(a){n(this,52,a)};f.getEffort=function(){return Z(this,lj,50)};f.setEffort=function(a){Yi(this,lj,50,a)};f.hasEffort=function(){return Dj(this,lj,50)};f.getAccessLimitLevel=function(){return W(this,53,0)};
f.setAccessLimitLevel=function(a){n(this,53,a)};f.hasAccessLimitLevel=function(){return fj(this,53)};ij.repeatedFields_=[40,51,14,16,17,18,35,19,20,21,23,24,30];ij.prototype.toObject=function(){return A$b(this)};
var A$b=function(a){if(null!=a)return t(a),{authorUser:WC(Z(a,gi,36)),createdTimeMicros:p(m(a,2)),componentId:p(m(a,3)),version:p(m(a,4)),type:p(kr(a,5)),status:p(kr(a,6)),priority:p(kr(a,7)),severity:p(kr(a,8)),title:p(m(a,9)),reporterUser:WC(Z(a,gi,37)),assigneeUser:WC(Z(a,gi,38)),verifierUser:WC(Z(a,gi,39)),ccUsersList:Kb(aj(a,gi,40),WC),collaboratorUsersList:Kb(aj(a,gi,51),WC),attachmentIdList:p(Hh(a,14)),duplicateOfIssueId:p(m(a,15)),blockedByIssueIdList:p(Hh(a,16)),blockingIssueIdList:p(Hh(a,
17)),changelistList:p(Ih(a,18)),postmortemsList:p(Ih(a,35)),foundInVersionList:p(Ih(a,19)),targetedToVersionList:p(Ih(a,20)),verifiedInVersionList:p(Ih(a,21)),inProd:p(ar(a,22)),hotlistIdList:p(Hh(a,23)),customFieldList:Kb(aj(a,Ei,24),e9b),retention:p(kr(a,42)),isDeleted:p(ar(a,27)),deletionReason:p(kr(a,28)),significanceOverride:p(kr(a,29)),duplicateIssueIdList:p(Hh(a,30)),isArchived:p(ar(a,31)),comment:p(m(a,25)),formattingMode:p(kr(a,45)),sloStartTime:yt(a.getSloStartTime()),sloEndTime:yt(a.getSloEndTime()),
sloSnoozeType:p(kr(a,52)),effort:k9b(a.getEffort()),accessLimitLevel:p(kr(a,53))}};var wj=function(a){r.call(this,a,0,wj.messageId)};U(wj,r);f=wj.prototype;f.getStarred=function(){return Jj(this,1)};f.setStarred=function(a){Lj(this,1,a)};f.hasStarred=function(){return Dk(this,1)};f.getVoted=function(){return Jj(this,2)};f.setVoted=function(a){return Lj(this,2,a)};f.getNotificationSubscription=function(){return W(this,4,0)};f.setNotificationSubscription=function(a){return n(this,4,a)};f.toObject=function(){return B$b(this)};
var B$b=function(a){if(null!=a)return t(a),{starred:p(ar(a,1)),voted:p(ar(a,2)),notificationSubscription:p(kr(a,4)),lastViewedTimeMicros:p(m(a,5))}};wj.messageId="b.IssueUserData";var ID=function(a){r.call(this,a,0,ID.messageId)};U(ID,r);f=ID.prototype;f.getIssueId=function(){return yi(this,1)};f.setIssueId=function(a){return n(this,1,a)};f.getUpdateText=function(){return V(this,2)};f.setUpdateText=function(a){n(this,2,a)};f.getFormattingMode=function(){return W(this,4,0)};f.setFormattingMode=function(a){return n(this,4,a)};f.getAuthor=function(){return Z(this,gi,5)};f.setAuthor=function(a){Yi(this,gi,5,a)};f.getUpdateTime=function(){return Z(this,Ch,6)};
f.setUpdateTime=function(a){Yi(this,Ch,6,a)};f.getVersion=function(){return Gh(this,7)};f.setVersion=function(a){return n(this,7,a)};f.getVersionOrUndefined=function(){return bt(this,7)};f.getEntityStatus=function(){return Z(this,ED,8)};f.toObject=function(){return C$b(this)};var C$b=function(a){if(null!=a)return t(a),{issueId:p(m(a,1)),updateText:p(m(a,2)),formattedText:f$b(Z(a,Ej,3)),formattingMode:p(kr(a,4)),author:WC(a.getAuthor()),updateTime:yt(a.getUpdateTime()),version:p(Os(a,7)),entityStatus:FD(a.getEntityStatus())}};
ID.messageId="b.StatusUpdate";var vj=function(a){r.call(this,a)};U(vj,r);f=vj.prototype;f.getIssueId=function(){return yi(this,1)};f.setIssueId=function(a){return n(this,1,a)};f.setSnapshot=function(a){Fs(this,2,ij,a)};f.getUserData=function(){return Z(this,wj,3)};f.setUserData=function(a){Yi(this,wj,3,a)};f.getParentIssueIdsList=function(){return Hh(this,8)};f.setParentIssueIdsList=function(a){kj(this,8,a)};f.getAccessLimit=function(){return Z(this,$h,5)};f.setAccessLimit=function(a){return Yi(this,$h,5,a)};
f.getCustomFieldsList=function(){return aj(this,Ji,15)};f.setCustomFieldsList=function(a){dj(this,15,a)};f.getDescription=function(){return Z(this,HD,16)};f.setDescription=function(a){return Yi(this,HD,16,a)};f.hasDescription=function(){return Dj(this,HD,16)};f.getVisibleFieldsList=function(){return aj(this,Bi,6)};f.setVisibleFieldsList=function(a){dj(this,6,a)};f.getAncestorsMap=function(){return et(this,9,Aj)};f.getChildIssueCount=function(){return Gh(this,10)};
f.setChildIssueCount=function(a){n(this,10,a)};f.getIsArchived=function(){return Jj(this,11)};f.setIsArchived=function(a){return Lj(this,11,a)};f.getRelatedLinksList=function(){return aj(this,X9b,12)};f.getTrackerId=function(){return yi(this,13)};f.setTrackerId=function(a){n(this,13,a)};f.getStatusUpdate=function(){return Z(this,ID,14)};f.hasStatusUpdate=function(){return Dj(this,ID,14)};vj.repeatedFields_=[2,8,15,6,12];vj.prototype.toObject=function(){return JD(this)};
var JD=function(a){if(null!=a)return t(a),{issueId:p(m(a,1)),snapshotList:Kb(aj(a,ij,2),A$b),userData:B$b(a.getUserData()),aggregatedData:v$b(Z(a,xj,4)),parentIssueIdsList:p(Hh(a,8)),accessLimit:a9b(a.getAccessLimit()),customFieldsList:Kb(a.getCustomFieldsList(),f9b),description:z$b(a.getDescription()),visibleFieldsList:Kb(a.getVisibleFieldsList(),Z8b),majorModifiedTimeMicros:p(m(a,7)),ancestorsMap:Ob(a.getAncestorsMap(),o9b),childIssueCount:p(Os(a,10)),isArchived:p(ar(a,11)),relatedLinksList:Kb(a.getRelatedLinksList(),
Y9b),trackerId:p(m(a,13)),statusUpdate:C$b(a.getStatusUpdate())}};var uj=function(a){r.call(this,a,0,uj.messageId)};U(uj,r);f=uj.prototype;f.getIssueId=function(){return yi(this,1)};f.setIssueId=function(a){return n(this,1,a)};f.getPosition=function(){return Gh(this,2)};f.setPosition=function(a){return n(this,2,a)};f.getIssue=function(){return Z(this,vj,3)};f.setIssue=function(a){Yi(this,vj,3,a)};f.toObject=function(){return D$b(this)};var D$b=function(a){if(null!=a)return t(a),{issueId:p(m(a,1)),position:p(Os(a,2)),issue:JD(a.getIssue())}};uj.messageId="b.HotlistIssue";var Cj=function(a){r.call(this,a)};U(Cj,r);f=Cj.prototype;f.getSnapshot=function(){return Z(this,ij,1)};f.setSnapshot=function(a){Yi(this,ij,1,a)};f.getAttachmentsList=function(){return Is(this,2)};f.setAttachmentsList=function(a){KJb(this,2,a)};f.getAttachments=function(){return QJb(this,2)};f.getTemplateId=function(){return yi(this,4)};f.setTemplateId=function(a){n(this,4,a)};f.getContentJudgement=function(){return Z(this,zi,5)};f.setContentJudgement=function(a){return Yi(this,zi,5,a)};
Cj.repeatedFields_=[2,3];Cj.prototype.toObject=function(){if(null!=this){t(this);var a={snapshot:A$b(this.getSnapshot()),attachmentsList:Pb(this.getAttachmentsList()),attachmentStringsList:p(Ih(this,3)),templateId:p(m(this,4)),contentJudgement:$C(this.getContentJudgement())}}else a=void 0;return a};var sj=function(a){r.call(this,a)};U(sj,r);f=sj.prototype;f.getIssueId=function(){return yi(this,1)};f.setIssueId=function(a){return n(this,1,a)};f.getActionsList=function(){return aj(this,rj,2)};f.setActionsList=function(a){dj(this,2,a)};f.getAttachmentsList=function(){return Is(this,3)};f.setAttachmentsList=function(a){KJb(this,3,a)};f.getAttachments=function(){return QJb(this,3)};f.getSignificanceOverride=function(){return V(this,4)};f.setSignificanceOverride=function(a){n(this,4,a)};
sj.repeatedFields_=[2,3,5];sj.prototype.toObject=function(){if(null!=this){t(this);var a={issueId:p(m(this,1)),actionsList:Kb(this.getActionsList(),t$b),attachmentsList:Pb(this.getAttachmentsList()),significanceOverride:p(m(this,4)),attachmentStringsList:p(Ih(this,5))}}else a=void 0;return a};var E$b=function(a){r.call(this,a)};U(E$b,r);f=E$b.prototype;f.getCount=function(){return Gh(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 V(this,5)};f.setTrackerIdsList=function(a){kj(this,6,a)};E$b.repeatedFields_=[6];
E$b.prototype.toObject=function(){if(null!=this){t(this);var a={q:p(m(this,1)),count:p(Os(this,2)),s:p(m(this,3)),p:p(Os(this,4)),nextPageToken:p(m(this,5)),trackerIdsList:p(Hh(this,6))}}else a=void 0;return a};var vsa=function(a){r.call(this,a)};U(vsa,r);f=vsa.prototype;f.getIssueId=function(){return yi(this,1)};f.setIssueId=function(a){return n(this,1,a)};f.getComponentId=function(){return yi(this,2)};f.setComponentId=function(a){return n(this,2,a)};f.hasComponentId=function(){return xi(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};var tsa=function(a){r.call(this,a)};U(tsa,r);f=tsa.prototype;f.getIssueId=function(){return yi(this,1)};f.setIssueId=function(a){return n(this,1,a)};f.getComponentId=function(){return yi(this,2)};f.setComponentId=function(a){return n(this,2,a)};f.hasComponentId=function(){return xi(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};var Bj=function(a){r.call(this,a)};U(Bj,r);f=Bj.prototype;f.getIssueId=function(){return yi(this,1)};f.setIssueId=function(a){return n(this,1,a)};f.getRelation=function(){return W(this,3,0)};f.setRelation=function(a){n(this,3,a)};f.setActionType=function(a){n(this,4,a)};Bj.repeatedFields_=[2];Bj.prototype.toObject=function(){if(null!=this){t(this);var a={issueId:p(m(this,1)),targetIdsList:p(Hh(this,2)),relation:p(kr(this,3)),actionType:p(kr(this,4))}}else a=void 0;return a};var qj=function(a){r.call(this,a,0,qj.messageId)};U(qj,r);qj.prototype.getIssueId=function(){return yi(this,1)};qj.prototype.setIssueId=function(a){return n(this,1,a)};qj.prototype.toObject=function(){if(null!=this){t(this);var a={issueId:p(m(this,1))}}else a=void 0;return a};qj.messageId="b.UnCcUserActionRequest";var KD=function(a){r.call(this,a,0,KD.messageId)};U(KD,r);KD.prototype.getIssueId=function(){return yi(this,1)};KD.prototype.setIssueId=function(a){return n(this,1,a)};KD.prototype.toObject=function(){if(null!=this){t(this);var a={issueId:p(m(this,1))}}else a=void 0;return a};KD.messageId="b.UndeleteIssueRequest";var LD=function(a){r.call(this,a)};U(LD,r);LD.prototype.getAccessLevel=function(){return W(this,1,0)};LD.prototype.setAccessLevel=function(a){return n(this,1,a)};LD.prototype.toObject=function(){return F$b(this)};var F$b=function(a){if(null!=a)return t(a),{accessLevel:p(kr(a,1))}};var MD=function(a){r.call(this,a,0,MD.messageId)};U(MD,r);f=MD.prototype;f.getIssueId=function(){return yi(this,1)};f.setIssueId=function(a){return n(this,1,a)};f.getIssueAccessLimit=function(){return Z(this,LD,2)};f.setIssueAccessLimit=function(a){Yi(this,LD,2,a)};f.getAddedCollaboratorsList=function(){return aj(this,gi,3)};f.setAddedCollaboratorsList=function(a){dj(this,3,a)};f.getRemovedCollaboratorsList=function(){return aj(this,gi,4)};f.setRemovedCollaboratorsList=function(a){dj(this,4,a)};
MD.repeatedFields_=[3,4];MD.prototype.toObject=function(){if(null!=this){t(this);var a={issueId:p(m(this,1)),issueAccessLimit:F$b(this.getIssueAccessLimit()),addedCollaboratorsList:Kb(this.getAddedCollaboratorsList(),WC),removedCollaboratorsList:Kb(this.getRemovedCollaboratorsList(),WC)}}else a=void 0;return a};MD.messageId="b.UpdateIssueAccessLimitRequest";var tj=function(a){r.call(this,a)};U(tj,r);tj.prototype.setAddHotlistIdsList=function(a){kj(this,1,a)};tj.prototype.setRemoveHotlistIdsList=function(a){kj(this,2,a)};tj.prototype.getSignificanceOverride=function(){return W(this,4,0)};tj.prototype.setSignificanceOverride=function(a){n(this,4,a)};tj.repeatedFields_=[1,2];
tj.prototype.toObject=function(){if(null!=this){t(this);var a={addHotlistIdsList:p(Hh(this,1)),removeHotlistIdsList:p(Hh(this,2)),hotlistIssue:D$b(Z(this,uj,3)),significanceOverride:p(kr(this,4))}}else a=void 0;return a};var Gsa=function(a){r.call(this,a)};U(Gsa,r);f=Gsa.prototype;f.getIssueId=function(){return yi(this,1)};f.setIssueId=function(a){return n(this,1,a)};f.getRetention=function(){return W(this,2,0)};f.setRetention=function(a){n(this,2,a)};f.getSignificanceOverride=function(){return W(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(kr(this,2)),significanceOverride:p(kr(this,3))}}else a=void 0;return a};var Hj=function(a){r.call(this,a)};U(Hj,r);Hj.prototype.getContentJudgement=function(){return Z(this,zi,2)};Hj.prototype.setContentJudgement=function(a){return Yi(this,zi,2,a)};Hj.prototype.toObject=function(){return G$b(this)};var G$b=function(a){if(null!=a)return t(a),{attachment:Pb(Gj(a,1)),contentJudgement:$C(a.getContentJudgement())}};var ND=function(a){r.call(this,a)};U(ND,r);ND.prototype.getIssueId=function(){return yi(this,1)};ND.prototype.setIssueId=function(a){return n(this,1,a)};ND.repeatedFields_=[3];ND.prototype.toObject=function(){if(null!=this){t(this);var a={issueId:p(m(this,1)),attachmentsWithJudgementsList:Kb(aj(this,Hj,3),G$b)}}else a=void 0;return a};var H$b=function(a){r.call(this,a)};U(H$b,r);f=H$b.prototype;f.getFilename=function(){return V(this,1)};f.setFilename=function(a){n(this,1,a)};f.getMimeType=function(){return V(this,2)};f.setMimeType=function(a){n(this,2,a)};f.getSize=function(){return gj(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};var Zsa=function(a){r.call(this,a)};U(Zsa,r);f=Zsa.prototype;f.getTeamId=function(){return gj(this,1)};f.setTeamId=function(a){return Cb(this,1,a)};f.getScore=function(){return hj(this,2)};f.setScore=function(a){nj(this,2,a)};f.toObject=function(){return I$b(this)};var I$b=function(a){if(null!=a)return t(a),{teamId:gj(a,1),score:hj(a,2)}};var Nj=function(a){r.call(this,a)};U(Nj,r);f=Nj.prototype;f.getInherit=function(){return Jj(this,1)};f.setInherit=function(a){Lj(this,1,a)};f.getId=function(){return yi(this,2)};f.setId=function(a){return n(this,2,a)};f.toObject=function(){return J$b(this)};var J$b=function(a){if(null!=a)return t(a),{inherit:p(ar(a,1)),id:p(m(a,2))}};var Kj=function(a){r.call(this,a)};U(Kj,r);Kj.prototype.getUser=function(){return Z(this,gi,1)};Kj.prototype.setUser=function(a){Yi(this,gi,1,a)};Kj.prototype.hasUser=function(){return Dj(this,gi,1)};Kj.prototype.toObject=function(){return K$b(this)};var K$b=function(a){if(null!=a)return t(a),{user:WC(a.getUser()),isLead:p(ar(a,2))}};var Mj=function(a){r.call(this,a)};U(Mj,r);f=Mj.prototype;f.getInherit=function(){return Jj(this,1)};f.setInherit=function(a){Lj(this,1,a)};f.getSloId=function(){return yi(this,2)};f.setSloId=function(a){return n(this,2,a)};f.getComment=function(){return V(this,3)};f.setComment=function(a){n(this,3,a)};f.getSourceTeamId=function(){return yi(this,4)};f.setSourceTeamId=function(a){n(this,4,a)};f.toObject=function(){return L$b(this)};
var L$b=function(a){if(null!=a)return t(a),{inherit:p(ar(a,1)),sloId:p(m(a,2)),comment:p(m(a,3)),sourceTeamId:p(m(a,4))}};var OD=function(a){r.call(this,a,0,OD.messageId)};U(OD,r);f=OD.prototype;f.getTeamId=function(){return yi(this,1)};f.setTeamId=function(a){return n(this,1,a)};f.getVersion=function(){return Gh(this,2)};f.setVersion=function(a){return n(this,2,a)};f.getVersionOrUndefined=function(){return bt(this,2)};f.getName=function(){return V(this,3)};f.setName=function(a){return n(this,3,a)};f.hasName=function(){return wk(this,3)};f.getNameOrUndefined=function(){return dt(this,3)};
f.getDescription=function(){return V(this,4)};f.setDescription=function(a){return n(this,4,a)};f.hasDescription=function(){return wk(this,4)};f.getPathNamesList=function(){return Ih(this,5)};f.setPathNamesList=function(a){Fi(this,5,a)};f.getPathIdsList=function(){return il(this,10)};f.setPathIdsList=function(a){tb(this,10,a,db)};f.getMembersList=function(){return aj(this,Kj,7)};f.setMembersList=function(a){dj(this,7,a)};f.getDeleted=function(){return Jj(this,8)};
f.setDeleted=function(a){Lj(this,8,a)};f.getSlo=function(){return Z(this,Mj,11)};f.setSlo=function(a){Yi(this,Mj,11,a)};f.hasSlo=function(){return Dj(this,Mj,11)};OD.repeatedFields_=[5,10,6,7];OD.prototype.toObject=function(){return M$b(this)};
var M$b=function(a){if(null!=a)return t(a),{teamId:p(m(a,1)),version:p(Os(a,2)),name:p(m(a,3)),description:p(m(a,4)),pathNamesList:p(Ih(a,5)),pathIdsList:p(il(a,10)),collapsedPathNamesList:p(Ih(a,6)),membersList:Kb(a.getMembersList(),K$b),deleted:p(ar(a,8)),estimatedComponentCount:p(m(a,9)),slo:L$b(a.getSlo()),sloLead:WC(Z(a,gi,12)),defaultSloLead:WC(Z(a,gi,13))}};OD.messageId="b.TeamState";var N$b=function(a){r.call(this,a)};U(N$b,r);f=N$b.prototype;f.getPathIdsList=function(){return Hh(this,1)};f.setPathIdsList=function(a){kj(this,1,a)};f.getPathNamesList=function(){return Ih(this,2)};f.setPathNamesList=function(a){Fi(this,2,a)};f.getId=function(){return yi(this,3)};f.setId=function(a){return n(this,3,a)};f.getName=function(){return V(this,4)};f.setName=function(a){return n(this,4,a)};f.hasName=function(){return wk(this,4)};f.getNameOrUndefined=function(){return dt(this,4)};
f.getDescription=function(){return V(this,5)};f.setDescription=function(a){return n(this,5,a)};f.hasDescription=function(){return wk(this,5)};N$b.repeatedFields_=[1,2];N$b.prototype.toObject=function(){return O$b(this)};var O$b=function(a){if(null!=a)return t(a),{pathIdsList:p(Hh(a,1)),pathNamesList:p(Ih(a,2)),id:p(m(a,3)),name:p(m(a,4)),description:p(m(a,5))}};var P$b=function(a){r.call(this,a)};U(P$b,r);f=P$b.prototype;f.getId=function(){return yi(this,1)};f.setId=function(a){return n(this,1,a)};f.getName=function(){return V(this,2)};f.setName=function(a){return n(this,2,a)};f.hasName=function(){return wk(this,2)};f.getNameOrUndefined=function(){return dt(this,2)};f.getDescription=function(){return V(this,3)};f.setDescription=function(a){return n(this,3,a)};f.hasDescription=function(){return wk(this,3)};f.toObject=function(){return Q$b(this)};
var Q$b=function(a){if(null!=a)return t(a),{id:p(m(a,1)),name:p(m(a,2)),description:p(m(a,3))}};var Pj=function(a){r.call(this,a)};U(Pj,r);Pj.repeatedFields_=[1,2,4];Pj.prototype.toObject=function(){return R$b(this)};var R$b=function(a){if(null!=a)return t(a),{componentPathIdList:p(Hh(a,1)),componentPathNameList:p(Ih(a,2)),allCustomFieldList:Kb(aj(a,Ji,4),f9b)}};var Tj=function(a){r.call(this,a,0,Tj.messageId)};U(Tj,r);f=Tj.prototype;f.getComponentId=function(){return yi(this,1)};f.setComponentId=function(a){return n(this,1,a)};f.hasComponentId=function(){return xi(this,1)};f.getName=function(){return V(this,3)};f.setName=function(a){return n(this,3,a)};f.hasName=function(){return wk(this,3)};f.getNameOrUndefined=function(){return dt(this,3)};f.getDescription=function(){return V(this,4)};f.setDescription=function(a){return n(this,4,a)};
f.hasDescription=function(){return wk(this,4)};f.getArchived=function(){return Jj(this,5)};f.setArchived=function(a){Lj(this,5,a)};f.getCustomFieldId=function(){return Ts(this,7)};f.setCustomFieldId=function(a){return Ws(this,7,a)};f.getHotlistIdList=function(){return Hh(this,8)};f.setHotlistIdList=function(a){kj(this,8,a)};f.getHotlistId=function(){return Ts(this,8)};f.setHotlistId=function(a){Ws(this,8,a)};f.getTemplateId=function(){return Ts(this,9)};f.setTemplateId=function(a){Ws(this,9,a)};
f.getAccessLimit=function(){return Z(this,$h,12)};f.setAccessLimit=function(a){return Yi(this,$h,12,a)};f.setCommentEditState=function(a){return n(this,15,a)};f.getSlo=function(){return Z(this,Ti,19)};f.setSlo=function(a){Yi(this,Ti,19,a)};f.hasSlo=function(){return Dj(this,Ti,19)};f.getRetentionSettings=function(){return Z(this,Qi,21)};f.setRetentionSettings=function(a){Yi(this,Qi,21,a)};f.hasRetentionSettings=function(){return Dj(this,Qi,21)};f.getTeam=function(){return Z(this,Nj,22)};
f.setTeam=function(a){Yi(this,Nj,22,a)};f.hasTeam=function(){return Dj(this,Nj,22)};f.getEffortSpec=function(){return Z(this,Li,24)};f.getTeamSuggestionsList=function(){return aj(this,Zsa,25)};f.setTeamSuggestionsList=function(a){dj(this,25,a)};f.getTrackerId=function(){return yi(this,26)};f.setTrackerId=function(a){n(this,26,a)};Tj.repeatedFields_=[6,7,8,9,25];Tj.prototype.toObject=function(){return PD(this)};
var PD=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(ar(a,5)),codenameList:p(Ih(a,6)),customFieldIdList:p(Hh(a,7)),hotlistIdList:p(Hh(a,8)),templateIdList:p(Hh(a,9)),componentPathInfo:R$b(Z(a,Pj,10)),accessLimit:a9b(a.getAccessLimit()),emailAlias:p(m(a,13)),userHasEditAccess:p(ar(a,14)),commentEditState:p(kr(a,15)),defaultTemplateId:p(m(a,18)),slo:n$b(a.getSlo()),bugscopeSloId:p(m(a,20)),retentionSettings:i$b(a.getRetentionSettings()),
team:J$b(a.getTeam()),fieldOrdering:p(kr(a,23)),effortSpec:j9b(a.getEffortSpec()),teamSuggestionsList:Kb(a.getTeamSuggestionsList(),I$b),trackerId:p(m(a,26))}};Tj.messageId="b.Component";var Uj=function(a){r.call(this,a)};U(Uj,r);f=Uj.prototype;f.getTemplateId=function(){return gj(this,1)};f.setTemplateId=function(a){n(this,1,a)};f.getComponentId=function(){return yi(this,2)};f.setComponentId=function(a){return n(this,2,a)};f.hasComponentId=function(){return xi(this,2)};f.getDefault=function(){return Jj(this,6)};f.setDefault=function(a){Lj(this,6,a)};f.getName=function(){return V(this,3)};f.setName=function(a){return n(this,3,a)};f.hasName=function(){return wk(this,3)};
f.getNameOrUndefined=function(){return dt(this,3)};f.getDescription=function(){return V(this,4)};f.setDescription=function(a){return n(this,4,a)};f.hasDescription=function(){return wk(this,4)};f.getSnapshot=function(){return Z(this,ij,5)};f.setSnapshot=function(a){Yi(this,ij,5,a)};f.toObject=function(){return S$b(this)};var S$b=function(a){if(null!=a)return t(a),{templateId:p(m(a,1)),componentId:p(m(a,2)),pb_default:p(ar(a,6)),name:p(m(a,3)),description:p(m(a,4)),snapshot:A$b(a.getSnapshot())}};var QD=function(a){r.call(this,a,0,QD.messageId)};U(QD,r);QD.prototype.getSlo=function(){return Z(this,Ti,1)};QD.prototype.setSlo=function(a){Yi(this,Ti,1,a)};QD.prototype.hasSlo=function(){return Dj(this,Ti,1)};QD.prototype.toObject=function(){if(null!=this){t(this);var a={slo:n$b(this.getSlo())}}else a=void 0;return a};QD.messageId="b.UpdateComponentSloRequest";var RD=function(a){r.call(this,a,0,RD.messageId)};U(RD,r);RD.prototype.getTeam=function(){return Z(this,Nj,1)};RD.prototype.setTeam=function(a){Yi(this,Nj,1,a)};RD.prototype.hasTeam=function(){return Dj(this,Nj,1)};RD.prototype.toObject=function(){if(null!=this){t(this);var a={team:J$b(this.getTeam())}}else a=void 0;return a};RD.messageId="b.UpdateComponentTeamRequest";var ok=function(a){r.call(this,a)};U(ok,r);f=ok.prototype;f.getActionsList=function(){return aj(this,rj,1)};f.setActionsList=function(a){dj(this,1,a)};f.getIssueIdsList=function(){return Hh(this,2)};f.setIssueIdsList=function(a){return kj(this,2,a)};f.addIssueIds=function(a){wb(this,2,a)};ok.repeatedFields_=[1,2];ok.prototype.toObject=function(){return T$b(this)};var T$b=function(a){if(null!=a)return t(a),{actionsList:Kb(a.getActionsList(),t$b),issueIdsList:p(Hh(a,2))}};var SD=function(a){r.call(this,a)};U(SD,r);SD.prototype.getSignificanceOverride=function(){return V(this,3)};SD.prototype.setSignificanceOverride=function(a){n(this,3,a)};SD.repeatedFields_=[4];SD.prototype.toObject=function(){if(null!=this){t(this);var a={bulkEditOpsList:Kb(aj(this,ok,4),T$b),significanceOverride:p(m(this,3))}}else a=void 0;return a};var yua=function(a){r.call(this,a)};U(yua,r);yua.prototype.toObject=function(){return U$b(this)};var U$b=function(a){if(null!=a)return t(a),{privateDoNotAccessOrElseTrustedResourceUrlWrappedValue:p(m(a,4))}};var V$b=function(a){return"action/issues/"+a+"/statusUpdate"},Sr={COMPONENT_CREATE:"/components/new",HOTLIST_SEARCH:function(a){return"/issues?q=hotlistid:"+a},HOTLIST_VIEW:function(a){return"/hotlists/"+(void 0===a?"":a)},ISSUE:function(a){return"/issues/"+a},ISSUE_LIST:"/issues",ISSUE_CREATE:"/issues/new"},W$b={ISSUE_ID:"issueId",COMPONENT_ID:"componentId",GROUP_ID:"groupId",HOTLIST_ID:"hotlistId",SAVED_SEARCH_ID:"savedSearchId",SLO_ID:"sloId",TEAM_ID:"teamId"};var vk=function(a){r.call(this,a,0,vk.messageId)};U(vk,r);vk.prototype.getLogoUrl=function(){return V(this,1)};vk.prototype.getTheme=function(){return W(this,2,0)};vk.prototype.setTheme=function(a){return n(this,2,a)};vk.prototype.toObject=function(){return X$b(this)};var X$b=function(a){if(null!=a)return t(a),{logoUrl:p(m(a,1)),theme:p(kr(a,2)),cocUrl:p(m(a,3))}};vk.messageId="b.Branding";var ll=function(a){r.call(this,a,0,ll.messageId)};U(ll,r);f=ll.prototype;f.getTrackerId=function(){return yi(this,1)};f.setTrackerId=function(a){n(this,1,a)};f.getComponentId=function(){return yi(this,2)};f.setComponentId=function(a){return n(this,2,a)};f.hasComponentId=function(){return xi(this,2)};f.getName=function(){return V(this,3)};f.setName=function(a){return n(this,3,a)};f.hasName=function(){return wk(this,3)};f.getNameOrUndefined=function(){return dt(this,3)};ll.repeatedFields_=[4,8];
ll.prototype.toObject=function(){return Y$b(this)};var Y$b=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(Hh(a,4)),internalBaseUrl:p(m(a,6)),externalBaseUrl:p(m(a,7)),branding:X$b(Z(a,vk,5)),trustedCollaboratorsList:Kb(aj(a,gi,8),WC)}};ll.messageId="b.Tracker";var Tta={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"},Z$b={},$$b=(Z$b[3]="LITERAL_FORMATTING_MODE",Z$b[1]="PLAIN_FORMATTING_MODE",Z$b[2]="MARKDOWN_FORMATTING_MODE",Z$b),aac=$$b[2],bac=$$b[1],TD={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 yk=function(a){this.type=a.type;this.customFieldId=a.customFieldId||void 0;this.customFieldName=a.customFieldName||void 0};yk.prototype.isCustomField=function(){return"CUSTOM_FIELD"===this.type};yk.prototype.toApiUrlParam=function(){return this.isCustomField()?this.type.toLowerCase()+"."+this.customFieldId:this.type.toLowerCase()};yk.prototype.toString=function(){return this.toApiUrlParam()};var Ck=function(a,b){this.fieldId=a;this.direction=b};Ck.prototype.toApiUrlParam=function(){return this.fieldId.toApiUrlParam()+":"+("ASCENDING"===this.direction?"asc":"desc")};Ck.prototype.toString=function(){return this.toApiUrlParam()};var Mk=function(a){r.call(this,a)};U(Mk,r);Mk.prototype.toObject=function(){return cac(this)};var cac=function(a){if(null!=a)return t(a),{announcementDismissed:p(ar(a,2)),enableBugScreensaver:p(ar(a,1))}};var Rk=function(a){r.call(this,a)};U(Rk,r);Rk.prototype.toObject=function(){return dac(this)};var dac=function(a){if(null!=a)return t(a),{commentFilter:p(kr(a,1))}};var bl=function(a){r.call(this,a)};U(bl,r);f=bl.prototype;f.getType=function(){return W(this,1,1)};f.setType=function(a){return n(this,1,a)};f.hasType=function(){return fj(this,1)};f.getCustomFieldId=function(){return gj(this,2)};f.setCustomFieldId=function(a){return n(this,2,a)};f.hasCustomFieldId=function(){return Ok(this,2)};f.toObject=function(){return eac(this)};var eac=function(a){if(null!=a)return t(a),{type:p(kr(a,1)),customFieldId:p(m(a,2))}};var Zk=function(a){r.call(this,a)};U(Zk,r);Zk.prototype.getTimeZone=function(){return V(this,5)};Zk.prototype.setTimeZone=function(a){return n(this,5,a)};Zk.prototype.hasTimeZone=function(){return wk(this,5)};Zk.prototype.toObject=function(){return fac(this)};var fac=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(kr(a,7))}};var Vk=function(a){r.call(this,a)};U(Vk,r);Vk.prototype.getColumnList=function(){return aj(this,bl,1)};Vk.prototype.setColumnList=function(a){return dj(this,1,a)};Vk.prototype.setColumn=function(a){return Fs(this,1,bl,a)};Vk.repeatedFields_=[1];Vk.prototype.toObject=function(){return gac(this)};var gac=function(a){if(null!=a)return t(a),{columnList:Kb(a.getColumnList(),eac)}};var Yk=function(a){r.call(this,a)};U(Yk,r);Yk.prototype.toObject=function(){return hac(this)};var hac=function(a){if(null!=a)return t(a),{leftSidebarWidth:p(Os(a,1)),expandIssueSlo:p(ar(a,2)),rightSidebarWidth:p(Os(a,3))}};var Hk=function(a){r.call(this,a)};U(Hk,r);Hk.prototype.toObject=function(){return iac(this)};var iac=function(a){if(null!=a)return t(a),{showHotlists:p(ar(a,1)),wrapTitles:p(ar(a,2)),wrapComponents:p(ar(a,3)),showStatusIcons:p(ar(a,4)),rtlComponentPath:p(ar(a,5)),fieldStatusMap:Ob(sb(a,6,kb)),modeForFieldMap:Ob(sb(a,7,kb))}};var dl=function(a){r.call(this,a)};U(dl,r);dl.prototype.getColumn=function(){return Z(this,bl,1)};dl.prototype.setColumn=function(a){return Yi(this,bl,1,a)};dl.prototype.toObject=function(){return jac(this)};var jac=function(a){if(null!=a)return t(a),{column:eac(a.getColumn()),order:p(kr(a,2))}};var Wk=function(a){r.call(this,a)};U(Wk,r);Wk.prototype.getColumnList=function(){return aj(this,dl,1)};Wk.prototype.setColumnList=function(a){return dj(this,1,a)};Wk.prototype.setColumn=function(a){return Fs(this,1,dl,a)};Wk.repeatedFields_=[1];Wk.prototype.toObject=function(){return kac(this)};var kac=function(a){if(null!=a)return t(a),{columnList:Kb(a.getColumnList(),jac)}};var Ik=function(a){r.call(this,a)};U(Ik,r);Ik.prototype.getDensity=function(){return W(this,1,1)};Ik.prototype.setDensity=function(a){return n(this,1,a)};Ik.prototype.toObject=function(){return lac(this)};var lac=function(a){if(null!=a)return t(a),{density:p(kr(a,1))}};var Nk=function(a){r.call(this,a)};U(Nk,r);Nk.prototype.toObject=function(){return mac(this)};var mac=function(a){if(null!=a)return t(a),{announcementDismissedMillis:p(m(a,1))}};var $k=function(a){r.call(this,a)};U($k,r);f=$k.prototype;f.getResourceType=function(){return W(this,1,1)};f.setResourceType=function(a){n(this,1,a)};f.hasResourceType=function(){return fj(this,1)};f.getResourceId=function(){return yi(this,2)};f.setResourceId=function(a){n(this,2,a)};f.hasResourceId=function(){return xi(this,2)};f.toObject=function(){return nac(this)};var nac=function(a){if(null!=a)return t(a),{resourceType:p(kr(a,1)),resourceId:p(m(a,2))}};var Kk=function(a){r.call(this,a)};U(Kk,r);Kk.prototype.toObject=function(){return oac(this)};var oac=function(a){if(null!=a)return t(a),{enableAllHotkeys:Jj(a,1,!0)}};var Sk=function(a){r.call(this,a)};U(Sk,r);Sk.repeatedFields_=[1];Sk.prototype.toObject=function(){return pac(this)};var pac=function(a){if(null!=a)return t(a),{selectedSignalsList:p(Tk(a,1))}};var Fk=function(a){r.call(this,a)};U(Fk,r);Fk.prototype.toObject=function(){return qac(this)};var qac=function(a){if(null!=a)return t(a),{reportedPriority:p(kr(a,1)),assignedPriority:p(kr(a,2)),verifiedPriority:p(kr(a,3)),ccdPriority:p(kr(a,4)),collaboratorPriority:p(kr(a,9)),starredPriority:p(kr(a,5)),excludeChangesByMe:p(ar(a,6)),unsubscribeFromAll:p(ar(a,7)),enableV2Prefs:p(ar(a,8))}};var Qk=function(a){r.call(this,a)};U(Qk,r);Qk.prototype.getComponentId=function(){return gj(this,1)};Qk.prototype.setComponentId=function(a){return n(this,1,a)};Qk.prototype.hasComponentId=function(){return Ok(this,1)};Qk.prototype.toObject=function(){return rac(this)};var rac=function(a){if(null!=a)return t(a),{componentId:p(m(a,1)),dismissMillis:p(m(a,2))}};var Pk=function(a){r.call(this,a)};U(Pk,r);var uua=function(a,b){dj(a,1,b)};Pk.repeatedFields_=[1];Pk.prototype.toObject=function(){return sac(this)};var sac=function(a){if(null!=a)return t(a),{componentTeamWarningsList:Kb(aj(a,Qk,1),rac)}};var Lk=function(a){r.call(this,a)};U(Lk,r);Lk.prototype.toObject=function(){return tac(this)};var tac=function(a){if(null!=a)return t(a),{lastPublishMode:p(kr(a,1)),commentDisplayOverride:p(kr(a,2))}};var uac=function(a){r.call(this,a)};U(uac,r);uac.repeatedFields_=[1];uac.prototype.toObject=function(){return vac(this)};var vac=function(a){if(null!=a)return t(a),{recentComponentIdList:p(il(a,1))}};var wac=function(a){r.call(this,a)};U(wac,r);wac.prototype.toObject=function(){return xac(this)};var xac=function(a){if(null!=a)return t(a),{enableNewIssueDetailsPage:p(ar(a,1)),onboardingDialogAcknowledgedMillis:p(m(a,2)),newIdpOptOut:p(ar(a,3))}};var yac=function(a){r.call(this,a)};U(yac,r);yac.repeatedFields_=[1];yac.prototype.toObject=function(){return zac(this)};var zac=function(a){if(null!=a)return t(a),{hiddenSavedSearchList:p(il(a,1))}};var Aac=function(a){r.call(this,a)};U(Aac,r);Aac.prototype.getValue=function(){return Jj(this,1)};Aac.prototype.setValue=function(a){return Ab(this,1,a)};Aac.prototype.toObject=function(){return Bac(this)};var Bac=function(a){if(null!=a)return t(a),{value:Jj(a,1)}};var Uk=function(a){r.call(this,a)};U(Uk,r);f=Uk.prototype;f.getDisplayColumns=function(){return Z(this,Vk,4)};f.getSortColumns=function(){return Z(this,Wk,6)};f.getLayoutPreferences=function(){return Z(this,Yk,10)};f.getDateTimePreferences=function(){return Z(this,Zk,11)};f.getHomepagePreferences=function(){return Z(this,$k,13)};f.clearHomepagePreferences=function(){return Js(this,13)};f.getShowInlineImages=function(){return Jj(this,29)};f.toObject=function(){return Cac(this)};
var Cac=function(a){if(null!=a)return t(a),{showFullHistory:p(ar(a,1)),useCodefont:p(ar(a,2)),notificationPreferences:qac(Z(a,Fk,3)),displayColumns:gac(a.getDisplayColumns()),resultsPerPage:p(Os(a,5)),sortColumns:kac(a.getSortColumns()),bannerMessageId:p(m(a,7)),themePreferences:lac(Z(a,Ik,8)),listViewPreferences:iac(Z(a,Hk,9)),layoutPreferences:hac(a.getLayoutPreferences()),dateTimePreferences:fac(a.getDateTimePreferences()),sidebarPreferences:zac(Z(a,yac,12)),homepagePreferences:nac(a.getHomepagePreferences()),
componentPreferences:vac(Z(a,uac,14)),keyboardPreferences:oac(Z(a,Kk,17)),termsAcknowledgedMillis:p(m(a,15)),newFeaturesAcknowledgedMillis:p(m(a,16)),autoCcOnComment:p(ar(a,18)),enableMaterialStyles:Bac(Z(a,Aac,19)),textDisplayPreferences:tac(Z(a,Lk,20)),bugScreensaverPreferences:cac(Z(a,Mk,21)),newIssueDetailsPagePreferences:xac(Z(a,wac,22)),teamWarningPreferences:sac(Z(a,Pk,23)),g3nPreferences:mac(Z(a,Nk,24)),dismissalTimestampsMap:Ob(Vj(a,25,Ch),yt),showRecentEventsFirst:p(ar(a,26)),collapsedMap:Ob(sb(a,
27,ib)),commentFilterPreferences:dac(Z(a,Rk,28)),showInlineImages:p(ar(a,29)),needsAttentionPreferences:pac(Z(a,Sk,30))}};var fl=function(a){r.call(this,a)};U(fl,r);f=fl.prototype;f.getAnalyticsId=function(){return V(this,1)};f.getAppName=function(){return V(this,2)};f.getDocumentationBaseUrl=function(){return V(this,3)};f.getEnvironmentType=function(){return V(this,5)};f.getMaxAccurateSearchResults=function(){return Gh(this,6)};f.getOnePickUrl=function(){return V(this,7)};f.getOnePickSecretToken=function(){return V(this,12)};f.getCommentNumberLimit=function(){return Gh(this,8)};
f.getCreateComponentRedirectDelay=function(){return hj(this,9)};f.getCreateRestrictedSubresourcesComponentWhitelist=function(){return OJb(this,13)};fl.repeatedFields_=[10,13,18];fl.prototype.toObject=function(){return Dac(this)};
var Dac=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(sb(a,4,ib)),environmentType:p(m(a,5)),maxAccurateSearchResults:p(Os(a,6)),onePickUrl:p(m(a,7)),onePickSecretToken:p(m(a,12)),commentNumberLimit:p(Os(a,8)),createComponentRedirectDelay:p(Gs(a,9)),whitelistedWhitelistDomainPartnerComponentIdsList:p(Hh(a,10)),isDogfooder:p(ar(a,11)),createRestrictedSubresourcesComponentWhitelistList:p(il(a,13)),issueAccessLimitsComponentAllowlistList:p(il(a,
18))}};var hl=function(a){r.call(this,a)};U(hl,r);f=hl.prototype;f.getEmail=function(){return V(this,1)};f.setEmail=function(a){return n(this,1,a)};f.hasEmail=function(){return wk(this,1)};f.getSessionIdentifier=function(){return V(this,3)};f.getUserTypeLabel=function(){return V(this,5)};f.toObject=function(){return Eac(this)};var Eac=function(a){if(null!=a)return t(a),{anonymous:p(ar(a,4)),email:p(m(a,1)),sessionIdentifier:p(m(a,3)),userTypeLabel:p(m(a,5))}};var jl=function(a){r.call(this,a,0,jl.messageId)};U(jl,r);jl.prototype.getId=function(){return V(this,1)};jl.prototype.setId=function(a){return n(this,1,a)};jl.repeatedFields_=[2,4];jl.prototype.toObject=function(){return Fac(this)};var Fac=function(a){if(null!=a)return t(a),{id:p(m(a,1)),namesList:p(Ih(a,2)),stdOffset:p(Os(a,3)),transitionsList:p(Fh(a,4))}};jl.messageId="b.TimeZoneData";var kl=function(a){r.call(this,a,0,kl.messageId)};U(kl,r);f=kl.prototype;f.getMessage=function(){return V(this,1)};f.setMessage=function(a){n(this,1,a)};f.getMessageId=function(){return V(this,2)};f.getTagsList=function(){return Ih(this,4)};f.getTags=function(a){return Us(this,4,a)};kl.repeatedFields_=[4];kl.prototype.toObject=function(){return Gac(this)};var Gac=function(a){if(null!=a)return t(a),{message:p(m(a,1)),messageId:p(m(a,2)),dismissible:p(ar(a,3)),tagsList:p(Ih(a,4))}};kl.messageId="b.Announcement";var gl=function(a){r.call(this,a)};U(gl,r);gl.prototype.getAnnouncement=function(){return Z(this,kl,2)};gl.repeatedFields_=[1];gl.prototype.toObject=function(){return Hac(this)};var Hac=function(a){if(null!=a)return t(a),{timezonesList:Kb(aj(a,jl,1),Fac),announcement:Gac(a.getAnnouncement())}};var wua=function(a){r.call(this,a)};U(wua,r);f=wua.prototype;f.getUser=function(){return Z(this,hl,1)};f.setUser=function(a){Yi(this,hl,1,a)};f.hasUser=function(){return Dj(this,hl,1)};f.getConfig=function(){return Z(this,fl,2)};f.getXsrfToken=function(){return V(this,3)};f.getCspNonce=function(){return V(this,8)};f.getFrontendAccessMode=function(){return V(this,4)};f.getMustAcknowledgeTerms=function(){return Jj(this,5)};f.getShowNewFeaturesDialog=function(){return Jj(this,6)};
f.getUserPreferences=function(){return Z(this,Uk,7)};f.getAppBaseHref=function(){return V(this,10)};f.getTracker=function(){return Z(this,ll,11)};f.getPassiveLoginIframeUrl=function(){return Z(this,yua,12)};
f.toObject=function(){if(null!=this){t(this);var a={user:Eac(this.getUser()),config:Dac(this.getConfig()),xsrfToken:p(m(this,3)),cspNonce:p(m(this,8)),frontendAccessMode:p(m(this,4)),mustAcknowledgeTerms:p(ar(this,5)),showNewFeaturesDialog:p(ar(this,6)),userPreferences:Cac(this.getUserPreferences()),preload:Hac(Z(this,gl,9)),appBaseHref:p(m(this,10)),tracker:Y$b(this.getTracker()),passiveLoginIframeUrl:U$b(this.getPassiveLoginIframeUrl())}}else a=void 0;return a};var xua=window,el;var gs=function(){this.session=ml();this.tracker=this.session.tracker||void 0};gs.prototype.getAppBaseHref=function(){return this.session.appBaseHref};gs.prototype.getFrontendAccessMode=function(){return this.session.frontendAccessMode||"INTERNAL"};gs.prototype.isExternalSession=function(){return"INTERNAL"!==this.getFrontendAccessMode()};gs.prototype.isInternalSession=function(){return"INTERNAL"===this.getFrontendAccessMode()};
var Iac=function(a){return"PARTNER"===a.getFrontendAccessMode()},Jac=function(a){return"PUBLIC"===a.getFrontendAccessMode()};gs.prototype.isNonPublicSession=function(){return"PUBLIC"!==this.getFrontendAccessMode()};var UD=function(a,b){return!!a.session.config.enabledFlags.get(b)};f=gs.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 FFa=function(a){a=a.getEnvironmentType();switch(a){case "QA":case "DEV":return!1;case "NIGHTLY":case "PROD":return!0;default:rh(a,"Unknown environment type.")}};f=gs.prototype;f.getAppBaseUrl=function(a){return(void 0===a?0:a)||!this.isInternalSession()?FFa(this)?"https://issuetracker.google.com/":"https://issuetracker.sandbox.google.com/":FFa(this)?"http://b/":"http://b-qa/"};f.getOnePickUrl=function(){return this.session.config.onePickUrl};f.getAppName=function(){return this.session.config.appName};
f.getCommentNumberLimit=function(){return this.session.config.commentNumberLimit};f.getCreateComponentRedirectDelay=function(){return this.session.config.createComponentRedirectDelay};f.getDocumentationBaseUrl=function(){return this.session.config.documentationBaseUrl};f.getMaxAccurateSearchResults=function(){return this.session.config.maxAccurateSearchResults};f.getAnalyticsId=function(){return this.session.config.analyticsId};f.getUserPreferences=function(){return this.session.userPreferences};
f.getXsrfToken=function(){return this.session.xsrfToken};f.getOnePickSecretToken=function(){return this.session.config.onePickSecretToken};f.getCreateRestrictedSubresourcesComponentWhitelist=function(){return this.session.config.createRestrictedSubresourcesComponentWhitelist};f.getCspNonce=function(){return this.session.cspNonce};f.getAnnouncement=function(){return this.session.preload.announcement};f.getUserTypeLabel=function(){return this.session.user.userTypeLabel||"UNKNOWN"};
gs.\u0275fac=function(a){return new (a||gs)};gs.\u0275prov=qc({token:gs,factory:gs.\u0275fac,providedIn:"root"});var VD=new Rc("buganizerWindow",{factory:function(){return window}});var WD=function(){this.destroyed$=new E.ReplaySubject(1);this.subscriptions=new E.Subscription};WD.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete();this.subscriptions.unsubscribe()};WD.\u0275fac=function(a){return new (a||WD)};WD.\u0275dir=Kc({type:WD});var XD=function(a,b){WD.call(this);this.$window=a;this.activeSession=b;a=E.BehaviorSubject;var c;b=null!=(c=this.$window.sessionStorage.getItem("buganizer.current_tracker_id"))?c:"";this.trackerId$=new a(b);(c=(c=this.activeSession.getTracker())?c.trackerId:void 0)&&this.setTrackerId(c)};U(XD,WD);XD.\u0275dir=WD.\u0275dir;XD.prototype.setTrackerId=function(a){this.trackerId$.next(a);this.$window.sessionStorage.setItem("buganizer.current_tracker_id",a)};XD.prototype.getTrackerId=function(){return this.trackerId$.value};
XD.\u0275fac=function(a){return new (a||XD)(u(VD),u(gs))};XD.\u0275prov=qc({token:XD,factory:XD.\u0275fac,providedIn:"root"});var YD=function(a){r.call(this,a,0,YD.messageId)};U(YD,r);YD.prototype.toObject=function(){if(null!=this){t(this);var a={}}else a=void 0;return a};YD.messageId="f.mt";var ZD=function(a){r.call(this,a,0,ZD.messageId)};U(ZD,r);ZD.prototype.getIdsList=function(){return Hh(this,2)};ZD.prototype.setIdsList=function(a){kj(this,2,a)};ZD.prototype.getIds=function(){return Ts(this,2)};ZD.prototype.setIds=function(a){return Ws(this,2,a)};ZD.repeatedFields_=[2];ZD.prototype.toObject=function(){if(null!=this){t(this);var a={idsList:p(Hh(this,2))}}else a=void 0;return a};ZD.messageId="b.BatchGetIssuesRequest";var $D=function(a){r.call(this,a,0,$D.messageId)};U($D,r);$D.prototype.getIssuesList=function(){return aj(this,vj,1)};$D.repeatedFields_=[1];$D.prototype.toObject=function(){if(null!=this){t(this);var a={issuesList:Kb(this.getIssuesList(),JD)}}else a=void 0;return a};$D.messageId="b.BatchGetIssuesResponse";var pk=function(a){r.call(this,a)};U(pk,r);f=pk.prototype;f.getIssueId=function(){return yi(this,1)};f.setIssueId=function(a){return n(this,1,a)};f.getMessage=function(){return V(this,2)};f.setMessage=function(a){n(this,2,a)};f.toObject=function(){return Kac(this)};var Kac=function(a){if(null!=a)return t(a),{issueId:p(m(a,1)),message:p(m(a,2))}};var aE=function(a){r.call(this,a,0,aE.messageId)};U(aE,r);aE.prototype.setErrors=function(a,b){Fs(this,2,pk,a,b)};aE.repeatedFields_=[2];aE.prototype.toObject=function(){if(null!=this){t(this);var a={affectedIssuesMap:Ob(Vj(this,1,vj),JD),errorsList:Kb(aj(this,pk,2),Kac),componentMapMap:Ob(Vj(this,3,Tj),PD)}}else a=void 0;return a};aE.messageId="b.BulkEditResponse";var bE=function(a){r.call(this,a,0,bE.messageId)};U(bE,r);bE.prototype.getReadersList=function(){return aj(this,qi,1)};bE.prototype.setReadersList=function(a){dj(this,1,a)};bE.prototype.getAppendersList=function(){return aj(this,qi,2)};bE.prototype.setAppendersList=function(a){dj(this,2,a)};bE.repeatedFields_=[1,2,3];
bE.prototype.toObject=function(){if(null!=this){t(this);var a={readersList:Kb(this.getReadersList(),YC),appendersList:Kb(this.getAppendersList(),YC),writersList:Kb(aj(this,qi,3),YC)}}else a=void 0;return a};bE.messageId="b.GetRetainedAccessPrincipalsResponse";var cE=function(a){r.call(this,a,0,cE.messageId)};U(cE,r);cE.prototype.getIssueId=function(){return yi(this,1)};cE.prototype.setIssueId=function(a){return n(this,1,a)};cE.prototype.toObject=function(){if(null!=this){t(this);var a={issueId:p(m(this,1))}}else a=void 0;return a};cE.messageId="b.IssueCreateResponse";var Lac=function(a){r.call(this,a)};U(Lac,r);Lac.prototype.toObject=function(){return Mac(this)};var Mac=function(a){if(null!=a)return t(a),{blobId:p(m(a,1)),blobGeneration:p(m(a,5)),readToken:p(m(a,2)),uploadMetadataContainer:Pb(qo(a,3)),downloadReadHandle:Pb(qo(a,4))}};var dE=function(a){r.call(this,a)};U(dE,r);dE.prototype.toObject=function(){return Nac(this)};var Nac=function(a){if(null!=a)return t(a),{bucketName:p(m(a,1)),objectName:p(m(a,2)),generation:p(m(a,7))}};var eE=function(a){r.call(this,a)};U(eE,r);f=eE.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 wk(this,3)};f.getBlobRef=function(){return qo(this,4)};f.getInline=function(){return qo(this,5)};f.getObjectId=function(){return Z(this,dE,6)};f.setObjectId=function(a){Yi(this,dE,6,a)};f.getBlobstore2Info=function(){return Z(this,Lac,7)};
f.getCosmoBinaryReference=function(){return qo(this,8)};f.getMd5Hash=function(){return qo(this,10)};f.getSha1Hash=function(){return qo(this,11)};f.toObject=function(){return fE(this)};
var fE=function(a){if(null!=a)return t(a),{length:p(m(a,1)),referenceType:p(kr(a,2)),path:p(m(a,3)),blobRef:Pb(a.getBlobRef()),inline:Pb(a.getInline()),objectId:Nac(a.getObjectId()),blobstore2Info:Mac(a.getBlobstore2Info()),cosmoBinaryReference:Pb(a.getCosmoBinaryReference()),crc32cHash:p(Ps(a,9)),md5Hash:Pb(a.getMd5Hash()),sha1Hash:Pb(a.getSha1Hash())}};var Oac=function(a){r.call(this,a)};U(Oac,r);Oac.prototype.toObject=function(){return Pac(this)};var Pac=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))}};var Qac=function(a){r.call(this,a)};U(Qac,r);Qac.prototype.getObjectLocation=function(){return Z(this,eE,5)};Qac.prototype.toObject=function(){return Rac(this)};var Rac=function(a){if(null!=a)return t(a),{objectVersion:p(m(a,1)),objectSizeBytes:p(m(a,2)),chunkSizeBytes:p(m(a,3)),checksumsLocation:fE(Z(a,eE,4)),objectLocation:fE(a.getObjectLocation())}};var Sac=function(a){r.call(this,a)};U(Sac,r);Sac.prototype.getObjectLocation=function(){return Z(this,eE,1)};Sac.prototype.toObject=function(){return Tac(this)};var Tac=function(a){if(null!=a)return t(a),{objectLocation:fE(a.getObjectLocation())}};var Uac=function(a){r.call(this,a)};U(Uac,r);Uac.prototype.toObject=function(){return Vac(this)};var Vac=function(a){if(null!=a)return t(a),{objectVersion:p(m(a,1)),objectInfo:fE(Z(a,eE,2)),checksumsInfo:fE(Z(a,eE,3))}};var Wac=function(a){r.call(this,a)};U(Wac,r);Wac.prototype.toObject=function(){return Xac(this)};var Xac=function(a){if(null!=a)return t(a),{objectVersion:p(m(a,1)),originalObject:fE(Z(a,eE,2))}};var Yac=function(a){r.call(this,a)};U(Yac,r);Yac.prototype.toObject=function(){return Zac(this)};var Zac=function(a){if(null!=a)return t(a),{objectVersion:p(m(a,1)),objectSizeBytes:p(m(a,2))}};var $ac=function(a){r.call(this,a)};U($ac,r);$ac.prototype.toObject=function(){return abc(this)};var abc=function(a){if(null!=a)return t(a),{allowGzipCompression:p(ar(a,1)),ignoreRange:p(ar(a,2))}};var Ij=function(a){r.call(this,a)};U(Ij,r);f=Ij.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 wk(this,7)};f.getBlobRef=function(){return qo(this,8)};f.getInline=function(){return qo(this,9)};f.getHash=function(){return m(this,11)};f.setHash=function(a){n(this,11,a)};f.getObjectId=function(){return Z(this,dE,15)};f.setObjectId=function(a){Yi(this,dE,15,a)};f.getBlobstore2Info=function(){return Z(this,Lac,16)};
f.getMd5Hash=function(){return qo(this,25)};f.getSha1Hash=function(){return qo(this,26)};f.getCosmoBinaryReference=function(){return qo(this,28)};Ij.repeatedFields_=[13];Ij.prototype.toObject=function(){return bbc(this)};
var bbc=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(kr(a,6)),path:p(m(a,7)),blobRef:Pb(a.getBlobRef()),inline:Pb(a.getInline()),mediaId:Pb(qo(a,10)),hash:p(m(a,11)),algorithm:p(m(a,12)),compositeMediaList:Kb(aj(a,eE,13),fE),bigstoreObjectRef:Pb(qo(a,14)),objectId:Nac(a.getObjectId()),blobstore2Info:Mac(a.getBlobstore2Info()),diffVersionResponse:Zac(Z(a,Yac,17)),diffChecksumsResponse:Rac(Z(a,Qac,18)),
diffDownloadResponse:Tac(Z(a,Sac,19)),diffUploadRequest:Vac(Z(a,Uac,20)),diffUploadResponse:Xac(Z(a,Wac,21)),contentTypeInfo:Pac(Z(a,Oac,22)),downloadParameters:abc(Z(a,$ac,23)),crc32cHash:p(Ps(a,24)),md5Hash:Pb(a.getMd5Hash()),sha1Hash:Pb(a.getSha1Hash()),sha256Hash:Pb(qo(a,30)),isPotentialRetry:Jj(a,27,!0),cosmoBinaryReference:Pb(a.getCosmoBinaryReference()),hashVerified:p(ar(a,29))}};var gE=function(a){r.call(this,a,0,gE.messageId)};U(gE,r);f=gE.prototype;f.getAttachmentId=function(){return yi(this,1)};f.setAttachmentId=function(a){n(this,1,a)};f.getDescription=function(){return V(this,2)};f.setDescription=function(a){return n(this,2,a)};f.hasDescription=function(){return wk(this,2)};f.getContentType=function(){return V(this,4)};f.getFilename=function(){return V(this,5)};f.setFilename=function(a){n(this,5,a)};f.getLength=function(){return gj(this,6)};
f.getEtag=function(){return V(this,8)};f.setEtag=function(a){n(this,8,a)};f.hasEtag=function(){return wk(this,8)};f.getContentVerdict=function(){return Z(this,sk,9)};f.getEntityStatus=function(){return Z(this,ED,10)};f.getPiiRetentionState=function(){return Z(this,yj,12)};f.getPiiRetention=function(){return W(this,13,0)};f.setPiiRetention=function(a){return n(this,13,a)};f.toObject=function(){return cbc(this)};
var cbc=function(a){if(null!=a)return t(a),{attachmentId:p(m(a,1)),description:p(m(a,2)),media:bbc(Z(a,Ij,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:h$b(a.getContentVerdict()),entityStatus:FD(a.getEntityStatus()),piiRetentionState:j$b(a.getPiiRetentionState()),piiRetention:p(kr(a,13))}};gE.messageId="b.Attachment";var bk=function(a){r.call(this,a)};U(bk,r);f=bk.prototype;f.getOldValue=function(){return V(this,1)};f.getNewValue=function(){return V(this,2)};f.getCustomFieldId=function(){return gj(this,3)};f.setCustomFieldId=function(a){return n(this,3,a)};f.hasCustomFieldId=function(){return Ok(this,3)};f.toObject=function(){return dbc(this)};var dbc=function(a){if(null!=a)return t(a),{oldValue:p(m(a,1)),newValue:p(m(a,2)),customFieldId:p(m(a,3))}};var ebc=function(a){r.call(this,a)};U(ebc,r);f=ebc.prototype;f.getHref=function(){return V(this,1)};f.getValue=function(){return V(this,2)};f.setValue=function(a){return n(this,2,a)};f.hasValue=function(){return wk(this,2)};f.toObject=function(){return fbc(this)};var fbc=function(a){if(null!=a)return t(a),{href:p(m(a,1)),value:p(m(a,2))}};var ek=function(a){r.call(this,a)};U(ek,r);ek.prototype.getAddedList=function(){return aj(this,ebc,1)};ek.prototype.getRemovedList=function(){return aj(this,ebc,2)};ek.repeatedFields_=[1,2];ek.prototype.toObject=function(){return gbc(this)};var gbc=function(a){if(null!=a)return t(a),{addedList:Kb(a.getAddedList(),fbc),removedList:Kb(a.getRemovedList(),fbc)}};var ak=function(a){r.call(this,a)};U(ak,r);ak.prototype.getOldValue=function(){return V(this,1)};ak.prototype.getNewValue=function(){return V(this,2)};ak.prototype.toObject=function(){return hbc(this)};var hbc=function(a){if(null!=a)return t(a),{oldValue:p(m(a,1)),newValue:p(m(a,2))}};var Yj=function(a){r.call(this,a)};U(Yj,r);Yj.prototype.toObject=function(){return ibc(this)};var ibc=function(a){if(null!=a)return t(a),{oldUser:WC(Z(a,gi,1)),newUser:WC(Z(a,gi,2))}};var Wj=function(a){r.call(this,a)};U(Wj,r);var Zj=[1,2];Wj.prototype.toObject=function(){return jbc(this)};var jbc=function(a){if(null!=a)return t(a),{userDiff:ibc(Sj(a,Yj,1,Zj)),stringDiff:hbc(Sj(a,ak,2,Zj))}};var fk=function(a){r.call(this,a)};U(fk,r);fk.prototype.getEntityStatus=function(){return Z(this,ED,1)};fk.prototype.toObject=function(){return kbc(this)};var kbc=function(a){if(null!=a)return t(a),{entityStatus:FD(a.getEntityStatus())}};var dk=function(a){r.call(this,a)};U(dk,r);dk.prototype.getAddedList=function(){return Ih(this,1)};dk.prototype.getRemovedList=function(){return Ih(this,2)};dk.repeatedFields_=[1,2];dk.prototype.toObject=function(){return lbc(this)};var lbc=function(a){if(null!=a)return t(a),{addedList:p(Ih(a,1)),removedList:p(Ih(a,2))}};var ck=function(a){r.call(this,a)};U(ck,r);ck.prototype.getAddedList=function(){return aj(this,gi,1)};ck.prototype.getRemovedList=function(){return aj(this,gi,2)};ck.repeatedFields_=[1,2];ck.prototype.toObject=function(){return mbc(this)};var mbc=function(a){if(null!=a)return t(a),{addedList:Kb(a.getAddedList(),WC),removedList:Kb(a.getRemovedList(),WC)}};var jk=function(a){r.call(this,a,0,jk.messageId)};U(jk,r);f=jk.prototype;f.getName=function(){return V(this,1)};f.setName=function(a){return n(this,1,a)};f.hasName=function(){return wk(this,1)};f.getNameOrUndefined=function(){return dt(this,1)};f.getDisplayName=function(){return V(this,2)};f.setDisplayName=function(a){return n(this,2,a)};f.getType=function(){return W(this,3,0)};f.setType=function(a){return n(this,3,a)};f.hasType=function(){return fj(this,3)};
f.getTimestamp=function(){return Z(this,Ch,4)};f.setTimestamp=function(a){return Yi(this,Ch,4,a)};f.hasTimestamp=function(){return Dj(this,Ch,4)};var Xj=[6,7,8,9,10,11];jk.prototype.toObject=function(){return nbc(this)};
var nbc=function(a){if(null!=a)return t(a),{name:p(m(a,1)),displayName:p(m(a,2)),type:p(kr(a,3)),timestamp:yt(a.getTimestamp()),important:p(ar(a,5)),singleValueDiff:jbc(Sj(a,Wj,6,Xj)),collectionDiff:lbc(Sj(a,dk,7,Xj)),linkedCollectionDiff:gbc(Sj(a,ek,8,Xj)),customFieldDiff:dbc(Sj(a,bk,9,Xj)),userCollectionDiff:mbc(Sj(a,ck,10,Xj)),statusUpdateDiff:kbc(Sj(a,fk,11,Xj))}};jk.messageId="b.EventDiff";var kk=function(a){r.call(this,a)};U(kk,r);kk.prototype.getTag=function(){return V(this,1)};kk.prototype.getText=function(){return V(this,2)};kk.prototype.setText=function(a){return n(this,2,a)};kk.prototype.toObject=function(){return obc(this)};var obc=function(a){if(null!=a)return t(a),{tag:p(m(a,1)),text:p(m(a,2))}};var mk=function(a){r.call(this,a,0,mk.messageId)};U(mk,r);f=mk.prototype;f.getIssueId=function(){return yi(this,14)};f.setIssueId=function(a){return n(this,14,a)};f.getComment=function(){return Z(this,HD,6)};f.setComment=function(a){Yi(this,HD,6,a)};f.getAttachmentsList=function(){return aj(this,gE,10)};f.setAttachmentsList=function(a){dj(this,10,a)};f.getVersion=function(){return gj(this,7)};f.setVersion=function(a){return n(this,7,a)};f.getVersionOrUndefined=function(){return ct(this,7)};
f.getStatusUpdate=function(){return Z(this,ID,13)};f.hasStatusUpdate=function(){return Dj(this,ID,13)};mk.repeatedFields_=[2,3,10,9];mk.prototype.toObject=function(){return pbc(this)};
var pbc=function(a){if(null!=a)return t(a),{issueId:p(m(a,14)),preDiffsList:Kb(aj(a,jk,2),nbc),postDiffsList:Kb(aj(a,jk,3),nbc),modifiedDate:yt(Z(a,Ch,4)),userPerformingAction:WC(Z(a,gi,5)),isHumanAuthor:p(ar(a,11)),isCollaboratorAuthor:p(ar(a,12)),comment:z$b(a.getComment()),attachmentsList:Kb(a.getAttachmentsList(),cbc),version:p(m(a,7)),isMajorEvent:p(ar(a,8)),taggedSummaryList:Kb(aj(a,kk,9),obc),statusUpdate:C$b(a.getStatusUpdate())}};mk.messageId="b.IssueEvent";var Jm=function(a){r.call(this,a,0,Jm.messageId)};U(Jm,r);Jm.prototype.getIssue=function(){return Z(this,vj,1)};Jm.prototype.setIssue=function(a){Yi(this,vj,1,a)};Jm.prototype.toObject=function(){return qbc(this)};var qbc=function(a){if(null!=a)return t(a),{issue:JD(a.getIssue()),firstEvent:pbc(Z(a,mk,5))}};Jm.messageId="b.IssueFetchResponse";var hE=function(a){r.call(this,a,0,hE.messageId)};U(hE,r);hE.prototype.getIssuesList=function(){return aj(this,vj,1)};hE.prototype.getNumTotalResults=function(){return Gh(this,2)};hE.prototype.getComponentsMap=function(){return Vj(this,3,Tj)};hE.prototype.getNextPageToken=function(){return V(this,5)};hE.repeatedFields_=[1];
hE.prototype.toObject=function(){if(null!=this){t(this);var a={issuesList:Kb(this.getIssuesList(),JD),numTotalResults:p(Os(this,2)),componentsMap:Ob(this.getComponentsMap(),PD),positionsMap:Ob(sb(this,4,Eba)),nextPageToken:p(m(this,5))}}else a=void 0;return a};hE.messageId="b.IssueSearchResponse";var iE=function(a){r.call(this,a,0,iE.messageId)};U(iE,r);iE.repeatedFields_=[1];iE.prototype.toObject=function(){if(null!=this){t(this);var a={issueEventsList:Kb(aj(this,mk,1),pbc)}}else a=void 0;return a};iE.messageId="b.ListIssueEventsResponse";var rbc=function(a){r.call(this,a)};U(rbc,r);f=rbc.prototype;f.getIssueId=function(){return yi(this,1)};f.setIssueId=function(a){return n(this,1,a)};f.getStatus=function(){return W(this,2,0)};f.setStatus=function(a){return n(this,2,a)};f.hasStatus=function(){return fj(this,2)};f.getTitle=function(){return V(this,3)};f.setTitle=function(a){return n(this,3,a)};f.getVersion=function(){return Gh(this,4)};f.setVersion=function(a){return n(this,4,a)};f.getVersionOrUndefined=function(){return bt(this,4)};
f.getIsArchived=function(){return Jj(this,5)};f.setIsArchived=function(a){return Lj(this,5,a)};f.toObject=function(){return sbc(this)};var sbc=function(a){if(null!=a)return t(a),{issueId:p(m(a,1)),status:p(kr(a,2)),title:p(m(a,3)),version:p(Os(a,4)),isArchived:p(ar(a,5))}};var jE=function(a){r.call(this,a,0,jE.messageId)};U(jE,r);jE.prototype.getIssueDigestsList=function(){return aj(this,rbc,1)};jE.prototype.getNumTotalResults=function(){return gj(this,2)};jE.repeatedFields_=[1];jE.prototype.toObject=function(){if(null!=this){t(this);var a={issueDigestsList:Kb(this.getIssueDigestsList(),sbc),numTotalResults:p(m(this,2))}}else a=void 0;return a};jE.messageId="b.RelatedIssuesResponse";var kE=function(){},lE=function(a,b){this.executor=a;this.currentTrackerId=b};f=lE.prototype;f.createIssue=function(a){var b=Isa(a),c={};a.recaptchaToken&&(c["G-Recaptcha-Response-Token"]=a.recaptchaToken);return this.executor.post({url:"action/issues",body:b,options:{headers:c},responseConstructor:cE}).pipe(D(Jsa))};
f.createIssueWithWizard=function(a){var b=Isa(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:cE}).pipe(D(Jsa))};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:Jm}).pipe(D(function(d){return nk(d)}))};
f.batchGetIssues=function(a){var b=new ZD;b.setIdsList(a);return this.executor.post({url:"action/issues/batch",body:b,responseConstructor:$D}).pipe(D(function(c){return c.getIssuesList().map(function(d){return ik(d)})}))};f.updateIssue=function(a,b){b=Asa(b);return this.executor.post({url:"action/issues/"+a,body:b,responseConstructor:Jm}).pipe(D(function(c){return nk(c)}))};f.moveIssueExternal=function(a,b){b=wsa(b);return this.executor.post({url:"action/issues/"+a+"/external_move",body:b,responseConstructor:Jm}).pipe(D(function(c){return nk(c)}))};
f.moveIssue=function(a,b){b=usa(b);return this.executor.post({url:"action/issues/"+a+"/move",body:b,responseConstructor:Jm}).pipe(D(function(c){return nk(c)}))};f.unCcUser=function(a){var b=ssa(a);return this.executor.post({url:"action/issues/"+a+"/unccuser",body:b,responseConstructor:Jm}).pipe(D(function(c){return nk(c)}))};
f.updateAccessLimit=function(a,b,c,d){var e=(new MD).setIssueId(a);if(b){if(b=osa[b])b=(new LD).setAccessLevel(b),e.setIssueAccessLimit(b);c&&e.setAddedCollaboratorsList(c.map(hi));d&&e.setRemovedCollaboratorsList(d.map(hi))}return this.executor.post({url:"action/issues/"+a+"/accessLimit",body:e,responseConstructor:YD})};
f.getRetainedAccessPrincipals=function(a,b,c,d){b=rsa(a,b,c,d);return this.executor.post({url:"action/issues/"+a+"/retainedAccessPrincipals",body:b,responseConstructor:bE}).pipe(D(function(e){var g,h,l;return{readers:si(null!=(g=e.getReadersList())?g:[]),appenders:si(null!=(h=e.getAppendersList())?h:[]),writers:si(null!=(l=aj(e,qi,3))?l:[])}}))};f.relateIssue=function(a,b){b=Fsa(b);return this.executor.post({url:"action/issues/"+a+"/relate",body:b,responseConstructor:Jm}).pipe(D(function(c){return nk(c)}))};
f.updateIssueHotlists=function(a,b){b=Csa(b);return this.executor.post({url:"action/issues/"+a+"/hotlists",body:b,responseConstructor:Jm}).pipe(D(function(c){return nk(c)}))};f.updateIssueRetention=function(a,b){b=Hsa(b);return this.executor.post({url:"action/issues/"+a+"/update_retention",body:b,responseConstructor:Jm}).pipe(D(function(c){return nk(c)}))};
f.listIssues=function(a,b){b=void 0===b?{}:b;var c=new E$b;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:hE}).pipe(D(Nta))};
f.issueBulkEdit=function(a,b){var c={};b&&(c["G-Recaptcha-Response-Token"]=b);b=new SD;var d=a.bulkEditOps.map(zta);dj(b,4,d);a.significanceOverride&&b.setSignificanceOverride(a.significanceOverride);return this.executor.post({url:"action/issues/bulk_edit",body:b,responseConstructor:aE,options:{headers:c}}).pipe(D(Bta))};
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:jE}).pipe(D(Dsa))};
var tbc=function(a,b){return a.executor.get({url:"action/issues/"+b+"/events",options:{params:{currentTrackerId:a.currentTrackerId.getTrackerId()}},responseConstructor:iE}).pipe(D(function(c){return aj(c,mk,1).map(function(d){return wta(d)})}))};lE.\u0275fac=function(a){return new (a||lE)(u(LC),u(XD))};lE.\u0275prov=qc({token:lE,factory:lE.\u0275fac,providedIn:"root"});var mE=function(a){this.observableApi=a};U(mE,kE);f=mE.prototype;f.createIssue=function(a){return(0,E.firstValueFrom)(this.observableApi.createIssue(a))};
f.createIssueWithWizard=function(a){return(0,E.firstValueFrom)(this.observableApi.createIssueWithWizard(a))};f.getIssue=function(a){return(0,E.firstValueFrom)(this.observableApi.getIssue(a))};f.batchGetIssues=function(a){return(0,E.firstValueFrom)(this.observableApi.batchGetIssues(a))};f.updateIssue=function(a,b){return(0,E.firstValueFrom)(this.observableApi.updateIssue(a,b))};f.moveIssueExternal=function(a,b){return(0,E.firstValueFrom)(this.observableApi.moveIssueExternal(a,b))};
f.moveIssue=function(a,b){return(0,E.firstValueFrom)(this.observableApi.moveIssue(a,b))};f.unCcUser=function(a){return(0,E.firstValueFrom)(this.observableApi.unCcUser(a))};f.updateAccessLimit=function(a,b,c,d){return(0,E.firstValueFrom)(this.observableApi.updateAccessLimit(a,b,c,d))};f.getRetainedAccessPrincipals=function(a,b,c,d){return(0,E.firstValueFrom)(this.observableApi.getRetainedAccessPrincipals(a,b,c,d))};
f.relateIssue=function(a,b){return(0,E.firstValueFrom)(this.observableApi.relateIssue(a,b))};f.updateIssueHotlists=function(a,b){return(0,E.firstValueFrom)(this.observableApi.updateIssueHotlists(a,b))};f.updateIssueRetention=function(a,b){return(0,E.firstValueFrom)(this.observableApi.updateIssueRetention(a,b))};f.listIssues=function(a,b){b=void 0===b?{}:b;return(0,E.firstValueFrom)(this.observableApi.listIssues(a,b))};
f.issueBulkEdit=function(a,b){return(0,E.firstValueFrom)(this.observableApi.issueBulkEdit(a,b))};f.getRelatedIssues=function(a){return(0,E.firstValueFrom)(this.observableApi.getRelatedIssues(a))};mE.\u0275fac=function(a){return new (a||mE)(u(lE))};mE.\u0275prov=qc({token:mE,factory:mE.\u0275fac,providedIn:"root"});var nE=function(a){r.call(this,a)};U(nE,r);var oE=function(a,b){return Cb(a,1,b)},ubc=function(a,b){return Cb(a,2,b)};nE.prototype.toObject=function(){return pE(this)};var pE=function(a){if(null!=a)return t(a),{targetIssueId:gj(a,1),afterIssueId:gj(a,2),targetIssue:a$b(Z(a,vD,3))}};var vbc=function(a){r.call(this,a)};U(vbc,r);f=vbc.prototype;f.getIssueId=function(){return gj(this,1)};f.setIssueId=function(a){return Cb(this,1,a)};f.setRelationshipType=function(a){return Pi(this,2,a)};f.getIssueRelationship=function(){return Z(this,nE,3)};f.setIssueRelationship=function(a){return Yi(this,nE,3,a)};f.getSignificanceOverride=function(){return W(this,4,0)};f.setSignificanceOverride=function(a){Pi(this,4,a)};f.toObject=function(){return wbc(this)};
var wbc=function(a){if(null!=a)return t(a),{issueId:gj(a,1),relationshipType:W(a,2,0),issueRelationship:pE(a.getIssueRelationship()),significanceOverride:W(a,4,0)}};var qE=function(a){r.call(this,a,0,qE.messageId)};U(qE,r);f=qE.prototype;f.getIssueId=function(){return yi(this,1)};f.setIssueId=function(a){return n(this,1,a)};f.setRelationshipType=function(a){return n(this,2,a)};f.getRequestsList=function(){return aj(this,vbc,3)};f.setRequestsList=function(a){return dj(this,3,a)};f.addAndReturnRequests=function(){return zb(this,3,vbc)};f.getSignificanceOverride=function(){return W(this,4,0)};f.setSignificanceOverride=function(a){n(this,4,a)};
qE.repeatedFields_=[3];qE.prototype.toObject=function(){if(null!=this){t(this);var a={issueId:p(m(this,1)),relationshipType:p(kr(this,2)),requestsList:Kb(this.getRequestsList(),wbc),significanceOverride:p(kr(this,4))}}else a=void 0;return a};qE.messageId="b.BatchCreateIssueRelationshipsRequest";var rE=function(a){r.call(this,a,0,rE.messageId)};U(rE,r);rE.prototype.getIssueRelationshipsList=function(){return aj(this,nE,1)};rE.repeatedFields_=[1];rE.prototype.toObject=function(){if(null!=this){t(this);var a={issueRelationshipsList:Kb(this.getIssueRelationshipsList(),pE)}}else a=void 0;return a};rE.messageId="b.BatchCreateIssueRelationshipsResponse";var sE=function(a){r.call(this,a,0,sE.messageId)};U(sE,r);f=sE.prototype;f.getIssueId=function(){return yi(this,1)};f.setIssueId=function(a){return n(this,1,a)};f.setRelationshipType=function(a){return n(this,2,a)};f.getSignificanceOverride=function(){return W(this,4,0)};f.setSignificanceOverride=function(a){n(this,4,a)};sE.repeatedFields_=[3];
sE.prototype.toObject=function(){if(null!=this){t(this);var a={issueId:p(m(this,1)),relationshipType:p(kr(this,2)),targetIssueIdsList:p(Hh(this,3)),significanceOverride:p(kr(this,4))}}else a=void 0;return a};sE.messageId="b.BatchDeleteIssueRelationshipsRequest";var tE=function(a){r.call(this,a,0,tE.messageId)};U(tE,r);tE.prototype.getSourceIssueIdsList=function(){return Hh(this,1)};tE.prototype.setSourceIssueIdsList=function(a){return kj(this,1,a)};tE.prototype.setRelationshipType=function(a){return n(this,2,a)};tE.prototype.setIncludeArchived=function(a){return Lj(this,3,a)};tE.repeatedFields_=[1];
tE.prototype.toObject=function(){if(null!=this){t(this);var a={sourceIssueIdsList:p(Hh(this,1)),relationshipType:p(kr(this,2)),includeArchived:p(ar(this,3))}}else a=void 0;return a};tE.messageId="b.BatchGetIssueRelationshipsRequest";var uE=function(a){r.call(this,a)};U(uE,r);uE.prototype.getIssueRelationshipsList=function(){return aj(this,nE,1)};uE.prototype.getTotalSize=function(){return Gh(this,2)};uE.repeatedFields_=[1];uE.prototype.toObject=function(){return xbc(this)};var xbc=function(a){if(null!=a)return t(a),{sourceIssueId:gj(a,3),issueRelationshipsList:Kb(a.getIssueRelationshipsList(),pE),totalSize:Gh(a,2)}};var vE=function(a){r.call(this,a,0,vE.messageId)};U(vE,r);vE.repeatedFields_=[1];vE.prototype.toObject=function(){if(null!=this){t(this);var a={issueRelationshipsPrefixesList:Kb(aj(this,uE,1),xbc)}}else a=void 0;return a};vE.messageId="b.BatchGetIssueRelationshipsResponse";var wE=function(a){r.call(this,a,0,wE.messageId)};U(wE,r);wE.prototype.getIssueRelationship=function(){return Z(this,nE,1)};wE.prototype.setIssueRelationship=function(a){return Yi(this,nE,1,a)};wE.prototype.toObject=function(){if(null!=this){t(this);var a={issueRelationship:pE(this.getIssueRelationship())}}else a=void 0;return a};wE.messageId="b.CreateIssueRelationshipResponse";var xE=function(a){r.call(this,a,0,xE.messageId)};U(xE,r);var ybc=function(a,b){return kj(a,1,b)};xE.prototype.setRelationshipType=function(a){return n(this,2,a)};xE.prototype.setIncludeArchived=function(a){return Lj(this,3,a)};var zbc=function(a,b){return n(a,4,b)},Abc=function(a,b){return n(a,5,b)};xE.repeatedFields_=[1];
xE.prototype.toObject=function(){if(null!=this){t(this);var a={rootIssueIdsList:p(Hh(this,1)),relationshipType:p(kr(this,2)),includeArchived:p(ar(this,3)),depthLimit:p(Os(this,4)),prefixSizeLimit:p(Os(this,5))}}else a=void 0;return a};xE.messageId="b.GetIssueDescendantsRequest";var Bbc=function(a){r.call(this,a,0,Bbc.messageId)};U(Bbc,r);Bbc.prototype.toObject=function(){if(null!=this){t(this);var a={issueRelationshipsPrefixesMap:Ob(et(this,1,uE),xbc)}}else a=void 0;return a};Bbc.messageId="b.GetIssueDescendantsResponse";var yE=function(a){r.call(this,a,0,yE.messageId)};U(yE,r);yE.prototype.getIssueRelationshipsList=function(){return aj(this,nE,1)};yE.repeatedFields_=[1];yE.prototype.toObject=function(){if(null!=this){t(this);var a={issueRelationshipsList:Kb(this.getIssueRelationshipsList(),pE)}}else a=void 0;return a};yE.messageId="b.ListIssueRelationshipsResponse";var zE=function(a){r.call(this,a,0,zE.messageId)};U(zE,r);zE.prototype.getIssueRelationship=function(){return Z(this,nE,1)};zE.prototype.setIssueRelationship=function(a){return Yi(this,nE,1,a)};zE.prototype.toObject=function(){if(null!=this){t(this);var a={issueRelationship:pE(this.getIssueRelationship())}}else a=void 0;return a};zE.messageId="b.UpdateIssueRelationshipResponse";var AE=function(a){this.executor=a};f=AE.prototype;f.list=function(a,b){return this.executor.get({url:"action/issues/"+a+"/relationships?relationshipType="+b,responseConstructor:yE}).pipe(D(function(c){return c.getIssueRelationshipsList()}))};f.create=function(a,b,c){return this.executor.post({url:"action/issues/"+a+"/relationships?relationshipType="+b,body:c,responseConstructor:wE}).pipe(D(function(d){var e;return null!=(e=d.getIssueRelationship())?e:new nE}))};
f.update=function(a,b,c){return this.executor.put({url:"action/issues/"+a+"/relationships/"+gj(c,1)+"?relationshipType="+b,body:c,responseConstructor:zE}).pipe(D(function(d){var e;return null!=(e=d.getIssueRelationship())?e:new nE}))};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 tE).setSourceIssueIdsList(a).setRelationshipType(b).setIncludeArchived(c);return this.executor.post({url:"action/issues/batch_relationships",body:a,responseConstructor:vE}).pipe(D(function(d){return aj(d,uE,1)}))};
var Cbc=function(a,b,c){c=c.map(function(d){return(new vbc).setIssueRelationship(d)});b=(new qE).setIssueId(b).setRelationshipType(1).setRequestsList(c);return a.executor.post({url:"action/issues/relationships_batchCreate",body:b,responseConstructor:rE}).pipe(D(function(d){return d.getIssueRelationshipsList()}))},Dbc=function(a,b,c){b=(new sE).setIssueId(b).setRelationshipType(1);c=kj(b,3,c);return a.executor.post({url:"action/issues/relationships_batchDelete",body:c,responseConstructor:null})};
AE.prototype.getDescendants=function(a){var b=a.issueIds,c=a.relationshipType,d=a.includeArchived,e=a.depthLimit;a=a.prefixSizeLimit;b=Abc(zbc(ybc(new xE,b).setRelationshipType(c).setIncludeArchived(d),e),a);return this.executor.post({url:"action/issues/descendants",body:b,responseConstructor:Bbc}).pipe(D(function(g){var h=new Map;g=k(et(g,1,uE).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}))};
AE.\u0275fac=function(a){return new (a||AE)(u(LC))};AE.\u0275prov=qc({token:AE,factory:AE.\u0275fac,providedIn:"root"});var BE=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,""]]),CE=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 DE={},EE=(DE[0]=CE.get(0),DE[1]=CE.get(1),DE[2]=CE.get(2),DE[3]=CE.get(3),DE[4]=CE.get(4),DE[5]=CE.get(5),DE[10]=CE.get(10),DE[9]=CE.get(9),DE[6]=CE.get(6),DE[8]=CE.get(8),DE[7]=CE.get(7),DE),Ebc=Dua(EE,ej),FE={},eva=(FE.STATUS_UNSPECIFIED=0,FE.NEW=10,FE.ASSIGNED=20,FE.ACCEPTED=30,FE.FIXED=40,FE.VERIFIED=50,FE.DUPLICATE=60,FE.INFEASIBLE=70,FE.NOT_REPRODUCIBLE=80,FE.OBSOLETE=90,FE.INTENDED_BEHAVIOR=100,FE),GE={},Fbc=(GE.ASSIGNED=!0,GE.ACCEPTED=!0,GE.FIXED=!0,GE.VERIFIED=!0,GE.DUPLICATE=!0,GE.INFEASIBLE=
!0,GE.NOT_REPRODUCIBLE=!0,GE.OBSOLETE=!0,GE.INTENDED_BEHAVIOR=!0,GE),HE={},IE=(HE[0]=BE.get(0),HE[1]=BE.get(1),HE[2]=BE.get(2),HE[3]=BE.get(3),HE[4]=BE.get(4),HE[5]=BE.get(5),HE[10]=BE.get(10),HE[9]=BE.get(9),HE[6]=BE.get(6),HE[8]=BE.get(8),HE[7]=BE.get(7),HE),ol=Dua(IE,ej),JE={},Gbc=(JE.P0="P0",JE.P1="P1",JE.P2="P2",JE.P3="P3",JE.P4="P4",JE.PRIORITY_UNSPECIFIED="--",JE),KE={},Hbc=(KE.S0="S0",KE.S1="S1",KE.S2="S2",KE.S3="S3",KE.S4="S4",KE.SEVERITY_UNSPECIFIED="--",KE),LE={},Ibc=(LE[0]="",LE[1]="Bug",
LE[2]="Feature Request",LE[3]="Customer Issue",LE[4]="Internal Cleanup",LE[5]="Process",LE[6]="Vulnerability",LE[7]="Privacy Issue",LE[8]="Project",LE[9]="Feature",LE[10]="Milestone",LE[11]="Epic",LE[12]="Story",LE[13]="Task",LE),Jbc=Dua(Ibc,bsa),ME={},Kbc=(ME[0]="issue-status-wont-fix",ME[1]="issue-status-new",ME[2]="issue-status-assigned",ME[3]="issue-status-accepted",ME[4]="issue-status-fixed",ME[5]="issue-status-verified",ME[10]="issue-status-duplicate",ME[9]="issue-status-wont-fix",ME[6]="issue-status-wont-fix",
ME[8]="issue-status-wont-fix",ME[7]="issue-status-wont-fix",ME),Lbc=Dua(Kbc,ej);var Eua=function(a,b,c,d,e){this.status=a;this.displayValue=b;this.open=c;this.assigneeRequirement=d;this.sortOrder=e},NE={},xl=(NE.NEW=pl("NEW",!0,"FORBIDDEN",10),NE.ASSIGNED=pl("ASSIGNED",!0,"REQUIRED",20),NE.ACCEPTED=pl("ACCEPTED",!0,"REQUIRED",30),NE.FIXED=pl("FIXED",!1,"REQUIRED",40),NE.VERIFIED=pl("VERIFIED",!1,"REQUIRED",50),NE.DUPLICATE=pl("DUPLICATE",!1,"ALLOWED",60),NE.INFEASIBLE=pl("INFEASIBLE",!1,"ALLOWED",70),NE.NOT_REPRODUCIBLE=pl("NOT_REPRODUCIBLE",!1,"ALLOWED",80),NE.OBSOLETE=pl("OBSOLETE",
!1,"ALLOWED",90),NE.INTENDED_BEHAVIOR=pl("INTENDED_BEHAVIOR",!1,"ALLOWED",100),NE),Mbc=[xl.NEW,xl.ASSIGNED,xl.ACCEPTED,xl.FIXED,xl.VERIFIED,xl.NOT_REPRODUCIBLE,xl.INTENDED_BEHAVIOR,xl.OBSOLETE,xl.INFEASIBLE,xl.DUPLICATE],Nbc=Mbc.map(function(a){return{value:a.status,displayText:a.displayValue}}),Obc=new Set(Object.values(Tb(xl,function(a){return"REQUIRED"===a.assigneeRequirement})));var Pua=new Set(["blockedById","blockingId","duplicateId","parentIssueIds","childIssueIds"]);var Pbc=function(a,b){this.data=a;this.cfg=b;this.lastValidated=Date.now()};f=Pbc.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 Qbc=function(a){this.cfg=a;this.cache=new Map},Rbc=function(a,b){a=OE(a,b);return null==a?Infinity:a},OE=function(a,b){var c;return null==(c=a.get(b,!0))?void 0:c.age()};Qbc.prototype.isFresh=function(a){return Rbc(this,a)<this.cfg.freshUntil};var Sbc=function(a,b){return Rbc(a,b)<=a.cfg.ancientAfter};f=Qbc.prototype;f.isAncient=function(){var a=OE(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 Pbc(b,this.cfg))};f.touch=function(a){var b=this.cache.get(a);b&&this.cache.set(a,new Pbc(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 Tbc={trustMemory:!0},Ubc=function(){},oqa=["startIndex","totalSize","curPageToken","nextPageToken","prevPageToken"],Vbc=function(a){this.ids=[];Object.assign(this,a)};U(Vbc,Ubc);Vbc.prototype.toString=function(){return JSON.stringify(Object.assign({},this,{ids:"["+this.ids.join(",")+"]"}))};
var Wbc={freshUntil:1E4,ancientAfter:792E5},PE=function(a){var b=this;a=void 0===a?{}:a;this.error$=new E.Subject;this.normalizeQueryResponses=!0;this.idKey="id";this.idForRecord=function(c){var d=c[b.idKey];if("string"===typeof d)return d;if("number"===typeof d)return String(d);c=JSON.stringify(c).slice(0,128);if(null==d)throw Error("ec`"+b.idKey+"`"+c);throw Error("fc`"+c);};this.valsById=new Map;this.collectionsById=new Map;this.setsByLabel=new Map;this.inFlightGets$=new E.BehaviorSubject(Object.freeze({}));
this.inFlightSaves$=new E.BehaviorSubject(Object.freeze({}));this.getting$=this.inFlightGets$.pipe(D(qva));this.saving$=this.inFlightSaves$.pipe(D(qva));this.thinking$=(0,E.combineLatest)(this.getting$,this.saving$).pipe(D(function(c){var d=k(c);c=d.next().value;d=d.next().value;return c||d}),Fe());this.gotOne=function(c){return function(d,e){e=void 0===e?{}:e;e=e.doNotTrack?pva:Xbc({label:c,value:OE(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):yh(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=Ybc(b,c))?e.next(d):zh("gotSet("+c+"), but no channel is set up")}};this.gotAll=function(c){return function(d){var e=Xbc({label:c,value:OE(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,nqa);b.collectiveMemory.set(c,g);e("all-isChanged");(e=b.collectionsById.get(c))?(d=b.dereference(g,d.results),e.next(d)):Vpa(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&&zh("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?qva(b.inFlightSaves):!!b.inFlightSaves[c]};this.isSaving$=function(c){return b.inFlightSaves$.pipe(D(function(d){return!!d[c]}),Fe())};this.isGetting=function(c){return null==c?qva(b.inFlightGets):!!b.inFlightGets[c]};this.watchOne=this.watch=function(c,d){d=void 0===d?Tbc:d;"number"===typeof d&&
(d=Tbc);if(null==c)return(0,E.of)();"number"===typeof c&&(c=String(c));var e=Zbc(b,c);$bc(b,c,d).catch(function(){});return CSb(e)};this.watchSet=function(c,d){d=void 0===d?Tbc:d;"number"===typeof d&&(d=Tbc);if(0===c.length)return(0,E.of)([]);c=c.map(function(g){return"number"===typeof g?String(g):g});var e=Ybc(b,c);acc(b,c,d);return e};this.watchMany=function(c){var d=void 0===d?Tbc:d;c=Object.assign({},b.defaultQuery,c);var e=bcc(b,c);b.getAll(c,d);return CSb(e)};this.save=function(c){var d=b.idForRecord(c);
if(null==d)throw Error("gc");c=b.doSave(c).pipe(Ee(0,E.asapScheduler),kja(),ee());b.setIsSaving(d);c.subscribe(b.gotOne(d),b.gotErr(d,b.inFlightSaves$),ccc(d,b.inFlightSaves$));return c};this.setIsSaving=function(c){var d={};rva(b.inFlightSaves$,(d[c]=!0,d))};this.clearIsSaving=function(c){sva(b.inFlightSaves$,c)};this.setIsGetting=function(c){var d={};rva(b.inFlightGets$,(d[c]=!0,d))};this.clearIsGetting=function(c){sva(b.inFlightGets$,c)};this.poke=function(c,d){return null==c?zva():$bc(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 Qbc(Object.assign({},Wbc,a));this.collectiveMemory=new Qbc(Object.assign({},Wbc,a))};f=PE.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 nqa(a,b,100)};
var $bc=function(a,b,c){c=void 0===c?{}:c;var d=c.trustMemory,e=c.trustUncertainMemory;c=Xbc({label:b,value:OE(a.memory,b)});d=d&&a.memory.isFresh(b);e=e&&Sbc(a.memory,b);if(d||e)return c("one-trustMemory"),c=a.memory.getData(b),yva(c);if(a.inFlightGets[b])return c("one-inFlight"),c=Zbc(a,b),xva(c).then(yva);c("one-fetch");var g=a.fetchOne(b).pipe(Ee(0,E.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)},ccc(b,a.inFlightGets$))})},acc=function(a,b,c){c=(void 0===c?{}:c).trustMemory;var d="["+[].concat(Vc(b)).sort().join("-")+"]",e=Xbc({label:d});if(c&&dcc(a,b))ecc(a,b),e("set-trustMemory");else if(a.inFlightGets[d])e("set-inFlight");else{e("set-fetch");c=a.fetchSet(b).pipe(Ee(0,E.asapScheduler));e={};e=(e[d]=!0,e);for(var g=k(b),h=g.next();!h.done;h=g.next())e[h.value]=!0;rva(a.inFlightGets$,e);c.subscribe(a.gotSet(b),function(l){tva(a.inFlightGets$,b);a.gotErr(d,a.inFlightGets$)(l)},function(){tva(a.inFlightGets$,
[d].concat(Vc(b)))})}},dcc=function(a,b){return b.every(function(c){return a.memory.isFresh(c)})},ecc=function(a,b){var c=fcc(a,b).filter(pi);Ybc(a,b).next(c)};
PE.prototype.getAll=function(a,b){var c=(void 0===b?{}:b).trustMemory;b=uva(a);var d=Xbc({label:b,value:OE(this.collectiveMemory,b)});if(c&&this.collectiveMemory.isFresh(b))return d("all-trustMemory"),a=this.collectiveMemory.getData(b),b=fcc(this,a.ids).filter(pi),a=this.dereference(a,b),Promise.resolve(a);if(this.inFlightGets[b])return d("all-inFlight"),a=bcc(this,a),xva(a);d("all-fetch");c=this.fetchAll(a).pipe(Ee(0,E.asapScheduler));this.setIsGetting(b);c.subscribe(this.gotAll(b),this.gotErr(b,
this.inFlightGets$),ccc(b,this.inFlightGets$));a=bcc(this,a);return xva(a)};PE.prototype.gotErr=function(a,b){var c=this;return function(d){d=Object.assign({},{idOrKey:a},d);Wpa(a+" gotErr()",d);sva(b,a);JSON.stringify(d,null,2);c.error$.next(d)}};var ccc=function(a,b){return function(){sva(b,a)}};PE.prototype.normalize=function(a){var b=a.results.map(this.idForRecord);return new Vbc(Object.assign({},wva(a),{ids:b}))};
PE.prototype.dereference=function(a,b){b=a.ids.map(this.dereferenceOne(b)).filter(Boolean);return Object.assign({},wva(a),{results:b})};
var fcc=function(a,b){return b.map(function(c){return a.memory.getData(c)})},bcc=function(a,b){b=uva(b);return vva(a.collectionsById,b,new E.ReplaySubject(1))},Ybc=function(a,b){b="["+[].concat(Vc(b)).sort().join("-")+"]";return vva(a.setsByLabel,b,new E.ReplaySubject(1))},Zbc=function(a,b){var c=new E.ReplaySubject(1),d=a.memory.getData(b);null!=d&&c.next(d);return vva(a.valsById,b,c)},gcc=function(a,b){return["string","number"].includes(typeof b)?a.memory.getStatus(String(b)):a.collectiveMemory.getStatus(uva(b))};
PE.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(uva(a))};var QE=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)};
hh.Object.defineProperties(PE.prototype,{inFlightGets:{configurable:!0,enumerable:!0,get:function(){return this.inFlightGets$.getValue()}},inFlightSaves:{configurable:!0,enumerable:!0,get:function(){return this.inFlightSaves$.getValue()}}});var Xbc=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(){}},RE=function(){PE.apply(this,arguments);this.defaultQuery={}};U(RE,PE);var SE=function(a){RE.call(this);this.observableIssueResources=a;this.recordType="eventsForIssue"};U(SE,RE);SE.prototype.isEqual=function(a,b){return(null==a?void 0:a.id)!==(null==b?void 0:b.id)?!1:cva(null==a?void 0:a.events,null==b?void 0:b.events)};SE.prototype.copy=function(a){return a&&Nh(a)};SE.prototype.fetchOne=function(a){return tbc(this.observableIssueResources,a).pipe(D(function(b){return{id:a,events:b}}))};SE.prototype.fetchSet=function(a){var b=this;return(0,E.combineLatest)(a.map(function(c){return b.fetchOne(c)})).pipe(D(function(c){return c.filter(pi)}))};
SE.\u0275fac=function(a){return new (a||SE)(u(lE))};SE.\u0275prov=qc({token:SE,factory:SE.\u0275fac,providedIn:"root"});var Ava=RegExp("^https?:\\/\\/((?:screenshot.googleplex.com|screenshot.corp.google.com|screen.corp.google.com|screenshot|screen)\\/([\\w-]+)(?:\\.png)?$)"),Dva=RegExp("^(https?:\\/\\/)(www\\.)?(go|goto|goto\\.google\\.com)\\/([A-Za-z0-9-]+$)");var TE=function(a,b,c,d){this.issueApi=a;this.issueRelationshipApi=b;this.changelistApi=c;this.eventsForIssueFridge=d},jcc=function(a,b){var c,d,e,g,h,l,q,x,A,B,K,N,P,Y,X,ka,ma,za,Ba,Ma,Sa,Ua,Lb;return he(function(qb){switch(qb.nextAddress){case 1:return b=rl(b),d=c=0,e=[],g=[],h=[],l=[],q=[],x=[],A=[],B=[],null==b||0===b.length?qb.return({totalCount:c,openCount:d,clIds:e,pendingChangeLists:g,hyperLinks:h,issueLinks:l,screenshots:q,goLinks:x,contributors:A,comments:B}):qb.yield(hcc(a,b),2);case 2:return K=
qb.yieldResult,N=[].concat(Vc(b)),Object.values(K).forEach(function(Ya){N.push.apply(N,Vc(Ya))}),N=rl(N),qb.yield(a.getIssues(N),3);case 3:P=qb.yieldResult;Y={};X=k(P);for(ka=X.next();!ka.done;ka=X.next())ma=ka.value,Y[ma.issueId]=ma;c=N.length-b.length;za=k(b);Ba=za.next();case 4:if(Ba.done){qb.jumpTo(6);break}Ma=Ba.value;return qb.yield(icc(a,Ma,K,Y),7);case 7:Sa=qb.yieldResult;d+=Sa.openCount;e.push.apply(e,Vc(Sa.clIds));g.push.apply(g,Vc(Sa.pendingChangeLists));h.push.apply(h,Vc(Sa.hyperLinks));
l.push.apply(l,Vc(Sa.issueLinks));q.push.apply(q,Vc(Sa.screenshots));x.push.apply(x,Vc(Sa.goLinks));A.push.apply(A,Vc(Sa.contributors));B.push.apply(B,Vc(Sa.comments));Ba=za.next();qb.jumpTo(4);break;case 6:return B.sort(function(Ya,wa){var Ka,Na,fb,bb;return(null==(Ka=wa.comments)?NaN:null==(Na=Ka[0])?NaN:Na.modifiedTime)-(null==(fb=Ya.comments)?NaN:null==(bb=fb[0])?NaN:bb.modifiedTime)}),Ua=g.map(function(Ya){return Ya.fixedIssueIds}).flat(),Lb=g.map(function(Ya){return Ya.issueIds}).flat(),qb.return({totalCount:c,
openCount:d,clIds:rl(e),pendingChangeLists:ql(g,function(Ya){return Ya.changelistNumber}),bugToPendingCl:new Map(Lb.map(function(Ya){return[Ya,g.find(function(wa){return wa.issueIds.includes(Ya)})]})),bugToPendingFixCl:new Map(Ua.map(function(Ya){return[Ya,g.find(function(wa){return wa.fixedIssueIds.includes(Ya)})]})),hyperLinks:rl(h),issueLinks:rl(l),screenshots:rl(q),goLinks:rl(x),contributors:rl(A),comments:B})}})},occ=function(a,b){var c,d,e,g,h,l,q,x,A,B,K,N,P,Y,X,ka,ma,za,Ba,Ma,Sa,Ua,Lb,qb,
Ya,wa,Ka;return he(function(Na){switch(Na.nextAddress){case 1:return b=rl(b),c=b.length,d=0,e=[],g=[],h=[],l=[],q=[],x=[],A=[],null==b||0===b.length?Na.return({totalCount:c,openCount:d,clIds:e,pendingChangeLists:[],hyperLinks:g,issueLinks:h,screenshots:l,goLinks:q,contributors:x,comments:A}):Na.yield(Promise.all([a.getIssues(b),kcc(a,b)]),2);case 2:B=Na.yieldResult,K=k(B),N=K.next().value,P=K.next().value,Y=N,X=P,Y.sort(function(fb,bb){return bb.majorModifiedTimeMicros-fb.majorModifiedTimeMicros}),
ka=10,ma=0,za=k(Y),Ba=za.next();case 3:if(Ba.done){Na.jumpTo(5);break}Ma=Ba.value;yl(Ma)&&(d+=1);Sa=lcc(Ma);e.push.apply(e,Vc(Sa));Ua=mcc(Ma);g.push.apply(g,Vc(Ua.hyperLinks));h.push.apply(h,Vc(Ua.issueLinks));q.push.apply(q,Vc(Ua.goLinks));l.push.apply(l,Vc(Ua.screenshots));Lb=Zua(Ma);null!=Lb&&x.push(Lb);if(!(ma<ka)){Na.jumpTo(4);break}ie(Na,7);return Na.yield(ncc(a,Ma.issueId),9);case 9:qb=Na.yieldResult;0<qb.comments.length&&A.push(qb);ma+=1;ms(Na,4);break;case 7:Ya=le(Na),console.warn("fetch comments",
Ya);case 4:Ba=za.next();Na.jumpTo(3);break;case 5:return e.sort(function(fb,bb){return Number(bb)-Number(fb)}),wa=X.map(function(fb){return fb.fixedIssueIds}).flat(),Ka=X.map(function(fb){return fb.issueIds}).flat(),Na.return({totalCount:c,openCount:d,clIds:rl(e),pendingChangeLists:ql(X,function(fb){return fb.changelistNumber}),bugToPendingCl:new Map(Ka.map(function(fb){return[fb,X.find(function(bb){return bb.issueIds.includes(fb)})]})),bugToPendingFixCl:new Map(wa.map(function(fb){return[fb,X.find(function(bb){return bb.fixedIssueIds.includes(fb)})]})),
hyperLinks:rl(g),issueLinks:rl(h),screenshots:rl(l),goLinks:rl(q),contributors:rl(x),comments:A})}})},icc=function(a,b,c,d){var e,g,h,l,q,x,A,B,K,N,P,Y,X,ka,ma,za,Ba,Ma,Sa,Ua,Lb,qb;return he(function(Ya){switch(Ya.nextAddress){case 1:return g=e=0,h=[],l=[],q=[],x=[],A=[],B=[],K=[],N=pcc(a,d[b],c,d),P=N.map(function(wa){return wa.issueId}),Ya.yield(kcc(a,P),2);case 2:Y=Ya.yieldResult,N.sort(function(wa,Ka){return Ka.majorModifiedTimeMicros-wa.majorModifiedTimeMicros}),X=10,ka=0,ma=k(N),za=ma.next();
case 3:if(za.done){Ya.jumpTo(5);break}Ba=za.value;Ba.issueId!==b&&yl(Ba)&&(g+=1);Ma=lcc(Ba);h.push.apply(h,Vc(Ma));Sa=mcc(Ba);l.push.apply(l,Vc(Sa.hyperLinks));q.push.apply(q,Vc(Sa.issueLinks));A.push.apply(A,Vc(Sa.goLinks));x.push.apply(x,Vc(Sa.screenshots));Ua=Zua(Ba);null!=Ua&&B.push(Ua);if(!(ka<X)){Ya.jumpTo(4);break}ie(Ya,7);return Ya.yield(ncc(a,Ba.issueId),9);case 9:Lb=Ya.yieldResult;0<Lb.comments.length&&K.push(Lb);ka+=1;ms(Ya,4);break;case 7:qb=le(Ya),console.warn("fetch comments",qb);case 4:za=
ma.next();Ya.jumpTo(3);break;case 5:return h.sort(function(wa,Ka){return Number(Ka)-Number(wa)}),Ya.return({totalCount:e,openCount:g,clIds:h,pendingChangeLists:Y,hyperLinks:l,issueLinks:q,screenshots:x,goLinks:A,contributors:B,comments:K})}})},pcc=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=pcc(a,d[g.value],c,d),e.push.apply(e,Vc(g));return e},lcc=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,Vc(a));return b},kcc=function(a,b){var c;return he(function(d){if(1==d.nextAddress)return d.yield((0,E.firstValueFrom)(G8b(a.changelistApi,b)),2);c=d.yieldResult;return d.return(c.changelists)})},hcc=function(a,b){var c,d,e,g,h,l,q,x,A,B;return he(function(K){if(1==K.nextAddress)return c={},K.yield((0,E.firstValueFrom)(a.issueRelationshipApi.getDescendants({issueIds:b,relationshipType:1,includeArchived:!1,depthLimit:10,
prefixSizeLimit:100})),2);d=K.yieldResult;e=k(d.entries());for(g=e.next();!g.done;g=e.next())h=g.value,l=k(h),q=l.next().value,x=l.next().value,A=q,B=x,c[String(A)]=B.getIssueRelationshipsList().map(function(N){return String(gj(N,1))});return K.return(c)})},mcc=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?(Bva(g.href)?d.push(g.href):b.push(g.href),Eva(g)&&e.push(g.href)):"issueReference"===g.type&&c.push(g.issueId);
return{hyperLinks:b,issueLinks:c,goLinks:e,screenshots:d}},ncc=function(a,b){var c,d,e,g,h,l,q,x,A,B;return he(function(K){if(1==K.nextAddress)return c=3,d=new Set,e=[],K.yield((0,E.firstValueFrom)(a.eventsForIssueFridge.watchOne(b)),2);g=K.yieldResult;if(void 0===g)return K.return({issueId:b,comments:e});h=k(g.events.reverse());for(l=h.next();!l.done&&!(q=l.value,ul(q)&&q.isHumanAuthor&&(x=q.commentNumber,null!==x&&!d.has(x)&&(d.add(x),A=q.unlinkifiedComment,B=q.commentLastModifiedAtDate,null!=A&&
0<A.length&&null!=B&&e.push({commentNumber:x,content:A,modifiedTime:B}),d.size>=c)));l=h.next());return K.return({issueId:b,comments:e})})};
TE.prototype.getIssues=function(a){var b=this,c,d,e,g,h;return he(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=[];ie(l,5);return l.yield(b.issueApi.batchGetIssues(e),7);case 7:g=l.yieldResult;ms(l,6);break;case 5:h=le(l),console.warn("fetch issues",h);case 6:c.push.apply(c,Vc(g));d+=100;l.jumpTo(2);break;case 4:return l.return(c)}})};TE.\u0275fac=function(a){return new (a||TE)(u(mE),u(AE),u(RC),u(SE))};
TE.\u0275prov=qc({token:TE,factory:TE.\u0275fac,providedIn:"root"});var qcc=["needs-attention-table","needs-attention-cards","mvp-needs-attention"],rcc="tp-my-work team-activity-stream large-activity-stream assigned-to-me recent-stuff-i-follow my-tasks-area mvp-my-tasks".split(" "),scc=["my-projects-as-cards","recently-viewed-i-own","suggested-issues","work-areas-wrapper-card"];[].concat(Vc(qcc),Vc(scc),Vc(rcc));var tcc=["children","immersed"];Vc(tcc);
var Vva=["assigned-to-me","recent-stuff-i-follow"],ucc={collapsed:{},projectFilters:[]},vcc={layout:"layout-b",showHiddenSettings:!1,sectionA:"",sectionW:"my-projects-as-cards",sectionT:"tp-my-work",collapsed:{},projectFilters:["OPEN"],pinned:[],issuesThisWeek:{issues:[],weekNumber:0}},wcc={"2022-may":vcc,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"}},xcc="title assignee status id modifiedTime menu".split(" ");var ycc=ml(),Kl=Ml(ycc.user.email);var zcc=function(a){r.call(this,a,0,zcc.messageId)};U(zcc,r);f=zcc.prototype;f.getIssueId=function(){return yi(this,1)};f.setIssueId=function(a){return n(this,1,a)};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={issueId:p(m(this,1)),pageSize:p(Os(this,2)),pageToken:p(m(this,3))}}else a=void 0;return a};zcc.messageId="b.AggregateIssueDescendantsRequest";var UE=function(a){r.call(this,a)};U(UE,r);f=UE.prototype;f.getStatus=function(){return W(this,1,0)};f.setStatus=function(a){return n(this,1,a)};f.hasStatus=function(){return fj(this,1)};f.getIssueIdsList=function(){return Hh(this,2)};f.setIssueIdsList=function(a){return kj(this,2,a)};f.addIssueIds=function(a){wb(this,2,a)};UE.repeatedFields_=[2];UE.prototype.toObject=function(){return Acc(this)};var Acc=function(a){if(null!=a)return t(a),{status:p(kr(a,1)),issueIdsList:p(Hh(a,2))}};var VE=function(a){r.call(this,a)};U(VE,r);f=VE.prototype;f.getIssueIdsList=function(){return Hh(this,1)};f.setIssueIdsList=function(a){return kj(this,1,a)};f.addIssueIds=function(a){wb(this,1,a)};f.getCollaboratorsList=function(){return aj(this,gi,6)};f.setCollaborators=function(a){Fs(this,6,gi,a)};f.getChangelistsList=function(){return Ih(this,7)};VE.repeatedFields_=[1,2,3,4,5,6,7];VE.prototype.toObject=function(){return Bcc(this)};
var Bcc=function(a){if(null!=a)return t(a),{issueIdsList:p(Hh(a,1)),aggregatedStatusList:Kb(aj(a,UE,2),Acc),reportersList:Kb(aj(a,gi,3),WC),assigneesList:Kb(aj(a,gi,4),WC),verifiersList:Kb(aj(a,gi,5),WC),collaboratorsList:Kb(a.getCollaboratorsList(),WC),changelistsList:p(Ih(a,7))}};var WE=function(a){r.call(this,a,0,WE.messageId)};U(WE,r);WE.prototype.getNextPageToken=function(){return V(this,2)};WE.prototype.toObject=function(){if(null!=this){t(this);var a={aggregatedIssueMetadata:Bcc(Z(this,VE,1)),nextPageToken:p(m(this,2))}}else a=void 0;return a};WE.messageId="b.AggregateIssueDescendantsResponse";var XE=function(a){this.executor=a};
XE.prototype.get=function(a){var b=new zcc;b.setIssueId(a);return this.executor.post({url:"action/issues/aggregateIssueDescendants",body:b,responseConstructor:WE}).pipe(D(function(c){var d=Z(c,VE,1);if(d){var e;c={_rootId:a,issueIds:d.getIssueIdsList(),aggregatedStatus:null!=(e=aj(d,UE,2).map(Yva).filter(pi))?e:[],reporters:fi(aj(d,gi,3)),assignees:fi(aj(d,gi,4)),verifiers:fi(aj(d,gi,5)),collaborators:fi(d.getCollaboratorsList()),changelists:d.getChangelistsList()}}else c=void 0;return c}))};
XE.\u0275fac=function(a){return new (a||XE)(u(LC))};XE.\u0275prov=qc({token:XE,factory:XE.\u0275fac,providedIn:"root"});var YE=function(a){RE.call(this);this.api=a;this.recordType="AggregatedIssueMetadata";this.idKey="_rootId"};U(YE,RE);YE.prototype.fetchOne=function(a){return this.api.get(a)};YE.\u0275fac=function(a){return new (a||YE)(u(XE))};YE.\u0275prov=qc({token:YE,factory:YE.\u0275fac,providedIn:"root"});var ZE=function(a){PE.call(this);this.api=a;this.defaultQuery={};this.recordType="Changelist";this.idKey="changelistNumber"};U(ZE,PE);ZE.prototype.fetchAll=function(a){if(a=a.pendingForIssues)return 0===a.length?(0,E.of)({results:[]}):G8b(this.api,a).pipe(D(function(b){var c;return{results:null!=(c=b.changelists)?c:[]}}));throw Error("nc");};ZE.\u0275fac=function(a){return new (a||ZE)(u(RC))};ZE.\u0275prov=qc({token:ZE,factory:ZE.\u0275fac,providedIn:"root"});var $E=function(){};$E.prototype.adapt=function(a){var b,c=new Ccc(a.call.bind(a),a.split.bind(a),null!=(b=a.bufferTimeMs)?b:500,a.maxBatchSize||100);return c.get.bind(c)};$E.\u0275fac=function(a){return new (a||$E)};$E.\u0275prov=qc({token:$E,factory:$E.\u0275fac,providedIn:"root"});
var Ccc=function(a,b,c,d){var e=this;this.batchCall=a;this.batchSplit=b;this.bufferTimeMs=c;this.maxBatchSize=d;this.inputSubject=new E.Subject;this.inputs$=this.inputSubject.pipe(Iia(this.inputSubject.pipe(Be(this.bufferTimeMs,E.asapScheduler))));this.removeDuplicates=D(function(g){return[].concat(Vc(new Set(g)))});this.limitInputSize=D(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,E.pipe)(se(function(g){try{return e.batchCall(g).pipe(Ge(),D(function(h){return{inputs:g,batchResponse:h,error:void 0}}),Ce(function(h){return(0,E.of)({inputs:g,batchResponse:void 0,error:h})}))}catch(h){return(0,E.of)({inputs:g,batchResponse:void 0,error:h})}}),Oe());this.batchResults$=this.inputs$.pipe(this.removeDuplicates,this.limitInputSize,this.makeBatchCalls)};
Ccc.prototype.get=function(a){var b=this;return new E.Observable(function(c){c=b.batchResults$.pipe(ye(function(d){return d.inputs.has(a)}),Ge(),D(function(d){if(!d.error&&d.batchResponse)return b.batchSplit(a,d.batchResponse);throw new Dcc(d.error,d.inputs);})).subscribe(c);b.inputSubject.next(a);return c})};var Dcc=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,Dcc.prototype)};
U(Dcc,Error);var Ecc=function(a){r.call(this,a,0,Ecc.messageId)};U(Ecc,r);Ecc.prototype.toObject=function(){if(null!=this){t(this);var a={component:PD(Z(this,Tj,1))}}else a=void 0;return a};Ecc.messageId="b.CreateComponentResponse";var aF=function(a){r.call(this,a,0,aF.messageId)};U(aF,r);aF.repeatedFields_=[1];aF.prototype.toObject=function(){if(null!=this){t(this);var a={componentList:Kb(aj(this,Tj,1),PD)}}else a=void 0;return a};aF.messageId="b.ListComponentsResponse";var mta=function(a){r.call(this,a)};U(mta,r);f=mta.prototype;f.getComponentPath=function(){return V(this,1)};f.getRetentionSettings=function(){return Z(this,Qi,2)};f.setRetentionSettings=function(a){Yi(this,Qi,2,a)};f.hasRetentionSettings=function(){return Dj(this,Qi,2)};f.toObject=function(){return Fcc(this)};var Fcc=function(a){if(null!=a)return t(a),{componentPath:p(m(a,1)),retentionSettings:i$b(a.getRetentionSettings())}};var bF=function(a){r.call(this,a,0,bF.messageId)};U(bF,r);bF.repeatedFields_=[2];bF.prototype.toObject=function(){if(null!=this){t(this);var a={descendantsList:Kb(aj(this,mta,2),Fcc)}}else a=void 0;return a};bF.messageId="b.SubcomponentsResponse";var Gcc=function(){},Hcc=function(){},cF=function(a,b){this.executor=a;this.currentTrackerId=b};U(cF,Hcc);f=cF.prototype;f.get=function(a){return this.query({id:[a]}).pipe(D(function(b){return b.length?b[0]:null}))};f.getChildren=function(a,b){a={parentId:String(a)};if(void 0===b?0:b)a.includearchived=!0;return this.query(a)};f.getDescendants=function(a){return this.executor.get({url:"action/components/"+a+"/descendants",responseConstructor:bF}).pipe(D(nta))};
f.fetchComponent=function(a,b){var c={};b.checkEditAccess&&(c.checkEditAccess="true");return this.executor.get({url:"action/components/"+a,options:{params:c},responseConstructor:Tj}).pipe(D(Oj))};
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();Nl(a)||(b.currentTrackerId=a);return this.executor.get({url:"action/components",options:{params:b},responseConstructor:aF}).pipe(D(kta))};
f.create=function(a){a=eta(a);return this.executor.post({url:"action/components",body:a,responseConstructor:Ecc}).pipe(D(function(b){return Oj(Z(b,Tj,1))}))};
f.update=function(a){var b=a.componentId,c=new Tj;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);kj(c,7,d)}if(a.componentPathInfo){var e=a.componentPathInfo;d=new Pj;if(e.componentPathId){var g=e.componentPathId.map(String);kj(d,1,g)}e.componentPathName&&(g=e.componentPathName.map(String),Fi(d,2,g));e.allCustomField&&(e=e.allCustomField.map(ora),
dj(d,4,e));Yi(c,Pj,10,d)}a.accessLimit&&c.setAccessLimit(Jqa(a.accessLimit));n(c,13,a.emailAlias);a.userHasEditAccess&&Lj(c,14,a.userHasEditAccess);a.commentEditState&&c.setCommentEditState("ENABLED"===a.commentEditState?1:2);n(c,18,String(a.defaultTemplateId));a.slo&&c.setSlo(Ira(a.slo));n(c,20,a.bugscopeSloId);a.retentionSettings&&c.setRetentionSettings(Ara(a.retentionSettings));a.fieldOrdering&&n(c,23,J8b[a.fieldOrdering]);a.effortSpec&&(d=sra(a.effortSpec),Yi(c,Li,24,d));a.team&&c.setTeam(Wsa(a.team));
var h;c.setTeamSuggestionsList((null!=(h=a.teamSuggestions)?h:[]).map($sa));return this.executor.post({url:"action/components/"+b,body:c,responseConstructor:Tj}).pipe(D(Oj))};f.move=function(a,b){return this.executor.post({url:"action/components/"+a+"/move",body:null,options:{params:{parentId:String(b)}},responseConstructor:Tj}).pipe(D(Oj))};f.updateSlo=function(a,b){var c=new QD;c.setSlo(Ira(b));return this.executor.post({url:"action/components/"+a+"/updateSlo",body:c,responseConstructor:Tj}).pipe(D(Oj))};
f.updateTeam=function(a,b){var c=new RD;c.setTeam(Wsa(b));return this.executor.post({url:"action/components/"+a+"/updateTeam",body:c,responseConstructor:Tj}).pipe(D(Oj))};cF.\u0275fac=function(a){return new (a||cF)(u(LC),u(XD))};cF.\u0275prov=qc({token:cF,factory:cF.\u0275fac,providedIn:"root"});var dF=function(a){this.observableApi=a};U(dF,Gcc);f=dF.prototype;f.get=function(a){return(0,E.firstValueFrom)(this.observableApi.get(a))};
f.getChildren=function(a,b){return(0,E.firstValueFrom)(this.observableApi.getChildren(a,void 0===b?!1:b))};f.getDescendants=function(a){return(0,E.firstValueFrom)(this.observableApi.getDescendants(a))};f.fetchComponent=function(a,b){return(0,E.firstValueFrom)(this.observableApi.fetchComponent(a,b))};f.query=function(a){return(0,E.firstValueFrom)(this.observableApi.query(a))};f.create=function(a){return(0,E.firstValueFrom)(this.observableApi.create(a))};f.update=function(a){return(0,E.firstValueFrom)(this.observableApi.update(a))};
f.move=function(a,b){return(0,E.firstValueFrom)(this.observableApi.move(a,b))};f.updateSlo=function(a,b){return(0,E.firstValueFrom)(this.observableApi.updateSlo(a,b))};f.updateTeam=function(a,b){return(0,E.firstValueFrom)(this.observableApi.updateTeam(a,b))};dF.\u0275fac=function(a){return new (a||dF)(u(cF))};dF.\u0275prov=qc({token:dF,factory:dF.\u0275fac,providedIn:"root"});var eF=function(a){RE.call(this,{freshUntil:12E4,ancientAfter:6048E5});this.batchedComponentApi=a;this.recordType="component";this.idKey="componentId"};U(eF,RE);eF.prototype.fetchOne=function(a){return this.batchedComponentApi.get(a).pipe(Ce(function(){return(0,E.of)(void 0)}))};eF.prototype.fetchSet=function(a){var b=this;return(0,E.combineLatest)(a.map(function(c){return b.fetchOne(c)})).pipe(D(function(c){return c.filter(pi)}))};eF.\u0275fac=function(a){return new (a||eF)(u(fF))};
eF.\u0275prov=qc({token:eF,factory:eF.\u0275fac,providedIn:"root"});var fF=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)}})};
fF.prototype.call=function(a){return 1===a.size?this.observableComponentApi.fetchComponent([].concat(Vc(a))[0],{}).pipe(D(function(b){return new Map(b?[[b.componentId,b]]:[])})):this.observableComponentApi.query({id:[].concat(Vc(a))}).pipe(D(function(b){return new Map(b.map(function(c){return[c.componentId,c]}))}))};fF.prototype.splitBatch=function(a,b){return b.get(Number(a))};fF.\u0275fac=function(a){return new (a||fF)(u(Hcc),u($E))};fF.\u0275prov=qc({token:fF,factory:fF.\u0275fac,providedIn:"root"});var gF=function(a){r.call(this,a,0,gF.messageId)};U(gF,r);gF.prototype.getSnapshot=function(){return Z(this,ij,1)};gF.prototype.setSnapshot=function(a){Yi(this,ij,1,a)};gF.prototype.toObject=function(){if(null!=this){t(this);var a={snapshot:A$b(this.getSnapshot()),customFieldMapMap:Ob(Vj(this,2,Ji),f9b)}}else a=void 0;return a};gF.messageId="b.IssueTemplateResponse";var hF=function(a){r.call(this,a,0,hF.messageId)};U(hF,r);hF.repeatedFields_=[1];hF.prototype.toObject=function(){if(null!=this){t(this);var a={templatesList:Kb(aj(this,Uj,1),S$b)}}else a=void 0;return a};hF.messageId="b.ListTemplatesResponse";var iF=function(a){r.call(this,a,0,iF.messageId)};U(iF,r);iF.prototype.toObject=function(){if(null!=this){t(this);var a={template:S$b(Z(this,Uj,1))}}else a=void 0;return a};iF.messageId="b.TemplateResponse";var Icc=function(){},jF=function(a){this.executor=a};f=jF.prototype;f.get=function(a,b){return this.executor.get({url:"action/components/"+a+"/templates/"+b,responseConstructor:iF}).pipe(D(Zva))};f.query=function(a){return this.executor.get({url:"action/components/"+a+"/templates",responseConstructor:hF}).pipe(D($va))};f.create=function(a,b){b=ita(b);return this.executor.post({url:"action/components/"+a+"/templates",responseConstructor:iF,body:b}).pipe(D(Zva))};
f.update=function(a,b,c){c=ita(c);return this.executor.post({url:"action/components/"+a+"/templates/"+b,responseConstructor:iF,body:c}).pipe(D(Zva))};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:gF,options:{params:{templateId:String(b)}}}).pipe(D(jta))};jF.\u0275fac=function(a){return new (a||jF)(u(LC))};
jF.\u0275prov=qc({token:jF,factory:jF.\u0275fac,providedIn:"root"});var kF=function(a){this.observableApi=a};U(kF,Icc);f=kF.prototype;f.get=function(a,b){return(0,E.firstValueFrom)(this.observableApi.get(a,b))};f.query=function(a){return(0,E.firstValueFrom)(this.observableApi.query(a))};f.create=function(a,b){return(0,E.firstValueFrom)(this.observableApi.create(a,b))};f.update=function(a,b,c){return(0,E.firstValueFrom)(this.observableApi.update(a,b,c))};
f.delete=function(a,b){return(0,E.firstValueFrom)(this.observableApi.delete(a,b))};f.getIssueTemplate=function(a,b){return(0,E.firstValueFrom)(this.observableApi.getIssueTemplate(a,b))};kF.\u0275fac=function(a){return new (a||kF)(u(jF))};kF.\u0275prov=qc({token:kF,factory:kF.\u0275fac,providedIn:"root"});var awa=function(){var a=this;this.promise=new Promise(function(b,c){a.resolve=b;a.reject=c})};var Jcc=Symbol("oc"),Kcc=Symbol("pc"),Lcc=Symbol("qc"),lF=function(){};lF.prototype.schedule=function(a,b){b=void 0===b?0:b;var c=Ol(),d=c.promise;b=setTimeout(function(){try{var e=a()}catch(g){c.reject(g);d[Lcc]=!0;return}c.resolve(e);d[Lcc]=!0},b);d[Jcc]=b;d[Kcc]=c.reject;d[Lcc]=!1;return c.promise};lF.prototype.cancel=function(a){var b=a[Jcc];if(null==b||a[Lcc])return!1;clearTimeout(b);var c;null==(c=a[Kcc])||c.call(a,Error("rc"));return a[Lcc]=!0};lF.\u0275fac=function(a){return new (a||lF)};
lF.\u0275prov=qc({token:lF,factory:lF.\u0275fac,providedIn:"root"});var mF=function(a){this.timeout=a};mF.prototype.adapt=function(a){return new Mcc(this.timeout,a)};mF.\u0275fac=function(a){return new (a||mF)(u(lF))};mF.\u0275prov=qc({token:mF,factory:mF.\u0275fac,providedIn:"root"});var Mcc=function(a,b){this.timeout=a;this.bulkGet=b;this.batchedInputs=[[]];this.batchedDeferreds=[[]];this.isBatchScheduled=!1};
Mcc.prototype.get=function(a){var b=Ol(),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||Ncc(this);return b.promise};
var Ncc=function(a){a.isBatchScheduled=!0;a.timeout.schedule(function(){for(var b={},c=0;c<a.batchedInputs.length;b={$jscomp$loop$prop$batchedDeferred$2289:b.$jscomp$loop$prop$batchedDeferred$2289},c++){var d=a.batchedInputs[c];b.$jscomp$loop$prop$batchedDeferred$2289=a.batchedDeferreds[c];a.bulkGet(d).then(function(e){return function(g){for(var h=0;h<e.$jscomp$loop$prop$batchedDeferred$2289.length;h++)e.$jscomp$loop$prop$batchedDeferred$2289[h].resolve(g[h])}}(b),function(e){return function(g){for(var h=
k(e.$jscomp$loop$prop$batchedDeferred$2289),l=h.next();!l.done;l=h.next())l.value.reject(g)}}(b))}a.batchedInputs=[[]];a.batchedDeferreds=[[]];a.isBatchScheduled=!1})};var Pl=function(a){r.call(this,a,0,Pl.messageId)};U(Pl,r);f=Pl.prototype;f.getResource=function(){return V(this,1)};f.setResource=function(a){return n(this,1,a)};f.getRelation=function(){return W(this,2,0)};f.setRelation=function(a){n(this,2,a)};f.toObject=function(){return Occ(this)};var Occ=function(a){if(null!=a)return t(a),{resource:p(m(a,1)),relation:p(kr(a,2))}};Pl.messageId="b.ResourceRelation";var nF=function(a){r.call(this,a,0,nF.messageId)};U(nF,r);nF.repeatedFields_=[1];nF.prototype.toObject=function(){if(null!=this){t(this);var a={grantedList:Kb(aj(this,Pl,1),Occ)}}else a=void 0;return a};nF.messageId="b.UserAccessBatchResponse";var oF=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+)$")};oF.prototype.validate=function(a){return this.resourceNamePattern.test(a)};oF.\u0275fac=function(a){return new (a||oF)};oF.\u0275prov=qc({token:oF,factory:oF.\u0275fac,providedIn:"root"});
var pF=function(a,b,c){var d=this;this.userAccess=a;this.resourceNameValidator=b;this.accesses={};this.accessGetter=c.adapt(function(e){return Pcc(d,e)})},Pcc=function(a,b){return Qcc(a,b).then(function(c){return cwa(b,c)})},qF=function(a,b,c){return a.resourceNameValidator.validate(c)?Rcc(a,b,c):Promise.reject("invalid resource name: "+c)},Qcc=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)},Rcc=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};pF.\u0275fac=function(a){return new (a||pF)(u(rF),u(oF),u(mF))};pF.\u0275prov=qc({token:pF,factory:pF.\u0275fac,providedIn:"root"});var sF=function(a){this.executor=a};
sF.prototype.bulkGetUserAccess=function(a,b){return this.executor.get({url:"action/user_access",options:{params:{relations:a.join(","),resourceNames:b.join(",")}},responseConstructor:nF}).pipe(D(bwa))};sF.\u0275fac=function(a){return new (a||sF)(u(LC))};sF.\u0275prov=qc({token:sF,factory:sF.\u0275fac,providedIn:"root"});var rF=function(a){this.observableApi=a};rF.prototype.bulkGetUserAccess=function(a,b){return(0,E.firstValueFrom)(this.observableApi.bulkGetUserAccess(a,b))};
rF.\u0275fac=function(a){return new (a||rF)(u(sF))};rF.\u0275prov=qc({token:rF,factory:rF.\u0275fac,providedIn:"root"});var tF=function(){};tF.\u0275fac=function(a){return new (a||tF)};tF.\u0275mod=Ic({type:tF});tF.\u0275inj=rc({imports:[sw,MB]});var Scc=new Rc("MatSnackBarData"),Tcc=function(){this.politeness="assertive";this.announcementMessage="";this.duration=0;this.data=null;this.horizontalPosition="center";this.verticalPosition="bottom"};var Ucc=Math.pow(2,31)-1,uF=function(a,b){var c=this;this._overlayRef=b;this._afterDismissed=new E.Subject;this._afterOpened=new E.Subject;this._onAction=new E.Subject;this._dismissedByAction=!1;this.containerInstance=a;a._onExit.subscribe(function(){return c._finishDismiss()})};uF.prototype.dismiss=function(){this._afterDismissed.closed||this.containerInstance.exit();clearTimeout(this._durationTimeoutId)};
var hwa=function(a){a._onAction.closed||(a._dismissedByAction=!0,a._onAction.next(),a._onAction.complete(),a.dismiss());clearTimeout(a._durationTimeoutId)};f=uF.prototype;f._dismissAfter=function(a){var b=this;this._durationTimeoutId=setTimeout(function(){return b.dismiss()},Math.min(a,Ucc))};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 Vcc=Kg("state",[Ng("void, hidden",Mg({transform:"scale(0.8)",opacity:0})),Ng("visible",Mg({transform:"scale(1)",opacity:1})),Og("* => visible",Lg("150ms cubic-bezier(0, 0, 0.2, 1)")),Og("* => void, * => hidden",Lg("75ms cubic-bezier(0.4, 0.0, 1, 1)",Mg({opacity:0})))]);var Wcc=0,vF=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=Ac(fh);this._trackedModals=new Set;this._announceDelay=150;this._destroyed=!1;this._onAnnounce=new E.Subject;this._onExit=new E.Subject;this._onEnter=new E.Subject;this._animationState="void";this._liveElementId="mat-snack-bar-container-live-"+Wcc++;this._live="assertive"!==e.politeness||e.announcementMessage?"off"===e.politeness?"off":
"polite":"assertive";this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))};U(vF,ox);vF.prototype.attachComponentPortal=function(a){a=this._portalOutlet.attachComponentPortal(a);this._afterPortalAttached();return a};vF.prototype.attachTemplatePortal=function(a){a=this._portalOutlet.attachTemplatePortal(a);this._afterPortalAttached();return a};
var Xcc=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=vF.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)})};vF.\u0275fac=function(a){return new (a||vF)(C(We),C(vd),C(Yv),C(bx),C(Tcc))};vF.\u0275dir=Kc({type:vF,viewQuery:function(a,b){a&1&&Uf(rx,7);if(a&2){var c;Tf(c=Wf())&&(b._portalOutlet=c.first)}},features:[bf]});var Ycc=new Rc("mat-snack-bar-default-options",{providedIn:"root",factory:function(){return new Tcc}}),wF=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=wF.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=Ze({parent:b&&b.viewContainerRef&&b.viewContainerRef.injector||this._injector,providers:[{provide:Tcc,useValue:b}]});a=a.attach(new mx(this.snackBarContainerComponent,b.viewContainerRef,c));a.instance.snackBarConfig=b;return a.instance};
f._attach=function(a,b){var c=this,d=Object.assign({},new Tcc,this._defaultConfig,b),e=this._createOverlay(d);b=this._attachSnackBarContainer(e,d);var g=new uF(b,e);if(a instanceof Qf)g.instance=b.attachTemplatePortal(new nx(a,null,{$implicit:d.data,snackBarRef:g}));else{var h=this._createInjector(d,g);a=b.attachComponentPortal(new mx(a,void 0,h));g.instance=a.instance}this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait)").pipe(Te(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 Sy;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"):qYb(c);"top"===a.verticalPosition?c.top("0"):c.bottom("0");b.positionStrategy=c;return this._overlay.create(b)};
f._createInjector=function(a,b){return Ze({parent:a&&a.viewContainerRef&&a.viewContainerRef.injector||this._injector,providers:[{provide:uF,useValue:b},{provide:Scc,useValue:a.data}]})};hh.Object.defineProperties(wF.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}}});
wF.\u0275fac=function(a){return new (a||wF)(u($y),u(oy),u(bv),u(iy),u(wF,12),u(Ycc))};wF.\u0275prov=qc({token:wF,factory:wF.\u0275fac});var xF=function(a,b){this.snackBarRef=a;this.data=b};xF.prototype.action=function(){hwa(this.snackBarRef)};hh.Object.defineProperties(xF.prototype,{hasAction:{configurable:!0,enumerable:!0,get:function(){return!!this.data.action}}});xF.\u0275fac=function(a){return new (a||xF)(C(uF),C(Scc))};
xF.\u0275cmp=Gc({type:xF,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&&(G(0,"span",0),R(1),H(),Q(2,dwa,3,1,"div",1));a&2&&(z(1),Ef(b.data.message),z(1),F("ngIf",b.hasAction))},dependencies:[ew,Jz],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 yF=function(){vF.apply(this,arguments)};U(yF,vF);yF.\u0275dir=vF.\u0275dir;yF.prototype._afterPortalAttached=function(){vF.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")};yF.\u0275fac=function(){var a;return function(b){return(a||(a=td(yF)))(b||yF)}}();
yF.\u0275cmp=Gc({type:yF,selectors:[["snack-bar-container"]],hostAttrs:[1,"mat-snack-bar-container"],hostVars:1,hostBindings:function(a,b){a&1&&zka("@state.done",function(c){return Xcc(b,c)});a&2&&xka("@state",b._animationState)},features:[bf],decls:3,vars:3,consts:[["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(a,b){a&1&&(G(0,"div",0),Q(1,ewa,0,0,"ng-template",1),H(),I(2,"div"));a&2&&(z(2),gf("aria-live",b._live)("role",b._role)("id",b._liveElementId))},dependencies:[rx],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:[Vcc]}});var zF=function(){};zF.\u0275fac=function(a){return new (a||zF)};zF.\u0275mod=Ic({type:zF});zF.\u0275inj=rc({imports:[cz,sx,sw,iC,dz,dz]});var AF=function(a,b,c,d,e,g){wF.call(this,a,b,c,d,e,g);this.simpleSnackBarComponent=xF;this.snackBarContainerComponent=yF;this.handsetCssClass="mat-snack-bar-handset"};U(AF,wF);AF.\u0275fac=function(a){return new (a||AF)(u($y),u(oy),u(bv),u(iy),u(AF,12),u(Ycc))};AF.\u0275prov=qc({token:AF,factory:AF.\u0275fac,providedIn:zF});var BF=function(a){this.snackBar=a};BF.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(Zcc,b)};BF.\u0275fac=function(a){return new (a||BF)(u(AF))};BF.\u0275prov=qc({token:BF,factory:BF.\u0275fac,providedIn:"root"});
var Zcc=function(a,b){this.data=a;this.snackBarRef=b};Zcc.\u0275fac=function(a){return new (a||Zcc)(C(Scc),C(uF))};
Zcc.\u0275cmp=Gc({type:Zcc,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&&(G(0,"div",0),Q(1,fwa,2,1,"span",1),
Q(2,gwa,1,1,"span",2),G(3,"div",3),Q(4,iwa,2,1,"button",4),Q(5,jwa,2,1,"button",4),Q(6,kwa,2,0,"button",5),H()());a&2&&(z(1),F("ngIf",!b.data.htmlMessage),z(1),F("ngIf",b.data.htmlMessage),z(2),F("ngIf",b.data.actionLabel),z(1),F("ngIf",b.data.dismissLabel),z(1),F("ngIf",!b.data.dismissLabel))},dependencies:[ew,uA,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}/*# sourceMappingURL=snackbar_content.css.map */"]});var CF=function(a){this.snackbar=a};CF.prototype.dismiss=function(){this.lastSnackbar&&this.lastSnackbar.dismiss()};var DF=function(a,b,c){a.open({message:b,duration:void 0===c?1E4:c})},$cc=function(a,b,c){a.open({message:b,duration:void 0===c?1E4:c})},EF=function(a,b,c){a.open({message:b,duration:void 0===c?0:c,snackbarType:"ERROR"})};CF.prototype.open=function(a){return this.lastSnackbar=a=this.snackbar.open(a)};CF.\u0275fac=function(a){return new (a||CF)(u(BF))};
CF.\u0275prov=qc({token:CF,factory:CF.\u0275fac,providedIn:"root"});var FF=function(){};f=FF.prototype;f.debug=function(){yh.apply(null,Vc(Pc.apply(0,arguments)))};f.error=function(){Wpa.apply(null,Vc(Pc.apply(0,arguments)))};f.info=function(){Upa.apply(null,Vc(Pc.apply(0,arguments)))};f.log=function(){Vpa.apply(null,Vc(Pc.apply(0,arguments)))};f.warn=function(){zh.apply(null,Vc(Pc.apply(0,arguments)))};FF.\u0275fac=function(a){return new (a||FF)};FF.\u0275prov=qc({token:FF,factory:FF.\u0275fac,providedIn:"root"});var GF=function(a,b,c,d){this.butterBar=a;this.activeSession=b;this.$log=c;this.timeout=d};
GF.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.":Rl(b)?Rl(b):404===b.status?"Invalid ID.":"Unknown HTTP error "+b.status+". Please copy your data and refresh the page.";c.$log.error(d,b);EF(c.butterBar,d)})};
var HF=function(a,b){a.$log.warn(b);EF(a.butterBar,b)},IF=function(a,b){if(Ql(b))a.errorHandler(null,b);else throw b;};GF.\u0275fac=function(a){return new (a||GF)(u(CF),u(gs),u(FF),u(lF))};GF.\u0275prov=qc({token:GF,factory:GF.\u0275fac,providedIn:"root"});var JF=function(a,b,c,d){this.issueApi=a;this.templatesApi=b;this.errorHandler=c;this.userAccess=d},bdc=function(a,b){b=a.issueApi.getIssue(b).then(function(c){var d=Object,e=d.assign,g=oa(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 adc(a,
c)});b.catch(function(c){a.errorHandler.errorHandler(null,c)});return b},adc=function(a,b){var c=b.snapshot.hotlistId;if(!c)return b;var d=c.map(function(e){return qF(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})};JF.\u0275fac=function(a){return new (a||JF)(u(kE),u(Icc),u(GF),u(pF))};JF.\u0275prov=qc({token:JF,factory:JF.\u0275fac,providedIn:"root"});var KF=function(){this.bookmarkGroupModified=new E.Subject;this.commentSubmitted=new E.Subject;this.commentRendered=new E.Subject;this.componentModified=new E.Subject;this.contactChipsRevertChanges=new E.Subject;this.customFieldsModified=new E.Subject;this.dashboardPanels={moveDown:new E.Subject,moveUp:new E.Subject,moveToTop:new E.Subject,moveToBottom:new E.Subject,remove:new E.Subject};this.favoritesModified=new E.Subject;this.hotlistCreated=new E.Subject;this.onClickAppMenuIcon=new E.Subject;this.openEditField=
new E.Subject;this.sidebarWidthChanged=new E.Subject;this.hotlistChanged=new E.Subject;this.savedSearchModified=new E.Subject;this.sidebarUpdated=new E.Subject;this.topBarEvents={browseComponents:new E.Subject,manageHotlists:new E.Subject,manageSlos:new E.Subject,setDensity:new E.Subject,openSettings:new E.Subject};this.templateModified=new E.Subject;this.issueViewed=new E.Subject;this.issueEdited=new E.Subject;this.focusCommentBox=new E.Subject;this.scrollToCommentBox=new E.Subject;this.needsAttentionIssueCount=
new E.Subject;this.recaptchaSubmitted=new E.Subject};KF.\u0275fac=function(a){return new (a||KF)};KF.\u0275prov=qc({token:KF,factory:KF.\u0275fac,providedIn:"root"});var LF=function(a,b){RE.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(ye(pi),D(function(e){return e.templates}),D(function(e){var g;return null!=(g=e.find(function(h){return h.default}))?g:e[0]}))};this.appEvents.templateModified.pipe(ye(function(d){return!!d&&"0"!==d})).subscribe(function(d){c.poke(d)})};U(LF,RE);
LF.prototype.fetchOne=function(a){return(0,E.from)(this.template.templatesApi.query(Number(a)).then(function(b){return{componentId:a,templates:b}}))};LF.\u0275fac=function(a){return new (a||LF)(u(JF),u(KF))};LF.\u0275prov=qc({token:LF,factory:LF.\u0275fac,providedIn:"root"});var MF=function(a){r.call(this,a,0,MF.messageId)};U(MF,r);MF.prototype.getCustomField=function(){return Z(this,Ji,1)};MF.prototype.setCustomField=function(a){return Yi(this,Ji,1,a)};MF.prototype.toObject=function(){if(null!=this){t(this);var a={customField:f9b(this.getCustomField())}}else a=void 0;return a};MF.messageId="b.CustomFieldResponse";var NF=function(){},OF=function(a){this.executor=a};U(OF,NF);f=OF.prototype;f.get=function(a){return this.executor.get({url:"action/custom_fields/"+Number(a),responseConstructor:MF}).then(lra)};f.getResource=function(a){return this.executor.get({url:"action/custom_fields/"+a,responseConstructor:MF}).then(function(b){return era(b.getCustomField())})};f.create=function(a,b){b=ora(b);return this.executor.post({url:"action/custom_fields",options:{params:{componentId:String(a)}},body:b,responseConstructor:MF}).then(lra)};
f.update=function(a,b,c){b=Number(b);c=ora(c);return this.executor.post({url:"action/custom_fields/"+b,options:{params:{componentId:String(a)}},body:c,responseConstructor:MF}).then(lra)};f.delete=function(a,b){return this.executor.delete({url:"action/custom_fields/"+Number(b),options:{params:{componentId:String(a)}},responseConstructor:null})};OF.\u0275fac=function(a){return new (a||OF)(u(MC))};OF.\u0275prov=qc({token:OF,factory:OF.\u0275fac,providedIn:"root"});var PF=function(a){RE.call(this,{freshUntil:18E5,ancientAfter:2592E6});this.api=a;this.recordType="customFieldResource";this.idKey="customFieldId"};U(PF,RE);PF.prototype.fetchOne=function(a){var b=this;return(0,E.defer)(function(){return b.api.getResource(a)}).pipe(Ce(function(c){console.error("error fetching custom field "+a,c);return(0,E.of)(void 0)}))};PF.\u0275fac=function(a){return new (a||PF)(u(NF))};PF.\u0275prov=qc({token:PF,factory:PF.\u0275fac,providedIn:"root"});var QF=function(a){r.call(this,a,0,QF.messageId)};U(QF,r);QF.prototype.getIssueId=function(){return gj(this,1)};QF.prototype.setIssueId=function(a){return n(this,1,a)};QF.prototype.setCurrentTrackerId=function(a){n(this,3,a)};QF.repeatedFields_=[2];QF.prototype.toObject=function(){if(null!=this){t(this);var a={issueId:p(m(this,1)),commentNumbersList:p(Fh(this,2)),currentTrackerId:p(m(this,3))}}else a=void 0;return a};QF.messageId="b.BatchGetIssueCommentsRequest";var RF=function(a){r.call(this,a,0,RF.messageId)};U(RF,r);RF.prototype.getIssueCommentsList=function(){return aj(this,HD,1)};RF.repeatedFields_=[1];RF.prototype.toObject=function(){if(null!=this){t(this);var a={issueCommentsList:Kb(this.getIssueCommentsList(),z$b)}}else a=void 0;return a};RF.messageId="b.BatchGetIssueCommentsResponse";var SF=function(a,b){this.jspbExecutor=a;this.currentTrackerId=b};SF.prototype.batchGet=function(a,b){a=(new QF).setIssueId(Number(a));b=tb(a,2,b,cb);(a=this.currentTrackerId.getTrackerId())&&b.setCurrentTrackerId(a);return this.jspbExecutor.post({url:"action/comments/batch",responseConstructor:RF,body:b}).pipe(D(Cta))};SF.\u0275fac=function(a){return new (a||SF)(u(LC),u(XD))};SF.\u0275prov=qc({token:SF,factory:SF.\u0275fac,providedIn:"root"});var TF=function(a,b){RE.call(this);var c=this;this.issueCommentsBatchApi=a;this.batchApiAdapter=b;this.recordType="formattedCommentsForIssue";this.idForRecord=function(d){return d.id.issueId+"-"+d.id.commentId};this.get=this.batchApiAdapter.adapt({bufferTimeMs:0,maxBatchSize:500,call:function(d){return c.call(d)},split:function(d,e){return c.splitBatch(d,e)}})};U(TF,RE);
TF.prototype.fetchSet=function(a){var b=this,c=a[0].split("-")[0];return(0,E.combineLatest)(a.map(function(d){return b.get(d)})).pipe(D(function(d){var e=[];d=k(d);for(var g=d.next();!g.done;g=d.next())if(g=g.value){var h=void 0,l={issueId:c,commentId:null!=(h=g.commentNumber)?h:0};e.push({id:l,formattedComment:g})}return e}))};
TF.prototype.call=function(a){var b="",c=[];a=k(a);for(var d=a.next();!d.done;d=a.next()){var e=k(d.value.split("-"));d=e.next().value;e=e.next().value;""!==b&&b===d?c.push(Number(e)):""===b&&(b=d,c.push(Number(e)))}return this.issueCommentsBatchApi.batchGet(b,c).pipe(D(function(g){var h=b,l=new Map;g=k(g);for(var q=g.next();!q.done;q=g.next()){q=q.value;var x=void 0,A=Number(h)+"-"+(null!=(x=q.commentNumber)?x:0);l.set(A,q)}return l}))};TF.prototype.splitBatch=function(a,b){return b.get(a)};
TF.\u0275fac=function(a){return new (a||TF)(u(SF),u($E))};TF.\u0275prov=qc({token:TF,factory:TF.\u0275fac,providedIn:"root"});var UF=function(a){r.call(this,a,0,UF.messageId)};U(UF,r);UF.repeatedFields_=[1,2];UF.prototype.toObject=function(){if(null!=this){t(this);var a={noAccessEmailsList:p(Ih(this,1)),unknownEmailsList:p(Ih(this,2))}}else a=void 0;return a};UF.messageId="b.CheckPermissionResponse";var VF=function(){},WF=function(a){this.executor=a};f=WF.prototype;f.get=function(a,b){a=Sl(Tl(a,b));return this.executor.get({url:"action/access_policies/"+a,responseConstructor:ZC}).pipe(D(Sqa))};
f.update=function(a,b,c){a=Sl(Tl(a,b));b=new ZC;var d;b.setAdminsList((null!=(d=c.admins)?d:[]).map(ri));var e;b.setAppendersList((null!=(e=c.appenders)?e:[]).map(ri));var g;b.setEditorsList((null!=(g=c.editors)?g:[]).map(ri));var h;b.setReadersList((null!=(h=c.readers)?h:[]).map(ri));var l;b.setRestrictedReadersList((null!=(l=c.restrictedReaders)?l:[]).map(ri));var q;b.setRestrictedPlusReadersList((null!=(q=c.restrictedPlusReaders)?q:[]).map(ri));c.implicitAccess&&b.setImplicitAccess(M8b[c.implicitAccess]);
return this.executor.post({url:"action/access_policies/"+a,body:b,responseConstructor:ZC}).pipe(D(Sqa))};f.checkPermission=function(a,b,c,d){a=Sl(a.join(","));b=Sl(b);c=Sl(Tl(c,d));return this.executor.get({url:"action/check_permission/"+a+"/"+b+"/"+c,responseConstructor:UF}).pipe(D(Pqa))};f.setAccessLimit=function(a,b,c){a=Sl(Tl(a,b));c=Jqa(c);return this.executor.post({url:"action/access_limits/"+a,body:c,responseConstructor:$h}).pipe(D(Hqa))};
f.checkComponentImplicitAccessEnabled=function(a){return this.get("COMPONENT",a).pipe(D(function(b){return"ALLOW"===b.implicitAccess}))};WF.\u0275fac=function(a){return new (a||WF)(u(LC))};WF.\u0275prov=qc({token:WF,factory:WF.\u0275fac,providedIn:"root"});var XF=function(a){this.observableApi=a};U(XF,VF);f=XF.prototype;f.get=function(a,b){return(0,E.firstValueFrom)(this.observableApi.get(a,b))};f.update=function(a,b,c){return(0,E.firstValueFrom)(this.observableApi.update(a,b,c))};
f.checkPermission=function(a,b,c,d){return(0,E.firstValueFrom)(this.observableApi.checkPermission(a,b,c,d))};f.setAccessLimit=function(a,b,c){return(0,E.firstValueFrom)(this.observableApi.setAccessLimit(a,b,c))};f.checkComponentImplicitAccessEnabled=function(a){return(0,E.firstValueFrom)(this.observableApi.checkComponentImplicitAccessEnabled(a))};XF.\u0275fac=function(a){return new (a||XF)(u(WF))};XF.\u0275prov=qc({token:XF,factory:XF.\u0275fac,providedIn:"root"});var YF=function(a){RE.call(this);this.accessPolicyApi=a;this.recordType="hotlistAccessPolicy";this.isEqual=Mh};U(YF,RE);YF.prototype.fetchOne=function(a){return this.accessPolicyApi.get("HOTLIST",a).pipe(D(function(b){return Object.assign({},{id:a},b)}))};YF.prototype.doSave=function(a){var b=a.id;return this.accessPolicyApi.update("HOTLIST",b,a).pipe(D(function(c){return Object.assign({},{id:b},c)}))};YF.\u0275fac=function(a){return new (a||YF)(u(WF))};
YF.\u0275prov=qc({token:YF,factory:YF.\u0275fac,providedIn:"root"});var cdc=function(a){this.allowExecution=a;this.queue=[]};cdc.prototype.addTask=function(a){this.queue.push(a);ddc(this)};var ddc=function(a){if(0!==a.queue.length)if(a.allowExecution()){var b=k(a.queue),c=b.next().value;a.queue=xe(b);c();ddc(a)}else setTimeout(function(){ddc(a)},0)};var xm=Symbol("tc"),ZF=function(a){this.params=a||{}};ZF.prototype.has=function(a){return Object.prototype.hasOwnProperty.call(this.params,a)};ZF.prototype.get=function(a){return this.has(a)?(a=this.params[a],Array.isArray(a)?a[0]:a):null};ZF.prototype.getAll=function(a){return this.has(a)?(a=this.params[a],Array.isArray(a)?a:[a]):[]};hh.Object.defineProperties(ZF.prototype,{keys:{configurable:!0,enumerable:!0,get:function(){return Object.keys(this.params)}}});var ywa={exact:Dwa,subset:Gwa},zwa={exact:Bwa,subset:Ewa,ignored:function(){return!0}},em=function(a,b,c){a=void 0===a?new dm([],{}):a;b=void 0===b?{}:b;this.root=a;this.queryParams=b;this.fragment=void 0===c?null:c};em.prototype.toString=function(){return edc.serialize(this)};hh.Object.defineProperties(em.prototype,{queryParamMap:{configurable:!0,enumerable:!0,get:function(){this._queryParamMap||(this._queryParamMap=new ZF(this.queryParams));return this._queryParamMap}}});
var dm=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})};dm.prototype.hasChildren=function(){return 0<this.numberOfChildren};dm.prototype.toString=function(){return Lwa(this)};hh.Object.defineProperties(dm.prototype,{numberOfChildren:{configurable:!0,enumerable:!0,get:function(){return Object.keys(this.children).length}}});var im=function(a,b){this.path=a;this.parameters=b};
im.prototype.toString=function(){return Jwa(this.path)+Kwa(this.parameters)};var $F=function(){};$F.\u0275fac=function(a){return new (a||$F)};$F.\u0275prov=qc({token:$F,factory:function(){return new fdc},providedIn:"root"});var fdc=function(){};fdc.prototype.parse=function(a){a=new gdc(a);aG(a,"/");var b=""===a.remaining||a.remaining.startsWith("?")||a.remaining.startsWith("#")?new dm([],{}):new dm([],hdc(a));return new em(b,a.parseQueryParams(),aG(a,"#")?decodeURIComponent(a.remaining):null)};
fdc.prototype.serialize=function(a){var b="/"+cm(a.root,!0),c=Owa(a.queryParams);a="string"===typeof a.fragment?"#"+encodeURI(a.fragment):"";return b+c+a};var edc=new fdc,Pwa=/^[^\/()?;#]+/,idc=/^[^\/()?;=#]+/,jdc=/^[^=?&#]+/,kdc=/^[^&#]+/,gdc=function(a){this.remaining=this.url=a};
gdc.prototype.parseQueryParams=function(){var a={};if(aG(this,"?")){do{var b,c=this.remaining.match(jdc);if(b=c?c[0]:""){this.capture(b);c="";if(aG(this,"=")){var d;if(d=(d=this.remaining.match(kdc))?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(aG(this,"&"))}return a};
var hdc=function(a){if(""===a.remaining)return{};aG(a,"/");var b=[];for(a.remaining.startsWith("(")||b.push(ldc(a));a.remaining.startsWith("/")&&!a.remaining.startsWith("//")&&!a.remaining.startsWith("/(");)a.capture("/"),b.push(ldc(a));var c={};a.remaining.startsWith("/(")&&(a.capture("/"),c=mdc(a,!0));var d={};a.remaining.startsWith("(")&&(d=mdc(a,!1));if(0<b.length||0<Object.keys(c).length)d.primary=new dm(b,c);return d},ldc=function(a){var b=Qwa(a.remaining);if(""===b&&a.remaining.startsWith(";"))throw new uc(4009,
!1);a.capture(b);b=decodeURIComponent(b);for(var c={};aG(a,";");){var d,e=a;if(d=(d=e.remaining.match(idc))?d[0]:""){e.capture(d);var g="";if(aG(e,"=")){var h=Qwa(e.remaining);h&&(g=h,e.capture(g))}c[decodeURIComponent(d)]=decodeURIComponent(g)}}return new im(b,c)},mdc=function(a,b){var c={};for(a.capture("(");!aG(a,")")&&0<a.remaining.length;){var d=Qwa(a.remaining),e=a.remaining[d.length];if("/"!==e&&")"!==e&&";"!==e)throw new uc(4010,!1);e=void 0;-1<d.indexOf(":")?(e=d.slice(0,d.indexOf(":")),
a.capture(e),a.capture(":")):b&&(e="primary");d=hdc(a);c[e]=1===Object.keys(d).length?d.primary:new dm([],d);aG(a,"//")}return c},aG=function(a,b){return a.remaining.startsWith(b)?(a.remaining=a.remaining.substring(b.length),!0):!1};gdc.prototype.capture=function(a){if(!aG(this,a))throw new uc(4011,!1);};var axa=function(a,b,c){this.isAbsolute=a;this.numberOfDoubleDots=b;this.commands=c;if(a&&0<c.length&&Xwa(c[0]))throw new uc(4003,!1);if((a=c.find(hm))&&a!==(0<c.length?c[c.length-1]:null))throw new uc(4004,!1);},Wwa=function(a,b,c){this.segmentGroup=a;this.processChildren=b;this.index=c};var bG=function(a,b){this.id=a;this.url=b},Sm=function(a,b,c,d){c=void 0===c?"imperative":c;d=void 0===d?null:d;bG.call(this,a,b);this.type=0;this.navigationTrigger=c;this.restoredState=d};U(Sm,bG);Sm.prototype.toString=function(){return"NavigationStart(id: "+this.id+", url: '"+this.url+"')"};var ym=function(a,b,c){bG.call(this,a,b);this.urlAfterRedirects=c;this.type=1};U(ym,bG);
ym.prototype.toString=function(){return"NavigationEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"')"};var zm=function(a,b,c,d){bG.call(this,a,b);this.reason=c;this.code=d;this.type=2};U(zm,bG);zm.prototype.toString=function(){return"NavigationCancel(id: "+this.id+", url: '"+this.url+"')"};var Bm=function(a,b,c,d){bG.call(this,a,b);this.reason=c;this.code=d;this.type=16};U(Bm,bG);
var Am=function(a,b,c,d){bG.call(this,a,b);this.error=c;this.target=d;this.type=3};U(Am,bG);Am.prototype.toString=function(){return"NavigationError(id: "+this.id+", url: '"+this.url+"', error: "+this.error+")"};var ndc=function(a,b,c,d){bG.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.type=4};U(ndc,bG);ndc.prototype.toString=function(){return"RoutesRecognized(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"};
var odc=function(a,b,c,d){bG.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.type=7};U(odc,bG);odc.prototype.toString=function(){return"GuardsCheckStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"};var pdc=function(a,b,c,d,e){bG.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.shouldActivate=e;this.type=8};U(pdc,bG);
pdc.prototype.toString=function(){return"GuardsCheckEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+", shouldActivate: "+this.shouldActivate+")"};var qdc=function(a,b,c,d){bG.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.type=5};U(qdc,bG);qdc.prototype.toString=function(){return"ResolveStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"};
var rdc=function(a,b,c,d){bG.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.type=6};U(rdc,bG);rdc.prototype.toString=function(){return"ResolveEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"};var sdc=function(a){this.route=a;this.type=9};sdc.prototype.toString=function(){return"RouteConfigLoadStart(path: "+this.route.path+")"};var tdc=function(a){this.route=a;this.type=10};
tdc.prototype.toString=function(){return"RouteConfigLoadEnd(path: "+this.route.path+")"};var Ixa=function(a){this.snapshot=a;this.type=11};Ixa.prototype.toString=function(){return"ChildActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"};var udc=function(a){this.snapshot=a;this.type=12};udc.prototype.toString=function(){return"ChildActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"};
var Jxa=function(a){this.snapshot=a;this.type=13};Jxa.prototype.toString=function(){return"ActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"};var vdc=function(a){this.snapshot=a;this.type=14};vdc.prototype.toString=function(){return"ActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"};var wdc=function(a,b){this.position=a;this.anchor=b;this.type=15};
wdc.prototype.toString=function(){return"Scroll(anchor: '"+this.anchor+"', position: '"+(this.position?this.position[0]+", "+this.position[1]:null)+"')"};var xdc=function(){this.injector=this.route=this.outlet=null;this.children=new cG;this.attachRef=null},cG=function(){this.contexts=new Map},ydc=function(a,b){if(a=a.getContext(b))a.outlet=null,a.attachRef=null},zdc=function(a,b){var c=a.getContext(b);c||(c=new xdc,a.contexts.set(b,c));return c};cG.prototype.getContext=function(a){return this.contexts.get(a)||null};cG.\u0275fac=function(a){return new (a||cG)};cG.\u0275prov=qc({token:cG,factory:cG.\u0275fac,providedIn:"root"});var dG=function(a){this._root=a};dG.prototype.parent=function(a){a=this.pathFromRoot(a);return 1<a.length?a[a.length-2]:null};dG.prototype.children=function(a){return(a=fxa(a,this._root))?a.children.map(function(b){return b.value}):[]};dG.prototype.firstChild=function(a){return(a=fxa(a,this._root))&&0<a.children.length?a.children[0].value:null};dG.prototype.pathFromRoot=function(a){return gxa(a,this._root).map(function(b){return b.value})};
hh.Object.defineProperties(dG.prototype,{root:{configurable:!0,enumerable:!0,get:function(){return this._root.value}}});var km=function(a,b){this.value=a;this.children=b};km.prototype.toString=function(){return"TreeNode("+this.value+")"};var ixa=function(a,b){this._root=a;this.snapshot=b;mxa(this,a)};U(ixa,dG);ixa.prototype.toString=function(){return this.snapshot.toString()};
var mm=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,x;this.title=null!=(x=null==(q=this.dataSubject)?void 0:q.pipe(D(function(A){return A[xm]})))?x:(0,E.of)(void 0);this.url=a;this.params=b;this.queryParams=c;this.fragment=d;this.data=e};mm.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"};
hh.Object.defineProperties(mm.prototype,{routeConfig:{configurable:!0,enumerable:!0,get:function(){return this._futureSnapshot.routeConfig}},root:{configurable:!0,enumerable:!0,get:function(){return this._routerState.root}},parent:{configurable:!0,enumerable:!0,get:function(){return this._routerState.parent(this)}},firstChild:{configurable:!0,enumerable:!0,get:function(){return this._routerState.firstChild(this)}},children:{configurable:!0,enumerable:!0,get:function(){return this._routerState.children(this)}},
pathFromRoot:{configurable:!0,enumerable:!0,get:function(){return this._routerState.pathFromRoot(this)}},paramMap:{configurable:!0,enumerable:!0,get:function(){this._paramMap||(this._paramMap=this.params.pipe(D(function(a){return new ZF(a)})));return this._paramMap}},queryParamMap:{configurable:!0,enumerable:!0,get:function(){this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(D(function(a){return new ZF(a)})));return this._queryParamMap}}});
var lm=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};lm.prototype.toString=function(){return"Route(url:'"+this.url.map(function(a){return a.toString()}).join("/")+"', path:'"+(this.routeConfig?this.routeConfig.path:"")+"')"};
hh.Object.defineProperties(lm.prototype,{title:{configurable:!0,enumerable:!0,get:function(){var a;return null==(a=this.data)?void 0:a[xm]}},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 ZF(this.params));return this._paramMap}},queryParamMap:{configurable:!0,enumerable:!0,get:function(){this._queryParamMap||(this._queryParamMap=new ZF(this.queryParams));return this._queryParamMap}}});var hxa=function(a,b){this._root=b;this.url=a;mxa(this,b)};U(hxa,dG);hxa.prototype.toString=function(){return nxa(this._root)};var eG=function(){this._activatedRoute=this.activated=null;this.name="primary";this.activateEvents=new Gv;this.deactivateEvents=new Gv;this.attachEvents=new Gv;this.detachEvents=new Gv;this.parentContexts=Ac(cG);this.location=Ac(Rf);this.changeDetector=Ac(Yv);this.environmentInjector=Ac(Zu);this.inputBinder=Ac(Adc,{optional:!0})};eG.prototype.ngOnChanges=function(a){if(a.name){a=a.name;var b=a.previousValue;a.firstChange||(Bdc(this,b)&&(this.deactivate(),ydc(this.parentContexts,b)),Cdc(this))}};
eG.prototype.ngOnDestroy=function(){Bdc(this,this.name)&&ydc(this.parentContexts,this.name);var a;null==(a=this.inputBinder)||Ddc(a,this)};var Bdc=function(a,b){var c;return(null==(c=a.parentContexts.getContext(b))?void 0:c.outlet)===a};eG.prototype.ngOnInit=function(){Cdc(this)};
var Cdc=function(a){var b=a.parentContexts,c=a.name,d=zdc(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):Edc(a,b.route,b.injector))};eG.prototype.detach=function(){if(!this.activated)throw new uc(4012,!1);this.location.detach();var a=this.activated;this._activatedRoute=this.activated=null;this.detachEvents.emit(a.instance);return a};
eG.prototype.attach=function(a,b){this.activated=a;this._activatedRoute=b;this.location.insert(a.hostView);null!=(b=this.inputBinder)&&(Ddc(b,this),Fdc(b,this));this.attachEvents.emit(a.instance)};eG.prototype.deactivate=function(){if(this.activated){var a=this.component;this.activated.destroy();this._activatedRoute=this.activated=null;this.deactivateEvents.emit(a)}};
var Edc=function(a,b,c){if(a.isActivated)throw new uc(4013,!1);a._activatedRoute=b;var d=a.location,e=b.snapshot.component,g=zdc(a.parentContexts,a.name).children;a.activated=d.createComponent(e,{index:d.length,injector:new Gdc(b,g,d.injector),environmentInjector:null!=c?c:a.environmentInjector});a.changeDetector.markForCheck();null!=(b=a.inputBinder)&&(Ddc(b,a),Fdc(b,a));a.activateEvents.emit(a.activated.instance)};
hh.Object.defineProperties(eG.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 uc(4012,!1);return this.activated.instance}},activatedRoute:{configurable:!0,enumerable:!0,get:function(){if(!this.activated)throw new uc(4012,!1);return this._activatedRoute}}});
eG.\u0275fac=function(a){return new (a||eG)};eG.\u0275dir=Kc({type:eG,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Zc]});var Gdc=function(a,b,c){this.route=a;this.childContexts=b;this.parent=c};Gdc.prototype.get=function(a,b){return a===mm?this.route:a===cG?this.childContexts:this.parent.get(a,b)};
var Adc=new Rc(""),fG=function(){this.outletDataSubscriptions=new Map},Ddc=function(a,b){var c;null==(c=a.outletDataSubscriptions.get(b))||c.unsubscribe();a.outletDataSubscriptions.delete(b)},Fdc=function(a,b){var c=b.activatedRoute,d=(0,E.combineLatest)([c.queryParams,c.params,c.data]).pipe(Se(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,E.of)(h):Promise.resolve(h)})).subscribe(function(e){if(b.isActivated&&b.activatedComponentRef&&
b.activatedRoute===c&&null!==c.component){var g=lla(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 Ddc(a,b)}else Ddc(a,b)});a.outletDataSubscriptions.set(b,d)};fG.\u0275fac=function(a){return new (a||fG)};fG.\u0275prov=qc({token:fG,factory:fG.\u0275fac});var nm=function(){};nm.\u0275fac=function(a){return new (a||nm)};nm.\u0275cmp=Gc({type:nm,selectors:[["ng-component"]],standalone:!0,features:[Nka],decls:1,vars:0,template:function(a){a&1&&I(0,"router-outlet")},dependencies:[eG],encapsulation:2});var Idc=function(a,b,c,d){return D(function(e){(new Hdc(b,e.targetRouterState,e.currentRouterState,c,d)).activate(a);return e})},Hdc=function(a,b,c,d,e){this.routeReuseStrategy=a;this.futureState=b;this.currState=c;this.forwardEvent=d;this.inputBindingEnabled=e};Hdc.prototype.activate=function(a){var b=this.futureState._root,c=this.currState?this.currState._root:null;Jdc(this,b,c,a);oxa(this.futureState.root);Kdc(this,b,c,a)};
var Jdc=function(a,b,c,d){var e=jm(c);b.children.forEach(function(g){var h=g.value.outlet,l=e[h],q=g.value,x=l?l.value:null;q===x?q.component?(q=d.getContext(q.outlet))&&Jdc(a,g,l,q.children):Jdc(a,g,l,d):x&&Ldc(a,l,d);delete e[h]});Object.values(e).forEach(function(g){Ldc(a,g,d)})},Ldc=function(a,b,c){var d=c.getContext(b.value.outlet);c=d&&b.value.component?d.children:c;b=jm(b);for(var e=k(Object.keys(b)),g=e.next();!g.done;g=e.next())Ldc(a,b[g.value],c);d&&(d.outlet&&(d.outlet.deactivate(),d.children.contexts=
new Map),d.attachRef=null,d.route=null)},Kdc=function(a,b,c,d){var e=jm(c);b.children.forEach(function(g){var h=e[g.value.outlet],l=g.value,q=h?h.value:null;oxa(l);l===q?l.component?(l=zdc(d,l.outlet),Kdc(a,g,h,l.children)):Kdc(a,g,h,d):l.component?(h=zdc(d,l.outlet),q=pm(l.snapshot),h.attachRef=null,h.route=l,h.injector=q,h.outlet&&Edc(h.outlet,l,h.injector),Kdc(a,g,null,h.children)):Kdc(a,g,null,d);a.forwardEvent(new vdc(g.value.snapshot))});b.children.length&&a.forwardEvent(new udc(b.value.snapshot))};var zxa=Symbol("vc");var Bxa=function(a){this.path=a;this.route=this.path[this.path.length-1]},Cxa=function(a,b){this.component=a;this.route=b};var Pxa=function(a){this.segmentGroup=a||null},Mdc=function(a){this.urlTree=a},Ndc=function(a,b){this.urlSerializer=a;this.urlTree=b},Odc=function(a){var b=[];for(a=a.root;;){b=b.concat(a.segments);if(0===a.numberOfChildren)return(0,E.of)(b);if(1<a.numberOfChildren||!a.children.primary)return(0,E.throwError)(new uc(4E3,!1));a=a.children.primary}},Rdc=function(a,b,c,d){var e=a.urlSerializer.parse(c);b=Pdc(a,c,e.root,b,d);return new em(b,Qdc(e.queryParams,a.urlTree.queryParams),e.fragment)},Qdc=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},Pdc=function(a,b,c,d,e){var g=Sdc(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]=Pdc(a,b,q,d,e)});return new dm(g,h)},Sdc=function(a,b,c){return a.map(function(d){if(d.path.startsWith(":")){if(d=c[d.path.substring(1)],!d)throw new uc(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 Rxa={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};var $xa=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 Ndc(this.urlSerializer,this.urlTree)};
$xa.prototype.recognize=function(){var a=this,b=Wxa(this.urlTree.root,[],[],this.config).segmentGroup;return Tdc(this,this.injector,this.config,b,"primary").pipe(Ce(function(c){if(c instanceof Mdc)return a.allowRedirects=!1,a.urlTree=c.urlTree,a.match(c.urlTree);if(c instanceof Pxa)throw new uc(4002,!1);throw c;}),D(function(c){var d=new lm([],Object.freeze({}),Object.freeze(Object.assign({},a.urlTree.queryParams)),a.urlTree.fragment,{},"primary",a.rootComponentType,null,{});c=new hxa("",new km(d,
c));var e=a.urlTree.queryParams,g=a.urlTree.fragment;e=void 0===e?null:e;g=void 0===g?null:g;d=Twa(d);d=Zwa(d,[],e,g);d.queryParams=a.urlTree.queryParams;c.url=a.urlSerializer.serialize(d);Udc(a,c._root);return{state:c,tree:d}}))};$xa.prototype.match=function(a){return Tdc(this,this.injector,this.config,a.root,"primary").pipe(Ce(function(b){if(b instanceof Pxa)throw new uc(4002,!1);throw b;}))};
var Udc=function(a,b){var c=b.value,d=lxa(c,a.paramsInheritanceStrategy);c.params=Object.freeze(d.params);c.data=Object.freeze(d.data);b.children.forEach(function(e){return Udc(a,e)})},Tdc=function(a,b,c,d,e){return 0===d.segments.length&&d.hasChildren()?a.processChildren(b,c,d):Vdc(a,b,c,d,d.segments,e,!0)};
$xa.prototype.processChildren=function(a,b,c){for(var d=this,e=[],g=k(Object.keys(c.children)),h=g.next();!h.done;h=g.next())h=h.value,"primary"===h?e.unshift(h):e.push(h);return(0,E.from)(e).pipe(se(function(l){var q=c.children[l],x=yxa(b,l);return Tdc(d,a,x,q,l)},1),Le(function(l,q){l.push.apply(l,Vc(q));return l}),Uia(null),fja(),se(function(l){if(null===l)return wm(c);l=Zxa(l);Xxa(l);return(0,E.of)(l)}))};
var Vdc=function(a,b,c,d,e,g,h){return(0,E.from)(c).pipe(se(function(l){var q;return Wdc(a,null!=(q=l._injector)?q:b,c,l,d,e,g,h).pipe(Ce(function(x){if(x instanceof Pxa)return(0,E.of)(null);throw x;}))},1),Je(function(l){return!!l}),Ce(function(l){if(Dxa(l))return 0!==e.length||d.children[g]?wm(d):(0,E.of)([]);throw l;}))},Wdc=function(a,b,c,d,e,g,h,l){if((om(d)===h||"primary"!==h&&Vxa(e,g,d))&&("**"===d.path||Qxa(e,d,g).matched))if(void 0===d.redirectTo)a=Xdc(a,b,e,d,g,h);else{var q;l&&a.allowRedirects?
q="**"===d.path?Ydc(a,b,c,d,h):Zdc(a,b,e,c,d,g,h):q=wm(e);a=q}else a=wm(e);return a},Ydc=function(a,b,c,d,e){var g=Rdc(a.applyRedirects,[],d.redirectTo,{});return d.redirectTo.startsWith("/")?(0,E.throwError)(new Mdc(g)):Odc(g).pipe(se(function(h){var l=new dm(h,{});return Vdc(a,b,c,l,h,e,!1)}))},Zdc=function(a,b,c,d,e,g,h){g=Qxa(c,e,g);var l=g.consumedSegments,q=g.remainingSegments,x=g.positionalParamSegments;if(!g.matched)return wm(c);g=Rdc(a.applyRedirects,l,e.redirectTo,x);return e.redirectTo.startsWith("/")?
(0,E.throwError)(new Mdc(g)):Odc(g).pipe(se(function(A){return Vdc(a,b,d,c,A.concat(q),h,!1)}))},Xdc=function(a,b,c,d,e,g){var h;if("**"===d.path){var l,q=new lm(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||{},om(d),null!=(l=null!=(h=d.component)?h:d._loadedComponent)?l:null,d,d.resolve||{});h=(0,E.of)({snapshot:q,consumedSegments:[],remainingSegments:[]});c.children={}}else h=Sxa(c,d,e,b).pipe(D(function(x){var A=
x.consumedSegments,B=x.remainingSegments;if(!x.matched)return null;var K,N;return{snapshot:new lm(A,x.parameters,Object.freeze(Object.assign({},a.urlTree.queryParams)),a.urlTree.fragment,d.data||{},om(d),null!=(N=null!=(K=d.component)?K:d._loadedComponent)?N:null,d,d.resolve||{}),consumedSegments:A,remainingSegments:B}}));return h.pipe(Se(function(x){if(null===x)return wm(c);var A;b=null!=(A=d._injector)?A:b;return $dc(a,b,d,e).pipe(Se(function(B){B=B.routes;var K,N=null!=(K=d._loadedInjector)?K:
b,P=x.snapshot,Y=Wxa(c,x.consumedSegments,x.remainingSegments,B);K=Y.segmentGroup;Y=Y.slicedSegments;return 0===Y.length&&K.hasChildren()?a.processChildren(N,B,K).pipe(D(function(X){return null===X?null:[new km(P,X)]})):0===B.length&&0===Y.length?(0,E.of)([new km(P,[])]):Vdc(a,N,B,K,Y,om(d)===g?"primary":g,!0).pipe(D(function(X){return[new km(P,X)]}))}))}))},$dc=function(a,b,c,d){return c.children?(0,E.of)({routes:c.children,injector:b}):c.loadChildren?void 0!==c._loadedRoutes?(0,E.of)({routes:c._loadedRoutes,
injector:c._loadedInjector}):Nxa(b,c,d).pipe(se(function(e){return e?a.configLoader.loadChildren(b,c).pipe(Ue(function(g){c._loadedRoutes=g.routes;c._loadedInjector=g.injector})):(0,E.throwError)(txa(3))})):(0,E.of)({routes:[],injector:b})};var aec=new Rc("ROUTES"),gG=function(){this.componentLoaders=new WeakMap;this.childrenLoaders=new WeakMap;Ac(Fv)};
gG.prototype.loadComponent=function(a){var b=this;if(this.componentLoaders.get(a))return this.componentLoaders.get(a);if(a._loadedComponent)return(0,E.of)(a._loadedComponent);if(this.onLoadStartListener)this.onLoadStartListener(a);var c=am(a.loadComponent()).pipe(D(hya),Ue(function(d){if(b.onLoadEndListener)b.onLoadEndListener(a);a._loadedComponent=d}),Ie(function(){b.componentLoaders.delete(a)}));c=(new E.ConnectableObservable(c,function(){return new E.Subject})).pipe(ee());this.componentLoaders.set(a,
c);return c};
gG.prototype.loadChildren=function(a,b){var c=this;if(this.childrenLoaders.get(b))return this.childrenLoaders.get(b);if(b._loadedRoutes)return(0,E.of)({routes:b._loadedRoutes,injector:b._loadedInjector});if(this.onLoadStartListener)this.onLoadStartListener(b);var d=bec(b.loadChildren).pipe(D(function(e){if(c.onLoadEndListener)c.onLoadEndListener(b);if(!Array.isArray(e)){var g=e.create(a).injector;e=g.get(aec,[],10).flat()}return{routes:e.map(xxa),injector:g}}),Ie(function(){c.childrenLoaders.delete(b)}));d=
(new E.ConnectableObservable(d,function(){return new E.Subject})).pipe(ee());this.childrenLoaders.set(b,d);return d};var bec=function(a){return am(a()).pipe(D(hya),se(function(b){return b instanceof URb||Array.isArray(b)?(0,E.of)(b):(0,E.from)(Promise.resolve(new tSb(b)))}))};gG.\u0275fac=function(a){return new (a||gG)};gG.\u0275prov=qc({token:gG,factory:gG.\u0275fac,providedIn:"root"});var hG=function(){var a=this;this.lastSuccessfulNavigation=this.currentNavigation=null;this.events=new E.Subject;this.configLoader=Ac(gG);this.environmentInjector=Ac(Zu);this.urlSerializer=Ac($F);this.rootContexts=Ac(cG);this.inputBindingEnabled=null!==Ac(Adc,{optional:!0});this.navigationId=0;this.afterPreactivation=function(){return(0,E.of)(void 0)};this.rootComponentType=null;this.configLoader.onLoadEndListener=function(b){return a.events.next(new tdc(b))};this.configLoader.onLoadStartListener=
function(b){return a.events.next(new sdc(b))}};hG.prototype.complete=function(){var a;null==(a=this.transitions)||a.complete()};
var cec=function(a,b){var c=++a.navigationId,d;null==(d=a.transitions)||d.next(Object.assign({},a.transitions.value,b,{id:c}))},hec=function(a,b){a.transitions=new E.BehaviorSubject({id:0,currentUrlTree:b.currentUrlTree,currentRawUrl:b.currentUrlTree,extractedUrl:b.urlHandlingStrategy.extract(b.currentUrlTree),urlAfterRedirects:b.urlHandlingStrategy.extract(b.currentUrlTree),rawUrl:b.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,
currentSnapshot:b.routerState.snapshot,targetSnapshot:null,currentRouterState:b.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null});return a.transitions.pipe(ye(function(c){return 0!==c.id}),D(function(c){return Object.assign({},c,{extractedUrl:b.urlHandlingStrategy.extract(c.rawUrl)})}),Se(function(c){var d=!1,e=!1;return(0,E.of)(c).pipe(Ue(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}}),Se(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 Bm(g.id,b.urlSerializer.serialize(c.rawUrl),"",0)),b.rawUrlTree=g.rawUrl,g.resolve(null),E.EMPTY;"imperative"!==g.source&&
(b.browserUrlTree=g.extractedUrl);return(0,E.of)(g).pipe(Se(function(x){var A,B=null==(A=a.transitions)?void 0:A.getValue();a.events.next(new Sm(x.id,a.urlSerializer.serialize(x.extractedUrl),x.source,x.restoredState));var K;return B!==(null==(K=a.transitions)?void 0:K.getValue())?E.EMPTY:Promise.resolve(x)}),aya(a.environmentInjector,a.configLoader,a.rootComponentType,b.config,a.urlSerializer,b.paramsInheritanceStrategy),Ue(function(x){c.targetSnapshot=x.targetSnapshot;c.urlAfterRedirects=x.urlAfterRedirects;
a.currentNavigation=Object.assign({},a.currentNavigation,{finalUrl:x.urlAfterRedirects});if("eager"===b.urlUpdateStrategy){if(!x.extras.skipLocationChange){var A=b.urlHandlingStrategy.merge(x.urlAfterRedirects,x.rawUrl);dec(b,A,x)}b.browserUrlTree=x.urlAfterRedirects}x=new ndc(x.id,a.urlSerializer.serialize(x.extractedUrl),a.urlSerializer.serialize(x.urlAfterRedirects),x.targetSnapshot);a.events.next(x)}))}),Ue(function(g){g=new odc(g.id,a.urlSerializer.serialize(g.extractedUrl),a.urlSerializer.serialize(g.urlAfterRedirects),
g.targetSnapshot);a.events.next(g)}),D(function(g){var h=Object,l=h.assign;var q=g.currentSnapshot;var x=g.targetSnapshot._root;q=sm(x,q?q._root:null,a.rootContexts,[x.value]);return c=l.call(h,{},g,{guards:q})}),Gxa(a.environmentInjector,function(g){return a.events.next(g)}),Ue(function(g){c.guardsResult=g.guardsResult;if(fm(g.guardsResult))throw uxa(g.guardsResult);g=new pdc(g.id,a.urlSerializer.serialize(g.extractedUrl),a.urlSerializer.serialize(g.urlAfterRedirects),g.targetSnapshot,!!g.guardsResult);
a.events.next(g)}),ye(function(g){return g.guardsResult?!0:(eec(b,g),fec(a,g,3),!1)}),gya(function(g){if(g.guards.canActivateChecks.length)return(0,E.of)(g).pipe(Ue(function(h){h=new qdc(h.id,a.urlSerializer.serialize(h.extractedUrl),a.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);a.events.next(h)}),Se(function(h){var l=!1;return(0,E.of)(h).pipe(cya(b.paramsInheritanceStrategy,a.environmentInjector),Ue({next:function(){return l=!0},complete:function(){l||(eec(b,h),fec(a,h,2))}}))}),
Ue(function(h){h=new rdc(h.id,a.urlSerializer.serialize(h.extractedUrl),a.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);a.events.next(h)}))}),gya(function(g){var h=function(l){var q=[],x;(null==(x=l.routeConfig)?0:x.loadComponent)&&!l.routeConfig._loadedComponent&&q.push(a.configLoader.loadComponent(l.routeConfig).pipe(Ue(function(B){l.component=B}),D(function(){})));x=k(l.children);for(var A=x.next();!A.done;A=x.next())q.push.apply(q,Vc(h(A.value)));return q};return(0,E.combineLatest)(h(g.targetSnapshot.root)).pipe(Uia(),
Ge())}),gya(function(){return a.afterPreactivation()}),D(function(g){var h=g.targetSnapshot;var l=g.currentRouterState;l=sxa(b.routeReuseStrategy,h._root,l?l._root:void 0);h=new ixa(l,h);return c=Object.assign({},g,{targetRouterState:h})}),Ue(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||dec(b,b.rawUrlTree,g),b.browserUrlTree=g.urlAfterRedirects)}),
Idc(a.rootContexts,b.routeReuseStrategy,function(g){return a.events.next(g)},a.inputBindingEnabled),Ge(),Ue({next:function(g){d=!0;a.lastSuccessfulNavigation=a.currentNavigation;b.navigated=!0;a.events.next(new ym(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}}),Ie(function(){d||e||fec(a,c,1);var g;(null==(g=a.currentNavigation)?void 0:
g.id)===c.id&&(a.currentNavigation=null)}),Ce(function(g){e=!0;if(vxa(g)){vxa(g)&&fm(g.url)||(b.navigated=!0,eec(b,c,!0));var h=new zm(c.id,a.urlSerializer.serialize(c.extractedUrl),g.message,g.cancellationCode);a.events.next(h);vxa(g)&&fm(g.url)?(g=b.urlHandlingStrategy.merge(g.url,b.rawUrlTree),gec(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{eec(b,
c,!0);var l=new Am(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 E.EMPTY}))}))},fec=function(a,b,c){c=new zm(b.id,a.urlSerializer.serialize(b.extractedUrl),"",c);a.events.next(c);b.resolve(!1)};hh.Object.defineProperties(hG.prototype,{hasRequestedNavigation:{configurable:!0,enumerable:!0,get:function(){return 0!==this.navigationId}}});hG.\u0275fac=function(a){return new (a||hG)};
hG.\u0275prov=qc({token:hG,factory:hG.\u0275fac,providedIn:"root"});var iG=function(){},iec=function(a){for(a=a.root;void 0!==a;){var b=void 0;var c=null!=(b=a.data[xm])?b:c;a=a.children.find(function(d){return"primary"===d.outlet})}return c};iG.\u0275fac=function(a){return new (a||iG)};iG.\u0275prov=qc({token:iG,factory:function(){return Ac(jG)},providedIn:"root"});var jG=function(a){this.title=a};U(jG,iG);jG.prototype.updateTitle=function(a){a=iec(a);void 0!==a&&this.title.setTitle(a)};jG.\u0275fac=function(a){return new (a||jG)(u(Dx))};
jG.\u0275prov=qc({token:jG,factory:jG.\u0275fac,providedIn:"root"});var kG=function(){};kG.\u0275fac=function(a){return new (a||kG)};kG.\u0275prov=qc({token:kG,factory:function(){return Ac(lG)},providedIn:"root"});var jec=function(){};jec.prototype.store=function(){};jec.prototype.shouldReuseRoute=function(a,b){return a.routeConfig===b.routeConfig};var lG=function(){};U(lG,jec);lG.\u0275fac=function(){var a;return function(b){return(a||(a=td(lG)))(b||lG)}}();lG.\u0275prov=qc({token:lG,factory:lG.\u0275fac,providedIn:"root"});var kec=new Rc("",{providedIn:"root",factory:function(){return{}}});var lec=function(){};lec.\u0275fac=function(a){return new (a||lec)};lec.\u0275prov=qc({token:lec,factory:function(){return Ac(mG)},providedIn:"root"});var mG=function(){};mG.prototype.extract=function(a){return a};mG.prototype.merge=function(a){return a};mG.\u0275fac=function(a){return new (a||mG)};mG.\u0275prov=qc({token:mG,factory:mG.\u0275fac,providedIn:"root"});var mec={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},nec={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},nG=function(){var a=this;this.disposed=!1;this.currentPageId=0;this.console=Ac(kv);this.options=Ac(kec,{optional:!0})||{};this.pendingTasks=Ac(Ev);this.errorHandler=this.options.errorHandler||jya;this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||kya;this.navigated=!1;this.lastSuccessfulId=-1;this.urlHandlingStrategy=
Ac(lec);this.routeReuseStrategy=Ac(kG);this.titleStrategy=Ac(iG);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=Ac(aec,{optional:!0}))?void 0:b.flat())?c:[];this.navigationTransitions=Ac(hG);this.urlSerializer=
Ac($F);this.location=Ac(Aw);Ac(Adc,{optional:!0});Ac(We)instanceof We&&Eja();this.config=this.config.map(xxa);this.navigated=!1;this.lastSuccessfulId=-1;this.browserUrlTree=this.rawUrlTree=this.currentUrlTree=new em;this.routerState=jxa();hec(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)})};
nG.prototype.initialNavigation=function(){oec(this);if(!this.navigationTransitions.hasRequestedNavigation){var a=this.location.getState();pec(this,this.location.path(!0),"imperative",a)}};
var oec=function(a){a.locationSubscription||(a.locationSubscription=a.location.subscribe(function(b){var c="popstate"===b.type?"popstate":"hashchange";"popstate"===c&&setTimeout(function(){pec(a,b.url,c,b.state)},0)}))},pec=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=qec(a,b);gec(a,b,c,g,e)};nG.prototype.ngOnDestroy=function(){this.dispose()};
nG.prototype.dispose=function(){this.navigationTransitions.complete();this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0);this.disposed=!0};
var oG=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=rec(d));try{var h=Twa(c?c.snapshot:a.routerState.snapshot.root)}catch(l){"string"===typeof b[0]&&b[0].startsWith("/")||(b=[]),h=a.currentUrlTree.root}return Zwa(h,b,d,null!=
g?g:null)},Rr=function(a,b,c){c=void 0===c?{skipLocationChange:!1}:c;b=fm(b)?b:qec(a,b);b=a.urlHandlingStrategy.merge(b,a.rawUrlTree);return gec(a,b,"imperative",null,c)};nG.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 uc(4008,!1);return Rr(this,oG(this,a,b),b)};var qec=function(a,b){try{var c=a.urlSerializer.parse(b)}catch(d){c=a.malformedUriErrorHandler(d,a.urlSerializer,b)}return c};
nG.prototype.isActive=function(a,b){var c;!0===b?c=Object.assign({},mec):!1===b?c=Object.assign({},nec):c=b;if(fm(a))return Awa(this.currentUrlTree,a,c);a=qec(this,a);return Awa(this.currentUrlTree,a,c)};
var rec=function(a){return Object.keys(a).reduce(function(b,c){var d=a[c];null!==d&&void 0!==d&&(b[c]=d);return b},{})},gec=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(x,A){h=x;l=A});var q=a.pendingTasks.add();iya(a,function(){Promise.resolve().then(function(){return a.pendingTasks.remove(q)})});cec(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(x){return Promise.reject(x)})},dec=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+lg(e))||c.extras.replaceUrl){var g=Object.assign({},c.extras.state,sec(a,c.id,a.browserPageId));a.location.replaceState(b,"",g)}else c=Object.assign({},c.extras.state,sec(a,c.id,(null!=(g=a.browserPageId)?g:0)+
1)),a.location.go(b,"",c)},eec=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,tec(a))}}else"replace"===a.canceledNavigationResolution&&(c&&a.resetState(b),tec(a))};
nG.prototype.resetState=function(a){this.routerState=a.currentRouterState;this.currentUrlTree=a.currentUrlTree;this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,a.rawUrl)};var tec=function(a){a.location.replaceState(a.urlSerializer.serialize(a.rawUrlTree),"",sec(a,a.lastSuccessfulId,a.currentPageId))},sec=function(a,b,c){return"computed"===a.canceledNavigationResolution?{navigationId:b,"\u0275routerPageId":c}:{navigationId:b}};
hh.Object.defineProperties(nG.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}}});nG.\u0275fac=function(a){return new (a||nG)};nG.\u0275prov=qc({token:nG,factory:nG.\u0275fac,providedIn:"root"});var pG=function(a,b,c,d,e,g){var h=this;this.router=a;this.route=b;this.tabIndexAttribute=c;this.renderer=d;this.el=e;this.locationStrategy=g;this.commands=this.href=null;this.onChanges=new E.Subject;this.replaceUrl=this.skipLocationChange=this.preserveFragment=!1;var 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 ym&&uec(h)}):vec(this,"0")},vec=function(a,b){null!=a.tabIndexAttribute||
a.isAnchorElement||wec(a,"tabindex",b)};pG.prototype.ngOnChanges=function(){this.isAnchorElement&&uec(this);this.onChanges.next(this)};pG.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;Rr(this.router,this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state});return!this.isAnchorElement};
pG.prototype.ngOnDestroy=function(){var a;null==(a=this.subscription)||a.unsubscribe()};var uec=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?Hga:Md)(a.href));wec(a,"href",b)},wec=function(a,b,c){var d=a.renderer;a=a.el.nativeElement;null!==c?d.setAttribute(a,b,c):d.removeAttribute(a,b)};
hh.Object.defineProperties(pG.prototype,{routerLink:{configurable:!0,enumerable:!0,set:function(a){null!=a?(this.commands=Array.isArray(a)?a:[a],vec(this,"0")):(this.commands=null,vec(this,null))}},urlTree:{configurable:!0,enumerable:!0,get:function(){return null===this.commands?null:oG(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})}}});
pG.\u0275fac=function(a){return new (a||pG)(C(nG),C(mm),od("tabindex"),C(fv),C(vd),C(xw))};
pG.\u0275dir=Kc({type:pG,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(a,b){a&1&&M("click",function(c){return b.onClick(c.button,c.ctrlKey,c.shiftKey,c.altKey,c.metaKey)});a&2&&gf("target",b.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",ag],skipLocationChange:["skipLocationChange","skipLocationChange",ag],replaceUrl:["replaceUrl",
"replaceUrl",ag],routerLink:"routerLink"},standalone:!0,features:[function(a){var b=a.inputConfig,c={},d;for(d in b)if(b.hasOwnProperty(d)){var e=b[d];Array.isArray(e)&&e[2]&&(c[d]=e[2])}a.inputTransforms=c},Zc]});var qG=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 Gv;this.routerEventsSubscription=a.events.subscribe(function(h){h instanceof ym&&g.update()})};qG.prototype.ngAfterContentInit=function(){var a=this;(0,E.of)(this.links.changes,(0,E.of)(null)).pipe(te()).subscribe(function(){a.update();xec(a)})};
var xec=function(a){var b;null==(b=a.linkInputChangesSubscription)||b.unsubscribe();b=[].concat(Vc(a.links.toArray()),[a.link]).filter(function(c){return!!c}).map(function(c){return c.onChanges});a.linkInputChangesSubscription=(0,E.from)(b).pipe(te()).subscribe(function(c){a._isActive!==yec(a,a.router)(c)&&a.update()})};qG.prototype.ngOnChanges=function(){this.update()};
qG.prototype.ngOnDestroy=function(){this.routerEventsSubscription.unsubscribe();var a;null==(a=this.linkInputChangesSubscription)||a.unsubscribe()};
qG.prototype.update=function(){var a=this;this.links&&this.router.navigated&&Promise.resolve().then(function(){var b=zec(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 yec=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}},zec=function(a){var b=yec(a,a.router);return a.link&&b(a.link)||a.links.some(b)};
hh.Object.defineProperties(qG.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})}}});qG.\u0275fac=function(a){return new (a||qG)(C(nG),C(vd),C(fv),C(Yv),C(pG,8))};
qG.\u0275dir=Kc({type:qG,selectors:[["","routerLinkActive",""]],contentQueries:function(a,b,c){a&1&&Vf(c,pG,5);if(a&2){var d;Tf(d=Wf())&&(b.links=d)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[Zc]});var Aec=function(){},rG=function(a,b,c,d,e){this.router=a;this.injector=c;this.preloadingStrategy=d;this.loader=e},Bec=function(a){a.subscription=a.router.events.pipe(ye(function(b){return b instanceof ym}),se(function(){return a.preload()},1)).subscribe(function(){})};rG.prototype.preload=function(){return Cec(this,this.injector,this.router.config)};rG.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()};
var Cec=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=qha(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(Dec(a,h,e));if(e.children||e._loadedRoutes)h=void 0,d.push(Cec(a,g,null!=(h=e.children)?h:e._loadedRoutes))}return(0,E.from)(d).pipe(te())},Dec=function(a,
b,c){return a.preloadingStrategy.preload(c,function(){var d=(c.loadChildren&&void 0===c.canLoad?a.loader.loadChildren(b,c):(0,E.of)(null)).pipe(se(function(g){if(null===g)return(0,E.of)(void 0);c._loadedRoutes=g.routes;c._loadedInjector=g.injector;var h;return Cec(a,null!=(h=g.injector)?h:b,g.routes)}));if(c.loadComponent&&!c._loadedComponent){var e=a.loader.loadComponent(c);return(0,E.from)([d,e]).pipe(te())}return d})};rG.\u0275fac=function(a){return new (a||rG)(u(nG),u(Fv),u(Zu),u(Aec),u(gG))};
rG.\u0275prov=qc({token:rG,factory:rG.\u0275fac,providedIn:"root"});var Eec=new Rc(""),sG=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"};
sG.prototype.init=function(){if("disabled"!==this.options.scrollPositionRestoration){var a=this.viewportScroller;try{if(JUb(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=Fec(this);this.scrollEventsSubscription=
Gec(this)};
var Fec=function(a){return a.transitions.events.subscribe(function(b){b instanceof Sm?(a.store[a.lastId]=a.viewportScroller.getScrollPosition(),a.lastSource=b.navigationTrigger,a.restoredId=b.restoredState?b.restoredState.navigationId:0):b instanceof ym?(a.lastId=b.id,Hec(a,a.urlSerializer.parse(b.urlAfterRedirects).fragment)):b instanceof Bm&&0===b.code&&(a.lastSource=void 0,a.restoredId=0,Hec(a,a.urlSerializer.parse(b.url).fragment))})},Gec=function(a){return a.transitions.events.subscribe(function(b){if(b instanceof wdc)if(b.position)"top"===
a.options.scrollPositionRestoration?KUb(a.viewportScroller,[0,0]):"enabled"===a.options.scrollPositionRestoration&&KUb(a.viewportScroller,b.position);else if(b.anchor&&"enabled"===a.options.anchorScrolling){var c=a.viewportScroller;if(JUb(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&&KUb(a.viewportScroller,[0,0])})},Hec=function(a,b){a.zone.runOutsideAngular(function(){setTimeout(function(){a.zone.run(function(){a.transitions.events.next(new wdc("popstate"===a.lastSource?
a.store[a.restoredId]:null,b))})},0)})};sG.prototype.ngOnDestroy=function(){var a;null==(a=this.routerEventsSubscription)||a.unsubscribe();var b;null==(b=this.scrollEventsSubscription)||b.unsubscribe()};sG.\u0275fac=function(){zd()};sG.\u0275prov=qc({token:sG,factory:sG.\u0275fac});new Rc("",{providedIn:"root",factory:function(){return!1}});var Iec=new Rc("",{factory:function(){return new E.Subject}}),Jec=new Rc("",{providedIn:"root",factory:function(){return 1}}),Kec=new Rc("");var Lec=new Rc("ROUTER_FORROOT_GUARD"),Mec=[Aw,{provide:$F,useClass:fdc},nG,cG,{provide:mm,useFactory:function(a){return a.routerState.root},deps:[nG]},gG,[]],tG=function(){};tG.\u0275fac=function(a){return new (a||tG)(u(Lec,8))};tG.\u0275mod=Ic({type:tG});tG.\u0275inj=rc({});var Nec=new Rc("");new hv;var uG=function(a,b,c,d){var e=this;this.location=a;this.platformLocation=b;this.activatedRoute=c;this.router=d;this.scheduler=new cdc(function(){return!e.router.navigationTransitions.currentNavigation})};f=uG.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 Oec=function(a,b){a.path(b,!0)};f=uG.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 mya(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(){Rr(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)};uG.\u0275fac=function(a){return new (a||uG)(u(Aw),u(vw),u(mm),u(nG))};uG.\u0275prov=qc({token:uG,factory:uG.\u0275fac,providedIn:"root"});var vG=function(a){this.bLocation=a};f=vG.prototype;f.createIssue=function(a){return Xl("issues/new",{params:a})};f.editIssue=function(a,b){return Vl(a,b)};f.listIssues=function(a){return Yl(a)};f.needsAttention=function(){return"attention"};f.viewSavedSearch=function(a){return Ul("savedsearches/:savedSearchId",{id:a,params:void 0})};
var Pec=function(a,b){b="/"!==b.charAt(0)?"/"+b:b;return a.bLocation.path()===b},Qec=function(a,b){b="/"!==b.charAt(0)?"/"+b:b;a=a.bLocation.url();a=new Do(a);b=new Do(b);return a.getPath()===b.getPath()&&tC(a.queryData_.toString())===tC(b.queryData_.toString())};f=vG.prototype;f.viewHotlist=function(a){return Ul("hotlists/:hotlistId",{id:a})};f.editHotlist=function(a){return Xl("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 Ul("bookmark-groups/:groupId",{id:a})};f.editBookmarkGroup=function(a){return Xl("bookmark-groups/:groupId/edit",{id:a})};f.editSavedSearch=function(a){return Xl("savedsearches/:savedSearchId/edit",{id:a})};f.dashboard=function(a){return Xl("dashboard/:groupId",{id:a})};f.issuesCsvAction=function(a,b,c,d,e){c=mwa(c);d=nwa(d);return eB("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=mwa(c);(d=nwa(d))&&(d="position,"+d);return eB(a,"trackerIds",b,"s",c,"c",d,"h",e)};f.toApiSortParamValue=function(a){return mwa(a)};f.getAttachmentAction=function(a,b){return"action/issues/"+a.toString()+"/attachments/"+b.toString()};f.listComponents=function(){return Xl("components",{params:void 0})};f.viewComponent=function(a,b){return Ul("components/:componentId",{id:a,tab:b})};
f.manageComponent=function(a,b){return owa(a,b)};f.createComponent=function(a){return Xl("components/new",{params:a})};f.editComponent=function(a,b){return Xl("components/:componentId/edit",{id:a,tab:b})};f.createSlo=function(){return Xl("slos/new",{params:void 0})};f.editSlo=function(a){return vwa(a).path};f.listSlos=function(){return Xl("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 pwa(a)};vG.\u0275fac=function(a){return new (a||vG)(u(uG))};vG.\u0275prov=qc({token:vG,factory:vG.\u0275fac,providedIn:"root"});var Rec=function(a,b){this.childIterator_=a[ba.Symbol.iterator]();this.mapFn_=b};Rec.prototype[Symbol.iterator]=function(){return this};Rec.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 Sec=function(a,b){return new Rec(a,b)};var wG=function(){};wG.prototype.next=function(){return Tec};var Tec={done:!0,value:void 0};wG.prototype.__iterator__=function(){return this};var Uec=function(a){if(a instanceof xG||a instanceof yG||a instanceof zG)return a;if("function"==typeof a.next)return new xG(function(){return a});if("function"==typeof a[Symbol.iterator])return new xG(function(){return a[Symbol.iterator]()});if("function"==typeof a.__iterator__)return new xG(function(){return a.__iterator__()});throw Error("wc");},xG=function(a){this.func_=a};xG.prototype.__iterator__=function(){return new yG(this.func_())};xG.prototype[Symbol.iterator]=function(){return new zG(this.func_())};
xG.prototype.toEs6=function(){return new zG(this.func_())};var yG=function(a){this.iter_=a};U(yG,wG);yG.prototype.next=function(){return this.iter_.next()};yG.prototype[Symbol.iterator]=function(){return new zG(this.iter_)};yG.prototype.toEs6=function(){return new zG(this.iter_)};var zG=function(a){xG.call(this,function(){return a});this.iter_=a};U(zG,xG);zG.prototype.next=function(){return this.iter_.next()};var AG=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=AG.prototype;f.getCount=function(){return this.size};f.getValues=function(){BG(this);for(var a=[],b=0;b<this.keys_.length;b++)a.push(this.map_[this.keys_[b]]);return a};f.getKeys=function(){BG(this);return this.keys_.concat()};f.containsKey=function(a){return this.has(a)};
f.has=function(a){return CG(this.map_,a)};f.containsValue=function(a){for(var b=0;b<this.keys_.length;b++){var c=this.keys_[b];if(CG(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||Vec;BG(this);for(var c,d=0;c=this.keys_[d];d++)if(!b(this.get(c),a.get(c)))return!1;return!0};var Vec=function(a,b){return a===b};AG.prototype.isEmpty=function(){return 0==this.size};
AG.prototype.clear=function(){this.map_={};this.keys_.length=0;this.setSizeInternal_(0);this.version_=0};AG.prototype.remove=function(a){return this.delete(a)};AG.prototype.delete=function(a){return CG(this.map_,a)?(delete this.map_[a],this.setSizeInternal_(this.size-1),this.version_++,this.keys_.length>2*this.size&&BG(this),!0):!1};
var BG=function(a){if(a.size!=a.keys_.length){for(var b=0,c=0;b<a.keys_.length;){var d=a.keys_[b];CG(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],CG(e,d)||(a.keys_[c++]=d,e[d]=1),b++;a.keys_.length=c}};f=AG.prototype;f.get=function(a,b){return CG(this.map_,a)?this.map_[a]:b};f.set=function(a,b){CG(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 AG)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 AG(this)};f.transpose=function(){for(var a=new AG,b=0;b<this.keys_.length;b++){var c=this.keys_[b];a.set(this.map_[c],c)}return a};
f.toObject=function(){BG(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 Uec(this.__iterator__(!0)).toEs6()};f.values=function(){return Uec(this.__iterator__(!1)).toEs6()};f.entries=function(){var a=this;return Sec(this.keys(),function(b){return[b,a.get(b)]})};
f.__iterator__=function(a){BG(this);var b=0,c=this.version_,d=this,e=new wG;e.next=function(){if(c!=d.version_)throw Error("xc");if(b>=d.keys_.length)return Tec;var g=d.keys_[b++];return{value:a?g:d.map_[g],done:!1}};return e};f.setSizeInternal_=function(a){this.size=a};var CG=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var DG=function(a,b,c){this.maxCount_=a||null;this.cache_=!!b;this.evictionCallback_=c;this.map_=new AG;this.head_=new Wec("");this.head_.next=this.head_.prev=this.head_},Yec=function(a,b){(b=a.map_.get(b))&&a.cache_&&(b.remove(),Xec(a,b));return b};DG.prototype.get=function(a,b){return(a=Yec(this,a))?a.value:b};var Zec=function(a,b){return(a=a.map_.get(b))?a.value:void 0};f=DG.prototype;f.set=function(a,b){var c=Yec(this,a);c?c.value=b:(c=new Wec(a,b),this.map_.set(a,c),Xec(this,c))};
f.shift=function(){return $ec(this,this.head_.next)};f.pop=function(){return $ec(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(){afc(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 Xec=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_&&afc(a,a.maxCount_)},afc=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)}},$ec=function(a,b){a.head_!=b&&a.removeNode(b);return b.value},Wec=function(a,b){this.key=a;this.value=b};
Wec.prototype.remove=function(){this.prev.next=this.next;this.next.prev=this.prev;delete this.prev;delete this.next};var EG=function(){this.caches=new Map};EG.prototype.create=function(a,b){if(this.caches.has(a))throw Error("yc`"+a);b=new bfc(null==b?void 0:b.capacity);this.caches.set(a,b);return b};EG.prototype.get=function(a){return this.caches.get(a)};EG.\u0275fac=function(a){return new (a||EG)};EG.\u0275prov=qc({token:EG,factory:EG.\u0275fac,providedIn:"root"});var bfc=function(a){this.lruCache=new DG(a,!0)};bfc.prototype.get=function(a){return this.lruCache.get(a)};
bfc.prototype.put=function(a,b){void 0!==b&&this.lruCache.set(a,b);return b};bfc.prototype.remove=function(a){this.lruCache.remove(a)};bfc.prototype.removeAll=function(){this.lruCache.clear()};var Cm=function(a){r.call(this,a)};U(Cm,r);f=Cm.prototype;f.getType=function(){return W(this,1,0)};f.setType=function(a){return n(this,1,a)};f.hasType=function(){return fj(this,1)};f.getCustomFieldId=function(){return yi(this,2)};f.setCustomFieldId=function(a){return n(this,2,a)};f.hasCustomFieldId=function(){return xi(this,2)};f.getCustomFieldName=function(){return V(this,3)};f.toObject=function(){return cfc(this)};
var cfc=function(a){if(null!=a)return t(a),{type:p(kr(a,1)),customFieldId:p(m(a,2)),customFieldName:p(m(a,3))}};var Dm=function(a){r.call(this,a)};U(Dm,r);f=Dm.prototype;f.getField=function(){return Z(this,Cm,1)};f.setField=function(a){Yi(this,Cm,1,a)};f.getDirection=function(){return W(this,2,0)};f.setDirection=function(a){return n(this,2,a)};f.toObject=function(){return dfc(this)};var dfc=function(a){if(null!=a)return t(a),{field:cfc(a.getField()),direction:p(kr(a,2))}};var Em=function(a){r.call(this,a,0,Em.messageId)};U(Em,r);f=Em.prototype;f.getHotlistId=function(){return yi(this,1)};f.setHotlistId=function(a){n(this,1,a)};f.getName=function(){return V(this,3)};f.setName=function(a){return n(this,3,a)};f.hasName=function(){return wk(this,3)};f.getNameOrUndefined=function(){return dt(this,3)};f.getDescription=function(){return V(this,4)};f.setDescription=function(a){return n(this,4,a)};f.hasDescription=function(){return wk(this,4)};
f.getArchived=function(){return Jj(this,6)};f.setArchived=function(a){Lj(this,6,a)};f.getDisplayColumnList=function(){return aj(this,Cm,8)};f.setDisplayColumnList=function(a){dj(this,8,a)};f.getSortOrderList=function(){return aj(this,Dm,9)};f.setSortOrderList=function(a){dj(this,9,a)};f.getCreatedTimeMicros=function(){return gj(this,10)};f.setCreatedTimeMicros=function(a){n(this,10,a)};f.getModifiedTimeMicros=function(){return gj(this,11)};f.setModifiedTimeMicros=function(a){n(this,11,a)};
f.getAdminUsersList=function(){return aj(this,gi,14)};f.setAdminUsersList=function(a){dj(this,14,a)};f.getEtag=function(){return V(this,15)};f.setEtag=function(a){n(this,15,a)};f.hasEtag=function(){return wk(this,15)};Em.repeatedFields_=[8,9,14];Em.prototype.toObject=function(){return efc(this)};
var efc=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(ar(a,6)),displayColumnList:Kb(a.getDisplayColumnList(),cfc),sortOrderList:Kb(a.getSortOrderList(),dfc),createdTimeMicros:p(m(a,10)),modifiedTimeMicros:p(m(a,11)),adminUsersList:Kb(a.getAdminUsersList(),WC),etag:p(m(a,15))}};Em.messageId="b.Hotlist";var FG=function(a){r.call(this,a,0,FG.messageId)};U(FG,r);FG.prototype.getHotlistsList=function(){return aj(this,Em,1)};FG.repeatedFields_=[1];FG.prototype.toObject=function(){if(null!=this){t(this);var a={hotlistsList:Kb(this.getHotlistsList(),efc)}}else a=void 0;return a};FG.messageId="b.ListHotlistsResponse";var GG=function(a,b){this.hotlistApi=b;this.hotlistCache=a.get("hotlists-second-level-cache")||a.create("hotlists-second-level-cache",{capacity:1E3})};GG.prototype.get=function(a){var b=this.hotlistCache.get(String(a))||this.hotlistApi.get(a);return this.hotlistCache.put(String(a),b)};GG.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);ffc(this,a,c);return c.then(function(){})};
var ffc=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$2293:d.$jscomp$loop$prop$id$2293},e=b.next())d.$jscomp$loop$prop$id$2293=e.value,a.hotlistCache.put(String(d.$jscomp$loop$prop$id$2293),c.then(function(g){return function(h){return h&&h[g.$jscomp$loop$prop$id$2293]?h[g.$jscomp$loop$prop$id$2293]:Promise.reject({data:{message:"Could not load hotlist "+
g.$jscomp$loop$prop$id$2293}})}}(d)))};f=GG.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)};GG.\u0275fac=function(a){return new (a||GG)(u(EG),u(HG))};GG.\u0275prov=qc({token:GG,factory:GG.\u0275fac,providedIn:"root"});var IG=function(a,b){this.paths=a;this.executor=b};f=IG.prototype;f.get=function(a){return this.executor.get({url:"action/hotlists/"+a,responseConstructor:Em}).pipe(D(Fm))};f.bulkLoad=function(a){return this.executor.get({url:"action/hotlists",responseConstructor:FG,options:{params:{id:a.map(String)}}}).pipe(D(uya))};
f.repositionHotlistIssue=function(a,b,c){var d=new uj;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 Em;c.setName(a);b&&c.setDescription(b);return this.executor.post({url:"action/hotlists",body:c,responseConstructor:Em}).pipe(D(Fm))};
f.queryHotlists=function(a){return this.executor.get({url:"action/hotlists",responseConstructor:FG,options:{params:{q:a}}}).pipe(D(function(b){var c;return(null!=(c=b.getHotlistsList())?c:[]).map(Fm)}))};f.archiveHotlist=function(a,b){return this.executor.post({url:"action/hotlists/"+a+"/archive",body:tya(b),responseConstructor:Em}).pipe(D(Fm))};
f.updateMetadata=function(a,b){var c={};b.etag&&(c["If-Match"]=String(b.etag));return this.executor.post({url:"action/hotlists/"+a,body:tya(b),options:{headers:c},responseConstructor:Em}).pipe(D(Fm))};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:hE}).pipe(D(Nta))};
IG.\u0275fac=function(a){return new (a||IG)(u(vG),u(LC))};IG.\u0275prov=qc({token:IG,factory:IG.\u0275fac,providedIn:"root"});var HG=function(a){this.observableApi=a};f=HG.prototype;f.get=function(a){return(0,E.firstValueFrom)(this.observableApi.get(a))};f.bulkLoad=function(a){return(0,E.firstValueFrom)(this.observableApi.bulkLoad(a))};f.repositionHotlistIssue=function(a,b,c){return(0,E.firstValueFrom)(this.observableApi.repositionHotlistIssue(a,b,c))};
f.createHotlist=function(a,b){return(0,E.firstValueFrom)(this.observableApi.createHotlist(a,b))};f.queryHotlists=function(a){return(0,E.firstValueFrom)(this.observableApi.queryHotlists(a))};f.archiveHotlist=function(a,b){return(0,E.firstValueFrom)(this.observableApi.archiveHotlist(a,b))};f.updateMetadata=function(a,b){return(0,E.firstValueFrom)(this.observableApi.updateMetadata(a,b))};
f.getPagedHotlistContent=function(a,b,c,d,e){return(0,E.firstValueFrom)(this.observableApi.getPagedHotlistContent(a,b,c,d,e))};HG.\u0275fac=function(a){return new (a||HG)(u(IG))};HG.\u0275prov=qc({token:HG,factory:HG.\u0275fac,providedIn:"root"});var gfc=function(a){r.call(this,a)};U(gfc,r);f=gfc.prototype;f.getUser=function(){return Z(this,gi,5)};f.setUser=function(a){Yi(this,gi,5,a)};f.hasUser=function(){return Dj(this,gi,5)};f.getResourceType=function(){return W(this,2,0)};f.setResourceType=function(a){n(this,2,a)};f.hasResourceType=function(){return fj(this,2)};f.getResourceId=function(){return yi(this,3)};f.setResourceId=function(a){n(this,3,a)};f.hasResourceId=function(){return xi(this,3)};f.getName=function(){return V(this,4)};
f.setName=function(a){return n(this,4,a)};f.hasName=function(){return wk(this,4)};f.getNameOrUndefined=function(){return dt(this,4)};f.toObject=function(){return hfc(this)};var hfc=function(a){if(null!=a)return t(a),{user:WC(a.getUser()),resourceType:p(kr(a,2)),resourceId:p(m(a,3)),name:p(m(a,4))}};var Gm=function(a){r.call(this,a)};U(Gm,r);f=Gm.prototype;f.getName=function(){return V(this,3)};f.setName=function(a){return n(this,3,a)};f.hasName=function(){return wk(this,3)};f.getNameOrUndefined=function(){return dt(this,3)};f.getDescription=function(){return V(this,4)};f.setDescription=function(a){return n(this,4,a)};f.hasDescription=function(){return wk(this,4)};f.getQuery=function(){return V(this,7)};f.setQuery=function(a){return n(this,7,a)};f.clearQuery=function(){Js(this,7)};
f.hasQuery=function(){return wk(this,7)};f.getSortOrderList=function(){return aj(this,Dm,8)};f.setSortOrderList=function(a){dj(this,8,a)};f.getDisplayColumnList=function(){return aj(this,Cm,6)};f.setDisplayColumnList=function(a){dj(this,6,a)};f.getAdminUsersList=function(){return aj(this,gi,11)};f.setAdminUsersList=function(a){dj(this,11,a)};Gm.repeatedFields_=[8,6,11];Gm.prototype.toObject=function(){return ifc(this)};
var ifc=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:Kb(a.getSortOrderList(),dfc),displayColumnList:Kb(a.getDisplayColumnList(),cfc),adminUsersList:Kb(a.getAdminUsersList(),WC)}};var JG=function(a){r.call(this,a,0,JG.messageId)};U(JG,r);JG.prototype.getFavorite=function(){return Z(this,gfc,1)};JG.prototype.toObject=function(){if(null!=this){t(this);var a={favorite:hfc(this.getFavorite())}}else a=void 0;return a};JG.messageId="b.Favorite";var KG=function(a){r.call(this,a,0,KG.messageId)};U(KG,r);KG.prototype.addHotlist=function(a){jo(this,1,Em,a)};KG.repeatedFields_=[1];KG.prototype.toObject=function(){if(null!=this){t(this);var a={hotlistList:Kb(aj(this,Em,1),efc)}}else a=void 0;return a};KG.messageId="b.HotlistBatchResponse";var Hm=function(a){r.call(this,a)};U(Hm,r);f=Hm.prototype;f.getId=function(){return yi(this,1)};f.setId=function(a){return n(this,1,a)};f.getName=function(){return V(this,2)};f.setName=function(a){return n(this,2,a)};f.hasName=function(){return wk(this,2)};f.getNameOrUndefined=function(){return dt(this,2)};f.getDescription=function(){return V(this,3)};f.setDescription=function(a){return n(this,3,a)};f.hasDescription=function(){return wk(this,3)};f.getAdminUsersList=function(){return aj(this,gi,8)};
f.setAdminUsersList=function(a){dj(this,8,a)};f.getStarred=function(){return Jj(this,5)};f.setStarred=function(a){Lj(this,5,a)};f.hasStarred=function(){return Dk(this,5)};f.getResourceType=function(){return V(this,6)};f.setResourceType=function(a){n(this,6,a)};f.hasResourceType=function(){return wk(this,6)};Hm.repeatedFields_=[8];Hm.prototype.toObject=function(){return jfc(this)};
var jfc=function(a){if(null!=a)return t(a),{id:p(m(a,1)),name:p(m(a,2)),description:p(m(a,3)),adminUsersList:Kb(a.getAdminUsersList(),WC),starred:p(ar(a,5)),resourceType:p(m(a,6))}};var Im=function(a){r.call(this,a)};U(Im,r);f=Im.prototype;f.getId=function(){return yi(this,1)};f.setId=function(a){return n(this,1,a)};f.getName=function(){return V(this,2)};f.setName=function(a){return n(this,2,a)};f.hasName=function(){return wk(this,2)};f.getNameOrUndefined=function(){return dt(this,2)};f.getDescription=function(){return V(this,3)};f.setDescription=function(a){return n(this,3,a)};f.hasDescription=function(){return wk(this,3)};f.getAdminUsersList=function(){return aj(this,gi,8)};
f.setAdminUsersList=function(a){dj(this,8,a)};f.getStarred=function(){return Jj(this,5)};f.setStarred=function(a){Lj(this,5,a)};f.hasStarred=function(){return Dk(this,5)};Im.repeatedFields_=[8,6];Im.prototype.toObject=function(){return kfc(this)};var kfc=function(a){if(null!=a)return t(a),{id:p(m(a,1)),name:p(m(a,2)),description:p(m(a,3)),adminUsersList:Kb(a.getAdminUsersList(),WC),starred:p(ar(a,5)),sublinksList:Kb(aj(a,Hm,6),jfc)}};var LG=function(a){r.call(this,a,0,LG.messageId)};U(LG,r);LG.prototype.getHotlistsList=function(){return aj(this,Hm,1)};LG.prototype.getBookmarkGroupsList=function(){return aj(this,Im,2)};LG.repeatedFields_=[1,2,3,4];LG.prototype.toObject=function(){if(null!=this){t(this);var a={hotlistsList:Kb(this.getHotlistsList(),jfc),bookmarkGroupsList:Kb(this.getBookmarkGroupsList(),kfc),archivedHotlistsList:Kb(aj(this,Hm,3),jfc),archivedBookmarkGroupsList:Kb(aj(this,Im,4),kfc)}}else a=void 0;return a};
LG.messageId="b.SidebarInfo";var MG=function(a){r.call(this,a,0,MG.messageId)};U(MG,r);MG.repeatedFields_=[1];MG.prototype.toObject=function(){if(null!=this){t(this);var a={componentsList:Kb(aj(this,Tj,1),PD)}}else a=void 0;return a};MG.messageId="b.UserRecentComponentResponse";var NG=function(a){r.call(this,a,0,NG.messageId)};U(NG,r);NG.repeatedFields_=[1];NG.prototype.toObject=function(){if(null!=this){t(this);var a={searchesList:Kb(aj(this,Gm,1),ifc)}}else a=void 0;return a};NG.messageId="b.UserSavedSearchesResponse";var OG=function(){},PG=function(){};PG.\u0275fac=function(a){return new (a||PG)};PG.\u0275prov=qc({token:PG,factory:PG.\u0275fac,providedIn:"root"});var QG=function(a){this.executor=a};U(QG,PG);f=QG.prototype;f.getUserHotlists=function(){return this.executor.get({url:"action/current_user/hotlists",responseConstructor:KG}).pipe(D(vya))};f.getUserSidebar=function(){return this.executor.get({url:"action/current_user/sidebar",responseConstructor:LG}).pipe(D(Cya))};
f.getRecentComponents=function(){return this.executor.get({url:"action/current_user/recent_components",responseConstructor:MG}).pipe(D(fta))};f.getUserSavedSearches=function(){return this.executor.get({url:"action/current_user/searches",responseConstructor:NG}).pipe(D(zya))};f.getFavorite=function(a,b){return this.executor.get({url:"action/favorites/"+a+"/"+b,responseConstructor:JG}).pipe(D(xya))};
f.saveFavorite=function(a){var b=new gfc;b.setResourceType(S8b[a.resourceType]);b.setResourceId(String(a.resourceId));return this.executor.post({url:"action/favorites",body:b,responseConstructor:JG}).pipe(D(xya))};f.deleteFavorite=function(a){return this.executor.delete({url:"action/favorites/"+a.resourceType+"/"+a.resourceId,responseConstructor:null})};
var lfc=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})};QG.\u0275fac=function(a){return new (a||QG)(u(LC))};QG.\u0275prov=qc({token:QG,factory:QG.\u0275fac,providedIn:"root"});var RG=function(a){this.observableApi=a};
U(RG,OG);f=RG.prototype;f.getUserHotlists=function(){return(0,E.firstValueFrom)(this.observableApi.getUserHotlists())};f.getUserSidebar=function(){return(0,E.firstValueFrom)(this.observableApi.getUserSidebar())};f.getRecentComponents=function(){return(0,E.firstValueFrom)(this.observableApi.getRecentComponents())};f.getUserSavedSearches=function(){return(0,E.firstValueFrom)(this.observableApi.getUserSavedSearches())};
f.getFavorite=function(a,b){return(0,E.firstValueFrom)(this.observableApi.getFavorite(a,b))};f.saveFavorite=function(a){return(0,E.firstValueFrom)(this.observableApi.saveFavorite(a))};f.deleteFavorite=function(a){return(0,E.firstValueFrom)(this.observableApi.deleteFavorite(a))};RG.\u0275fac=function(a){return new (a||RG)(u(QG))};RG.\u0275prov=qc({token:RG,factory:RG.\u0275fac,providedIn:"root"});var mfc={parent:"me"},SG=function(a,b,c){RE.call(this,{freshUntil:3E5});var d=this;this.observableHotlistResources=a;this.observableUserResources=b;this.appEvents=c;this.recordType="hotlist";this.idKey="hotlistId";(0,E.merge)(this.appEvents.hotlistChanged,this.appEvents.hotlistCreated,this.appEvents.bookmarkGroupModified).subscribe(function(){d.pokeMany(mfc)})};U(SG,RE);
SG.prototype.fetchOne=function(a){return this.observableHotlistResources.get(a).pipe(Ce(function(b){return 403===b.status?(0,E.of)(void 0):(0,E.throwError)(b)}))};SG.prototype.fetchAll=function(a){if("me"===a.parent)return this.observableUserResources.getUserHotlists().pipe(D(function(b){return{results:b}}));zh("Unsupported query for Fridge['"+this.recordType+"']",a);return(0,E.of)({results:[]})};
SG.prototype.fetchSet=function(a){return this.observableHotlistResources.bulkLoad(a).pipe(D(function(b){return(null!=b?b:[]).filter(pi)}))};SG.prototype.doSave=function(a){return this.observableHotlistResources.updateMetadata(a.hotlistId,a)};var nfc=function(a){return a.watchMany(mfc).pipe(D(function(b){return b.results}))};SG.\u0275fac=function(a){return new (a||SG)(u(IG),u(PG),u(KF))};SG.\u0275prov=qc({token:SG,factory:SG.\u0275fac,providedIn:"root"});var Dya=function(a){r.call(this,a)};U(Dya,r);Dya.repeatedFields_=[1];Dya.prototype.toObject=function(){if(null!=this){t(this);var a={issueDetailsList:Kb(aj(this,Jm,1),qbc),noIndex:p(ar(this,2))}}else a=void 0;return a};var ofc=!1;var Jn={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 TG=function(){var a=new n4b(852,"0");a.setComponentId("");a.useSendBeaconForFinalFlush();a.useGetRequestForFinalFlush();a.enableSendBeaconApi_=!0;a=new o4b(852,void 0,void 0,void 0,void 0,a.build());a=this.service=new g1b(a);a.flushInterval=3E3;a.flushTimer.setInterval(3E3)};TG.\u0275fac=function(a){return new (a||TG)};TG.\u0275prov=qc({token:TG,factory:TG.\u0275fac,providedIn:"root"});var pfc={clear:function(){},getItem:function(){},removeItem:function(){},setItem:function(){}},Km=window.localStorage||pfc,qfc=function(a){return function(){var b=Km.getItem(a);if(null!=b)return b=Number(b),isNaN(b)?void 0:b}},rfc=function(a){return function(){var b=Km.getItem(a);if(null!=b)return String(b)}},sfc=function(a){return function(b){null==b?Km.removeItem(a):Km.setItem(a,String(b))}},tfc=function(a){return function(b){null==b?Km.removeItem(a):Km.setItem(a,b)}},ufc=function(a){return function(){var b=
Lm(a)();Fya(a)(!b);return!b}},UG=function(a){return function(){var b=Km.getItem(a);if(null!=b)try{return JSON.parse(b)}catch(c){console.warn("JSON.parse("+a+")"),console.warn(c)}}},Qo=function(a){return function(b){null==b?Km.removeItem(a):Km.setItem(a,JSON.stringify(b))}};var vfc=Lm("debug-logging")(),VG=function(a,b){this.activeSession=a;this.streamz=b;this.pageLoadTime=new r8b(this.streamz.service);this.userLatency=new t8b(this.streamz.service);this.userActionCounter=new s8b(this.streamz.service);this.frontendAccessMode=this.activeSession.getFrontendAccessMode();this.environmentType=this.activeSession.getEnvironmentType()};
VG.prototype.timePageLoad=function(a,b){this.pageLoadTime.record(a,b,this.frontendAccessMode,this.environmentType);vfc&&console.log("Clearcut stub",{action:b,duration:a})};var WG=function(a,b,c){a.userLatency.record(b,c,a.frontendAccessMode,a.environmentType);vfc&&console.log("Clearcut stub",{action:c,duration:b})},XG=function(a,b){a.userActionCounter.increment(b,a.frontendAccessMode,a.environmentType);vfc&&console.log("Clearcut stub",{action:b})};
VG.\u0275fac=function(a){return new (a||VG)(u(gs),u(TG))};VG.\u0275prov=qc({token:VG,factory:VG.\u0275fac,providedIn:"root"});var Gya=window,Uya=function(){return{count:0,duration:0,transferSize:0,cacheHits:0,cacheHitRate:0}},wfc=function(a){if(Mm())try{window.performance.mark(a)}catch(b){console.warn("route_performance",b)}};var Vya=Lm("debug-logging")(),Qm=window,xfc,Tya=!1;var yfc=Jn.GLOBAL_SEARCH,zfc=Jn.JOURNEY,Afc=Qo("journey-log"),Bfc=UG("journey-log"),YG={},Cfc=(YG.ssue__edit="edit",YG.ssue__addComment="comment",YG["ssue__light-ixn"]="ixn",YG.ssue__copyIssueId="ixn",YG[yfc+"__.*__.*text"]="ilp-search",YG[yfc+"__.*__filters"]="ilp-filter",YG),ZG={startEvents:["ilp-search"],successEvents:["edit","ixn","comment"],abortEvents:["ilp-filter","idle"],successMarker:"SUCCESS-search",count:["nav"]},$G=function(a){this.clearcut=a},Dfc=function(a,b){var c=void 0===c?Date.now():
c;var d,e=null!=(d=Bfc())?d:[];e.push([b,c]);100<e.length&&(e=e.slice(-100));Afc(e);if(ZG.successEvents.includes(b)){b=e;c=ZG.abortEvents;d=ZG.successEvents;e=ZG.startEvents;for(var g=ZG.successMarker,h,l=b.length-1;0<=l;l--){var q=k(b[l]),x=q.next().value;q=q.next().value;if(c.includes(x))break;if(g===x)break;if(d.includes(x)){if(h&&A)break;var A=q}else A&&e.includes(x)&&(h=q)}A=h&&A?[h,A]:void 0;A&&(A=k(A),h=A.next().value,A=A.next().value-h,WG(a.clearcut,A,Wya(zfc,"global-search-text")),Nm({hitType:"event",
eventCategory:zfc,eventAction:"global-search-text",eventLabel:"duration",eventValue:A}),Dfc(a,ZG.successMarker))}};$G.\u0275fac=function(a){return new (a||$G)(u(VG))};$G.\u0275prov=qc({token:$G,factory:$G.\u0275fac,providedIn:"root"});var aH=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))}},Efc=function(a){Mm()&&(null!=a.observer&&a.observer.disconnect(),a.observer=new Gya.PerformanceObserver(a.onMeasurement),a.observer.observe({entryTypes:["measure"]}))};aH.\u0275fac=function(a){return new (a||aH)(u(VG))};
aH.\u0275prov=qc({token:aH,factory:aH.\u0275fac,providedIn:"root"});var Rm={},Ffc={logInfo:function(){console.log(Zya());console.log("\nDuplicate Requests:");console.table(Xya())},getCounts:function(){return Rm},getDupes:Xya,getAggregates:Zya};var Gfc={attributes:!1,childList:!0,subtree:!0},bH=function(a,b,c){var d=this;this.ngZone=a;this.router=b;this.activatedRoute=c;this.dom$=new E.Subject;this.cdr$=this.ngZone.onStable;this.xhr$=new E.Subject;this.render$=(0,E.merge)(this.dom$,this.cdr$);this.renderSettled$=this.render$.pipe(De(200));this.navigatedTo$=this.router.events.pipe(ye(aza),D(function(){return $ya(d.activatedRoute.snapshot)}));this.navigatedTo$.pipe(Se(function(e){return d.renderSettled$.pipe(Ge(),D(function(){return e}))}),
Pe(1));this.domObserver=new MutationObserver(function(){return void d.dom$.next()})},Hfc=function(a){a.domObserver.disconnect();a.domObserver.observe(document.body,Gfc)};bH.prototype.intercept=function(a,b){var c=a.method+" "+a.urlWithParams;Rm[c]=~~Rm[c]+1;this.xhr$.next(c);return b.handle(a)};bH.\u0275fac=function(a){return new (a||bH)(u(We),u(nG),u(mm))};bH.\u0275prov=qc({token:bH,factory:bH.\u0275fac,providedIn:"root"});var Ifc={provide:iWb,useExisting:bH,multi:!0};var cH=function(a,b){this.cdr=a;this.zone=b;this.destroyed=!1};cH.prototype.ngOnDestroy=function(){this.destroyed=!0};cH.prototype.detectChanges=function(){var a=this;this.destroyed||this.zone.run(function(){a.cdr.detectChanges()})};cH.prototype.markForCheck=function(){var a=this;this.destroyed||this.zone.run(function(){a.cdr.markForCheck()})};cH.\u0275fac=function(a){return new (a||cH)(u(Yv),u(We))};cH.\u0275prov=qc({token:cH,factory:cH.\u0275fac});var dH=function(a){WD.call(this);var b=this;this.ngZone=a;this.activeSubject$=new E.BehaviorSubject(!1);this.active$=this.activeSubject$.pipe(Fe(),Te(this.destroyed$),cza(this.ngZone));this.onUserEvent=OQb(function(){b.activeSubject$.next(!0);Jfc(b)},200);this.onVisibilityChange=function(){"hidden"===document.visibilityState?(b.activeSubject$.next(!1),clearTimeout(b.activeTimeoutId)):(b.activeSubject$.next(!0),Jfc(b))}};U(dH,WD);dH.\u0275dir=WD.\u0275dir;
dH.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)};
dH.prototype.ngOnDestroy=function(){WD.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 Jfc=function(a){clearTimeout(a.activeTimeoutId);a.activeTimeoutId=setTimeout(function(){a.activeSubject$.next(!1)},3E3)};dH.\u0275fac=function(a){return new (a||dH)(u(We))};dH.\u0275prov=qc({token:dH,factory:dH.\u0275fac,providedIn:"root"});var Kfc=[ym,Am,zm],fH=function(a,b){WD.call(this);var c=this;this.router=a;this.activatedRoute=b;this.routeChangeStart=new E.Subject;this.routeChangeSuccess=new E.Subject;this.locationChangeStart=new E.Subject;this.locationChangeSuccess=new E.Subject;this.routeUpdate=new E.Subject;this.viewContentLoaded=new E.Subject;this.navigationEnd$=this.router.events.pipe(ye(aza));this.navigationOver$=this.router.events.pipe(ye(function(d){return Kfc.some(function(e){return d instanceof e})}));eH(this,Jxa).subscribe(function(d){c.routeChangeStart.next({params:Object.assign({},
d.snapshot.queryParams,d.snapshot.params)})});a=eH(this,vdc);(0,E.merge)(this.navigationOver$.pipe(Ke(E.NEVER)),this.routeChangeStart.pipe(Ke(a))).pipe(Se(Zd),Te(this.destroyed$),ye(function(d){return d.snapshot.routeConfig.isRootRoute}),D(function(d){return{params:Object.assign({},d.snapshot.queryParams,d.snapshot.params)}})).subscribe(function(d){c.routeChangeSuccess.next(d)});eH(this,Sm).pipe(D(function(d){return d.url}),Fe()).subscribe(function(){c.locationChangeStart.next()});eH(this,ym).pipe(D(function(d){return d.url}),
Fe()).subscribe(function(){c.locationChangeSuccess.next()});a=this.activatedRoute.queryParams.pipe(Ve(eH(this,ndc)));(0,E.merge)(this.routeChangeStart.pipe(Ke(E.NEVER)),this.navigationOver$.pipe(Ke(a))).pipe(Se(Zd),Te(this.destroyed$)).subscribe(function(d){d=k(d);d.next();d=d.next().value;c.routeUpdate.next({params:d.state.root.params})});eH(this,ym).subscribe(function(){c.viewContentLoaded.next()})};U(fH,WD);fH.\u0275dir=WD.\u0275dir;
var eH=function(a,b){return a.router.events.pipe(ye(function(c){return c instanceof b}),D(function(c){return c}),Te(a.destroyed$))};fH.\u0275fac=function(a){return new (a||fH)(u(nG),u(mm))};fH.\u0275prov=qc({token:fH,factory:fH.\u0275fac,providedIn:"root"});var dza=qfc("last-visit"),eza=qfc("last-visit-count"),gza=sfc("last-visit"),fza=sfc("last-visit-count");null==Date.now&&(Date.now=function(){return(new Date).getTime()});var Lfc=Lm("onedev-darkmode"),Mfc=Lm("hasClickedCommentSortBtn"),gH=function(a,b,c,d){WD.call(this);var e=this;this.journeyTracker=d;this.preapply=function(){var A=Nfc;return function(B){return function(K,N){e.trackEvent(A,B,K,N)}}};hza();Pm("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;Pm("dimension1",g);Pm("dimension7",Lfc()?"dark":"default");var l;Pm("dimension3",null==
(l=d.themePreferences)?void 0:l.density);Pm("dimension6",UD(b,"readUnreadOptOut"));Pm("dimension8",UD(b,"enableEnhancedCommentThread"));Pm("dimension9",Mfc());h=d.showFullHistory?"fh":"comments";var q;if(UD(b,"enableCommentFiltering")&&(null==(q=d.commentFilterPreferences)?0:q.commentFilter)){var x;h=null==(x=d.commentFilterPreferences)?void 0:x.commentFilter}Pm("dimension2",h);Pm("dimension5",d.showRecentEventsFirst?"newestFirst":"oldestFirst");Pm("dimension11",UD(b,"enableHomepageVariantA"));this.subscriptions.add(a.viewContentLoaded.pipe(Re(void 0)).subscribe(function(){var A=
$ya(c.snapshot);Pm("page",A);Nm({hitType:"pageview",page:A})}))};U(gH,WD);gH.\u0275dir=WD.\u0275dir;gH.prototype.trackEvent=function(a,b,c,d){Om(a,b,c,"boolean"===typeof d?d?1:0:d);d=this.journeyTracker;a=Wya(a,b,c);b=k(Object.entries(Cfc));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))){Dfc(d,e);break}}};
var Ofc=function(a,b,c){Nm(Object.assign({},{hitType:"timing",timingCategory:"userAction",timingVar:a,timingValue:b},void 0!==c?{timingLabel:c}:{}))};gH.\u0275fac=function(a){return new (a||gH)(u(fH),u(gs),u(mm),u($G))};gH.\u0275prov=qc({token:gH,factory:gH.\u0275fac,providedIn:"root"});var Pfc=function(a){r.call(this,a)};U(Pfc,r);f=Pfc.prototype;f.getComponentId=function(){return gj(this,1)};f.setComponentId=function(a){return n(this,1,a)};f.hasComponentId=function(){return Ok(this,1)};f.getType=function(){return W(this,2,0)};f.setType=function(a){return n(this,2,a)};f.hasType=function(){return fj(this,2)};f.getPriority=function(){return W(this,3,0)};f.setPriority=function(a){return n(this,3,a)};f.hasPriority=function(){return fj(this,3)};
f.getSeverity=function(){return W(this,4,0)};f.setSeverity=function(a){return n(this,4,a)};f.hasSeverity=function(){return fj(this,4)};f.getStatus=function(){return W(this,5,0)};f.setStatus=function(a){return n(this,5,a)};f.hasStatus=function(){return fj(this,5)};f.getReporter=function(){return Z(this,gi,6)};f.setReporter=function(a){Yi(this,gi,6,a)};f.getAssignee=function(){return Z(this,gi,7)};f.setAssignee=function(a){Yi(this,gi,7,a)};f.clearAssignee=function(){return Js(this,7)};
f.getVerifier=function(){return Z(this,gi,8)};f.setVerifier=function(a){Yi(this,gi,8,a)};f.clearVerifier=function(){return Js(this,8)};f.getCcsList=function(){return aj(this,gi,9)};f.addHotlistIds=function(a,b){return wb(this,10,a,b)};f.getBlockingIssueIdsList=function(){return il(this,12)};f.getInProd=function(){return Jj(this,15)};f.setInProd=function(a){Lj(this,15,a)};f.getSloStartTime=function(){return Z(this,Ch,16)};f.setSloStartTime=function(a){Yi(this,Ch,16,a)};
f.getSloEndTime=function(){return Z(this,Ch,20)};f.setSloEndTime=function(a){Yi(this,Ch,20,a)};f.getRetention=function(){return W(this,17,0)};f.setRetention=function(a){n(this,17,a)};f.getEntityStatus=function(){return Z(this,ED,18)};f.getIsArchived=function(){return Jj(this,19)};f.setIsArchived=function(a){return Lj(this,19,a)};f.getAccessLimitLevel=function(){return W(this,21,0)};f.setAccessLimitLevel=function(a){n(this,21,a)};f.hasAccessLimitLevel=function(){return fj(this,21)};
Pfc.repeatedFields_=[9,10,11,12,14];Pfc.prototype.toObject=function(){return Qfc(this)};
var Qfc=function(a){if(null!=a)return t(a),{componentId:p(m(a,1)),type:p(kr(a,2)),priority:p(kr(a,3)),severity:p(kr(a,4)),status:p(kr(a,5)),reporter:WC(a.getReporter()),assignee:WC(a.getAssignee()),verifier:WC(a.getVerifier()),ccsList:Kb(a.getCcsList(),WC),hotlistIdsList:p(il(a,10)),blockedByIssueIdsList:p(il(a,11)),blockingIssueIdsList:p(il(a,12)),canonicalIssueId:p(m(a,13)),duplicateIssueIdsList:p(il(a,14)),inProd:p(ar(a,15)),sloStartTime:yt(a.getSloStartTime()),sloEndTime:yt(a.getSloEndTime()),
retention:p(kr(a,17)),entityStatus:FD(a.getEntityStatus()),isArchived:p(ar(a,19)),accessLimitLevel:p(kr(a,21))}};var Rfc=function(a){r.call(this,a,0,Rfc.messageId)};U(Rfc,r);f=Rfc.prototype;f.getIssueId=function(){return gj(this,1)};f.setIssueId=function(a){return n(this,1,a)};f.getIssueState=function(){return Z(this,Pfc,2)};f.getVersion=function(){return Gh(this,3)};f.setVersion=function(a){return n(this,3,a)};f.getVersionOrUndefined=function(){return bt(this,3)};f.getCreatedTime=function(){return Z(this,Ch,4)};f.getModifiedTime=function(){return Z(this,Ch,5)};
f.getResolvedTime=function(){return Z(this,Ch,6)};f.getVerifiedTime=function(){return Z(this,Ch,7)};f.getSloId=function(){return gj(this,9)};f.setSloId=function(a){return n(this,9,a)};f.getSloStatus=function(){return Z(this,zj,10)};f.setSloStatus=function(a){Yi(this,zj,10,a)};f.hasSloStatus=function(){return Dj(this,zj,10)};f.getRetentionState=function(){return Z(this,yj,11)};f.setRetentionState=function(a){Yi(this,yj,11,a)};f.getAccessLimit=function(){return Z(this,$h,12)};
f.setAccessLimit=function(a){return Yi(this,$h,12,a)};f.getTeamId=function(){return gj(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:Qfc(this.getIssueState()),version:p(Os(this,3)),createdTime:yt(this.getCreatedTime()),modifiedTime:yt(this.getModifiedTime()),resolvedTime:yt(this.getResolvedTime()),verifiedTime:yt(this.getVerifiedTime()),sloId:p(m(this,9)),sloStatus:r$b(this.getSloStatus()),retentionState:j$b(this.getRetentionState()),accessLimit:a9b(this.getAccessLimit()),teamId:p(m(this,13))}}else a=void 0;return a};Rfc.messageId="b.IssueMetadata";var hH=function(a){r.call(this,a)};U(hH,r);hH.prototype.getIssueIdsList=function(){return il(this,1)};hH.prototype.setIssueIdsList=function(a){return tb(this,1,a,db)};hH.prototype.addIssueIds=function(a){wb(this,1,a)};hH.repeatedFields_=[1];hH.prototype.toObject=function(){if(null!=this){t(this);var a={issueIdsList:p(il(this,1)),read:p(ar(this,2))}}else a=void 0;return a};var Sfc=function(a){r.call(this,a,0,Sfc.messageId)};U(Sfc,r);Sfc.prototype.toObject=function(){if(null!=this){t(this);var a={readTimestamp:p(m(this,1))}}else a=void 0;return a};Sfc.messageId="b.UpdateIssueReadTimestampResponse";var iH=function(a){this.executor=a};iH.prototype.delete=function(a,b){var c=new s$b;c.setIssueId(String(a));c.setReason(msa[b]);return this.executor.post({url:"action/issues/"+a+"/delete",body:c,responseConstructor:null})};iH.prototype.undelete=function(a){var b=new KD;b.setIssueId(String(a));return this.executor.post({url:"action/issues/"+a+"/undelete",body:b,responseConstructor:null})};iH.prototype.getMetadata=function(a){return this.executor.get({url:"action/issues/"+a+"/metadata",responseConstructor:Rfc}).then(Fta)};
iH.prototype.markRead=function(a,b){b=void 0===b?!0:b;var c=new hH;c.setIssueIdsList(a.map(Number));Lj(c,2,b);return this.executor.post({url:"action/issues/read_timestamp",body:c,responseConstructor:Sfc}).then(Eta)};iH.\u0275fac=function(a){return new (a||iH)(u(MC))};iH.\u0275prov=qc({token:iH,factory:iH.\u0275fac,providedIn:"root"});var jH=function(){this.refreshRequest=new E.Subject};jH.prototype.getObservable=function(){return this.refreshRequest};var Tfc=function(a,b){return a.getObservable().pipe(Re(void 0)).pipe(Se(function(){return b}))};jH.\u0275fac=function(a){return new (a||jH)};jH.\u0275prov=qc({token:jH,factory:jH.\u0275fac,providedIn:"root"});var kH=Jn.ISSUE,lH=function(a,b,c,d,e,g,h,l){RE.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(x){return String(x.issueId)};this.isEqual=Mh;this.issueFetchResponse$=new E.Subject;this.get=this.batchApiAdapter.adapt({bufferTimeMs:0,call:function(x){return q.call(x)},split:function(x,
A){return q.splitBatch(x,A)}});this.refreshMonitor.getObservable().subscribe(function(){q.invalidate()})};U(lH,RE);lH.prototype.fetchOne=function(a){return this.get(a).pipe(Ce(function(){return(0,E.of)(void 0)}))};lH.prototype.fetchSet=function(a){var b=this;return(0,E.combineLatest)(a.map(function(c){return b.fetchOne(c)})).pipe(D(function(c){return c.filter(pi)}))};
lH.prototype.fetchAll=function(a){var b=a.filter;a={s:a.sort,count:a.pageSize};if(b)return this.issueResources.listIssues(b,a).pipe(D(function(c){return{results:c.issues,totalSize:c.numTotalResults}}));throw Error("Gc");};lH.prototype.copy=function(a){return a&&Nh(a)};
var Ufc=function(a,b,c){a.analytics.trackEvent(kH,"light-ixn","star");var d={starred:c,voted:null,notificationSubscription:null};Jac(a.activeSession)&&(d.voted=c);return lfc(a.userResources,b,d).pipe(Ue(function(){QE(a,b,function(e){e.userData&&(e.userData.starred=c,Jac(a.activeSession)&&(e.userData.voted=c))})}))};
lH.prototype.setVoted=function(a,b){var c=this;this.analytics.trackEvent(kH,"light-ixn","vote",b);return lfc(this.userResources,a,{voted:b,starred:null,notificationSubscription:null}).pipe(Ue(function(){QE(c,a,function(d){d.userData&&(d.userData.voted=b)})}))};
lH.prototype.setNotificationSubscription=function(a,b){var c=this,d;return he(function(e){if(1==e.nextAddress)return c.analytics.trackEvent(kH,"light-ixn","notifs",Number(b)),d={voted:null,starred:null,notificationSubscription:b},e.yield((0,E.firstValueFrom)(lfc(c.userResources,a,d)),2);QE(c,a,function(g){g.userData&&(g.userData.notificationSubscription=b)});me(e)})};
var Vfc=function(a,b,c){a.analytics.trackEvent(kH,"edit","title");var d={issueId:b,actions:[{fieldName:"title",value:c}]};QE(a,b,function(e){e.snapshot[0].title=c});return a.issueResources.updateIssue(b,d).pipe(Ue(function(e){e&&a.announce(e.issue)}))},Wfc=function(a,b,c,d){var e,g,h,l,q,x,A;return he(function(B){if(1==B.nextAddress){a.analytics.trackEvent(kH,"edit","hotlists");e={removeHotlistIds:d,addHotlistIds:c,hotlistIssue:{issueId:b}};g=k([].concat(Vc(c),Vc(d)));for(h=g.next();!h.done;h=g.next())l=
h.value,a.hotlistFridge.setIsSaving(l);ie(B,2);return B.yield((0,E.firstValueFrom)(a.issueResources.updateIssueHotlists(b,e)).finally(function(){for(var K=k([].concat(Vc(c),Vc(d))),N=K.next();!N.done;N=K.next())a.hotlistFridge.clearIsSaving(N.value)}),4)}if(2!=B.nextAddress)return(q=B.yieldResult)&&a.announce(q.issue),B.return(null==(x=q)?void 0:x.issue);A=le(B);a.poke(b);throw A;})},Xfc=function(a,b,c){return mH(a,"ADD","DUPLICATE",c,[b]).then(function(){return a.poke(b)})};
lH.prototype.removeDuplicate=function(a,b){var c=this;return mH(this,"REMOVE","DUPLICATE",b,[a]).then(function(){return c.poke(a)})};
var mH=function(a,b,c,d,e){if(0===e.length||null==d)return Promise.resolve(void 0);a.analytics.trackEvent(kH,"edit","relation",Number(c));b={relation:c,issueId:d,targetIds:e,actionType:b};Yfc(a,b);var g=[d].concat(Vc(e));e=k(g);for(c=e.next();!c.done;c=e.next())a.setIsSaving(c.value);return(0,E.firstValueFrom)(a.issueResources.relateIssue(d,b)).then(function(h){h&&a.announce(h.issue)}).catch(function(h){a.poke(d);throw h;}).finally(function(){for(var h=k(g),l=h.next();!l.done;l=h.next())a.clearIsSaving(l.value)})},
nH=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 he(function(x){if(1==x.nextAddress)return a.activeSession.isAnonymous()?x.return():x.yield(a.issueService.markRead(b,d),2);g=x.yieldResult;if(e)for(h=k(b),l=h.next();!l.done;l=h.next())q=l.value,QE(a,String(q),function(A){A.userData&&(A.userData.lastViewedTimeMicros=g.readTimestamp)});return x.return(g.readTimestamp?Math.round(g.readTimestamp/1E3):void 0)})},Yfc=function(a,
b){QE(a,b.issueId,function(c){switch(b.relation){case "BLOCKED_BY":if("ADD"===b.actionType){var d;c.snapshot[0].blockedByIssueId=[].concat(Vc(null!=(d=c.snapshot[0].blockedByIssueId)?d:[]),Vc(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:[]}}})};
lH.prototype.call=function(a){var b=this;if(1===a.size){var c=[].concat(Vc(a))[0];return this.issueResources.getIssue(c).pipe(Ue(function(d){b.issueFetchResponse$.next(d)}),D(function(d){return new Map([[c,d.issue]])}))}return this.issueResources.batchGetIssues([].concat(Vc(a))).pipe(D(function(d){return new Map(d.map(function(e){return[e.issueId,e]}))}))};lH.prototype.splitBatch=function(a,b){return b.get(a)};lH.\u0275fac=function(a){return new (a||lH)(u($E),u(lE),u(PG),u(jH),u(iH),u(gs),u(SG),u(gH))};
lH.\u0275prov=qc({token:lH,factory:lH.\u0275fac,providedIn:"root"});var oH=function(a,b){RE.call(this);this.observableIssueResources=a;this.issueFridge=b;this.recordType="issue-fr";this.idForRecord=function(c){return c.issueId};this.isEqual=Mh;this.destroyed$=new E.ReplaySubject(1);ofc?a=void 0:(ofc=!0,a=Eya());a&&Zfc(this,a);this.issueFridge.issueFetchResponse$.pipe(ye(pi),D(jza),Te(this.destroyed$)).subscribe(this.announce)};U(oH,RE);
var pH=function(a,b){return a.watch(b).pipe(Se(function(c){return a.issueFridge.watch(b).pipe(D(function(d){return c&&d&&Object.assign({},c,{issue:d})}))}))},qH=function(a,b,c){return a.poke(b,c).then(function(){return(0,E.firstValueFrom)(pH(a,b))})},Zfc=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)};
oH.prototype.fetchOne=function(a){var b=this;this.issueFridge.setIsGetting(a);return this.observableIssueResources.getIssue(a).pipe(Ue(function(c){(null==c?0:c.issue)&&b.issueFridge.announce(c.issue);b.issueFridge.clearIsGetting(a)}),D(function(c){return c&&jza(c)}),Ce(function(c){b.issueFridge.clearIsGetting(a);return(0,E.throwError)(c)}))};oH.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete()};oH.prototype.copy=function(a){return a&&Object.assign({},a)};
oH.\u0275fac=function(a){return new (a||oH)(u(lE),u(lH))};oH.\u0275prov=qc({token:oH,factory:oH.\u0275fac,providedIn:"root"});var rH={},$fc=(rH.BUG="BUG",rH.FEATURE_REQUEST="FEATURE_REQUEST",rH.CUSTOMER_ISSUE="CUSTOMER_ISSUE",rH.INTERNAL_CLEANUP="INTERNAL_CLEANUP",rH.PROCESS="PROCESS",rH.VULNERABILITY="VULNERABILITY",rH.PRIVACY_ISSUE="PRIVACY_ISSUE",rH.EPIC="STORY",rH.STORY="TASK",rH.TASK="TASK",rH.PROJECT="TASK",rH.FEATURE="TASK",rH.MILESTONE="TASK",rH);var sH=function(a,b,c){PE.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=Mh;this.activeMoveOperation$=new E.BehaviorSubject(new Set);this.defaultQuery={type:"descendants",depth:1};this.assignParentToIssues=lza(function(e,g){return agc(d,e,g)});this.assignParentToOneIssue=function(e,g){return agc(d,String(e),[{issueId:g}])};
this.moveChildrenInAPI=kza(function(e){return d.moveChildrenInAPISequentially(e)});this.moveChildrenInAPISequentially=lza(function(e){var g,h,l,q,x,A,B,K,N,P,Y,X,ka,ma,za,Ba,Ma,Sa,Ua,Lb,qb,Ya,wa,Ka,Na,fb;return he(function(bb){switch(bb.nextAddress){case 1:h=sza(e);if(0===h.length)return bb.return();l=h.map(function(Tc){return Tc.issues.map(function(hb){return hb.parentId})}).flat();q=h.map(function(Tc){return Tc.newParentId});x=rl([].concat(Vc(l),Vc(q)));A=k(x);for(B=A.next();!B.done;B=A.next())K=
B.value,d.setIsSaving(K);ie(bb,2);N=k(h);P=N.next();case 4:if(P.done){ms(bb,3);break}Y=P.value;X={};ka=k(Y.newRelations);ma=ka.next();case 7:if(ma.done){P=N.next();bb.jumpTo(4);break}X.$jscomp$loop$prop$newRelation$2295=ma.value;za=Y.issues.find(function(Tc){return function(hb){return hb.issueId===Tc.$jscomp$loop$prop$newRelation$2295.targetIssueId}}(X)).parentId;if(Y.newParentId===za)return Ma=void 0,bb.yield((0,E.firstValueFrom)(d.issueRelationshipService.update(Y.newParentId,1,oE(ubc(new nE,null!=
(Ma=ji(X.$jscomp$loop$prop$newRelation$2295.afterIssueId))?Ma:0),Number(X.$jscomp$loop$prop$newRelation$2295.targetIssueId)))),8);Ba=void 0;return bb.yield((0,E.firstValueFrom)(d.issueRelationshipService.create(Y.newParentId,1,oE(ubc(new nE,null!=(Ba=ji(X.$jscomp$loop$prop$newRelation$2295.afterIssueId))?Ba:0),Number(X.$jscomp$loop$prop$newRelation$2295.targetIssueId)))).catch(function(Tc){var hb,yb;if(!(null==Tc?0:null==(hb=Tc.error)?0:null==(yb=hb.details)?0:yb.includes("ALREADY_EXISTS")))throw Tc;
}),12);case 12:return bb.yield((0,E.firstValueFrom)(d.issueRelationshipService.delete(za,1,X.$jscomp$loop$prop$newRelation$2295.targetIssueId)),8);case 8:X={$jscomp$loop$prop$newRelation$2295:X.$jscomp$loop$prop$newRelation$2295};ma=ka.next();bb.jumpTo(7);break;case 2:g=Sa=le(bb);case 3:Ua=d.activeMoveOperation$.value;Lb=k(e.map(function(Tc){return Tc.eventTimestamps}).flat());for(qb=Lb.next();!qb.done;qb=Lb.next())Ya=qb.value,Ua.delete(Ya);d.activeMoveOperation$.next(Ua);wa=k(x);for(B=wa.next();!B.done;B=
wa.next())Ka=B.value,d.clearIsSaving(Ka);Promise.all(x.map(function(Tc){return d.poke(Tc)}));Na=k(h);for(P=Na.next();!P.done;P=Na.next())fb=P.value,g&&fb.done.reject(g),fb.done.resolve();me(bb)}})});this.refreshMonitor.getObservable().subscribe(function(){d.invalidate()})};U(sH,PE);
sH.prototype.fetchOne=function(a){var b=this;return bgc(this,function(){return b.issueRelationshipService.list(a,1).pipe(D(function(c){return{issueId:a,relatedChildren:c.map(qsa),totalChildCount:c.length}}),Ce(function(c){return Ql(c)&&403===c.status?(0,E.of)(void 0):(0,E.throwError)(c)}))})};
sH.prototype.fetchAll=function(a){var b=this;switch(a.type){case "descendants":var c,d=[].concat(Vc(null!=(c=a.ids)?c:[]));return 0===d.length?(0,E.of)({results:[]}):bgc(this,function(){return b.issueRelationshipService.getDescendants({issueIds:d,relationshipType:1,includeArchived:!!a.includeArchived,depthLimit:a.depth,prefixSizeLimit:500}).pipe(D(yta),D(function(e){return{results:e}}))});default:rh(a.type)}};sH.prototype.copy=function(a){return a&&Nh(a)};
var bgc=function(a,b){var c=function(){return a.activeMoveOperation$.pipe(ye(function(d){return 0===d.size}),Se(function(){return b()}),Se(function(d){return 0===a.activeMoveOperation$.value.size?(0,E.of)(d):c()}),Ge())};return c()},cgc=function(a,b){return a.watch(b).pipe(Se(function(c){return c&&c.totalChildCount===c.relatedChildren.length?(0,E.of)(c):a.watch(b,{trustMemory:!1})}))},dgc=function(a,b,c){return a.watchMany({type:"descendants",ids:new Set([b]),depth:void 0===c?100:c})},egc=function(a,
b){return a.pokeMany({type:"descendants",ids:new Set([b]),depth:3})};
sH.prototype.unlinkFromParent=function(a,b,c){c=void 0===c?!1:c;var d=this,e;return he(function(g){switch(g.nextAddress){case 1:QE(d.issueFridge,b,function(h){--h.childIssueCount});QE(d.issueFridge,a,function(h){h.parentIssueIds=h.parentIssueIds.filter(function(l){return l!==b})});QE(d,b,function(h){var l=h.relatedChildren;h.relatedChildren=rza(l,a);h.totalChildCount-=l.length-h.relatedChildren.length});if(c)return g.return();ie(g,2);return g.yield((0,E.firstValueFrom)(d.issueRelationshipService.delete(b,
1,a)),4);case 4:ms(g,0);break;case 2:return e=le(g),g.yield(Promise.all([d.poke(b),d.issueFridge.poke(b),d.issueFridge.poke(a)]),5);case 5:throw e;}})};
var agc=function(a,b,c){var d,e,g,h,l,q,x,A,B,K;return he(function(N){switch(N.nextAddress){case 1:d=[];e=[];g=[];if(0===c.length)return N.return({added:d,notAdded:e});h=fgc(a,b);l=c.map(function(P,Y){var X="-1"===P.afterIssueId?h:P.afterIssueId;return{targetIssueId:P.issueId,afterIssueId:Y?c[Y-1].issueId:X}});ggc(a,b,l);q=k(l);x=q.next();case 2:if(x.done){N.jumpTo(4);break}A=x.value;ie(N,5);B=void 0;return N.yield((0,E.firstValueFrom)(a.issueRelationshipService.create(b,1,oE(ubc(new nE,null!=(B=
ji(A.afterIssueId))?B:0),Number(A.targetIssueId)))),7);case 7:d.push(A.targetIssueId);ms(N,3);break;case 5:K=le(N);if(!Ql(K))throw K;g.push(K);e.push(A.targetIssueId);case 3:x=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}:{}))}})},ggc=function(a,b,c){var d=0;QE(a,b,function(e){var g=qza(e.relatedChildren,c);d=g.length-e.relatedChildren.length;e.relatedChildren=g;e.totalChildCount+=d},{evenWhenInFlight:!0});
QE(a.issueFridge,b,function(e){e.childIssueCount+=d},{evenWhenInFlight:!0})},hgc=function(a,b,c){var d,e,g,h,l,q,x,A,B,K,N,P;return he(function(Y){if(1==Y.nextAddress)return d=[],e=[],g=[],0===c.length?Y.return({added:d,notAdded:e}):Y.yield(Promise.allSettled(c.map(function(X){return(0,E.firstValueFrom)(a.issueRelationshipService.create(X,1,oE(ubc(new nE,Number(fgc(a,X))),Number(b))))})),2);h=Y.yieldResult;l=k(h.entries());for(q=l.next();!q.done;q=l.next())x=q.value,A=k(x),B=A.next().value,K=A.next().value,
N=B,P=K,"fulfilled"===P.status&&d.push(c[N]),"rejected"===P.status&&(e.push(c[N]),g.push(P.reason));Promise.all(c.map(function(X){return a.poke(X)}));return Y.return({added:d,notAdded:e,errors:g})})},igc=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$2297:g.$jscomp$loop$prop$issue$2297},l=h.next())g.$jscomp$loop$prop$issue$2297=l.value,QE(a,g.$jscomp$loop$prop$issue$2297.parentId,
function(ka){return function(ma){ma.relatedChildren=rza(ma.relatedChildren,ka.$jscomp$loop$prop$issue$2297.issueId);--ma.totalChildCount}}(g));var q=void 0,x;if(null==(x=b.position)?0:x.issueId){var A;if("after"===(null==(A=b.position)?void 0:A.position))q=b.position.issueId;else{var B;if("before"===(null==(B=b.position)?void 0:B.position)){var K,N;g=null!=(N=null==(K=a.memory.getData(d))?void 0:K.relatedChildren)?N:[];K=k(g.entries());for(N=K.next();!N.done;N=K.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 P=c.map(function(ka,ma){return{targetIssueId:ka.issueId,afterIssueId:ma?c[ma-1].issueId:q}});void 0!==gcc(a,d)?QE(a,d,function(ka){ka.relatedChildren=qza(ka.relatedChildren,P);ka.totalChildCount+=P.length},{evenWhenInFlight:!0}):a.announce({issueId:d,relatedChildren:qza([],P),totalChildCount:P.length});b=new awa;var Y,X;a.moveChildrenInAPI({newParentId:d,newRelations:P,issues:c,eventTimestamps:[e],
newParentChildrenSnapshot:null!=(X=null==(Y=a.memory.getData(d))?void 0:Y.relatedChildren)?X:[],done:b});return b.promise},fgc=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"};sH.\u0275fac=function(a){return new (a||sH)(u(AE),u(lH),u(jH))};sH.\u0275prov=qc({token:sH,factory:sH.\u0275fac,providedIn:"root"});var tH=function(a){RE.call(this);this.observableAccessResources=a;this.recordType="permissions"};U(tH,RE);tH.prototype.fetchOne=function(a){return this.fetchSet([a]).pipe(D(function(b){return k(b).next().value}))};
tH.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(D(function(e){return a.map(function(g){return Object.assign({},e[g],{id:g})})}))};tH.\u0275fac=function(a){return new (a||tH)(u(sF))};tH.\u0275prov=qc({token:tH,factory:tH.\u0275fac,providedIn:"root"});var jgc={results:[]},uH=function(a){RE.call(this);this.savedSearchResources=a;this.recordType="savedSearch";this.idKey="searchId"};U(uH,RE);uH.prototype.fetchAll=function(a){if("me"===a.parent)return this.savedSearchResources.getUserSavedSearches().pipe(D(function(b){return{results:b}}));zh("Unsupported query for Fridge['"+this.recordType+"']",a);return(0,E.of)(jgc)};uH.\u0275fac=function(a){return new (a||uH)(u(PG))};uH.\u0275prov=qc({token:uH,factory:uH.\u0275fac,providedIn:"root"});var kgc=function(a,b){this.rawGet=a;this.cacheSize=b;this.lruCache=new DG(this.cacheSize,!0,function(c,d){d.subscription.unsubscribe()})};kgc.prototype.get=function(a){var b=this;return new E.Observable(function(c){var d=b.lruCache.get(a);d||(d=lgc(b,a));return d.obs$.subscribe(c)})};
var lgc=function(a,b){var c=a.rawGet(b).pipe(Pe({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 mgc(c,d);a.lruCache.set(b,c);return c},mgc=function(a,b){this.obs$=a;this.subscription=b};var vH=function(a){r.call(this,a,0,vH.messageId)};U(vH,r);vH.prototype.setTeamIdsList=function(a){return kj(this,1,a)};vH.repeatedFields_=[1];vH.prototype.toObject=function(){if(null!=this){t(this);var a={teamIdsList:p(Hh(this,1))}}else a=void 0;return a};vH.messageId="b.BatchChildTeamsRequest";var ngc=function(a){r.call(this,a)};U(ngc,r);ngc.repeatedFields_=[1];ngc.prototype.toObject=function(){return ogc(this)};var ogc=function(a){if(null!=a)return t(a),{teamSummariesList:Kb(aj(a,P$b,1),Q$b)}};var pgc=function(a){r.call(this,a,0,pgc.messageId)};U(pgc,r);pgc.prototype.toObject=function(){if(null!=this){t(this);var a={childTeamsMap:Ob(Vj(this,1,ngc),ogc)}}else a=void 0;return a};pgc.messageId="b.BatchChildTeamsResponse";var wH=function(a){r.call(this,a,0,wH.messageId)};U(wH,r);wH.prototype.toObject=function(){if(null!=this){t(this);var a={teamsMap:Ob(Vj(this,1,OD),M$b)}}else a=void 0;return a};wH.messageId="b.BatchGetTeamsResponse";var xH=function(a){r.call(this,a,0,xH.messageId)};U(xH,r);xH.prototype.getTeamSuggestionsList=function(){return aj(this,N$b,1)};xH.prototype.setTeamSuggestionsList=function(a){dj(this,1,a)};xH.repeatedFields_=[1];xH.prototype.toObject=function(){if(null!=this){t(this);var a={teamSuggestionsList:Kb(this.getTeamSuggestionsList(),O$b)}}else a=void 0;return a};xH.messageId="b.TeamSuggestionResult";var yH=function(a){r.call(this,a,0,yH.messageId)};U(yH,r);yH.prototype.getTeamId=function(){return yi(this,1)};yH.prototype.setTeamId=function(a){return n(this,1,a)};yH.prototype.toObject=function(){if(null!=this){t(this);var a={teamId:p(m(this,1)),sloMetadata:L$b(Z(this,Mj,2))}}else a=void 0;return a};yH.messageId="b.UpdateTeamSloRequest";var zH=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 kgc(function(e){return d.batchAdaptedGet(e)},100)};zH.prototype.get=function(a){return this.executor.get({url:"action/teams/"+a,responseConstructor:OD}).pipe(D(Tsa))};zH.prototype.getTeam=function(a){return this.memoizingTeamStateMap.get(a)};
var AH=function(a,b){return a.getTeam(b).pipe(D(function(c){return null!=c?c:tza(b)}),Ce(function(){return(0,E.of)(tza(b))}))},qgc=function(a,b){b=b.filter(function(c){return"0"!==c}).map(function(c){return a.getTeam(c)});return(0,E.forkJoin)(b).pipe(D(function(c){var d=new Map;c=k(c);for(var e=c.next();!e.done;e=c.next())(e=e.value)&&d.set(e.teamId,e);return d}))};
zH.prototype.getChildTeams=function(a){a=(new vH).setTeamIdsList(a);return this.executor.post({url:"action/child_teams",body:a,responseConstructor:pgc}).pipe(D(function(b){b=[].concat(Vc(Vj(b,1,ngc).entries()));return new Map(b.map(function(c){var d=k(c);c=d.next().value;d=d.next().value;return[c,aj(d,P$b,1).map(Rsa)]}))}))};
var BH=function(a,b){return a.executor.get({url:"action/suggest_teams",options:{params:{query:b}},responseConstructor:xH}).pipe(D(function(c){return c.getTeamSuggestionsList().map(Xsa)}))},rgc=function(a,b,c){return"0"===b?(0,E.of)(!1):a.memoizingTeamStateMap.get(b).pipe(D(function(d){return void 0!==(null==d?void 0:d.members.find(function(e){return e&&ei(e.user)===c}))}))},sgc=function(a,b){return a.executor.get({url:"action/teams",options:{params:{teamIds:b.join(","),view:"full"}},responseConstructor:wH}).pipe(Ce(function(){return(0,E.of)(new wH)}),
D(function(c){return new Map(Array.from(Vj(c,1,OD).entries()).map(function(d){var e=k(d);d=e.next().value;e=e.next().value;return[d,gj(e,9)]}))}))};
zH.prototype.updateTeam=function(a){var b=new OD;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(ji).filter(pi));Fi(b,6,a.collapsedPathNames);var d;b.setMembersList(null==(d=a.members)?void 0:d.map(Usa));b.setDeleted(a.deleted);n(b,9,a.estimatedComponentCount);b.setSlo(Vsa(a.slo));null!=a.sloLead&&(c=hi(a.sloLead),Yi(b,gi,12,c));null!=a.defaultSloLead&&(c=hi(a.defaultSloLead),
Yi(b,gi,13,c));return this.executor.post({url:"action/teams/"+a.teamId,body:b,responseConstructor:OD}).pipe(D(Tsa))};zH.\u0275fac=function(a){return new (a||zH)(u(LC),u(CH),u($E))};zH.\u0275prov=qc({token:zH,factory:zH.\u0275fac,providedIn:"root"});var CH=function(a){this.executor=a};CH.prototype.call=function(a){return this.executor.get({url:"action/teams",options:{params:{teamIds:[].concat(Vc(a)).join(",")}},responseConstructor:wH}).pipe(Ce(function(){return(0,E.of)(new wH)}))};
CH.prototype.split=function(a,b){return(a=Vj(b,1,OD).get(a))?Tsa(a):void 0};CH.\u0275fac=function(a){return new (a||CH)(u(LC))};CH.\u0275prov=qc({token:CH,factory:CH.\u0275fac,providedIn:"root"});var DH=function(a){PE.call(this);this.teamsApi=a;this.defaultQuery={};this.recordType="TeamDigest";this.idForRecord=function(b){var c;return null!=(c=b.teamId)?c:"NO_ID"}};U(DH,PE);DH.prototype.fetchAll=function(a){if(a.myTeams)return BH(this.teamsApi,"").pipe(D(function(b){b=void 0===b?[]:b;return{results:b}}));throw Error("Hc");};DH.\u0275fac=function(a){return new (a||DH)(u(zH))};DH.\u0275prov=qc({token:DH,factory:DH.\u0275fac,providedIn:"root"});var EH=function(a){RE.call(this);this.teamsApi=a;this.recordType="team";this.idForRecord=function(b){return b.teamId}};U(EH,RE);EH.prototype.fetchOne=function(a){return"0"===a?(0,E.of)(void 0):this.teamsApi.getTeam(a).pipe(Ce(function(){return(0,E.of)(void 0)}))};EH.prototype.fetchSet=function(a){var b=this;return(0,E.combineLatest)(a.map(function(c){return b.fetchOne(c)})).pipe(D(function(c){return c.filter(pi)}))};EH.\u0275fac=function(a){return new (a||EH)(u(zH))};
EH.\u0275prov=qc({token:EH,factory:EH.\u0275fac,providedIn:"root"});var FH=function(a){r.call(this,a,0,FH.messageId)};U(FH,r);FH.prototype.getTrackersList=function(){return aj(this,ll,1)};FH.repeatedFields_=[1];FH.prototype.toObject=function(){if(null!=this){t(this);var a={trackersList:Kb(this.getTrackersList(),Y$b)}}else a=void 0;return a};FH.messageId="b.BatchGetTrackersResponse";var GH=function(a){r.call(this,a,0,GH.messageId)};U(GH,r);GH.prototype.getTrackersList=function(){return aj(this,ll,1)};GH.prototype.getNextPageToken=function(){return V(this,2)};GH.prototype.getTotalSize=function(){return Gh(this,3)};GH.repeatedFields_=[1];GH.prototype.toObject=function(){if(null!=this){t(this);var a={trackersList:Kb(this.getTrackersList(),Y$b),nextPageToken:p(m(this,2)),totalSize:p(Os(this,3))}}else a=void 0;return a};GH.messageId="b.ListTrackersResponse";var HH=function(a){this.jspbExecutor=a};HH.prototype.get=function(a){return this.jspbExecutor.get({url:"action/trackers/"+a,responseConstructor:ll}).pipe(D(Qta))};HH.prototype.batchGet=function(a){return this.jspbExecutor.get({url:"action/trackers/batch",responseConstructor:FH,options:{params:{trackerIds:a}}}).pipe(D(Rta))};
HH.prototype.query=function(a,b,c){return this.jspbExecutor.get({url:"action/trackers",responseConstructor:GH,options:{params:{query:a,pageSize:String(b),pageToken:void 0===c?"":c}}}).pipe(D(Sta))};HH.\u0275fac=function(a){return new (a||HH)(u(LC))};HH.\u0275prov=qc({token:HH,factory:HH.\u0275fac,providedIn:"root"});var IH=function(a,b){RE.call(this,{freshUntil:36E5,ancientAfter:2592E5});this.trackerApi=a;this.activeSession=b;this.recordType="tracker";this.idKey="trackerId";(a=this.activeSession.getTracker())&&this.announce(a)};U(IH,RE);IH.prototype.fetchOne=function(a){return this.trackerApi.get(a)};IH.prototype.fetchSet=function(a){return this.trackerApi.batchGet(a)};
IH.prototype.fetchAll=function(a){var b,c;return this.trackerApi.query(null!=(b=a.filter)?b:"",null!=(c=a.pageSize)?c:0,a.pageToken).pipe(D(function(d){var e;return{results:null!=(e=null==d?void 0:d.trackers)?e:[]}}))};IH.\u0275fac=function(a){return new (a||IH)(u(HH),u(gs))};IH.\u0275prov=qc({token:IH,factory:IH.\u0275fac,providedIn:"root"});var JH=function(a){this.issueFridge=a},tgc=function(a,b,c){c=void 0===c?!1:c;if(null==b)return(0,E.of)([]);var d="(assignee:"+b+" OR reporter:"+b+") t:(bug | customer_issue | feature | feature_request | story | task | internal_cleanup | process) modified:90d status:open";c&&(d="(assignee:"+b+" OR reporter:"+b+") t:(bug | customer_issue | feature | feature_request | story | task | internal_cleanup | process)\n      modified:90d status:(open | fixed | verified)");return a.issueFridge.watchMany({filter:d,
pageSize:50,sort:"modified_time:desc"}).pipe(D(function(e){return e.results}))},ugc=function(a){var b=Ll();return a.issueFridge.watchMany({filter:Jl()!==Kl?"(assignee:"+b+" OR reporter:"+b+" OR commenter:"+b+") status:open modified:30d":"(assignee:"+b+" OR reporter:"+b+" OR commenter:"+b+" OR star:true) status:open modified:30d",pageSize:50,sort:"modified_time:desc"}).pipe(D(function(c){return c.results}))},vgc=function(a){return a.issueFridge.watchMany({filter:"assignee:"+Ll()+" status:open modified:30d",
pageSize:50,sort:"modified_time:desc"}).pipe(D(function(b){return b.results}))};JH.\u0275fac=function(a){return new (a||JH)(u(lH))};JH.\u0275prov=qc({token:JH,factory:JH.\u0275fac,providedIn:"root"});var KH=function(a){var b=this;this.queryIssuesService=a;this.issuesFromQuery$=(0,E.defer)(function(){return tgc(b.queryIssuesService,Ll(),!0)});this.suggestedHotlists$=this.issuesFromQuery$.pipe(D(this.fetchHotlistsFromIssues.bind(this)))};
KH.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 wgc(b)};
var wgc=function(a){return new Map([].concat(Vc(a.entries())).sort(function(b,c){return c[1].confidence-b[1].confidence}))};KH.prototype.calculateConfidence=function(a){var b=0,c=Ll(),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,x;d=(null==(l=a.snapshot[0])?void 0:null==(q=l.reporterUser)?void 0:null==(x=q.emailAddress)?void 0:x.split("@")[0])===c;h&&(b+=5);d&&(b+=3);return b=yl(a)?b+2:b+1};
KH.\u0275fac=function(a){return new (a||KH)(u(JH))};KH.\u0275prov=qc({token:KH,factory:KH.\u0275fac,providedIn:"root"});var xgc=function(a){r.call(this,a)};U(xgc,r);f=xgc.prototype;f.getIssueId=function(){return yi(this,1)};f.setIssueId=function(a){return n(this,1,a)};f.getComment=function(){return V(this,2)};f.setComment=function(a){n(this,2,a)};f.getFormattingMode=function(){return W(this,3,0)};f.setFormattingMode=function(a){return n(this,3,a)};f.getContentJudgement=function(){return Z(this,zi,4)};f.setContentJudgement=function(a){return Yi(this,zi,4,a)};
f.toObject=function(){if(null!=this){t(this);var a={issueId:p(m(this,1)),comment:p(m(this,2)),formattingMode:p(kr(this,3)),contentJudgement:$C(this.getContentJudgement())}}else a=void 0;return a};var ygc=function(a){r.call(this,a,0,ygc.messageId)};U(ygc,r);f=ygc.prototype;f.getType=function(){return W(this,1,0)};f.setType=function(a){return n(this,1,a)};f.hasType=function(){return fj(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(kr(this,1)),pageSize:p(Os(this,2)),pageToken:p(m(this,3))}}else a=void 0;return a};ygc.messageId="b.ListCommentReactionRespondersRequest";var tk=function(a){r.call(this,a,0,tk.messageId)};U(tk,r);tk.prototype.getCreatedTime=function(){return Z(this,Ch,2)};tk.prototype.toObject=function(){return zgc(this)};var zgc=function(a){if(null!=a)return t(a),{responder:WC(Z(a,gi,1)),createdTime:yt(a.getCreatedTime())}};tk.messageId="b.CommentReactionResponder";var LH=function(a){r.call(this,a,0,LH.messageId)};U(LH,r);LH.prototype.getNextPageToken=function(){return V(this,2)};LH.prototype.getTotalSize=function(){return Gh(this,3)};LH.repeatedFields_=[1];LH.prototype.toObject=function(){if(null!=this){t(this);var a={respondersList:Kb(aj(this,tk,1),zgc),nextPageToken:p(m(this,2)),totalSize:p(Os(this,3))}}else a=void 0;return a};LH.messageId="b.ListCommentReactionRespondersResponse";var MH=function(a){r.call(this,a,0,MH.messageId)};U(MH,r);MH.prototype.getIssueCommentsList=function(){return aj(this,HD,1)};MH.repeatedFields_=[1];MH.prototype.toObject=function(){if(null!=this){t(this);var a={issueCommentsList:Kb(this.getIssueCommentsList(),z$b)}}else a=void 0;return a};MH.messageId="b.ListIssueCommentHistoryResponse";var Agc=function(a){r.call(this,a)};U(Agc,r);f=Agc.prototype;f.getIssueId=function(){return yi(this,1)};f.setIssueId=function(a){return n(this,1,a)};f.getCommentNumber=function(){return Gh(this,2)};f.setCommentNumber=function(a){return n(this,2,a)};f.getComment=function(){return V(this,3)};f.setComment=function(a){n(this,3,a)};f.getFormattingMode=function(){return W(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(Os(this,2)),comment:p(m(this,3)),formattingMode:p(kr(this,4))}}else a=void 0;return a};var NH=function(){};NH.\u0275fac=function(a){return new (a||NH)};NH.\u0275prov=qc({token:NH,factory:NH.\u0275fac,providedIn:"root"});var OH=function(a){this.executor=a};f=OH.prototype;f.get=function(a,b,c){var d={};c&&(d["X-Restricted-Content-Limit"]=String(Wqa(c)));return this.executor.get({url:"action/issues/"+a+"/comment/"+b,options:{headers:d},responseConstructor:HD}).pipe(D(lk))};
f.create=function(a,b,c,d,e){var g={};e&&(g["G-Recaptcha-Response-Token"]=e);e=new xgc;e.setIssueId(a);e.setComment(b);e.setFormattingMode(Gta(c));d&&e.setContentJudgement(Zqa(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 Agc;e.setIssueId(a);e.setCommentNumber(b);e.setComment(c);e.setFormattingMode(Gta(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:HD}).pipe(D(lk))};f.listHistory=function(a,b){return this.executor.get({url:"action/issues/"+a+"/comment/"+b+"/history",responseConstructor:MH}).pipe(D(Jta))};
f.updateCommentReaction=function(a){var b=a.issueId,c=a.commentId,d=a.reactionType;a=a.hasReacted;var e;d=(new DD).addReactionStates((new CD).setType(null!=(e=R8b[d])?e:0).setHasReacted(a));return this.executor.post({url:"action/issues/"+b+"/comment/"+c+"/updateReaction",body:d,responseConstructor:DD}).pipe(D(Ita))};
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 ygc).setType(null!=(g=R8b[d])?g:0).setPageSize(a);e&&d.setPageToken(e);return this.executor.post({url:"action/issues/"+b+"/comment/"+c+"/listReactionResponders",body:d,responseConstructor:LH}).pipe(D(Mta))};OH.\u0275fac=function(a){return new (a||OH)(u(LC))};OH.\u0275prov=qc({token:OH,factory:OH.\u0275fac,providedIn:"root"});
var PH=function(a){this.observableApi=a};U(PH,NH);f=PH.prototype;f.get=function(a,b,c){return(0,E.firstValueFrom)(this.observableApi.get(a,b,c))};f.create=function(a,b,c,d,e){return(0,E.firstValueFrom)(this.observableApi.create(a,b,c,d,e))};f.update=function(a,b,c,d,e){return(0,E.firstValueFrom)(this.observableApi.update(a,b,c,d,e))};f.delete=function(a,b,c,d){return(0,E.firstValueFrom)(this.observableApi.delete(a,b,c,d))};
f.undelete=function(a,b,c){return(0,E.firstValueFrom)(this.observableApi.undelete(a,b,c))};f.listHistory=function(a,b){return(0,E.firstValueFrom)(this.observableApi.listHistory(a,b))};f.updateCommentReaction=function(a){return(0,E.firstValueFrom)(this.observableApi.updateCommentReaction(a))};f.listCommentReactionResponders=function(a){return(0,E.firstValueFrom)(this.observableApi.listCommentReactionResponders(a))};PH.\u0275fac=function(a){return new (a||PH)(u(OH))};
PH.\u0275prov=qc({token:PH,factory:PH.\u0275fac,providedIn:"root"});var QH=function(a,b){this.teamDigestFridge=a;this.activeSession=b;this.destroyed$=new E.Subject;this.email=this.activeSession.getUserEmail();this.user=ii(this.activeSession.getUserEmail());this.isInternal=this.activeSession.isInternalSession();this.teams$=this.teamDigestFridge.watchMany({myTeams:!0}).pipe(D(function(c){return c.results}));this.teams$.pipe(D(function(c){return c.map(function(d){return d.teamId})}));this.allTeamIds$=this.teams$.pipe(D(function(c){return c.flatMap(function(d){return d.pathIds})}),
D(function(c){return[].concat(Vc(new Set(c))).filter(pi)}));this.allTeamIdsSubject$=Um(this.allTeamIds$.pipe(Te(this.destroyed$)),[])};QH.prototype.ngOnDestroy=function(){this.destroyed$.next()};hh.Object.defineProperties(QH.prototype,{allTeamIds:{configurable:!0,enumerable:!0,get:function(){return this.allTeamIdsSubject$.value}}});QH.\u0275fac=function(a){return new (a||QH)(u(DH),u(gs))};QH.\u0275prov=qc({token:QH,factory:QH.\u0275fac,providedIn:"root"});var Bgc="QA"===ml().config.environmentType?412808:1294964,Iua=[9019942154,9327443891,1953099861400,1292819114016,1525660445733],RH=function(a,b,c,d,e){var g=this;this.issueApi=a;this.issueCommentsApi=b;this.currentUser=c;this.issueRelationshipsFridge=d;this.issueRelationshipService=e;this.prefs$=new E.BehaviorSubject(void 0);this.issue$=new E.BehaviorSubject(void 0);this.projectIds$=this.prefs$.pipe(D(function(h){return null==h?void 0:h.id}),Se(this.issueRelationshipsFridge.watch),D(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),Cgc(g)):console.error("UNHANDLED: Couldn't save hackypref",h)}};RH.prototype.init=function(a,b){a=void 0===a?Kl:a;var c=this;return he(function(d){c.ldap=a;c.pendingCfgBundleName=b;return d.yield(Dgc(c),0)})};var Dgc=function(a){return he(function(b){return b.yield(Egc(a),0)})};
RH.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(){Fgc(b,c)}).catch(this.onSaveError))};
var ep=function(a,b){a.save(Object.assign({},a.prefs,b))},Cgc=function(a){var b,c,d,e,g;he(function(h){if(1==h.nextAddress){b=a.prefs.id;if(null==b)return h.return();d=null!=(c=Vm(a.projectIds$))?c:[];return h.yield(Ggc(a),2)}e=h.yieldResult;a.prefs.id=e;a.save(a.prefs);g=d.map(Number).map(function(l){return oE(new nE,l)});Cbc(a.issueRelationshipService,e,g).subscribe();return h.yield(Hgc(a,b),0)})},Hgc=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"}]})};RH.prototype.toggleCollapsed=function(a){this.prefs.collapsed[a]=!this.prefs.collapsed[a];this.save(this.prefs)};
var Fgc=function(a,b){var c;return he(function(d){if(1==d.nextAddress)return d.yield(a.issueApi.getIssue(b),2);c=d.yieldResult;Igc(a,c);me(d)})},Igc=function(a,b){var c,d,e,g,h,l,q,x;he(function(A){if(1==A.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 A.yield(Jgc(a),
2)}q=A.yieldResult;x=Object.assign({},q,h,{id:c});a.prefs$.next(x);var B=a.pendingCfgBundleName;if(null!=B){var K=wcc[B];a.pendingCfgBundleName=void 0;null==K?console.error('No config bundle found named "'+B+'"'):ep(a,K)}me(A)})},Egc=function(a){var b;return he(function(c){switch(c.nextAddress){case 1:return c.yield(Kgc(a),2);case 2:b=c.yieldResult;if(null!=b){c.jumpTo(3);break}return c.yield(Ggc(a),4);case 4:b=c.yieldResult;case 3:return c.yield(Fgc(a,b),0)}})},Kgc=function(a){var b,c,d,e;return he(function(g){if(1==
g.nextAddress)return c=null!=(b=a.ldap)?b:Kl,null==c?g.return():g.yield(Lgc(a,c),2);d=g.yieldResult;return g.return(null==(e=d)?void 0:e.issueId)})},Lgc=function(a,b){var c,d,e,g;return he(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])})},Ggc=function(a){var b,c,d,e,g,h;return he(function(l){if(1==
l.nextAddress){c=null!=(b=a.ldap)?b:Kl;if(null==c)return console.error("createConfigIssue() needs an ldap to make an issue"),l.return("");d={snapshot:{title:"__experimental config__ for "+c,componentId:Bgc,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)})},Jgc=function(a){var b;return he(function(c){0<a.currentUser.allTeamIds.length?(b=a.currentUser.allTeamIds.map(Number),b=Jua(b)):console.warn("No team ids found on currentUser");return c.return(Object.assign({},vcc,{teamIds:b}))})};RH.prototype.getPinned=function(){var a;return null!=(a=this.prefs.pinned)?a:[]};
var sn=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)},Jo=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)}},Io=function(a,b,c){var d=a.prefs;if(null!=d.pinned&&Ko(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)}},Ko=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},Mgc=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)};
hh.Object.defineProperties(RH.prototype,{prefs:{configurable:!0,enumerable:!0,get:function(){var a;return null!=(a=this.prefs$.value)?a:ucc}}});RH.\u0275fac=function(a){return new (a||RH)(u(mE),u(NH),u(QH),u(sH),u(AE))};RH.\u0275prov=qc({token:RH,factory:RH.\u0275fac,providedIn:"root"});var SH=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="("+uza(this.currTeamIds)+") (created<"+vza()+") -status:(duplicate | infeasible | intended_behavior | not_reproducible | obsolete)";this.recentTeamIssues$=(0,E.timer)(1,11E3).pipe(Se(function(){return e.issueFridge.watchMany({filter:e.currTeamIssuesFilter,
sort:"modified_time:desc",pageSize:20})}),D(function(h){return h.results}));this.teamObjects$=this.teamFridge.watchSet(this.currTeamIds);this.noChangeEvents$=this.recentTeamIssues$.pipe(D(function(h){return e.getNoChangeEvents(h)}));this.changedIssues$=this.recentTeamIssues$.pipe(D(function(h){return Lva(h,e.lastModifiedIssueTimestampMap)}));this.eventsForUpdatedIssues$=this.changedIssues$.pipe(D(function(h){return h.map(function(l){return l.issueId})}),Se(this.eventsForIssueFridge.watchSet));this.allRecentTeamEvents$=
(0,E.combineLatest)([this.noChangeEvents$,this.eventsForUpdatedIssues$]).pipe(D(function(h){var l=k(h);h=l.next().value;l=l.next().value;for(var q=k(l),x=q.next();!x.done;x=q.next())x=x.value,e.issuesToEventsMap.set(x.id,x);return[].concat(Vc(h),Vc(l))}),ye(pi));this.interestingEventsForTeamActivity$=(0,E.combineLatest)([this.teamObjects$,this.allRecentTeamEvents$]).pipe(D(function(h){var l=k(h);h=l.next().value;l=l.next().value;return e.filterAllEventsToRecentActivity(h,l)}))};
SH.prototype.getInterestingEventType=function(a,b){if(b.modifiedDate<(new Date(Date.now()-3456E5)).getTime())return"";if(Ngc(a,b.userPerformingActionUser)&&(0<b.preDiffs.length||0<b.postDiffs.length)){a=[].concat(Vc(b.preDiffs),Vc(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 Cl(b)?"changelist":ul(b)&&b.isHumanAuthor?"comment":""};
var Ngc=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&&ei(d.user)===ei(b)}))return!0;return!1};
SH.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};
SH.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};SH.\u0275fac=function(a){return new (a||SH)(u(lH),u(RH),u(SE),u(EH))};SH.\u0275prov=qc({token:SH,factory:SH.\u0275fac,providedIn:"root"});var TH=function(a,b){var c=this;this.queryIssuesService=a;this.eventsForIssueFridge=b;this.lastModifiedIssueTimestampMap=new Map;this.issuesToEventsMap=new Map;this.ldap=Ll();this.issuesFromQuery$=(0,E.defer)(function(){return tgc(c.queryIssuesService,c.ldap)});this.changedIssues$=this.issuesFromQuery$.pipe(D(function(d){return Lva(d,c.lastModifiedIssueTimestampMap)}));this.eventsForUpdatedIssues$=this.changedIssues$.pipe(D(function(d){return d.map(function(e){return e.issueId})}),Se(function(d){return(0,E.combineLatest)(d.map(function(e){return c.eventsForIssueFridge.watch(e,
{trustUncertainMemory:!0})}))}),ye(pi));this.suggestedIssues$=(0,E.combineLatest)([this.issuesFromQuery$,this.eventsForUpdatedIssues$]).pipe(Se(function(d){d=k(d);var e=d.next().value;d=d.next().value;d=k(d);for(var g=d.next();!g.done;g=d.next())g=g.value,null!=g&&c.issuesToEventsMap.set(g.id,g);d=E.of;var h=e;if(h&&0!==h.length&&null!=c.ldap){50<h.length&&(console.warn("truncating search to the first SUGGESTED_ISSUE_LIMIT issues"),h=h.slice(0,50));e=c.ldap;if(h&&0!==h.length){g=[];h=k(h);for(var l=
h.next();!l.done;l=h.next()){var q=l.value,x=q.snapshot[0].reporterUser,A=q.snapshot[0].assigneeUser;l=g;var B=l.push,K=q.issueId;x=null===x?0:c.getLdapFromUser(x)===e?1:0;A=null===A?0:c.getLdapFromUser(A)===e?1:0;var N=q.majorModifiedTimeMicros,P=c.getPriority(q);var Y=void 0;var X=e;var ka=0,ma=new Set,za=null==(Y=c.issuesToEventsMap.get(q.issueId))?void 0:Y.events;if(void 0!==za)for(Y=k(za),za=Y.next();!za.done;za=Y.next()){var Ba=za.value;if(ul(Ba)&&Ba.isHumanAuthor){var Ma=Ba.commentNumber;null===
Ma||ma.has(Ma)||(za=Ba.lastCommentEditorUser,null!=za&&(ma.add(Ma),Ba=Ba.unlinkifiedComment,za=c.getLdapFromUser(za),null!=Ba&&0<Ba.length&&za===X&&(ka+=1)))}}X=ka;za=void 0;ka=e;ma=0;Y=new Set;q=null==(za=c.issuesToEventsMap.get(q.issueId))?void 0:za.events;if(void 0!==q)for(q=k(q),za=q.next();!za.done;za=q.next())za=za.value,Cl(za)&&(Ba=za.commentNumber,null==Ba||Y.has(Ba)||(Y.add(Ba),El(za)===ka&&(ma+=1)));q=ma;B.call(l,{issueId:K,reporterStatus:x,assigneeStatus:A,lastModifiedTime:N,priority:P,
commentCountByUser:X,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,K=5-B.priority,x=B.lastModifiedTime,x=Math.abs(1E3*Date.now()-x)/864E8,l.call(h,{issueId:B.issueId,interest:K+(1>=x?4:7>=x?3:14>=x?2:30>=x?1:0)+2*B.commentCountByUser+2*B.clCountByUser+2*B.assigneeStatus+B.reporterStatus,priority:B.priority});g=[];Ogc(e);for(h=0;10>h;++h)g.push(e[h].issueId);e=g}else e=[];return d.call(E,e)}),Pe({refCount:!0,bufferSize:1}))};
TH.prototype.getLdapFromUser=function(a){return null!=a&&null!=a.emailAddress?a.emailAddress.split("@")[0]:null};TH.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 Ogc=function(a){a.sort(function(b,c){return b.interest===c.interest?b.priority-c.priority:c.interest-b.interest})};
TH.\u0275fac=function(a){return new (a||TH)(u(JH),u(SE))};TH.\u0275prov=qc({token:TH,factory:TH.\u0275fac,providedIn:"root"});var UH=function(a,b,c){this.issueFridge=a;this.eventsForIssueFridge=b;this.hotlistApi=c;this.lastModifiedIssueTimestampMap=new Map;this.issuesToEventsMap=new Map},Qgc=function(a,b){var c=(0,E.timer)(1,11E3).pipe(Se(function(){return a.issueFridge.watchMany({filter:"parentid:"+b+"+ OR id:"+b,sort:"modified_time:desc",pageSize:20})}),D(function(e){return e.results})),d=c.pipe(D(function(e){return a.getNoChangeEvents(e)}));c=c.pipe(D(function(e){return Pgc(a,e)})).pipe(D(function(e){return e.map(function(g){return g.issueId})}),
Se(a.eventsForIssueFridge.watchSet));return(0,E.combineLatest)([d,c]).pipe(D(function(e){var g=k(e);e=g.next().value;g=g.next().value;for(var h=k(g),l=h.next();!l.done;l=h.next())l=l.value,a.issuesToEventsMap.set(l.id,l);return[].concat(Vc(e),Vc(g))}),ye(pi),D(function(e){return a.filterAllEventsToRecentActivity(e)}))},Rgc=function(a,b){var c=(0,E.timer)(1,11E3).pipe(Se(function(){return a.hotlistApi.getPagedHotlistContent(b,1,20,[])}),D(function(e){return e.issues})),d=c.pipe(D(function(e){return a.getNoChangeEvents(e)}));
c=c.pipe(D(function(e){return Pgc(a,e)})).pipe(D(function(e){return e.map(function(g){return g.issueId})}),Se(a.eventsForIssueFridge.watchSet));return(0,E.combineLatest)([d,c]).pipe(D(function(e){var g=k(e);e=g.next().value;g=g.next().value;for(var h=k(g),l=h.next();!l.done;l=h.next())l=l.value,a.issuesToEventsMap.set(l.id,l);return[].concat(Vc(e),Vc(g))}),ye(pi),D(function(e){return a.filterAllEventsToRecentActivity(e)}))},Sgc=function(a,b){var c=(0,E.timer)(1,11E3).pipe(Se(function(){return a.issueFridge.watchMany({filter:"savedsearchid:"+
b,sort:"modified_time:desc",pageSize:20})}),D(function(e){return e.results})),d=c.pipe(D(function(e){return a.getNoChangeEvents(e)}));c=c.pipe(D(function(e){return Pgc(a,e)})).pipe(D(function(e){return e.map(function(g){return g.issueId})}),Se(a.eventsForIssueFridge.watchSet));return(0,E.combineLatest)([d,c]).pipe(D(function(e){var g=k(e);e=g.next().value;g=g.next().value;for(var h=k(g),l=h.next();!l.done;l=h.next())l=l.value,a.issuesToEventsMap.set(l.id,l);return[].concat(Vc(e),Vc(g))}),ye(pi),D(function(e){return a.filterAllEventsToRecentActivity(e)}))};
UH.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 Pgc=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};
UH.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};
UH.prototype.getInterestingEventType=function(a){if(a.modifiedDate<Date.now()-12096E5)return"";if(0<a.preDiffs.length||0<a.postDiffs.length){var b=[].concat(Vc(a.preDiffs),Vc(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 Cl(a)?"changelistFixed":"status"}}return Cl(a)?"changelist":ul(a)&&a.isHumanAuthor?"comment":""};
UH.\u0275fac=function(a){return new (a||UH)(u(lH),u(SE),u(IG))};UH.\u0275prov=qc({token:UH,factory:UH.\u0275fac,providedIn:"root"});var Tgc={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},Ugc={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},VH=function(a,b){this.issueFridge=a;this.issueRelationshipApi=b;this.parentToChildIssueIds=
new Map},Vgc=function(a){return a.issueFridge.watchMany({filter:"(assignee:"+Ll()+") t:(feature | feature_request | story | task | internal_cleanup | process) modified:90d parentId:any",pageSize:50,sort:"modified_time:desc"}).pipe(D(function(b){var c;return null!=(c=b.results)?c:[]}),se(a.findPossibleProjectIssueIds.bind(a)))};
VH.prototype.findPossibleProjectIssueIds=function(a){var b=this,c,d,e,g,h,l,q,x,A,B,K,N;return he(function(P){switch(P.nextAddress){case 1:if(!a||0===a.length)return P.return([]);c=[a[0]];for(d={$jscomp$loop$prop$g$2305:1};d.$jscomp$loop$prop$g$2305<a.length;d={$jscomp$loop$prop$g$2305:d.$jscomp$loop$prop$g$2305},d.$jscomp$loop$prop$g$2305++)c.some(function(Y){return function(X){return X.parentIssueIds[0]===a[Y.$jscomp$loop$prop$g$2305].parentIssueIds[0]}}(d))||c.push(a[d.$jscomp$loop$prop$g$2305]);
return P.yield(Wgc(b,c),2);case 2:e=[],g=0;case 3:if(!(g<c.length)){P.jumpTo(5);break}return P.yield(Xgc(b,c[g]),6);case 6:h=P.yieldResult;e.push.apply(e,Vc(h));g++;P.jumpTo(3);break;case 5:l=new Map;q=k(e);for(x=q.next();!x.done;x=q.next())A=x.value,A.isArchived||(A.confidence=b.calculateConfidence(A),l.has(A.issueId)&&(B=l.get(A.issueId),K=A,A.confidence=B.confidence>K.confidence?B.confidence:K.confidence),l.set(A.issueId,A));N=Array.from(l.values());N.sort(function(Y,X){return X.confidence-Y.confidence});
return P.return(N.filter(function(Y){return 0<Y.confidence}).map(function(Y){return Y.issueId}).slice(0,10))}})};
var Wgc=function(a,b){var c,d,e,g,h,l,q,x,A;return he(function(B){if(1==B.nextAddress)return c=b.filter(function(K){return K.parentIssueIds&&0<K.parentIssueIds.length}).map(function(K){return K.parentIssueIds[0]}),d=[].concat(Vc(c)),B.yield((0,E.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(K){return String(gj(K,1))}),a.parentToChildIssueIds.set(String(gj(q,
3)),g),d.push.apply(d,Vc(g));return B.yield((0,E.firstValueFrom)(a.issueFridge.watchSet(d)),3)}x=B.yieldResult;A=x.filter(function(K){return c.includes(K.issueId)});return 0<A.length?B.yield(Wgc(a,A),0):B.jumpTo(0)})},Xgc=function(a,b,c){c=void 0===c?[]:c;var d,e,g,h,l,q,x,A,B,K,N,P;return he(function(Y){switch(Y.nextAddress){case 1:var X=Object,ka=X.assign,ma=b.issueId,za=b.isArchived,Ba=Ygc(a,b)?1:0,Ma=(null!=(d=b.snapshot[0].changelist)?d:[]).length;var Sa=2592E9>1E3*Date.now()-b.majorModifiedTimeMicros;
e=ka.call(X,{},Tgc,{issueId:ma,issueIdChain:[],isArchived:za,issueNumAssignedOrReported:Ba,issueNumCls:Ma,issueNumRecentlyModified:Sa?1:0,issueChildrenCount:b.childIssueCount||0,issueNumOpen:yl(b)?1:0,issueNumClosed:yl(b)?0:1});g=a.parentToChildIssueIds.get(b.issueId)||[];if(!(0<g.length)){Y.jumpTo(2);break}l=k(g);q=l.next();case 3:if(q.done){Y.jumpTo(2);break}x=q.value;return Y.yield((0,E.firstValueFrom)(a.issueFridge.watchOne(x)),6);case 6:h=Y.yieldResult;if(!h){Y.jumpTo(4);break}e.directChildrenNumAssignedOrReported+=
Ygc(a,h)?1:0;A=void 0;e.directChildrenNumCls+=(null!=(A=h.snapshot[0].changelist)?A:[]).length;X=e.directChildrenNumRecentlyModified;ka=h;ka=2592E9>1E3*Date.now()-ka.majorModifiedTimeMicros;e.directChildrenNumRecentlyModified=X+(ka?1:0);e.directChildrenCount+=1;e.directChildrenNumOpen+=yl(h)?1:0;e.directChildrenNumClosed+=yl(h)?0:1;case 4:q=l.next();Y.jumpTo(3);break;case 2:B=k(c);for(K=B.next();!K.done;K=B.next())N=K.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?Y.yield((0,E.firstValueFrom)(a.issueFridge.watchOne(b.parentIssueIds[0])),
8):Y.return(c);case 8:return(P=Y.yieldResult)?Y.return(Xgc(a,P,c)):Y.return(c)}})};
VH.prototype.calculateConfidence=function(a){var b=void 0===b?Ugc: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 Ygc=function(a,b){var c=Ll(),d=a.getLdapFromUser(b.snapshot[0].assigneeUser);return a.getLdapFromUser(b.snapshot[0].reporterUser)===c||d===c};VH.prototype.getLdapFromUser=function(a){return null!=a&&null!=a.emailAddress?a.emailAddress.split("@")[0]:null};
VH.\u0275fac=function(a){return new (a||VH)(u(lH),u(AE))};VH.\u0275prov=qc({token:VH,factory:VH.\u0275fac,providedIn:"root"});var WH=function(){},Zgc=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""}};WH.\u0275fac=function(a){return new (a||WH)};
WH.\u0275cmp=Gc({type:WH,selectors:[["b-issue-priority-display"]],inputs:{issuePriority:"issuePriority"},decls:2,vars:2,consts:[[1,"p-chip",3,"ngClass"]],template:function(a,b){a&1&&(G(0,"span",0),R(1),H());a&2&&(F("ngClass",Zgc(b)),z(1),a=b.issuePriority,Df(" ",null==a?"--":Gbc[a]," "))},dependencies:[cw],styles:["/*# sourceMappingURL=issue_priority_display.css.map */"],changeDetection:0});var XH=function(a){r.call(this,a)};U(XH,r);XH.prototype.getDisplayName=function(){return V(this,1)};XH.prototype.setDisplayName=function(a){return n(this,1,a)};XH.prototype.getPhotoUrl=function(){return V(this,2)};XH.prototype.toObject=function(){return $gc(this)};var $gc=function(a){if(null!=a)return t(a),{displayName:p(m(a,1)),photoUrl:p(m(a,2)),highResolutionPhotoUrl:p(m(a,3))}};var YH=function(a){r.call(this,a,0,YH.messageId)};U(YH,r);YH.prototype.toObject=function(){if(null!=this){t(this);var a={userProfileMap:Ob(Vj(this,1,XH),$gc)}}else a=void 0;return a};YH.messageId="b.UserProfileBatchResponse";var ZH=function(a,b){var c=this;this.userProfilesBatchApiConfig=a;this.batchApiAdapter=b;this.batchAdaptedGet=this.batchApiAdapter.adapt(this.userProfilesBatchApiConfig);this.memoizingUserProfileMap=new kgc(function(d){return c.batchAdaptedGet(d)},100)};ZH.prototype.get=function(a){return this.memoizingUserProfileMap.get(a)};ZH.\u0275fac=function(a){return new (a||ZH)(u($H),u($E))};ZH.\u0275prov=qc({token:ZH,factory:ZH.\u0275fac,providedIn:"root"});var $H=function(a){this.executor=a};
$H.prototype.call=function(a){return this.executor.get({url:"action/user_profiles",options:{params:{usernames:[].concat(Vc(a)).join(",")}},responseConstructor:YH}).pipe(Ce(function(){return(0,E.of)(new YH)}))};$H.prototype.split=function(a,b){return(a=Vj(b,1,XH).get(a))?{photoUrl:a.getPhotoUrl(),highResolutionPhotoUrl:V(a,3),displayName:a.getDisplayName()}:void 0};$H.\u0275fac=function(a){return new (a||$H)(u(LC))};$H.\u0275prov=qc({token:$H,factory:$H.\u0275fac,providedIn:"root"});var aI=function(a,b,c){WD.call(this);this.templateRef=a;this.viewContainer=b;this.cdr=c;this.viewContainer.createEmbeddedView(this.templateRef)};U(aI,WD);hh.Object.defineProperties(aI.prototype,{refreshable:{configurable:!0,enumerable:!0,set:function(a){var b=this;a.pipe(Te(this.destroyed$)).subscribe(function(){b.viewContainer.clear();b.viewContainer.createEmbeddedView(b.templateRef);b.cdr.detectChanges()})}}});aI.\u0275fac=function(a){return new (a||aI)(C(Qf),C(Rf),C(Yv))};
aI.\u0275dir=Kc({type:aI,selectors:[["","refreshable",""]],inputs:{refreshable:"refreshable"},features:[bf]});var ahc=function(){};var Xm=function(){this.Serializable$values={}},Wm=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 bhc=function(){};var chc=function(a,b){this.requestService=a;this.hookFactory=void 0===b?null:b};U(chc,bhc);
var dhc=function(a,b,c){var d=wza(a.hookFactory,b);return null==d?c:E.EMPTY.pipe(Ue({complete:function(){d.onBeforeSend()}}),Mia(c.pipe(Ue(function(e){d.onSuccess(e)},function(e){d.onError(e)}))))},ehc=function(a,b){var c=b.responseCtor||void 0,d=a.requestService,e=d.send,g=b.body instanceof Xm?Bza(b.body,yza,zza,Aza):b.body;return dhc(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 fhc=function(){};fhc.prototype.send=function(a,b){Jza(a);return this.makeRequest(a).pipe(D(function(c){return b?Fza(b,c):c}))};var ghc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.dayOfWeek=null==a.dayOfWeek?null:a.dayOfWeek;this.Serializable$values.periodStartMinutes=null==a.periodStartMinutes?null:a.periodStartMinutes;this.Serializable$values.periodEndMinutes=null==a.periodEndMinutes?null:a.periodEndMinutes};U(ghc,Xm);ghc.prototype.getPartialClassMetadata=function(){return{keys:["dayOfWeek","periodEndMinutes","periodStartMinutes"]}};
hh.Object.defineProperties(ghc.prototype,{dayOfWeek:{configurable:!0,enumerable:!0,get:function(){return bI(this,"dayOfWeek")?Wm(this,"dayOfWeek"):0},set:function(a){this.Serializable$values.dayOfWeek=a}},periodEndMinutes:{configurable:!0,enumerable:!0,get:function(){return bI(this,"periodEndMinutes")?Wm(this,"periodEndMinutes"):0},set:function(a){this.Serializable$values.periodEndMinutes=a}},periodStartMinutes:{configurable:!0,enumerable:!0,get:function(){return bI(this,"periodStartMinutes")?Wm(this,
"periodStartMinutes"):0},set:function(a){this.Serializable$values.periodStartMinutes=a}}});var Vo=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.userIds=null==a.userIds?null:a.userIds;this.Serializable$values.debugOptions=null==a.debugOptions?null:a.debugOptions};U(Vo,Xm);Vo.prototype.getPartialClassMetadata=function(){return{arrays:{userIds:Uo},keys:["debugOptions","userIds"],objects:{debugOptions:hhc}}};
hh.Object.defineProperties(Vo.prototype,{debugOptions:{configurable:!0,enumerable:!0,get:function(){return bI(this,"debugOptions")?Wm(this,"debugOptions"):this.debugOptions=new hhc},set:function(a){this.Serializable$values.debugOptions=a}},userIds:{configurable:!0,enumerable:!0,get:function(){return bI(this,"userIds")?Wm(this,"userIds"):this.userIds=[]},set:function(a){this.Serializable$values.userIds=a}}});
var ihc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.results=null==a.results?null:a.results};U(ihc,Xm);ihc.prototype.getPartialClassMetadata=function(){return{arrays:{results:jhc},keys:["results"]}};
hh.Object.defineProperties(ihc.prototype,{hasResults:{configurable:!0,enumerable:!0,get:function(){return null!==Wm(this,"results")}},results:{configurable:!0,enumerable:!0,get:function(){return bI(this,"results")?Wm(this,"results"):this.results=[]},set:function(a){this.Serializable$values.results=a}}});
var khc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.eventSummary=null==a.eventSummary?null:a.eventSummary;this.Serializable$values.occupiedUntil=null==a.occupiedUntil?null:a.occupiedUntil;this.Serializable$values.nextAvailable=null==a.nextAvailable?null:a.nextAvailable;this.Serializable$values.committedUntil=null==a.committedUntil?null:a.committedUntil};U(khc,Xm);
khc.prototype.getPartialClassMetadata=function(){return{keys:["committedUntil","eventSummary","nextAvailable","occupiedUntil"]}};
hh.Object.defineProperties(khc.prototype,{committedUntil:{configurable:!0,enumerable:!0,get:function(){return bI(this,"committedUntil")?Wm(this,"committedUntil"):""},set:function(a){this.Serializable$values.committedUntil=a}},eventSummary:{configurable:!0,enumerable:!0,get:function(){return bI(this,"eventSummary")?Wm(this,"eventSummary"):""},set:function(a){this.Serializable$values.eventSummary=a}},nextAvailable:{configurable:!0,enumerable:!0,get:function(){return bI(this,"nextAvailable")?Wm(this,
"nextAvailable"):""},set:function(a){this.Serializable$values.nextAvailable=a}},occupiedUntil:{configurable:!0,enumerable:!0,get:function(){return bI(this,"occupiedUntil")?Wm(this,"occupiedUntil"):""},set:function(a){this.Serializable$values.occupiedUntil=a}}});
var lhc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.location=null==a.location?null:a.location;this.Serializable$values.geoCoordinates=null==a.geoCoordinates?null:a.geoCoordinates;this.Serializable$values.label=null==a.label?null:a.label};U(lhc,Xm);lhc.prototype.getPartialClassMetadata=function(){return{keys:["geoCoordinates","label","location"],objects:{geoCoordinates:mhc}}};
hh.Object.defineProperties(lhc.prototype,{geoCoordinates:{configurable:!0,enumerable:!0,get:function(){return bI(this,"geoCoordinates")?Wm(this,"geoCoordinates"):this.geoCoordinates=new mhc},set:function(a){this.Serializable$values.geoCoordinates=a}},label:{configurable:!0,enumerable:!0,get:function(){return bI(this,"label")?Wm(this,"label"):""},set:function(a){this.Serializable$values.label=a}},location:{configurable:!0,enumerable:!0,get:function(){return bI(this,"location")?Wm(this,"location"):
""},set:function(a){this.Serializable$values.location=a}}});var nhc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.occupiedUntil=null==a.occupiedUntil?null:a.occupiedUntil;this.Serializable$values.committedUntil=null==a.committedUntil?null:a.committedUntil;this.Serializable$values.nextAvailable=null==a.nextAvailable?null:a.nextAvailable};U(nhc,Xm);nhc.prototype.getPartialClassMetadata=function(){return{keys:["committedUntil","nextAvailable","occupiedUntil"]}};
hh.Object.defineProperties(nhc.prototype,{committedUntil:{configurable:!0,enumerable:!0,get:function(){return bI(this,"committedUntil")?Wm(this,"committedUntil"):""},set:function(a){this.Serializable$values.committedUntil=a}},nextAvailable:{configurable:!0,enumerable:!0,get:function(){return bI(this,"nextAvailable")?Wm(this,"nextAvailable"):""},set:function(a){this.Serializable$values.nextAvailable=a}},occupiedUntil:{configurable:!0,enumerable:!0,get:function(){return bI(this,"occupiedUntil")?Wm(this,
"occupiedUntil"):""},set:function(a){this.Serializable$values.occupiedUntil=a}}});var ohc=function(){this.Serializable$values={}};U(ohc,Xm);ohc.prototype.getPartialClassMetadata=function(){return{keys:[]}};
var phc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.eventSummary=null==a.eventSummary?null:a.eventSummary;this.Serializable$values.inMeetingsUntil=null==a.inMeetingsUntil?null:a.inMeetingsUntil;this.Serializable$values.occupiedUntil=null==a.occupiedUntil?null:a.occupiedUntil;this.Serializable$values.committedUntil=null==a.committedUntil?null:a.committedUntil;this.Serializable$values.nextAvailable=null==a.nextAvailable?null:a.nextAvailable};U(phc,Xm);
phc.prototype.getPartialClassMetadata=function(){return{keys:["committedUntil","eventSummary","inMeetingsUntil","nextAvailable","occupiedUntil"]}};
hh.Object.defineProperties(phc.prototype,{committedUntil:{configurable:!0,enumerable:!0,get:function(){return bI(this,"committedUntil")?Wm(this,"committedUntil"):""},set:function(a){this.Serializable$values.committedUntil=a}},eventSummary:{configurable:!0,enumerable:!0,get:function(){return bI(this,"eventSummary")?Wm(this,"eventSummary"):""},set:function(a){this.Serializable$values.eventSummary=a}},inMeetingsUntil:{configurable:!0,enumerable:!0,get:function(){return bI(this,"inMeetingsUntil")?Wm(this,
"inMeetingsUntil"):""},set:function(a){this.Serializable$values.inMeetingsUntil=a}},nextAvailable:{configurable:!0,enumerable:!0,get:function(){return bI(this,"nextAvailable")?Wm(this,"nextAvailable"):""},set:function(a){this.Serializable$values.nextAvailable=a}},occupiedUntil:{configurable:!0,enumerable:!0,get:function(){return bI(this,"occupiedUntil")?Wm(this,"occupiedUntil"):""},set:function(a){this.Serializable$values.occupiedUntil=a}}});var qhc=function(){this.Serializable$values={}};U(qhc,Xm);
qhc.prototype.getPartialClassMetadata=function(){return{keys:[]}};var mhc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.latitude=null==a.latitude?null:a.latitude;this.Serializable$values.longitude=null==a.longitude?null:a.longitude};U(mhc,Xm);mhc.prototype.getPartialClassMetadata=function(){return{keys:["latitude","longitude"]}};
hh.Object.defineProperties(mhc.prototype,{latitude:{configurable:!0,enumerable:!0,get:function(){return bI(this,"latitude")?Wm(this,"latitude"):0},set:function(a){this.Serializable$values.latitude=a}},longitude:{configurable:!0,enumerable:!0,get:function(){return bI(this,"longitude")?Wm(this,"longitude"):0},set:function(a){this.Serializable$values.longitude=a}}});var rhc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.timeZone=null==a.timeZone?null:a.timeZone};
U(rhc,Xm);rhc.prototype.getPartialClassMetadata=function(){return{keys:["timeZone"]}};hh.Object.defineProperties(rhc.prototype,{timeZone:{configurable:!0,enumerable:!0,get:function(){return bI(this,"timeZone")?Wm(this,"timeZone"):""},set:function(a){this.Serializable$values.timeZone=a}}});
var shc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.experimentalBuildingId=null==a.experimentalBuildingId?null:a.experimentalBuildingId;this.Serializable$values.experimentalDeskId=null==a.experimentalDeskId?null:a.experimentalDeskId;this.Serializable$values.experimentalFloorId=null==a.experimentalFloorId?null:a.experimentalFloorId;this.Serializable$values.label=null==a.label?null:a.label};U(shc,Xm);
shc.prototype.getPartialClassMetadata=function(){return{keys:["experimentalBuildingId","experimentalDeskId","experimentalFloorId","label"]}};
hh.Object.defineProperties(shc.prototype,{experimentalBuildingId:{configurable:!0,enumerable:!0,get:function(){return bI(this,"experimentalBuildingId")?Wm(this,"experimentalBuildingId"):""},set:function(a){this.Serializable$values.experimentalBuildingId=a}},experimentalDeskId:{configurable:!0,enumerable:!0,get:function(){return bI(this,"experimentalDeskId")?Wm(this,"experimentalDeskId"):""},set:function(a){this.Serializable$values.experimentalDeskId=a}},experimentalFloorId:{configurable:!0,enumerable:!0,
get:function(){return bI(this,"experimentalFloorId")?Wm(this,"experimentalFloorId"):""},set:function(a){this.Serializable$values.experimentalFloorId=a}},label:{configurable:!0,enumerable:!0,get:function(){return bI(this,"label")?Wm(this,"label"):""},set:function(a){this.Serializable$values.label=a}}});
var thc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.comeBackTime=null==a.comeBackTime?null:a.comeBackTime;this.Serializable$values.eventSummary=null==a.eventSummary?null:a.eventSummary;this.Serializable$values.committedUntil=null==a.committedUntil?null:a.committedUntil};U(thc,Xm);thc.prototype.getPartialClassMetadata=function(){return{keys:["comeBackTime","committedUntil","eventSummary"]}};
hh.Object.defineProperties(thc.prototype,{comeBackTime:{configurable:!0,enumerable:!0,get:function(){return bI(this,"comeBackTime")?Wm(this,"comeBackTime"):""},set:function(a){this.Serializable$values.comeBackTime=a}},committedUntil:{configurable:!0,enumerable:!0,get:function(){return bI(this,"committedUntil")?Wm(this,"committedUntil"):""},set:function(a){this.Serializable$values.committedUntil=a}},eventSummary:{configurable:!0,enumerable:!0,get:function(){return bI(this,"eventSummary")?Wm(this,"eventSummary"):
""},set:function(a){this.Serializable$values.eventSummary=a}}});var uhc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.comeBackTime=null==a.comeBackTime?null:a.comeBackTime};U(uhc,Xm);uhc.prototype.getPartialClassMetadata=function(){return{keys:["comeBackTime"]}};
hh.Object.defineProperties(uhc.prototype,{comeBackTime:{configurable:!0,enumerable:!0,get:function(){return bI(this,"comeBackTime")?Wm(this,"comeBackTime"):""},set:function(a){this.Serializable$values.comeBackTime=a}}});var vhc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.code=null==a.code?null:a.code;this.Serializable$values.message=null==a.message?null:a.message;this.Serializable$values.details=null==a.details?null:a.details};U(vhc,Xm);
vhc.prototype.getPartialClassMetadata=function(){return{keys:["code","details","message"],objectMaps:{details:{ctor:null,isPropertyArray:!0,isSerializable:!1,isValueArray:!1}}}};
hh.Object.defineProperties(vhc.prototype,{code:{configurable:!0,enumerable:!0,get:function(){return bI(this,"code")?Wm(this,"code"):0},set:function(a){this.Serializable$values.code=a}},hasDetails:{configurable:!0,enumerable:!0,get:function(){return null!==Wm(this,"details")}},details:{configurable:!0,enumerable:!0,get:function(){return bI(this,"details")?Wm(this,"details"):this.details=[]},set:function(a){this.Serializable$values.details=a}},message:{configurable:!0,enumerable:!0,get:function(){return bI(this,
"message")?Wm(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};U(cI,Xm);cI.prototype.getPartialClassMetadata=function(){return{keys:["endTime","startTime"]}};
hh.Object.defineProperties(cI.prototype,{endTime:{configurable:!0,enumerable:!0,get:function(){return bI(this,"endTime")?Wm(this,"endTime"):""},set:function(a){this.Serializable$values.endTime=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return bI(this,"startTime")?Wm(this,"startTime"):""},set:function(a){this.Serializable$values.startTime=a}}});
var whc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.overrideCurrentTime=null==a.overrideCurrentTime?null:a.overrideCurrentTime;this.Serializable$values.computationDuration=null==a.computationDuration?null:a.computationDuration};U(whc,Xm);whc.prototype.getPartialClassMetadata=function(){return{keys:["computationDuration","overrideCurrentTime"]}};
hh.Object.defineProperties(whc.prototype,{computationDuration:{configurable:!0,enumerable:!0,get:function(){return bI(this,"computationDuration")?Wm(this,"computationDuration"):""},set:function(a){this.Serializable$values.computationDuration=a}},overrideCurrentTime:{configurable:!0,enumerable:!0,get:function(){return bI(this,"overrideCurrentTime")?Wm(this,"overrideCurrentTime"):""},set:function(a){this.Serializable$values.overrideCurrentTime=a}}});
var xhc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.nextCommitmentTime=null==a.nextCommitmentTime?null:a.nextCommitmentTime;this.Serializable$values.nextCommitmentStatus=null==a.nextCommitmentStatus?null:a.nextCommitmentStatus};U(xhc,Xm);xhc.prototype.getPartialClassMetadata=function(){return{keys:["nextCommitmentStatus","nextCommitmentTime"],objects:{nextCommitmentStatus:dI}}};
hh.Object.defineProperties(xhc.prototype,{nextCommitmentStatus:{configurable:!0,enumerable:!0,get:function(){return bI(this,"nextCommitmentStatus")?Wm(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")?Wm(this,"nextCommitmentTime"):""},set:function(a){this.Serializable$values.nextCommitmentTime=a}}});
var yhc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.timeRange=null==a.timeRange?null:a.timeRange};U(yhc,Xm);yhc.prototype.getPartialClassMetadata=function(){return{keys:["timeRange"],objects:{timeRange:cI}}};hh.Object.defineProperties(yhc.prototype,{timeRange:{configurable:!0,enumerable:!0,get:function(){return bI(this,"timeRange")?Wm(this,"timeRange"):this.timeRange=new cI},set:function(a){this.Serializable$values.timeRange=a}}});
var zhc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.availabilities=null==a.availabilities?null:a.availabilities;this.Serializable$values.workingHours=null==a.workingHours?null:a.workingHours;this.Serializable$values.nextPollTime=null==a.nextPollTime?null:a.nextPollTime};U(zhc,Xm);zhc.prototype.getPartialClassMetadata=function(){return{arrays:{availabilities:Ahc},keys:["availabilities","nextPollTime","workingHours"],objects:{workingHours:Bhc}}};
hh.Object.defineProperties(zhc.prototype,{availabilities:{configurable:!0,enumerable:!0,get:function(){return bI(this,"availabilities")?Wm(this,"availabilities"):this.availabilities=[]},set:function(a){this.Serializable$values.availabilities=a}},nextPollTime:{configurable:!0,enumerable:!0,get:function(){return bI(this,"nextPollTime")?Wm(this,"nextPollTime"):""},set:function(a){this.Serializable$values.nextPollTime=a}},workingHours:{configurable:!0,enumerable:!0,get:function(){return bI(this,"workingHours")?
Wm(this,"workingHours"):this.workingHours=new Bhc},set:function(a){this.Serializable$values.workingHours=a}}});var hhc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.forceEnableUserStatusCache=null==a.forceEnableUserStatusCache?null:a.forceEnableUserStatusCache;this.Serializable$values.timeSettings=null==a.timeSettings?null:a.timeSettings};U(hhc,Xm);hhc.prototype.getPartialClassMetadata=function(){return{keys:["forceEnableUserStatusCache","timeSettings"],objects:{timeSettings:whc}}};
hh.Object.defineProperties(hhc.prototype,{forceEnableUserStatusCache:{configurable:!0,enumerable:!0,get:function(){return bI(this,"forceEnableUserStatusCache")?Wm(this,"forceEnableUserStatusCache"):!1},set:function(a){this.Serializable$values.forceEnableUserStatusCache=a}},timeSettings:{configurable:!0,enumerable:!0,get:function(){return bI(this,"timeSettings")?Wm(this,"timeSettings"):this.timeSettings=new whc},set:function(a){this.Serializable$values.timeSettings=a}}});
var jhc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.userId=null==a.userId?null:a.userId;this.Serializable$values.status=null==a.status?null:a.status;this.Serializable$values.userAvailabilities=null==a.userAvailabilities?null:a.userAvailabilities};U(jhc,Xm);jhc.prototype.getPartialClassMetadata=function(){return{keys:["status","userAvailabilities","userId"],objects:{status:vhc,userAvailabilities:zhc,userId:Uo}}};
hh.Object.defineProperties(jhc.prototype,{hasStatus:{configurable:!0,enumerable:!0,get:function(){return null!==Wm(this,"status")}},status:{configurable:!0,enumerable:!0,get:function(){return bI(this,"status")?Wm(this,"status"):this.status=new vhc},set:function(a){this.Serializable$values.status=a}},hasUserAvailabilities:{configurable:!0,enumerable:!0,get:function(){return null!==Wm(this,"userAvailabilities")}},userAvailabilities:{configurable:!0,enumerable:!0,get:function(){return bI(this,"userAvailabilities")?
Wm(this,"userAvailabilities"):this.userAvailabilities=new zhc},set:function(a){this.Serializable$values.userAvailabilities=a}},hasUserId:{configurable:!0,enumerable:!0,get:function(){return null!==Wm(this,"userId")}},userId:{configurable:!0,enumerable:!0,get:function(){return bI(this,"userId")?Wm(this,"userId"):this.userId=new Uo},set:function(a){this.Serializable$values.userId=a}}});
var Ahc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.timeRange=null==a.timeRange?null:a.timeRange;this.Serializable$values.status=null==a.status?null:a.status;this.Serializable$values.contexts=null==a.contexts?null:a.contexts};U(Ahc,Xm);Ahc.prototype.getPartialClassMetadata=function(){return{keys:["contexts","status","timeRange"],objects:{contexts:Chc,status:dI,timeRange:cI}}};
hh.Object.defineProperties(Ahc.prototype,{contexts:{configurable:!0,enumerable:!0,get:function(){return bI(this,"contexts")?Wm(this,"contexts"):this.contexts=new Chc},set:function(a){this.Serializable$values.contexts=a}},hasStatus:{configurable:!0,enumerable:!0,get:function(){return null!==Wm(this,"status")}},status:{configurable:!0,enumerable:!0,get:function(){return bI(this,"status")?Wm(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")?Wm(this,"timeRange"):this.timeRange=new cI},set:function(a){this.Serializable$values.timeRange=a}}});
var Chc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.workingElsewhere=null==a.workingElsewhere?null:a.workingElsewhere;this.Serializable$values.upcomingOoo=null==a.upcomingOoo?null:a.upcomingOoo;this.Serializable$values.localTime=null==a.localTime?null:a.localTime;this.Serializable$values.upcomingCommitmentContext=null==a.upcomingCommitmentContext?null:a.upcomingCommitmentContext};U(Chc,Xm);
Chc.prototype.getPartialClassMetadata=function(){return{keys:["localTime","upcomingCommitmentContext","upcomingOoo","workingElsewhere"],objects:{localTime:rhc,upcomingCommitmentContext:xhc,upcomingOoo:yhc,workingElsewhere:Dhc}}};
hh.Object.defineProperties(Chc.prototype,{localTime:{configurable:!0,enumerable:!0,get:function(){return bI(this,"localTime")?Wm(this,"localTime"):this.localTime=new rhc},set:function(a){this.Serializable$values.localTime=a}},upcomingCommitmentContext:{configurable:!0,enumerable:!0,get:function(){return bI(this,"upcomingCommitmentContext")?Wm(this,"upcomingCommitmentContext"):this.upcomingCommitmentContext=new xhc},set:function(a){this.Serializable$values.upcomingCommitmentContext=a}},upcomingOoo:{configurable:!0,
enumerable:!0,get:function(){return bI(this,"upcomingOoo")?Wm(this,"upcomingOoo"):this.upcomingOoo=new yhc},set:function(a){this.Serializable$values.upcomingOoo=a}},workingElsewhere:{configurable:!0,enumerable:!0,get:function(){return bI(this,"workingElsewhere")?Wm(this,"workingElsewhere"):this.workingElsewhere=new Dhc},set:function(a){this.Serializable$values.workingElsewhere=a}}});
var Uo=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.obfuscatedGaiaId=null==a.obfuscatedGaiaId?null:a.obfuscatedGaiaId;this.Serializable$values.email=null==a.email?null:a.email};U(Uo,Xm);Uo.prototype.getPartialClassMetadata=function(){return{keys:["email","obfuscatedGaiaId"]}};
hh.Object.defineProperties(Uo.prototype,{email:{configurable:!0,enumerable:!0,get:function(){return bI(this,"email")?Wm(this,"email"):""},set:function(a){this.Serializable$values.email=a}},obfuscatedGaiaId:{configurable:!0,enumerable:!0,get:function(){return bI(this,"obfuscatedGaiaId")?Wm(this,"obfuscatedGaiaId"):""},set:function(a){this.Serializable$values.obfuscatedGaiaId=a}}});
var Ehc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.homeLocation=null==a.homeLocation?null:a.homeLocation;this.Serializable$values.customLocation=null==a.customLocation?null:a.customLocation;this.Serializable$values.officeLocation=null==a.officeLocation?null:a.officeLocation};U(Ehc,Xm);Ehc.prototype.getPartialClassMetadata=function(){return{keys:["customLocation","homeLocation","officeLocation"],objects:{customLocation:lhc,homeLocation:ohc,officeLocation:shc}}};
hh.Object.defineProperties(Ehc.prototype,{customLocation:{configurable:!0,enumerable:!0,get:function(){return bI(this,"customLocation")?Wm(this,"customLocation"):this.customLocation=new lhc},set:function(a){this.Serializable$values.customLocation=a}},homeLocation:{configurable:!0,enumerable:!0,get:function(){return bI(this,"homeLocation")?Wm(this,"homeLocation"):this.homeLocation=new ohc},set:function(a){this.Serializable$values.homeLocation=a}},officeLocation:{configurable:!0,enumerable:!0,get:function(){return bI(this,
"officeLocation")?Wm(this,"officeLocation"):this.officeLocation=new shc},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};U(dI,Xm);dI.prototype.getPartialClassMetadata=function(){return{keys:"calendarBusy doNotDisturb inMeeting inactive outOfOffice outsideWorkingHours".split(" "),objects:{calendarBusy:khc,doNotDisturb:nhc,inMeeting:phc,inactive:qhc,outOfOffice:thc,outsideWorkingHours:uhc}}};
hh.Object.defineProperties(dI.prototype,{calendarBusy:{configurable:!0,enumerable:!0,get:function(){return bI(this,"calendarBusy")?Wm(this,"calendarBusy"):this.calendarBusy=new khc},set:function(a){this.Serializable$values.calendarBusy=a}},doNotDisturb:{configurable:!0,enumerable:!0,get:function(){return bI(this,"doNotDisturb")?Wm(this,"doNotDisturb"):this.doNotDisturb=new nhc},set:function(a){this.Serializable$values.doNotDisturb=a}},inMeeting:{configurable:!0,enumerable:!0,get:function(){return bI(this,
"inMeeting")?Wm(this,"inMeeting"):this.inMeeting=new phc},set:function(a){this.Serializable$values.inMeeting=a}},inactive:{configurable:!0,enumerable:!0,get:function(){return bI(this,"inactive")?Wm(this,"inactive"):this.inactive=new qhc},set:function(a){this.Serializable$values.inactive=a}},hasOutOfOffice:{configurable:!0,enumerable:!0,get:function(){return null!==Wm(this,"outOfOffice")}},outOfOffice:{configurable:!0,enumerable:!0,get:function(){return bI(this,"outOfOffice")?Wm(this,"outOfOffice"):
this.outOfOffice=new thc},set:function(a){this.Serializable$values.outOfOffice=a}},hasOutsideWorkingHours:{configurable:!0,enumerable:!0,get:function(){return null!==Wm(this,"outsideWorkingHours")}},outsideWorkingHours:{configurable:!0,enumerable:!0,get:function(){return bI(this,"outsideWorkingHours")?Wm(this,"outsideWorkingHours"):this.outsideWorkingHours=new uhc},set:function(a){this.Serializable$values.outsideWorkingHours=a}}});
var Dhc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.location=null==a.location?null:a.location};U(Dhc,Xm);Dhc.prototype.getPartialClassMetadata=function(){return{keys:["location"],objects:{location:Ehc}}};hh.Object.defineProperties(Dhc.prototype,{location:{configurable:!0,enumerable:!0,get:function(){return bI(this,"location")?Wm(this,"location"):this.location=new Ehc},set:function(a){this.Serializable$values.location=a}}});
var Bhc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.availableTime=null==a.availableTime?null:a.availableTime};U(Bhc,Xm);Bhc.prototype.getPartialClassMetadata=function(){return{arrays:{availableTime:ghc},keys:["availableTime"]}};
hh.Object.defineProperties(Bhc.prototype,{availableTime:{configurable:!0,enumerable:!0,get:function(){return bI(this,"availableTime")?Wm(this,"availableTime"):this.availableTime=[]},set:function(a){this.Serializable$values.availableTime=a}}});var Fhc=new Rc("API_VERSION"),Ghc=new Rc("REQUEST_SERVICE"),eI=function(){};eI.\u0275fac=function(a){return new (a||eI)};eI.\u0275mod=Ic({type:eI});eI.\u0275inj=rc({});
var Hhc={$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 chc(b,c)},Ihc=function(a,b){var c=void 0===c?{}:c;var d=void 0===d?{}:d;return ehc(a.$apiClient,{body:b,httpMethod:"POST",methodId:"waldo_service_api_from_stubby_sandbox.useravailabilities.batchget",
path:"/"+a.gapiVersion+"/useravailabilities:batchget",queryParams:Kza(c,Hhc,d),responseCtor:ihc})};fI.\u0275fac=function(a){return new (a||fI)(u(Fhc,8),u(Ghc),u(ahc,8))};fI.\u0275prov=qc({token:fI,factory:fI.\u0275fac});var gI=function(){};gI.\u0275fac=function(a){return new (a||gI)};gI.\u0275prov=qc({token:gI,factory:function(a){return fI.\u0275fac(a)},providedIn:eI});var hI=function(a){var b=this;this.apiStub=a;this.result=new E.Subject;this.destroyed=new E.ReplaySubject(1);this.trigger=new E.Subject;this.batchedTrigger=this.trigger.pipe(Iia(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(Te(this.destroyed)).subscribe(function(c){c=[].concat(Vc(new Set(c)));var d=c.slice(0,100);Jhc(b,d);c=k(c.slice(100));for(d=c.next();!d.done;d=c.next())b.trigger.next(d.value)})},Jhc=function(a,b){var c,d;he(function(e){for(var g=new Vo,h=[],l=k(b),q=l.next();!q.done;q=l.next()){q=q.value;var x=new Uo;x.email=q;h.push(x)}g.userIds=h;c=g;d=Ihc(a.apiStub,c);d.pipe(Te(a.destroyed)).subscribe(a.responseHandler);
me(e)})},Khc=function(a,b){if(!b)return(0,E.of)("");a.trigger.next(b);return a.result.pipe(ye(function(c){return c.emailAddress===b})).pipe(D(function(c){return c.availability}))};hI.prototype.ngOnDestroy=function(){this.destroyed.next()};hI.\u0275fac=function(a){return new (a||hI)(u(gI))};hI.\u0275prov=qc({token:hI,factory:hI.\u0275fac});var iI=function(a){var b=this;this.waldoAvailabilityService=a;this.user="";this.userSubject=new E.ReplaySubject(1);this.availability=this.userSubject.pipe(Se(function(c){return Khc(b.waldoAvailabilityService,c)}))};iI.prototype.ngOnChanges=function(){this.userSubject.next(this.user)};iI.\u0275fac=function(a){return new (a||iI)(C(hI))};
iI.\u0275cmp=Gc({type:iI,selectors:[["waldo-availability-chip"]],inputs:{user:"user"},features:[Zc],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&&(Q(0,Lza,6,3,"div",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.availability))},dependencies:[ew,kw],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)(C(jH))};jI.\u0275cmp=Gc({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&&Q(0,Mza,1,2,"ng-template",0);a&2&&F("refreshable",b.refreshMonitor.getObservable())},dependencies:[iI,aI],styles:["waldo-availability-chip[_ngcontent-%COMP%] { margin-left: 5px; }"],changeDetection:0});var Lhc=function(){this.issueId="";this.customFieldMap={};this.currentUserEmail="";this.createdTimeMicros=this.authorUser=this.user=this.originalModelData=null;this.componentId=0;this.severity=this.priority=this.type=this.version=null;this.title="";this.verifierUser=this.verifier=this.assigneeUser=this.assignee=this.reporterUser=this.reporter=null;this.cc=[];this.ccUsers=[];this.collaborators=[];this.collaboratorsUsers=[];this.hotlistId=this.verifiedInVersion=this.targetedToVersion=this.foundInVersion=
this.postmortems=this.changelist=this.blockingIssueId=this.blockedByIssueId=this.duplicateOfIssueId=this.attachmentId=null;this.customField=[];this.duplicateIssueId=this.significanceOverride=this.deletionReason=this.isDeleted=null;this.isArchived=this.inProd=!1;this.effortEstimate=this.sloSnoozeType=this.sloEndTime=this.sloStartTime=null;this.status="NEW"};
Lhc.prototype.setData=function(a,b,c){this.issueId=b;a=Nh(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=Nh(a);this.assignee=ai(a.assigneeUser);this.assigneeUser=a.assigneeUser;this.authorUser=a.authorUser;this.attachmentId=a.attachmentId;this.blockedByIssueId=a.blockedByIssueId;this.blockingIssueId=a.blockingIssueId;this.cc=ci(a.ccUsers)||[];this.ccUsers=a.ccUsers||[];this.collaborators=ci(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=ai(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=ai(a.authorUser);this.verifiedInVersion=a.verifiedInVersion;this.verifier=ai(a.verifierUser);this.verifierUser=a.verifierUser;this.version=a.version;this.sloStartTime=a.sloStartTime;this.sloEndTime=a.sloEndTime;this.sloSnoozeType=a.sloSnoozeType;var d,e;this.effortEstimate=null!=(e=null==(d=a.effort)?void 0:d.estimate)?e:null;this.customField=[];a&&(this.customField=(a.customField||
[]).filter(function(g){return g}).map(function(g){return new Mhc(g)}));d={};c=k(c);for(e=c.next();!e.done;d={$jscomp$loop$prop$fieldResource$2312:d.$jscomp$loop$prop$fieldResource$2312},e=c.next())d.$jscomp$loop$prop$fieldResource$2312=e.value,e=d.$jscomp$loop$prop$fieldResource$2312.allowedValue?d.$jscomp$loop$prop$fieldResource$2312.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$2312.customFieldId}}(d)))?
(a.type=d.$jscomp$loop$prop$fieldResource$2312.type,a.customFieldName=d.$jscomp$loop$prop$fieldResource$2312.name,a.choices=e,this.customFieldMap[String(d.$jscomp$loop$prop$fieldResource$2312.customFieldId)]=a):(a=new Mhc({customFieldId:d.$jscomp$loop$prop$fieldResource$2312.customFieldId}),a.type=d.$jscomp$loop$prop$fieldResource$2312.type,a.customFieldName=d.$jscomp$loop$prop$fieldResource$2312.name,a.choices=e,this.customFieldMap[String(d.$jscomp$loop$prop$fieldResource$2312.customFieldId)]=a)};
var Ohc=function(a){for(var b=[],c=k(Object.values(a.customFieldMap)),d=c.next();!d.done;d=c.next()){d=d.value;var e=Nhc(a,d.customFieldId);e=e?e.getValue():null;var g=d.getValue();if(!Mh(e,g)){if(e=d.isEmpty())d.textValue="";b.push({fieldName:"customField",customFieldValue:d,actionType:e?"REMOVE":"ADD"})}}if(a.originalModelData){kI(ai(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(ai(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(ai(a.originalModelData.authorUser),a.user,"user",b);kI(ai(a.originalModelData.verifierUser),a.verifier,"verifier",b);kI(a.originalModelData.version,a.version,"version",b);var h,l,q,x;kI(null!=(q=null==(h=
a.originalModelData.sloStartTime)?void 0:h.seconds)?q:null,null!=(x=null==(l=a.sloStartTime)?void 0:l.seconds)?x:null,"sloStartTime",b);var A,B,K,N;kI(null!=(K=null==(A=a.originalModelData.sloEndTime)?void 0:A.seconds)?K:null,null!=(N=null==(B=a.sloEndTime)?void 0:B.seconds)?N:null,"sloEndTime",b);kI(a.originalModelData.sloSnoozeType,a.sloSnoozeType,"sloSnoozeType",b);var P,Y;kI(null!=(Y=null==(P=a.originalModelData.effort)?void 0:P.estimate)?Y:null,a.effortEstimate,"effortEstimate",b);lI(a.originalModelData.attachmentId,
a.attachmentId,"attachmentId",b);lI(ci(a.originalModelData.ccUsers),a.cc,"ccs",b);lI(ci(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=wqa(b||[],new Set(a));a=wqa(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=Lhc.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:rh(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=xl[this.status];!this.assignee&&this.originalModelData&&ai(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&&ai(this.originalModelData.verifierUser)&&"VERIFIED"===this.originalModelData.status&&(this.status="FIXED")};
f.setStatus=function(a){this.status=a;a=xl[this.status];"FORBIDDEN"===(null==a?void 0:a.assigneeRequirement)&&this.assigneeUser?this.assignee="":"REQUIRED"!==(null==a?void 0:a.assigneeRequirement)||this.assigneeUser||(this.assignee=this.currentUserEmail);"VERIFIED"!==this.status||this.verifier||(this.verifier=this.currentUserEmail)};f.setInProd=function(a){this.inProd=a};f.setCollaborators=function(a){this.collaborators=a};f.setFoundInVersion=function(a){this.foundInVersion=a};
f.setTargetedToVersion=function(a){this.targetedToVersion=a};f.setVerifiedInVersion=function(a){this.verifiedInVersion=a};f.setSloStartTime=function(a){this.sloStartTime=a};f.setSloEndTime=function(a){this.sloEndTime=a};f.setSloSnoozeType=function(a){this.sloSnoozeType=a};
var Nhc=function(a,b){return a.originalModelData?(a=(a.originalModelData.customField||[]).find(function(c){return c.customFieldId===b}))?new Yh(a):null:null},Mhc=function(a){Yh.call(this,a);this.choices=this.customFieldName=this.type=null};U(Mhc,Yh);Mhc.prototype.isRepeated=function(){return null==this.type?!1:["REPEATED_TEXT","REPEATED_DATE","REPEATED_ENUM","REPEATED_NUMERIC"].includes(this.type)};var Phc=new Map([["assignee",function(a,b){a.assigneeUser=ii(b.assignee)}],["ccs",function(a,b){a.ccUsers=b.cc.map(ii).filter(pi)}],["changelists",function(a,b){a.changelist=b.changelist}],["hotlists",function(a,b){a.hotlistId=b.hotlistId}],["reporter",function(a,b){a.reporterUser=ii(b.reporter)}],["verifier",function(a,b){a.verifierUser=ii(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.prototype.setDraft=function(a,b){this.$window.sessionStorage.setItem(an(a),b)};mI.\u0275fac=function(a){return new (a||mI)(u(VD))};mI.\u0275prov=qc({token:mI,factory:mI.\u0275fac,providedIn:"root"});var nI=function(a){this.session=a;this.baseDocumentationUrl=a.getDocumentationBaseUrl()},In=function(a){return a.session.isInternalSession()?"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/access-control":a.baseDocumentationUrl+"/concepts/access-control"},Qhc=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 Rhc=function(a){return a.session.isInternalSession()?"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/automation-access":In(a)},Shc=function(a){return a.session.isExternalSession()?a.baseDocumentationUrl+"/concepts/public-access":"http://go/buganizer-public-access"},Thc=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"},upb=function(){return"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/guides/manage-component#enabling-comment-editing"},
Uhc=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"},as=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 gEb=function(){return"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/custom-fields"};nI.prototype.getDisablingFieldsHelpLink=function(){return gEb()+"#hiding-inherited-fields"};var Vhc=function(a){return a.session.isInternalSession()?"http://go/delete-comments-attachments":""};nI.\u0275fac=function(a){return new (a||nI)(u(gs))};nI.\u0275prov=qc({token:nI,factory:nI.\u0275fac,providedIn:"root"});var Whc=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};Whc.\u0275fac=function(a){return new (a||Whc)(C(Tz),C(Vz))};
Whc.\u0275cmp=Gc({type:Whc,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&&(G(0,"h1",0),R(1),H(),I(2,"div",1),G(3,"div",2),Q(4,Rza,2,1,"button",3),G(5,"button",4),
M("click",function(){return b.dialogRef.close(!0)}),R(6),H()());a&2&&(z(1),Ef(b.data.title),z(1),F("innerHTML",b.data.content,Ld),z(2),F("ngIf",b.showCancelButton),z(1),F("color",b.confirmButtonTheme),z(1),Df(" ",b.confirmButtonText," "))},dependencies:[ew,Jz,Yz,Zz,$z],encapsulation:2});var oI=function(a){this.dialog=a},pI=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;Rz(this.dialog.open(Whc,{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)(u(Wz))};oI.\u0275prov=qc({token:oI,factory:oI.\u0275fac,providedIn:"root"});var qI=function(a,b,c){this.activeSession=a;this.documentationLinks=b;this.confirmationDialogService=c},Yhc=function(a,b){return new Promise(function(c){Xhc(a,b,function(){c(!0)},function(){c(!1)})})},Xhc=function(a,b,c,d){if(a.activeSession.isExternalSession())c&&c();else{var e="",g=fn("");if("VULNERABILITY"===b)e="Set the issue type to \u201cVulnerability\u201d?",b={},g=jn(Xu('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'),
hn("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=jn(Xu('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. '),hn("A",(b.href="http://goto.google.com/pib-slo",b.target="_blank",b),"Learn more"),Xu(".\n\nDO NOT use this type to file "),
hn("A",(g.href="http://goto.google.com/incident-response-policy",g.target="_blank",g),"privacy incidents"),Xu(". Incidents should be filed at "),hn("A",(h.href="http://goto.google.com/privacy-incidents",h.target="_blank",h),"go/privacy-incidents"),Xu(".\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(){}})}};qI.\u0275fac=function(a){return new (a||qI)(u(gs),u(nI),u(oI))};qI.\u0275prov=qc({token:qI,factory:qI.\u0275fac,providedIn:"root"});var rI=function(a){r.call(this,a,0,rI.messageId)};U(rI,r);rI.repeatedFields_=[1];rI.prototype.toObject=function(){if(null!=this){t(this);var a={zonesList:Kb(aj(this,jl,1),Fac)}}else a=void 0;return a};rI.messageId="b.TimeZoneDataList";var sI=function(a,b){var c=this;this.executor=a;this.activeSession=b;this.memoized=new kgc(function(d){a:{var e=k(c.activeSession.session.preload.timezones);for(var g=e.next();!g.done;g=e.next())if(g=g.value,d===g.timeZoneId_){e=g;break a}e=void 0}return e?(0,E.of)(e):c.executor.get({url:"action/timezone/"+encodeURIComponent(d),responseConstructor:jl}).pipe(D(Ota))},10)};sI.prototype.get=function(a){return this.memoized.get(a)};
var Zhc=function(a){return a.executor.get({url:"action/timezone",responseConstructor:rI}).pipe(D(function(b){return null==b?void 0:aj(b,jl,1).map(function(c){c=Ota(c);var d=n_b(c.getOffset(new Date));return{id:c.timeZoneId_,displayName:"("+d+") - "+c.timeZoneId_}})}))};sI.\u0275fac=function(a){return new (a||sI)(u(LC),u(gs))};sI.\u0275prov=qc({token:sI,factory:sI.\u0275fac,providedIn:"root"});var tI=function(a){this.executor=a},$hc=function(a,b){return a.executor.post({url:"action/current_user/preferences",responseConstructor:Uk,body:rua(b)}).pipe(D(function(c){return eua(c)}))};tI.\u0275fac=function(a){return new (a||tI)(u(LC))};tI.\u0275prov=qc({token:tI,factory:tI.\u0275fac,providedIn:"root"});var uI=function(a){this.userPreferencesManagerBase=a;this.destroyed$=new E.ReplaySubject(1);this.preferencesSubject$=this.userPreferencesManagerBase.preferences$;this.preferences$=this.preferencesSubject$.pipe(D(Nh));this.textDisplayPreferences$=this.preferences$.pipe(D(function(b){return b.textDisplayPreferences||{}}));this.textDisplayPreferencesSubject$=Um(this.textDisplayPreferences$.pipe(Te(this.destroyed$)),{});this.lastPublishMode$=this.textDisplayPreferences$.pipe(D(function(b){return b.lastPublishMode}),
Fe());this.lastPublishModeProto$=this.lastPublishMode$.pipe(D(xk));this.themePreferences$=this.preferences$.pipe(D(function(b){var c;return null!=(c=b.themePreferences)?c:Nh(TD.themePreferences)}),bn());this.listViewPreferences$=this.preferences$.pipe(D(function(b){var c;return null!=(c=b.listViewPreferences)?c:Nh(TD.listViewPreferences)}),bn());this.layoutPreferences$=this.preferences$.pipe(D(this.getLayoutPreferences),bn());this.dateTimePreferences$=this.preferences$.pipe(D(function(b){var c;return null!=
(c=b.dateTimePreferences)?c:Nh(TD.dateTimePreferences)}),bn());this.homepagePreferences$=this.preferences$.pipe(D(this.getHomepagePreferences),bn());this.keyboardPrefs$=this.preferences$.pipe(D(function(b){var c;return null!=(c=b.keyboardPreferences)?c:Nh(TD.keyboardPreferences)}),bn());this.displayColumnsPreferences$=this.preferences$.pipe(D(function(b){var c,d;return null!=(d=null==(c=b.displayColumns)?void 0:c.column)?d:[]}),bn());this.sortColumnsPreferences$=this.preferences$.pipe(D(function(b){var c,
d;return null!=(d=null==(c=b.sortColumns)?void 0:c.column)?d:[]}),bn());this.needsAttentionPreferences$=this.preferences$.pipe(D(function(b){var c;return null!=(c=b.needsAttentionPreferences)?c:Nh(TD.needsAttentionPreferences)}),bn());this.bugScreensaverPreferences$=this.preferences$.pipe(D(function(b){var c;return null!=(c=b.bugScreensaverPreferences)?c:Nh(TD.bugScreensaverPreferences)}),bn());this.bugScreensaverSubject$=Um(this.bugScreensaverPreferences$.pipe(Te(this.destroyed$)),TD.bugScreensaverPreferences);
this.g3nPreferences$=this.preferences$.pipe(D(function(b){var c;return null!=(c=b.g3nPreferences)?c:Nh(TD.g3nPreferences)}),bn());Um(this.g3nPreferences$.pipe(Te(this.destroyed$)),TD.g3nPreferences);this.teamWarningPreferences$=this.preferences$.pipe(D(function(b){var c;return null!=(c=b.teamWarningPreferences)?c:Nh(TD.teamWarningPreferences)}),bn());this.teamWarningPreferencesSubject$=Um(this.teamWarningPreferences$.pipe(Te(this.destroyed$)),TD.teamWarningPreferences);this.commentFilterPreferences$=
this.preferences$.pipe(D(function(b){var c;return null!=(c=b.commentFilterPreferences)?c:Nh(TD.commentFilterPreferences)}),bn());Um(this.commentFilterPreferences$.pipe(Te(this.destroyed$)),TD.commentFilterPreferences);this.codeFont$=this.preferences$.pipe(D(function(b){return!!b.useCodefont}),Fe());this.autoCcOnComment$=this.preferences$.pipe(D(function(b){var c;return null!=(c=b.autoCcOnComment)?c:!1}),Fe());this.showFullHistory$=this.preferences$.pipe(D(function(b){return!!b.showFullHistory}),Fe());
this.showRecentEventsFirst$=this.preferences$.pipe(D(function(b){return!!b.showRecentEventsFirst}),Fe());this.showInlineImages$=this.preferences$.pipe(D(function(b){var c;return null!=(c=b.showInlineImages)?c:TD.showInlineImages}),Fe())};uI.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete()};uI.prototype.save=function(a){return this.userPreferencesManagerBase.save(a)};
var aic=function(a,b){b=Object.assign({},a.getLayoutPreferences(a.preferencesSubject$.value),b);return a.save({layoutPreferences:b}).pipe(D(a.getLayoutPreferences))},bic=function(a,b){return a.save({homepagePreferences:b}).pipe(D(a.getHomepagePreferences))};uI.prototype.getDateTimePreferences=function(){var a;return null!=(a=(void 0).dateTimePreferences)?a:Nh(TD.dateTimePreferences)};
var cic=function(a,b){b=Object.assign({},a.preferencesSubject$.value.collapsed,b);return a.save({collapsed:b})},dic=function(a,b){var c;return null==(c=a.preferencesSubject$.value.collapsed)?void 0:c[b]};uI.prototype.clearHomepagePreferences=function(){return bic(this,{})};var eic=function(a,b){return a.save({displayColumns:{column:b}}).pipe(D(function(c){var d,e;return null!=(e=null==(d=c.displayColumns)?void 0:d.column)?e:[]}))};
uI.prototype.saveSortColumns=function(a){return this.save({sortColumns:{column:a}}).pipe(D(function(b){var c,d;return null!=(d=null==(c=b.sortColumns)?void 0:c.column)?d:[]}))};var fic=function(a,b){return a.save({teamWarningPreferences:b}).pipe(D(function(c){var d;return null!=(d=c.teamWarningPreferences)?d:Nh(TD.teamWarningPreferences)}))};uI.prototype.getLayoutPreferences=function(a){var b;return null!=(b=a.layoutPreferences)?b:Nh(TD.layoutPreferences)};
uI.prototype.getHomepagePreferences=function(a){var b;return null!=(b=a.homepagePreferences)?b:Nh(TD.homepagePreferences)};var vI=function(a){return Nh(a.preferencesSubject$.getValue())};uI.\u0275fac=function(a){return new (a||uI)(u(wI))};uI.\u0275prov=qc({token:uI,factory:uI.\u0275fac,providedIn:"root"});
var wI=function(a,b){this.activeSession=a;this.userPreferencesResources=b;this.preferences$=new E.BehaviorSubject(Nh(TD));a=this.preferences$.value;if(b=this.activeSession.getUserPreferences())a=Object.assign({},a,b),gic(a);this.preferences$.next(a)};wI.prototype.save=function(a){var b=this;return this.activeSession.isAnonymous()?(0,E.of)(hic(this,a)):$hc(this.userPreferencesResources,a).pipe(D(function(){return hic(b,a)}))};
var hic=function(a,b){var c=Nh(a.preferences$.value);c=Object.assign({},c,b);gic(c);a.preferences$.next(c);return c},gic=function(a){a.dateTimePreferences&&(a.dateTimePreferences.calendarFormat||(a.dateTimePreferences.calendarFormat=TD.dateTimePreferences.calendarFormat),a.dateTimePreferences.timeFormat||(a.dateTimePreferences.timeFormat=TD.dateTimePreferences.timeFormat),a.dateTimePreferences.sloEtaViewAs||(a.dateTimePreferences.sloEtaViewAs=TD.dateTimePreferences.sloEtaViewAs));!a.notificationPreferences||
a.notificationPreferences.collaboratorPriority&&"UNKNOWN_PRIORITY"!==a.notificationPreferences.collaboratorPriority||(a.notificationPreferences.collaboratorPriority=TD.notificationPreferences.collaboratorPriority)};wI.\u0275fac=function(a){return new (a||wI)(u(gs),u(tI))};wI.\u0275prov=qc({token:wI,factory:wI.\u0275fac,providedIn:"root"});var iic=Vza({PRIORITY_UNSPECIFIED:0,P0:1,P1:2,P2:3,P3:4,P4:5}),jic=Vza({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}),kic=Vza({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});kic.slice(0,7);var xI={},yI=(xI.BUG="Unintended behavior",xI.FEATURE_REQUEST="Request for new functionality",xI.CUSTOMER_ISSUE="Issue affecting a 3rd party",xI.INTERNAL_CLEANUP="Maintenance work",xI.PROCESS="Miscellaneous non-feature work",xI.VULNERABILITY="A security concern",xI.PRIVACY_ISSUE="A privacy concern",xI.PROJECT="Goal-driven effort",xI.FEATURE="A collection of work",xI.MILESTONE="An important achievement",xI.EPIC="A large collection of work",xI.STORY="A small collection of work",xI.TASK="A small unit of work",
xI.TYPE_UNSPECIFIED="Unspecified",xI),lic="TYPE_UNSPECIFIED BUG FEATURE_REQUEST CUSTOMER_ISSUE INTERNAL_CLEANUP PROCESS VULNERABILITY PRIVACY_ISSUE PROJECT FEATURE MILESTONE EPIC STORY TASK".split(" "),mic="PRIORITY_UNSPECIFIED P0 P1 P2 P3 P4".split(" ").slice(1),nic="STATUS_UNSPECIFIED NEW ASSIGNED ACCEPTED FIXED VERIFIED NOT_REPRODUCIBLE INTENDED_BEHAVIOR OBSOLETE INFEASIBLE DUPLICATE".split(" ").slice(1),oic=lic.slice(1),pic=["S0","S1","S2","S3","S4"],qic=lic.slice(1,8),zI={},ric=(zI.PRIORITY_UNSPECIFIED=
"(Unspecified Priority)",zI.P0="P0",zI.P1="P1",zI.P2="P2",zI.P3="P3",zI.P4="P4",zI),AI={},sic=(AI.TYPE_UNSPECIFIED="(Unspecified Issue Type)",AI.BUG="Bug",AI.FEATURE_REQUEST="Feature Request",AI.CUSTOMER_ISSUE="Customer Issue",AI.INTERNAL_CLEANUP="Internal Cleanup",AI.PROCESS="Process",AI.VULNERABILITY="Vulnerability",AI.PRIVACY_ISSUE="Privacy Issue",AI.PROJECT="Project",AI.FEATURE="Feature",AI.MILESTONE="Milestone",AI.EPIC="Epic",AI.STORY="Story",AI.TASK="Task",AI),tic=mic.map(function(a){return ric[a]}),
uic=oic.map(function(a){return sic[a]}),vic=new Map([[1,yI.BUG],[2,yI.FEATURE_REQUEST],[3,yI.CUSTOMER_ISSUE],[4,yI.INTERNAL_CLEANUP],[5,yI.PROCESS],[6,yI.VULNERABILITY],[7,yI.PRIVACY_ISSUE],[8,yI.PROJECT],[9,yI.FEATURE],[10,yI.MILESTONE],[11,yI.EPIC],[12,yI.STORY],[13,yI.TASK]]),wic=new Map([["BUG",yI.BUG],["FEATURE_REQUEST",yI.FEATURE_REQUEST],["CUSTOMER_ISSUE",yI.CUSTOMER_ISSUE],["INTERNAL_CLEANUP",yI.INTERNAL_CLEANUP],["PROCESS",yI.PROCESS],["VULNERABILITY",yI.VULNERABILITY],["PRIVACY_ISSUE",yI.PRIVACY_ISSUE],
["PROJECT",yI.PROJECT],["FEATURE",yI.FEATURE],["MILESTONE",yI.MILESTONE],["EPIC",yI.EPIC],["STORY",yI.STORY],["TASK",yI.TASK]]),xic=new Set("PROJECT FEATURE MILESTONE EPIC STORY TASK".split(" ")),yic=oic.map(function(a){return{value:a,displayText:Cua(a),altText:wic.get(a)}}),BI=function(){this.protoIssueTypesEnumStrings=new Map(sl(kic,oic));this.protoIssueStatusesEnumStrings=new Map(sl(jic,nic));this.priorities=mic;this.severities=pic;this.issueTypes=qic;this.editIssueTypes=oic;this.editIssueTypeChoices=
yic;sl(oic,uic);this.protoIssuePrioritiesDisplayNames=new Map(sl(iic,tic));this.protoIssueTypesDisplayNames=new Map(sl(kic,uic));this.protoIssueTypesShortDescriptions=vic;this.issueTypesShortDescriptions=wic;this.supportedTimeZones=[{name:"Local time",id:""},{name:"UTC",id:"UTC"},{name:"America/Los_Angeles",id:"America/Los_Angeles"}]};BI.\u0275fac=function(a){return new (a||BI)};BI.\u0275prov=qc({token:BI,factory:BI.\u0275fac,providedIn:"root"});var CI=function(a,b,c,d){WD.call(this);var e=this;this.errorHandler=d;this.cachedFormatters=new Map;this.formatPrefChange$=new E.Subject;this.userTimeZone=null;this.timeZones={};this.userPrefs=TD.dateTimePreferences;Promise.all(c.supportedTimeZones.map(function(g){if(""===g.id)return Promise.resolve({name:"",timeZone:null});var h=b.get(g.id).pipe(Te(e.destroyed$));return(0,E.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(Te(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)})};U(CI,WD);CI.\u0275dir=WD.\u0275dir;CI.prototype.format=function(a,b,c){var d=this.cachedFormatters.get(a);d||(d=new pA(a),this.cachedFormatters.set(a,d));return b?d.format(c,b):d.format(c)};
var zic=function(a,b){return a.formatPrefChange$.subscribe(b)};CI.prototype.formatUserCalendar=function(a){return this.format(this.userPrefs.calendarFormat,this.userTimeZone,a)};CI.prototype.formatUserTime=function(a){return this.format(this.userPrefs.timeFormat,this.userTimeZone,a)};CI.\u0275fac=function(a){return new (a||CI)(u(uI),u(sI),u(BI),u(GF))};CI.\u0275prov=qc({token:CI,factory:CI.\u0275fac,providedIn:"root"});var DI=function(a){this.dateFormatter=a};
DI.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(Kh(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(Kh(c))}).join(", ");if(a.repeatedEnumValue)return a.repeatedEnumValue.values.join(", ");
if(a.repeatedNumericValue)return a.repeatedNumericValue.values.join(", ")}return""};DI.\u0275fac=function(a){return new (a||DI)(u(CI))};DI.\u0275prov=qc({token:DI,factory:DI.\u0275fac,providedIn:"root"});var EI=function(a,b){this.customFieldFormatter=a;this.hotlistFridge=b;this.FIELD_TEXT_MAP={assignee:"Assignee",type:"Issue Type",componentId:"Component ID",duplicateOfIssueId:"Canonical Issue ID",inProd:"In Prod",priority:"Priority",severity:"Severity",status:"Status",title:"Title",verifier:"Verifier",effortEstimate:"Estimated Effort",sloStartTime:"SLO Start Time",sloEndTime:"SLO End Time",blockingIssueId:"Blocked Issues",ccs:"CCs",changelists:"Changelists",blockedByIssueId:"Blocking Issues",foundInVersion:"Found In",
hotlists:"Hotlists",targetedToVersion:"Targeted To",verifiedInVersion:"Verified In"};this.ENUM_FIELDS=["type","status"]},Cic=function(a,b,c,d){c=void 0===c?null:c;d=void 0===d?"":d;var e;b.bulkEditOps&&(e=Tza(b.bulkEditOps));var g=b.actions||[];!g.length&&b.bulkEditOps&&(g=Sza(b.bulkEditOps));b=Aic(g).map(function(h){return Bic(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+"."},Aic=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)},Bic=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 Yh(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=Vm(a.hotlistFridge.watch(String(h),{trustUncertainMemory:!0})))?void 0:q.name)?"'"+l+"'":h}).join(","):a.ENUM_FIELDS.includes(b.fieldName)&&(g=g?Zh(g.replace(/_/g," ").toLowerCase()):"");return"ADD"===b.actionType&&"hotlists"===b.fieldName?(g=g.replace(/,/g,", "),"Added issue to Hotlist ["+g+"]"):"REMOVE"===b.actionType&&"hotlists"===b.fieldName?(g=g.replace(/,/g,", "),"Removed issue from Hotlist ["+g+"]"):"ADD"===b.actionType&&
"parentId"===b.fieldName?"Added child issue(s) to parent ["+g+"]":"REMOVE"===b.actionType&&"parentId"===b.fieldName?"Unlinked child issue(s) from parent ["+g+"]":b.actionType||"status"!==b.fieldName?b.actionType||"comment"!==b.fieldName?b.actionType||"attachments"!==b.fieldName?b.actionType||"sloStartTime"!==b.fieldName?b.actionType||"sloEndTime"!==b.fieldName?"ADD"!==b.actionType||b.customFieldValue?"REMOVE"!==b.actionType||b.customFieldValue?"isArchived"===b.fieldName?"true"===b.value?"Archived successfully":
"Unarchived successfully":e+' set to "'+g+'"':(g=g.replace(/,/g,", "),'"'+g+'" removed from '+e):(g=g.replace(/,/g,", "),'"'+g+'" added to '+e):b.value?"SLO End Time Set":"SLO End Time Unset":b.value?"SLO Start Time Set":"SLO Start Time Unset":"":"Comment added":'Status set to "'+xl[b.value].displayValue+'"'};EI.\u0275fac=function(a){return new (a||EI)(u(DI),u(SG))};EI.\u0275prov=qc({token:EI,factory:EI.\u0275fac,providedIn:"root"});var FI=function(a){r.call(this,a,0,FI.messageId)};U(FI,r);FI.prototype.getAttachmentsList=function(){return aj(this,gE,1)};FI.prototype.setAttachmentsList=function(a){dj(this,1,a)};FI.repeatedFields_=[1];FI.prototype.toObject=function(){if(null!=this){t(this);var a={attachmentsList:Kb(this.getAttachmentsList(),cbc)}}else a=void 0;return a};FI.messageId="b.CreateAttachmentsResponse";var GI=function(a){r.call(this,a,0,GI.messageId)};U(GI,r);GI.prototype.getErrorMessage=function(){return V(this,2)};GI.prototype.setErrorMessage=function(a){n(this,2,a)};GI.prototype.toObject=function(){if(null!=this){t(this);var a={encryptedMedia:Pb(Gj(this,1)),errorMessage:p(m(this,2))}}else a=void 0;return a};GI.messageId="b.EncryptedMediaResponse";var Dic=function(){},HI=function(a){this.executor=a};U(HI,Dic);var Eic=function(a,b){var c=new H$b;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:GI}).then(Ksa)};HI.\u0275fac=function(a){return new (a||HI)(u(MC))};HI.\u0275prov=qc({token:HI,factory:HI.\u0275fac,providedIn:"root"});var II=function(){};II.\u0275fac=function(a){return new (a||II)};II.\u0275prov=qc({token:II,factory:II.\u0275fac,providedIn:"root"});var JI=function(a){this.executor=a};U(JI,II);JI.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})};
JI.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:gE}).then(Msa)};JI.\u0275fac=function(a){return new (a||JI)(u(MC))};JI.\u0275prov=qc({token:JI,factory:JI.\u0275fac,providedIn:"root"});var Wza=function(a){r.call(this,a)};U(Wza,r);Wza.prototype.toObject=function(){return Fic(this)};var Fic=function(a){if(null!=a)return t(a),{principalType:p(kr(a,1)),detailedUserType:p(kr(a,2))}};var Gic=function(a){r.call(this,a,0,Gic.messageId)};U(Gic,r);Gic.prototype.toObject=function(){if(null!=this){t(this);var a={principalTypeInfoMap:Ob(Vj(this,1,Wza),Fic)}}else a=void 0;return a};Gic.messageId="b.PrincipalTypeInfoBatchResponse";var KI=function(a,b){this.principalResources=a;this.principalTypeGetter=b.adapt(Hic(this,!1));this.principalTypeWithDetailGetter=b.adapt(Hic(this,!0))},Hic=function(a,b){return function(c){return Iic(a.principalResources,c,b).then(function(d){return $za(c,d)})}};KI.prototype.get=function(a){return LI(this,a,!1)};var LI=function(a,b,c){return(c?a.principalTypeWithDetailGetter.get(b):a.principalTypeGetter.get(b)).then(function(d){return null!=d?d:aAa()})};
KI.\u0275fac=function(a){return new (a||KI)(u(MI),u(mF))};KI.\u0275prov=qc({token:KI,factory:KI.\u0275fac,providedIn:"root"});var MI=function(a){this.executor=a},Iic=function(a,b,c){var d={};d.email=rl(b);c&&(d.includeDetailedUserType="true");return a.executor.get({url:"action/principal_types",options:{params:d},responseConstructor:Gic}).then(Zza).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:aAa()}return g})};
MI.\u0275fac=function(a){return new (a||MI)(u(MC))};MI.\u0275prov=qc({token:MI,factory:MI.\u0275fac,providedIn:"root"});var NI=function(a,b,c){this.dialogRef=a;this.data=c;this.readMoreLink=b.baseDocumentationUrl+"/concepts/access-control#explicit_access_warnings";this.userEmails=c.userEmails};NI.prototype.close=function(a){this.dialogRef.close(a)};NI.\u0275fac=function(a){return new (a||NI)(C(Tz),C(nI),C(Vz))};
NI.\u0275cmp=Gc({type:NI,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&&(G(0,"div",0)(1,"h1",1),R(2,"User may not have access"),H(),G(3,"section",2)(4,"p"),R(5," The following user(s) may not be able to edit, interact with, or get notifications about this issue: "),
H(),G(6,"ul"),Q(7,bAa,2,1,"li",3),H(),G(8,"section"),R(9,"Continue anyway?"),H()(),G(10,"footer",4)(11,"div",5)(12,"a",6),R(13,"Learn more"),H()(),G(14,"button",7),M("click",function(){return b.close(!0)}),R(15,"Continue"),H(),G(16,"button",8),M("click",function(){return b.close(!1)}),R(17,"Cancel"),H()()());a&2&&(z(7),F("ngForOf",b.userEmails),z(5),F("href",b.readMoreLink,Md))},dependencies:[dw,Jz,Yz,Zz,$z],styles:["ul[_ngcontent-%COMP%]{list-style:disc;margin-bottom:10px}"]});var OI=function(a,b,c,d,e){this.matDialogService=a;this.analytics=b;this.butterBar=c;this.logger=d;this.accessPolicy=e},Kic=function(a,b){var c=b.componentId,d=b.userEmails,e=b.relation,g=b.analyticsEventLabel,h,l,q;return he(function(x){switch(x.nextAddress){case 1:if(d.every(function(A){return 0===A.length}))return x.return(!0);ie(x,2);return x.yield(Jic(a,c,d,e),4);case 4:h=x.yieldResult;if(0===h.length)return x.return(!0);a.analytics.trackEvent(Jn.ADD_USER_WITHOUT_ACCESS,"warn",g);return x.yield(a.confirm(h,
e),5);case 5:l=x.yieldResult;if(!l)return DF(a.butterBar,"Save cancelled.",4E3),a.analytics.trackEvent(Jn.ADD_USER_WITHOUT_ACCESS,"cancel",g),x.return(!1);a.analytics.trackEvent(Jn.ADD_USER_WITHOUT_ACCESS,"proceed",g);return x.return(!0);case 2:return q=le(x),a.logger.error(q),x.return(!1)}})},Jic=function(a,b,c,d){var e;return he(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(Vc(e.noAccessEmails||
[]),Vc(e.unknownEmails||[])))})};OI.prototype.confirm=function(a,b){var c=this,d,e,g;return he(function(h){if(1==h.nextAddress)return d={userEmails:a,relation:b},e=c.matDialogService.open(NI,{width:"400px",data:d}),h.yield((0,E.firstValueFrom)(Rz(e)),2);g=h.yieldResult;return h.return(!!g)})};OI.\u0275fac=function(a){return new (a||OI)(u(Wz),u(gH),u(CF),u(FF),u(VF))};OI.\u0275prov=qc({token:OI,factory:OI.\u0275fac,providedIn:"root"});var Lic=function(a,b){this.size=a;this.name=b;this.transferredBytes=0;this.errorMessage="";this.blobRef=null;this.state=1};Lic.prototype.cancel=function(){this.state=4};var Mic={UPLOADING:1,COMPLETE:2,ERROR:3,CANCELLED:4,1:"UPLOADING",2:"COMPLETE",3:"ERROR",4:"CANCELLED"};var PI=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};PI.prototype.reset=function(){this.value="";Nic(this)};var Nic=function(a){for(var b=k(a.uploads),c=b.next();!c.done;c=b.next())c.value.cancel();a.uploads=[]},Oic=function(a){return a.fromTemplate&&a.initialComment===a.value};
PI.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(Nh(c.blobRef));return a};PI.prototype.hasContent=function(){return!(!this.value&&!this.uploads.length)};var Pic=function(a){return!a.isEmpty()&&!pqb(a)};PI.prototype.isEmpty=function(){return!this.value&&!Qic(this)};
var pqb=function(a){return a.uploads.some(function(b){return 1===b.state||3===b.state})},Qic=function(a){return a.uploads.some(function(b){return 2===b.state})};var QI=function(a,b){WD.call(this);this.router=a;this.activatedRoute=b;this.params={};this.routeParams$=new E.BehaviorSubject({});this.issueId$=this.routeParams$.pipe(D(function(c){return c.issueId}),Fe())};U(QI,WD);QI.\u0275dir=WD.\u0275dir;
var Sic=function(a){a.activatedRoute.queryParams.pipe(Te(a.destroyed$)).subscribe(function(b){Ric(a,a.routeParams$.value,b)});a.router.events.pipe(ye(function(b){return b instanceof Jxa}),D(function(b){return b}),Te(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);Ric(a,c,b.queryParams)})},Tic=function(a,b){return a.routeParams$.pipe(D(function(c){return c[b]}))},Ric=function(a,b,c){a.clearParams();a.routeParams$.next(b);
c=k(Object.entries(c));for(var d=c.next();!d.done;d=c.next()){var e=k(d.value);d=e.next().value;e=e.next().value;a.params[cAa(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[cAa(c)]=d};QI.prototype.clearParams=function(){for(var a=k(Object.keys(this.params)),b=a.next();!b.done;b=a.next())delete this.params[cAa(b.value)]};QI.\u0275fac=function(a){return new (a||QI)(u(nG),u(mm))};QI.\u0275prov=qc({token:QI,factory:QI.\u0275fac,providedIn:"root"});var RI=new Rc("routeParams",{factory:function(){return Ac(QI).params}});var SI=function(a,b,c,d){this.routeParams=a;this.issueComments=b;this.draftStore=c;this.errorHandler=d};SI.prototype.get=function(a){var b=this;if(this.routeParams.comment)return(0,E.of)(this.routeParams.comment);var c=this.routeParams.template_issue;if(c){var d=Rh(this.routeParams.template_comment)||1;return(0,E.defer)(function(){return Uic(b,c,d,b.routeParams.do_attribution)})}return a?(0,E.of)(this.draftStore.$window.sessionStorage.getItem(an(a))||""):(0,E.of)("")};
var Uic=function(a,b,c,d){var e,g,h,l,q;return he(function(x){if(1==x.nextAddress)return ie(x,2),x.yield(a.issueComments.get(b,c),4);if(2!=x.nextAddress)return e=x.yieldResult,g=e.unlinkifiedComment,h=(new Date(Number(e.lastModified)/1E3)).toLocaleDateString(),d?(l="> From issue "+b+" on "+h+":",x.return(l+"\n\n"+g)):x.return(g);q=le(x);IF(a.errorHandler,q);return x.return("")})};SI.\u0275fac=function(a){return new (a||SI)(u(RI),u(NH),u(mI),u(GF))};
SI.\u0275prov=qc({token:SI,factory:SI.\u0275fac,providedIn:"root"});var Vic=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$=pH(this.issueFetchResponseFridge,this.issueId);this.issue$=this.issueFr$.pipe(D(function(h){return null==h?void 0:h.issue}));this.componentId$=this.issue$.pipe(D(function(h){return null==h?void 0:h.snapshot[0].componentId}),Fe());this.comment$=this.defaultCommentSource.get(this.issueId).pipe(Re(""),Fe(),Ve(this.userPreferencesManager.lastPublishModeProto$),
D(function(h){var l=k(h);h=l.next().value;l=l.next().value;h=new PI(h);h.formattingMode=l;return h}),Pe({bufferSize:1,refCount:!0}));this.comment=function(){return Vm(g.comment$)};this.createRestrictedResourcesComponentWhitelist=this.activeSession.getCreateRestrictedSubresourcesComponentWhitelist();this.componentJudgementForNewContent$=this.componentId$.pipe(D(function(h){if(h&&g.createRestrictedResourcesComponentWhitelist.includes(h))return{severity:"PII",judgementReason:"None Specified"}}),Pe({bufferSize:1,
refCount:!0}));this.userDefinedJudgementForNewContent$=new E.BehaviorSubject(void 0);this.judgementForNewContent$=(0,E.combineLatest)([this.componentJudgementForNewContent$.pipe(Re(void 0)),this.userDefinedJudgementForNewContent$]).pipe(D(function(h){var l=k(h);h=l.next().value;l=l.next().value;return null!=l?l:h}),Pe({bufferSize:1,refCount:!1}));this.judgementForNewContent=function(){return Vm(g.judgementForNewContent$)}},Wic=function(a){var b=a.comment(),c,d="NONE_DETECTED"===(null==(c=a.judgementForNewContent())?
void 0:c.severity)?void 0:a.judgementForNewContent();a=b.value;c=b.formattingMode;var e=[];b=k(b.uploads);for(var g=b.next();!g.done;g=b.next())g=g.value,2===g.state&&g.blobRef&&(g=Nh({attachment:g.blobRef}),d&&(g.contentJudgement={severity:d.severity,judgementReason:d.judgementReason}),e.push(g));return{judgementForNewContent:d,commentText:a,formattingMode:c,attachmentsWithJudgements:e}},Xic=function(a){var b=Wic(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},TI=function(a,b,c,d){this.defaultCommentSource=a;this.issueFetchResponseFridge=b;this.activeSession=c;this.userPreferencesManager=d};TI.prototype.create=function(a){return new Vic(a,this.defaultCommentSource,this.issueFetchResponseFridge,this.activeSession,this.userPreferencesManager)};TI.\u0275fac=function(a){return new (a||TI)(u(SI),u(oH),u(gs),u(uI))};TI.\u0275prov=qc({token:TI,factory:TI.\u0275fac,providedIn:"root"});var UI=function(){};UI.prototype.isSloStartTimeApplied=function(a){return!!a&&a.seconds>Date.now()/1E3};
var VI=function(a){return!!a&&!!a.targetTime&&0!==a.targetTime.seconds},Yic=function(a){return VI(a.assignmentBounds)||VI(a.responseBounds)||VI(a.closureBounds)},Zic=function(a,b){switch(b){case "ASSIGNMENT":return VI(a.assignmentBounds);case "RESPONSE":return VI(a.responseBounds);case "CLOSURE":return VI(a.closureBounds);default:return Yic(a)}},$ic=function(a){if(!a)return null;var b=[],c=[];a.assignmentBounds&&dAa(b,c,a.assignmentBounds,"ASSIGNMENT");a.responseBounds&&dAa(b,c,a.responseBounds,"RESPONSE");
a.closureBounds&&dAa(b,c,a.closureBounds,"CLOSURE");return 0<b.length?(b.sort(eAa),b[0]):0<c.length?(c.sort(eAa),{sloBounds:c[0].sloBounds,sloMetric:""}):null};UI.\u0275fac=function(a){return new (a||UI)};UI.\u0275prov=qc({token:UI,factory:UI.\u0275fac,providedIn:"root"});var ajc=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=UD(this.activeSession,"enableNonWtdmFieldPerTypeVisibility")||!1;this.showSloStatus=this.activeSession.isInternalSession();this.showChangelists=!this.activeSession.isExternalSession();this.issueFetchResponse$=pH(this.issueFetchResponseFridge,this.issueId);this.issue$=this.issueFetchResponse$.pipe(D(function(h){return null==
h?void 0:h.issue}));this.issueSnapshot$=this.issue$.pipe(D(function(h){return null==h?void 0:h.snapshot[0]}));this.hasSloDefined$=this.issue$.pipe(D(function(h){var l;return null==h?void 0:null==(l=h.aggregatedData)?void 0:l.sloStatus}),D(function(h){return!!h&&Yic(h)}));this.isWtdmType$=this.issueSnapshot$.pipe(D(function(h){return null!=(null==h?void 0:h.type)&&xic.has(h.type)}));this.isForgottenFourPrimary$=this.isWtdmType$.pipe(D(function(h){return!h&&!g.enableNonWtdmFieldPerTypeVisibility}));
this.isSloStatusPrimary$=(0,E.combineLatest)([this.hasSloDefined$,this.isWtdmType$]).pipe(D(function(h){var l=k(h);h=l.next().value;l=l.next().value;return h||!l}));this.isSeverityPrimary$=this.isWtdmType$.pipe(D(function(h){return!h}));this.isChangelistPrimary$=(0,E.combineLatest)([this.isWtdmType$,this.issueSnapshot$]).pipe(D(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(D(function(h){var l;
return null!=(l=null==h?void 0:h.issue.customFields)?l:[]}));this.visibleFields$=this.issue$.pipe(D(function(h){var l;return null!=(l=null==h?void 0:h.visibleFields)?l:[]}));this.visibleFieldIds$=this.visibleFields$.pipe(D(function(h){return h.map(function(l){return l.customFieldId}).filter(pi)}),D(function(h){return new Set(h)}),Pe({refCount:!0,bufferSize:1}));this.visibleCustomFields$=(0,E.combineLatest)([this.visibleFieldIds$,this.customFields$]).pipe(D(function(h){h=k(h);var l=h.next().value;
return h.next().value.filter(function(q){return l.has(q.customFieldId)})}),Pe({refCount:!0,bufferSize:1}));this.hiddenCustomFields$=(0,E.combineLatest)([this.visibleFieldIds$,this.customFields$]).pipe(D(function(h){h=k(h);var l=h.next().value;return h.next().value.filter(function(q){return!l.has(q.customFieldId)})}),Pe({refCount:!0,bufferSize:1}));this.hiddenFieldCount$=(0,E.combineLatest)([this.isForgottenFourPrimary$,this.isSeverityPrimary$,this.isSloStatusPrimary$,this.isChangelistPrimary$,this.hiddenCustomFields$]).pipe(D(function(h){var l=
k(h);h=l.next().value;var q=l.next().value,x=l.next().value,A=l.next().value;l=l.next().value;return(h?0:4)+(q?0:1)+(!g.showSloStatus||x?0:1)+(!g.showChangelists||A?0:2)+l.length}),Pe({refCount:!0,bufferSize:1}));this.hasHiddenFields$=this.hiddenFieldCount$.pipe(D(function(h){return 0<h}));this.showHiddenFieldsLabel$=this.hiddenFieldCount$.pipe(D(function(h){return 1===h?"Show 1 additional field":"Show "+h+" additional fields"}))},WI=function(a,b,c,d){this.issueFetchResponseFridge=a;this.constants=
b;this.activeSession=c;this.sloStatusHelpersService=d};WI.prototype.create=function(a){return new ajc(a,this.issueFetchResponseFridge,this.constants,this.activeSession,this.sloStatusHelpersService)};WI.\u0275fac=function(a){return new (a||WI)(u(oH),u(BI),u(gs),u(UI))};WI.\u0275prov=qc({token:WI,factory:WI.\u0275fac,providedIn:"root"});var Nfc=Jn.EDIT_ISSUE,XI=function(a,b){WD.call(this);this.analytics=a;this.clearcut=b;this.issueToTrackingState=new Map;this.getState=cn(this.issueToTrackingState,hAa);this.trackFirstAction=this.analytics.preapply()("first-action");this.trackEdit=this.analytics.preapply()("edit");this.trackNavigation=this.analytics.preapply()("navigate");this.trackDestroy=this.analytics.preapply()("destroyed")};U(XI,WD);XI.\u0275dir=WD.\u0275dir;
var cjc=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),bjc(a,c,"idp-time-to-action",b.variations),d.firstActionSeen=!0)},Ho=function(a,b,c){a.getState(b).variations.add(c)},bjc=function(a,b,c,d){WG(a.clearcut,b,c);d=k(d);for(var e=d.next();!e.done;e=d.next())WG(a.clearcut,b,c+"-"+e.value)};XI.prototype.resetState=function(a){this.issueToTrackingState.delete(a)};
XI.\u0275fac=function(a){return new (a||XI)(u(gH),u(VG))};XI.\u0275prov=qc({token:XI,factory:XI.\u0275fac,providedIn:"root"});var YI=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(D(SAa),Pe({refCount:!0,bufferSize:1}));this.issueJs$=this.id$.pipe(Se(function(q){return pH(l.issueFetchResponseFridge,q)}),Pe({refCount:!0,bufferSize:1}));this.issueJs$.pipe(D(function(q){return null==q?void 0:q.firstEvent}));
this.eventsJs$=this.id$.pipe(Se(this.eventsForIssue.watch),D(function(q){var x;return null!=(x=null==q?void 0:q.events)?x:[]}));this.starred$=this.issueJs$.pipe(D(iAa));this.lastViewedTimeMicros$=this.issueJs$.pipe(D(jAa));this.lastViewedTimeMicros$.pipe(D(function(q){return!q}));this.issueJs$.pipe(D(kAa));this.issueJs$.pipe(D(BAa));this.accessLimitLevel$=this.issueJs$.pipe(D(sAa));this.voted$=this.issueJs$.pipe(D(CAa));this.status$=this.issueJs$.pipe(D(lAa));this.priority$=this.issueJs$.pipe(D(mAa));
this.assignee$=this.issueJs$.pipe(D(nAa));this.issueJs$.pipe(D(oAa));this.teamId$=this.issueJs$.pipe(D(pAa));this.team$=this.teamId$.pipe(Se(this.teamFridge.watch),Pe({refCount:!0,bufferSize:1}));this.ccUsers$=this.issueJs$.pipe(D(rAa));this.collaboratorsUsers$=this.issueJs$.pipe(D(tAa));this.issueJs$.pipe(D(function(q){var x,A;return null!=(A=null==(x=Bl(q))?void 0:x.severity)?A:void 0}));this.type$=this.issueJs$.pipe(D(uAa));this.issueJs$.pipe(D(vAa));this.issueJs$.pipe(D(wAa));this.issueJs$.pipe(D(xAa));
this.postmortems$=this.issueJs$.pipe(D(yAa));this.postmortems$.pipe(D(function(q){return 0<q.length}));this.issueJs$.pipe(D(zAa));this.effort$=this.issueJs$.pipe(D(AAa));this.isDeleted$=this.issueJs$.pipe(D(EAa));this.accessLevel$=this.issueJs$.pipe(D(GAa));this.modifiedTime$=this.issueJs$.pipe(D(HAa));this.retention$=this.issueJs$.pipe(D(JAa));this.retention=function(){return Vm(l.retention$)};this.retentionState$=this.issueJs$.pipe(D(MAa));this.retentionState=function(){return Vm(l.retentionState$)};
this.canonicalIssueId$=this.issueJs$.pipe(D(KAa));this.canonicalIssue$=this.canonicalIssueId$.pipe(Se(this.issueFridge.watch));this.sloStatus$=this.issueJs$.pipe(D(function(q){var x;return null==q?void 0:null==(x=q.issue.aggregatedData)?void 0:x.sloStatus}));this.sloId$=this.issueJs$.pipe(D(NAa));this.createdTimeMicros$=this.issueJs$.pipe(D(OAa));this.componentId$=this.issueJs$.pipe(D(qAa));this.component$=this.componentId$.pipe(Se(this.componentFridge.watch));this.teamSuggestions$=this.component$.pipe(D(function(q){var x;
return null!=(x=null==q?void 0:q.teamSuggestions)?x:[]}));this.effortSpec$=this.component$.pipe(D(PAa));this.isEffortEnabled$=this.component$.pipe(D(QAa));this.component$.pipe(D(RAa));this.thinking$=this.issueFetchResponseFridge.thinking$};YI.\u0275fac=function(a){return new (a||YI)(u(oH),u(lH),u(EH),u(eF),u(SE),u(QI),u(mm))};YI.\u0275prov=qc({token:YI,factory:YI.\u0275fac,providedIn:"root"});var djc={admin:!1,writer:!0,appender:!0,reader:!0},$I=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("^"+gn(this.currentUserEmail).replace("@","(\\+.*)?@")+"$");this.issueId$=this.issueDetailsBrain.id$;this.issuePermissions$=this.issueId$.pipe(Se(function(l){return l?h.permissionsFridge.watchOne("issues/"+
l):(0,E.of)(void 0)}),D(function(l){return null!=l?l:djc}),Re(djc),Pe({bufferSize:1,refCount:!1}));this.hasAclToEdit$=this.issuePermissions$.pipe(D(function(l){return!!l.writer}));this.hasAclToEdit=function(){return!!Vm(h.hasAclToEdit$)};this.hasAclToComment$=this.issuePermissions$.pipe(D(function(l){return!!l.appender}));this.hasAclToComment=function(){return!!Vm(h.hasAclToComment$)};this.hasAclToAdmin$=this.issuePermissions$.pipe(D(function(l){return!!l.admin}));this.hasAclToAdmin=function(){return!!Vm(h.hasAclToAdmin$)};
this.isCurrentUserCCd$=this.issueDetailsBrain.ccUsers$.pipe(D(function(l){return l.some(function(q){return ZI(h,q.emailAddress)})}));this.isCurrentUserCCd=function(){return!!Vm(h.isCurrentUserCCd$)};this.isCurrentUserCollaborator$=this.issueDetailsBrain.collaboratorsUsers$.pipe(D(function(l){return l.some(function(q){return ZI(h,q.emailAddress)})}));this.isCurrentUserCollaborator=function(){return!!Vm(h.isCurrentUserCollaborator$)};this.isAllowedToEditCC$=this.hasAclToEdit$;(0,E.combineLatest)([this.hasAclToEdit$,
this.isCurrentUserCCd$]).pipe(D(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(),Se(function(l){return l?h.accessPolicyApi.checkComponentImplicitAccessEnabled(Number(l)):(0,E.of)(!1)}),Ce(function(l){if(403===l.status)return(0,E.of)(!0);h.errorHandler.errorHandler(null,l);return(0,E.of)(!1)}),
Pe({bufferSize:1,refCount:!1}));this.isImplicitAccessEnabled=function(){return!!Vm(h.isImplicitAccessEnabled$)};this.canDeleteIssue$=this.hasAclToAdmin$;this.canUndeleteIssue$=(0,E.combineLatest)([this.issueDetailsBrain.isDeleted$,this.canDeleteIssue$]).pipe(D(function(l){var q=k(l);l=q.next().value;q=q.next().value;return l&&q}));this.userIsComponentAdmin$=this.issueDetailsBrain.componentId$.pipe(Fe(),Se(function(l){return l?qF(h.userAccess,"admin","components/"+l):(0,E.of)(!1)}),Ce(function(l){h.errorHandler.errorHandler(null,
l);return(0,E.of)(!1)}),Pe({bufferSize:1,refCount:!1}));this.accessLevel$=this.issueDetailsBrain.accessLevel$;this.accessLevel=function(){return Vm(h.accessLevel$)};this.isWithinExternalComponent$=this.accessLevel$.pipe(D(function(l){return!(!l||"INTERNAL"===l)}));this.audience$=this.isWithinExternalComponent$.pipe(D(function(l){return l?"EXTERNAL_AUDIENCE":"INTERNAL_AUDIENCE"}));this.audience=function(){return Vm(h.audience$)};this.canChangeCommentRetention$=this.hasAclToEdit$;this.canChangeCommentRetention=
function(){return Vm(h.canChangeCommentRetention$)}},ZI=function(a,b){return 0===(null==b?void 0:b.search(a.currentUserEmailPattern))},ejc=function(a,b){return ul(b)&&"DELETED"===b.commentDeletionStatus?a.hasAclToAdmin()||ai(b.lastCommentEditorUser)===a.activeSession.getUserEmail()&&a.hasAclToComment()?!0:!1:!1},fjc=function(a,b){return ul(b)&&"ACTIVE"===b.commentDeletionStatus?ei(b.userPerformingActionUser)===a.activeSession.getUserEmail()?!0:a.hasAclToAdmin():!1};
$I.prototype.canEditComment$=function(a){var b=this;return(0,E.combineLatest)([this.issueDetailsBrain.component$,this.hasAclToEdit$,this.hasAclToComment$]).pipe(D(function(c){var d=k(c);c=d.next().value;var e=d.next().value;d=d.next().value;return void 0!==c&&"ENABLED"===c.commentEditState&&"DELETED"!==a.commentDeletionStatus&&"PURGED"!==a.commentDeletionStatus&&a.commentNumber?1===a.commentNumber?e:d&&ei(a.userPerformingActionUser)===b.activeSession.getUserEmail():!1}))};
$I.\u0275fac=function(a){return new (a||$I)(u(YI),u(tH),u(gs),u(VF),u(GF),u(pF))};$I.\u0275prov=qc({token:$I,factory:$I.\u0275fac,providedIn:"root"});var gjc={type:"TAKE",displayText:"Assign to me",description:"Assign issue to yourself"},hjc={type:"DEFAULT_ASSIGNEE",displayText:"Assign to default",description:"Use the component's default assignee"},ijc={type:"START",displayText:"Start work",description:"Change issue status to '"+ol.ACCEPTED+"'"},jjc={type:"FIX",displayText:"Mark fixed",description:"Change issue status to '"+ol.FIXED+"'"},kjc={type:"VERIFY",displayText:"Verify",description:"Change issue status to '"+ol.VERIFIED+"'"},ljc={type:"REOPEN",
displayText:"Re-open",description:"Change issue status back to '"+ol.ASSIGNED+"'"};var njc=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(Pe({bufferSize:1,refCount:!0}));this.issueSnapshot$=this.issue$.pipe(D(function(g){return null==g?void 0:g.snapshot[0]}));this.currentAssignee$=this.issueSnapshot$.pipe(D(function(g){return(null==g?void 0:g.assigneeUser)&&ei(g.assigneeUser)}),D(ki));
this.defaultAssigneeForComponent$=this.issueSnapshot$.pipe(D(function(g){return null==g?void 0:g.componentId}),Fe(),Se(function(g){return g?e.componentTemplatesFridge.defaultTemplate$(String(g)):(0,E.of)(void 0)}),D(function(g){return g&&ei(g.snapshot.assigneeUser)}),Pe({bufferSize:1,refCount:!0}));this.defaultAssigneeForComponent=function(){return Vm(e.defaultAssigneeForComponent$)};this.issueAssigneeQuickAction$=(0,E.combineLatest)([this.currentAssignee$,this.defaultAssigneeForComponent$]).pipe(D(function(g){var h=
k(g);g=h.next().value;h=h.next().value;return e.defaultAssigneeQuickActionEnabled&&h&&g!==h?hjc:void 0}));this.issueStatusQuickAction$=this.issueSnapshot$.pipe(D(function(g){return g&&mjc(e,g)}))},mjc=function(a,b){var c=a.activeSession.getUserEmail();a=ei(b.assigneeUser)===c;c=ei(b.verifierUser)===c;b=b.status;if(c&&"FIXED"===b)return kjc;if(a)switch(b){case "ASSIGNED":return ijc;case "ACCEPTED":return jjc;default:return ljc}switch(b){case "NEW":return gjc;case "ASSIGNED":return gjc;case "ACCEPTED":return gjc;
default:return ljc}},aJ=function(a,b,c){this.activeSession=a;this.issueFridge=b;this.componentTemplatesFridge=c};aJ.prototype.create=function(a){return new njc(a,this.activeSession,this.issueFridge,this.componentTemplatesFridge)};aJ.\u0275fac=function(a){return new (a||aJ)(u(gs),u(lH),u(LF))};aJ.\u0275prov=qc({token:aJ,factory:aJ.\u0275fac,providedIn:"root"});var UAa=RegExp("^[^\\.\\s]{2}\\.{3}@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$"),TAa=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])?$"),XAa=["@twosync.google.com","@twosync-src.google.com","@twosync-loas.google.com"];var ojc=function(){this.transform=YAa};ojc.\u0275fac=function(a){return new (a||ojc)};ojc.\u0275pipe=Lc({name:"toNewEmailPreference",type:ojc,pure:!0});var bJ=function(){this.transform=ZAa};bJ.\u0275fac=function(a){return new (a||bJ)};bJ.\u0275pipe=Lc({name:"enumToHuman",type:bJ,pure:!0});var cJ=function(){this.transform=$Aa};cJ.\u0275fac=function(a){return new (a||cJ)};cJ.\u0275pipe=Lc({name:"arrayToHuman",type:cJ,pure:!0});var dJ=function(){};
dJ.prototype.transform=function(a,b){return gk(aBa(a,b)).toString()};dJ.\u0275fac=function(a){return new (a||dJ)};dJ.\u0275pipe=Lc({name:"boldPrefixMatches",type:dJ,pure:!0});var eJ=function(){this.transform=bBa};eJ.\u0275fac=function(a){return new (a||eJ)};eJ.\u0275pipe=Lc({name:"yesNo",type:eJ,pure:!0});var pjc=function(){this.transform=cBa};pjc.\u0275fac=function(a){return new (a||pjc)};pjc.\u0275pipe=Lc({name:"teamPath",type:pjc,pure:!0});var qjc=function(){this.transform=dBa};
qjc.\u0275fac=function(a){return new (a||qjc)};qjc.\u0275pipe=Lc({name:"humanFileSize",type:qjc,pure:!0});var fJ=function(){this.transform=kn};fJ.\u0275fac=function(a){return new (a||fJ)};fJ.\u0275pipe=Lc({name:"omitObfuscatedEmail",type:fJ,pure:!0});var rjc=function(){this.transform=ln};rjc.\u0275fac=function(a){return new (a||rjc)};rjc.\u0275pipe=Lc({name:"toString",type:rjc,pure:!0});var sjc=function(){this.transform=fBa};sjc.\u0275fac=function(a){return new (a||sjc)};
sjc.\u0275pipe=Lc({name:"csv",type:sjc,pure:!0});var tjc=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=tjc.get(b))?c:b}).join("")};gJ.\u0275fac=function(a){return new (a||gJ)};gJ.\u0275pipe=Lc({name:"reverse",type:gJ,pure:!0});var hJ=function(){};hJ.\u0275fac=function(a){return new (a||hJ)};hJ.\u0275mod=Ic({type:hJ});
hJ.\u0275inj=rc({});var iJ=function(a){a=void 0===a?[]:a;this.internalValue$=new E.BehaviorSubject(new Set);this.value$=CSb(this.internalValue$).pipe(D(function(b){return new Set(b)}),Fe(Mh),Pe({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(Pc.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 Dn=function(a,b){return a.internalValue$.pipe(D(function(c){return c.has(b)}),Fe())};iJ.prototype[Symbol.iterator]=function(){return this.value.values()};
iJ.prototype.toString=function(){return"[ReactiveSet](["+[].concat(Vc(this.value.values())).join(", ")+"])"};iJ.prototype.indexOf=function(a){return[].concat(Vc(this.value.values())).indexOf(a)};
hh.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(D(function(a){return a.size}),Fe())}}});var ujc=function(){this.propertiesBeingSaved=new iJ};ujc.prototype.get=function(a){return this.propertiesBeingSaved.has(ln(a))};var jJ=function(a,b){a.propertiesBeingSaved.add(ln(b))},kJ=function(a,b){a.propertiesBeingSaved.delete(ln(b))};ujc.prototype.properties=function(){return[].concat(Vc(this.propertiesBeingSaved))};var lJ=function(){};lJ.prototype.transform=function(a){return mn(a)};lJ.\u0275fac=function(a){return new (a||lJ)};lJ.\u0275pipe=Lc({name:"appendDomain",type:lJ,pure:!0});var jBa={"\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,x,A,B,K,N,P,Y,X,ka,ma,za,Ba,Ma,Sa,Ua,Lb,qb,Ya){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=x;this.confirmationDialogService=A;this.principalTypes=B;this.issuePermissionService=K;this.accessPolicy=N;this.issueTypeDialog=P;this.logger=Y;this.issueFridge=X;this.confirmNoAccessService=
ka;this.issueService=ma;this.attachmentsMember=za;this.userPreferencesManager=Ba;this.issueComments=Ma;this.draftStore=Sa;this.attachmentApi=Ua;this.issueFieldsFactory=Lb;this.issueQuickActionsFactory=qb;this.issueCommentDraftFactory=Ya;this.isSavingMap=new Map;this.savingState=cn(this.isSavingMap,function(){return new ujc});this.issueFieldsMap=new Map;this.issueFields=cn(this.issueFieldsMap,function(Ka){return wa.issueFieldsFactory.create(Ka)});this.issueQuickActionsMap=new Map;this.issueQuickActions=
cn(this.issueQuickActionsMap,function(Ka){return wa.issueQuickActionsFactory.create(Ka)});this.editableIssueMap=new Map;this.editableIssue$=cn(this.editableIssueMap,function(Ka){return vjc(wa,Ka)});this.editableIssue=function(Ka){return wa.editableIssue$(Ka).value};this.subscriptions=new Map;this.getSubscription=cn(this.subscriptions,function(){return new E.Subscription});this.issueCommentDraftMap=new Map;this.issueCommentDraft=cn(this.issueCommentDraftMap,function(Ka){return wa.issueCommentDraftFactory.create(Ka)});
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 he(function(x){if(1==x.nextAddress)return e=d.editableIssue(a),e.componentId=b,(g=wjc(d,e))&&g.actions&&g.actions.length?x.yield(d.getRetentionState(a),2):x.return();h=x.yieldResult;xjc(d,g);l={issueId:a,componentId:b};q=c?d.issueApi.moveIssueExternal(a,l):d.issueApi.moveIssue(a,l);return x.return(yjc(d,q,g,{originalRetentionState:h}))})};
var Uvb=function(a,b,c){var d;return he(function(e){if(!c)return EF(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())})},pxb=function(a,b,c){var d,e,g,h;return he(function(l){if(1==l.nextAddress){d=zua(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(Yhc(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())})},qxb=function(a,b,c){var d,e,g;return he(function(h){d=nl(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())})},Ajc=function(a,b,c){var d,e,g;return he(function(h){d=a.editableIssue(b);d.duplicateOfIssueId=c;d.status="DUPLICATE";e=wjc(a,d);return e?(g=e.actions.find(function(l){return"duplicateOfIssueId"===
l.fieldName&&!Bk(l.value||"")}))&&g.value?h.return(zjc(a,b,{actionIssueId:g.value,implicitAppenders:d.cc,implicitEditors:[],isDeduping:!0,isRemovingSelfFromCc:!1,requestData:e})):h.return():h.return()})},Bjc=function(a,b,c){var d,e;return he(function(g){d=a.editableIssue(b);d.setStatus(c);return g.return(null!=(e=a.updateIssue(b))?e:Promise.resolve())})},Cjc=function(a,b,c){var d,e,g;return he(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:rh(c.type)}return h.return(null!=(g=a.updateIssue(b))?g:Promise.resolve())})},awb=function(a,b,c){var d,e;return he(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())})},axb=function(a,b,c){var d,e,g;return he(function(h){d=a.editableIssue(b);e=yqa(c,!1);d.setFoundInVersion(e);return h.return(null!=(g=a.updateIssue(b))?g:Promise.resolve())})},exb=function(a,b,c){var d,e,g;return he(function(h){d=a.editableIssue(b);e=yqa(c,!1);d.setVerifiedInVersion(e);return h.return(null!=(g=a.updateIssue(b))?g:Promise.resolve())})},
cxb=function(a,b,c){var d,e,g;return he(function(h){d=a.editableIssue(b);e=yqa(c,!1);d.setTargetedToVersion(e);return h.return(null!=(g=a.updateIssue(b))?g:Promise.resolve())})},gxb=function(a,b,c){var d,e;return he(function(g){d=a.editableIssue(b);d.setInProd(c);return g.return(null!=(e=a.updateIssue(b))?e:Promise.resolve())})},Wwb=function(a,b,c){var d,e,g;return he(function(h){d=Aua(c);if(!d)return a.logger.warn("unknown severity: "+c),h.return();e=a.editableIssue(b);e.setSeverity(d);return h.return(null!=
(g=a.updateIssue(b))?g:Promise.resolve())})};mJ.prototype.updateSloStartTime=function(a,b){var c=this,d,e;return he(function(g){d=c.editableIssue(a);d.setSloStartTime(b);return g.return(null!=(e=c.updateIssue(a))?e:Promise.resolve())})};mJ.prototype.updateSloEndTime=function(a,b){var c=this,d,e;return he(function(g){d=c.editableIssue(a);d.setSloEndTime(b);return g.return(null!=(e=c.updateIssue(a))?e:Promise.resolve())})};
var Zwb=function(a,b,c){var d,e,g;return he(function(h){d=a.editableIssue(b);d.changelist=null!=(e=c)?e:[];return h.return(null!=(g=a.updateIssue(b))?g:Promise.resolve())})},nxb=function(a,b,c,d){var e,g;return he(function(h){e=a.editableIssue(b);e.setCustomField(c,d);return h.return(null!=(g=a.updateIssue(b))?g:Promise.resolve())})},qwb=function(a,b,c){var d,e,g,h;return he(function(l){switch(l.nextAddress){case 1:return d=a.editableIssue(b),a.issuePermissionService.isImplicitAccessEnabled()?l.yield(Djc(a,
b,"verifier",[c]),5):l.yield(Kic(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())}})},jwb=function(a,b,c){var d,e,g,h;return he(function(l){switch(l.nextAddress){case 1:return d=a.editableIssue(b),a.issuePermissionService.isImplicitAccessEnabled()?
l.yield(Djc(a,b,"assignee",[c]),5):l.yield(Kic(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())}})},Ejc=function(a,b,c){var d,e,g,h,l,q;return he(function(x){switch(x.nextAddress){case 1:d=a.editableIssue(b);if(a.issuePermissionService.isImplicitAccessEnabled())return x.yield(Djc(a,
b,"CC",c),5);e=Lua(d.cc,c);g=e.added;return x.yield(Kic(a.confirmNoAccessService,{componentId:String(d.componentId),userEmails:g,relation:"reader",analyticsEventLabel:"cc"}),4);case 4:h=x.yieldResult;if(!h)return x.return();x.jumpTo(3);break;case 5:if(l=x.yieldResult,!l)return x.return();case 3:return d.cc=c,x.return(null!=(q=a.updateIssue(b))?q:Promise.resolve())}})},Fjc=function(a,b,c){var d,e,g,h,l,q;return he(function(x){switch(x.nextAddress){case 1:d=a.editableIssue(b);if(a.issuePermissionService.isImplicitAccessEnabled())return x.yield(Djc(a,
b,"collaborators",c),5);e=Lua(d.collaborators,c);g=e.added;return x.yield(Kic(a.confirmNoAccessService,{componentId:String(d.componentId),userEmails:g,relation:"reader",analyticsEventLabel:"collaborators"}),4);case 4:h=x.yieldResult;if(!h)return x.return();x.jumpTo(3);break;case 5:if(l=x.yieldResult,!l)return x.return();case 3:return d.setCollaborators(c),x.return(null!=(q=a.updateIssue(b))?q:Promise.resolve())}})};
mJ.prototype.unarchive=function(a){var b=this,c,d;return he(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 he(function(h){switch(h.nextAddress){case 1:return d={issueId:a,retention:b},e=c.savingState(a),jJ(e,"retention"),ie(h,2,3),h.yield(c.issueApi.updateIssueRetention(a,d),5);case 5:return h.yield(c.issueFridge.poke(a),6);case 6:DF(c.butterBar,"Issue retention updated to "+b+".",4E3);case 3:je(h);kJ(e,"retention");ke(h,0);break;case 2:g=le(h),IF(c.errorHandler,g),h.jumpTo(3)}})};
var Gjc=function(a,b){var c,d,e;return he(function(g){c=a.editableIssue(b);c.setIsDeleted(!0);c.setDeletionReason("ABUSE");d=wjc(a,c);if(!d||!d.actions)return g.jumpTo(0);xjc(a,d);e=a.issueService.delete(b,"ABUSE");return g.yield(yjc(a,e,d),0)})},Gxb=function(a,b){var c,d,e;return he(function(g){c=a.editableIssue(b);c.setIsDeleted(!1);c.setDeletionReason(null);d=wjc(a,c);if(!d||!d.actions)return g.jumpTo(0);xjc(a,d);e=a.issueService.undelete(b);return g.yield(yjc(a,e,d),0)})};
mJ.prototype.updateSubscription=function(a,b){var c=this,d,e,g,h,l;return he(function(q){switch(q.nextAddress){case 1:return d=c.savingState(a),q.yield((0,E.firstValueFrom)(c.issueFridge.watch(a,{trustUncertainMemory:!0})),2);case 2:e=q.yieldResult;h=null==(g=e)?void 0:g.userData;if(null==h||d.get("subscribe"))return q.return();ie(q,3,4);jJ(d,"subscribe");return q.yield(c.issueFridge.setNotificationSubscription(a,b),4);case 4:je(q);kJ(d,"subscribe");ke(q,0);break;case 3:l=le(q),IF(c.errorHandler,
l),q.jumpTo(4)}})};
var Hjc=function(a,b,c){var d,e;he(function(g){switch(g.nextAddress){case 1:d=a.savingState(b);if(!c.attachmentId||d.get("undeleteAttachment"))return g.return();ie(g,2,3);DF(a.butterBar,"Restoring attachment...");jJ(d,"undeleteAttachment");return g.yield(a.attachmentsMember.undelete(b.toString(),c),5);case 5:DF(a.butterBar,"Attachment restored."),qH(a.issueFetchResponseFridge,b),a.eventsForIssueFridge.poke(b);case 3:je(g);kJ(d,"undeleteAttachment");ke(g,0);break;case 2:e=le(g),IF(a.errorHandler,e),
g.jumpTo(3)}})},Ijc=function(a,b,c,d){var e,g;return he(function(h){switch(h.nextAddress){case 1:e=a.savingState(b);if(!c.attachmentId||e.get("deleteAttachment"))return h.return();ie(h,2,3);DF(a.butterBar,"Deleting attachment...");jJ(e,"deleteAttachment");return h.yield(a.attachmentsMember.delete(b,c,d),5);case 5:DF(a.butterBar,"Attachment deleted."),qH(a.issueFetchResponseFridge,b),a.eventsForIssueFridge.poke(b);case 3:je(h);kJ(e,"deleteAttachment");ke(h,0);break;case 2:g=le(h),IF(a.errorHandler,
g),h.jumpTo(3)}})};
mJ.prototype.saveCommentDraft=function(a,b){var c=this,d=this.issueCommentDraft(a),e=d.comment(),g=Wic(d);if(!g.commentText&&!g.attachmentsWithJudgements.length)return Promise.resolve();var h=Xic(d);xjc(this,h);return yjc(this,function(){return he(function(l){switch(l.nextAddress){case 1:return l.yield(Jjc(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(an(a));
case 3:if(!g.attachmentsWithJudgements.length){l.jumpTo(5);break}var q=l.yield;var x=c.attachmentApi;var A=g.attachmentsWithJudgements,B=new ND;B.setIssueId(String(a));void 0!==A&&(A=A.map(Lsa),dj(B,3,A));x=x.executor.post({url:"action/issues/"+a+"/attachments",body:B,responseConstructor:FI}).then(Nsa);return q.call(l,x,6);case 6:e.reset();case 5:return d.userDefinedJudgementForNewContent$.next(void 0),l.return(qH(c.issueFetchResponseFridge,a))}})}(),h)};
var Jjc=function(a,b){var c,d;return he(function(e){if(!vI(a.userPreferencesManager).autoCcOnComment||!a.issuePermissionService.hasAclToEdit()||a.issuePermissionService.isCurrentUserCCd())return e.return();c=a.editableIssue(b);var g=[].concat(Vc(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)})},vjc=function(a,b){var c=pH(a.issueFetchResponseFridge,b).pipe(D(function(e){var g=
new Lhc;if(e){var h=Kjc(a,b,Nh(oa(e.issue.snapshot))),l=a.activeSession.getUserEmail();g.currentUserEmail=l;g.setData(h,b,e.issue.customFields)}return g})),d=new E.BehaviorSubject(new Lhc);a.getSubscription(b).add(c.subscribe(d));return d};
mJ.prototype.updateIssue=function(a){var b=this.editableIssue(a),c=wjc(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 x=q.value||"";if("REMOVE"!==q.actionType)switch(q.fieldName){case "ccs":e=x.split(",").filter(Boolean);break;case "verifier":case "assignee":case "collaborators":g=x.split(",").filter(Boolean);break;case "duplicateOfIssueId":Bk(x)||(e=b.cc,h=String(x),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 zjc(this,a,{actionIssueId:h,implicitAppenders:e,implicitEditors:g,isDeduping:d,isRemovingSelfFromCc:b,requestData:c})};
var zjc=function(a,b,c){var d=c.actionIssueId,e=c.implicitAppenders,g=c.implicitEditors,h=c.isDeduping,l=c.isRemovingSelfFromCc,q=c.requestData,x,A,B,K,N,P,Y,X,ka,ma,za,Ba,Ma,Sa;return he(function(Ua){switch(Ua.nextAddress){case 1:return Ua.yield(Promise.all([Ljc(a,e,"appender",d),Ljc(a,g,"writer",d)]),2);case 2:x=Ua.yieldResult;A=k(x);B=A.next().value;K=A.next().value;N=B;P=K;Y=N.noAccessEmails||[];X=P.noAccessEmails||[];ka=[].concat(Vc(Y),Vc(X));if(0===ka.length)return Ua.return(Mjc(a,q,h,l));ie(Ua,
3);return Ua.yield(Promise.all(ka.map(function(Lb){return Njc(a,Lb)})),5);case 5:return ma=Ua.yieldResult,za=ova({userPrincipals:ma,newEditors:X,newImplicitUsers:ka,isExternalSession:a.activeSession.isExternalSession(),issueId:b,actionIssueId:d}),Ba=za.title,Ma=za.content,Ua.yield(pI(a.confirmationDialogService,{title:Ba,content:fn(Ma),confirmButtonText:"Allow"}),6);case 6:if(Sa=Ua.yieldResult)return Ua.return(Mjc(a,q,h,l));a.permissionsFridge.poke("issues/"+b);qH(a.issueFetchResponseFridge,b);ms(Ua,
0);break;case 3:le(Ua),EF(a.butterBar,"Could not determine email type."),me(Ua)}})},Mjc=function(a,b,c,d){xjc(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 yjc(a,e,b)},Ljc=function(a,b,c,d,e,g){e=void 0===e?!1:e;g=void 0===g?null:g;if(e&&!g)throw Error("Lc");var h=e?"ISSUE_DEFAULTS":"ISSUE";d=e?g:d;e={noAccessEmails:[]};
return 0!==b.length&&a.issuePermissionService.isImplicitAccessEnabled()?a.accessPolicy.checkPermission(b.map(mn),c,h,d):Promise.resolve(e)},Kjc=function(a,b,c){var d=a.isSavingMap.get(b);a=(a=a.editableIssueMap.get(b))&&Vm(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$2316:d.$jscomp$loop$prop$customFieldId$2316},e=b.next())if(e=e.value,e.match(/^\d+$/)){d.$jscomp$loop$prop$customFieldId$2316=Rh(e);var g=(c.customField||[]).find(function(h){return function(l){return l.customFieldId===
h.$jscomp$loop$prop$customFieldId$2316}}(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=Phc.get(e))||g(c,a);return c},wjc=function(a,b){var c=Ohc(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(mBa(e)))});return c.actions.length?c:null},xjc=function(a,b){var c=String(b.issueId);DF(a.butterBar,"Saving...",0);var d=
b.actions.map(function(e){return e.fieldName}).join(",");cjc(a.issueInteractionsTracking,c,{label:d});a=a.savingState(c);b=k(b.actions);for(c=b.next();!c.done;c=b.next())jJ(a,mBa(c.value))},yjc=function(a,b,c,d){var e,g;return he(function(h){switch(h.nextAddress){case 1:return ie(h,2),h.yield(b,4);case 4:return e=h.yieldResult,nH(a.issueFridge,[c.issueId],{eagerUpdate:!1}).then(function(){var l=String(c.issueId);qH(a.issueFetchResponseFridge,l);a.eventsForIssueFridge.poke(l)}),h.yield(Ojc(a,c,e,d),
5);case 5:ms(h,0);break;case 2:g=le(h),Pjc(a,c,g),me(h)}})},Ojc=function(a,b,c,d){var e=(void 0===d?{}:d).originalRetentionState,g,h,l,q;return he(function(x){g=a.savingState(String(b.issueId));h=k(b.actions);for(l=h.next();!l.done;l=h.next())q=l.value,kJ(g,mBa(q));return c?x.yield(Qjc(a,b,e),0):x.jumpTo(0)})},Pjc=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,mBa(g.value));a.permissionsFridge.poke("issues/"+d);qH(a.issueFetchResponseFridge,
d);Ql(c)&&403===c.status&&Rl(c)?HF(a.errorHandler,Rl(c)):IF(a.errorHandler,c)},Qjc=function(a,b,c){var d,e,g,h,l,q,x,A,B,K,N;return he(function(P){switch(P.nextAddress){case 1:return P.yield(a.getEffortSpec(String(b.issueId)),2);case 2:d=P.yieldResult;e=a.editableIssue(String(b.issueId));l=Cic(a.statusMessages,b,e.customFieldMap,null!=(h=null==(g=d)?void 0:g.name)?h:"");if(!c){P.jumpTo(3);break}return P.yield(Promise.all([a.getRetentionState(String(b.issueId)),a.getRetention(String(b.issueId))]),
4);case 4:q=P.yieldResult;x=k(q);A=x.next().value;B=x.next().value;K=A;N=B;var Y=l;if("INDEFINITE"!==N&&c&&K){var X=Qza(c);var ka=Qza(K);X=X===ka?"":" Issue retention period changed from "+X+" to "+ka+"."}else X="";l=Y+X;case 3:DF(a.butterBar,l),me(P)}})},Djc=function(a,b,c,d){return he(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(Vc(g.values())).flat())).has(h)?(g.set(c,d),h=!(new Set([].concat(Vc(g.values())).flat())).has(h)):h=!1;e=h?e.yield(Rjc(a,b,a.editableIssue(b).componentId,c),2):e.return(!0)}else e=e.return(e.yieldResult);return e})},Rjc=function(a,b,c,d){var e;return he(function(g){if(1==g.nextAddress)return g.yield(Ljc(a,[a.activeSession.getUserEmail()],"reader",b,!0,c),2);e=g.yieldResult;return e.noAccessEmails&&0!==e.noAccessEmails.length?g.return(pI(a.confirmationDialogService,
{title:"Removing yourself from "+d+" may revoke your access to the issue",content:fn("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,E.firstValueFrom)(pH(this.issueFetchResponseFridge,a).pipe(D(MAa)))};
mJ.prototype.getRetention=function(a){return(0,E.firstValueFrom)(pH(this.issueFetchResponseFridge,a).pipe(D(JAa)))};mJ.prototype.getEffortSpec=function(a){return(0,E.firstValueFrom)(pH(this.issueFetchResponseFridge,a).pipe(D(qAa),Se(this.componentFridge.watch),D(PAa)))};var Njc=function(a,b){return he(function(c){return a.activeSession.isExternalSession()?c.return({principalType:"NON_GAIA",detailedUserType:"NO_DETAILED_TYPE"}):c.return(LI(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)(u(oH),u(gs),u(CF),u(XI),u(kE),u(eF),u(tH),u(SE),u(EI),u(GF),u(oI),u(KI),u($I),u(VF),u(qI),u(FF),u(lH),u(OI),u(iH),u(II),u(uI),u(NH),u(mI),u(Dic),u(WI),u(aJ),u(TI))};
mJ.\u0275prov=qc({token:mJ,factory:mJ.\u0275fac,providedIn:"root"});var nJ=function(a,b,c){WD.call(this);this.issueDetailsBrain=a;this.issuePermissionService=b;this.editIssueService=c;this.assigneeInProgress$=new E.ReplaySubject(1);this.ccInProgress$=new E.ReplaySubject(1);this.id$=this.issueDetailsBrain.id$;this.assigneeUpdate$=this.issueDetailsBrain.issueJs$.pipe(D(function(d){var e;return ai(null==(e=Yua(d))?void 0:e.assigneeUser)||""}));this.ccUpdate$=this.issueDetailsBrain.issueJs$.pipe(D(function(d){var e;return bi(null==(e=Yua(d))?void 0:e.ccUsers)||[]}));
this.assignee$=this.assigneeUpdate$.pipe(Pe({refCount:!0,bufferSize:1}));this.cc$=this.ccUpdate$.pipe(Pe({refCount:!0,bufferSize:1}));this.assigneeUpdating$=this.assigneeInProgress$;this.ccUpdating$=this.ccInProgress$;this.editAccess$=this.issuePermissionService.hasAclToEdit$};U(nJ,WD);nJ.\u0275dir=WD.\u0275dir;
var Sjc=function(a,b){var c,d,e;return he(function(g){switch(g.nextAddress){case 1:c=Vm(a.id$);if(!c)return g.return();a.assigneeInProgress$.next(!0);d="remove_user"===b.action?"":b.email;ie(g,2,3);return g.yield(jwb(a.editIssueService,c,d),5);case 5:return g.yield((0,E.firstValueFrom)(a.assigneeUpdate$.pipe(ye(function(h){h=b.email===h;return"set_user"===b.action?h:!h}),Ae(6E4))),3);case 3:je(g);a.assigneeInProgress$.next(!1);ke(g,0);break;case 2:throw e=le(g),e;}})},Tjc=function(a,b){var c,d,e,
g,h;return he(function(l){switch(l.nextAddress){case 1:c=Vm(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=Ejc(a.editIssueService,c,d.cc.filter(function(q){return q!==b.email}))):g=Ejc(a.editIssueService,c,[].concat(Vc(d.cc),[b.email]));if(!g)return l.return();ie(l,2,3);a.ccInProgress$.next(!0);return l.yield(g,5);case 5:return l.yield((0,E.firstValueFrom)(a.ccUpdate$.pipe(ye(function(q){q=
q.includes(b.email);return"set_user"===b.action?q:!q}),Ae(6E4))),3);case 3:je(l);a.ccInProgress$.next(!1);ke(l,0);break;case 2:throw h=le(l),h;}})};nJ.\u0275fac=function(a){return new (a||nJ)(u(YI),u($I),u(mJ))};nJ.\u0275prov=qc({token:nJ,factory:nJ.\u0275fac});var nBa;var oJ=function(a){var b=this;this.elementRef=a;this.eventType="click";this.clickOutside=new Gv;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=oBa(this.elementRef.nativeElement))?a:document};oJ.\u0275fac=function(a){return new (a||oJ)(C(vd))};oJ.\u0275dir=Kc({type:oJ,selectors:[["","clickOutside",""]],inputs:{eventType:["clickOutsideEvent","eventType"]},outputs:{clickOutside:"clickOutside"}});var pJ=function(){};pJ.\u0275fac=function(a){return new (a||pJ)};pJ.\u0275mod=Ic({type:pJ});pJ.\u0275inj=rc({});var Ujc,Vjc=Symbol("Mc"),Wjc=Symbol("Nc"),qJ=function(a){this.viewContainerRef=a;this.className="onedev-hovercard";this.onHide=new Gv;this[Ujc]=new E.ReplaySubject(1);this.wasTriggeredByKeyboard=!1;this.isOnHover$=new E.BehaviorSubject(!1);this.closeHovercard$=new E.Subject};qJ.prototype.ngOnInit=function(){};var Xjc=function(a){var b=a[Wjc];return b?(b.loaded||(b.viewContainerRef.createEmbeddedView(b.templateRef),b.cdr.detectChanges(),b.loaded=!0),a[Vjc].pipe(Ee(0))):(0,E.of)(void 0)};Ujc=Vjc;
qJ.\u0275fac=function(a){return new (a||qJ)(C(Rf))};
qJ.\u0275cmp=Gc({type:qJ,selectors:[["onedev-hovercard"]],viewQuery:function(a,b){a&1&&Uf(Qf,7);if(a&2){var c;Tf(c=Wf())&&(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&&(xf(),Q(0,pBa,2,3,"ng-template"))},dependencies:[fx,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[Wjc]=this};rJ.\u0275fac=function(a){return new (a||rJ)(C(Qf),C(Rf),C(Yv),C(qJ))};rJ.\u0275dir=Kc({type:rJ,selectors:[["","onedevHovercardLazyBody",""]]});var sJ=function(a){this.hovercard=a;this.destroyed$=new E.ReplaySubject(1)};sJ.prototype.ngOnDestroy=function(){this.destroyed$.next()};sJ.prototype.ngOnInit=function(){this.isHovercardReady$.pipe(Te(this.destroyed$)).subscribe(this.hovercard[Vjc])};
sJ.\u0275fac=function(a){return new (a||sJ)(C(qJ))};sJ.\u0275dir=Kc({type:sJ,selectors:[["","onedevIsHovercardReady",""]],inputs:{isHovercardReady$:["onedevIsHovercardReady","isHovercardReady$"]}});var Yjc={originX:"start",originY:"center",overlayX:"end",overlayY:"center",offsetX:-10},Zjc={originX:"center",originY:"top",overlayX:"center",overlayY:"bottom",offsetY:-10},$jc=[{originX:"end",originY:"center",overlayX:"start",overlayY:"center",offsetX:10},{originX:"center",originY:"bottom",overlayX:"center",overlayY:"top",offsetY:10},Zjc,{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=$jc;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 E.ReplaySubject(1);this.hide$=new E.Subject;this.hovercard$=new E.BehaviorSubject(null);this.isHovered$=new E.BehaviorSubject(!1);this.isKeyboardActivated$=new E.BehaviorSubject(!1);this.destroyed$=new E.ReplaySubject(1);this.onDocumentKeyDown=function(d){"Escape"===d.key&&(akc(c),
d.stopPropagation(),d.preventDefault())};bkc(this);this.handleClose()},bkc=function(a){ckc(a).pipe(Te(a.destroyed$)).subscribe(function(b){(a.active=b)?a.show():a.hide()})};uJ.prototype.handleClose=function(){var a=this;this.hovercard$.pipe(Se(function(b){return(null==b?void 0:b.closeHovercard$)||E.NEVER}),Te(this.destroyed$)).subscribe(function(){akc(a)})};uJ.prototype.dispose=function(){dkc(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 akc=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,Xjc(this.hovercard$.getValue()).pipe(Ge(),Te(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(){dkc(this);this.hide$.next()};
var dkc=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 Vy(Wy(Xy(Zy(this.overlay.position(),this.origin)),8),this.config.position)};
var ckc=function(a){return(0,E.combineLatest)([ekc(a).pipe(Re(!1)),a.isKeyboardActivated$]).pipe(Qe(1),D(function(b){var c=k(b);b=c.next().value;c=c.next().value;return b||c}),Se(function(b){var c;return(null==(c=a.waitFor$)?void 0:c.pipe(Ke(b)))||(0,E.of)(b)}))},ekc=function(a){return a.hovercard$.pipe(Se(function(b){return(0,E.combineLatest)([a.isHovered$,(null==b?void 0:b.isOnHover$)||(0,E.of)(!1)]).pipe(D(function(c){var d=k(c);c=d.next().value;d=d.next().value;return c||d}),De(a.config.delay),
Te(a.destroyed$))}))};var fkc=new Rc("onedevHovercardLoggingOn"),vJ=function(a,b,c,d,e){var g=this;this.viewContainerRef=c;this.injector=e;this.config=new tJ;this.destroyed$=new E.ReplaySubject(1);this.triggerControl=new uJ(a,b);this.triggerControl.hovercardShown$.pipe(Ve(d||(0,E.of)(!1)),Te(this.destroyed$)).subscribe(function(h){h=k(h);h.next();h.next().value&&(g.clientStreamzService||(g.clientStreamzService=g.injector.get(sB)),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 nx(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()};hh.Object.defineProperties(vJ.prototype,{enabled:{configurable:!0,enumerable:!0,set:function(a){this.triggerControl.enabled=a}}});
vJ.\u0275fac=function(a){return new (a||vJ)(C($y),C(vd),C(Rf),C(fkc,8),C(bv))};
vJ.\u0275dir=Kc({type:vJ,selectors:[["","onedevHovercardTrigger",""]],hostVars:2,hostBindings:function(a,b){a&1&&M("mouseenter",function(){return b.toggle(!0)})("mouseleave",function(){return b.toggle(!1)})("keydown.alt.arrowRight",function(c){var d=b.triggerControl;c.stopPropagation();c.preventDefault();d.isKeyboardActivated$.next(!0)})("keydown",function(c){return b.onKeyDown(c)});a&2&&gf("aria-haspopup",b.hovercard?"true":void 0)("aria-expanded",b.isExpanded())},inputs:{hovercard:["onedevHovercardTrigger",
"hovercard"],enabled:["onedevHovercardActive","enabled"],config:["onedevHovercardConfig","config"]},features:[Zc]});var gkc=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=Gc({type:wJ,selectors:[["onedev-chip"]],hostVars:2,hostBindings:function(a,b){a&2&&qf("tall",b.isTall)},inputs:{variant:"variant",isTall:"isTall"},ngContentSelectors:["*"],decls:3,vars:3,consts:[[3,"ngClass"],[1,"centering"]],template:function(a,b){a&1&&(xf(),G(0,"div",0)(1,"div",1),yf(2),H()());a&2&&F("ngClass",Jf(1,gkc,b.variant))},dependencies:[cw],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 hkc=function(a){this.chip=a};hkc.\u0275fac=function(a){return new (a||hkc)(C(wJ))};hkc.\u0275dir=Kc({type:hkc,selectors:[["","onedevChipIcon",""]],hostVars:10,hostBindings:function(a,b){a&2&&pf("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 ikc=function(){};ikc.\u0275fac=function(a){return new (a||ikc)};ikc.\u0275cmp=Gc({type:ikc,selectors:[["","onedevDot",""]],hostVars:1,hostBindings:function(a){a&2&&gf("aria-hidden",!0)},attrs:["onedevDot",""],decls:1,vars:0,template:function(a){a&1&&R(0,"\u00a0\u00b7\u00a0")},encapsulation:2});var jkc=[[["","onedev-additional-content",""]],[["onedev-hovercard-action"]]],kkc=function(a){return{"with-avatar":a}},xJ=function(){};xJ.prototype.ngOnInit=function(){};xJ.\u0275fac=function(a){return new (a||xJ)};
xJ.\u0275cmp=Gc({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&&(xf(jkc),G(0,"div",0)(1,"div",1)(2,"div",2),Q(3,qBa,1,2,"img",3),G(4,"div",4),R(5),H(),Q(6,rBa,2,1,"div",5),H(),Q(7,sBa,4,1,"div",6),G(8,"div",7),Q(9,wBa,7,3,"ng-container",8),Q(10,xBa,4,1,"ng-container",8),Q(11,ABa,21,6,"ng-container",8),yf(12),H()(),yf(13,1),H());a&2&&(z(2),F("ngClass",Jf(8,kkc,b.person.imageUrl)),z(1),F("ngIf",b.person.imageUrl),z(2),Df(" ",b.person.name||b.person.email," "),z(1),F("ngIf",b.person.name),z(1),F("ngIf",b.outOfOfficeDescription),z(2),F("ngIf",b.person.title||
b.person.department),z(1),F("ngIf",b.person.location),z(1),F("ngIf",b.person.ldap))},dependencies:[wJ,hkc,cw,ew,ikc,uA],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 lkc=new Rc("API_VERSION"),mkc=new Rc("REQUEST_SERVICE"),yJ=function(){};yJ.\u0275fac=function(a){return new (a||yJ)};yJ.\u0275mod=Ic({type:yJ});yJ.\u0275inj=rc({});
var nkc={$Xgafv:"$.xgafv",access_token:"access_token",affinityType:"affinityType",alt:"alt",authDelegationContextContactsEncryptedOwnerId:"authDelegationContext.contacts.encryptedOwnerId",authDelegationContextDelegationType:"authDelegationContext.delegationType",authDelegationContextObfuscatedOwnerId:"authDelegationContext.obfuscatedOwnerId",authDelegationContextUnicornObfuscatedOwnerId:"authDelegationContext.unicorn.obfuscatedOwnerId",blockDirection:"blockDirection",callback:"callback",client:"client",
clientId:"client.id",clientVersionClientAgent:"clientVersion.clientAgent",clientVersionClientType:"clientVersion.clientType",clientVersionClientVersion:"clientVersion.clientVersion",clientVersionGmsCoreContextAppManagementContext:"clientVersion.gmsCoreContext.appManagementContext",clientVersionGmsCoreContextIsFirstParty:"clientVersion.gmsCoreContext.isFirstParty",clientVersionGmsCoreContextPackageName:"clientVersion.gmsCoreContext.packageName",clientVersionGmsCoreContextPackageSignature:"clientVersion.gmsCoreContext.packageSignature",
consentOptionsStrategy:"consentOptions.strategy",consistencyOptionsLevel:"consistencyOptions.level",consistencyOptionsLevelOptionsBoundedConsistencyMaxAllowedStaleness:"consistencyOptions.levelOptions.boundedConsistency.maxAllowedStaleness",consistencyOptionsLevelOptionsExactTimestamp:"consistencyOptions.levelOptions.exactTimestamp",consistencyOptionsLevelOptionsStaleConsistencyConsistencyRequirement:"consistencyOptions.levelOptions.staleConsistency.consistencyRequirement",contactId:"contactId",contactListType:"contactListType",
contactLookupOptionsEmailLookupType:"contactLookupOptions.emailLookupType",container:"container",containerId:"containerId",containerIds:"containerIds",contextAllowedRequesterState:"context.allowedRequesterState",contextAuthDelegationContextContactsEncryptedOwnerId:"context.authDelegationContext.contacts.encryptedOwnerId",contextAuthDelegationContextDelegationType:"context.authDelegationContext.delegationType",contextAuthDelegationContextObfuscatedOwnerId:"context.authDelegationContext.obfuscatedOwnerId",
contextAuthDelegationContextUnicornObfuscatedOwnerId:"context.authDelegationContext.unicorn.obfuscatedOwnerId",contextClientType:"context.clientType",contextClientVersionClientAgent:"context.clientVersion.clientAgent",contextClientVersionClientType:"context.clientVersion.clientType",contextClientVersionClientVersion:"context.clientVersion.clientVersion",contextClientVersionGmsCoreContextAppManagementContext:"context.clientVersion.gmsCoreContext.appManagementContext",contextClientVersionGmsCoreContextIsFirstParty:"context.clientVersion.gmsCoreContext.isFirstParty",
contextClientVersionGmsCoreContextPackageName:"context.clientVersion.gmsCoreContext.packageName",contextClientVersionGmsCoreContextPackageSignature:"context.clientVersion.gmsCoreContext.packageSignature",contextConsistencyContextBase64EncodedZookie:"context.consistencyContext.base64EncodedZookie",contextConsistencyContextDirectoryVersionToken:"context.consistencyContext.directoryVersionToken",contextConsistencyContextFbsRequireAllImportantWritesUpToTime:"context.consistencyContext.fbsRequireAllImportantWritesUpToTime",
contextConsistencyContextFbsVersionInfo:"context.consistencyContext.fbsVersionInfo",contextConsistencyOptionsLevel:"context.consistencyOptions.level",contextConsistencyOptionsLevelOptionsBoundedConsistencyMaxAllowedStaleness:"context.consistencyOptions.levelOptions.boundedConsistency.maxAllowedStaleness",contextConsistencyOptionsLevelOptionsExactTimestamp:"context.consistencyOptions.levelOptions.exactTimestamp",contextConsistencyOptionsLevelOptionsStaleConsistencyConsistencyRequirement:"context.consistencyOptions.levelOptions.staleConsistency.consistencyRequirement",
contextMigrationOptionsUseClusterBased:"context.migrationOptions.useClusterBased",contextMigrationOptionsUseLegacyRequestMaskBehavior:"context.migrationOptions.useLegacyRequestMaskBehavior",contextMigrationOptionsUseNewRequestMaskBehavior:"context.migrationOptions.useNewRequestMaskBehavior",contextRequestGroupLoggingId:"context.requestGroupLoggingId",contextRightOfPublicityContext:"context.rightOfPublicityContext",coreIdParamsCheckIdentityAcl:"coreIdParams.checkIdentityAcl",coreIdParamsEnablePrivateAccountEmails:"coreIdParams.enablePrivateAccountEmails",
coreIdParamsEnablePrivateNames:"coreIdParams.enablePrivateNames",coreIdParamsIdentityAclOptionsContextConfigName:"coreIdParams.identityAclOptions.context.configName",coreIdParamsIdentityAclOptionsContextObjectId:"coreIdParams.identityAclOptions.context.objectId",coreIdParamsIdentityAclOptionsContextObjectPart:"coreIdParams.identityAclOptions.context.objectPart",coreIdParamsIdentityAclOptionsMode:"coreIdParams.identityAclOptions.mode",coreIdParamsIgnoreAclConditionIgnoreAclConditionType:"coreIdParams.ignoreAclCondition.ignoreAclConditionType",
coreIdParamsUseRealtimeNotificationExpandedAcls:"coreIdParams.useRealtimeNotificationExpandedAcls",coreNameCoreProfileFirstName:"coreName.coreProfileFirstName",coreNameCoreProfileLastName:"coreName.coreProfileLastName",customLookupType:"customLookupType",dataFormatsAffinityFormatsScoreFormat:"dataFormats.affinityFormats.scoreFormat",dataFormatsProfilePhotoOptionsCorpHeaderPreference:"dataFormats.profilePhotoOptions.corpHeaderPreference",dataFormatsProfilePhotoOptionsPrivateUrlFormat:"dataFormats.profilePhotoOptions.privateUrlFormat",
dataJoinParamsProfileJoinType:"dataJoinParams.profileJoinType",dedupeOption:"dedupeOption",delayFullSync:"delayFullSync",delegatedGroupIdDelegatedGroupId:"delegatedGroupId.delegatedGroupId",deleteContacts:"deleteContacts",deleteTrashedContacts:"deleteTrashedContacts",deletionContextMutationContextAndroidDeviceInfoId:"deletionContext.mutationContext.androidDeviceInfo.id",deletionContextMutationContextHostAppInfoHostAppName:"deletionContext.mutationContext.hostAppInfo.hostAppName",deletionContextMutationContextSource:"deletionContext.mutationContext.source",
deletionContextMutationContextThirdPartyInfoClientName:"deletionContext.mutationContext.thirdPartyInfo.clientName",deletionContextMutationContextThirdPartyInfoProjectNumber:"deletionContext.mutationContext.thirdPartyInfo.projectNumber",deletionContextMutationContextTimestamp:"deletionContext.mutationContext.timestamp",deviceId:"deviceId",deviceIdentifierClientInstanceId:"deviceIdentifier.clientInstanceId",deviceIdentityDeviceId:"deviceIdentity.deviceId",extensionSetExtendedRequestDataPeopleBackendExtensionApplication:"extensionSet.extendedRequestData.peopleBackendExtension.application",
extensionSetExtensionNames:"extensionSet.extensionNames",fieldFilterField:"fieldFilter.field",fieldMask:"fieldMask",fieldValueFilterAdminAssistants:"fieldValueFilter.adminAssistants",fieldValueFilterDottedLineManagers:"fieldValueFilter.dottedLineManagers",fieldValueFilterExecAssistants:"fieldValueFilter.execAssistants",fieldValueFilterIndirectManagers:"fieldValueFilter.indirectManagers",fieldValueFilterIndirectManagersWithMaxNumHops:"fieldValueFilter.indirectManagersWithMaxNumHops",fieldValueFilterManagers:"fieldValueFilter.managers",
fieldValueFilterProfileExternalIdCustomTag:"fieldValueFilter.profileExternalId.customTag",fieldValueFilterProfileExternalIdStandardTag:"fieldValueFilter.profileExternalId.standardTag",fieldValueFilterProfileExternalIdValue:"fieldValueFilter.profileExternalId.value",fields:"fields",getPeopleRequestContextAllowedRequesterState:"getPeopleRequest.context.allowedRequesterState",getPeopleRequestContextAuthDelegationContextContactsEncryptedOwnerId:"getPeopleRequest.context.authDelegationContext.contacts.encryptedOwnerId",
getPeopleRequestContextAuthDelegationContextDelegationType:"getPeopleRequest.context.authDelegationContext.delegationType",getPeopleRequestContextAuthDelegationContextObfuscatedOwnerId:"getPeopleRequest.context.authDelegationContext.obfuscatedOwnerId",getPeopleRequestContextAuthDelegationContextUnicornObfuscatedOwnerId:"getPeopleRequest.context.authDelegationContext.unicorn.obfuscatedOwnerId",getPeopleRequestContextClientType:"getPeopleRequest.context.clientType",getPeopleRequestContextClientVersionClientAgent:"getPeopleRequest.context.clientVersion.clientAgent",
getPeopleRequestContextClientVersionClientType:"getPeopleRequest.context.clientVersion.clientType",getPeopleRequestContextClientVersionClientVersion:"getPeopleRequest.context.clientVersion.clientVersion",getPeopleRequestContextClientVersionGmsCoreContextAppManagementContext:"getPeopleRequest.context.clientVersion.gmsCoreContext.appManagementContext",getPeopleRequestContextClientVersionGmsCoreContextIsFirstParty:"getPeopleRequest.context.clientVersion.gmsCoreContext.isFirstParty",getPeopleRequestContextClientVersionGmsCoreContextPackageName:"getPeopleRequest.context.clientVersion.gmsCoreContext.packageName",
getPeopleRequestContextClientVersionGmsCoreContextPackageSignature:"getPeopleRequest.context.clientVersion.gmsCoreContext.packageSignature",getPeopleRequestContextConsistencyContextDirectoryVersionToken:"getPeopleRequest.context.consistencyContext.directoryVersionToken",getPeopleRequestContextConsistencyOptionsLevel:"getPeopleRequest.context.consistencyOptions.level",getPeopleRequestContextConsistencyOptionsLevelOptionsBoundedConsistencyMaxAllowedStaleness:"getPeopleRequest.context.consistencyOptions.levelOptions.boundedConsistency.maxAllowedStaleness",
getPeopleRequestContextConsistencyOptionsLevelOptionsExactTimestamp:"getPeopleRequest.context.consistencyOptions.levelOptions.exactTimestamp",getPeopleRequestContextConsistencyOptionsLevelOptionsStaleConsistencyConsistencyRequirement:"getPeopleRequest.context.consistencyOptions.levelOptions.staleConsistency.consistencyRequirement",getPeopleRequestContextMigrationOptionsUseClusterBased:"getPeopleRequest.context.migrationOptions.useClusterBased",getPeopleRequestContextMigrationOptionsUseLegacyRequestMaskBehavior:"getPeopleRequest.context.migrationOptions.useLegacyRequestMaskBehavior",
getPeopleRequestContextMigrationOptionsUseNewRequestMaskBehavior:"getPeopleRequest.context.migrationOptions.useNewRequestMaskBehavior",getPeopleRequestContextRequestGroupLoggingId:"getPeopleRequest.context.requestGroupLoggingId",getPeopleRequestContextRightOfPublicityContext:"getPeopleRequest.context.rightOfPublicityContext",getPeopleRequestCoreIdParamsCheckIdentityAcl:"getPeopleRequest.coreIdParams.checkIdentityAcl",getPeopleRequestCoreIdParamsEnablePrivateAccountEmails:"getPeopleRequest.coreIdParams.enablePrivateAccountEmails",
getPeopleRequestCoreIdParamsEnablePrivateNames:"getPeopleRequest.coreIdParams.enablePrivateNames",getPeopleRequestCoreIdParamsIdentityAclOptionsContextConfigName:"getPeopleRequest.coreIdParams.identityAclOptions.context.configName",getPeopleRequestCoreIdParamsIdentityAclOptionsContextObjectId:"getPeopleRequest.coreIdParams.identityAclOptions.context.objectId",getPeopleRequestCoreIdParamsIdentityAclOptionsContextObjectPart:"getPeopleRequest.coreIdParams.identityAclOptions.context.objectPart",getPeopleRequestCoreIdParamsIdentityAclOptionsMode:"getPeopleRequest.coreIdParams.identityAclOptions.mode",
getPeopleRequestCoreIdParamsIgnoreAclConditionIgnoreAclConditionType:"getPeopleRequest.coreIdParams.ignoreAclCondition.ignoreAclConditionType",getPeopleRequestCoreIdParamsUseRealtimeNotificationExpandedAcls:"getPeopleRequest.coreIdParams.useRealtimeNotificationExpandedAcls",getPeopleRequestDataFormatsAffinityFormatsScoreFormat:"getPeopleRequest.dataFormats.affinityFormats.scoreFormat",getPeopleRequestDataFormatsProfilePhotoOptionsCorpHeaderPreference:"getPeopleRequest.dataFormats.profilePhotoOptions.corpHeaderPreference",
getPeopleRequestDataFormatsProfilePhotoOptionsPrivateUrlFormat:"getPeopleRequest.dataFormats.profilePhotoOptions.privateUrlFormat",getPeopleRequestDedupeOption:"getPeopleRequest.dedupeOption",getPeopleRequestExtensionSetExtendedRequestDataPeopleBackendExtensionApplication:"getPeopleRequest.extensionSet.extendedRequestData.peopleBackendExtension.application",getPeopleRequestExtensionSetExtensionNames:"getPeopleRequest.extensionSet.extensionNames",getPeopleRequestIncludeFieldAcl:"getPeopleRequest.includeFieldAcl",
getPeopleRequestIncludedProfileStates:"getPeopleRequest.includedProfileStates",getPeopleRequestMergedPersonSourceOptionsCertificateParamsRequestCertificates:"getPeopleRequest.mergedPersonSourceOptions.certificateParams.requestCertificates",getPeopleRequestMergedPersonSourceOptionsConnectedSitesOptionsConnectedSiteType:"getPeopleRequest.mergedPersonSourceOptions.connectedSitesOptions.connectedSiteType",getPeopleRequestMergedPersonSourceOptionsDataJoinParamsProfileJoinType:"getPeopleRequest.mergedPersonSourceOptions.dataJoinParams.profileJoinType",
getPeopleRequestMergedPersonSourceOptionsDeviceContactFilterDeviceIdentifierClientInstanceId:"getPeopleRequest.mergedPersonSourceOptions.deviceContactFilter.deviceIdentifier.clientInstanceId",getPeopleRequestMergedPersonSourceOptionsDeviceContactFilterFilterType:"getPeopleRequest.mergedPersonSourceOptions.deviceContactFilter.filterType",getPeopleRequestMergedPersonSourceOptionsIncludeAccountLocale:"getPeopleRequest.mergedPersonSourceOptions.includeAccountLocale",getPeopleRequestMergedPersonSourceOptionsIncludeAffinity:"getPeopleRequest.mergedPersonSourceOptions.includeAffinity",
getPeopleRequestMergedPersonSourceOptionsIncludedContactDeletionStates:"getPeopleRequest.mergedPersonSourceOptions.includedContactDeletionStates",getPeopleRequestMergedPersonSourceOptionsIncludedProfileStates:"getPeopleRequest.mergedPersonSourceOptions.includedProfileStates",getPeopleRequestMergedPersonSourceOptionsPersonModelParamsPersonModel:"getPeopleRequest.mergedPersonSourceOptions.personModelParams.personModel",getPeopleRequestMergedPersonSourceOptionsPlaceParamsRequestPhotoTypes:"getPeopleRequest.mergedPersonSourceOptions.placeParams.requestPhotoTypes",
getPeopleRequestMergedPersonSourceOptionsPlaceParamsRequestPlaces:"getPeopleRequest.mergedPersonSourceOptions.placeParams.requestPlaces",getPeopleRequestPersonId:"getPeopleRequest.personId",getPeopleRequestRequestConfigContextConfigKey:"getPeopleRequest.requestConfigContext.configKey",getPeopleRequestRequestConfigContextVersion:"getPeopleRequest.requestConfigContext.version",getPeopleRequestRequestMaskCustomRequestMask:"getPeopleRequest.requestMask.customRequestMask",getPeopleRequestRequestMaskImageUrlType:"getPeopleRequest.requestMask.imageUrlType",
getPeopleRequestRequestMaskIncludeContainer:"getPeopleRequest.requestMask.includeContainer",getPeopleRequestRequestMaskIncludeField:"getPeopleRequest.requestMask.includeField",getPeopleRequestRequestMaskIncludePeopleInCommon:"getPeopleRequest.requestMask.includePeopleInCommon",getPeopleRequestRequestMaskPersonAttribute:"getPeopleRequest.requestMask.personAttribute",getPeopleRequestRequestMaskPhotoOptionsPrivateUrlFormat:"getPeopleRequest.requestMask.photoOptions.privateUrlFormat",graphRestricts:"graphRestricts",
groupExtensionSetExtensionNames:"groupExtensionSet.extensionNames",groupId:"groupId",id:"id",includeAllAvailableSources:"includeAllAvailableSources",includeAllReachablePeople:"includeAllReachablePeople",includeBlocks:"includeBlocks",includeContent:"includeContent",includeFieldAcl:"includeFieldAcl",includeLinkedPeople:"includeLinkedPeople",includeOthers:"includeOthers",includedProfileStates:"includedProfileStates",key:"key",listFilterParamsContainer:"listFilterParams.container",listFilterParamsExcludeUnreachablePeople:"listFilterParams.excludeUnreachablePeople",
matchType:"matchType",maxContacts:"maxContacts",mergedPersonSourceOptionsCertificateParamsRequestCertificates:"mergedPersonSourceOptions.certificateParams.requestCertificates",mergedPersonSourceOptionsConnectedSitesOptionsConnectedSiteType:"mergedPersonSourceOptions.connectedSitesOptions.connectedSiteType",mergedPersonSourceOptionsDataJoinParamsProfileJoinType:"mergedPersonSourceOptions.dataJoinParams.profileJoinType",mergedPersonSourceOptionsDeviceContactFilterDeviceIdentifierClientInstanceId:"mergedPersonSourceOptions.deviceContactFilter.deviceIdentifier.clientInstanceId",
mergedPersonSourceOptionsDeviceContactFilterFilterType:"mergedPersonSourceOptions.deviceContactFilter.filterType",mergedPersonSourceOptionsIncludeAccountLocale:"mergedPersonSourceOptions.includeAccountLocale",mergedPersonSourceOptionsIncludeAffinity:"mergedPersonSourceOptions.includeAffinity",mergedPersonSourceOptionsIncludedContactDeletionStates:"mergedPersonSourceOptions.includedContactDeletionStates",mergedPersonSourceOptionsIncludedProfileStates:"mergedPersonSourceOptions.includedProfileStates",
mergedPersonSourceOptionsPersonModelParamsPersonModel:"mergedPersonSourceOptions.personModelParams.personModel",mergedPersonSourceOptionsPlaceParamsRequestPhotoTypes:"mergedPersonSourceOptions.placeParams.requestPhotoTypes",mergedPersonSourceOptionsPlaceParamsRequestPlaces:"mergedPersonSourceOptions.placeParams.requestPlaces",oauth_token:"oauth_token",objectTypesRestricts:"objectTypesRestricts",options:"options",orderBy:"orderBy",pageSize:"pageSize",pageToken:"pageToken",pagingOptionsPageSize:"pagingOptions.pageSize",
pagingOptionsPageToken:"pagingOptions.pageToken",peopleType:"peopleType",personAttribute:"personAttribute",personExpansion:"personExpansion",personId:"personId",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 chc(b,c)};
zJ.prototype.list=function(a,b){a=void 0===a?{}:a;b=void 0===b?{}:b;return ehc(this.$apiClient,{body:null,httpMethod:"GET",methodId:"people_pa.people.lookup.list",path:"/"+this.gapiVersion+"/people/lookup",queryParams:Kza(a,nkc,b)})};zJ.\u0275fac=function(a){return new (a||zJ)(u(lkc,8),u(mkc),u(ahc,8))};zJ.\u0275prov=qc({token:zJ,factory:zJ.\u0275fac});var okc=function(){};okc.\u0275fac=function(a){return new (a||okc)};okc.\u0275prov=qc({token:okc,factory:function(a){return zJ.\u0275fac(a)},providedIn:yJ});
var AJ=function(a,b,c){this.gapiVersion=a;this.gapiVersion=null==a?"v2":a;this.$apiClient=new chc(b,c)};AJ.\u0275fac=function(a){return new (a||AJ)(u(lkc,8),u(mkc),u(ahc,8))};AJ.\u0275prov=qc({token:AJ,factory:AJ.\u0275fac});var pkc=function(){};pkc.\u0275fac=function(a){return new (a||pkc)};pkc.\u0275prov=qc({token:pkc,factory:function(a){return AJ.\u0275fac(a)},providedIn:yJ});var BBa=/.*@google.com/,qkc=new Rc("onedevPeopleServiceConfig"),rkc={},BJ=function(a,b,c){var d=this;this.lookupApiClient=a;this.destroy$=new E.Subject;this.config=rkc;c&&c.pipe(Ue(function(e){window.gapi&&e.accessToken&&window.gapi.auth.setToken({access_token:e.accessToken})}),Te(this.destroy$)).subscribe({next:function(e){d.config=e}})},tkc=function(a,b){return skc(a,[b]).pipe(D(function(c){return c[0]}))},skc=function(a,b){return a.lookupApiClient.list({id:b,type:"EMAIL",matchType:"EXACT",requestMaskIncludeField:"person.email,person.name,person.photo,person.organization",
requestMaskIncludeContainer:["PROFILE","DOMAIN_PROFILE","CONTACT","DOMAIN_CONTACT","GOOGLE_GROUP"],sources:["PROFILE_SOURCE"],access_token:a.config.accessToken}).pipe(D(function(c){return FBa(b,c)}))};BJ.prototype.ngOnDestroy=function(){this.destroy$.next()};BJ.\u0275fac=function(a){return new (a||BJ)(u(okc),u(pkc),u(qkc,8))};BJ.\u0275prov=qc({token:BJ,factory:BJ.\u0275fac});var ukc=function(a){r.call(this,a)};U(ukc,r);f=ukc.prototype;f.getSize=function(){return Os(this,1)};f.setSize=function(a){return n(this,1,a)};f.getWidth=function(){return Os(this,12)};f.setWidth=function(a){return n(this,12,a)};f.getHeight=function(){return Os(this,13)};f.setHeight=function(a){return n(this,13,a)};f.setStretch=function(a){return Lj(this,33,a)};f.setCrop=function(a){return Lj(this,2,a)};f.setCircleCrop=function(a){return Lj(this,51,a)};
f.setImageCrop=function(a){return Lj(this,32,a)};f.setSmartCrop=function(a){return Lj(this,19,a)};f.setSmartCropNoClip=function(a){return Lj(this,52,a)};f.setSmartCropUseFace=function(a){return Lj(this,67,a)};f.setDetectFaces=function(a){Lj(this,80,a)};f.setCenterCrop=function(a){return Lj(this,20,a)};f.setPad=function(a){return Lj(this,60,a)};f.getDownload=function(){return Jj(this,3,!1)};f.setDownload=function(a){Lj(this,3,a)};f.setHtml=function(a){Lj(this,4,a)};
f.getObjectId=function(){return m(this,7)};f.setObjectId=function(a){n(this,7,a)};f.setLooseFaceCrop=function(a){return Lj(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){Lj(this,14,a)};f.setForceTileGeneration=function(a){Lj(this,34,a)};f.setTilePyramidAsProto=function(a){Lj(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 Lj(this,17,a)};f.setUnfiltered=function(a){Lj(this,18,a)};f.setUnfilteredWithTransforms=function(a){Lj(this,45,a)};f.setIncludeMetadata=function(a){Lj(this,22,a)};f.setIncludePublicMetadata=function(a){Lj(this,54,a)};f.setStripGoogleData=function(a){Lj(this,82,a)};f.setPreserveGoogleData=function(a){Lj(this,83,a)};f.setStripMetadata=function(a){Lj(this,93,a)};
f.setStripGeoinfo=function(a){Lj(this,95,a)};f.setEsPortraitApprovedOnly=function(a){return Lj(this,21,a)};f.setBypassTakedown=function(a){Lj(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){Lj(this,6,a)};f.getRotate=function(){return Os(this,26)};f.setRotate=function(a){return n(this,26,a)};f.setHorizontalFlip=function(a){Lj(this,30,a)};
f.setVerticalFlip=function(a){Lj(this,31,a)};f.getOverlay=function(){return ar(this,27)};f.setOverlay=function(a){return Lj(this,27,a)};f.getQueryString=function(){return m(this,28)};f.setQueryString=function(a){n(this,28,a)};f.setRequestJpeg=function(a){return Lj(this,57,a)};f.setRequestPng=function(a){return Lj(this,58,a)};f.setRequestGif=function(a){Lj(this,59,a)};f.setRequestAvif=function(a){Lj(this,103,a)};f.setRequestWebp=function(a){return Lj(this,35,a)};
f.setRequestWebpUnlessMaybeTransparent=function(a){Lj(this,41,a)};f.setRequestAnimatedWebp=function(a){Lj(this,64,a)};f.setNoWebp=function(a){Lj(this,48,a)};f.setRequestH264=function(a){return Lj(this,49,a)};f.setLossy=function(a){Lj(this,97,a)};f.setNoOverlay=function(a){return Lj(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 Os(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){Lj(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){Lj(this,46,a)};f.setPreserveAspectRatio=function(a){Lj(this,61,a)};
f.setForceTransformation=function(a){Lj(this,50,a)};f.setNoDefaultImage=function(a){Lj(this,53,a)};f.setNoCorrectExifOrientation=function(a){Lj(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){Lj(this,98,a)};f.setDownloadVideo=function(a){Lj(this,90,a)};f.setVideoBegin=function(a){n(this,68,a)};f.setVideoLength=function(a){n(this,69,a)};
f.setMatchVersion=function(a){Lj(this,66,a)};f.setImageDigest=function(a){Lj(this,70,a)};f.setInternalClient=function(a){n(this,71,a)};f.setMonogram=function(a){Lj(this,73,a)};f.setForceMonogram=function(a){return Lj(this,84,a)};f.setMonogramDogfood=function(a){Lj(this,91,a)};f.setIgnoreLowResProfilePhoto=function(a){Lj(this,96,a)};f.setAutoloop=function(a){Lj(this,74,a)};f.getImageVersion=function(){return m(this,75)};f.setImageVersion=function(a){n(this,75,a)};
f.setPitchDegrees=function(a){Ns(this,76,a)};f.setYawDegrees=function(a){Ns(this,77,a)};f.getRollDegrees=function(){return Gs(this,78)};f.setRollDegrees=function(a){Ns(this,78,a)};f.setFovDegrees=function(a){Ns(this,79,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){Lj(this,100,a)};f.setVideoFormatFilters=function(a){n(this,102,a)};f.setDummyCacheKeyModifier=function(a){Lj(this,104,a)};
f.setGainMap=function(a){Lj(this,105,a)};
f.toObject=function(){if(null!=this){t(this);var a={size:p(Os(this,1)),width:p(Os(this,12)),height:p(Os(this,13)),stretch:p(ar(this,33)),crop:Jj(this,2,!1),circleCrop:p(ar(this,51)),imageCrop:p(ar(this,32)),smartCrop:Jj(this,19,!1),smartCropNoClip:Jj(this,52,!1),smartCropUseFace:Jj(this,67,!1),detectFaces:p(ar(this,80)),centerCrop:Jj(this,20,!1),pad:p(ar(this,60)),download:Jj(this,3,!1),html:Jj(this,4,!1),objectId:p(m(this,7)),looseFaceCrop:p(ar(this,65)),faceCropVersion:p(Os(this,94)),frameId:p(m(this,
29)),imageUrlDomain:Gh(this,8,0),tileX:p(Os(this,9)),tileY:p(Os(this,10)),tileZoom:p(Os(this,11)),tileGeneration:Jj(this,14,!1),forceTileGeneration:Jj(this,34,!1),tilePyramidAsProto:Jj(this,72,!1),expirationTime:p(Os(this,15)),imageFilter:p(m(this,16)),killAnimation:p(ar(this,17)),unfiltered:p(ar(this,18)),unfilteredWithTransforms:p(ar(this,45)),includeMetadata:p(ar(this,22)),includePublicMetadata:p(ar(this,54)),stripGoogleData:p(ar(this,82)),preserveGoogleData:p(ar(this,83)),stripMetadata:p(ar(this,
93)),stripGeoinfo:p(ar(this,95)),esPortraitApprovedOnly:p(ar(this,21)),bypassTakedown:Jj(this,23,!1),token:p(m(this,24)),versionedToken:p(m(this,36)),skipRefererCheck:Jj(this,6,!1),rotate:p(Os(this,26)),horizontalFlip:p(ar(this,30)),verticalFlip:p(ar(this,31)),overlay:p(ar(this,27)),queryString:p(m(this,28)),requestJpeg:p(ar(this,57)),requestPng:p(ar(this,58)),requestGif:p(ar(this,59)),requestAvif:Jj(this,103,!1),requestWebp:Jj(this,35,!1),requestWebpUnlessMaybeTransparent:Jj(this,41,!1),requestAnimatedWebp:Jj(this,
64,!1),noWebp:Jj(this,48,!1),requestH264:Jj(this,49,!1),lossy:p(ar(this,97)),noOverlay:Jj(this,37,!1),borderSize:p(Os(this,38)),borderRadius:p(Os(this,86)),borderColor:p(Os(this,39)),backgroundColor:p(Os(this,87)),padColor:p(Os(this,88)),substitutionColor:p(Os(this,89)),noSilhouette:p(ar(this,40)),focusBlur:p(Os(this,42)),focalPlane:p(Os(this,43)),qualityLevel:p(Os(this,44)),qualityBucket:p(Os(this,62)),noUpscale:p(ar(this,46)),preserveAspectRatio:p(ar(this,61)),forceTransformation:p(ar(this,50)),
noDefaultImage:p(ar(this,53)),noCorrectExifOrientation:p(ar(this,55)),selectFrameNumber:p(Os(this,56)),videoFormat:p(Os(this,63)),videoMultiFormat:p(m(this,81)),videoManifest:p(ar(this,98)),downloadVideo:p(ar(this,90)),videoBegin:p(m(this,68)),videoLength:p(m(this,69)),matchVersion:p(ar(this,66)),imageDigest:p(ar(this,70)),internalClient:p(Os(this,71)),monogram:p(ar(this,73)),forceMonogram:p(ar(this,84)),monogramDogfood:p(ar(this,91)),ignoreLowResProfilePhoto:p(ar(this,96)),autoloop:p(ar(this,74)),
imageVersion:p(m(this,75)),pitchDegrees:p(Gs(this,76)),yawDegrees:p(Gs(this,77)),rollDegrees:p(Gs(this,78)),fovDegrees:p(Gs(this,79)),badge:p(Os(this,85)),colorProfile:p(Os(this,92)),deepCrop:p(m(this,99)),requestVideoFast:p(ar(this,100)),videoFormatFilters:p(m(this,102)),dummyCacheKeyModifier:p(ar(this,104)),gainMap:p(ar(this,105))}}else a=void 0;return a};var CJ=function(a){this.value_=void 0;this.childNodes_={};a&&this.setAll(a)};CJ.prototype.set=function(a,b){vkc(this,a,b,!1)};CJ.prototype.add=function(a,b){vkc(this,a,b,!0)};var vkc=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 CJ);a=a.childNodes_[g]}if(d&&void 0!==a.value_)throw Error("Oc`"+b);a.value_=c};CJ.prototype.setAll=function(a){var b=E7b(a);a=qC(a);for(var c=0;c<b.length;c++)this.set(b[c],a[c])};
var wkc=function(a,b){for(var c=0;c<b.length;c++)if(a=a.childNodes_[b.charAt(c)],!a)return;return a};CJ.prototype.get=function(a){return(a=wkc(this,a))?a.value_:void 0};CJ.prototype.getValues=function(){var a=[];xkc(this,a);return a};var xkc=function(a,b){void 0!==a.value_&&b.push(a.value_);for(var c in a.childNodes_)xkc(a.childNodes_[c],b)};
CJ.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]}ykc(c,a,b)}else ykc(this,"",b);return b};var ykc=function(a,b,c){void 0!==a.value_&&c.push(b);for(var d in a.childNodes_)ykc(a.childNodes_[d],b+d,c)};f=CJ.prototype;f.containsKey=function(a){return void 0!==this.get(a)};
f.containsValue=function(a){if(this.value_===a)return!0;for(var b in this.childNodes_)if(this.childNodes_[b].containsValue(a))return!0;return!1};f.clear=function(){this.childNodes_={};this.value_=void 0};f.remove=function(a){for(var b=this,c=[],d=0;d<a.length;d++){var e=a.charAt(d);if(!b.childNodes_[e])throw Error("Pc`"+a);c.push([b,e]);b=b.childNodes_[e]}a=b.value_;for(delete b.value_;0<c.length;)if(e=c.pop(),b=e[0],e=e[1],b.childNodes_[e].isEmpty())delete b.childNodes_[e];else break;return a};
f.clone=function(){return new CJ(this)};f.getCount=function(){return D7b(this.getValues())};f.isEmpty=function(){return void 0===this.value_&&Ub(this.childNodes_)};var Bkc=function(){if(!zkc){var a=zkc=new CJ,b;for(b in Akc)a.add(b,Akc[b])}},zkc,DJ=function(a,b){this.types=a;this.setters=b},Akc={a:new DJ([3,0],[function(a,b){a.setEsPortraitApprovedOnly(b)},function(a,b){a.setSelectFrameNumber(b)}]),al:new DJ([3],[function(a,b){a.setAutoloop(b)}]),b:new DJ([3,0],[function(a,b){a.setBypassTakedown(b)},function(a,b){a.setBorderSize(b)}]),ba:new DJ([0],[function(a,b){a.setBadge(b)}]),bc:new DJ([0],[function(a,b){a.setBackgroundColor(b)}]),br:new DJ([0],[function(a,
b){a.setBorderRadius(b)}]),c:new DJ([3,0],[function(a,b){a.setCrop(b)},function(a,b){a.setBorderColor(b)}]),cc:new DJ([3],[function(a,b){a.setCircleCrop(b)}]),ci:new DJ([3],[function(a,b){a.setImageCrop(b)}]),ckm:new DJ([3],[function(a,b){a.setDummyCacheKeyModifier(b)}]),cp:new DJ([0],[function(a,b){a.setColorProfile(b)}]),cv:new DJ([0],[function(a,b){a.setFaceCropVersion(b)}]),d:new DJ([3],[function(a,b){a.setDownload(b)}]),dc:new DJ([5],[function(a,b){a.setDeepCrop(b)}]),df:new DJ([3],[function(a,
b){a.setDetectFaces(b)}]),dv:new DJ([3],[function(a,b){a.setDownloadVideo(b)}]),e:new DJ([0],[function(a,b){a.setExpirationTime(b)}]),f:new DJ([4],[function(a,b){a.setImageFilter(b)}]),fg:new DJ([3],[function(a,b){a.setForceTileGeneration(b)}]),fh:new DJ([3],[function(a,b){a.setHorizontalFlip(b)}]),fm:new DJ([3],[function(a,b){a.setForceMonogram(b)}]),fo:new DJ([2],[function(a,b){a.setFovDegrees(b)}]),ft:new DJ([3],[function(a,b){a.setForceTransformation(b)}]),fv:new DJ([3],[function(a,b){a.setVerticalFlip(b)}]),
g:new DJ([3],[function(a,b){a.setTileGeneration(b)}]),gd:new DJ([3],[function(a,b){a.setPreserveGoogleData(b)}]),gm:new DJ([3],[function(a,b){a.setGainMap(b)}]),h:new DJ([3,0],[function(a,b){a.setHtml(b)},function(a,b){a.setHeight(b)}]),i:new DJ([3],[function(a,b){a.setIncludeMetadata(b)}]),ic:new DJ([0],[function(a,b){a.setInternalClient(b)}]),id:new DJ([3],[function(a,b){a.setImageDigest(b)}]),il:new DJ([3],[function(a,b){a.setIgnoreLowResProfilePhoto(b)}]),ip:new DJ([3],[function(a,b){a.setIncludePublicMetadata(b)}]),
iv:new DJ([0],[function(a,b){a.setImageVersion(b)}]),j:new DJ([1],[function(a,b){a.setFrameId(b)}]),k:new DJ([3,0],[function(a,b){a.setKillAnimation(b)},function(a,b){a.setFocusBlur(b)}]),l:new DJ([0],[function(a,b){a.setQualityLevel(b)}]),lf:new DJ([3],[function(a,b){a.setLooseFaceCrop(b)}]),lo:new DJ([3],[function(a,b){a.setLossy(b)}]),m:new DJ([0],[function(a,b){a.setVideoFormat(b)}]),md:new DJ([3],[function(a,b){a.setMonogramDogfood(b)}]),mm:new DJ([4],[function(a,b){a.setVideoMultiFormat(b)}]),
mo:new DJ([3],[function(a,b){a.setMonogram(b)}]),mv:new DJ([3],[function(a,b){a.setMatchVersion(b)}]),n:new DJ([3],[function(a,b){a.setCenterCrop(b)}]),nc:new DJ([3],[function(a,b){a.setNoCorrectExifOrientation(b)}]),nd:new DJ([3],[function(a,b){a.setNoDefaultImage(b)}]),ng:new DJ([3],[function(a,b){a.setStripGeoinfo(b)}]),no:new DJ([3],[function(a,b){a.setNoOverlay(b)}]),ns:new DJ([3],[function(a,b){a.setNoSilhouette(b)}]),nt0:new DJ([4],[function(a,b){a.setVersionedToken(b)}]),nu:new DJ([3],[function(a,
b){a.setNoUpscale(b)}]),nw:new DJ([3],[function(a,b){a.setNoWebp(b)}]),o:new DJ([1,3],[function(a,b){a.setObjectId(b)},function(a,b){a.setOverlay(b)}]),p:new DJ([3,0],[function(a,b){a.setSmartCrop(b)},function(a,b){a.setFocalPlane(b)}]),pa:new DJ([3],[function(a,b){a.setPreserveAspectRatio(b)}]),pc:new DJ([0],[function(a,b){a.setPadColor(b)}]),pd:new DJ([3],[function(a,b){a.setPad(b)}]),pf:new DJ([3],[function(a,b){a.setSmartCropUseFace(b)}]),pg:new DJ([3],[function(a,b){a.setTilePyramidAsProto(b)}]),
pi:new DJ([2],[function(a,b){a.setPitchDegrees(b)}]),pp:new DJ([3],[function(a,b){a.setSmartCropNoClip(b)}]),q:new DJ([4],[function(a,b){a.setQueryString(b)}]),r:new DJ([3,0],[function(a,b){a.setSkipRefererCheck(b)},function(a,b){a.setRotate(b)}]),ra:new DJ([3],[function(a,b){a.setRequestAvif(b)}]),rf:new DJ([3],[function(a,b){a.setRequestVideoFast(b)}]),rg:new DJ([3],[function(a,b){a.setRequestGif(b)}]),rh:new DJ([3],[function(a,b){a.setRequestH264(b)}]),rj:new DJ([3],[function(a,b){a.setRequestJpeg(b)}]),
ro:new DJ([2],[function(a,b){a.setRollDegrees(b)}]),rp:new DJ([3],[function(a,b){a.setRequestPng(b)}]),rw:new DJ([3],[function(a,b){a.setRequestWebp(b)}]),rwa:new DJ([3],[function(a,b){a.setRequestAnimatedWebp(b)}]),rwu:new DJ([3],[function(a,b){a.setRequestWebpUnlessMaybeTransparent(b)}]),s:new DJ([3,0],[function(a,b){a.setStretch(b)},function(a,b){a.setSize(b)}]),sc:new DJ([0],[function(a,b){a.setSubstitutionColor(b)}]),sg:new DJ([3],[function(a,b){a.setStripGoogleData(b)}]),sm:new DJ([3],[function(a,
b){a.setStripMetadata(b)}]),t:new DJ([4],[function(a,b){a.setToken(b)}]),u:new DJ([3],[function(a,b){a.setUnfiltered(b)}]),ut:new DJ([3],[function(a,b){a.setUnfilteredWithTransforms(b)}]),v:new DJ([0],[function(a,b){a.setQualityBucket(b)}]),vb:new DJ([0],[function(a,b){a.setVideoBegin(b)}]),vf:new DJ([4],[function(a,b){a.setVideoFormatFilters(b)}]),vl:new DJ([0],[function(a,b){a.setVideoLength(b)}]),vm:new DJ([3],[function(a,b){a.setVideoManifest(b)}]),w:new DJ([0],[function(a,b){a.setWidth(b)}]),
x:new DJ([0],[function(a,b){a.setTileX(b)}]),y:new DJ([0],[function(a,b){a.setTileY(b)}]),ya:new DJ([2],[function(a,b){a.setYawDegrees(b)}]),z:new DJ([0],[function(a,b){a.setTileZoom(b)}])};
Bkc.prototype.parse=function(a){var b=new ukc,c=new ukc;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 x=h.charAt(0);x!=x.toLowerCase()&&(l=!0,q=h.charAt(0).toLowerCase()+h.substring(1));var A=zkc;for(x=1;x<=q.length;++x){var B=A,K=q.substring(0,x);if(0==K.length?B.isEmpty():!wkc(B,K))break}q=1==x?null:(q=A.get(q.substring(0,x-1)))?{option:h.substring(0,x-1),value:h.substring(x-1),signed:l,attributes:q}:null;if(q){h=
[];l=[];x=!1;for(A=0;A<q.attributes.types.length;A++){B=q.attributes.types[A];var N=q.value;K=e;if(q.signed&&1==B)for(var P=N.length;12>P&&K<a.length-1;)N+="-"+a[K+1],P=N.length,++K;else if(2==B)for(;K<a.length-1&&a[K+1].match(/^[\d\.]/);)N+="-"+a[K+1],++K;P=q.attributes.setters[A];N=Ckc(this,B)(q.option,N,b,c,P);if(null===N){x=!0;e=K;break}else h.push(B),l.push(N)}if(!x)for(q=0;q<l.length;q++)A=h[q],N=l[q],Dkc(this,A)(g,N);d=d&&x}else d=!1}}a=d}return new Ekc(b,c,a)};
var Fkc=function(a,b,c,d,e,g){e(c,b);a=a.charAt(0);g=g(a==a.toUpperCase());e(d,g)};f=Bkc.prototype;f.parseAndSetIntOption_=function(a,b,c,d,e){if(""==b)return 0;b=Rh(b);if(isNaN(b))return 1;Fkc(a,b,c,d,e,Number);return null};f.logIntParseError_=function(){};f.parseAndSetFloatOption_=function(a,b,c,d,e){if(""==b)return 0;b=Wh(b);if(isNaN(b))return 1;Fkc(a,b,c,d,e,Number);return null};f.logFloatParseError_=function(){};
f.parseAndSetBoolOption_=function(a,b,c,d,e){if(""!=b)return 2;Fkc(a,!0,c,d,e,Boolean);return null};f.logBoolParseError_=function(){};f.parseAndSetStringOption_=function(a,b,c,d,e){if(""==b)return 0;Fkc(a,b,c,d,e,function(g){return g?"1":""});return null};f.logStringParseError_=function(){};f.parseAndSetUint64Base64Option_=function(a,b,c,d,e){if(""==b)return 0;Fkc(a,b,c,d,e,function(g){return g?1:0});return null};
var Ckc=function(a,b){switch(b){case 0:return rs(a.parseAndSetIntOption_,a);case 2:return rs(a.parseAndSetFloatOption_,a);case 3:return rs(a.parseAndSetBoolOption_,a);case 4:return rs(a.parseAndSetStringOption_,a);case 1:return rs(a.parseAndSetUint64Base64Option_,a);default:return function(){}}},Dkc=function(a,b){switch(b){case 0:return rs(a.logIntParseError_,a);case 2:return rs(a.logFloatParseError_,a);case 3:return rs(a.logBoolParseError_,a);case 4:case 1:return rs(a.logStringParseError_,a);default:return function(){}}},
Ekc=function(a,b,c){this.valueProto_=a;this.signatureFlagProto_=b;this.valid_=c};Ekc.prototype.isValid=function(){return this.valid_};var Gkc=function(a,b){null!=a&&this.append.apply(this,arguments)};f=Gkc.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 Ikc=function(a){this.parser_=null;this.components_=[];this.parsedOptions_=null;Hkc(this,a)};Ikc.prototype.getParsedOptions=function(){return this.parsedOptions_};var Jkc=function(a){null==a.parser_&&(a.parser_=new Bkc);return a.parser_},Hkc=function(a,b){a.parsedOptions_=b?"string"===typeof b?Jkc(a).parse(b):b:Jkc(a).parse("")},EJ=function(a,b){return a==b?!1:!0};f=Ikc.prototype;
f.setEsPortraitApprovedOnly=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;EJ(a,ar(c,21),ar(b.signatureFlagProto_,21))&&c.setEsPortraitApprovedOnly(a);return this};f.setSelectFrameNumber=function(a){var b=this.parsedOptions_,c=b.valueProto_;EJ(a,Os(c,56),Os(b.signatureFlagProto_,56))&&c.setSelectFrameNumber(a)};f.setAutoloop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;EJ(a,ar(c,74),ar(b.signatureFlagProto_,74))&&c.setAutoloop(a)};
f.setBypassTakedown=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;EJ(a,Jj(c,23,!1),Jj(b.signatureFlagProto_,23,!1))&&c.setBypassTakedown(a)};f.setBorderSize=function(a){var b=this.parsedOptions_,c=b.valueProto_;EJ(a,Os(c,38),Os(b.signatureFlagProto_,38))&&c.setBorderSize(a)};f.setBadge=function(a){var b=this.parsedOptions_,c=b.valueProto_;EJ(a,Os(c,85),Os(b.signatureFlagProto_,85))&&c.setBadge(a)};
f.setBackgroundColor=function(a){var b=this.parsedOptions_,c=b.valueProto_;EJ(a,c.getBackgroundColor(),b.signatureFlagProto_.getBackgroundColor())&&c.setBackgroundColor(a)};f.setBorderRadius=function(a){var b=this.parsedOptions_,c=b.valueProto_;EJ(a,Os(c,86),Os(b.signatureFlagProto_,86))&&c.setBorderRadius(a)};f.setCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;EJ(a,Jj(c,2,!1),Jj(b.signatureFlagProto_,2,!1))&&c.setCrop(a);return this};
f.setBorderColor=function(a){var b=this.parsedOptions_,c=b.valueProto_;EJ(a,Os(c,39),Os(b.signatureFlagProto_,39))&&c.setBorderColor(a)};f.setCircleCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;EJ(a,ar(c,51),ar(b.signatureFlagProto_,51))&&c.setCircleCrop(a);return this};f.setImageCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;EJ(a,ar(c,32),ar(b.signatureFlagProto_,32))&&c.setImageCrop(a);return this};
f.setDummyCacheKeyModifier=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;EJ(a,ar(c,104),ar(b.signatureFlagProto_,104))&&c.setDummyCacheKeyModifier(a)};f.setColorProfile=function(a){var b=this.parsedOptions_,c=b.valueProto_;EJ(a,Os(c,92),Os(b.signatureFlagProto_,92))&&c.setColorProfile(a)};f.setFaceCropVersion=function(a){var b=this.parsedOptions_,c=b.valueProto_;EJ(a,Os(c,94),Os(b.signatureFlagProto_,94))&&c.setFaceCropVersion(a)};
f.setDownload=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;EJ(a,c.getDownload(),b.signatureFlagProto_.getDownload())&&c.setDownload(a)};f.setDeepCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;EJ(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_;EJ(a,ar(c,80),ar(b.signatureFlagProto_,80))&&c.setDetectFaces(a)};
f.setDownloadVideo=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;EJ(a,ar(c,90),ar(b.signatureFlagProto_,90))&&c.setDownloadVideo(a)};f.setExpirationTime=function(a){var b=this.parsedOptions_,c=b.valueProto_;EJ(a,Os(c,15),Os(b.signatureFlagProto_,15))&&c.setExpirationTime(a)};f.setImageFilter=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;EJ(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_;EJ(a,Jj(c,34,!1),Jj(b.signatureFlagProto_,34,!1))&&c.setForceTileGeneration(a)};f.setHorizontalFlip=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;EJ(a,ar(c,30),ar(b.signatureFlagProto_,30))&&c.setHorizontalFlip(a)};f.setForceMonogram=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;EJ(a,ar(c,84),ar(b.signatureFlagProto_,84))&&c.setForceMonogram(a);return this};
f.setFovDegrees=function(a){var b=this.parsedOptions_,c=b.valueProto_;EJ(a,Gs(c,79),Gs(b.signatureFlagProto_,79))&&c.setFovDegrees(a)};f.setForceTransformation=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;EJ(a,ar(c,50),ar(b.signatureFlagProto_,50))&&c.setForceTransformation(a)};f.setVerticalFlip=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;EJ(a,ar(c,31),ar(b.signatureFlagProto_,31))&&c.setVerticalFlip(a)};
f.setTileGeneration=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;EJ(a,Jj(c,14,!1),Jj(b.signatureFlagProto_,14,!1))&&c.setTileGeneration(a)};f.setPreserveGoogleData=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;EJ(a,ar(c,83),ar(b.signatureFlagProto_,83))&&c.setPreserveGoogleData(a)};f.setGainMap=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;EJ(a,ar(c,105),ar(b.signatureFlagProto_,105))&&c.setGainMap(a)};
f.setHtml=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;EJ(a,Jj(c,4,!1),Jj(b.signatureFlagProto_,4,!1))&&c.setHtml(a)};f.setHeight=function(a){var b=this.parsedOptions_,c=b.valueProto_;EJ(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_;EJ(a,ar(c,22),ar(b.signatureFlagProto_,22))&&c.setIncludeMetadata(a)};
f.setInternalClient=function(a){var b=this.parsedOptions_,c=b.valueProto_;EJ(a,Os(c,71),Os(b.signatureFlagProto_,71))&&c.setInternalClient(a)};f.setImageDigest=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;EJ(a,ar(c,70),ar(b.signatureFlagProto_,70))&&c.setImageDigest(a)};f.setIgnoreLowResProfilePhoto=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;EJ(a,ar(c,96),ar(b.signatureFlagProto_,96))&&c.setIgnoreLowResProfilePhoto(a)};
f.setIncludePublicMetadata=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;EJ(a,ar(c,54),ar(b.signatureFlagProto_,54))&&c.setIncludePublicMetadata(a)};f.setImageVersion=function(a){var b=this.parsedOptions_,c=b.valueProto_;EJ(a,c.getImageVersion(),b.signatureFlagProto_.getImageVersion())&&c.setImageVersion(a)};f.setFrameId=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;EJ(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_;EJ(a,ar(c,17),ar(b.signatureFlagProto_,17))&&c.setKillAnimation(a);return this};f.setFocusBlur=function(a){var b=this.parsedOptions_,c=b.valueProto_;EJ(a,Os(c,42),Os(b.signatureFlagProto_,42))&&c.setFocusBlur(a)};f.setQualityLevel=function(a){var b=this.parsedOptions_,c=b.valueProto_;EJ(a,Os(c,44),Os(b.signatureFlagProto_,44))&&c.setQualityLevel(a);return this};
f.setLooseFaceCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;EJ(a,ar(c,65),ar(b.signatureFlagProto_,65))&&c.setLooseFaceCrop(a);return this};f.setLossy=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;EJ(a,ar(c,97),ar(b.signatureFlagProto_,97))&&c.setLossy(a)};f.setVideoFormat=function(a){var b=this.parsedOptions_,c=b.valueProto_;EJ(a,Os(c,63),Os(b.signatureFlagProto_,63))&&c.setVideoFormat(a)};
f.setMonogramDogfood=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;EJ(a,ar(c,91),ar(b.signatureFlagProto_,91))&&c.setMonogramDogfood(a)};f.setVideoMultiFormat=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;EJ(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_;EJ(a,ar(c,73),ar(b.signatureFlagProto_,73))&&c.setMonogram(a)};
f.setMatchVersion=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;EJ(a,ar(c,66),ar(b.signatureFlagProto_,66))&&c.setMatchVersion(a)};f.setCenterCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;EJ(a,Jj(c,20,!1),Jj(b.signatureFlagProto_,20,!1))&&c.setCenterCrop(a);return this};f.setNoCorrectExifOrientation=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;EJ(a,ar(c,55),ar(b.signatureFlagProto_,55))&&c.setNoCorrectExifOrientation(a)};
f.setNoDefaultImage=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;EJ(a,ar(c,53),ar(b.signatureFlagProto_,53))&&c.setNoDefaultImage(a)};f.setStripGeoinfo=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;EJ(a,ar(c,95),ar(b.signatureFlagProto_,95))&&c.setStripGeoinfo(a)};f.setNoOverlay=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;EJ(a,Jj(c,37,!1),Jj(b.signatureFlagProto_,37,!1))&&c.setNoOverlay(a);return this};
f.setNoSilhouette=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;EJ(a,ar(c,40),ar(b.signatureFlagProto_,40))&&c.setNoSilhouette(a)};f.setVersionedToken=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;EJ(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_;EJ(a,ar(c,46),ar(b.signatureFlagProto_,46))&&c.setNoUpscale(a)};
f.setNoWebp=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;EJ(a,Jj(c,48,!1),Jj(b.signatureFlagProto_,48,!1))&&c.setNoWebp(a)};f.setObjectId=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;EJ(a,c.getObjectId(),b.signatureFlagProto_.getObjectId())&&c.setObjectId(a)};f.setOverlay=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;EJ(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_;EJ(a,Jj(c,19,!1),Jj(b.signatureFlagProto_,19,!1))&&c.setSmartCrop(a);return this};f.setFocalPlane=function(a){var b=this.parsedOptions_,c=b.valueProto_;EJ(a,Os(c,43),Os(b.signatureFlagProto_,43))&&c.setFocalPlane(a)};f.setPreserveAspectRatio=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;EJ(a,ar(c,61),ar(b.signatureFlagProto_,61))&&c.setPreserveAspectRatio(a)};
f.setPadColor=function(a){var b=this.parsedOptions_,c=b.valueProto_;EJ(a,Os(c,88),Os(b.signatureFlagProto_,88))&&c.setPadColor(a)};f.setPad=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;EJ(a,ar(c,60),ar(b.signatureFlagProto_,60))&&c.setPad(a);return this};f.setSmartCropUseFace=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;EJ(a,Jj(c,67,!1),Jj(b.signatureFlagProto_,67,!1))&&c.setSmartCropUseFace(a);return this};
f.setTilePyramidAsProto=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;EJ(a,Jj(c,72,!1),Jj(b.signatureFlagProto_,72,!1))&&c.setTilePyramidAsProto(a)};f.setPitchDegrees=function(a){var b=this.parsedOptions_,c=b.valueProto_;EJ(a,Gs(c,76),Gs(b.signatureFlagProto_,76))&&c.setPitchDegrees(a)};f.setSmartCropNoClip=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;EJ(a,Jj(c,52,!1),Jj(b.signatureFlagProto_,52,!1))&&c.setSmartCropNoClip(a);return this};
f.setQueryString=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;EJ(a,c.getQueryString(),b.signatureFlagProto_.getQueryString())&&c.setQueryString(a)};f.setSkipRefererCheck=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;EJ(a,Jj(c,6,!1),Jj(b.signatureFlagProto_,6,!1))&&c.setSkipRefererCheck(a)};f.setRotate=function(a){var b=this.parsedOptions_,c=b.valueProto_;EJ(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_;EJ(a,Jj(c,103,!1),Jj(b.signatureFlagProto_,103,!1))&&c.setRequestAvif(a)};f.setRequestVideoFast=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;EJ(a,ar(c,100),ar(b.signatureFlagProto_,100))&&c.setRequestVideoFast(a)};f.setRequestGif=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;EJ(a,ar(c,59),ar(b.signatureFlagProto_,59))&&c.setRequestGif(a)};
f.setRequestH264=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;EJ(a,Jj(c,49,!1),Jj(b.signatureFlagProto_,49,!1))&&c.setRequestH264(a);return this};f.setRequestJpeg=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;EJ(a,ar(c,57),ar(b.signatureFlagProto_,57))&&c.setRequestJpeg(a);return this};f.setRollDegrees=function(a){var b=this.parsedOptions_,c=b.valueProto_;EJ(a,c.getRollDegrees(),b.signatureFlagProto_.getRollDegrees())&&c.setRollDegrees(a)};
f.setRequestPng=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;EJ(a,ar(c,58),ar(b.signatureFlagProto_,58))&&c.setRequestPng(a);return this};f.setRequestWebp=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;EJ(a,Jj(c,35,!1),Jj(b.signatureFlagProto_,35,!1))&&c.setRequestWebp(a);return this};f.setRequestAnimatedWebp=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;EJ(a,Jj(c,64,!1),Jj(b.signatureFlagProto_,64,!1))&&c.setRequestAnimatedWebp(a)};
f.setRequestWebpUnlessMaybeTransparent=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;EJ(a,Jj(c,41,!1),Jj(b.signatureFlagProto_,41,!1))&&c.setRequestWebpUnlessMaybeTransparent(a)};f.setStretch=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;EJ(a,ar(c,33),ar(b.signatureFlagProto_,33))&&c.setStretch(a);return this};f.setSize=function(a){var b=this.parsedOptions_,c=b.valueProto_;EJ(a,c.getSize(),b.signatureFlagProto_.getSize())&&c.setSize(a);return this};
f.setSubstitutionColor=function(a){var b=this.parsedOptions_,c=b.valueProto_;EJ(a,Os(c,89),Os(b.signatureFlagProto_,89))&&c.setSubstitutionColor(a)};f.setStripGoogleData=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;EJ(a,ar(c,82),ar(b.signatureFlagProto_,82))&&c.setStripGoogleData(a)};f.setStripMetadata=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;EJ(a,ar(c,93),ar(b.signatureFlagProto_,93))&&c.setStripMetadata(a)};
f.setToken=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;EJ(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_;EJ(a,ar(c,18),ar(b.signatureFlagProto_,18))&&c.setUnfiltered(a)};f.setUnfilteredWithTransforms=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;EJ(a,ar(c,45),ar(b.signatureFlagProto_,45))&&c.setUnfilteredWithTransforms(a)};
f.setQualityBucket=function(a){var b=this.parsedOptions_,c=b.valueProto_;EJ(a,Os(c,62),Os(b.signatureFlagProto_,62))&&c.setQualityBucket(a);return this};f.setVideoBegin=function(a){var b=this.parsedOptions_,c=b.valueProto_;EJ(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_;EJ(a,m(c,102),m(b.signatureFlagProto_,102))&&c.setVideoFormatFilters(a)};
f.setVideoLength=function(a){var b=this.parsedOptions_,c=b.valueProto_;EJ(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_;EJ(a,ar(c,98),ar(b.signatureFlagProto_,98))&&c.setVideoManifest(a)};f.setWidth=function(a){var b=this.parsedOptions_,c=b.valueProto_;EJ(a,c.getWidth(),b.signatureFlagProto_.getWidth())&&c.setWidth(a);return this};
f.setTileX=function(a){var b=this.parsedOptions_,c=b.valueProto_;EJ(a,Os(c,9),Os(b.signatureFlagProto_,9))&&c.setTileX(a)};f.setTileY=function(a){var b=this.parsedOptions_,c=b.valueProto_;EJ(a,Os(c,10),Os(b.signatureFlagProto_,10))&&c.setTileY(a)};f.setYawDegrees=function(a){var b=this.parsedOptions_,c=b.valueProto_;EJ(a,Gs(c,77),Gs(b.signatureFlagProto_,77))&&c.setYawDegrees(a)};f.setTileZoom=function(a){var b=this.parsedOptions_,c=b.valueProto_;EJ(a,Os(c,11),Os(b.signatureFlagProto_,11))&&c.setTileZoom(a)};
f.setOptions=function(a){Hkc(this,a)};
f.build=function(){this.components_.length=0;var a=this.parsedOptions_,b=a.valueProto_;a=a.signatureFlagProto_;FJ(this,"s",b.getSize(),a.getSize());FJ(this,"w",b.getWidth(),a.getWidth());GJ(this,"c",Jj(b,2,!1),Jj(a,2,!1));GJ(this,"d",b.getDownload(),a.getDownload());FJ(this,"h",b.getHeight(),a.getHeight());GJ(this,"s",ar(b,33),ar(a,33));GJ(this,"h",Jj(b,4,!1),Jj(a,4,!1));GJ(this,"p",Jj(b,19,!1),Jj(a,19,!1));GJ(this,"pp",Jj(b,52,!1),Jj(a,52,!1));GJ(this,"pf",Jj(b,67,!1),Jj(a,67,!1));GJ(this,"n",Jj(b,
20,!1),Jj(a,20,!1));FJ(this,"r",b.getRotate(),a.getRotate());GJ(this,"r",Jj(b,6,!1),Jj(a,6,!1));GJ(this,"o",b.getOverlay(),a.getOverlay());var c=b.getObjectId();HJ(this,"o",c,a.getObjectId());c=m(b,29);HJ(this,"j",c,m(a,29));FJ(this,"x",Os(b,9),Os(a,9));FJ(this,"y",Os(b,10),Os(a,10));FJ(this,"z",Os(b,11),Os(a,11));GJ(this,"g",Jj(b,14,!1),Jj(a,14,!1));FJ(this,"e",Os(b,15),Os(a,15));HJ(this,"f",m(b,16),m(a,16));GJ(this,"k",ar(b,17),ar(a,17));GJ(this,"u",ar(b,18),!0);GJ(this,"ut",ar(b,45),!0);GJ(this,
"i",ar(b,22),!0);GJ(this,"a",ar(b,21),ar(a,21));GJ(this,"b",Jj(b,23,!1),Jj(a,23,!1));FJ(this,"b",Os(b,38),Os(a,38));FJ(this,"c",Os(b,39),Os(a,39),16,8);HJ(this,"q",b.getQueryString(),a.getQueryString());GJ(this,"fh",ar(b,30),ar(a,30));GJ(this,"fv",ar(b,31),ar(a,31));GJ(this,"fg",Jj(b,34,!1),Jj(a,34,!1));GJ(this,"ci",ar(b,32),ar(a,32));HJ(this,"t",b.getToken(),a.getToken());HJ(this,"nt0",m(b,36),m(a,36));GJ(this,"rw",Jj(b,35,!1),Jj(a,35,!1));GJ(this,"rwu",Jj(b,41,!1),Jj(a,41,!1));GJ(this,"rwa",Jj(b,
64,!1),Jj(a,64,!1));GJ(this,"nw",Jj(b,48,!1),Jj(a,48,!1));GJ(this,"rh",Jj(b,49,!1),Jj(a,49,!1));GJ(this,"no",Jj(b,37,!1),Jj(a,37,!1));GJ(this,"ns",ar(b,40),ar(a,40));FJ(this,"k",Os(b,42),Os(a,42));FJ(this,"p",Os(b,43),Os(a,43));FJ(this,"l",Os(b,44),Os(a,44));FJ(this,"v",Os(b,62),Os(a,62));GJ(this,"nu",ar(b,46),ar(a,46));GJ(this,"ft",ar(b,50),ar(a,50));GJ(this,"cc",ar(b,51),ar(a,51));GJ(this,"nd",ar(b,53),ar(a,53));GJ(this,"ip",ar(b,54),ar(a,54));GJ(this,"nc",ar(b,55),ar(a,55));FJ(this,"a",Os(b,56),
Os(a,56));GJ(this,"rj",ar(b,57),ar(a,57));GJ(this,"rp",ar(b,58),ar(a,58));GJ(this,"rg",ar(b,59),ar(a,59));GJ(this,"pd",ar(b,60),ar(a,60));GJ(this,"pa",ar(b,61),ar(a,61));FJ(this,"m",Os(b,63),Os(a,63));FJ(this,"vb",m(b,68),m(a,68));FJ(this,"vl",m(b,69),m(a,69));GJ(this,"lf",ar(b,65),ar(a,65));GJ(this,"mv",ar(b,66),ar(a,66));GJ(this,"id",ar(b,70),ar(a,70));FJ(this,"ic",Os(b,71),!0);GJ(this,"pg",Jj(b,72,!1),Jj(a,72,!1));GJ(this,"mo",ar(b,73),ar(a,73));GJ(this,"al",ar(b,74),ar(a,74));FJ(this,"iv",b.getImageVersion(),
a.getImageVersion());FJ(this,"pi",Gs(b,76),Gs(a,76));FJ(this,"ya",Gs(b,77),Gs(a,77));FJ(this,"ro",b.getRollDegrees(),a.getRollDegrees());FJ(this,"fo",Gs(b,79),Gs(a,79));GJ(this,"df",ar(b,80),ar(a,80));HJ(this,"mm",m(b,81),m(a,81));GJ(this,"sg",ar(b,82),ar(a,82));GJ(this,"gd",ar(b,83),ar(a,83));GJ(this,"fm",ar(b,84),ar(a,84));FJ(this,"ba",Os(b,85),Os(a,85));FJ(this,"br",Os(b,86),Os(a,86));FJ(this,"bc",b.getBackgroundColor(),a.getBackgroundColor(),16,8);FJ(this,"pc",Os(b,88),Os(a,88),16,8);FJ(this,
"sc",Os(b,89),Os(a,89),16,8);GJ(this,"dv",ar(b,90),ar(a,90));GJ(this,"md",ar(b,91),ar(a,91));FJ(this,"cp",Os(b,92),Os(a,92));GJ(this,"sm",ar(b,93),ar(a,93));FJ(this,"cv",Os(b,94),Os(a,94));GJ(this,"ng",ar(b,95),ar(a,95));GJ(this,"il",ar(b,96),ar(a,96));GJ(this,"lo",ar(b,97),ar(a,97));GJ(this,"vm",ar(b,98),ar(a,98));HJ(this,"dc",m(b,99),m(a,99));GJ(this,"rf",ar(b,100),ar(a,100));HJ(this,"vf",m(b,102),m(a,102));GJ(this,"ra",Jj(b,103,!1),Jj(a,103,!1));GJ(this,"ckm",ar(b,104),ar(a,104));GJ(this,"gm",
ar(b,105),ar(a,105));return this.components_.join("-")};var FJ=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 Gkc;e.append(16==h?"0x":"");h=e.append;void 0==g?g="":(g-=c.length,g=0>=g?"":qRb("0",g));h.call(e,g);e.append(c);Kkc(a,b,e.toString(),!!d)}},GJ=function(a,b,c,d){c&&Kkc(a,b,"",!!d)},HJ=function(a,b,c,d){c&&Kkc(a,b,c,!!d)},Kkc=function(a,b,c,d){d&&(b=b.charAt(0).toUpperCase()+b.substring(1));a.components_.push(b+c)};var IJ=function(a){Ikc.call(this,a)};ts(IJ,Ikc);f=IJ.prototype;f.setCrop=function(a){a&&JJ(this);return IJ.superClass_.setCrop.call(this,a)};f.setHeight=function(a){a=null==a||0>a?void 0:a;null!=a&&this.setSize();return IJ.superClass_.setHeight.call(this,a)};f.setStretch=function(a){a&&JJ(this);return IJ.superClass_.setStretch.call(this,a)};f.setQualityLevel=function(a){return IJ.superClass_.setQualityLevel.call(this,a)};
f.setImageFilter=function(a){a&&(a=a.replace(";",":"));return IJ.superClass_.setImageFilter.call(this,a)};f.setImageCrop=function(a){a&&JJ(this);return IJ.superClass_.setImageCrop.call(this,a)};f.setCircleCrop=function(a){a&&JJ(this);return IJ.superClass_.setCircleCrop.call(this,a)};f.setSize=function(a){va(a)&&(a=Math.max(a.width,a.height));a=null==a||0>a?void 0:a;null!=a&&(this.setWidth(),this.setHeight());return IJ.superClass_.setSize.call(this,a)};
f.setSmartCrop=function(a){a&&JJ(this);return IJ.superClass_.setSmartCrop.call(this,a)};f.setSmartCropNoClip=function(a){a&&JJ(this);return IJ.superClass_.setSmartCropNoClip.call(this,a)};f.setSmartCropUseFace=function(a){a&&JJ(this);return IJ.superClass_.setSmartCropUseFace.call(this,a)};f.setCenterCrop=function(a){a&&JJ(this);return IJ.superClass_.setCenterCrop.call(this,a)};f.setPad=function(a){a&&JJ(this);return IJ.superClass_.setPad.call(this,a)};
f.setWidth=function(a){a=null==a||0>a?void 0:a;null!=a&&this.setSize();return IJ.superClass_.setWidth.call(this,a)};var JJ=function(a){a.setCenterCrop();a.setCircleCrop();a.setCrop();a.setImageCrop();a.setPad();a.setSmartCrop();a.setSmartCropNoClip();a.setSmartCropUseFace()};
IJ.prototype.build=function(){var a=this.getParsedOptions().valueProto_;ar(a,18)||ar(a,45)?a.getSize()||this.setSize(0):(a=this.getParsedOptions().valueProto_,a.getSize()||a.getWidth()||a.getHeight()||(this.setSize(),this.setHeight(),this.setWidth(),JJ(this)));return IJ.superClass_.build.call(this)};var Lkc=/^[^\/]*\/\//,KJ=function(a,b){b=void 0===b?!1:b;this.original_=a;this.originalPrefix_="";(a=this.original_.match(Lkc))&&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_=wC(a,!0);this.isFreeformUrl_=b;this.valid_=!0;this.obfuscated_=!1},Mkc=function(a,b){a.pathPrefix_=a.pathPrefix_?a.pathPrefix_+("/"+b):b},LJ=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]&&(Mkc(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)Mkc(a,
a.components_[0]);else if("image"==a.components_[0])Mkc(a,a.components_[0]);else if(7==b||3==b)return a.valid_=!1,a.components_;if(3>=b){a.obfuscated_=!0;3==b&&(Mkc(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_};KJ.prototype.isValid=function(){LJ(this);return this.valid_};var Nkc=function(a){LJ(a);return a.obfuscated_},Okc=function(a){LJ(a);return a.isFreeformUrl_};
KJ.prototype.getDomain=function(){var a=this.uri_.getPort();return this.uri_.getDomain()+(a?":"+a:"")};KJ.prototype.getQuery=function(){return this.uri_.queryData_.toString()};var MJ=function(a){LJ(a);void 0==a.pathPrefix_&&(a.pathPrefix_=null);return a.pathPrefix_};KJ.prototype.hasOptions=function(){switch(LJ(this).length){case 7:return!0;case 6:return null==MJ(this);case 5:return!1;case 3:return!0;case 2:return null==MJ(this);case 1:return!1;default:return!1}};
var NJ=function(a,b){if(Okc(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=LJ(a)[b]}else if(Nkc(a))a:{var c=null!=MJ(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=LJ(a)[b]}else a:{c=null!=MJ(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=LJ(a)[b]}return a};f=KJ.prototype;f.getOriginal=function(){return this.original_};f.getObfuscatedGaiaId=function(){void 0==this.obfuscatedGaiaId_&&(this.obfuscatedGaiaId_=NJ(this,0));return this.obfuscatedGaiaId_};f.getPhotoId=function(){void 0==this.photoId_&&(this.photoId_=NJ(this,1));return this.photoId_};f.getImageVersion=function(){void 0==this.imageVersion_&&(this.imageVersion_=NJ(this,2));return this.imageVersion_};
f.getOptions=function(){void 0==this.options_&&(this.options_=NJ(this,4));return this.options_};f.getFilename=function(){void 0==this.filename_&&(this.filename_=NJ(this,5));return this.filename_};var Pkc=function(){};Pkc.prototype.parse=function(a,b){return new Qkc(a,void 0===b?!1:b)};var Qkc=function(a,b){KJ.call(this,a,void 0===b?!1:b)};U(Qkc,KJ);Qkc.prototype.getParsedOptions=function(){if(void 0==this.parsedOptions_){var a=this.getOptions();a||(a="");this.parsedOptions_=(new Bkc).parse(a)}return this.parsedOptions_};var OJ=function(a,b){b=void 0===b?!1:b;this.parsedImageUrl_=null;a instanceof Qkc||(void 0==Rkc&&(Rkc=new Pkc),a=Rkc.parse(a.toString(),b));this.parsedImageUrl_=a;a=this.parsedImageUrl_.getParsedOptions();Ikc.call(this,a);this.protocolPrefix_=this.parsedImageUrl_.originalPrefix_;this.domain_=this.parsedImageUrl_.getDomain();this.query_=this.parsedImageUrl_.getQuery()},Rkc;ts(OJ,IJ);OJ.prototype.isValid=function(){return this.parsedImageUrl_.isValid()};
OJ.prototype.build=function(){if(!this.parsedImageUrl_.isValid())return this.parsedImageUrl_.getOriginal();var a=OJ.superClass_.build.call(this),b=[];null!=MJ(this.parsedImageUrl_)&&b.push(MJ(this.parsedImageUrl_));var c=Okc(this.parsedImageUrl_);if(Nkc(this.parsedImageUrl_)){var d=this.parsedImageUrl_;void 0==d.obfuscatedData_&&(d.obfuscatedData_=NJ(d,6));b.push(d.obfuscatedData_+(a?"="+a:""))}else if(c){d=b.push;var e=this.parsedImageUrl_;void 0===e.freeformUrlPath_&&(e.freeformUrlPath_=NJ(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_=NJ(e,3)),d.call(b,e.signature_),a&&b.push(a),b.push(this.parsedImageUrl_.getFilename());a=c?b.join("="):b.join("/");a=wC(this.protocolPrefix_+this.domain_+"/"+a+(this.query_?"?"+this.query_:"")).toString();a.startsWith("%3a//")&&(a=a.replace("%3a//",
"://"));return a};var Skc=[[["onedev-hovercard-action"]],[["","onedev-additional-content",""]]],PJ=function(a,b){var c=this;this.peopleService=a;this.waldoService=b;this.enableWaldo=!1;this.providedEmail$=new E.ReplaySubject(1);this.person$=this.providedEmail$.pipe(Se(function(d){return tkc(c.peopleService,d)}),D(function(d){if(d){var e=Object,g=e.assign;if(d.imageUrl){var h=d.imageUrl;var l=new OJ(h);l.setSize(48);h=l.build()||h}else h=d.imageUrl;d=g.call(e,{},d,{imageUrl:h})}return d}),Pe(1));this.outOfOfficeDescription$=
new E.ReplaySubject;this.init=new E.ReplaySubject(1);this.destroyed$=new E.ReplaySubject(1)};PJ.prototype.ngOnInit=function(){var a=this;this.person$.pipe(Ge(),Te(this.destroyed$)).subscribe(function(){a.init.next()});this.enableWaldo&&Tkc(this)};var Tkc=function(a){a.waldoService&&a.person$.pipe(Se(function(b){return b?Khc(a.waldoService,b.email):(0,E.of)("")}),Te(a.destroyed$)).subscribe(function(b){a.outOfOfficeDescription$.next(b)})};
hh.Object.defineProperties(PJ.prototype,{email:{configurable:!0,enumerable:!0,get:function(){return this.emailInternal},set:function(a){this.emailInternal=a;this.providedEmail$.next(a)}}});PJ.\u0275fac=function(a){return new (a||PJ)(C(BJ),C(hI,8))};
PJ.\u0275cmp=Gc({type:PJ,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&&(xf(Skc),Q(0,GBa,4,4,"onedev-person-hovercard-body",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.person$))},dependencies:[ew,xJ,kw],encapsulation:2,changeDetection:0});var Ukc=[[["onedev-hovercard-action"],["",8,"actions"]]],QJ=function(){};QJ.prototype.ngOnInit=function(){};QJ.\u0275fac=function(a){return new (a||QJ)};
QJ.\u0275cmp=Gc({type:QJ,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&&(xf(Ukc),Q(0,HBa,3,3,"onedev-person-hovercard",0))},dependencies:[PJ,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 RJ=function(){this.isNonObfuscatedEmail=en};RJ.\u0275fac=function(a){return new (a||RJ)};
RJ.\u0275cmp=Gc({type:RJ,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&&(xf(),Q(0,JBa,6,4,"ng-container",0),Q(1,KBa,1,0,"ng-template",null,1,Zf));if(a&2){var c=Cf(2);F("ngIf",!!b.email&&b.isNonObfuscatedEmail(b.email))("ngIfElse",c)}},dependencies:[ew,
jw,qJ,vJ,QJ],encapsulation:2,changeDetection:0});var SJ=function(a){this.window=a};SJ.prototype.openInNewTab=function(a){a=Jg(a);Tpa(this.window,a,"_blank")};var Hn=function(a,b){b=Jg(b);Tpa(a.window,b)},Vkc=function(a,b){a=a.window.location;b=Jg(b);b=ona(b);void 0!==b&&(a.href=b)};SJ.\u0275fac=function(a){return new (a||SJ)(u(VD))};SJ.\u0275prov=qc({token:SJ,factory:SJ.\u0275fac,providedIn:"root"});var TJ=function(){this.onAction=new Gv;this.disabled=!1};TJ.prototype.handleClick=function(){this.onAction.emit()};TJ.\u0275fac=function(a){return new (a||TJ)};
TJ.\u0275cmp=Gc({type:TJ,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&&(xf(),G(0,"button",0),M("click",function(){return b.handleClick()}),yf(1),H());a&2&&F("disabled",b.disabled)},dependencies:[Jz],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 UJ=function(a,b,c){WD.call(this);this.domSafe=a;this.cdr=b;this.actionService=c;this.currentAssignee="";this.currentCc=[];this.ccActionDisabled=this.assigneeActionDisabled=!1};U(UJ,WD);UJ.\u0275dir=WD.\u0275dir;
UJ.prototype.ngOnInit=function(){var a=this;if(this.actionService){var b;null==(b=this.actionService)||b.assignee$.pipe(Te(this.destroyed$)).subscribe(function(d){a.currentAssignee=d;a.cdr.detectChanges()});var c;null==(c=this.actionService)||c.cc$.pipe(Te(this.destroyed$)).subscribe(function(d){a.currentCc=d;a.cdr.detectChanges()})}};
var LBa=function(a){if(a.actionService&&!a.assigneeActionDisabled){a.assigneeActionDisabled=!0;var b=a.email===a.currentAssignee?"remove_user":"set_user";Om(Jn.PERSON_CARD,"assigneeAction",b);Sjc(a.actionService,{email:a.email,action:b}).finally(function(){a.assigneeActionDisabled=!1})}},MBa=function(a){if(a.actionService&&!a.ccActionDisabled){a.ccActionDisabled=!0;var b=a.currentCc.includes(a.email)?"remove_user":"set_user";Om(Jn.PERSON_CARD,"ccAction",b);Tjc(a.actionService,{email:a.email,action:b}).finally(function(){a.ccActionDisabled=
!1})}};UJ.\u0275fac=function(a){return new (a||UJ)(C(SJ),C(cH,2),C(nJ,8))};
UJ.\u0275cmp=Gc({type:UJ,selectors:[["b-issue-person-card"]],inputs:{email:"email"},features:[Gf([cH]),bf],decls:6,vars:4,consts:[[3,"email"],["class","actions",4,"ngIf"],[3,"click"],[1,"actions"],[3,"disabled","onAction"]],template:function(a,b){a&1&&(G(0,"b-person-card",0),Q(1,NBa,9,8,"ng-container",1),S(2,"async"),G(3,"onedev-hovercard-action",2),M("click",function(c){Om(Jn.PERSON_CARD,"showAssignedIssuesAction");var d=Yl({q:"assignee:"+b.email+" status:open"});c.ctrlKey||c.metaKey?b.domSafe.openInNewTab(d):
Vkc(b.domSafe,d)}),G(4,"span"),R(5,"Show assigned issues"),H()()());a&2&&(F("email",b.email),z(1),F("ngIf",b.actionService&&T(2,2,b.actionService.editAccess$)))},dependencies:[ew,TJ,QJ,kw],encapsulation:2,changeDetection:0});var VJ=function(a,b){var c=this;this.session=a;this.userProfiles=b;this.hovercardEnabled=this.availabilityChipEnabled=!0;this.hovercardFocusEnabled=!1;this.email$=new E.ReplaySubject(1);this.showEmail$=new E.BehaviorSubject(!1);this.isNonObfuscatedEmail=en;this.userProfile$=this.email$.pipe(Se(function(d){return c.userProfiles.get(d)})).pipe(Re(void 0));this.content$=(0,E.combineLatest)([this.email$,this.userProfile$,this.showEmail$]).pipe(D(function(d){var e=k(d);d=e.next().value;var g=e.next().value;
e=e.next().value;return(g=null==g?void 0:g.displayName)?e?d+" ("+g+")":g:d}));this.vars$=(0,E.combineLatest)([this.email$,this.content$]).pipe(D(function(d){var e=k(d);d=e.next().value;e=e.next().value;return{email:d,content:e}}));this.enableWaldoAvailability=UD(this.session,"enableWaldoAvailability")&&this.session.isInternalSession()};hh.Object.defineProperties(VJ.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)}}});
VJ.\u0275fac=function(a){return new (a||VJ)(C(gs),C(ZH))};
VJ.\u0275cmp=Gc({type:VJ,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&&(Q(0,SBa,4,2,"ng-container",
0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.vars$))},dependencies:[ew,jw,jI,UJ,qJ,vJ,kw],encapsulation:2,changeDetection:0});var VBa={"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 WJ=function(a,b){var c=this;this.userProfiles=a;this.activeSession=b;this.email$=new E.ReplaySubject(1);this.isNonObfuscatedEmail=en;this.userProfile$=this.email$.pipe(Se(function(d){return d?c.userProfiles.get(d).pipe(Re(void 0)):(0,E.of)(void 0)}));this.vars$=(0,E.combineLatest)([this.email$,this.userProfile$]).pipe(D(function(d){var e=k(d);d=e.next().value;e=e.next().value;if(!e)return{email:d,showImage:!1,src:void 0,srcset:void 0};var g=!e.photoUrl,h=g?void 0:e.photoUrl,l;g?l=void 0:l=e.highResolutionPhotoUrl?
e.highResolutionPhotoUrl+" 2x":e.photoUrl+" 1x";return{email:d,showImage:!g,src:h,srcset:l}}))},ZBa=function(a,b){return!b||a.activeSession.isExternalSession()?!1:void 0!==VBa[b]};hh.Object.defineProperties(WJ.prototype,{email:{configurable:!0,enumerable:!0,set:function(a){en(a)?this.email$.next(a):this.email$.next(void 0)}}});WJ.\u0275fac=function(a){return new (a||WJ)(C(ZH),C(gs))};
WJ.\u0275cmp=Gc({type:WJ,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&&(Q(0,aCa,4,2,"ng-container",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.vars$))},dependencies:[ew,jw,UJ,qJ,vJ,kw],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 XJ=function(){this.onlyTitle=this.disableDismiss=!1;this.onDismiss=new Gv;this.STATUS_TERSE=EE;this.STATUS_FULL_TEXT=IE};XJ.prototype.convertIssueStatusStrToTag=function(a){return jj[a]};XJ.\u0275fac=function(a){return new (a||XJ)};
XJ.\u0275cmp=Gc({type:XJ,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&&Q(0,nCa,8,7,"ng-container",0);a&2&&F("ngIf",b.issue)},dependencies:[ew,uA,WJ,VJ,WH,Jz,LB,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 Wkc={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"}}},Xkc=Wkc;Xkc=Wkc;var Ykc={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 Zkc={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"},YJ=Zkc;YJ=Zkc;var ZJ=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_=YJ.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)};
ZJ.prototype.applyPattern_=function(a){this.pattern_=a.replace(/ /g,"\u00a0");var b=[0];this.positivePrefix_=$kc(this,a,b);for(var c=b[0],d=-1,e=0,g=0,h=0,l=-1,q=a.length,x=!0;b[0]<q&&x;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("Zc`"+a);g++;0<=l&&0>d&&l++;break;case ",":0<l&&this.groupingArray_.push(l);l=0;break;case ".":if(0<=d)throw Error("$c`"+a);d=e+g+h;break;case "E":if(this.useExponentialNotation_)throw Error("ad`"+a);this.useExponentialNotation_=
!0;this.minExponentDigits_=0;b[0]+1<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("bd`"+a);x=!1;break;default:b[0]--,x=!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("cd`"+a);h=e+g+h;this.maximumFractionDigits_=0<=d?h-d:0;0<=d&&(this.minimumFractionDigits_=e+g-d,0>this.minimumFractionDigits_&&(this.minimumFractionDigits_=
0));this.minimumIntegerDigits_=(0<=d?d:h)-e;this.useExponentialNotation_&&(this.maximumIntegerDigits_=e+this.minimumIntegerDigits_,0==this.maximumFractionDigits_&&0==this.minimumIntegerDigits_&&(this.minimumIntegerDigits_=1));this.groupingArray_.push(Math.max(0,l));this.decimalSeparatorAlwaysShown_=0==d||d==h;c=b[0]-c;this.positiveSuffix_=$kc(this,a,b);b[0]<a.length&&";"==a.charAt(b[0])?(b[0]++,1!=this.multiplier_&&(this.negativePercentSignExpected_=!0),this.negativePrefix_=$kc(this,a,b),b[0]+=c,
this.negativeSuffix_=$kc(this,a,b)):(this.negativePrefix_+=this.positivePrefix_,this.negativeSuffix_+=this.positiveSuffix_)};
ZJ.prototype.applyStandardPattern_=function(a){switch(a){case 1:this.applyPattern_(YJ.DECIMAL_PATTERN);break;case 2:this.applyPattern_(YJ.SCIENTIFIC_PATTERN);break;case 3:this.applyPattern_(YJ.PERCENT_PATTERN);break;case 4:a=this.applyPattern_;var b=YJ.CURRENCY_PATTERN;var c=["0"],d=Ykc[YJ.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:alc(this,1);break;case 6:alc(this,2);break;default:throw Error("Tc");
}};var alc=function(a,b){a.compactStyle_=b;a.applyPattern_(YJ.DECIMAL_PATTERN);a.minimumFractionDigits_=0;a.maximumFractionDigits_=2;if(0<a.minimumFractionDigits_)throw Error("Rc");a.significantDigits_=2};
ZJ.prototype.parse=function(a,b){b=b||[0];if(0!==this.compactStyle_)throw Error("Uc");a=a.replace(/ |\u202f/g,"\u00a0");var c=a.indexOf(this.positivePrefix_,b[0])==b[0],d=a.indexOf(this.negativePrefix_,b[0])==b[0];c&&d&&(this.positivePrefix_.length>this.negativePrefix_.length?d=!1:this.positivePrefix_.length<this.negativePrefix_.length&&(c=!1));c?b[0]+=this.positivePrefix_.length:d&&(b[0]+=this.negativePrefix_.length);if(a.indexOf(YJ.INFINITY,b[0])==b[0]){b[0]+=YJ.INFINITY.length;var e=Infinity}else{e=
a;var g=!1,h=!1,l=!1,q=-1,x=1,A=YJ.DECIMAL_SEP,B=YJ.GROUP_SEP,K=YJ.EXP_SYMBOL;if(0!=this.compactStyle_)throw Error("Vc");B=B.replace(/\u202f/g,"\u00a0");for(var N="";b[0]<e.length;b[0]++){var P=e.charAt(b[0]),Y=blc(P);if(0<=Y&&9>=Y)N+=Y,l=!0;else if(P==A.charAt(0)){if(g||h)break;N+=".";g=!0}else if(P==B.charAt(0)&&("\u00a0"!=B.charAt(0)||b[0]+1<e.length&&0<=blc(e.charAt(b[0]+1)))){if(g||h)break}else if(P==K.charAt(0)){if(h)break;N+="E";h=!0;q=b[0]}else if("+"==P||"-"==P){if(l&&q!=b[0]-1)break;N+=
P}else if(1==this.multiplier_&&P==YJ.PERCENT.charAt(0)){if(1!=x)break;x=100;if(l){b[0]++;break}}else if(1==this.multiplier_&&P==YJ.PERMILL.charAt(0)){if(1!=x)break;x=1E3;if(l){b[0]++;break}}else break}1!=this.multiplier_&&(x=this.multiplier_);e=parseFloat(N)/x}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};
ZJ.prototype.format=function(a){if(this.minimumFractionDigits_>this.maximumFractionDigits_)throw Error("Wc");if(isNaN(a))return YJ.NAN;var b=[];var c=a;if(0==this.compactStyle_)c=clc;else{c=Math.abs(c);var d=dlc(this,1>=c?0:elc(c)).divisorBase;c=dlc(this,d+elc(flc(this,$J(c,-d)).intValue))}a=$J(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)glc(this,e,this.minimumIntegerDigits_,b),hlc(this,0,b);else{var g=Math.floor(Math.log(e)/Math.log(10)+2E-15);e=$J(e,-g);var h=this.minimumIntegerDigits_;1<this.maximumIntegerDigits_&&this.maximumIntegerDigits_>this.minimumIntegerDigits_?(h=g%this.maximumIntegerDigits_,0>h&&(h=this.maximumIntegerDigits_+h),e=$J(e,h),g-=h,h=1):1>this.minimumIntegerDigits_?(g++,e=$J(e,-1)):(g-=this.minimumIntegerDigits_-1,e=$J(e,this.minimumIntegerDigits_-
1));glc(this,e,h,b);hlc(this,g,b)}}else glc(this,a,this.minimumIntegerDigits_,b);else b.push(YJ.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 flc=function(a,b){var c=$J(b,a.maximumFractionDigits_);0<a.significantDigits_&&(c=ilc(c,a.significantDigits_,a.maximumFractionDigits_));c=Math.round(c);isFinite(c)?(b=Math.floor($J(c,-a.maximumFractionDigits_)),a=Math.floor(c-$J(b,a.maximumFractionDigits_))):a=0;return{intValue:b,fracValue:a}},glc=function(a,b,c,d){if(a.minimumFractionDigits_>a.maximumFractionDigits_)throw Error("Wc");d||(d=[]);b=flc(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($J(q,-1));l=q+l;var x=YJ.DECIMAL_SEP;q=YJ.ZERO_DIGIT.charCodeAt(0);var A=l.length,B=0;if(0<e||0<c){for(e=A;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=A-B;if(0<c){e=a.groupingArray_;B=A=0;for(var K,N=YJ.GROUP_SEP,P=l.length,Y=0;Y<P;Y++)if(d.push(String.fromCharCode(q+Number(l.charAt(Y)))),1<P-Y)if(K=e[B],Y<c){var X=c-Y;(1===K||0<K&&1===
X%K)&&d.push(N)}else B<e.length&&(Y===c?B+=1:K===Y-c-A+1&&(d.push(N),A+=K,B+=1))}else{c=l;l=a.groupingArray_;e=YJ.GROUP_SEP;K=c.length;N=[];for(A=l.length-1;0<=A&&0<K;A--){B=l[A];for(P=0;P<B&&0<=K-P-1;P++)N.push(String.fromCharCode(q+Number(c.charAt(K-P-1))));K-=B;0<K&&N.push(e)}d.push.apply(d,N.reverse())}}else h||d.push(String.fromCharCode(q));(a.decimalSeparatorAlwaysShown_||h)&&d.push(x);g=String(g);h=g.split("e+");2==h.length&&(g=String(ilc(parseFloat(h[0]),a.significantDigits_,1)),g=g.replace(".",
""),g+=qRb("0",parseInt(h[1],10)-g.length+1));a.maximumFractionDigits_+1>g.length&&(g="1"+qRb("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))))},hlc=function(a,b,c){c.push(YJ.EXP_SYMBOL);0>b?(b=-b,c.push(YJ.MINUS_SIGN)):a.useSignForPositiveExponent_&&c.push(YJ.PLUS_SIGN);b=""+b;for(var d=YJ.ZERO_DIGIT,e=b.length;e<a.minExponentDigits_;e++)c.push(d);c.push(b)},blc=function(a){a=a.charCodeAt(0);
if(48<=a&&58>a)return a-48;var b=YJ.ZERO_DIGIT.charCodeAt(0);return b<=a&&a<b+10?a-b:-1},$kc=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+=YJ.DEF_CURRENCY_CODE):(h=YJ.DEF_CURRENCY_CODE,d+=h in Ykc?Ykc[h][1]:h);break;case "%":if(!a.negativePercentSignExpected_&&
1!=a.multiplier_)throw Error("Xc");if(a.negativePercentSignExpected_&&100!=a.multiplier_)throw Error("Yc");a.multiplier_=100;a.negativePercentSignExpected_=!1;d+=YJ.PERCENT;break;case "\u2030":if(!a.negativePercentSignExpected_&&1!=a.multiplier_)throw Error("Xc");if(a.negativePercentSignExpected_&&1E3!=a.multiplier_)throw Error("Yc");a.multiplier_=1E3;a.negativePercentSignExpected_=!1;d+=YJ.PERMILL;break;default:d+=h}}return d},clc={divisorBase:0,negative_prefix:"",negative_suffix:"",prefix:"",suffix:""},
dlc=function(a,b){a=1==a.compactStyle_?Xkc.COMPACT_DECIMAL_SHORT_PATTERN:Xkc.COMPACT_DECIMAL_LONG_PATTERN;null==a&&(a=Xkc.COMPACT_DECIMAL_SHORT_PATTERN);if(3>b)return clc;b=Math.min(14,b);var c=a[$J(1,b)];for(--b;!c&&3<=b;)c=a[$J(1,b)],b--;if(!c)return clc;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]}:clc:clc},elc=function(a){if(!isFinite(a))return 0<a?a:0;for(var b=0;1<=(a/=10);)b++;return b},$J=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))},jlc=function(a,b){return a&&isFinite(a)?$J(Math.round($J(a,b)),-b):a},ilc=function(a,b,c){if(!a)return a;b=b-elc(a)-1;return b<-c?jlc(a,-c):jlc(a,b)};var klc=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"},llc=klc;llc=klc;var mlc=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"},nlc=mlc;nlc=mlc;var rlc=function(a){this.pattern_=a;this.parsedPattern_=this.literals_=this.initialLiterals_=null;a=YJ;var b=Xkc;if(olc!==a||plc!==b)olc=a,plc=b,qlc=new ZJ(1);this.numberFormatter_=qlc},olc=null,plc=null,qlc=null,slc=RegExp("'([{}#].*?)'","g"),tlc=RegExp("''","g");rlc.prototype.format=function(a){return this.format_(a,!1)};
rlc.prototype.format_=function(a,b){if(this.pattern_){this.initialLiterals_=[];var c=ulc(this,this.pattern_);this.parsedPattern_=vlc(this,c);this.pattern_=null}if(!this.parsedPattern_||0==this.parsedPattern_.length)return"";this.literals_=ta(this.initialLiterals_);c=[];wlc(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 wlc=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,x=c[h];void 0===x?q.push("Undefined parameter - "+h):(l.literals_.push(x),q.push(l.buildPlaceholder_(l.literals_)));break;case 2:h=b[g].value;l=a;q=c;x=d;var A=e,B=h.argumentIndex;void 0===q[B]?A.push("Undefined parameter - "+B):(B=h[q[B]],void 0===B&&(B=h.other),wlc(l,B,q,x,A));break;case 0:h=b[g].value;xlc(a,h,c,nlc,d,e);break;case 1:h=b[g].value,xlc(a,h,c,llc,
d,e)}},xlc=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=[],wlc(a,h,c,e,b),c=b.join(""),e?g.push(c):(a=a.numberFormatter_.format(l),g.push(c.replace(/#/g,a))))},ulc=function(a,b){var c=a.initialLiterals_,d=rs(a.buildPlaceholder_,a);b=b.replace(tlc,function(){c.push("'");return d(c)});return b=b.replace(slc,function(e,g){c.push(g);return d(c)})},
ylc=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},zlc=/^\s*(\w+)\s*,\s*plural\s*,(?:\s*offset:(\d+))?/,Alc=/^\s*(\w+)\s*,\s*selectordinal\s*,/,Blc=/^\s*(\w+)\s*,\s*select\s*,/,vlc=function(a,b){var c=[];b=ylc(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(zlc.test(g)?0:Alc.test(g)?1:Blc.test(g)?2:/^\s*\w+\s*/.test(g)?3:5){case 2:e.type=2;e.value=Clc(a,b[d].value);break;case 0:e.type=0;e.value=Dlc(a,b[d].value);break;case 1:e.type=1;e.value=Elc(a,b[d].value);break;case 3:e.type=3,e.value=b[d].value}}c.push(e)}return c},Clc=function(a,b){var c="";b=b.replace(Blc,function(l,q){c=q;return""});var d={};d.argumentIndex=c;b=ylc(b);for(var e=0;e<
b.length;){var g=b[e].value;e++;var h;1==b[e].type&&(h=vlc(a,b[e].value));d[g.replace(/\s/g,"")]=h;e++}return d},Dlc=function(a,b){var c="",d=0;b=b.replace(zlc,function(q,x,A){c=x;A&&(d=parseInt(A,10));return""});var e={};e.argumentIndex=c;e.argumentOffset=d;b=ylc(b);for(var g=0;g<b.length;){var h=b[g].value;g++;var l;1==b[g].type&&(l=vlc(a,b[g].value));e[h.replace(/\s*(?:=)?(\w+)\s*/,"$1")]=l;g++}return e},Elc=function(a,b){var c="";b=b.replace(Alc,function(l,q){c=q;return""});var d={};d.argumentIndex=
c;d.argumentOffset=0;b=ylc(b);for(var e=0;e<b.length;){var g=b[e].value;e++;if(1==b[e].type)var h=vlc(a,b[e].value);d[g.replace(/\s*(?:=)?(\w+)\s*/,"$1")]=h;e++}return d};rlc.prototype.buildPlaceholder_=function(a){return"\ufddf_"+(a.length-1).toString(10)+"_"};var Glc=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=t_b(b),g=t_b(c),h=t_b(d);a=b*(c+d)?" ":"";var l=c*d?" ":"";b=Flc("{COUNT, plural, =0 {}=1 {{TEXT} day}other {{TEXT} days}}",b,e);c=Flc("{COUNT, plural, =0 {}=1 {{TEXT} hour}other {{TEXT} hours}}",c,g);d=Flc("{COUNT, plural, =0 {}=1 {{TEXT} minute}other {{TEXT} minutes}}",d,h);return b+a+c+l+d},Flc=function(a,b,c){return(new rlc(a)).format({COUNT:b,TEXT:c})};var aK=function(a,b){var c=this;this.userPreferencesManager=a;this.timeZonesApi=b;this.cachedFormatters=new DG(100,!0);this.userDatePrefs$=this.userPreferencesManager.dateTimePreferences$;this.userCalendarFormat$=this.userDatePrefs$.pipe(D(function(d){return d.calendarFormat||"MMM d, yyyy"}));this.userTimeFormat$=this.userDatePrefs$.pipe(D(function(d){return d.timeFormat||"hh:mma"}));this.userTimeZone$=this.userDatePrefs$.pipe(Se(function(d){return d.timeZone?c.timeZonesApi.get(d.timeZone):(0,E.of)(void 0)}))};
aK.prototype.format=function(a,b,c){var d=this.cachedFormatters.get(a);void 0===d&&(d=new pA(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,E.combineLatest)([this.userCalendarFormat$,this.userTimeZone$]).pipe(D(function(c){var d=k(c);c=d.next().value;d=d.next().value;return b.format(c,d,a)}))};
aK.prototype.formatUserTime=function(a){var b=this;return(0,E.combineLatest)([this.userTimeFormat$,this.userTimeZone$]).pipe(D(function(c){var d=k(c);c=d.next().value;d=d.next().value;return b.format(c,d,a)}))};
var Hlc=function(a,b){return(0,E.combineLatest)([a.userCalendarFormat$,a.userTimeFormat$,a.userTimeZone$]).pipe(D(function(c){var d=k(c);c=d.next().value;var e=d.next().value;d=d.next().value;return a.format(c+" "+e,d,b)}))},Ilc=function(a,b,c){return c?a.timeZonesApi.get(c).pipe(D(function(d){return a.format("yyyy-MM-dd HH:mm:ss Z",d,b)})):(0,E.of)(a.format("yyyy-MM-dd HH:mm:ss Z",void 0,b))},dLa=function(a,b){var c=void 0;c=void 0===c?0:c;b=void 0===b?!1:b;var d=new Jh;c&&d.setTime(c);c=new Jh;
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 oA("m",a)),e=Math.floor((c.getTime()-d.getTime())/864E5));d=new oA(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)(u(uI),u(sI))};aK.\u0275prov=qc({token:aK,factory:aK.\u0275fac,providedIn:"root"});var Jlc=[["year",31536E3],["month",2592E3],["week",604800],["day",86400],["hour",3600],["minute",60],["second",1]];var Klc,Llc,Mlc=[{name:"local",id:""},{name:"UTC",id:"UTC"},{name:"MTV",id:"America/Los_Angeles"}],Nlc=Symbol("dd"),Olc=Symbol("dd"),bK=function(a){var b=this;this.dateFormatter=a;this.paddingLeftPx=5;this.timestampMs$=new E.ReplaySubject(1);this.timestampIso$=this.timestampMs$.pipe(D(function(c){return c?(new Date(c)).toISOString():""}));this.timestampDate$=this.timestampMs$.pipe(D(function(c){if(void 0!==c)return new Date(c)}));this[Klc]=this.timestampDate$.pipe(Se(function(c){if(void 0===c)return(0,E.of)("");
switch(b.mode){case "date":return b.dateFormatter.formatUserCalendar(c);case "time":return b.dateFormatter.formatUserTime(c);case "datetime":return Hlc(b.dateFormatter,c);case "relativepast":c=c.getTime()/1E3;a:{var d=(new Date).getTime()/1E3;c=Math.floor(d-c);if(300>c)c="just now";else{d=k(Jlc);for(var e=d.next();!e.done;e=d.next()){var g=k(e.value);e=g.next().value;g=g.next().value;g=Math.floor(c/g);if(1===g){c=g+" "+e+" ago";break a}if(1<g){c=g+" "+e+"s ago";break a}}c=void 0}}return(0,E.of)(c);
default:return rh(b.mode)}}));this[Llc]=this.timestampDate$.pipe(Se(function(c){return void 0===c?(0,E.of)(""):(0,E.combineLatest)(Mlc.map(function(d){return Ilc(b.dateFormatter,c,d.id).pipe(D(function(e){return{formatted:e,tzName:d.name}}))})).pipe(Plc)}));this.vars$=(0,E.combineLatest)([this[Nlc],this[Olc]]).pipe(D(function(c){var d=k(c);c=d.next().value;d=d.next().value;return{formatted:c,title:d}}))};bK.prototype.ngOnInit=function(){};
hh.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 Ch?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())}}});Klc=Nlc;Llc=Olc;bK.\u0275fac=function(a){return new (a||bK)(C(aK))};
bK.\u0275cmp=Gc({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&&(Q(0,oCa,4,8,"ng-container",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.vars$))},dependencies:[ew,kw],encapsulation:2,changeDetection:0});
var Plc=(0,E.pipe)(D(function(a){var b=new Map;a=k(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=b.get(c.formatted);d?d.tzNames.push(c.tzName):(d={formatted:c.formatted,tzNames:[c.tzName]},b.set(c.formatted,d))}return Array.from(b.values()).map(function(e){return e.formatted+" ("+e.tzNames.join("/")+")"}).join("\n")}));var cK=function(){};cK.\u0275fac=function(a){return new (a||cK)};cK.\u0275cmp=Gc({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&&(xf(),Q(0,pCa,1,0,"div",0),Q(1,qCa,2,0,"ng-container",1));a&2&&(F("ngIf",!b.isReady),z(1),F("ngIf",b.isReady))},dependencies:[ew],encapsulation:2});var dK=function(){this.issue=null;this.isDataLoaded=!1};dK.prototype.ngOnChanges=function(){var a;this.assignee=kn(ei(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=Gc({type:dK,selectors:[["b-issue-assignee-cell"]],inputs:{issue:"issue"},features:[Zc],decls:4,vars:3,consts:[[3,"isReady"],[3,"email",4,"ngIf","ngIfElse"],["noData",""],[3,"email"]],template:function(a,b){a&1&&(G(0,"b-async-data-placeholder",0),Q(1,rCa,2,2,"b-person-hovercard",1),Q(2,sCa,1,0,"ng-template",null,2,Zf),H());if(a&2){var c=Cf(3);F("isReady",b.isDataLoaded);z(1);F("ngIf",b.assignee)("ngIfElse",c)}},dependencies:[cK,ew,RJ],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=Gc({type:eK,selectors:[["b-issue-created-time-cell"]],inputs:{issue:"issue",mode:"mode"},features:[Zc],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&&(G(0,"b-async-data-placeholder",0),Q(1,tCa,1,2,"b-formatted-date-time",1),H(),Q(2,uCa,1,0,"ng-template",null,2,Zf));if(a&2){var c=Cf(3);F("isReady",b.isDataLoaded);z(1);F("ngIf",b.createdTime)("ngIfElse",c)}},dependencies:[cK,ew,
bK],encapsulation:2,changeDetection:0});var fK=function(){this.issue=null;this.isDataLoaded=!1};fK.prototype.ngOnChanges=function(){var a;this.reporter=kn(ei(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=Gc({type:fK,selectors:[["b-issue-reporter-cell"]],inputs:{issue:"issue"},features:[Zc],decls:4,vars:3,consts:[[3,"isReady"],[3,"email",4,"ngIf","ngIfElse"],["noData",""],[3,"email"]],template:function(a,b){a&1&&(G(0,"b-async-data-placeholder",0),Q(1,vCa,2,2,"b-person-hovercard",1),Q(2,wCa,1,0,"ng-template",null,2,Zf),H());if(a&2){var c=Cf(3);F("isReady",b.isDataLoaded);z(1);F("ngIf",b.reporter)("ngIfElse",c)}},dependencies:[cK,ew,RJ],encapsulation:2,changeDetection:0});var gK=function(){this.STATUS_FULL_TEXT=IE;this.STATUS_TERSE=EE;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 jj[a]};gK.\u0275fac=function(a){return new (a||gK)};
gK.\u0275cmp=Gc({type:gK,selectors:[["b-issue-status-cell"]],inputs:{issue:"issue"},features:[Zc],decls:4,vars:3,consts:[[3,"isReady"],[3,"class","title",4,"ngIf","ngIfElse"],["noData",""],[3,"title"]],template:function(a,b){a&1&&(G(0,"b-async-data-placeholder",0),Q(1,xCa,2,5,"div",1),Q(2,yCa,1,0,"ng-template",null,2,Zf),H());if(a&2){var c=Cf(3);F("isReady",b.isDataLoaded);z(1);F("ngIf",b.convertIssueStatusStrToTag(b.status))("ngIfElse",c)}},dependencies:[cK,ew],encapsulation:2,changeDetection:0});var Qlc=0,hK=function(a,b){WD.call(this);var c=this;this.teamsService=b;this.anchorLinkEnabled=!0;this.teamNotAssignedMessage="No team assigned";this.linkFocused=new Gv;this.linkBlurred=new Gv;this.teamName=this.teamId;this.teamLogoUrl=this.teamDescription="";this.providedTeamId$=new E.ReplaySubject(1);this.teamLinkId="b-team-link-content-"+Qlc;this.fetchedTeam$=this.providedTeamId$.pipe(Fe(),ye(function(d){return"0"!==d}),Se(function(d){return AH(c.teamsService,d)}));this.isTeamFetched$=this.fetchedTeam$.pipe(D(function(){return!0}),
Re(!1));this.fetchedTeam$.pipe(Te(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});Qlc++};U(hK,WD);hK.\u0275dir=WD.\u0275dir;f=hK.prototype;f.ngOnInit=function(){};f.ngOnChanges=function(a){a.teamId&&this.providedTeamId$.next(this.teamId)};f.trackClick=function(a){Om(Jn.TEAM_CARD,"click",a,1)};f.manageComponentLink=function(){return owa(this.componentId,"basic")};
f.linkAriaLabelledBy=function(){if(this.labelledById)return this.labelledById+" "+this.teamLinkId};hK.\u0275fac=function(a){return new (a||hK)(C(gs),C(zH))};
hK.\u0275cmp=Gc({type:hK,selectors:[["b-team-card"]],inputs:{teamId:"teamId",componentId:"componentId",anchorLinkEnabled:"anchorLinkEnabled",teamNotAssignedMessage:"teamNotAssignedMessage",labelledById:"labelledById"},outputs:{linkFocused:"linkFocused",linkBlurred:"linkBlurred"},features:[bf,Zc],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&&(G(0,"div",0)(1,"div",1)(2,"div",2),I(3,"img",3),G(4,"div",4)(5,"div",5),I(6,"mat-icon",6),R(7),H(),G(8,"div",7),R(9),H()()(),G(10,"p",8),R(11),H(),G(12,"div",9)(13,"a",10),M("click",function(){return b.trackClick("viewTeamSettingsPage")}),G(14,"button",11),R(15,"View team settings"),H()(),G(16,"a",12),M("click",function(){return b.trackClick("viewTeamInMoma")}),G(17,"button",11),R(18,"View team in Moma "),I(19,"mat-icon",13),H()(),Q(20,zCa,3,1,"a",14),
H()()());a&2&&(z(3),gf("src",b.teamLogoUrl,Md),z(4),Df(" Team: ",b.teamName," "),z(2),Df("Team ID: ",b.teamId,""),z(2),Ef(b.teamDescription),z(2),zf("routerLink","/teams/",b.teamId,"/edit"),z(3),zf("href","https://moma.corp.google.com/team/",b.teamId,"",Md),z(4),F("ngIf",b.componentId))},dependencies:[ew,uA,pG,Jz],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 Rlc=0,iK=function(a){WD.call(this);var b=this;this.teamsService=a;this.anchorLinkEnabled=!0;this.teamNotAssignedMessage="No team assigned";this.providedTeamId$=new E.ReplaySubject(1);this.teamLinkId="b-team-link-content-"+Rlc;this.teamName=this.teamId;this.fetchedTeam$=this.providedTeamId$.pipe(Fe(),ye(function(c){return"0"!==c}),Se(function(c){return AH(b.teamsService,c)}));this.isTeamFetched$=this.fetchedTeam$.pipe(D(function(){return!0}),Re(!1));this.fetchedTeam$.pipe(Te(this.destroyed$)).subscribe(function(c){b.teamName=
c.name});Rlc++};U(iK,WD);iK.\u0275dir=WD.\u0275dir;iK.prototype.ngOnInit=function(){};iK.prototype.ngOnChanges=function(a){a.teamId&&this.providedTeamId$.next(this.teamId)};iK.prototype.trackClick=function(a){Om(Jn.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)(C(zH))};
iK.\u0275cmp=Gc({type:iK,selectors:[["b-team-display"]],inputs:{teamId:"teamId",componentId:"componentId",anchorLinkEnabled:"anchorLinkEnabled",teamNotAssignedMessage:"teamNotAssignedMessage",labelledById:"labelledById"},features:[bf,Zc],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&&(Q(0,CCa,3,2,"ng-container",0),S(1,"async"),G(2,"onedev-hovercard",null,1),J(4),I(5,"b-team-card",2),L(),H(),Q(6,FCa,2,2,"ng-template",null,3,Zf));if(a&2){var c=Cf(7);F("ngIf","0"!=b.teamId&&T(1,4,b.isTeamFetched$))("ngIfElse",c);z(5);F("componentId",
null==b.componentId?null:b.componentId.toString())("teamId",b.teamId.toString())}},dependencies:[ew,uA,qJ,vJ,hK,kw]});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=Gc({type:jK,selectors:[["b-issue-team-cell"]],inputs:{issue:"issue"},features:[Zc],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&&(G(0,"b-async-data-placeholder",0),Q(1,GCa,1,3,"b-team-display",1),Q(2,HCa,1,0,"ng-template",null,2,Zf),H());if(a&2){var c=Cf(3);F("isReady",b.isDataLoaded);
z(1);F("ngIf",b.teamId)("ngIfElse",c)}},dependencies:[cK,ew,iK],encapsulation:2,changeDetection:0});var Slc=js(["https://www.gstatic.com/buganizer/gfx/","/",""]),kK=js(["https://www.gstatic.com/buganizer/img/v2/",""]),Tlc=Gg(Slc,"2023-06-09-4f7d961a","all-icons.svg"),Ulc=Gg(kK,"empty_blocker_light.png"),Vlc=Gg(kK,"empty_blocker_dark.png"),Wlc=Gg(kK,"empty_child_light.png"),Xlc=Gg(kK,"empty_child_dark.png"),Ylc=Gg(kK,"robot_sleeping.png"),Zlc=Gg(kK,"tea_light.png"),$lc=Gg(kK,"tea_dark.png"),amc=Gg(kK,"space_empty_state.png");var lK=function(a,b,c,d){WD.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=UD(this.activeSession,"enableTrackersComponentPathTruncation");this.trackerId$=this.currentTrackerId.trackerId$;this.tracker$=this.trackerId$.pipe(Se(function(g){return""===g?(0,E.of)(void 0):e.trackerFridge.watch(g).pipe(Re(void 0))}));this.inTracker$=
this.tracker$.pipe(D(function(g){return!!g}));this.inTracker=!1;this.associatedTrackers$=this.tracker$.pipe(D(function(g){var h;return null!=(h=null==g?void 0:g.associatedTrackerIds)?h:[]}),Se(this.trackerFridge.watchSet));this.availableTrackers$=this.associatedTrackers$.pipe(Ve(this.tracker$),D(function(g){var h=k(g);g=h.next().value;return(h=h.next().value)?[h].concat(Vc(g)):[]}));this.trackerFridge.error$.pipe(Te(this.destroyed$)).subscribe(this.handleTrackerError);this.tracker$.pipe(Te(this.destroyed$)).subscribe(function(g){e.tracker=
g});this.inTracker$.pipe(Te(this.destroyed$)).subscribe(function(g){e.inTracker=g})};U(lK,WD);lK.\u0275dir=WD.\u0275dir;lK.prototype.getTrackerId=function(){return this.currentTrackerId.getTrackerId()};var bmc=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:cmc(a,b,!0,c.trackerId,d)):a=cmc(a,b,!1,"",d);return a},cmc=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},Kr=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)(u(XD),u(gs),u(IH),u(GF))};lK.\u0275prov=qc({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)(C(gs),C(lK))};
nK.\u0275cmp=Gc({type:nK,selectors:[["b-tracker-chip"]],inputs:{tracker:"tracker",compactMode:"compactMode",showHovercard:"showHovercard",isGlobalBuganizer:"isGlobalBuganizer"},features:[Zc],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&&Q(0,KCa,17,12,"ng-container",0);a&2&&F("ngIf",b.tracker||b.isGlobalBuganizer)},dependencies:[ew,qJ,vJ,Kz],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 E.BehaviorSubject("");this.tracker$=this.trackerId$.pipe(se(function(d){return Nl(d)?(0,E.of)(void 0):c.trackerFridge.watch(d)}));this.isCurrentTracker$=(0,E.combineLatest)([this.currentTracker.trackerId$,this.trackerId$]).pipe(D(function(d){var e=k(d);d=e.next().value;e=e.next().value;return Nl(d)?Nl(e):d===e}))};
oK.prototype.ngOnChanges=function(a){a.trackerId&&this.trackerId$.next(this.trackerId||"")};hh.Object.defineProperties(oK.prototype,{isGlobalBuganizer:{configurable:!0,enumerable:!0,get:function(){return Nl(this.trackerId)}}});oK.\u0275fac=function(a){return new (a||oK)(C(lK),C(IH))};
oK.\u0275cmp=Gc({type:oK,selectors:[["b-tracker-chip-smart"]],inputs:{trackerId:"trackerId",compactMode:"compactMode",showHovercard:"showHovercard"},features:[Zc],decls:2,vars:3,consts:[[3,"tracker","compactMode","showHovercard","isGlobalBuganizer",4,"ngIf"],[3,"tracker","compactMode","showHovercard","isGlobalBuganizer"]],template:function(a,b){a&1&&(Q(0,LCa,2,6,"b-tracker-chip",0),S(1,"async"));a&2&&F("ngIf",!1===T(1,1,b.isCurrentTracker$))},dependencies:[ew,nK,kw],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):Vl(a)};
pK.\u0275fac=function(a){return new (a||pK)};
pK.\u0275cmp=Gc({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:[Zc],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&&(G(0,"b-async-data-placeholder",0),I(1,"b-tracker-chip-smart",1),Q(2,MCa,5,3,"ng-container",2),Q(3,NCa,2,3,"ng-template",null,3,Zf),H());if(a&2){var c=Cf(4);F("isReady",b.isDataLoaded);z(1);F("trackerId",null==b.issue?null:b.issue.trackerId)("compactMode",!0);z(1);F("ngIf",b.useButtonToNavigate)("ngIfElse",
c)}},dependencies:[cK,ew,uA,Kz,pG,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=Gc({type:qK,selectors:[["b-issue-type-cell"]],inputs:{issue:"issue"},features:[Zc],decls:4,vars:3,consts:[[1,"nowrap",3,"isReady"],[4,"ngIf","ngIfElse"],["noData",""]],template:function(a,b){a&1&&(G(0,"b-async-data-placeholder",0),Q(1,OCa,3,3,"ng-container",1),Q(2,PCa,1,0,"ng-template",null,2,Zf),H());if(a&2){var c=Cf(3);F("isReady",b.isDataLoaded);z(1);F("ngIf",b.type)("ngIfElse",c)}},dependencies:[cK,ew,bJ],encapsulation:2,changeDetection:0});var dmc=["actionsMenuIconButton"],rK=function(){this.buttonLabel="";this.buttonIcon="more-settings-vertical"};rK.prototype.trackByIndex=function(a){return a};rK.prototype.onAction=function(a,b){return he(function(c){if("mouseup"===a.type&&a instanceof MouseEvent&&1!==a.button)return c.return();"action"!==b.type&&"select"!==b.type||b.action(a);me(c)})};rK.prototype.ngOnInit=function(){};rK.\u0275fac=function(a){return new (a||rK)};
rK.\u0275cmp=Gc({type:rK,selectors:[["b-actions-menu"]],viewQuery:function(a,b){a&1&&Uf(dmc,5);if(a&2){var c;Tf(c=Wf())&&(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&&(Q(0,QCa,3,4,"button",0),G(1,"mat-menu",null,1)(3,"div",2),Q(4,RCa,2,1,"div",3),Q(5,eDa,3,2,"ng-container",4),H()());a&2&&(F("ngIf",0<b.menuItems.length),z(4),F("ngIf",b.header),z(1),F("ngForOf",b.menuItems)("ngForTrackBy",b.trackByIndex))},dependencies:[DB,
BB,CB,cw,dw,ew,uA,Jz,LB],styles:["[_nghost-%COMP%]{display:inline-block}.mat-menu-item[_ngcontent-%COMP%]{align-items:center;display:flex}.mat-menu-item[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{margin-right:8px}.mat-menu-item[_ngcontent-%COMP%]   .hint[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted);margin-left:auto;padding-left:16px}  .b-actions-menu-panel .mat-menu-item[disabled]{pointer-events:auto}/*# sourceMappingURL=actions_menu.css.map */"],changeDetection:0});var sK=function(){};sK.prototype.onClick=function(a,b){emc(b)&&a.preventDefault()};var emc=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=Kc({type:sK,selectors:[["","selectionPreventsClick",""]],hostBindings:function(a,b){a&1&&M("click",function(c){return b.onClick(c,c.target)})}});var fmc=new Rc("CDK_DRAG_PARENT");var gmc=new Rc("CdkDragHandle"),tK=function(a,b){this.element=a;this._stateChanges=new E.Subject;this._disabled=!1;this._parentDrag=b};tK.prototype.ngOnDestroy=function(){this._stateChanges.complete()};hh.Object.defineProperties(tK.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=xg(a);this._stateChanges.next(this)}}});tK.\u0275fac=function(a){return new (a||tK)(C(vd),C(fmc,12))};
tK.\u0275dir=Kc({type:tK,selectors:[["","cdkDragHandle",""]],hostAttrs:[1,"cdk-drag-handle"],inputs:{disabled:["cdkDragHandleDisabled","disabled"]},standalone:!0,features:[Gf([{provide:gmc,useExisting:tK}])]});var hmc=new Rc("CdkDragPlaceholder");var imc=new Rc("CdkDragPreview"),uK=function(a){this.templateRef=a;this._matchSize=!1};hh.Object.defineProperties(uK.prototype,{matchSize:{configurable:!0,enumerable:!0,get:function(){return this._matchSize},set:function(a){this._matchSize=xg(a)}}});uK.\u0275fac=function(a){return new (a||uK)(C(Qf))};uK.\u0275dir=Kc({type:uK,selectors:[["ng-template","cdkDragPreview",""]],inputs:{data:"data",matchSize:"matchSize"},standalone:!0,features:[Gf([{provide:imc,useExisting:uK}])]});var jmc=new Rc("CDK_DRAG_CONFIG");var kmc=sg({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 E.Subject;this.pointerUp=new E.Subject;this.scroll=new E.Subject;this._preventDefaultWhileDragging=function(d){0<c._activeDragInstances.length&&d.preventDefault()};this._persistentTouchmoveListener=function(d){0<c._activeDragInstances.length&&
(c._activeDragInstances.some(c._draggingPredicate)&&d.preventDefault(),c.pointerMove.next(d))};this._document=b},lmc=function(a,b){a._dropInstances.has(b)||a._dropInstances.add(b)},mmc=function(a,b){a._dragInstances.add(b);1===a._dragInstances.size&&a._ngZone.runOutsideAngular(function(){a._document.addEventListener("touchmove",a._persistentTouchmoveListener,kmc)})},omc=function(a,b){a._dragInstances.delete(b);nmc(a,b);0===a._dragInstances.size&&a._document.removeEventListener("touchmove",a._persistentTouchmoveListener,
kmc)};
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:kmc}),a||this._globalListeners.set("mousemove",{handler:function(d){return c.pointerMove.next(d)},
options:kmc}),this._ngZone.runOutsideAngular(function(){c._globalListeners.forEach(function(d,e){c._document.addEventListener(e,d.handler,d.options)})})))};var nmc=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 E.Observable(function(d){return b._ngZone.runOutsideAngular(function(){var e=function(g){b._activeDragInstances.length&&d.next(g)};a.addEventListener("scroll",e,!0);return function(){a.removeEventListener("scroll",e,!0)}})}));return E.merge.apply(null,Vc(c))};
vK.prototype.ngOnDestroy=function(){var a=this;this._dragInstances.forEach(function(b){return omc(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)(u(We),u(fh))};
vK.\u0275prov=qc({token:vK,factory:vK.\u0275fac,providedIn:"root"});var mDa=0;var pmc=function(a){this._document=a;this.positions=new Map};pmc.prototype.clear=function(){this.positions.clear()};pmc.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:fDa(c)})})};
var qmc=function(a,b){var c=vg(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)&&nn(l.clientRect,g,h)});b.top=e;b.left=d;return{top:g,left:h}};pmc.prototype.getViewportScrollPosition=function(){return{top:window.scrollY,left:window.scrollX}};var rmc=sg({passive:!0}),smc=sg({passive:!1}),oDa=new Set(["position"]),vmc=function(a,b,c,d,e,g){var h=this;this._config=b;this._document=c;this._ngZone=d;this._viewportRuler=e;this._dragDropRegistry=g;this._passiveTransform={x:0,y:0};this._activeTransform={x:0,y:0};this._hasStartedDragging=!1;this._moveEvents=new E.Subject;this._resizeSubscription=this._scrollSubscription=this._pointerUpSubscription=this._pointerMoveSubscription=E.Subscription.EMPTY;this._boundaryElement=null;this._nativeInteractionsEnabled=
!0;this._handles=[];this._disabledHandles=new Set;this._direction="ltr";this.dragStartDelay=0;this._disabled=!1;this.beforeStarted=new E.Subject;this.started=new E.Subject;this.released=new E.Subject;this.ended=new E.Subject;this.entered=new E.Subject;this.exited=new E.Subject;this.dropped=new E.Subject;this.moved=this._moveEvents;this._pointerDown=function(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 x=h._getConstrainedPointerPosition(q);h._hasMoved=!0;h._lastKnownPointerPosition=q;h._updatePointerDirectionDelta(x);if(h._dropContainer)h._updateActiveDropContainer(x,q);else{q=h.constrainPosition?h._initialClientRect:h._pickupPositionOnPage;var A=h._activeTransform;A.x=x.x-q.x+h._passiveTransform.x;A.y=x.y-q.y+h._passiveTransform.y;
h._applyRootElementTransform(A.x,A.y)}h._moveEvents.observers.length&&h._ngZone.run(function(){h._moveEvents.next({source:h,pointerPosition:x,event:l,distance:h._getDragDistance(x),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),A=h._dropContainer,q)?A&&(A.isDragging()||0<A._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()};tmc(umc(this,a),b.parentDragRef||null);this._parentPositions=new pmc(c);mmc(g,this)};vmc.prototype.getPlaceholderElement=function(){return this._placeholder};
vmc.prototype.getRootElement=function(){return this._rootElement};
var wmc=function(a){return a.isDragging()?a.getPlaceholderElement():a.getRootElement()},xmc=function(a,b){a._handles=b.map(function(d){return zg(d)});a._handles.forEach(function(d){return on(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},umc=function(a,b){var c=zg(b);c!==a._rootElement&&(a._rootElement&&a._removeRootElementListeners(a._rootElement),a._ngZone.runOutsideAngular(function(){c.addEventListener("mousedown",
a._pointerDown,smc);c.addEventListener("touchstart",a._pointerDown,rmc);c.addEventListener("dragstart",a._nativeDragStart,smc)}),a._initialTransform=void 0,a._rootElement=c);"undefined"!==typeof SVGElement&&a._rootElement instanceof SVGElement&&(a._ownerSVGElement=a._rootElement.ownerSVGElement);return a},ymc=function(a,b){a._boundaryElement=b?zg(b):null;a._resizeSubscription.unsubscribe();b&&(a._resizeSubscription=a._viewportRuler.change(10).subscribe(function(){return a._containInsideBoundaryOnResize()}));
return a},tmc=function(a,b){a._parentDragRef=b};f=vmc.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();omc(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(),nmc(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();
nmc(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();nmc(this._dragDropRegistry,this)}};
f._startDragSequence=function(a){pn(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();pDa(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=pn(b),g=!e&&0!==b.button,h=this._rootElement,l=vg(b),q=!e&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now();e=e?Vma(b):Uma(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(x){return c._updateOnScroll(x)}),this._boundaryElement&&(this._boundaryRect=fDa(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;pDa(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=vDa(c,this._document);this._previewRef=c;a.matchSize?wDa(e,d):e.style.transform=uDa(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else e=lDa(this._rootElement),wDa(e,this._initialClientRect),this._initialTransform&&(e.style.transform=this._initialTransform);
nDa(e.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":""+(this._config.zIndex||1E3)},oDa);on(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=tDa(this._preview);return 0===c?Promise.resolve():this._ngZone.runOutsideAngular(function(){return new Promise(function(d){var e=function(h){if(!h||vg(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=vDa(this._placeholderRef,this._document)):a=lDa(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=pn(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=pn(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,on(this._rootElement,a))}};f._removeRootElementListeners=function(a){a.removeEventListener("mousedown",this._pointerDown,smc);a.removeEventListener("touchstart",this._pointerDown,rmc);a.removeEventListener("dragstart",this._nativeDragStart,smc)};
f._applyRootElementTransform=function(a,b){a=uDa(a,b);b=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=b.transform&&"none"!=b.transform?b.transform:"");b.transform=qDa(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=qDa(uDa(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:pn(a)?b.touch:b?b.mouse:0};
f._updateOnScroll=function(a){var b=qmc(this._parentPositions,a);b&&(a=vg(a),this._boundaryRect&&a!==this._boundaryElement&&a.contains(this._boundaryElement)&&nn(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=Pma(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):zg(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))})};hh.Object.defineProperties(vmc.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)},set:function(a){var b=xg(a);b!==this._disabled&&(this._disabled=b,this._toggleNativeDragInteractions(),this._handles.forEach(function(c){return on(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(P){return P.drag===a}),q=e[g],x=q.clientRect,A=l>g?1:-1,B=this._getItemOffsetPx(e[l].clientRect,x,A),K=this._getSiblingOffsetPx(l,e,A),N=e.slice();qn(e,l,g);e.forEach(function(P,Y){if(N[Y]!==P){var X=P.drag===a;Y=X?B:K;X=X?a.getPlaceholderElement():P.drag.getRootElement();P.offset+=Y;h?(X.style.transform=
qDa("translate3d("+Math.round(P.offset)+"px, 0, 0)",P.initialTransform),nn(P.clientRect,0,Y)):(X.style.transform=qDa("translate3d(0, "+Math.round(P.offset)+"px, 0)",P.initialTransform),nn(P.clientRect,Y,0))}});this._previousSwap.overlaps=gDa(x,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)):(zg(this._element).appendChild(h),e.push(a));h.style.transform="";this._cacheItemPositions()};
wK.prototype.withItems=function(a){this._activeDraggables=a.slice();this._cacheItemPositions()};var zmc=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 Amc=function(a,b,c){a._itemPositions.forEach(function(d){nn(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=wmc(b);return{drag:b,offset:0,initialTransform:c.style.transform||"",clientRect:fDa(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 x=g?d.x:d.y;if(q===e._previousSwap.drag&&e._previousSwap.overlaps&&x===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 Cmc=function(a,b,c,d,e){var g=this;this._dragDropRegistry=b;this._ngZone=d;this._viewportRuler=e;this.autoScrollDisabled=this.sortingDisabled=this.disabled=!1;this.autoScrollStep=2;this.enterPredicate=function(){return!0};this.sortPredicate=function(){return!0};this.beforeStarted=new E.Subject;this.entered=new E.Subject;this.exited=new E.Subject;this.dropped=new E.Subject;this.sorted=new E.Subject;this.receivingStarted=new E.Subject;this.receivingStopped=new E.Subject;this._isDragging=!1;this._draggables=
[];this._siblings=[];this._activeSiblings=new Set;this._viewportScrollSubscription=E.Subscription.EMPTY;this._horizontalScrollDirection=this._verticalScrollDirection=0;this._stopScrollTimers=new E.Subject;this._cachedShadowRoot=null;this._startScrollInterval=function(){g._stopScrolling();(0,E.interval)(0,E.animationFrameScheduler).pipe(Te(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=zg(a);this._document=c;Bmc(this,[this.element]);lmc(b,this);this._parentPositions=new pmc(c);this._sortStrategy=new wK(this.element,b);zmc(this._sortStrategy,function(h,l){return g.sortPredicate(h,l,g)})};f=Cmc.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 Dmc=function(a,b){a._sortStrategy.orientation=b},Bmc=function(a,b){var c=zg(a.element);a._scrollableElements=-1===b.indexOf(c)?[c].concat(Vc(b)):b.slice()};f=Cmc.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&&hDa(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,x){if(x!==c._document&&q.clientRect&&!l&&hDa(q.clientRect,a,b)){var A=q.clientRect;q=xDa(A,b);A=yDa(A,a);var B=0,K=0;if(q){var N=x.scrollTop;1===q?0<N&&(B=1):x.scrollHeight-N>x.clientHeight&&(B=2)}A&&(q=x.scrollLeft,1===A?0<q&&(K=1):x.scrollWidth-q>x.clientWidth&&(K=2));q=k([B,K]);d=q.next().value;e=q.next().value;if(d||e)l=x}});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=xDa(h,b);e=yDa(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=zg(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=zg(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=zg(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&&gDa(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||!gDa(this._clientRect,b,c)||!this.enterPredicate(a,this))return!1;a=this._getShadowRoot().elementFromPoint(b,c);if(!a)return!1;b=zg(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=qmc(a._parentPositions,b))&&Amc(a._sortStrategy,b.top,b.left):0<a._activeSiblings.size&&a._cacheParentPositions()})};f._getShadowRoot=function(){this._cachedShadowRoot||(this._cachedShadowRoot=Pma(zg(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 Emc={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?Emc:b;return new vmc(a,b,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)};xK.\u0275fac=function(a){return new (a||xK)(u(fh),u(We),u(My),u(vK))};xK.\u0275prov=qc({token:xK,factory:xK.\u0275fac,providedIn:"root"});var Fmc=new Rc("CdkDropList"),yK=function(a,b,c,d,e,g,h,l,q,x,A){var B=this;this.element=a;this.dropContainer=b;this._ngZone=d;this._viewContainerRef=e;this._dir=h;this._changeDetectorRef=q;this._selfHandle=x;this._parentDrag=A;this._destroyed=new E.Subject;this.started=new Gv;this.released=new Gv;this.ended=new Gv;this.entered=new Gv;this.exited=new Gv;this.dropped=new Gv;this.moved=new E.Observable(function(K){var N=B._dragRef.moved.pipe(D(function(P){return{source:B,pointerPosition:P.pointerPosition,
event:P.event,delta:P.delta,distance:P.distance}})).subscribe(K);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;Gmc.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(),Te(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=Gmc.indexOf(this);-1<b&&Gmc.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)}umc(this._dragRef,b||a)};
f._getBoundaryElement=function(){var a=this.boundaryElement;return a?"string"===typeof a?this.element.nativeElement.closest(a):zg(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:Ag(d);a.constrainPosition=b.constrainPosition;a.previewClass=b.previewClass;d=ymc(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;tmc(a,(null==(d=Gmc.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(Re(this._handles),Ue(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);xmc(a._dragRef,b)}),Se(function(b){return E.merge.apply(null,Vc(b.map(function(c){return c._stateChanges.pipe(Re(c))})))}),Te(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),on(d,!0)):c._disabledHandles.has(d)&&(c._disabledHandles.delete(d),on(d,c.disabled))})};hh.Object.defineProperties(yK.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled||this.dropContainer&&this.dropContainer.disabled},set:function(a){this._disabled=xg(a);this._dragRef.disabled=this._disabled}}});var Gmc=[];yK.\u0275fac=function(a){return new (a||yK)(C(vd),C(Fmc,12),C(fh),C(We),C(Rf),C(jmc,8),C(Cy,8),C(xK),C(Yv),C(gmc,10),C(fmc,12))};
yK.\u0275dir=Kc({type:yK,selectors:[["","cdkDrag",""]],contentQueries:function(a,b,c){a&1&&(Vf(c,imc,5),Vf(c,hmc,5),Vf(c,gmc,5));if(a&2){var d;Tf(d=Wf())&&(b._previewTemplate=d.first);Tf(d=Wf())&&(b._placeholderTemplate=d.first);Tf(d=Wf())&&(b._handles=d)}},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(a,b){a&2&&qf("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:[Gf([{provide:fmc,useExisting:yK}]),Zc]});var Hmc=new Rc("CdkDropListGroup"),zK=function(){this._items=new Set;this._disabled=!1};zK.prototype.ngOnDestroy=function(){this._items.clear()};hh.Object.defineProperties(zK.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=xg(a)}}});zK.\u0275fac=function(a){return new (a||zK)};
zK.\u0275dir=Kc({type:zK,selectors:[["","cdkDropListGroup",""]],inputs:{disabled:["cdkDropListGroupDisabled","disabled"]},exportAs:["cdkDropListGroup"],standalone:!0,features:[Gf([{provide:Hmc,useExisting:zK}])]});var Imc=0,AK=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 E.Subject;this.connectedTo=[];this.id="cdk-drop-list-"+Imc++;this.enterPredicate=function(){return!0};this.sortPredicate=function(){return!0};this.dropped=new Gv;this.entered=new Gv;this.exited=new Gv;this.sorted=new Gv;this._unsortedItems=new Set;this._dropListRef=new Cmc(a,b._dragDropRegistry,b._document,b._ngZone,b._viewportRuler);this._dropListRef.data=
this;h&&this._assignDefaults(h);this._dropListRef.enterPredicate=function(q,x){return l.enterPredicate(q.data,x.data)};this._dropListRef.sortPredicate=function(q,x,A){return l.sortPredicate(q,x.data,A.data)};this._setupInputSyncSubscription(this._dropListRef);this._handleEvents(this._dropListRef);Jmc.push(this);g&&g._items.add(this)};AK.prototype.addItem=function(a){this._unsortedItems.add(a);this._dropListRef.isDragging()&&this._syncItemsWithRef()};
AK.prototype.removeItem=function(a){this._unsortedItems.delete(a);this._dropListRef.isDragging()&&this._syncItemsWithRef()};var Kmc=function(a){return Array.from(a._unsortedItems).sort(function(b,c){return wmc(b._dragRef).compareDocumentPosition(wmc(c._dragRef))&Node.DOCUMENT_POSITION_FOLLOWING?-1:1})};f=AK.prototype;
f.ngOnDestroy=function(){var a=Jmc.indexOf(this);-1<a&&Jmc.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(Re(this._dir.value),Te(this._destroyed)).subscribe(function(c){return a.withDirection(c)});a.beforeStarted.subscribe(function(){var c=wg(b.connectedTo).map(function(e){return"string"===typeof e?Jmc.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=aYb(b._scrollDispatcher,b.element).map(function(e){return e.elementRef.nativeElement});
Bmc(b._dropListRef,d);b._scrollableParentsResolved=!0}a.disabled=b.disabled;a.lockAxis=b.lockAxis;a.sortingDisabled=xg(b.sortingDisabled);a.autoScrollDisabled=xg(b.autoScrollDisabled);a.autoScrollStep=Ag(b.autoScrollStep,2);Dmc(a.connectedTo(c.filter(function(e){return e&&e!==b}).map(function(e){return e._dropListRef})),b.orientation)})};
f._handleEvents=function(a){var b=this;a.beforeStarted.subscribe(function(){b._syncItemsWithRef();b._changeDetectorRef.markForCheck()});a.entered.subscribe(function(c){b.entered.emit({container:b,item:c.item.data,currentIndex:c.currentIndex})});a.exited.subscribe(function(c){b.exited.emit({container:b,item:c.item.data});b._changeDetectorRef.markForCheck()});a.sorted.subscribe(function(c){b.sorted.emit({previousIndex:c.previousIndex,currentIndex:c.currentIndex,container:b,item:c.item.data})});a.dropped.subscribe(function(c){b.dropped.emit({previousIndex:c.previousIndex,
currentIndex:c.currentIndex,previousContainer:c.previousContainer.data,container:c.container.data,item:c.item.data,isPointerOverContainer:c.isPointerOverContainer,distance:c.distance,dropPoint:c.dropPoint,event:c.event});b._changeDetectorRef.markForCheck()});(0,E.merge)(a.receivingStarted,a.receivingStopped).subscribe(function(){return b._changeDetectorRef.markForCheck()})};
f._assignDefaults=function(a){var b=a.lockAxis,c=a.draggingDisabled,d=a.sortingDisabled,e=a.listAutoScrollDisabled;a=a.listOrientation;this.disabled=null==c?!1:c;this.sortingDisabled=null==d?!1:d;this.autoScrollDisabled=null==e?!1:e;this.orientation=a||"vertical";b&&(this.lockAxis=b)};f._syncItemsWithRef=function(){this._dropListRef.withItems(Kmc(this).map(function(a){return a._dragRef}))};
hh.Object.defineProperties(AK.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled||!!this._group&&this._group.disabled},set:function(a){this._dropListRef.disabled=this._disabled=xg(a)}}});var Jmc=[];AK.\u0275fac=function(a){return new (a||AK)(C(vd),C(xK),C(Yv),C(Iy),C(Cy,8),C(Hmc,12),C(jmc,8))};
AK.\u0275dir=Kc({type:AK,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(a,b){a&2&&(gf("id",b.id),qf("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:[Gf([{provide:Hmc,useValue:void 0},{provide:Fmc,useExisting:AK}])]});var BK=function(){};BK.\u0275fac=function(a){return new (a||BK)};BK.\u0275mod=Ic({type:BK});BK.\u0275inj=rc({providers:[xK],imports:[Py]});var CK=new Rc("CDK_TABLE");new Rc("text-column-options");var DK=function(a){this.template=a};DK.\u0275fac=function(a){return new (a||DK)(C(Qf))};DK.\u0275dir=Kc({type:DK,selectors:[["","cdkCellDef",""]]});var EK=function(a){this.template=a};EK.\u0275fac=function(a){return new (a||EK)(C(Qf))};EK.\u0275dir=Kc({type:EK,selectors:[["","cdkHeaderCellDef",""]]});var Lmc=function(a){this.template=a};Lmc.\u0275fac=function(a){return new (a||Lmc)(C(Qf))};Lmc.\u0275dir=Kc({type:Lmc,selectors:[["","cdkFooterCellDef",""]]});
var Mmc=zDa(function(){}),FK=function(a){var b=Mmc.call(this)||this;b._table=a;b._stickyEnd=!1;return b};U(FK,Mmc);FK.prototype._updateColumnCssClassName=function(){this._columnCssClassName=["cdk-column-"+this.cssClassFriendlyName]};FK.prototype._setNameInput=function(a){a&&(this._name=a,this.cssClassFriendlyName=a.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())};
hh.Object.defineProperties(FK.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=xg(a);this._hasStickyChanged=b!==this._stickyEnd}}});FK.\u0275fac=function(a){return new (a||FK)(C(CK,8))};
FK.\u0275dir=Kc({type:FK,selectors:[["","cdkColumnDef",""]],contentQueries:function(a,b,c){a&1&&(Vf(c,DK,5),Vf(c,EK,5),Vf(c,Lmc,5));if(a&2){var d;Tf(d=Wf())&&(b.cell=d.first);Tf(d=Wf())&&(b.headerCell=d.first);Tf(d=Wf())&&(b.footerCell=d.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[Gf([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:FK}]),bf]});
var Nmc=function(a,b){b.nativeElement.classList.add.apply(b.nativeElement.classList,Vc(a._columnCssClassName))},GK=function(a,b){Nmc.call(this,a,b)};U(GK,Nmc);GK.\u0275fac=function(a){return new (a||GK)(C(FK),C(vd))};GK.\u0275dir=Kc({type:GK,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[bf]});
var HK=function(a,b){Nmc.call(this,a,b);var c;1===(null==(c=a._table)?void 0:c._elementRef.nativeElement.nodeType)&&(a=a._table._elementRef.nativeElement.getAttribute("role"),b.nativeElement.setAttribute("role","grid"===a||"treegrid"===a?"gridcell":"cell"))};U(HK,Nmc);HK.\u0275fac=function(a){return new (a||HK)(C(FK),C(vd))};HK.\u0275dir=Kc({type:HK,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[bf]});var Omc=function(){this.tasks=[];this.endTasks=[]},Pmc=new Rc("_COALESCED_STYLE_SCHEDULER"),IK=function(a){this._ngZone=a;this._currentSchedule=null;this._destroyed=new E.Subject};IK.prototype.schedule=function(a){this._createScheduleIfNeeded();this._currentSchedule.tasks.push(a)};IK.prototype.ngOnDestroy=function(){this._destroyed.next();this._destroyed.complete()};
IK.prototype._createScheduleIfNeeded=function(){var a=this;this._currentSchedule||(this._currentSchedule=new Omc,this._getScheduleObservable().pipe(Te(this._destroyed)).subscribe(function(){for(;a._currentSchedule.tasks.length||a._currentSchedule.endTasks.length;){var b=a._currentSchedule;a._currentSchedule=new Omc;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}))};
IK.prototype._getScheduleObservable=function(){return this._ngZone.isStable?(0,E.from)(Promise.resolve(void 0)):this._ngZone.onStable.pipe(Ge())};IK.\u0275fac=function(a){return new (a||IK)(u(We))};IK.\u0275prov=qc({token:IK,factory:IK.\u0275fac});var JK=function(a,b){this.template=a;this._differs=b};JK.prototype.ngOnChanges=function(a){this._columnsDiffer||(a=a.columns&&a.columns.currentValue||[],this._columnsDiffer=this._differs.find(a).create(),this._columnsDiffer.diff(a))};JK.\u0275fac=function(a){return new (a||JK)(C(Qf),C(aw))};JK.\u0275dir=Kc({type:JK,features:[Zc]});var Qmc=function(){JK.apply(this,arguments)};U(Qmc,JK);Qmc.\u0275dir=JK.\u0275dir;Qmc.\u0275fac=JK.\u0275fac;
var Rmc=zDa(Qmc),KK=function(a,b,c){a=Rmc.call(this,a,b)||this;a._table=c;return a};U(KK,Rmc);KK.prototype.ngOnChanges=function(a){Rmc.prototype.ngOnChanges.call(this,a)};KK.\u0275fac=function(a){return new (a||KK)(C(Qf),C(aw),C(CK,8))};KK.\u0275dir=Kc({type:KK,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[bf,Zc]});var Smc=function(){JK.apply(this,arguments)};U(Smc,JK);Smc.\u0275dir=JK.\u0275dir;
Smc.\u0275fac=JK.\u0275fac;var Tmc=zDa(Smc),LK=function(a,b,c){a=Tmc.call(this,a,b)||this;a._table=c;return a};U(LK,Tmc);LK.prototype.ngOnChanges=function(a){Tmc.prototype.ngOnChanges.call(this,a)};LK.\u0275fac=function(a){return new (a||LK)(C(Qf),C(aw),C(CK,8))};LK.\u0275dir=Kc({type:LK,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[bf,Zc]});var MK=function(a,b,c){JK.call(this,a,b);this._table=c};U(MK,JK);
MK.\u0275fac=function(a){return new (a||MK)(C(Qf),C(aw),C(CK,8))};MK.\u0275dir=Kc({type:MK,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[bf]});var NK=function(a){this._viewContainer=a;Umc=this};NK.prototype.ngOnDestroy=function(){Umc===this&&(Umc=null)};var Umc=null;NK.\u0275fac=function(a){return new (a||NK)(C(Rf))};NK.\u0275dir=Kc({type:NK,selectors:[["","cdkCellOutlet",""]]});var OK=function(){};
OK.\u0275fac=function(a){return new (a||OK)};OK.\u0275cmp=Gc({type:OK,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&&vf(0,0)},dependencies:[NK],encapsulation:2});var PK=function(){};PK.\u0275fac=function(a){return new (a||PK)};
PK.\u0275cmp=Gc({type:PK,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&vf(0,0)},dependencies:[NK],encapsulation:2});var Vmc=function(a){this.templateRef=a;this._contentClassName="cdk-no-data-row"};Vmc.\u0275fac=function(a){return new (a||Vmc)(C(Qf))};Vmc.\u0275dir=Kc({type:Vmc,selectors:[["ng-template","cdkNoDataRow",""]]});var Wmc=new Rc("CDK_SPL");var Xmc=["top","bottom","left","right"],Ymc=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"}},Zmc=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)})},$mc=function(a,b,c,d,e){e=void 0===e?!0:e;if(b.length&&a._isBrowser&&(c.some(function(K){return K})||d.some(function(K){return K}))){var g=b[0],h=g.children.length,l=a._getCellWidths(g,e),q=a._getStickyStartColumnPositions(l,c),x=a._getStickyEndColumnPositions(l,
d),A=c.lastIndexOf(!0),B=d.indexOf(!0);a._coalescedStyleScheduler.schedule(function(){var K="rtl"===a.direction,N=K?"right":"left";K=K?"left":"right";for(var P=k(b),Y=P.next();!Y.done;Y=P.next()){Y=Y.value;for(var X=0;X<h;X++){var ka=Y.children[X];c[X]&&a._addStickyStyle(ka,N,q[X],X===A);d[X]&&a._addStickyStyle(ka,K,x[X],X===B)}}a._positionListener&&(a._positionListener.stickyColumnsUpdated({sizes:-1===A?[]:l.slice(0,A+1).map(function(ma,za){return c[za]?ma:null})}),a._positionListener.stickyEndColumnsUpdated({sizes:-1===
B?[]:l.slice(B).map(function(ma,za){return d[za+B]?ma:null}).reverse()}))})}else a._positionListener&&(a._positionListener.stickyColumnsUpdated({sizes:[]}),a._positionListener.stickyEndColumnsUpdated({sizes:[]}))},anc=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 x=e[b];q[b]=a._isNativeHtmlTable?Array.from(x.children):[x];x=x.getBoundingClientRect().height;c+=x;l[b]=x}var A=
g.lastIndexOf(!0);a._coalescedStyleScheduler.schedule(function(){for(var B=0;B<e.length;B++)if(g[B])for(var K=h[B],N=B===A,P=k(q[B]),Y=P.next();!Y.done;Y=P.next())a._addStickyStyle(Y.value,d,K,N);if("top"===d){var X;null==(X=a._positionListener)||X.stickyHeaderRowsUpdated({sizes:l,offsets:h,elements:q})}else{var ka;null==(ka=a._positionListener)||ka.stickyFooterRowsUpdated({sizes:l,offsets:h,elements:q})}})}},bnc=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=Ymc.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]);Xmc.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(Xmc),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 cnc=[[["caption"]],[["colgroup"],["col"]]],QK=function(a,b){this.viewContainer=a;this.elementRef=b};QK.\u0275fac=function(a){return new (a||QK)(C(Rf),C(vd))};QK.\u0275dir=Kc({type:QK,selectors:[["","rowOutlet",""]]});var RK=function(a,b){this.viewContainer=a;this.elementRef=b};RK.\u0275fac=function(a){return new (a||RK)(C(Rf),C(vd))};RK.\u0275dir=Kc({type:RK,selectors:[["","headerRowOutlet",""]]});var SK=function(a,b){this.viewContainer=a;this.elementRef=b};
SK.\u0275fac=function(a){return new (a||SK)(C(Rf),C(vd))};SK.\u0275dir=Kc({type:SK,selectors:[["","footerRowOutlet",""]]});var TK=function(a,b){this.viewContainer=a;this.elementRef=b};TK.\u0275fac=function(a){return new (a||TK)(C(Rf),C(vd))};TK.\u0275dir=Kc({type:TK,selectors:[["","noDataRowOutlet",""]]});
var UK=function(a,b,c,d,e,g,h,l,q,x,A,B){this._differs=a;this._changeDetectorRef=b;this._elementRef=c;this._dir=e;this._platform=h;this._viewRepeater=l;this._coalescedStyleScheduler=q;this._viewportRuler=x;this._stickyPositioningListener=A;this._ngZone=B;this._onDestroy=new E.Subject;this._columnDefsByName=new Map;this._customColumnDefs=new Set;this._customRowDefs=new Set;this._customHeaderRowDefs=new Set;this._customFooterRowDefs=new Set;this._forceRecalculateCellWidths=this._stickyColumnStylesNeedReset=
this._footerRowDefChanged=this._headerRowDefChanged=!0;this._cachedRenderRowsMap=new Map;this.stickyCssClass="cdk-table-sticky";this.needsPositionStickyOnElement=!0;this._fixedLayout=this._multiTemplateDataRows=this._isShowingNoDataRow=!1;this.contentChanged=new Gv;d||this._elementRef.nativeElement.setAttribute("role","table");this._document=g;this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName};
UK.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(Te(this._onDestroy)).subscribe(function(){a._forceRecalculateCellWidths=!0})};
UK.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&&VK(this);this._checkStickyStates()};
UK.prototype.ngOnDestroy=function(){[this._rowOutlet.viewContainer,this._headerRowOutlet.viewContainer,this._footerRowOutlet.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(function(a){a.clear()});this._headerRowDefs=[];this._footerRowDefs=[];this._defaultRowDef=null;this._onDestroy.next();this._onDestroy.complete();Hoa(this.dataSource)&&this.dataSource.disconnect(this)};
UK.prototype.renderRows=function(){var a=this;this._renderRows=this._getAllRenderRows();var b=this._dataDiffer.diff(this._renderRows);if(b){var c=this._rowOutlet.viewContainer;cYb(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();fUb(b,function(d){c.get(d.currentIndex).context.$implicit=d.item.data});this._updateNoDataRow();this._ngZone&&Eja()?this._ngZone.onStable.pipe(Ge(),
Te(this._onDestroy)).subscribe(function(){VK(a)}):VK(this)}else this._updateNoDataRow();this.contentChanged.next()};
var dnc=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});Zmc(a._stickyStyler,b,["top"]);anc(a._stickyStyler,b,c,"top");a._headerRowDefs.forEach(function(d){return d.resetStickyChanged()})},enc=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});
Zmc(a._stickyStyler,b,["bottom"]);anc(a._stickyStyler,b,c,"bottom");bnc(a._stickyStyler,a._elementRef.nativeElement,c);a._footerRowDefs.forEach(function(d){return d.resetStickyChanged()})},VK=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)Zmc(a._stickyStyler,[].concat(Vc(b),Vc(c),Vc(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=UK.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();ADa(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=ADa(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs);this._footerRowDefs=ADa(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs);this._rowDefs=ADa(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=[];Hoa(this.dataSource)&&this.dataSource.disconnect(this);this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null);a||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear());this._dataSource=a};
f._observeRenderChanges=function(){var a=this;if(this.dataSource){var b;Hoa(this.dataSource)?b=this.dataSource.connect(this):(0,E.isObservable)(this.dataSource)?b=this.dataSource:Array.isArray(this.dataSource)&&(b=(0,E.of)(this.dataSource));this._renderChangeSubscription=b.pipe(Te(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)});dnc(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)});enc(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});$mc(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,Umc&&Umc._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 KK?c.headerCell.template:a instanceof LK?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)&&dnc(this);this._footerRowDefs.reduce(a,!1)&&enc(this);Array.from(this._columnDefsByName.values()).reduce(a,!1)&&(this._stickyColumnStylesNeedReset=!0,VK(this))};
f._setupStickyStyler=function(){var a=this;this._stickyStyler=new Ymc(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener);(this._dir?this._dir.change:(0,E.of)()).pipe(Te(this._onDestroy)).subscribe(function(b){a._stickyStyler.direction=b;VK(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}}};
hh.Object.defineProperties(UK.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=xg(a);this._rowOutlet&&this._rowOutlet.viewContainer.length&&
(this._forceRenderDataRows(),VK(this))}},fixedLayout:{configurable:!0,enumerable:!0,get:function(){return this._fixedLayout},set:function(a){this._fixedLayout=xg(a);this._stickyColumnStylesNeedReset=this._forceRecalculateCellWidths=!0}}});UK.\u0275fac=function(a){return new (a||UK)(C(aw),C(Yv),C(vd),od("role"),C(Cy,8),C(fh),C(bx),C(dYb),C(Pmc),C(My),C(Wmc,12),C(We,8))};
UK.\u0275cmp=Gc({type:UK,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(a,b,c){a&1&&(Vf(c,Vmc,5),Vf(c,FK,5),Vf(c,MK,5),Vf(c,KK,5),Vf(c,LK,5));if(a&2){var d;Tf(d=Wf())&&(b._noDataRow=d.first);Tf(d=Wf())&&(b._contentColumnDefs=d);Tf(d=Wf())&&(b._contentRowDefs=d);Tf(d=Wf())&&(b._contentHeaderRowDefs=d);Tf(d=Wf())&&(b._contentFooterRowDefs=d)}},viewQuery:function(a,b){a&1&&(Uf(QK,7),Uf(RK,7),Uf(SK,7),Uf(TK,7));if(a&2){var c;Tf(c=Wf())&&(b._rowOutlet=c.first);Tf(c=Wf())&&(b._headerRowOutlet=
c.first);Tf(c=Wf())&&(b._footerRowOutlet=c.first);Tf(c=Wf())&&(b._noDataRowOutlet=c.first)}},hostAttrs:["ngSkipHydration","",1,"cdk-table"],hostVars:2,hostBindings:function(a,b){a&2&&qf("cdk-table-fixed-layout",b.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[Gf([{provide:CK,useExisting:UK},{provide:dYb,useClass:bYb},{provide:Pmc,useClass:IK},
{provide:Wmc,useValue:null}])],ngContentSelectors:["caption","colgroup, col"],decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(a){a&1&&(xf(cnc),yf(0),yf(1,1),vf(2,0)(3,1)(4,2)(5,3))},dependencies:[QK,RK,SK,TK],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2});var WK=function(){};WK.\u0275fac=function(a){return new (a||WK)};WK.\u0275mod=Ic({type:WK});WK.\u0275inj=rc({imports:[Qy]});var XK=function(){DK.apply(this,arguments)};U(XK,DK);XK.\u0275fac=function(){var a;return function(b){return(a||(a=td(XK)))(b||XK)}}();XK.\u0275dir=Kc({type:XK,selectors:[["","matCellDef",""]],features:[Gf([{provide:DK,useExisting:XK}]),bf]});var YK=function(){EK.apply(this,arguments)};U(YK,EK);YK.\u0275fac=function(){var a;return function(b){return(a||(a=td(YK)))(b||YK)}}();YK.\u0275dir=Kc({type:YK,selectors:[["","matHeaderCellDef",""]],features:[Gf([{provide:EK,useExisting:YK}]),bf]});
var ZK=function(){return FK.apply(this,arguments)||this};U(ZK,FK);ZK.prototype._updateColumnCssClassName=function(){FK.prototype._updateColumnCssClassName.call(this);this._columnCssClassName.push("mat-column-"+this.cssClassFriendlyName)};hh.Object.defineProperties(ZK.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return this._name},set:function(a){this._setNameInput(a)}}});ZK.\u0275fac=function(){var a;return function(b){return(a||(a=td(ZK)))(b||ZK)}}();
ZK.\u0275dir=Kc({type:ZK,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[Gf([{provide:FK,useExisting:ZK},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:ZK}]),bf]});var $K=function(){GK.apply(this,arguments)};U($K,GK);$K.\u0275fac=function(){var a;return function(b){return(a||(a=td($K)))(b||$K)}}();$K.\u0275dir=Kc({type:$K,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[bf]});
var aL=function(){HK.apply(this,arguments)};U(aL,HK);aL.\u0275fac=function(){var a;return function(b){return(a||(a=td(aL)))(b||aL)}}();aL.\u0275dir=Kc({type:aL,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[bf]});var bL=function(){return KK.apply(this,arguments)||this};U(bL,KK);bL.\u0275fac=function(){var a;return function(b){return(a||(a=td(bL)))(b||bL)}}();bL.\u0275dir=Kc({type:bL,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[Gf([{provide:KK,useExisting:bL}]),bf]});var cL=function(){MK.apply(this,arguments)};U(cL,MK);cL.\u0275fac=function(){var a;return function(b){return(a||(a=td(cL)))(b||cL)}}();
cL.\u0275dir=Kc({type:cL,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[Gf([{provide:MK,useExisting:cL}]),bf]});var dL=function(){};U(dL,OK);dL.\u0275fac=function(){var a;return function(b){return(a||(a=td(dL)))(b||dL)}}();
dL.\u0275cmp=Gc({type:dL,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[Gf([{provide:OK,useExisting:dL}]),bf],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&vf(0,0)},dependencies:[NK],encapsulation:2});var eL=function(){};U(eL,PK);eL.\u0275fac=function(){var a;return function(b){return(a||(a=td(eL)))(b||eL)}}();
eL.\u0275cmp=Gc({type:eL,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[Gf([{provide:PK,useExisting:eL}]),bf],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&vf(0,0)},dependencies:[NK],encapsulation:2});var fnc=[[["caption"]],[["colgroup"],["col"]]],fL=function(){UK.apply(this,arguments);this.stickyCssClass="mat-table-sticky";this.needsPositionStickyOnElement=!1};U(fL,UK);fL.\u0275fac=function(){var a;return function(b){return(a||(a=td(fL)))(b||fL)}}();
fL.\u0275cmp=Gc({type:fL,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:["ngSkipHydration","",1,"mat-table"],hostVars:2,hostBindings:function(a,b){a&2&&qf("mat-table-fixed-layout",b.fixedLayout)},exportAs:["matTable"],features:[Gf([{provide:dYb,useClass:bYb},{provide:UK,useExisting:fL},{provide:CK,useExisting:fL},{provide:Pmc,useClass:IK},{provide:Wmc,useValue:null}]),bf],ngContentSelectors:["caption","colgroup, col"],decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",
""],["footerRowOutlet",""]],template:function(a){a&1&&(xf(fnc),yf(0),yf(1,1),vf(2,0)(3,1)(4,2)(5,3))},dependencies:[QK,RK,SK,TK],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 kEa=function(a){return{row:a}},rEa=function(){return["pinnedIssues"]},gnc=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=Xva;this.ldapOnly=
Ml;this.viewCellTemplates={};this.COLUMN_TITLES=gnc;this.issueIds$=new E.BehaviorSubject([]);this.defaultColumns=["title","priority","type","id","status"];this.displayedColumns=[];this.customColumns=[];this.displayedIssues$=this.issueIds$.pipe(Se(this.issueFridge.watchSet))};f=gL.prototype;f.ngOnChanges=function(a){!a.displayedColumns||0!==this.displayedColumns.length&&this.displayedColumns.every(function(b){return gnc.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=Vl(b.issueId),a.ctrlKey||a.metaKey||a instanceof MouseEvent&&1===a.button?this.domSafe.openInNewTab(b):a&&a.shiftKey?Hn(this.domSafe,b):Rr(this.router,b))};
f.getMenuItems=function(a){var b=this,c=[{type:"action",label:"Add to My Projects",action:function(){sn(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 kn(ei(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};
hh.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)(C(lH),C(SJ),C(nG),C(RH))};
gL.\u0275cmp=Gc({type:gL,selectors:[["flat-issues-table"]],inputs:{issueIds:"issueIds",displayedColumns:"displayedColumns",customColumns:"customColumns",assigneeMode:"assigneeMode"},features:[Zc],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&&(Q(0,sEa,38,8,"ng-container",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.displayedIssues$))},dependencies:[dw,ew,jw,fw,gw,hw,fL,YK,bL,ZK,XK,cL,$K,aL,dL,eL,dK,eK,fK,gK,jK,pK,qK,WH,rK,AK,uK,XJ,WJ,RJ,sK,bK,kw],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)(C(Qf),C(gL))};hL.\u0275dir=Kc({type:hL,selectors:[["","forViewCell",""]],inputs:{forViewCell:"forViewCell"}});var hnc=new Rc("IssueCard");var iL=function(){};iL.prototype.visit=function(){};iL.\u0275fac=function(a){return new (a||iL)};iL.\u0275prov=qc({token:iL,factory:iL.\u0275fac,providedIn:"root"});var inc=["el"],jL=function(a){this.viewContainerRef=a};jL.\u0275fac=function(a){return new (a||jL)(C(Rf))};jL.\u0275dir=Kc({type:jL,selectors:[["","issueCardHost",""]]});var kL=function(a,b){WD.call(this);this.issueReferenceResolver=a;this.issueCard=b;this.hovercardReady=new E.ReplaySubject(1)};U(kL,WD);kL.\u0275dir=WD.\u0275dir;kL.prototype.ngOnInit=function(){};
kL.prototype.ngAfterViewInit=function(){var a=this;this.issueCardHost.changes.pipe(Te(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(),Te(a.destroyed$)).subscribe(a.hovercardReady),b.changeDetectorRef.detectChanges())})};
kL.prototype.visit=function(a){if(!wEa(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)(C(iL),C(hnc,8))};
kL.\u0275cmp=Gc({type:kL,selectors:[["b-issue-reference-widget"]],viewQuery:function(a,b){a&1&&(Uf(inc,7),Uf(jL,5));if(a&2){var c;Tf(c=Wf())&&(b.el=c.first);Tf(c=Wf())&&(b.issueCardHost=c)}},inputs:{href:"href",issueId:"issueId",commentNumber:"commentNumber"},features:[bf],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&&(xf(),G(0,"onedev-hovercard",null,0),Q(2,xEa,2,1,"div",1),H(),G(3,"a",2,3),M("click",function(d){return b.visit(d)}),yf(5),H());if(a&2){var c=Cf(1);z(3);F("onedevHovercardTrigger",c)("onedevHovercardActive",!!b.issueCard)("href",b.href,Md)}},dependencies:[qJ,rJ,vJ,sJ,jL],encapsulation:2,changeDetection:0});var lL=function(a){WD.call(this);var b=this;this.changelistApi=a;this.providedChangelistId$=new E.ReplaySubject(1);this.changelist$=this.providedChangelistId$.pipe(Se(function(c){return b.changelistApi.getChangelistDetails(c)}),Pe({refCount:!0,bufferSize:1}));this.init=new E.ReplaySubject(1)};U(lL,WD);lL.\u0275dir=WD.\u0275dir;lL.prototype.ngOnInit=function(){var a=this;this.changelist$.pipe(Ge(),Te(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)(C(RC))};
lL.\u0275cmp=Gc({type:lL,selectors:[["b-changelist-card"]],inputs:{changelistId:"changelistId"},outputs:{init:"init"},features:[bf,Zc],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&&(G(0,"div",0)(1,"div",1),Q(2,BEa,16,6,"ng-container",2),S(3,"async"),H()());a&2&&(z(2),F("ngIf",T(3,1,b.changelist$)))},dependencies:[dw,ew,VJ,bK,kw],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=Gc({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&&(G(0,"a",0),R(1),H(),G(2,"onedev-hovercard",null,1),Q(4,CEa,2,2,"b-changelist-card",2),H());if(a&
2){var c=Cf(3);F("href","http://critique.corp.google.com/"+b.changelistId,Md)("onedevHovercardTrigger",c)("onedevHovercardConfig",b.config);gf("aria-label","Changelist"+b.changelistId);z(1);Df(" ",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 ai(this.model)};var jnc=function(a){var b=a.model;return(b&&b.getUserGaiaStatus?Kqa(di(b)):Kqa(b))&&!!a.getEmailAddress()};nL.prototype.getEmailAddress=function(){return ei(this.model)||""};nL.\u0275fac=function(a){return new (a||nL)};
nL.\u0275cmp=Gc({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&&(J(0),Q(1,DEa,1,4,"b-user-display-name",0),Q(2,EEa,2,1,"span",
1),L());a&2&&(z(1),F("ngIf",jnc(b)),z(1),F("ngIf",!jnc(b)))},dependencies:[ew,VJ],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=nl;this.clAuthorToUser=Mva;this.getClNumber=Nva;this.clEventToClDescription=Ova;this.getPreviousDiffValue=Pva;this.getNewDiffValue=Qva;this.getIssueDetailsUrl=Rva;this.numEventsDisplayed=3;this.activityEvents=null;this.title="Recent Activity"},OEa=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=Gc({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&&(Q(0,NEa,5,3,"ng-container",0),S(1,"slice"),Q(2,PEa,3,1,"ng-container",0));a&2&&(F("ngIf",Nf(1,2,b.activityEvents,0,b.numEventsDisplayed)),z(2),F("ngIf",0<OEa(b)))},dependencies:[dw,ew,fw,gw,hw,Jz,WJ,nL,WH,mL,kL,bK,rw],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 knc=["determinateSpinner"],lnc=ih(function(a){this._elementRef=a},"primary"),mnc=new Rc("mat-progress-spinner-default-options",{providedIn:"root",factory:REa}),pL=function(a,b,c){a=lnc.call(this,a)||this;a.mode="mat-spinner"===a._elementRef.nativeElement.nodeName.toLowerCase()?"indeterminate":"determinate";a._value=0;a._diameter=100;a._noopAnimations="NoopAnimations"===b&&!!c&&!c._forceAnimations;c&&(c.color&&(a.color=a.defaultColor=c.color),c.diameter&&(a.diameter=c.diameter),c.strokeWidth&&
(a.strokeWidth=c.strokeWidth));return a};U(pL,lnc);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};
hh.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,Ag(a)))}},diameter:{configurable:!0,enumerable:!0,get:function(){return this._diameter},set:function(a){this._diameter=Ag(a)}},strokeWidth:{configurable:!0,enumerable:!0,get:function(){var a;return null!=(a=this._strokeWidth)?a:this.diameter/10},set:function(a){this._strokeWidth=Ag(a)}}});
pL.\u0275fac=function(a){return new (a||pL)(C(vd),C(ev,8),C(mnc))};
pL.\u0275cmp=Gc({type:pL,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(a,b){a&1&&Uf(knc,5);if(a&2){var c;Tf(c=Wf())&&(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&&(gf("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow","determinate"===b.mode?b.value:null)("mode",b.mode),pf("width",b.diameter,"px")("height",b.diameter,"px")("--mdc-circular-progress-size",
b.diameter+"px")("--mdc-circular-progress-active-indicator-width",b.diameter+"px"),qf("_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:[bf],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&&(Q(0,QEa,2,8,"ng-template",null,0,Zf),G(2,"div",1,2),jd(),G(4,"svg",3),I(5,"circle",4),H()(),kd(),G(6,"div",5)(7,"div",6)(8,"div",7),vf(9,8),H(),G(10,"div",9),vf(11,8),H(),G(12,"div",10),vf(13,8),H()()());if(a&2){var c=Cf(1);z(4);gf("viewBox",b._viewBox());z(1);pf("stroke-dasharray",b._strokeCircumference(),"px")("stroke-dashoffset",b._strokeDashOffset(),"px")("stroke-width",
b._circleStrokeWidth(),"%");gf("r",b._circleRadius());z(4);F("ngTemplateOutlet",c);z(2);F("ngTemplateOutlet",c);z(2);F("ngTemplateOutlet",c)}},dependencies:[jw],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=Ic({type:qL});qL.\u0275inj=rc({imports:[sw,dz]});var nnc=ih(function(a){this._elementRef=a},"primary"),rL=function(a,b,c,d,e,g,h,l,q){var x=nnc.call(this,a)||this;x._document=c;x._nonce=q;x._diameter=100;x._value=0;x._resizeSubscription=E.Subscription.EMPTY;x.mode="determinate";x._spinnerAnimationLabel=x._getSpinnerAnimationLabel();onc.has(c.head)||onc.set(c.head,new Set([100]));x._noopAnimations="NoopAnimations"===d&&!!e&&!e._forceAnimations;"mat-spinner"===a.nativeElement.nodeName.toLowerCase()&&(x.mode="indeterminate");e&&(e.color&&(x.color=
x.defaultColor=e.color),e.diameter&&(x.diameter=e.diameter),e.strokeWidth&&(x.strokeWidth=e.strokeWidth));b.isBrowser&&b.SAFARI&&h&&g&&l&&(x._resizeSubscription=h.change(150).subscribe(function(){"indeterminate"===x.mode&&l.run(function(){return g.markForCheck()})}));return x};U(rL,nnc);f=rL.prototype;f.ngOnInit=function(){var a=this._elementRef.nativeElement;this._styleRoot=Pma(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=onc.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,onc.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(".","_")};
hh.Object.defineProperties(rL.prototype,{diameter:{configurable:!0,enumerable:!0,get:function(){return this._diameter},set:function(a){this._diameter=Ag(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=Ag(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,Ag(a)))}}});var onc=new WeakMap;rL.\u0275fac=function(a){return new (a||rL)(C(vd),C(bx),C(fh,8),C(ev,8),C(mnc),C(Yv),C(My),C(We),C(WRb,8))};
rL.\u0275cmp=Gc({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&&(gf("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),pf("width",b.diameter,"px")("height",b.diameter,"px"),qf("_mat-animation-noopable",b._noopAnimations))},inputs:{color:"color",
diameter:"diameter",strokeWidth:"strokeWidth",mode:"mode",value:"value"},exportAs:["matProgressSpinner"],features:[bf],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&&(jd(),G(0,"svg",0,1),Q(2,SEa,1,11,"circle",2),Q(3,TEa,1,9,"circle",3),H());a&2&&(pf("width",b.diameter,"px")("height",b.diameter,"px"),F("ngSwitch","indeterminate"===b.mode),gf("viewBox",b._getViewBox()),z(2),F("ngSwitchCase",!0),z(1),F("ngSwitchCase",!1))},dependencies:[fw,gw],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=Gc({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&&(Q(0,UEa,1,2,"mat-spinner",0),Q(1,VEa,1,3,"mat-spinner",1));a&2&&(F("ngIf",b.large),z(1),F("ngIf",!b.large))},dependencies:[ew,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}}/*# sourceMappingURL=spinner.css.map */"]});var tL=function(){this._inset=this._vertical=!1};hh.Object.defineProperties(tL.prototype,{vertical:{configurable:!0,enumerable:!0,get:function(){return this._vertical},set:function(a){this._vertical=xg(a)}},inset:{configurable:!0,enumerable:!0,get:function(){return this._inset},set:function(a){this._inset=xg(a)}}});tL.\u0275fac=function(a){return new (a||tL)};
tL.\u0275cmp=Gc({type:tL,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(a,b){a&2&&(gf("aria-orientation",b.vertical?"vertical":"horizontal"),qf("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 aFa=function(){return[]},uL=function(a,b,c,d,e,g){WD.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=Jva;this.makePie=Kva;this.hotlistId$=new E.ReplaySubject(1);this.hotlist$=this.hotlistId$.pipe(Se(this.hotlistFridge.watchOne));this.orderedByHotlistPositionIssueIds$=this.hotlistId$.pipe(Se(function(l){return h.hotlistApi.getPagedHotlistContent(l,1,50,[])}),D(function(l){return l.issues}),
D(function(l){return l.map(function(q){return q.issueId})}));this.openIssueIds$=this.hotlistId$.pipe(Se(function(l){return h.issueFridge.watchMany({filter:"hotlistid:"+l+" status:open",pageSize:25,sort:"modified_time:desc"})}),D(function(l){return l.results}),D(function(l){return l.map(function(q){return q.issueId})}));this.hotlistIssueIds$=(0,E.combineLatest)([this.openIssueIds$,this.orderedByHotlistPositionIssueIds$]).pipe(D(function(l){l=k(l);var q=l.next().value,x=l.next().value;l=[];q=new Set(q);
x=k(x);for(var A=x.next();!A.done&&(A=A.value,q.has(A)&&l.push(A),25!==l.length);A=x.next());return l}),Te(this.destroyed$));this.projectData$=this.orderedByHotlistPositionIssueIds$.pipe(Se(function(l){return occ(h.data,[].concat(Vc(l)))}),Pe({refCount:!0,bufferSize:1}));this.hotlistActivityEvents$=this.hotlistId$.pipe(Se(function(l){return Rgc(h.projectActivity,l)}));this.columnsToDisplay=["title","assignee","status","id","menu"]};U(uL,WD);uL.\u0275dir=WD.\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){Jo(this.hackyPrefs,Gl(a))};uL.prototype.reorder=function(a,b){Io(this.hackyPrefs,Gl(a),b)};uL.prototype.canMove=function(a,b){return Ko(this.hackyPrefs,Gl(a),b)};
hh.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)(C(SG),C(RH),C(TE),C(UH),C(IG),C(lH))};
uL.\u0275cmp=Gc({type:uL,selectors:[["hotlist-as-project-card"]],inputs:{addMode:"addMode",neverCollapse:"neverCollapse",hotlistId:"hotlistId"},features:[bf],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&&(Q(0,kFa,35,15,"div",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.hotlist$))},dependencies:[dw,ew,uA,Jz,WJ,gL,sL,DB,BB,CB,tL,oL,kw,rw,qw],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){WD.call(this);var c=this;this.hackyPrefs=a;this.hotlists=b;this.log=console.log.bind(console);this.suggestionCount=3;this.suggestedHotlists$=this.hotlists.suggestedHotlists$;this.suggestedHotlistIds$=this.suggestedHotlists$.pipe(D(function(d){return[].concat(Vc(d.keys())).filter(function(e){return!c.hackyPrefs.getPinned().includes(Gl(e))})}));this.skipFirstSuggestion=!1;this.suggestedHotlists$.pipe(Te(this.destroyed$)).subscribe(function(d){var e=Array.from(d)[0][0];d=Array.from(d)[0][1];
0===c.hackyPrefs.getPinned().length&&!c.hackyPrefs.prefs.hasUserEdits&&(5<d.confidence||3<d.count)&&(sn(c.hackyPrefs,Gl(e)),c.skipFirstSuggestion=!0,c.suggestionCount++)})};U(vL,WD);vL.\u0275dir=WD.\u0275dir;vL.\u0275fac=function(a){return new (a||vL)(C(RH),C(KH))};
vL.\u0275cmp=Gc({type:vL,selectors:[["suggested-hotlists"]],inputs:{disableShowMore:"disableShowMore",suggestionCount:"suggestionCount"},features:[bf],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&&(Q(0,oFa,10,7,"ng-container",0),S(1,"async"),Q(2,pFa,3,0,"ng-template",null,1,Zf));if(a&2){var c=Cf(3);F("ngIf",T(1,2,b.suggestedHotlistIds$))("ngIfElse",c)}},dependencies:[dw,ew,uA,Jz,Kz,uL,sL,kw,rw],styles:["[_nghost-%COMP%] { display: block; }"]});var pnc=tl(function(a){var b,c;return null!=(c=null==a?void 0:null==(b=a.aggregatedData)?void 0:b.voteCount)?c:0},Vua),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,E.of)(void 0);if("canonical"===b){b=qnc(this,a,d);d=rnc(this,d).pipe(Se(function(h){return e.issueFridge.watchMany({filter:qFa(a,tn("-id",null==c?void 0:c.id),tn("status","open"),tn("componentid",h)),pageSize:10})}),D(function(h){return null==h?void 0:h.results}));var g=this.issueFridge.watchMany({filter:qFa(a,tn("-id",null==c?void 0:c.id)),pageSize:10,sort:"modified_time:desc"}).pipe(D(function(h){return null==h?void 0:h.results}),
Re([]));return(0,E.combineLatest)([b,d,g]).pipe(D(function(h){return ql(h.flat(),function(l){return l.issueId})}),D(function(h){return h.slice(0,10)}),D(function(h){return pnc(h,"desc")}))}return this.issueFridge.watchMany({filter:a,pageSize:10}).pipe(D(function(h){return null==h?void 0:h.results}))};
var qnc=function(a,b,c){return c?snc(a,c).pipe(Se(function(d){return 0===d.length?(0,E.of)([]):a.issueFridge.watchMany({filter:qFa(b,tn("id",d),tn("status","open")),pageSize:10}).pipe(D(function(e){return null==e?void 0:e.results}))})):(0,E.of)([])},snc=function(a,b){if(!b)return(0,E.of)([]);if(a.componentIdToRecentCanonicals.has(b))return a.componentIdToRecentCanonicals.get(b);var c=a.issueFridge.watchMany({filter:qFa(tn("componentid",b,!0),tn("status","duplicate")),sort:"modified_time:desc",pageSize:250}).pipe(D(function(d){return null==
d?void 0:d.results}),D(function(d){return d.map(function(e){return e.snapshot[0].duplicateOfIssueId})}),D(function(d){return rl(d.filter(pi))}),Pe({bufferSize:1,refCount:!0}));a.componentIdToRecentCanonicals.set(b,c);return c},rnc=function(a,b){return b?snc(a,b).pipe(Se(function(c){return a.issueFridge.watchSet(c)}),D(function(c){return c.map(function(d){return d.snapshot[0].componentId})}),D(function(c){return[b].concat(Vc(c.filter(pi)))}),D(rl),Pe({bufferSize:1,refCount:!0})):(0,E.of)([])};
wL.\u0275fac=function(a){return new (a||wL)(u(lH))};wL.\u0275prov=qc({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(P,Y,X){P.addEventListener?P.addEventListener(Y,X,!1):P.attachEvent("on"+Y,X)}function e(P){if("keypress"==P.type){var Y=String.fromCharCode(P.which);P.shiftKey||(Y=Y.toLowerCase());return Y}return x[P.which]?x[P.which]:A[P.which]?A[P.which]:String.fromCharCode(P.which).toLowerCase()}function g(P){return"shift"==P||"ctrl"==P||"alt"==P||"meta"==P}function h(P,Y){var X,ka=[];"+"===P?P=["+"]:(P=P.replace(/\+{2}/g,"+plus"),P=P.split("+"));for(X=0;X<P.length;++X){var ma=P[X];
K[ma]&&(ma=K[ma]);Y&&"keypress"!=Y&&B[ma]&&(ma=B[ma],ka.push("shift"));g(ma)&&ka.push(ma)}P=ma;X=Y;if(!X){if(!N){N={};for(var za in x)95<za&&112>za||x.hasOwnProperty(za)&&(N[x[za]]=za)}X=N[P]?"keydown":"keypress"}"keypress"==X&&ka.length&&(X="keydown");return{key:ma,modifiers:ka,action:X}}function l(P,Y){return null===P||P===b?!1:P===Y?!0:l(P.parentNode,Y)}function q(P){function Y(wa){wa=wa||{};var Ka=!1,Na;for(Na in Sa)wa[Na]?Ka=!0:Sa[Na]=0;Ka||(Ya=!1)}function X(wa,Ka,Na,fb,bb,Tc){var hb,yb,$a=
[],Fb=Na.type;if(!Ma._callbacks[wa])return[];"keyup"==Fb&&g(wa)&&(Ka=[wa]);for(hb=0;hb<Ma._callbacks[wa].length;++hb)if(yb=Ma._callbacks[wa][hb],(fb||!yb.seq||Sa[yb.seq]==yb.level)&&Fb==yb.action){var jb;(jb="keypress"==Fb&&!Na.metaKey&&!Na.ctrlKey)||(jb=yb.modifiers,jb=Ka.sort().join(",")===jb.sort().join(","));jb&&(jb=fb&&yb.seq==fb&&yb.level==Tc,(!fb&&yb.combo==bb||jb)&&Ma._callbacks[wa].splice(hb,1),$a.push(yb))}return $a}function ka(wa,Ka,Na,fb){Ma.stopCallback(Ka,Ka.target||Ka.srcElement,Na,
fb)||!1!==wa(Ka,Na)||(Ka.preventDefault?Ka.preventDefault():Ka.returnValue=!1,Ka.stopPropagation?Ka.stopPropagation():Ka.cancelBubble=!0)}function ma(wa){"number"!==typeof wa.which&&(wa.which=wa.keyCode);var Ka=e(wa);if(Ka)if("keyup"==wa.type&&Lb===Ka)Lb=!1;else{var Na=Ma,fb=Na.handleKey,bb=[];wa.shiftKey&&bb.push("shift");wa.altKey&&bb.push("alt");wa.ctrlKey&&bb.push("ctrl");wa.metaKey&&bb.push("meta");fb.call(Na,Ka,bb,wa)}}function za(wa,Ka,Na,fb){function bb($a){return function(){Ya=$a;++Sa[wa];
clearTimeout(Ua);Ua=setTimeout(Y,1E3)}}function Tc($a){ka(Na,$a,wa);"keyup"!==fb&&(Lb=e($a));setTimeout(Y,10)}for(var hb=Sa[wa]=0;hb<Ka.length;++hb){var yb=hb+1===Ka.length?Tc:bb(fb||h(Ka[hb+1]).action);Ba(Ka[hb],yb,fb,wa,hb)}}function Ba(wa,Ka,Na,fb,bb){Ma._directMap[wa+":"+Na]=Ka;wa=wa.replace(/\s+/g," ");var Tc=wa.split(" ");1<Tc.length?za(wa,Tc,Ka,Na):(Na=h(wa,Na),Ma._callbacks[Na.key]=Ma._callbacks[Na.key]||[],X(Na.key,Na.modifiers,{type:Na.action},fb,wa,bb),Ma._callbacks[Na.key][fb?"unshift":
"push"]({callback:Ka,modifiers:Na.modifiers,action:Na.action,seq:fb,level:bb,combo:wa}))}var Ma=this;P=P||b;if(!(Ma instanceof q))return new q(P);Ma.target=P;Ma._callbacks={};Ma._directMap={};var Sa={},Ua,Lb=!1,qb=!1,Ya=!1;Ma._handleKey=function(wa,Ka,Na){var fb=X(wa,Ka,Na),bb;Ka={};var Tc=0,hb=!1;for(bb=0;bb<fb.length;++bb)fb[bb].seq&&(Tc=Math.max(Tc,fb[bb].level));for(bb=0;bb<fb.length;++bb)fb[bb].seq?fb[bb].level==Tc&&(hb=!0,Ka[fb[bb].seq]=1,ka(fb[bb].callback,Na,fb[bb].combo,fb[bb].seq)):hb||
ka(fb[bb].callback,Na,fb[bb].combo);fb="keypress"==Na.type&&qb;Na.type!=Ya||g(wa)||fb||Y(Ka);qb=hb&&"keydown"==Na.type};Ma._bindMultiple=function(wa,Ka,Na){for(var fb=0;fb<wa.length;++fb)Ba(wa[fb],Ka,Na)};d(P,"keypress",ma);d(P,"keydown",ma);d(P,"keyup",ma)}if(a){var x={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",224:"meta"},
A={106:"*",107:"+",109:"-",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},B={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"},K={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)x[111+c]="f"+c;for(c=0;9>=c;++c)x[c+96]=c;q.prototype.bind=
function(P,Y,X){P=P instanceof Array?P:[P];this._bindMultiple.call(this,P,Y,X);return this};q.prototype.unbind=function(P,Y){return this.bind.call(this,P,function(){},Y)};q.prototype.trigger=function(P,Y){if(this._directMap[P+":"+Y])this._directMap[P+":"+Y]({},P);return this};q.prototype.reset=function(){this._callbacks={};this._directMap={};return this};q.prototype.stopCallback=function(P,Y){return-1<(" "+Y.className+" ").indexOf(" mousetrap ")||l(Y,this.target)?!1:"INPUT"==Y.tagName||"SELECT"==
Y.tagName||"TEXTAREA"==Y.tagName||Y.isContentEditable};q.prototype.handleKey=function(){return this._handleKey.apply(this,arguments)};q.addKeycodes=function(P){for(var Y in P)P.hasOwnProperty(Y)&&(x[Y]=P[Y]);N=null};q.init=function(){var P=q(b),Y;for(Y in P)"_"!==Y.charAt(0)&&(q[Y]=function(X){return function(){return P[X].apply(P,arguments)}}(Y))};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 un=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 tnc=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||""};
hh.Object.defineProperties(tnc.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 unc=new Rc("HotkeyOptions");var xL=function(a){this.options=a;this.hotkeys=[];this.pausedHotkeys=[];this.cheatSheetToggle=new E.Subject;this.preventIn=["INPUT","SELECT","TEXTAREA"];Mousetrap.prototype.stopCallback=function(b,c){return-1<(" "+c.className+" ").indexOf(" mousetrap ")?!1:c.contentEditable&&"true"===c.contentEditable};this.mousetrap=new Mousetrap;this.options.disableCheatSheet||this.add(new tnc(this.options.cheatSheetHotkey||"?",function(){this.cheatSheetToggle.next()}.bind(this),[],this.options.cheatSheetDescription||
"Show / hide this help menu"));this.options.cheatSheetCloseEsc&&this.add(new tnc("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 x=h.target,A=x.nodeName.toUpperCase();-1<(" "+x.className+" ").indexOf(" mousetrap ")?q=!0:-1<c.preventIn.indexOf(A)&&-1===a.allowIn.map(function(B){return B.toUpperCase()}).indexOf(A)&&(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)(u(unc))};xL.\u0275prov=qc({token:xL,factory:xL.\u0275fac});var yL=function(){};yL.\u0275fac=function(a){return new (a||yL)};yL.\u0275mod=Ic({type:yL});yL.\u0275inj=rc({imports:[sw]});var vnc;Yca("A AREA BUTTON HEAD INPUT LINK MENU META OPTGROUP OPTION PROGRESS STYLE SELECT SOURCE TEXTAREA TITLE TRACK".split(" "));
var wnc="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")},AL=function(a,b,c){Array.isArray(c)&&(c=c.join(" "));var d="aria-"+b;""===c||void 0==c?(vnc||(c={},vnc=(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=vnc,b in c?a.setAttribute(d,c[b]):a.removeAttribute(d)):a.setAttribute(d,c)},xnc=function(a,b){a=a.getAttribute("aria-"+b);return null==a||void 0==a?"":String(a)},BL=function(a,b){var c="";b&&(c=b.id);AL(a,"activedescendant",c)},ync=function(a,b){AL(a,"label",b)};var CL=function(a,b,c,d){WD.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=qa(wnc,g);h=g||"true"===h.contentEditable||"INPUT"===h.tagName&&"text"===h.type||"SELECT"===h.tagName||"TEXTAREA"===h.tagName||znc(h)?!0:!1}return h};
b.keyboardPrefs$.pipe(Te(this.destroyed$)).subscribe(function(g){g&&(e.enabled=!!g.enableAllHotkeys)});a.routeChangeStart.pipe(Te(this.destroyed$)).subscribe(function(){e.unpause()});this.rawHotkeysService.mousetrap.stopCallback=this.stopCallback;this.destroyed$.subscribe(function(){Anc(e)})};U(CL,WD);CL.\u0275dir=WD.\u0275dir;CL.prototype.isEnabled=function(){return this.enabled};CL.prototype.isPaused=function(){return this.paused};
var DL=function(a,b){var c=b.title,d=b.hotkeys,e;b=null!=(e=a.hotkeyGroups.get(c))?e:[];a.hotkeyGroups.set(c,[].concat(Vc(b),Vc(d)));Bnc(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);Bnc(a)}},Anc=function(a){var b=[].concat(Vc(a.rawHotkeysService.hotkeys));b=k(b);for(var c=b.next();!c.done;c=b.next())a.rawHotkeysService.remove(c.value);
a.rawHotkeysService.reset()},Bnc=function(a){Anc(a);for(var b=k(a.hotkeyGroups.values()),c=b.next();!c.done;c=b.next()){var d=Cnc(a,c.value);c={};d=k(d);for(var e=d.next();!e.done;c={$jscomp$loop$prop$binding$2318:c.$jscomp$loop$prop$binding$2318},e=d.next())c.$jscomp$loop$prop$binding$2318=e.value,e=new tnc(vFa(c.$jscomp$loop$prop$binding$2318.key),function(g){return function(h){a.ngZone.run(function(){g.$jscomp$loop$prop$binding$2318.command()});h.stopPropagation();return!1}}(c),c.$jscomp$loop$prop$binding$2318.allowIn),
a.rawHotkeysService.add(e)}},znc=function(a){return[].concat(Vc(document.getElementsByClassName("cdk-overlay-pane"))).filter(function(b){return"static"===b.style.position}).some(function(b){return b.contains(a)})},Cnc=function(a,b){var c=[],d={};b=k(b);for(var e=b.next();!e.done;d={$jscomp$loop$prop$hotkeySpec$2320:d.$jscomp$loop$prop$hotkeySpec$2320},e=b.next()){d.$jscomp$loop$prop$hotkeySpec$2320=e.value;e={};for(var g=k(d.$jscomp$loop$prop$hotkeySpec$2320.keys.entries()),h=g.next();!h.done;e={$jscomp$loop$prop$index$2322:e.$jscomp$loop$prop$index$2322},
h=g.next()){var l=k(h.value);h=l.next().value;l=l.next().value;e.$jscomp$loop$prop$index$2322=h;c.push(new Dnc(l,function(q,x){return function(){a.ngZone.run(function(){q.$jscomp$loop$prop$hotkeySpec$2320.onPress(x.$jscomp$loop$prop$index$2322)})}}(d,e),d.$jscomp$loop$prop$hotkeySpec$2320.allowIn))}}Gaa(c,function(q,x){return q.strokeLength>x.strokeLength?-1:q.strokeLength<x.strokeLength?1:0});return c};CL.prototype.pause=function(){this.paused=!0};CL.prototype.unpause=function(){this.paused=!1};
var Enc=function(a){return[].concat(Vc(a.hotkeyGroups.entries())).map(function(b){var c=k(b);b=c.next().value;c=c.next().value;return{title:b,hotkeys:ql(c,wFa)}})};CL.\u0275fac=function(a){return new (a||CL)(u(fH),u(uI),u(xL),u(We))};CL.\u0275prov=qc({token:CL,factory:CL.\u0275fac,providedIn:"root"});var Dnc=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 EL=function(a,b){WD.call(this);this.hotkeys=a;this.tooltip=b;this.hotkeyEnabled=!0;this.onHotkey=new Gv;this.hasHotkey=!0};U(EL,WD);EL.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+")"}};
EL.prototype.ngOnInit=function(){var a=this;this.hotkeyEnabled&&this.subscriptions.add(DL(this.hotkeys,{title:this.hotkey.category,hotkeys:[Object.assign({},this.hotkey,{onPress:function(b){a.onHotkey.next(b)}})]}))};EL.\u0275fac=function(a){return new (a||EL)(C(CL),C(LB,8))};
EL.\u0275dir=Kc({type:EL,selectors:[["","hotkey",""]],hostVars:2,hostBindings:function(a,b){a&2&&qf("has-hotkey",b.hasHotkey)},inputs:{hotkey:"hotkey",hotkeyEnabled:"hotkeyEnabled",matTooltip:"matTooltip"},outputs:{onHotkey:"onHotkey"},features:[bf,Zc]});var Fnc={category:"Edit Issue Page",keys:[vn("r")],displayAs:"Shift+r",description:"Refresh"},Gnc={category:"Issue List",keys:["u",vn("r")],displayAs:"u / Shift+r",description:"Refresh search results"},FL={ASSIGN_ISSUE_TO_DEFAULT_ASSIGNEE:{category:"Edit Issue Page",keys:[vn("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:[wn("p","0"),wn("p","1"),wn("p","2"),wn("p","3"),wn("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:Fnc,REFRESH_ISSUE_LIST:Gnc,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 GL=function(){};GL.\u0275fac=function(a){return new (a||GL)};GL.\u0275mod=Ic({type:GL});GL.\u0275inj=rc({});var HL=function(){this.relayOnly=!1;this.keydown$=new E.Subject};HL.prototype.onKeydown=function(a){this.relayOnly||this.keydown$.next(a)};hh.Object.defineProperties(HL.prototype,{tabindex:{configurable:!0,enumerable:!0,get:function(){return this.relayOnly?null:"0"}}});HL.\u0275fac=function(a){return new (a||HL)};
HL.\u0275dir=Kc({type:HL,selectors:[["","onedevKeyEventReceiver",""]],hostVars:1,hostBindings:function(a,b){a&1&&M("keydown",function(c){return b.onKeydown(c)});a&2&&gf("tabindex",b.tabindex)},inputs:{relayOnly:"relayOnly"}});var Hnc=0,IL=function(a){this.keyEventReceiver=a;this.id="onedev-popup-panel-"+Hnc;this.closePanel$=new E.ReplaySubject(1);Hnc++};IL.prototype.processKeydown=function(a){this.keyEventReceiver&&this.keyEventReceiver.keydown$.next(a);var b=a.code;("Escape"===b||a.altKey&&"ArrowUp"===b)&&this.closePanel$.next()};IL.\u0275fac=function(a){return new (a||IL)(C(HL,8))};
IL.\u0275cmp=Gc({type:IL,selectors:[["onedev-popup-panel"]],viewQuery:function(a,b){a&1&&Uf(Qf,7);if(a&2){var c;Tf(c=Wf())&&(b.templateRef=c.first)}},inputs:{className:"className"},exportAs:["onedevPopupPanel"],ngContentSelectors:["*"],decls:1,vars:0,consts:[[1,"onedev-popup-panel","gmat-elevation-z2",3,"keydown"]],template:function(a){a&1&&(xf(),Q(0,xFa,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 JL=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 Gv;this.closed=new Gv;this.isOpen=!1;this.destroyed$=new E.ReplaySubject(1);this.closingActionsSubscription=E.Subscription.EMPTY};JL.prototype.ngOnDestroy=function(){this.close();this.destroyed$.next();this.destroyed$.complete()};
JL.prototype.open=function(){var a=this;this.disabled||this.isOpen||(this.overlayRef=this.createOverlay(),this.templatePortal=new nx(this.popupPanel.templateRef,this.viewContainerRef),this.overlayRef.attach(this.templatePortal),this.closingActionsSubscription=Inc(this).pipe(Te(this.destroyed$)).subscribe(function(){a.close()}),this.trapFocus(),this.isOpen=!0,this.opened.emit())};
JL.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()}};
JL.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 Inc=function(a){var b=a.overlayRef.backdropClick(),c=a.overlayRef._detachments,d=a.popupPanel.closePanel$;return a.closeOnBackdropClick?(0,E.merge)(b,c,d):(0,E.merge)(c,d)};
JL.prototype.trapFocus=function(){this.overlayRef&&(this.focusTrap=this.focusTrapFactory.create(this.overlayRef.hostElement),this.focusTrap.focusInitialElement())};
JL.prototype.getPositionStrategy=function(){return Vy(Wy(Xy(Zy(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"}])};JL.prototype.getScrollStrategy=function(){return this.overlay.scrollStrategies.reposition()};
hh.Object.defineProperties(JL.prototype,{onedevPopupPanelTriggerFor:{configurable:!0,enumerable:!0,get:function(){return this.popupPanel},set:function(a){this.popupPanel=a}}});JL.\u0275fac=function(a){return new (a||JL)(C($y),C(vd),C(Rf),C(ty),C(Yv))};
JL.\u0275dir=Kc({type:JL,selectors:[["","onedevPopupPanelTrigger",""]],hostAttrs:["aria-haspopup","true"],hostVars:3,hostBindings:function(a,b){a&2&&gf("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 KL=function(){};KL.\u0275fac=function(a){return new (a||KL)};KL.\u0275mod=Ic({type:KL});KL.\u0275inj=rc({imports:[sw,cz,sx,iC,JC,py,pJ]});var Jnc=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)};Jnc.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};
Jnc.prototype.destroy=function(){var a=this._textarea;a&&(a.remove(),this._textarea=void 0)};var LL=function(a){this._document=a};LL.prototype.copy=function(a){a=new Jnc(a,this._document);var b=a.copy();a.destroy();return b};LL.\u0275fac=function(a){return new (a||LL)(u(fh))};LL.\u0275prov=qc({token:LL,factory:LL.\u0275fac,providedIn:"root"});new Rc("CDK_COPY_TO_CLIPBOARD_CONFIG");var ML=function(a,b,c,d){WD.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=FL};U(ML,WD);ML.\u0275dir=WD.\u0275dir;var xn=function(a,b){a.clipboard.copy(b.value);a.trigger.close()};ML.prototype.getIssueUrl=function(){return this.getAppBaseUrl(this.isExternalIssue)};
ML.prototype.getAppBaseUrl=function(a){return mK(this.currentTracker,this.issueId,void 0,void 0===a?!1:a)};ML.\u0275fac=function(a){return new (a||ML)(C(gs),C(lK),C(LL),C(CF))};
ML.\u0275cmp=Gc({type:ML,selectors:[["b-issue-id-picker"]],viewQuery:function(a,b){a&1&&Uf(JL,5);if(a&2){var c;Tf(c=Wf())&&(b.trigger=c.first)}},inputs:{componentId:"componentId",issueId:"issueId",issueTitle:"issueTitle",isExternalIssue:"isExternalIssue",disabled:"disabled",enableHotkeys:"enableHotkeys",showCopyOptions:"showCopyOptions"},features:[bf],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&&(G(0,"button",0),M("click",function(){b.clipboard.copy(b.issueId);DF(b.butterBar,"Issue ID copied",2E3)}),R(1),Q(2,yFa,1,0,"mat-icon",1),H(),Q(3,KFa,7,5,"ng-container",2));a&2&&(qf("square-right",b.showCopyOptions),gf("aria-label",
"Copy issue number "+b.issueId),z(1),Df(" ",b.issueId," "),z(1),F("ngIf",!b.showCopyOptions),z(1),F("ngIf",b.showCopyOptions))},dependencies:[fx,ew,uA,EL,Jz,LB,IL,JL],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 NL=function(){};NL.prototype.ngOnInit=function(){};NL.prototype.onClick=function(a){a.stopPropagation()};NL.\u0275fac=function(a){return new (a||NL)};
NL.\u0275cmp=Gc({type:NL,selectors:[["b-issue-id-cell"]],hostBindings:function(a,b){a&1&&M("click",function(c){return b.onClick(c)})},inputs:{id:"id"},decls:2,vars:2,consts:[[3,"isReady"],[3,"issueId","showCopyOptions",4,"ngIf"],[3,"issueId","showCopyOptions"]],template:function(a,b){a&1&&(G(0,"b-async-data-placeholder",0),Q(1,LFa,1,2,"b-issue-id-picker",1),H());a&2&&(F("isReady",!!b.id),z(1),F("ngIf",b.id))},dependencies:[cK,ew,ML],encapsulation:2,changeDetection:0});var OL=function(){this.priority=this.issue=null;this.isDataLoaded=!1};OL.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};OL.\u0275fac=function(a){return new (a||OL)};
OL.\u0275cmp=Gc({type:OL,selectors:[["b-issue-priority-cell"]],inputs:{issue:"issue"},features:[Zc],decls:4,vars:3,consts:[[1,"nowrap",3,"isReady"],[4,"ngIf","ngIfElse"],["noData",""],[3,"issuePriority"]],template:function(a,b){a&1&&(G(0,"b-async-data-placeholder",0),Q(1,MFa,2,1,"ng-container",1),Q(2,NFa,1,0,"ng-template",null,2,Zf),H());if(a&2){var c=Cf(3);F("isReady",b.isDataLoaded);z(1);F("ngIf",b.priority)("ngIfElse",c)}},dependencies:[cK,ew,WH],encapsulation:2,changeDetection:0});var PL=function(a){r.call(this,a,0,PL.messageId)};U(PL,r);f=PL.prototype;f.getName=function(){return V(this,1)};f.setName=function(a){return n(this,1,a)};f.hasName=function(){return wk(this,1)};f.getNameOrUndefined=function(){return dt(this,1)};f.toObject=function(){if(null!=this){t(this);var a={name:p(m(this,1)),duplicateAssistanceEnabled:p(ar(this,2))}}else a=void 0;return a};PL.messageId="b.ComponentRecommendationSettings";var zn=function(a){r.call(this,a,0,zn.messageId)};U(zn,r);zn.prototype.getType=function(){return W(this,2,0)};zn.prototype.setType=function(a){return n(this,2,a)};zn.prototype.hasType=function(){return fj(this,2)};zn.prototype.toObject=function(){return Knc(this)};var Knc=function(a){if(null!=a)return t(a),{type:p(kr(a,2)),rejectionReason:p(kr(a,3))}};zn.messageId="b.UserEngagement";var yn=function(a){r.call(this,a,0,yn.messageId)};U(yn,r);yn.prototype.getParent=function(){return V(this,1)};yn.prototype.setParent=function(a){return n(this,1,a)};yn.prototype.toObject=function(){return Lnc(this)};var Lnc=function(a){if(null!=a)return t(a),{parent:p(m(a,1)),userEngagement:Knc(Z(a,zn,2))}};yn.messageId="b.BatchCreateUserEngagementsRequest";var Mnc=function(a){r.call(this,a,0,Mnc.messageId)};U(Mnc,r);f=Mnc.prototype;f.getResource=function(){return V(this,1)};f.setResource=function(a){return n(this,1,a)};f.getType=function(){return W(this,2,0)};f.setType=function(a){return n(this,2,a)};f.hasType=function(){return fj(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(kr(this,2)),minConfidence:p(kr(this,3)),pageSize:p(Os(this,4)),pageToken:p(m(this,5)),view:p(kr(this,6))}}else a=void 0;return a};Mnc.messageId="b.LookupRecommendationsRequest";var An=function(a){r.call(this,a)};U(An,r);f=An.prototype;f.getContentCase=function(){return Ci(this,SFa)};f.getName=function(){return V(this,1)};f.setName=function(a){return n(this,1,a)};f.hasName=function(){return wk(this,1)};f.getNameOrUndefined=function(){return dt(this,1)};f.getSource=function(){return V(this,2)};f.setSource=function(a){return n(this,2,a)};f.hasSource=function(){return wk(this,2)};f.getSourceOrUndefined=function(){return dt(this,2)};f.getResource=function(){return V(this,3)};
f.setResource=function(a){return n(this,3,a)};f.getType=function(){return W(this,4,0)};f.setType=function(a){return n(this,4,a)};f.hasType=function(){return fj(this,4)};f.getScore=function(){return hj(this,6)};f.setScore=function(a){Ns(this,6,a)};f.getConfidence=function(){return W(this,7,0)};f.getCreateTime=function(){return Z(this,Ch,8)};var SFa=[9];An.prototype.toObject=function(){return Nnc(this)};
var Nnc=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(kr(a,4)),recommendation:p(m(a,5)),score:p(Gs(a,6)),confidence:p(kr(a,7)),createTime:yt(a.getCreateTime()),recommendedIssue:JD(Sj(a,vj,9,SFa))}};var QL=function(a){r.call(this,a,0,QL.messageId)};U(QL,r);QL.prototype.getRequestsList=function(){return aj(this,yn,1)};QL.prototype.setRequestsList=function(a){return dj(this,1,a)};QL.prototype.addAndReturnRequests=function(){return zb(this,1,yn)};QL.repeatedFields_=[1];QL.prototype.toObject=function(){if(null!=this){t(this);var a={requestsList:Kb(this.getRequestsList(),Lnc)}}else a=void 0;return a};QL.messageId="b.BatchCreateUserEngagementsRequest";var RL=function(a){r.call(this,a,0,RL.messageId)};U(RL,r);RL.prototype.getNextPageToken=function(){return V(this,2)};RL.prototype.getTotalSize=function(){return gj(this,3)};RL.repeatedFields_=[1];RL.prototype.toObject=function(){if(null!=this){t(this);var a={recommendationsList:Kb(aj(this,An,1),Nnc),nextPageToken:p(m(this,2)),totalSize:p(m(this,3))}}else a=void 0;return a};RL.messageId="b.LookupRecommendationsResponse";var SL=function(a){this.executor=a},Onc=function(a,b){var c=(new Mnc).setResource(b.resource).setType(X8b[b.type]).setPageSize(b.pageSize).setPageToken(b.pageToken);c=n(c,6,Y8b[b.view]);void 0!==b.minConfidence&&n(c,3,I8b[b.minConfidence]);return a.executor.post({url:"action/recommendations/lookup",body:c,responseConstructor:RL}).pipe(D(WFa))},Pnc=function(a,b){a=a.executor;var c=a.put,d="action/components/"+b.componentId+"/recommendationSettings",e=(new PL).setName("components/"+b.componentId+"/recommendationSettings");
b=Lj(e,2,b.duplicateAssistanceEnabled);return c.call(a,{url:d,body:b,responseConstructor:PL}).pipe(D(OFa))};SL.\u0275fac=function(a){return new (a||SL)(u(LC))};SL.\u0275prov=qc({token:SL,factory:SL.\u0275fac,providedIn:"root"});var TL=function(a){RE.call(this);this.recommendationsService=a;this.recordType="issueRecommendations";this.idForRecord=function(b){return b.issueId+"-"+b.recommendationType};this.isEqual=Mh};U(TL,RE);TL.prototype.fetchOne=function(a){a=Qnc(a);var b=a.issueId,c=a.recommendationType;return Onc(this.recommendationsService,{resource:"issues/"+b,type:c,minConfidence:"MEDIUM",pageSize:5,view:"FULL"}).pipe(D(function(d){return{issueId:b,recommendationType:c,recommendations:d.recommendations}}),Ce(function(){return(0,E.of)(void 0)}))};
TL.prototype.copy=function(a){return a&&Nh(a)};var Qnc=function(a){var b=k(a.split("-"));a=b.next().value;b=b.next().value;return{issueId:a,recommendationType:b}};TL.\u0275fac=function(a){return new (a||TL)(u(SL))};TL.\u0275prov=qc({token:TL,factory:TL.\u0275fac,providedIn:"root"});new Promise(function(){});var UL=function(a,b){this.checker=a;this.document=b},Rnc=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?Rnc(a,b[c]):null;if(d)return d}return null};UL.\u0275fac=function(a){return new (a||UL)(u(cx),u(fh))};UL.\u0275prov=qc({token:UL,factory:UL.\u0275fac,providedIn:"root"});var VL=function(a,b){this.elementRef=a;this.interactivityHelper=b};VL.prototype.ngOnInit=function(){};VL.prototype.focus=function(){var a=Rnc(this.interactivityHelper,this.elementRef.nativeElement,!0);a&&a.focus()};hh.Object.defineProperties(VL.prototype,{element:{configurable:!0,enumerable:!0,get:function(){return this.elementRef.nativeElement}}});VL.\u0275fac=function(a){return new (a||VL)(C(vd),C(UL))};VL.\u0275dir=Kc({type:VL,selectors:[["tr","row",""]],inputs:{row:"row"}});var WL=function(){};WL.\u0275fac=function(a){return new (a||WL)};WL.\u0275mod=Ic({type:WL});WL.\u0275inj=rc({});var Snc=function(a,b){By.call(this,a);this.directives=a;this.isEqual=b};U(Snc,By);var En=function(a,b){var c;return he(function(d){if(1==d.nextAddress)return d.yield((0,E.firstValueFrom)(a.directives.changes.pipe(Re(a.directives.toArray()),D(function(e){return e.find(function(g){return a.isEqual(g.row,b)})}),ye(Boolean),Ae(3E3))),2);c=d.yieldResult;zy(a,c);me(d)})};var Tnc=new Rc("GMAT_LEGACY_TABS_OPTION");var Unc=new Rc("MatInkBarPositioner",{providedIn:"root",factory:function(){return function(a){return{left:a?(a.offsetLeft||0)+"px":"0",width:a?(a.offsetWidth||0)+"px":"0"}}}});var Vnc=Kg("translateTab",[Ng("center, void, left-origin-center, right-origin-center",Mg({transform:"none"})),Ng("left",Mg({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),Ng("right",Mg({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),Og("* => left, * => right, left => center, right => center",Lg("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),Og("void => left-origin-center",[Mg({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),
Lg("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),Og("void => right-origin-center",[Mg({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),Lg("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])]);var Wnc=function(a){return{animationDuration:a}},Xnc=function(a,b){return{value:a,params:b}},XL=function(a,b,c,d){rx.call(this,a,b,d);this._host=c;this._leavingSub=this._centeringSub=E.Subscription.EMPTY};U(XL,rx);
XL.prototype.ngOnInit=function(){var a=this;rx.prototype.ngOnInit.call(this);this._centeringSub=this._host._beforeCentering.pipe(Re(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()})};XL.prototype.ngOnDestroy=function(){rx.prototype.ngOnDestroy.call(this);this._centeringSub.unsubscribe();this._leavingSub.unsubscribe()};
XL.\u0275fac=function(a){return new (a||XL)(C(cv),C(Rf),C(wc(function(){return YL})),C(fh))};XL.\u0275dir=Kc({type:XL,selectors:[["","matTabBodyHost",""]],features:[bf]});
var ZL=function(a,b,c){var d=this;this._elementRef=a;this._dir=b;this._dirChangeSubscription=E.Subscription.EMPTY;this._translateTabComplete=new E.Subject;this._onCentering=new Gv;this._beforeCentering=new Gv;this._afterLeavingCenter=new Gv;this._onCentered=new Gv(!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=ZL.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"};hh.Object.defineProperties(ZL.prototype,{position:{configurable:!0,enumerable:!0,set:function(a){this._positionIndex=a;this._computePositionAnimationState()}}});
ZL.\u0275fac=function(a){return new (a||ZL)(C(vd),C(Cy,8),C(Yv))};ZL.\u0275dir=Kc({type:ZL,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}});var YL=function(a,b,c){ZL.call(this,a,b,c)};U(YL,ZL);YL.\u0275dir=ZL.\u0275dir;
YL.\u0275fac=function(a){return new (a||YL)(C(vd),C(Cy,8),C(Yv))};
YL.\u0275cmp=Gc({type:YL,selectors:[["mat-tab-body"]],viewQuery:function(a,b){a&1&&Uf(rx,5);if(a&2){var c;Tf(c=Wf())&&(b._portalHost=c.first)}},hostAttrs:[1,"mat-mdc-tab-body"],features:[bf],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-mdc-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(a,b){a&1&&(G(0,"div",0,1),M("@translateTab.start",function(c){return b._onTranslateTabStarted(c)})("@translateTab.done",function(c){return b._translateTabComplete.next(c)}),Q(2,YFa,
0,0,"ng-template",2),H());a&2&&F("@translateTab",Kf(3,Xnc,b._position,Jf(1,Wnc,b.animationDuration)))},dependencies:[XL],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:[Vnc]}});var Ync=new Rc("MatTabContent");var Znc=new Rc("MAT_TABS_CONFIG");var $nc=sg({passive:!0}),$L=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 E.Subject;this._showPaginationControls=!1;this._disableScrollBefore=this._disableScrollAfter=!0;this._stopScrolling=new E.Subject;this._disablePagination=!1;this._selectedIndex=0;this.selectFocusedIndex=new Gv;this.indexFocused=new Gv;
e.runOutsideAngular(function(){(0,E.fromEvent)(a.nativeElement,"mouseleave").pipe(Te(l._destroyed)).subscribe(function(){l._stopInterval()})})};f=$L.prototype;f.ngAfterViewInit=function(){var a=this;(0,E.fromEvent)(this._previousPaginator.nativeElement,"touchstart",$nc).pipe(Te(this._destroyed)).subscribe(function(){a._handlePaginatorPress("before")});(0,E.fromEvent)(this._nextPaginator.nativeElement,"touchstart",$nc).pipe(Te(this._destroyed)).subscribe(function(){a._handlePaginatorPress("after")})};
f.ngAfterContentInit=function(){var a=this,b=this._dir?this._dir.change:(0,E.of)("ltr"),c=this._viewportRuler.change(150),d=function(){a.updatePagination();a._alignInkBarToSelectedTab()};this._keyManager=MXb(vy(yy(xy(new By(this._items),this._getLayoutDirection()))),function(){return!1});zy(this._keyManager,this._selectedIndex);this._ngZone.onStable.pipe(Ge()).subscribe(d);(0,E.merge)(b,c,this._items.changes,this._itemsResized()).pipe(Te(this._destroyed)).subscribe(function(){a._ngZone.run(function(){Promise.resolve().then(function(){a._scrollDistance=
Math.max(0,Math.min(a._getMaxScrollDistance(),a._scrollDistance));d()})});xy(a._keyManager,a._getLayoutDirection())});this._keyManager.change.subscribe(function(e){a.indexFocused.emit(e);a._setTabFocus(e)})};
f._itemsResized=function(){var a=this;return"function"!==typeof ResizeObserver?E.EMPTY:this._items.changes.pipe(Re(this._items),Se(function(b){return new E.Observable(function(c){return a._ngZone.runOutsideAngular(function(){var d=new ResizeObserver(function(e){return c.next(e)});b.forEach(function(e){return d.observe(e.elementRef.nativeElement)});return function(){d.disconnect()}})})}),Qe(1),ye(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(!Bg(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)?aoc(this._inkBar,a):this._inkBar.hide()};f._stopInterval=function(){this._stopScrolling.next()};
f._handlePaginatorPress=function(a,b){var c=this;b&&null!=b.button&&0!==b.button||(this._stopInterval(),(0,E.timer)(650,100).pipe(Te((0,E.merge)(this._stopScrolling,this._destroyed))).subscribe(function(){var d=c._scrollHeader(a),e=d.maxScrollDistance;d=d.distance;(0===d||d>=e)&&c._stopInterval()}))};
f._scrollTo=function(a){if(this.disablePagination)return{maxScrollDistance:0,distance:0};var b=this._getMaxScrollDistance();this._scrollDistance=Math.max(0,Math.min(b,a));this._scrollDistanceChanged=!0;this._checkScrollingControls();return{maxScrollDistance:b,distance:this._scrollDistance}};
hh.Object.defineProperties($L.prototype,{disablePagination:{configurable:!0,enumerable:!0,get:function(){return this._disablePagination},set:function(a){this._disablePagination=xg(a)}},selectedIndex:{configurable:!0,enumerable:!0,get:function(){return this._selectedIndex},set:function(a){a=Ag(a);this._selectedIndex!=a&&(this._selectedIndexChanged=!0,this._selectedIndex=a,this._keyManager&&zy(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)}}});$L.\u0275fac=function(a){return new (a||$L)(C(vd),C(Yv),C(My),C(Cy,8),C(We),C(bx),C(ev,8))};$L.\u0275dir=Kc({type:$L,inputs:{disablePagination:"disablePagination"}});var boc=kh(function(){}),aM=function(a){var b=boc.call(this)||this;b.elementRef=a;return b};U(aM,boc);aM.prototype.focus=function(){this.elementRef.nativeElement.focus()};aM.\u0275fac=function(a){return new (a||aM)(C(vd))};aM.\u0275dir=Kc({type:aM,features:[bf]});XFa(aM);var bM=function(a,b,c,d,e,g,h){$L.call(this,a,b,c,d,e,g,h);this._disableRipple=!1};U(bM,$L);bM.prototype._itemSelected=function(a){a.preventDefault()};hh.Object.defineProperties(bM.prototype,{disableRipple:{configurable:!0,enumerable:!0,get:function(){return this._disableRipple},set:function(a){this._disableRipple=xg(a)}}});bM.\u0275fac=function(a){return new (a||bM)(C(vd),C(Yv),C(My),C(Cy,8),C(We),C(bx),C(ev,8))};bM.\u0275dir=Kc({type:bM,inputs:{disableRipple:"disableRipple"},features:[bf]});var coc=new Rc("MatTabLabel"),doc=new Rc("MAT_TAB"),cM=function(a,b,c){nx.call(this,a,b);this._closestTab=c};U(cM,qx);cM.\u0275fac=function(a){return new (a||cM)(C(Qf),C(Rf),C(doc,8))};cM.\u0275dir=Kc({type:cM,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[Gf([{provide:coc,useExisting:cM}]),bf]});var eoc=kh(function(){}),foc=new Rc("MAT_TAB_GROUP"),dM=function(a,b){var c=eoc.call(this)||this;c._viewContainerRef=a;c._closestTabGroup=b;c.textLabel="";c._contentPortal=null;c._stateChanges=new E.Subject;c.position=null;c.origin=null;c.isActive=!1;return c};U(dM,eoc);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 nx(this._explicitContent||this._implicitContent,this._viewContainerRef)};dM.prototype._setTemplateLabelInput=function(a){a&&a._closestTab===this&&(this._templateLabel=a)};hh.Object.defineProperties(dM.prototype,{content:{configurable:!0,enumerable:!0,get:function(){return this._contentPortal}}});dM.\u0275fac=function(a){return new (a||dM)(C(Rf),C(foc,8))};
dM.\u0275dir=Kc({type:dM,viewQuery:function(a,b){a&1&&Uf(Qf,7);if(a&2){var c;Tf(c=Wf())&&(b._implicitContent=c.first)}},inputs:{textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},features:[bf,Zc]});var goc=0,hoc=ih(jh(function(a){this._elementRef=a}),"primary"),eM=function(a,b,c,d){a=hoc.call(this,a)||this;a._changeDetectorRef=b;a._animationMode=d;a._tabs=new Xf;a._indexToSelect=0;a._lastFocusedTabIndex=null;a._tabBodyWrapperHeight=0;a._tabsSubscription=E.Subscription.EMPTY;a._tabLabelSubscription=E.Subscription.EMPTY;a._dynamicHeight=!1;a._selectedIndex=null;a.headerPosition="above";a._disablePagination=!1;a._preserveContent=!1;a.selectedIndexChange=new Gv;a.focusChange=new Gv;a.animationDone=
new Gv;a.selectedTabChange=new Gv(!0);a._groupId=goc++;a.animationDuration=c&&c.animationDuration?c.animationDuration:"500ms";a.disablePagination=c&&null!=c.disablePagination?c.disablePagination:!1;a.dynamicHeight=c&&null!=c.dynamicHeight?c.dynamicHeight:!1;var e;a.contentTabIndex=null!=(e=null==c?void 0:c.contentTabIndex)?e:null;a.preserveContent=!(null==c||!c.preserveContent);return a};U(eM,hoc);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(Re(this._allTabs)).subscribe(function(b){a._tabs.reset(b.filter(function(c){return c._closestTabGroup===a||!c._closestTabGroup}));Sf(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 ioc;b.index=a;this._tabs&&this._tabs.length&&(b.tab=this._tabs.toArray()[a]);return b};f._subscribeToTabLabels=function(){var a=this;this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe();this._tabLabelSubscription=E.merge.apply(null,Vc(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)};
hh.Object.defineProperties(eM.prototype,{dynamicHeight:{configurable:!0,enumerable:!0,get:function(){return this._dynamicHeight},set:function(a){this._dynamicHeight=xg(a)}},selectedIndex:{configurable:!0,enumerable:!0,get:function(){return this._selectedIndex},set:function(a){this._indexToSelect=Ag(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=Ag(a,null)}},disablePagination:{configurable:!0,enumerable:!0,get:function(){return this._disablePagination},set:function(a){this._disablePagination=xg(a)}},preserveContent:{configurable:!0,enumerable:!0,get:function(){return this._preserveContent},set:function(a){this._preserveContent=xg(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)(C(vd),C(Yv),C(Znc,8),C(ev,8))};
eM.\u0275dir=Kc({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:[bf]});var ioc=function(){};var joc=0,fM=function(a,b,c,d,e,g,h){$L.call(this,a,d,e,b,c,g,h);this._disableRipple=!1;this.color="primary"};U(fM,$L);fM.prototype._itemSelected=function(){};fM.prototype.ngAfterContentInit=function(){var a=this;this._items.changes.pipe(Re(null),Te(this._destroyed)).subscribe(function(){koc(a)});$L.prototype.ngAfterContentInit.call(this)};
var koc=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")};
hh.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=xg(a)}}});
fM.\u0275fac=function(a){return new (a||fM)(C(vd),C(Cy,8),C(We),C(Yv),C(My),C(bx),C(ev,8))};fM.\u0275dir=Kc({type:fM,inputs:{backgroundColor:"backgroundColor",disableRipple:"disableRipple",color:"color",tabPanel:"tabPanel"},features:[bf]});
var loc=lh(jh(kh(function(){}))),gM=function(a,b,c,d,e,g){var h=loc.call(this)||this;h._tabNavBar=a;h.elementRef=b;h._focusMonitor=e;h._isActive=!1;h.id="mat-tab-link-"+joc++;h.rippleConfig=c||{};h.tabIndex=parseInt(d)||0;"NoopAnimations"===g&&(h.rippleConfig.animation={enterDuration:0,exitDuration:0});return h};U(gM,loc);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.disabled||32!==a.keyCode&&13!==a.keyCode?this._tabNavBar.tabPanel&&32===a.keyCode&&this.elementRef.nativeElement.click():a.preventDefault()};f._getAriaControls=function(){var a;return this._tabNavBar.tabPanel?null==(a=this._tabNavBar.tabPanel)?void 0:a.id:this.elementRef.nativeElement.getAttribute("aria-controls")};
f._getAriaSelected=function(){return this._tabNavBar.tabPanel?this.active?"true":"false":this.elementRef.nativeElement.getAttribute("aria-selected")};f._getAriaCurrent=function(){return this.active&&!this._tabNavBar.tabPanel?"page":null};f._getRole=function(){return this._tabNavBar.tabPanel?"tab":this.elementRef.nativeElement.getAttribute("role")};f._getTabIndex=function(){return this._tabNavBar.tabPanel?this._isActive&&!this.disabled?0:-1:this.tabIndex};
hh.Object.defineProperties(gM.prototype,{active:{configurable:!0,enumerable:!0,get:function(){return this._isActive},set:function(a){a=xg(a);a!==this._isActive&&(this._isActive=a,koc(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)(C(fM),C(vd),C(OYb,8),od("tabindex"),C(ix),C(ev,8))};
gM.\u0275dir=Kc({type:gM,inputs:{active:"active",id:"id"},features:[bf]});XFa(gM);var hM=function(a,b,c,d){this._elementRef=a;this._ngZone=b;this._inkBarPositioner=c;this._animationMode=d},aoc=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)(C(vd),C(We),C(Unc),C(ev,8))};hM.\u0275dir=Kc({type:hM,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(a,b){a&2&&qf("_mat-animation-noopable","NoopAnimations"===b._animationMode)}});var moc=function(a){return{animationDuration:a}},noc=function(a,b){return{value:a,params:b}},iM=function(a,b,c,d){XL.call(this,a,b,c,d)};U(iM,XL);iM.\u0275fac=function(a){return new (a||iM)(C(cv),C(Rf),C(wc(function(){return jM})),C(fh))};iM.\u0275dir=Kc({type:iM,selectors:[["","matTabBodyHost",""]],features:[bf]});var jM=function(a,b,c){ZL.call(this,a,b,c)};U(jM,ZL);jM.\u0275dir=ZL.\u0275dir;jM.\u0275fac=function(a){return new (a||jM)(C(vd),C(Cy,8),C(Yv))};
jM.\u0275cmp=Gc({type:jM,selectors:[["mat-tab-body"]],viewQuery:function(a,b){a&1&&Uf(rx,5);if(a&2){var c;Tf(c=Wf())&&(b._portalHost=c.first)}},hostAttrs:[1,"mat-tab-body"],features:[bf],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(a,b){a&1&&(G(0,"div",0,1),M("@translateTab.start",function(c){return b._onTranslateTabStarted(c)})("@translateTab.done",function(c){return b._translateTabComplete.next(c)}),Q(2,ZFa,0,0,"ng-template",
2),H());a&2&&F("@translateTab",Kf(3,noc,b._position,Jf(1,moc,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:[Vnc]}});var kM=function(){return aM.apply(this,arguments)||this};U(kM,aM);kM.\u0275fac=function(){var a;return function(b){return(a||(a=td(kM)))(b||kM)}}();kM.\u0275dir=Kc({type:kM,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(a,b){a&2&&(gf("aria-disabled",!!b.disabled),qf("mat-tab-disabled",b.disabled))},inputs:{disabled:"disabled"},features:[bf]});var ooc=["tabListContainer"],poc=["tabList"],qoc=["tabListInner"],roc=["nextPaginator"],soc=["previousPaginator"],lM=function(a,b,c,d,e,g,h){bM.call(this,a,b,c,d,e,g,h)};U(lM,bM);lM.\u0275dir=bM.\u0275dir;lM.\u0275fac=function(a){return new (a||lM)(C(vd),C(Yv),C(My),C(Cy,8),C(We),C(bx),C(ev,8))};
lM.\u0275cmp=Gc({type:lM,selectors:[["mat-tab-header"]],contentQueries:function(a,b,c){a&1&&Vf(c,kM,4);if(a&2){var d;Tf(d=Wf())&&(b._items=d)}},viewQuery:function(a,b){a&1&&(Uf(hM,7),Uf(ooc,7),Uf(poc,7),Uf(qoc,7),Uf(roc,5),Uf(soc,5));if(a&2){var c;Tf(c=Wf())&&(b._inkBar=c.first);Tf(c=Wf())&&(b._tabListContainer=c.first);Tf(c=Wf())&&(b._tabList=c.first);Tf(c=Wf())&&(b._tabListInner=c.first);Tf(c=Wf())&&(b._nextPaginator=c.first);Tf(c=Wf())&&(b._previousPaginator=c.first)}},hostAttrs:[1,"mat-tab-header"],
hostVars:4,hostBindings:function(a,b){a&2&&qf("mat-tab-header-pagination-controls-enabled",b._showPaginationControls)("mat-tab-header-rtl","rtl"==b._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[bf],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&&(xf(),G(0,"button",0,1),M("click",function(){return b._handlePaginatorClick("before")})("mousedown",function(c){return b._handlePaginatorPress("before",c)})("touchend",function(){return b._stopInterval()}),I(2,"div",2),H(),G(3,"div",3,4),M("keydown",function(c){return b._handleKeydown(c)}),G(5,"div",5,6),M("cdkObserveContent",function(){return b._onContentChanges()}),G(7,"div",7,8),yf(9),H(),I(10,"mat-ink-bar"),H()(),G(11,"button",
9,10),M("mousedown",function(c){return b._handlePaginatorPress("after",c)})("click",function(){return b._handlePaginatorClick("after")})("touchend",function(){return b._stopInterval()}),I(13,"div",2),H());a&2&&(qf("mat-tab-header-pagination-disabled",b._disableScrollBefore),F("matRippleDisabled",b._disableScrollBefore||b.disableRipple)("disabled",b._disableScrollBefore||null),z(5),qf("_mat-animation-noopable","NoopAnimations"===b._animationMode),z(6),qf("mat-tab-header-pagination-disabled",b._disableScrollAfter),
F("matRippleDisabled",b._disableScrollAfter||b.disableRipple)("disabled",b._disableScrollAfter||null))},dependencies:[kz,my,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};U(mM,dM);mM.\u0275dir=dM.\u0275dir;hh.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=td(mM)))(b||mM)}}();
mM.\u0275cmp=Gc({type:mM,selectors:[["mat-tab"]],contentQueries:function(a,b,c){a&1&&(Vf(c,coc,5),Vf(c,Ync,7,Qf));if(a&2){var d;Tf(d=Wf())&&(b.templateLabel=d.first);Tf(d=Wf())&&(b._explicitContent=d.first)}},inputs:{disabled:"disabled"},exportAs:["matTab"],features:[Gf([{provide:doc,useExisting:mM}]),bf],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(xf(),Q(0,$Fa,1,0,"ng-template"))},encapsulation:2});var toc=["tabBodyWrapper"],uoc=["tabHeader"],nM=function(a,b,c,d){return eM.call(this,a,b,c,d)||this};U(nM,eM);nM.\u0275dir=eM.\u0275dir;nM.\u0275fac=function(a){return new (a||nM)(C(vd),C(Yv),C(Znc,8),C(ev,8))};
nM.\u0275cmp=Gc({type:nM,selectors:[["mat-tab-group"]],contentQueries:function(a,b,c){a&1&&Vf(c,mM,5);if(a&2){var d;Tf(d=Wf())&&(b._allTabs=d)}},viewQuery:function(a,b){a&1&&(Uf(toc,5),Uf(uoc,5));if(a&2){var c;Tf(c=Wf())&&(b._tabBodyWrapper=c.first);Tf(c=Wf())&&(b._tabHeader=c.first)}},hostAttrs:["ngSkipHydration","",1,"mat-tab-group"],hostVars:4,hostBindings:function(a,b){a&2&&qf("mat-tab-group-dynamic-height",b.dynamicHeight)("mat-tab-group-inverted-header","below"===b.headerPosition)},inputs:{color:"color",
disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[Gf([{provide:foc,useExisting:nM}]),bf],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&&(G(0,"mat-tab-header",0,1),M("indexFocused",function(c){return b._focusChanged(c)})("selectFocusedIndex",function(c){return b.selectedIndex=c}),Q(2,dGa,5,15,"div",2),H(),G(3,"div",3,4),Q(5,eGa,1,11,"mat-tab-body",5),H());a&2&&(F("selectedIndex",b.selectedIndex||0)("disableRipple",b.disableRipple)("disablePagination",b.disablePagination),z(2),F("ngForOf",b._tabs),
z(1),qf("_mat-animation-noopable","NoopAnimations"===b._animationMode),z(2),F("ngForOf",b._tabs))},dependencies:[cw,dw,ew,rx,kz,kx,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)};U(oM,cM);oM.\u0275fac=function(){var a;return function(b){return(a||(a=td(oM)))(b||oM)}}();oM.\u0275dir=Kc({type:oM,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[Gf([{provide:coc,useExisting:oM}]),bf]});var voc=["tabListContainer"],woc=["tabList"],xoc=["tabListInner"],yoc=["nextPaginator"],zoc=["previousPaginator"],pM=function(a,b,c,d,e,g,h){fM.call(this,a,b,c,d,e,g,h)};U(pM,fM);pM.\u0275dir=fM.\u0275dir;pM.\u0275fac=function(a){return new (a||pM)(C(vd),C(Cy,8),C(We),C(Yv),C(My),C(bx),C(ev,8))};
pM.\u0275cmp=Gc({type:pM,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(a,b,c){a&1&&Vf(c,qM,5);if(a&2){var d;Tf(d=Wf())&&(b._items=d)}},viewQuery:function(a,b){a&1&&(Uf(hM,7),Uf(voc,7),Uf(woc,7),Uf(xoc,7),Uf(yoc,5),Uf(zoc,5));if(a&2){var c;Tf(c=Wf())&&(b._inkBar=c.first);Tf(c=Wf())&&(b._tabListContainer=c.first);Tf(c=Wf())&&(b._tabList=c.first);Tf(c=Wf())&&(b._tabListInner=c.first);Tf(c=Wf())&&(b._nextPaginator=c.first);Tf(c=Wf())&&(b._previousPaginator=c.first)}},hostAttrs:[1,"mat-tab-nav-bar",
"mat-tab-header"],hostVars:11,hostBindings:function(a,b){a&2&&(gf("role",b._getRole()),qf("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:[bf],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&&(xf(),G(0,"button",0,1),M("click",function(){return b._handlePaginatorClick("before")})("mousedown",function(c){return b._handlePaginatorPress("before",c)})("touchend",function(){return b._stopInterval()}),I(2,"div",2),H(),G(3,"div",3,4),M("keydown",function(c){return b._handleKeydown(c)}),G(5,"div",5,6),M("cdkObserveContent",function(){return b._onContentChanges()}),
G(7,"div",7,8),yf(9),H(),I(10,"mat-ink-bar"),H()(),G(11,"button",9,10),M("mousedown",function(c){return b._handlePaginatorPress("after",c)})("click",function(){return b._handlePaginatorClick("after")})("touchend",function(){return b._stopInterval()}),I(13,"div",2),H());a&2&&(qf("mat-tab-header-pagination-disabled",b._disableScrollBefore),F("matRippleDisabled",b._disableScrollBefore||b.disableRipple)("disabled",b._disableScrollBefore||null),z(5),qf("_mat-animation-noopable","NoopAnimations"===b._animationMode),
z(6),qf("mat-tab-header-pagination-disabled",b._disableScrollAfter),F("matRippleDisabled",b._disableScrollAfter||b.disableRipple)("disabled",b._disableScrollAfter||null))},dependencies:[kz,my,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 KYb(a,c,b,d);NYb(a._tabLinkRipple,b.nativeElement);return a};U(qM,gM);qM.prototype.ngOnDestroy=function(){gM.prototype.ngOnDestroy.call(this);this._tabLinkRipple._removeTriggerEvents()};qM.\u0275fac=function(a){return new (a||qM)(C(pM),C(vd),C(We),C(bx),C(OYb,8),od("tabindex"),C(ix),C(ev,8))};
qM.\u0275dir=Kc({type:qM,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mat-tab-link","mat-focus-indicator"],hostVars:11,hostBindings:function(a,b){a&1&&M("focus",function(){return b._handleFocus()})("keydown",function(c){return b._handleKeydown(c)});a&2&&(gf("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()),qf("mat-tab-disabled",
b.disabled)("mat-tab-label-active",b.active))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matTabLink"],features:[bf]});var rM=function(){};rM.\u0275fac=function(a){return new (a||rM)};rM.\u0275mod=Ic({type:rM});rM.\u0275inj=rc({imports:[sw,dz,sx,nz,ny,py,dz]});var sM=function(a){this.inkBarPositioner=a};sM.prototype.isEnabled=function(){return this.inkBarPositioner===fGa};sM.\u0275fac=function(a){return new (a||sM)(C(Unc))};sM.\u0275dir=Kc({type:sM,selectors:[["","gmat-tabs",""],["mat-tab-group"],["","mat-tab-nav-bar",""]],hostVars:2,hostBindings:function(a,b){a&2&&qf("gmat-tabs",b.isEnabled())},features:[Gf([{provide:Unc,useFactory:function(a,b,c){return a.nativeElement.hasAttribute("gmat-tabs")||c&&c.enabled?fGa:b},deps:[vd,[new av,Unc],[new $u,Tnc]]}])]});var tM=function(a,b){this.context={};b.createEmbeddedView(a,this.context)};hh.Object.defineProperties(tM.prototype,{xapLet:{configurable:!0,enumerable:!0,set:function(a){var b=new Set(gGa(a));if(void 0!==this.context)for(var c=k(gGa(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)(C(Qf),C(Rf))};tM.\u0275dir=Kc({type:tM,selectors:[["","xapLet",""]],inputs:{xapLet:"xapLet"},standalone:!0});var uM=function(){};uM.\u0275fac=function(a){return new (a||uM)};uM.\u0275mod=Ic({type:uM});uM.\u0275inj=rc({});var Aoc=["input"],Boc=0,Coc=function(a,b){this.source=a;this.value=b},Doc=new Rc("MatRadioGroup"),Eoc=new Rc("mat-radio-default-options",{providedIn:"root",factory:hGa}),vM=function(a){this._changeDetector=a;this._value=null;this._name="mat-radio-group-"+Boc++;this._selected=null;this._isInitialized=!1;this._labelPosition="after";this._required=this._disabled=!1;this._controlValueAccessorChangeFn=function(){};this.onTouched=function(){};this.change=new Gv};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 Coc(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()};
hh.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=xg(a);this._markRadiosForCheck()}},required:{configurable:!0,enumerable:!0,get:function(){return this._required},set:function(a){this._required=xg(a);this._markRadiosForCheck()}}});
vM.\u0275fac=function(a){return new (a||vM)(C(Yv))};vM.\u0275dir=Kc({type:vM,inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required"},outputs:{change:"change"}});
var Foc=jh(lh(function(a){this._elementRef=a})),wM=function(a,b,c,d,e,g,h,l){b=Foc.call(this,b)||this;b._changeDetector=c;b._focusMonitor=d;b._radioDispatcher=e;b._providerOverride=h;b._uniqueId="mat-radio-"+ ++Boc;b.id=b._uniqueId;b.change=new Gv;b._checked=!1;b._value=null;b._removeUniqueSelectionListener=function(){};b.radioGroup=a;b._noopAnimations="NoopAnimations"===g;l&&(b.tabIndex=Ag(l,0));return b};U(wM,Foc);f=wM.prototype;
f.focus=function(a,b){b?jx(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 Coc(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)}};
hh.Object.defineProperties(wM.prototype,{checked:{configurable:!0,enumerable:!0,get:function(){return this._checked},set:function(a){a=xg(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(xg(a))}},
required:{configurable:!0,enumerable:!0,get:function(){return this._required||this.radioGroup&&this.radioGroup.required},set:function(a){this._required=xg(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(){zd()};
wM.\u0275dir=Kc({type:wM,viewQuery:function(a,b){a&1&&Uf(Aoc,5);if(a&2){var c;Tf(c=Wf())&&(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:[bf]});var Goc=function(a){return{enterDuration:a}},Hoc={provide:uw,useExisting:wc(function(){return xM}),multi:!0},xM=function(){vM.apply(this,arguments)};U(xM,vM);xM.\u0275fac=function(){var a;return function(b){return(a||(a=td(xM)))(b||xM)}}();
xM.\u0275dir=Kc({type:xM,selectors:[["mat-radio-group"]],contentQueries:function(a,b,c){a&1&&Vf(c,yM,5);if(a&2){var d;Tf(d=Wf())&&(b._radios=d)}},hostAttrs:["role","radiogroup",1,"mat-radio-group"],exportAs:["matRadioGroup"],features:[Gf([Hoc,{provide:Doc,useExisting:xM}]),bf]});var yM=function(a,b,c,d,e,g,h,l){return wM.call(this,a,b,c,d,e,g,h,l)||this};U(yM,wM);yM.\u0275dir=wM.\u0275dir;yM.\u0275fac=function(a){return new (a||yM)(C(Doc,8),C(vd),C(Yv),C(ix),C(Ly),C(ev,8),C(Eoc,8),od("tabindex"))};
yM.\u0275cmp=Gc({type:yM,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-radio-button"],hostVars:17,hostBindings:function(a,b){a&1&&M("focus",function(){return b._inputElement.nativeElement.focus()});a&2&&(gf("tabindex",null)("id",b.id)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),qf("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:[bf],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&&(xf(),G(0,"label",0,1)(2,"span",2),I(3,"span",3)(4,"span",4),G(5,"input",5,6),M("change",function(d){return b._onInputInteraction(d)})("click",function(d){return b._onInputClick(d)}),H(),G(7,"span",7),I(8,"span",8),H()(),G(9,"span",9)(10,"span",10),R(11,"\u00a0"),H(),yf(12),H()());if(a&2){var c=Cf(1);gf("for",b.inputId);z(5);
F("id",b.inputId)("checked",b.checked)("disabled",b.disabled)("required",b.required);gf("name",b.name)("value",b.value)("aria-label",b.ariaLabel)("aria-labelledby",b.ariaLabelledby)("aria-describedby",b.ariaDescribedby);z(2);F("matRippleTrigger",c)("matRippleDisabled",b._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",Jf(17,Goc,b._noopAnimations?0:150));z(2);qf("mat-radio-label-before","before"==b.labelPosition)}},dependencies:[kz],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 Ioc=["searchInput"],kGa=function(a,b){return{issues:a,tab:b}},Joc={title:"Select an issue.",defaultChoices:[],allowMultipleIds:!1},Koc={SIMILAR_ISSUES:"Similar issues",SEARCH_RESULTS:"Search results",ISSUE_IDS:"Issue IDs"},zM=function(a,b,c,d,e,g,h,l){WD.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({},Joc,this.initialData);
var x;this.currentComponent=null!=(x=this.data.componentId)?x:void 0;this.currentIssueId$=(0,E.defer)(function(){var A;return"issue"===(null==(A=q.data.currentResource)?void 0:A.type)?(0,E.of)(q.data.currentResource.id):E.NEVER});this.selectedIssues=new iJ;this.tableColumns="single-selection title id priority status duplicateCount votes createdTime".split(" ");this.issueUrlFactory=Vl;this.trackByIssueId=function(A,B){return B.issueId};this.issues$=this.issueFridge.watchSet([]);this.similarIssues$=
this.currentIssueId$.pipe(ye(function(){return UD(q.activeSession,"enableSimilarIssuesTabInIssuePicker")}),Se(function(A){return q.issueRecommendationsFridge.watch(A+"-ISSUE_DEDUPLICATION",void 0)}),D(function(A){var B;return null==A?void 0:null==(B=A.recommendations)?void 0:B.map(function(K){var N;return null==(N=K.content)?void 0:N.recommendedIssue})}),D(function(A){var B;return null!=(B=null==A?void 0:A.filter(pi))?B:[]}));this.searchText$=new E.BehaviorSubject("");this.searchTextTrimmed$=this.searchText$.pipe(D(function(A){return A.trim()}),
Fe());this.idsInSearchText$=this.searchTextTrimmed$.pipe(D(lBa),D(rl),Fe(Mh));this.issuesWithIdMatches$=this.idsInSearchText$.pipe(Se(function(A){return q.issueFridge.watchSet(A)}));this.searchResults$=this.searchTextTrimmed$.pipe(De(200),Se(function(A){return q.issuePickerSearchService.search(A,q.data.edgeType,q.data.currentResource,q.currentComponent)}),Re(void 0),Pe({bufferSize:1,refCount:!0}));this.idsToAutoSelect$=this.issuesWithIdMatches$.pipe(D(function(A){return 1!==A.length||4>A[0].issueId.length?
[]:[A[0].issueId]}),Fe(Mh));this.TABS=Koc;this.visibleTabs$=(0,E.combineLatest)([this.similarIssues$.pipe(Re([])),this.issuesWithIdMatches$.pipe(Re([])),this.searchTextTrimmed$.pipe(Re(void 0))]).pipe(D(function(A){var B=k(A);A=B.next().value;var K=B.next().value;B=B.next().value;return[].concat(Vc(A.length?["Similar issues"]:[]),Vc(B?["Search results"]:[]),Vc(K.length?["Issue IDs"]:[]))}),Fe());this.automaticallySelectedTab$=(0,E.combineLatest)([this.searchTextTrimmed$,this.idsToAutoSelect$,this.similarIssues$.pipe(Re([]))]).pipe(D(function(A){A=
k(A);var B=A.next().value,K=A.next().value;A.next();return K.length?"Issue IDs":B?"Search results":"Similar issues"}),Fe());this.automaticallySelectedTabIndex$=this.automaticallySelectedTab$.pipe(Ve(this.visibleTabs$),D(function(A){A=k(A);var B=A.next().value;return A.next().value.indexOf(B)}),Fe());this.correctedDisplayedRows=new Xf;this.lastSelectionTab="none"};U(zM,WD);zM.\u0275dir=WD.\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(snc(this.issuePickerSearchService,this.currentComponent).subscribe())};
zM.prototype.ngAfterViewInit=function(){this.focusManager=yy(new Snc(this.correctedDisplayedRows,function(a,b){return a.issueId===b.issueId}))};var QGa=function(a,b){var c,d;return he(function(e){if(1==e.nextAddress)return e.yield(Cn(),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(pi);a.correctedDisplayedRows.reset(d);Sf(a.correctedDisplayedRows);me(e)})};
zM.prototype.onPressConfirm=function(){var a=this,b,c,d,e,g,h;return he(function(l){if(1==l.nextAddress){if(!a.selectedIssues.size)return l.return();b=[].concat(Vc(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(Loc(a,b[0]),2)}e.call(d,"assistive-issue-picker",g,h,l.yieldResult);me(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 Loc=function(a,b){var c,d;return he(function(e){if(1==e.nextAddress){if("canonical"!==a.data.edgeType)return e.return(0);c=Set;return e.yield((0,E.firstValueFrom)(snc(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)(C(Tz),C(Vz),C(lH),C(TL),C(wL),C(gH),C(gs),C(oy))};
zM.\u0275cmp=Gc({type:zM,selectors:[["assistive-issue-picker-dialog"]],viewQuery:function(a,b){a&1&&(Uf(Ioc,5),Uf(VL,5));if(a&2){var c;Tf(c=Wf())&&(b.inputEl=c.first);Tf(c=Wf())&&(b.displayedRows=c)}},hostBindings:function(a,b){a&1&&M("keydown.control.enter",function(){return b.onPressConfirm()})("keydown.meta.enter",function(){return b.onPressConfirm()})("keydown.escape",function(){return b.onPressCancel()})},features:[bf],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=v();G(0,"div",0)(1,"div",
1);I(2,"mat-icon",2);G(3,"span");R(4,"Close as duplicate of:");H()();G(5,"header",3);I(6,"mat-icon",4);G(7,"input",5,6);M("keydown.arrowdown",function(){return b.focusManager.setActiveItem(0)})("input",function(){w(c);var l=Cf(8);return y(b.searchText$.next(l.value))});H()()();G(9,"mat-tab-group",7);S(10,"async");S(11,"async");Q(12,nGa,4,3,"mat-tab",8);S(13,"async");Q(14,sGa,4,3,"mat-tab",9);S(15,"async");Q(16,xGa,4,3,"mat-tab",10);S(17,"async");H();Q(18,UGa,4,3,"ng-template",null,11,Zf);G(20,"div",
12)(21,"button",13);M("click",function(){return b.onPressCancel()});R(22," Cancel ");H();G(23,"button",14);M("click",function(){return b.onPressConfirm()});S(24,"async");R(25," Close as duplicate ");H()()}if(a&2){var d,e,g,h;z(9);qf("hidden",!(null==(d=T(10,7,b.visibleTabs$))?0:d.length));F("selectedIndex",T(11,9,b.automaticallySelectedTabIndex$));z(3);F("ngIf",null==(e=T(13,11,b.visibleTabs$))?null:e.includes(b.TABS.SIMILAR_ISSUES));z(2);F("ngIf",null==(g=T(15,13,b.visibleTabs$))?null:g.includes(b.TABS.SEARCH_RESULTS));
z(2);F("ngIf",null==(h=T(17,15,b.visibleTabs$))?null:h.includes(b.TABS.ISSUE_IDS));z(7);F("disabled",!T(24,17,b.selectedIssues.size$))}},dependencies:[ew,jw,uA,sM,eK,NL,OL,gK,pK,Jz,Yz,Zz,$z,xM,yM,fL,YK,bL,ZK,XK,cL,$K,aL,dL,eL,nM,mM,LB,sL,VL,tM,kw],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 Moc=function(a,b){return[a,b]},AM=function(){this.size=this.name=""};AM.prototype.ngOnInit=function(){};AM.\u0275fac=function(a){return new (a||AM)};
AM.\u0275cmp=Gc({type:AM,selectors:[["b-icon"]],inputs:{name:"name",size:"size"},decls:1,vars:5,consts:[[3,"svgIcon","ngClass"]],template:function(a,b){a&1&&I(0,"mat-icon",0);a&2&&F("svgIcon",b.name)("ngClass",Kf(2,Moc,b.name,b.size))},dependencies:[cw,uA],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 BM=function(){this.expandable=this.issue=null;this.expanded=!1;this.level=0;this.expansionChange=new Gv;this.title=""};BM.prototype.ngOnChanges=function(){var a,b;this.title=(null==(a=this.issue)?void 0:null==(b=a.snapshot[0])?void 0:b.title)||""};BM.\u0275fac=function(a){return new (a||BM)};
BM.\u0275cmp=Gc({type:BM,selectors:[["b-expandable-issue-title-cell"]],inputs:{issue:"issue",expandable:"expandable",expanded:"expanded",level:"level"},outputs:{expansionChange:"expansionChange"},features:[Zc],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&&(G(0,"div",0),Q(1,VGa,2,3,"button",1),Q(2,WGa,1,0,"div",2),I(3,"b-issue-title-cell",3),H());a&2&&(pf("margin-left",24*b.level,"px"),z(1),F("ngIf",b.expandable),z(1),F("ngIf",!b.expandable),z(1),F("issue",b.issue))},dependencies:[ew,AM,Jz,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 CM=function(){};CM.\u0275fac=function(a){return new (a||CM)};CM.\u0275mod=Ic({type:CM});CM.\u0275inj=rc({imports:[tF]});var DM=function(){};DM.\u0275fac=function(a){return new (a||DM)};DM.\u0275mod=Ic({type:DM});DM.\u0275inj=rc({imports:[py,pJ,sw,iC,cz]});var EM=function(){};EM.\u0275fac=function(a){return new (a||EM)};EM.\u0275mod=Ic({type:EM});EM.\u0275inj=rc({imports:[sw]});var FM=function(){};FM.\u0275fac=function(a){return new (a||FM)};FM.\u0275mod=Ic({type:FM});FM.\u0275inj=rc({});var GM=function(){};GM.\u0275fac=function(a){return new (a||GM)};GM.\u0275mod=Ic({type:GM});GM.\u0275inj=rc({imports:[EM,sw,FM,MB]});var HM=function(){};HM.\u0275fac=function(a){return new (a||HM)};HM.\u0275mod=Ic({type:HM});HM.\u0275inj=rc({providers:[BJ],imports:[yJ]});/*

 Copyright 2005, 2007 Bob Ippolito. All Rights Reserved.
 Copyright The Closure Library Authors.
 SPDX-License-Identifier: MIT
*/
var IM=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};ts(IM,XGa);
IM.prototype.cancel=function(a){if(this.fired_)this.result_ instanceof IM&&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 Noc(this))}};IM.prototype.continue_=function(a,b){this.blocked_=!1;Ooc(this,a,b)};
var Ooc=function(a,b,c){a.fired_=!0;a.result_=c;a.hadError_=!b;Poc(a)},Roc=function(a){if(a.fired_){if(!a.silentlyCanceled_)throw new Qoc(a);a.silentlyCanceled_=!1}};IM.prototype.callback=function(a){Roc(this);Ooc(this,!0,a)};IM.prototype.errback=function(a){Roc(this);Ooc(this,!1,a)};IM.prototype.addCallback=function(a,b){return Soc(this,a,null,b)};var Soc=function(a,b,c,d){a.sequence_.push([b,c,d]);a.fired_&&Poc(a);return a};
IM.prototype.then=function(a,b,c){var d,e,g=new VA(function(h,l){e=h;d=l});Soc(this,e,function(h){h instanceof Noc?g.cancel():d(h);return Toc},this);return g.then(a,b,c)};IM.prototype.$goog_Thenable=!0;IM.prototype.branch=function(a){var b=new IM;Soc(this,b.callback,b.errback,b);a&&(b.parent_=this,this.branches_++);return b};IM.prototype.isError=function(a){return a instanceof Error};
var Uoc=function(a){return LIb(a.sequence_,function(b){return"function"===typeof b[1]})},Toc={},Poc=function(a){if(a.unhandledErrorId_&&a.fired_&&Uoc(a)){var b=a.unhandledErrorId_,c=Voc[b];c&&(ba.clearTimeout(c.id_),delete Voc[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===Toc&&(l=void 0);void 0!==
l&&(a.hadError_=a.hadError_&&(l==b||a.isError(l)),a.result_=b=l);if(I0b(b)||"function"===typeof ba.Promise&&b instanceof ba.Promise)d=!0,a.blocked_=!0}catch(q){b=q,a.hadError_=!0,Uoc(a)||(c=!0)}}a.result_=b;d&&(l=rs(a.continue_,a,!0),d=rs(a.continue_,a,!1),b instanceof IM?(Soc(b,l,d),b.blocking_=!0):b.then(l,d));c&&(b=new Woc(b),Voc[b.id_]=b,a.unhandledErrorId_=b.id_)},Qoc=function(){aa.call(this)};ts(Qoc,aa);Qoc.prototype.message="Deferred has already fired";Qoc.prototype.name="AlreadyCalledError";
var Noc=function(){aa.call(this)};ts(Noc,aa);Noc.prototype.message="Deferred was canceled";Noc.prototype.name="CanceledError";var Woc=function(a){this.id_=ba.setTimeout(rs(this.throwError,this),0);this.error_=a};Woc.prototype.throwError=function(){delete Voc[this.id_];throw this.error_;};var Voc={};var bHa=function(a,b){var c=b||{};b=c.document||document;var d=vh(a).toString(),e=(new LA(b)).createElement("SCRIPT"),g={script_:e,timeout_:void 0},h=new IM(Xoc,g),l=null,q=null!=c.timeout?c.timeout:5E3;0<q&&(l=window.setTimeout(function(){Yoc(e,!0);h.errback(new Zoc(1,"Timeout reached for loading script "+d))},q),g.timeout_=l);e.onload=e.onreadystatechange=function(){e.readyState&&"loaded"!=e.readyState&&"complete"!=e.readyState||(Yoc(e,c.cleanupWhenDone||!1,l),h.callback(null))};e.onerror=function(){Yoc(e,
!0,l);h.errback(new Zoc(0,"Error while loading script "+d))};g=c.attributes||{};Xca(g,{type:"text/javascript",charset:"UTF-8"});i0b(e,g);lRb(e,a);$oc(b).appendChild(e);return h},$oc=function(a){var b=NA("HEAD",a);return b&&0!==b.length?b[0]:a.documentElement},Xoc=function(){if(this&&this.script_){var a=this.script_;a&&"SCRIPT"==a.tagName&&Yoc(a,!0,this.timeout_)}},Yoc=function(a,b,c){null!=c&&ba.clearTimeout(c);a.onload=function(){};a.onerror=function(){};a.onreadystatechange=function(){};b&&window.setTimeout(function(){RA(a)},
0)},Zoc=function(a,b){var c="Jsloader error (code #"+a+")";b&&(c+=": "+b);aa.call(this,c);this.code=a};ts(Zoc,aa);var YGa=null,dHa=new WeakMap;var JM=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;var e=this;this.gapiUrl=a;this.gapiKey=b;this.gapiConfigUpdates=c;this.gapiAuthParams=d;this.gapi=(0,E.defer)(function(){return $Ga().then(function(g){g=g||window.gapi;e.setGapiConfig(g);return fHa(g,{apiKey:e.gapiKey,clientId:e.gapiAuthParams.clientId,scope:e.gapiAuthParams.scope}).then(function(){return g})})})};U(JM,fhc);
JM.prototype.makeRequest=function(a){var b=this;return this.gapi.pipe(se(function(c){var d=(0,E.of)(void 0);void 0!==b.gapiAuthParams.minAuthTokenTimeRemaining&&(d=(0,E.from)(eHa(c,b.gapiAuthParams.minAuthTokenTimeRemaining)));return d.pipe(se(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}))}))}))};
JM.prototype.parseResponse=function(a){return new E.Observable(function(b){a.then(function(c){!1===c.result&&null!=c.body?b.next({data:c.body}):b.next(c.result);b.complete()},function(c){b.error(c.result)})})};JM.prototype.setGapiConfig=function(a){for(var b in this.gapiConfigUpdates)this.gapiConfigUpdates.hasOwnProperty(b)&&cHa(a,b,this.gapiConfigUpdates[b])};var apc=function(a,b,c,d,e){d=void 0===d?{}:d;e=void 0===e?{}:e;JM.call(this,a,c,d,e);this.waldoApiKey=b};U(apc,JM);apc.prototype.makeRequest=function(a){var b=JM.prototype.makeRequest,c=b.call;(a.queryParams||(a.queryParams={})).key=this.waldoApiKey;return c.call(b,this,a)};var VHb=function(a){this.proxiedService=a};U(VHb,fhc);VHb.prototype.makeRequest=function(a){var b=this;return(0,E.defer)(function(){return b.proxiedService.makeRequest(a)})};var bpc=new Rc("environment"),cpc={"client/cors":!0,"googleapis.config/auth/useFirstPartyAuth":!0,"googleapis.config/auth/useFirstPartyAuthV2":!0},KM=function(){};KM.\u0275fac=function(a){return new (a||KM)};KM.\u0275mod=Ic({type:KM});KM.\u0275inj=rc({imports:[sw,eI]});var LM=function(){};LM.\u0275fac=function(a){return new (a||LM)};LM.\u0275mod=Ic({type:LM});LM.\u0275inj=rc({imports:[sw,HM,GM,KM]});var MM=function(){};MM.\u0275fac=function(a){return new (a||MM)};MM.\u0275mod=Ic({type:MM});MM.\u0275inj=rc({imports:[tF,LM,DM]});var NM=function(){};NM.\u0275fac=function(a){return new (a||NM)};NM.\u0275mod=Ic({type:NM});NM.\u0275inj=rc({imports:[tF]});var OM=function(){};OM.\u0275fac=function(a){return new (a||OM)};OM.\u0275mod=Ic({type:OM});OM.\u0275inj=rc({imports:[py,tF,GL,iC,JC,KL]});var dpc=["theInput"],PM=function(){this.placeholder=this.value="";this.readonly=!1;this.autoFocus=!0;this.valueChange=new Gv;this.commit=new Gv};PM.prototype.ngAfterViewInit=function(){this.autoFocus&&this.input.nativeElement.focus()};PM.\u0275fac=function(a){return new (a||PM)};
PM.\u0275cmp=Gc({type:PM,selectors:[["b-text-input-cell"]],viewQuery:function(a,b){a&1&&Uf(dpc,5);if(a&2){var c;Tf(c=Wf())&&(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&&(G(0,"input",0,1),M("keydown.enter",function(c){b.readonly||b.commit.emit(c)})("ngModelChange",
function(c){return b.valueChange.emit(c)}),H());a&2&&(qf("readonly",b.readonly)("override",b.readonly),F("placeholder",b.placeholder)("disabled",b.readonly)("ngModel",b.value))},dependencies:[og,Fw,Lw],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 QM=function(){};QM.\u0275fac=function(a){return new (a||QM)};QM.\u0275mod=Ic({type:QM});QM.\u0275inj=rc({imports:[tF,tG,iC]});var RM=function(){};RM.\u0275fac=function(a){return new (a||RM)};RM.\u0275mod=Ic({type:RM});RM.\u0275inj=rc({imports:[tF,DM,QM]});var SM=function(){};SM.\u0275fac=function(a){return new (a||SM)};SM.\u0275mod=Ic({type:SM});SM.\u0275inj=rc({imports:[tF,DM,iC]});var TM=function(){pG.apply(this,arguments)};U(TM,pG);hh.Object.defineProperties(TM.prototype,{routerLinkObj:{configurable:!0,enumerable:!0,set:function(a){this.queryParams=a.queryParams;this.routerLink=a.path;this.fragment=a.fragment}}});TM.\u0275fac=function(){var a;return function(b){return(a||(a=td(TM)))(b||TM)}}();TM.\u0275dir=Kc({type:TM,selectors:[["a","routerLinkObj",""],["area","routerLinkObj",""]],inputs:{routerLinkObj:"routerLinkObj"},features:[bf]});var UM=function(){};
UM.\u0275fac=function(a){return new (a||UM)};UM.\u0275mod=Ic({type:UM});UM.\u0275inj=rc({imports:[tF,tG]});var VM=function(){};VM.\u0275fac=function(a){return new (a||VM)};VM.\u0275mod=Ic({type:VM});VM.\u0275inj=rc({imports:[tF]});var WM=function(){};WM.\u0275fac=function(a){return new (a||WM)};WM.\u0275mod=Ic({type:WM});WM.\u0275inj=rc({imports:[tF]});var XM=function(){};XM.\u0275fac=function(a){return new (a||XM)};XM.\u0275mod=Ic({type:XM});XM.\u0275inj=rc({imports:[VM,hJ,tF,CM,$w,WM,OM,NM,iC,MM,UM,tG,RM,SM]});var YM=function(){};YM.\u0275fac=function(a){return new (a||YM)};YM.\u0275mod=Ic({type:YM});YM.\u0275inj=rc({imports:[dz,sw,dz]});var ZM=function(){};ZM.\u0275fac=function(a){return new (a||ZM)};ZM.\u0275mod=Ic({type:ZM});ZM.\u0275inj=rc({imports:[tF,YM]});var $M=function(){};$M.\u0275fac=function(a){return new (a||$M)};$M.\u0275mod=Ic({type:$M});$M.\u0275inj=rc({imports:[sw,rM]});var aN=function(){};aN.\u0275fac=function(a){return new (a||aN)};aN.\u0275mod=Ic({type:aN});aN.\u0275inj=rc({imports:[nz,dz,dz]});var bN=function(){DK.apply(this,arguments)};U(bN,DK);bN.\u0275fac=function(){var a;return function(b){return(a||(a=td(bN)))(b||bN)}}();bN.\u0275dir=Kc({type:bN,selectors:[["","matCellDef",""]],features:[Gf([{provide:DK,useExisting:bN}]),bf]});var cN=function(){EK.apply(this,arguments)};U(cN,EK);cN.\u0275fac=function(){var a;return function(b){return(a||(a=td(cN)))(b||cN)}}();cN.\u0275dir=Kc({type:cN,selectors:[["","matHeaderCellDef",""]],features:[Gf([{provide:EK,useExisting:cN}]),bf]});
var dN=function(){return FK.apply(this,arguments)||this};U(dN,FK);dN.prototype._updateColumnCssClassName=function(){FK.prototype._updateColumnCssClassName.call(this);this._columnCssClassName.push("mat-column-"+this.cssClassFriendlyName)};hh.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=td(dN)))(b||dN)}}();
dN.\u0275dir=Kc({type:dN,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[Gf([{provide:FK,useExisting:dN},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:dN}]),bf]});var eN=function(){GK.apply(this,arguments)};U(eN,GK);eN.\u0275fac=function(){var a;return function(b){return(a||(a=td(eN)))(b||eN)}}();
eN.\u0275dir=Kc({type:eN,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[bf]});var fN=function(){HK.apply(this,arguments)};U(fN,HK);fN.\u0275fac=function(){var a;return function(b){return(a||(a=td(fN)))(b||fN)}}();fN.\u0275dir=Kc({type:fN,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[bf]});var gN=function(){return KK.apply(this,arguments)||this};U(gN,KK);gN.\u0275fac=function(){var a;return function(b){return(a||(a=td(gN)))(b||gN)}}();gN.\u0275dir=Kc({type:gN,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[Gf([{provide:KK,useExisting:gN}]),bf]});var hN=function(){MK.apply(this,arguments)};U(hN,MK);hN.\u0275fac=function(){var a;return function(b){return(a||(a=td(hN)))(b||hN)}}();
hN.\u0275dir=Kc({type:hN,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[Gf([{provide:MK,useExisting:hN}]),bf]});var iN=function(){};U(iN,OK);iN.\u0275fac=function(){var a;return function(b){return(a||(a=td(iN)))(b||iN)}}();
iN.\u0275cmp=Gc({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:[Gf([{provide:OK,useExisting:iN}]),bf],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&vf(0,0)},dependencies:[NK],encapsulation:2});var jN=function(){};U(jN,PK);jN.\u0275fac=function(){var a;return function(b){return(a||(a=td(jN)))(b||jN)}}();
jN.\u0275cmp=Gc({type:jN,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[Gf([{provide:PK,useExisting:jN}]),bf],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&vf(0,0)},dependencies:[NK],encapsulation:2});var epc=[[["caption"]],[["colgroup"],["col"]]],kN=function(){UK.apply(this,arguments);this.stickyCssClass="mat-mdc-table-sticky";this.needsPositionStickyOnElement=!1};U(kN,UK);kN.prototype.ngOnInit=function(){UK.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=td(kN)))(b||kN)}}();
kN.\u0275cmp=Gc({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&&qf("mdc-table-fixed-layout",b.fixedLayout)},exportAs:["matTable"],features:[Gf([{provide:UK,useExisting:kN},{provide:CK,useExisting:kN},{provide:Pmc,useClass:IK},{provide:dYb,useClass:bYb},{provide:Wmc,useValue:null}]),bf],ngContentSelectors:["caption","colgroup, col"],decls:6,vars:0,consts:[["headerRowOutlet",
""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(a){a&1&&(xf(epc),yf(0),yf(1,1),vf(2,0)(3,1)(4,2)(5,3))},dependencies:[QK,RK,SK,TK],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=Ic({type:lN});lN.\u0275inj=rc({imports:[dz,WK,dz]});var mN=function(){};mN.\u0275fac=function(a){return new (a||mN)};mN.\u0275mod=Ic({type:mN});mN.\u0275inj=rc({imports:[WK,dz,dz]});var nN=function(){};nN.\u0275fac=function(a){return new (a||nN)};nN.\u0275mod=Ic({type:nN});nN.\u0275inj=rc({providers:[{provide:Tnc,useValue:{enabled:!0}}],imports:[tF,$M,XM,iC,aA,aN,mN,rM,JC,ZM,WL,uM]});var oN=function(a){var b=this;this.elementRef=a;this.eventType="click";this.clickOutside=new Gv;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)(C(vd))};oN.\u0275dir=Kc({type:oN,selectors:[["","clickOutside",""]],inputs:{eventType:["clickOutsideEvent","eventType"]},outputs:{clickOutside:"clickOutside"}});var pN=function(){};pN.\u0275fac=function(a){return new (a||pN)};pN.\u0275mod=Ic({type:pN});pN.\u0275inj=rc({});var qN=function(){};qN.\u0275fac=function(a){return new (a||qN)};qN.\u0275cmp=Gc({type:qN,selectors:[["b-glue"]],ngContentSelectors:["*"],decls:2,vars:0,consts:[[1,"no-wrapping"]],template:function(a){a&1&&(xf(),G(0,"span",0),yf(1),H())},styles:['.no-wrapping[_ngcontent-%COMP%] {\n  white-space: nowrap;\n}\n\n.no-wrapping[_ngcontent-%COMP%]::after {\n  content: "\\002060"\n}'],changeDetection:0});var fpc=["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)(C(LL),C(AF),C(SJ))};
rN.\u0275cmp=Gc({type:rN,selectors:[["b-broken-link"]],viewQuery:function(a,b){a&1&&Uf(fpc,7);if(a&2){var c;Tf(c=Wf())&&(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&&(xf(),G(0,"a",0,1),M("click",function(d){d.preventDefault();d.stopPropagation();b.opened=!b.opened}),G(2,"b-glue"),I(3,"mat-icon",2),H(),G(4,"span",null,3),yf(6),H()(),Q(7,gHa,11,3,"ng-template",4));if(a&2){var c=Cf(1);z(7);F("cdkConnectedOverlayPush",
!0)("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",b.opened)}},dependencies:[uA,bz,az,oN,qN,Jz,LB],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 gpc=new Rc("mat-checkbox-default-options",{providedIn:"root",factory:hHa});var hpc=["input"],ipc=["label"],jpc={provide:uw,useExisting:wc(function(){return sN}),multi:!0},kpc=function(){},lpc=0,mpc=hHa(),npc=lh(ih(jh(kh(function(a){this._elementRef=a})))),tN=function(a,b,c,d,e,g,h){b=npc.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 Gv;b.indeterminateChange=new Gv;b._onTouched=function(){};b._currentAnimationClass="";b._currentCheckState=0;b._controlValueAccessorChangeFn=
function(){};b._checked=!1;b._disabled=!1;b._indeterminate=!1;b._options=b._options||mpc;b.color=b.defaultColor=b._options.color||mpc.color;b.tabIndex=parseInt(e)||0;b.id=b._uniqueId=a+ ++lpc;return b};U(tN,npc);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)};
hh.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=xg(a)}},checked:{configurable:!0,enumerable:!0,get:function(){return this._checked},set:function(a){a=xg(a);a!=this.checked&&(this._checked=a,this._changeDetectorRef.markForCheck())}},disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},
set:function(a){a=xg(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=xg(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(){zd()};
tN.\u0275dir=Kc({type:tN,viewQuery:function(a,b){a&1&&(Uf(hpc,5),Uf(ipc,5),Uf(kz,5));if(a&2){var c;Tf(c=Wf())&&(b._inputElement=c.first);Tf(c=Wf())&&(b._labelElement=c.first);Tf(c=Wf())&&(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:[bf]});
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};
U(sN,tN);sN.\u0275dir=tN.\u0275dir;f=sN.prototype;f.focus=function(){this._inputElement.nativeElement.focus()};f._createChangeEvent=function(a){var b=new kpc;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)(C(vd),C(Yv),C(We),od("tabindex"),C(ev,8),C(gpc,8))};
sN.\u0275cmp=Gc({type:sN,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-mdc-checkbox"],hostVars:12,hostBindings:function(a,b){a&2&&(wf("id",b.id),gf("tabindex",null)("aria-label",null)("aria-labelledby",null),qf("_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:[Gf([jpc]),
bf],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&&(xf(),G(0,"div",0),M("click",function(d){return b._preventBubblingFromLabel(d)}),G(1,"div",1,2)(3,"div",3),M("click",function(){return b._onTouchTargetClick()}),H(),G(4,"input",4,5),M("blur",function(){return b._onBlur()})("click",function(){return b._onInputClick()})("change",
function(d){return b._onInteractionEvent(d)}),H(),I(6,"div",6),G(7,"div",7),jd(),G(8,"svg",8),I(9,"path",9),H(),kd(),I(10,"div",10),H(),I(11,"div",11),H(),G(12,"label",12,13),yf(14),H()());if(a&2){var c=Cf(2);qf("mdc-form-field--align-end","before"==b.labelPosition);z(4);qf("mdc-checkbox--selected",b.checked);F("checked",b.checked)("indeterminate",b.indeterminate)("disabled",b.disabled)("id",b.inputId)("required",b.required)("tabIndex",b.tabIndex);gf("aria-label",b.ariaLabel||null)("aria-labelledby",
b.ariaLabelledby)("aria-describedby",b.ariaDescribedby)("name",b.name)("value",b.value);z(7);F("matRippleTrigger",c)("matRippleDisabled",b.disableRipple||b.disabled)("matRippleCentered",!0);z(1);F("for",b.inputId)}},dependencies:[kz],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=Ic({type:uN});uN.\u0275inj=rc({});var opc=function(a){return{enterDuration:a}},ppc=function(){},qpc={provide:uw,useExisting:wc(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};U(vN,tN);vN.\u0275dir=tN.\u0275dir;f=vN.prototype;f._createChangeEvent=function(a){var b=new ppc;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?jx(this._focusMonitor,this._inputElement,a,b):this._inputElement.nativeElement.focus(b)};vN.\u0275fac=function(a){return new (a||vN)(C(vd),C(Yv),C(ix),C(We),od("tabindex"),C(ev,8),C(gpc,8))};
vN.\u0275cmp=Gc({type:vN,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-checkbox"],hostVars:14,hostBindings:function(a,b){a&2&&(wf("id",b.id),gf("tabindex",null)("aria-label",null)("aria-labelledby",null),qf("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:[Gf([qpc]),bf],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&&(xf(),G(0,"label",0,1)(2,"span",2)(3,"input",3,4),M("change",
function(e){return b._onInteractionEvent(e)})("click",function(e){return b._onInputClick(e)}),H(),G(5,"span",5),I(6,"span",6),H(),I(7,"span",7),G(8,"span",8),jd(),G(9,"svg",9),I(10,"path",10),H(),kd(),I(11,"span",11),H()(),G(12,"span",12,13),M("cdkObserveContent",function(){return b._onLabelTextChange()}),G(14,"span",14),R(15,"\u00a0"),H(),yf(16),H()());if(a&2){var c=Cf(1),d=Cf(13);gf("for",b.inputId);z(2);qf("mat-checkbox-inner-container-no-side-margin",!d.textContent||!d.textContent.trim());z(1);
F("id",b.inputId)("required",b.required)("checked",b.checked)("disabled",b.disabled)("tabIndex",b.tabIndex);gf("value",b.value)("name",b.name)("aria-label",b.ariaLabel||null)("aria-labelledby",b.ariaLabelledby)("aria-describedby",b.ariaDescribedby);z(2);F("matRippleTrigger",c)("matRippleDisabled",b._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",Jf(18,opc,"NoopAnimations"===b._animationMode?0:150))}},dependencies:[kz,my],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 rpc=function(){this.checked=!1};rpc.\u0275fac=function(a){return new (a||rpc)};rpc.\u0275cmp=Gc({type:rpc,selectors:[["b-checkbox-widget"]],inputs:{checked:"checked"},decls:1,vars:2,consts:[["gmat-checkbox","",3,"disabled","checked"]],template:function(a,b){a&1&&I(0,"mat-checkbox",0);a&2&&F("disabled",!0)("checked",b.checked)},dependencies:[vN],encapsulation:2,changeDetection:0});var spc=["el"],wN=function(a,b,c){WD.call(this);this.domSafe=a;this.clipboard=b;this.snackBar=c;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.opened=!1};U(wN,WD);wN.\u0275dir=WD.\u0275dir;wN.prototype.ngOnInit=function(){};wN.prototype.ngAfterViewInit=function(){var a=this;this.cdkConnectedOverlay.attach.pipe(Te(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 tpc=function(a){var b=a.getNgContentParentEl(),c,d;if(d=vEa(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 jHa=function(a,b){wEa(b)||(b.preventDefault(),b.stopPropagation(),Hn(a.domSafe,a.href))};wN.prototype.copyToClipboard=function(){this.clipboard.copy(this.originalHref);this.snackBar.open("URL copied","",{duration:2E3})};
var lHa=function(a,b){b.preventDefault();if(a=a.cdkConnectedOverlay.overlayRef.overlayElement){var c=a.querySelector("a");c&&setTimeout(function(){c.focus()})}},kHa=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)(C(SJ),C(LL),C(AF))};
wN.\u0275cmp=Gc({type:wN,selectors:[["b-external-hyperlink-widget"]],viewQuery:function(a,b){a&1&&(Uf(spc,7),Uf(bz,7));if(a&2){var c;Tf(c=Wf())&&(b.el=c.first);Tf(c=Wf())&&(b.cdkConnectedOverlay=c.first)}},inputs:{originalHref:"originalHref",href:"href"},features:[bf],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&&(xf(),G(0,"a",0,1),M("click",function(d){wEa(d)||(d.preventDefault(),d.stopPropagation(),tpc(b)?
b.opened=!b.opened:jHa(b,d))}),Q(2,iHa,2,0,"b-glue",2),G(3,"span",null,3),yf(5),H()(),Q(6,mHa,6,3,"ng-template",4));if(a&2){var c=Cf(1);qf("needs-user-confirm",tpc(b));F("href",b.originalHref,Md)("rel",b.EXTERNAL_LINK_REL);z(2);F("ngIf",tpc(b));z(4);F("cdkConnectedOverlayPush",!0)("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",b.opened)}},dependencies:[ew,uA,bz,az,oN,qN,Jz,LB],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)(u(uI))};xN.\u0275prov=qc({token:xN,factory:xN.\u0275fac,providedIn:"root"});var upc=["child"],yN=function(a){this.codefont=a};yN.prototype.ngOnInit=function(){};yN.prototype.ngOnChanges=function(){uEa(this.child.nativeElement,this.content.content)};yN.\u0275fac=function(a){return new (a||yN)(C(xN))};
yN.\u0275cmp=Gc({type:yN,selectors:[["b-literal-format-presenter"]],viewQuery:function(a,b){a&1&&Uf(upc,7);if(a&2){var c;Tf(c=Wf())&&(b.child=c.first)}},inputs:{content:"content"},features:[Zc],decls:3,vars:4,consts:[[1,"type-m","child"],["child",""]],template:function(a,b){a&1&&(G(0,"div",0,1),S(2,"async"),H());a&2&&qf("codefont",T(2,2,b.codefont.codefont$))},dependencies:[kw],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(D(function(c){return c.textDisplayPreferences?c.textDisplayPreferences:{}}),Fe());this.textDisplayPreferences$.pipe(D(function(c){return c.lastPublishMode===aac}),Fe());this.commentDisplayOverride$=this.textDisplayPreferences$.pipe(D(function(c){return c.commentDisplayOverride}),Fe())};zN.\u0275fac=function(a){return new (a||zN)(u(gs),u(uI))};
zN.\u0275prov=qc({token:zN,factory:zN.\u0275fac,providedIn:"root"});var AN=function(){this.isMentioningMe=!1};AN.prototype.ngOnInit=function(){this.username=this.email.replace(/@google.com$/,"")};AN.\u0275fac=function(a){return new (a||AN)};
AN.\u0275cmp=Gc({type:AN,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&&(G(0,"span",0,1),R(2),H(),G(3,"onedev-hovercard",null,2),I(5,"b-issue-person-card",3),H());if(a&2){var c=Cf(4);qf("me",b.isMentioningMe);F("onedevHovercardTrigger",c);z(2);Df("@",b.username,"");z(3);F("email",b.email)}},dependencies:[UJ,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 BN=function(a){r.call(this,a,0,BN.messageId)};U(BN,r);BN.prototype.getUrl=function(){return V(this,1)};BN.prototype.setUrl=function(a){return n(this,1,a)};BN.prototype.hasUrl=function(){return wk(this,1)};BN.prototype.toObject=function(){if(null!=this){t(this);var a={url:p(m(this,1))}}else a=void 0;return a};BN.messageId="b.ImageRedirectRequest";var CN=function(a){r.call(this,a,0,CN.messageId)};U(CN,r);CN.prototype.getUrl=function(){return V(this,1)};CN.prototype.setUrl=function(a){return n(this,1,a)};CN.prototype.hasUrl=function(){return wk(this,1)};CN.prototype.toObject=function(){if(null!=this){t(this);var a={url:p(m(this,1))}}else a=void 0;return a};CN.messageId="b.ImageRedirectResponse";var DN=function(a){this.executor=a},vpc=function(a,b){var c=new BN;c.setUrl(b);return a.executor.post({url:"action/imageRedirect",body:c,responseConstructor:CN}).pipe(D(function(d){return d.getUrl()}))};DN.\u0275fac=function(a){return new (a||DN)(u(LC))};DN.\u0275prov=qc({token:DN,factory:DN.\u0275fac,providedIn:"root"});var EN=function(a){var b=this;this.imageRedirector=a;this.src$=new E.BehaviorSubject("");this.showImage$=new E.BehaviorSubject(!1);this.error$=new E.BehaviorSubject(!1);this.srcTruncated$=this.src$.pipe(D(function(c){var d=c;d=void 0===d?"":d;var e=void 0===e?48:e;c=[].concat(Vc(d));c.length<=e?c=d:(d=Math.floor(e/2),e=d-(0!==e%2?1:2),d=c.slice(0,d-1).join(""),c=c.slice(-e).join(""),null!=String.prototype.trimEnd&&null!=String.prototype.trimStart&&(d=d.trimEnd(),c=c.trimStart()),c=d+"..."+c);return c}));
this.srcRedirected$=(0,E.combineLatest)([this.src$,this.showImage$]).pipe(ye(function(c){c=k(c);c.next();return c.next().value}),Se(function(c){var d=k(c).next().value;return(c=Fva(d))?(0,E.of)(c):vpc(b.imageRedirector,d).pipe(Ce(function(){b.error$.next(!0);return d}))}))};EN.prototype.trigger=function(a){a.preventDefault();a.stopPropagation();this.showImage$.next(!0)};
hh.Object.defineProperties(EN.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}}});EN.\u0275fac=function(a){return new (a||EN)(C(DN))};
EN.\u0275cmp=Gc({type:EN,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&&(Q(0,oHa,3,4,"ng-container",0),S(1,"async"),Q(2,pHa,8,9,"ng-template",null,1,Zf),Q(4,qHa,2,3,"ng-template",null,
2,Zf));if(a&2){var c=Cf(5);F("ngIf",!1===T(1,2,b.error$))("ngIfElse",c)}},dependencies:[ew,uA,LB,qN,kw],styles:["a[_ngcontent-%COMP%]{word-break:break-all;margin:0 2px}a[_ngcontent-%COMP%]:hover{text-decoration:underline}mat-icon[_ngcontent-%COMP%]{vertical-align:middle;line-height:18px;margin-top:-3px;margin-right:1px}img[_ngcontent-%COMP%]{max-width:100%}/*# sourceMappingURL=secure_image.css.map */"],changeDetection:0});var wpc={HIDE:"HIDE",COLLAPSE:"COLLAPSE",SHOW:"SHOW"},FN=function(a,b){var c=this;this.activeSession=a;this.userPreferencesManager=b;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.DisplayMode=wpc;this.src$=new E.BehaviorSubject("");this.isMarkdownImage$=new E.BehaviorSubject(!1);this.displayMode$=(0,E.combineLatest)([this.src$,this.userPreferencesManager.showInlineImages$,this.isMarkdownImage$]).pipe(D(function(d){var e=k(d);d=e.next().value;var g=e.next().value;e=e.next().value;return d&&
UD(c.activeSession,"enableImageSummary")&&c.activeSession.isInternalSession()?!g&&e?"COLLAPSE":g?"SHOW":"HIDE":"HIDE"}),Re("HIDE"))};hh.Object.defineProperties(FN.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}}});FN.\u0275fac=function(a){return new (a||FN)(C(gs),C(uI))};
FN.\u0275cmp=Gc({type:FN,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&&(Q(0,tHa,5,5,"ng-container",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.src$))},dependencies:[ew,fw,gw,EN,kw],styles:["[_nghost-%COMP%]   b-secure-image-widget.thumbnail[_ngcontent-%COMP%]{display:inline-block;margin-top:8px;margin-bottom:8px;max-width:70%}[_nghost-%COMP%]   b-secure-image-widget.thumbnail[_ngcontent-%COMP%]     img{border:2px solid;border-color:#e8eaed;border-color:var(--c200);border-radius:8px;min-width:18px;min-height:18px;max-width:100%;max-height:350px}/*# sourceMappingURL=snipit_image.css.map */"],
changeDetection:0});var xpc=Symbol(),ypc=Symbol(),zpc=Symbol(),Apc=Symbol(),Bpc=Symbol(),Cpc=Symbol(),GN=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=[]},Fpc=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"))&&Bva(h)&&e&&vEa(e)&&h===e.textContent&&(g=e.nextSibling,Dpc(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,x=g.dataset.bImgRedirectedSrc;
uHa(g);if(q){var A=g.dataset.bImgAlt;if(Bva(q))Dpc(h,g,q,A,l,!0);else if(UD(h.flags.session,"enableMarkdownInlineImages"))g=h.createComponent(EN,g,l),l=g.instance,l.src=q,A&&(l.alt=A),h.secureImageRefs.push(g);else{var B=document.createElement("a");A?B.appendChild(document.createTextNode(A)):B.appendChild(document.createTextNode(q));g.appendChild(B);Epc(h,B,q,x||q,l)}}break;case "checkbox":h=a;A=c;q=null!=g.dataset.bCheckboxChecked;uHa(g);g=h.createComponent(rpc,g,A);g.instance.checked=q;h.checkboxRefs.push(g);
break;case "url":h=a;q=c;A=g.dataset.bOriginalHref;l=g.dataset.bRedirectedHref;A&&l&&(g.removeAttribute("href"),Epc(h,g,A,l,q));break;case "broken-url":h=a;l=c;if(A=g.dataset.bOriginalHref){q=Array.from(g.childNodes);g=h.createComponent(rN,g,l);l=g.instance;l.originalHref=A;A=l.getNgContentParentEl();q=k(q);for(l=q.next();!l.done;l=q.next())A.appendChild(l.value);h.brokenLinkRefs.push(g)}break;case "mention":a.session.isInternalSession()&&(A=void 0,h=a,l=c,q="","@"===(null==(A=g.textContent)?void 0:
A[0])&&(q=g.textContent.slice(1)),uHa(g),g=h.createComponent(AN,g,l),A=g.instance,A.email=q,A.isMentioningMe=h.session.getUserEmail()===q,h.mentionChipRefs.push(g));break;case "issue-reference":B=void 0;h=a;var K=c;q=g.href;A=g.dataset.bIssueId;l=g.dataset.bCommentNumber;if(q&&A){x=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,K);K=B.instance;K.href=q;K.issueId=A;K.commentNumber=x;q=K.el.nativeElement;
A=k(l);for(l=A.next();!l.done;l=A.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))};GN.prototype.ngOnDestroy=function(){Gpc(this)};
var Dpc=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(FN,h,e);e=b.instance;e.src=c;e.alt=d;e.isMarkdownImage=g;a.snipItImageRefs.push(b)},Epc=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)};
GN.prototype.createComponent=function(a,b,c){c={environmentInjector:this.appRef.injector,elementInjector:c.injector};a=a[Hc]||null;var d=c.elementInjector||Sea();c=(new bg(a)).create(d,c.projectableNodes,c.hostElement,c.environmentInjector);b.appendChild(c.location.nativeElement);WTb(this.appRef,c.hostView);this.allComponentRefs.push(c);return c};
var Gpc=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=[]};GN.prototype[xpc]=function(){return this.secureImageRefs.slice()};GN.prototype[ypc]=function(){return this.snipItImageRefs.slice()};GN.prototype[zpc]=function(){return this.checkboxRefs.slice()};GN.prototype[Apc]=function(){return this.externalHyperlinkRefs.slice()};
GN.prototype[Bpc]=function(){return this.brokenLinkRefs.slice()};GN.prototype[Cpc]=function(){return this.issueReferenceRefs.slice()};GN.\u0275fac=function(a){return new (a||GN)(u(Wv),u(zN),u(gs))};GN.\u0275prov=qc({token:GN,factory:GN.\u0275fac});var Hpc=["child"],Ipc=Symbol(),HN=function(a,b,c){this.dynamicComponents=a;this.codefont=b;this.viewContainerRef=c};HN.prototype.ngOnInit=function(){};HN.prototype.ngOnChanges=function(){Gpc(this.dynamicComponents);var a=this.child.nativeElement;uEa(a,this.content.content);Fpc(this.dynamicComponents,a,this.viewContainerRef)};HN.prototype.ngOnDestroy=function(){Gpc(this.dynamicComponents)};HN.prototype[Ipc]=function(){return this.dynamicComponents};
HN.\u0275fac=function(a){return new (a||HN)(C(GN,2),C(xN),C(Rf))};
HN.\u0275cmp=Gc({type:HN,selectors:[["b-markdown-format-presenter"]],viewQuery:function(a,b){a&1&&Uf(Hpc,7);if(a&2){var c;Tf(c=Wf())&&(b.child=c.first)}},inputs:{content:"content"},features:[Gf([{provide:GN,useClass:GN}]),Zc],decls:3,vars:4,consts:[[1,"type-m","markdown-display"],["child",""]],template:function(a,b){a&1&&(G(0,"div",0,1),S(2,"async"),H());a&2&&qf("codefont",T(2,2,b.codefont.codefont$))},dependencies:[kw],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 Jpc=["child"],Kpc=function(){return"[_nghost-%COMP%]     a:visited{color:#7627bb;color:var(--link-visited)}"},IN=function(a){this.codefont=a};IN.prototype.ngOnInit=function(){};IN.\u0275fac=function(a){return new (a||IN)(C(xN))};
IN.\u0275cmp=Gc({type:IN,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&&(G(0,"div",0),S(1,"async"),Q(2,vHa,2,1,"ng-container",1),H());a&2&&(qf("codefont",T(1,3,b.codefont.codefont$)),z(2),F("ngForOf",b.content.plainSection))},dependencies:function(){return[dw,JN,kw]},styles:[Kpc()],changeDetection:0});var JN=function(){};JN.prototype.ngOnInit=function(){};
JN.\u0275fac=function(a){return new (a||JN)};JN.\u0275cmp=Gc({type:JN,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&&(J(0),Q(1,wHa,1,1,"b-plain-format-quoted-section",0),Q(2,xHa,1,1,"b-plain-format-unquoted-section",0),L());a&2&&(z(1),F("ngIf",b.section.isQuoted),z(1),F("ngIf",!b.section.isQuoted))},dependencies:function(){return[ew,KN,LN]},encapsulation:2,changeDetection:0});
var KN=function(){this.showQuote=!1;Lpc++;this.childId="plainFormatQuotedSection"+Lpc};KN.prototype.ngOnInit=function(){};KN.prototype.ngOnChanges=function(){yHa(this)};var yHa=function(a){var b=a.child.nativeElement;a.showQuote?uEa(b,a.section.content):tEa(b)};KN.\u0275fac=function(a){return new (a||KN)};
KN.\u0275cmp=Gc({type:KN,selectors:[["b-plain-format-quoted-section"]],viewQuery:function(a,b){a&1&&Uf(Jpc,7);if(a&2){var c;Tf(c=Wf())&&(b.child=c.first)}},inputs:{section:"section"},features:[Zc],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&&(G(0,"div"),Q(1,zHa,2,1,"a",0),Q(2,AHa,2,1,"a",1),I(3,"div",2,3),H());a&2&&(z(1),F("ngIf",!b.showQuote),z(1),F("ngIf",b.showQuote),z(1),F("id",b.childId))},dependencies:[ew],styles:[Kpc()],changeDetection:0});var Lpc=0,LN=function(a,b){this.dynamicComponents=a;this.viewContainerRef=b};LN.prototype.ngOnInit=function(){};
LN.prototype.ngOnChanges=function(){Gpc(this.dynamicComponents);var a=this.child.nativeElement;uEa(a,this.section.content);Fpc(this.dynamicComponents,a,this.viewContainerRef)};LN.\u0275fac=function(a){return new (a||LN)(C(GN,2),C(Rf))};
LN.\u0275cmp=Gc({type:LN,selectors:[["b-plain-format-unquoted-section"]],viewQuery:function(a,b){a&1&&Uf(Jpc,7);if(a&2){var c;Tf(c=Wf())&&(b.child=c.first)}},inputs:{section:"section"},features:[Gf([{provide:GN,useClass:GN}]),Zc],decls:2,vars:0,consts:[[1,"child"],["child",""]],template:function(a){a&1&&I(0,"div",0,1)},encapsulation:2,changeDetection:0});var MN=function(){};MN.prototype.ngOnInit=function(){};MN.\u0275fac=function(a){return new (a||MN)};
MN.\u0275cmp=Gc({type:MN,selectors:[["b-formatted-comment-presenter"]],inputs:{formattedComment:"formattedComment"},decls:3,vars:3,consts:[[4,"ngIf"],[3,"content"]],template:function(a,b){a&1&&(Q(0,BHa,2,1,"ng-container",0),Q(1,CHa,2,1,"ng-container",0),Q(2,DHa,2,1,"ng-container",0));a&2&&(F("ngIf",b.formattedComment.literalFormat),z(1),F("ngIf",b.formattedComment.markdownFormat),z(1),F("ngIf",b.formattedComment.plainFormat))},dependencies:[ew,yN,HN,IN],encapsulation:2,changeDetection:0});var NN=function(a){r.call(this,a,0,NN.messageId)};U(NN,r);f=NN.prototype;f.getFormattingMode=function(){return W(this,1,0)};f.setFormattingMode=function(a){return n(this,1,a)};f.getSource=function(){return V(this,2)};f.setSource=function(a){return n(this,2,a)};f.hasSource=function(){return wk(this,2)};f.getSourceOrUndefined=function(){return dt(this,2)};f.getIssueId=function(){return gj(this,3)};f.setIssueId=function(a){return n(this,3,a)};f.getIdPrefix=function(){return V(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(kr(this,1)),source:p(m(this,2)),issueId:p(m(this,3)),idPrefix:p(m(this,4)),audience:p(kr(this,6)),currentTrackerId:p(m(this,7))}}else a=void 0;return a};NN.messageId="b.FormatCommentRequest";var ON=function(a){r.call(this,a,0,ON.messageId)};U(ON,r);ON.prototype.getFormattedComment=function(){return Z(this,Ej,1)};ON.prototype.hasFormattedComment=function(){return Dj(this,Ej,1)};ON.prototype.getMentionsList=function(){return aj(this,GD,2)};ON.repeatedFields_=[2];ON.prototype.toObject=function(){if(null!=this){t(this);var a={formattedComment:f$b(this.getFormattedComment()),mentionsList:Kb(this.getMentionsList(),y$b)}}else a=void 0;return a};ON.messageId="b.FormatCommentResponse";var PN=function(a,b){this.executor=a;this.currentTrackerId=b};PN.prototype.format=function(a){return"LITERAL"===a.formattingMode||""===a.comment.trim()?EHa(a):Mpc(this,a).pipe(D(function(b){return b.hasFormattedComment()?ura(b.getFormattedComment()):{}}))};
var Npc=function(a,b){if("LITERAL"===b.formattingMode||""===b.comment.trim())return(0,E.of)([]);var c=new NN;c.setSource(b.comment);var d;c.setIssueId(null!=(d=ji(b.issueId))?d:0);n(c,6,K8b[b.audience]);c.setFormattingMode(Gta(b.formattingMode));c.setIdPrefix(b.idPrefix);return Mpc(a,b).pipe(D(function(e){return e.getMentionsList().map(function(g){return ei(g.getMentionedUser())||""})}))},Mpc=function(a,b){var c,d=(new NN).setSource(b.comment).setIssueId(null!=(c=ji(b.issueId))?c:0);b=n(d,6,K8b[b.audience]).setFormattingMode(Gta(b.formattingMode)).setIdPrefix(b.idPrefix);
(c=a.currentTrackerId.getTrackerId())&&b.setCurrentTrackerId(c);return a.executor.post({url:"action/formatComment",body:b,responseConstructor:ON})};PN.\u0275fac=function(a){return new (a||PN)(u(LC),u(XD))};PN.\u0275prov=qc({token:PN,factory:PN.\u0275fac,providedIn:"root"});var QN=function(a){WD.call(this);var b=this;this.formatter=a;this.issueId="";this.audience="EXTERNAL_AUDIENCE";this.formattingMode="LITERAL";this.params$=new E.ReplaySubject(1);this.formattedResult$=this.params$.pipe(De(200),Se(function(c){return b.formatter.format(c).pipe(Opc,Ce(function(){var d={literalFormat:{content:rta(Eg(c.comment))}};return(0,E.of)({formattedComment:d,isFallback:!0})}))}))};U(QN,WD);QN.\u0275dir=WD.\u0275dir;
QN.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()})}))};QN.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()})};
QN.prototype.getIdPrefix=function(){return this.idPrefix||"b"+this.issueId+"-draft"};QN.\u0275fac=function(a){return new (a||QN)(C(PN))};
QN.\u0275cmp=Gc({type:QN,selectors:[["b-live-preview"]],inputs:{comment:"comment",comment$:"comment$",issueId:"issueId",audience:"audience",formattingMode:"formattingMode",idPrefix:"idPrefix"},features:[bf,Zc],decls:2,vars:3,consts:[[4,"ngIf"],[1,"md-preview"],[3,"formattedComment"]],template:function(a,b){a&1&&(Q(0,FHa,3,5,"ng-container",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.formattedResult$))},dependencies:[ew,MN,kw],styles:["[_nghost-%COMP%]{display:block}.md-preview[_ngcontent-%COMP%]{min-height:32px;margin-top:16px}.md-preview[_ngcontent-%COMP%]{box-sizing:border-box;padding:8px;background-color:#f8f9fa;background-color:var(--c50);border-radius:4px}.md-preview.error[_ngcontent-%COMP%]{background-color:#fef4f3;background-color:var(--bad-bg-pale);box-shadow:inset 0 0 0 1px #ea4335;box-shadow:inset 0 0 0 1px var(--bad)}[_nghost-%COMP%]     .markdown-display pre, [_nghost-%COMP%]     .markdown-display code{background-color:#f1f3f4;background-color:var(--c100)}.bv2-note-container-note   [_nghost-%COMP%]   .md-preview[_ngcontent-%COMP%]{min-height:0;margin-top:0;padding:0;background-color:rgba(0,0,0,0)}/*# sourceMappingURL=live_preview.css.map */"],
changeDetection:0});var Opc=D(function(a){return{formattedComment:a,isFallback:!1}});var RN=function(a,b,c){WD.call(this);var d=this;this.prefs=a;this.flags=b;this.links=c;this.change=new Gv;this.checkedSubject=new E.BehaviorSubject(!1);this.mdHelpLink=this.links.session.isInternalSession()?"http://go/buganizer-markdown-quickstart":"https://commonmark.org/help/";this.flags.textDisplayPreferences$.pipe(Te(this.destroyed$)).subscribe(function(e){d.currentTextDisplayPreferences=e});this.flags.commentDisplayOverride$.pipe(Te(this.destroyed$)).subscribe(function(e){d.currentCommentDisplayOverride=
e})};U(RN,WD);RN.\u0275dir=WD.\u0275dir;RN.prototype.ngOnInit=function(){this.checkedSubject.next("MARKDOWN"===this.initialValue)};RN.prototype.ngOnChanges=function(){null!=this.initialValue&&this.checkedSubject.next("MARKDOWN"===this.initialValue)};RN.prototype.save=function(a){a=Object.assign({},this.currentTextDisplayPreferences,a);this.prefs.save({textDisplayPreferences:a}).pipe(Te(this.destroyed$)).subscribe()};RN.\u0275fac=function(a){return new (a||RN)(C(uI),C(zN),C(nI))};
RN.\u0275cmp=Gc({type:RN,selectors:[["b-markdown-toggle"]],inputs:{initialValue:"initialValue"},outputs:{change:"change"},features:[bf,Zc],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&&(G(0,"mat-checkbox",0),M("change",function(d){var e=b.currentCommentDisplayOverride;d=d.checked?aac:e?e:bac;b.save({lastPublishMode:d});b.change.emit(xk(d))}),S(1,"async"),R(2," Markdown "),H(),Q(3,GHa,2,2,"a",1));if(a&2){var c;F("checked",null!==(c=T(1,2,b.checkedSubject))&&void 0!==c?c:!1);z(3);F("ngIf",b.mdHelpLink)}},dependencies:[vN,ew,uA,Kz,LB,kw],
encapsulation:2,changeDetection:0});var SN=function(a,b){WD.call(this);var c=this;this.appEvents=b;this.init=new Gv;this.FormattingMode=L8b;a.textDisplayPreferencesSubject$.pipe(Te(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:rh(d.commentDisplayOverride)}})};
U(SN,WD);SN.\u0275dir=WD.\u0275dir;SN.prototype.ngOnInit=function(){};SN.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)};SN.prototype.ngAfterViewInit=function(){this.appEvents.commentRendered.next([this.issueId,this.note.commentNumber]);this.init.next(this)};
SN.\u0275fac=function(a){return new (a||SN)(C(uI),C(KF))};
SN.\u0275cmp=Gc({type:SN,selectors:[["b-note-container"]],inputs:{note:"note",issueAccessLevel:"issueAccessLevel",formattingMode:"formattingMode",issueId:"issueId"},outputs:{init:"init"},features:[bf,Zc],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&&(G(0,"div",0)(1,"div",1),
Q(2,HHa,1,1,"b-formatted-comment-presenter",2),H()(),Q(3,IHa,1,5,"ng-template",null,3,Zf));if(a&2){var c=Cf(4);z(2);if(a=b.note.formattedComment)a=b.note.formattedComment,a=!a||b.formattingModeOverride?!1:a.literalFormat&&"LITERAL"===b.formattingMode||a.plainFormat&&"PLAIN"===b.formattingMode||a.markdownFormat&&"MARKDOWN"===b.formattingMode?!0:!1;F("ngIf",a)("ngIfElse",c)}},dependencies:[ew,MN,QN],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 TN=function(){};TN.\u0275fac=function(a){return new (a||TN)};TN.\u0275mod=Ic({type:TN});TN.\u0275inj=rc({imports:[tF,DM,MM]});var UN=function(){this.segments=[];this.clickMain=new Gv;this.clickSegment=new Gv};UN.prototype.ngOnInit=function(){};hh.Object.defineProperties(UN.prototype,{showMoreButton:{configurable:!0,enumerable:!0,get:function(){return 0<this.segments.length}}});UN.\u0275fac=function(a){return new (a||UN)};
UN.\u0275cmp=Gc({type:UN,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&&(G(0,"span",0)(1,"a",1),M("click",function(){return b.clickMain.emit(b.label)}),I(2,"mat-icon",2),R(3),H(),Q(4,KHa,6,2,"ng-container",3),H());a&2&&(z(1),qf("square-right",b.showMoreButton),gf("href",b.href||void 0,Md),z(1),F("svgIcon",b.icon),z(1),Df(" ",b.label," "),z(1),F("ngIf",b.showMoreButton))},dependencies:[dw,ew,uA,Jz,Kz,DB,BB,CB],styles:['[mat-button][_ngcontent-%COMP%]{vertical-align:middle;color:#202124;color:var(--text-default);font-family:"Google Sans",Roboto,Arial,sans-serif;font-size:.875rem;letter-spacing:.0107142857em;font-weight:500}.shrink-wrap[_ngcontent-%COMP%]{display:inline-block;border-radius:24px;white-space:nowrap;transition:box-shadow .2s ease-in-out;background-color:#fff;background-color:var(--fab-button-bg);box-shadow:0px 1px 2px 0px rgba(0, 0, 0, 0.3), 0px 1px 3px 1px rgba(0, 0, 0, 0.15)}.shrink-wrap[_ngcontent-%COMP%]:hover{box-shadow:0px 1px 3px 0px rgba(0, 0, 0, 0.3), 0px 4px 8px 3px rgba(0, 0, 0, 0.15)}.mat-button[_ngcontent-%COMP%]{border-radius:24px}.main[_ngcontent-%COMP%]{padding-left:10px;padding-right:24px}.main.square-right[_ngcontent-%COMP%]{padding-right:8px}.more[_ngcontent-%COMP%]{padding-right:10px;padding-left:4px;min-width:0;color:#80868b;color:var(--gfx-muted)}.more[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{line-height:24px}.more[_ngcontent-%COMP%]:hover, .more[_ngcontent-%COMP%]:focus{color:#202124;color:var(--text-default)}.more[_ngcontent-%COMP%]{transition:border .2s ease-in-out;border-left:1px solid rgba(0,0,0,0)}.shrink-wrap[_ngcontent-%COMP%]:hover   .more[_ngcontent-%COMP%]{border-left:1px solid;border-left-color:#dadce0;border-left-color:var(--divider)}/*# sourceMappingURL=fab_segmented.css.map */']});var Ppc=[UN],VN=function(){};VN.\u0275fac=function(a){return new (a||VN)};VN.\u0275mod=Ic({type:VN});VN.\u0275inj=rc({imports:[tF,iC,EB,JC]});var WN=function(){};WN.prototype.onPressBack=function(){var a;null==(a=window.history)||a.back()};WN.\u0275fac=function(a){return new (a||WN)};
WN.\u0275cmp=Gc({type:WN,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&&(G(0,"section",0)(1,"button",1),M("click",function(){return b.onPressBack()}),I(2,"mat-icon",2),H()())},dependencies:[uA,Jz,LB],styles:[".button-bar[_ngcontent-%COMP%] {\n      height: 46px;\n      box-sizing: border-box;\n    }"]});var XN=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 Gv;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=NQb(function(e){d.widthChanged.emit(e);d.events.sidebarWidthChanged.next(e)},400);this.trackKeyboardResizing=NQb(function(){Om(Jn.SIDEBAR,"resizeKeyboard")},2E3)};XN.prototype.ngOnInit=function(){var a=this;this.ngZone.runOutsideAngular(function(){document.addEventListener("mousemove",a.onMousemove)});document.addEventListener("mouseup",this.onMouseup,!0)};
XN.prototype.ngOnDestroy=function(){document.removeEventListener("mousemove",this.onMousemove);document.removeEventListener("mouseup",this.onMouseup,!0)};var Qpc=function(a,b){var c=a.width+b;c<a.minSnapWidth&&(c=0>b?0:a.minSnapWidth);a.setWidth(c);a.trackKeyboardResizing()};XN.prototype.toggle=function(){this.setWidth(this.isClosed?this.lastOpenPosition:0)};
XN.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)};
hh.Object.defineProperties(XN.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}}});XN.\u0275fac=function(a){return new (a||XN)(C(cH,2),C(KF),C(We))};
XN.\u0275cmp=Gc({type:XN,selectors:[["b-resizable-sidebar"]],hostVars:2,hostBindings:function(a,b){a&2&&rf(b.direction)},inputs:{minWidth:"minWidth",disableToggleBtn:"disableToggleBtn",hideToggleBtnOnOpen:"hideToggleBtnOnOpen",direction:"direction",size:"size"},outputs:{widthChanged:"widthChanged"},features:[Gf([cH])],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&&(xf(),G(0,"div",0)(1,"div",1),yf(2),H(),G(3,"div",2),M("mousedown",function(c){return b.startDragging(c.pageX)})("keyup.arrowleft",
function(){return Qpc(b,-10)})("keyup.arrowright",function(){return Qpc(b,10)})("keyup.space",function(){return b.toggle()})("keyup.enter",function(){return b.toggle()})("dblclick",function(){return b.toggle()}),H()(),Q(4,LHa,2,6,"button",3));a&2&&(pf("width",b.width+"px"),qf("isDragging",b.isDragging)("isClosed",b.isClosed),F("ngClass",b.direction),z(1),pf("width",b.lastOpenPosition+"px"),z(2),gf("aria-valuenow",b.width)("aria-valuetext",b.width+" pixels"),z(1),F("ngIf",!b.disableToggleBtn&&!(b.hideToggleBtnOnOpen&&
!b.isClosed)))},dependencies:[cw,ew,uA,Jz,LB,Jy],styles:['[_nghost-%COMP%]{position:relative}.inner[_ngcontent-%COMP%]{height:100%;overflow-y:auto;overflow-x:hidden;transition:width .2s cubic-bezier(0.165, 0.84, 0.44, 1);display:flex;flex-direction:column}.inner.ltr[_ngcontent-%COMP%]{border-right:1px solid;border-color:#dadce0;border-color:var(--divider)}.inner.rtl[_ngcontent-%COMP%]{border-left:1px solid;border-color:#dadce0;border-color:var(--divider)}.inner.isDragging[_ngcontent-%COMP%]{transition:none}.content[_ngcontent-%COMP%]{position:relative;flex:1;opacity:1;transition:opacity .1s ease-in-out;transition-delay:.1s}.isClosed[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{display:none;opacity:0;transition-delay:0s}.isDragging[_ngcontent-%COMP%]{user-select:none}.resizeHandle[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;width:8px;cursor:col-resize}.ltr[_ngcontent-%COMP%]   .resizeHandle[_ngcontent-%COMP%]{right:0}.rtl[_ngcontent-%COMP%]   .resizeHandle[_ngcontent-%COMP%]{left:0}.toggleButton[_ngcontent-%COMP%]{position:absolute;bottom:0;top:0;margin:auto}.toggleButton.ltr[_ngcontent-%COMP%]{right:2px}.toggleButton.rtl[_ngcontent-%COMP%]{left:2px}.toggleButton.isClosed[_ngcontent-%COMP%]{z-index:2}.toggleButton.isClosed.ltr[_ngcontent-%COMP%]{right:6px}.toggleButton.isClosed.rtl[_ngcontent-%COMP%]{left:6px}.toggleButton[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{transition:transform .2s ease-in-out}.toggleButton.isClosed[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{transform:rotateZ(180deg)}.resizeHandle[_ngcontent-%COMP%]:hover, .resizeHandle[_ngcontent-%COMP%]:focus, .isDragging[_ngcontent-%COMP%]   .resizeHandle[_ngcontent-%COMP%]{background:url("https://www.gstatic.com/buganizer/img/v0/grippy_large.png") no-repeat 1px 50%;background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}/*# sourceMappingURL=resizable_sidebar.css.map */'],
changeDetection:0});var Rpc=new Rc("intersectionObserverFactory",{factory:function(){return function(a,b){return new IntersectionObserver(a,b)}}}),Spc=new Rc("isScrolledOnScreen",{factory:function(){return{fully:MHa,partially:NHa}}}),YN=function(a,b){this.intersectionObserverBuilder=a;this.isScrolledOnScreen=b};YN.prototype.getObservable=function(a,b){b=void 0===b?!1:b;return null!=window.IntersectionObserver?OHa(a,this.intersectionObserverBuilder,this.isScrolledOnScreen,b):PHa(a,this.isScrolledOnScreen,b)};
var Tpc=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(Le(function(g,h){return{cumulativeTime:g.cumulativeTime+(g.wasPreviouslyOnScreen?Date.now()-g.lastTimestamp:0),wasPreviouslyOnScreen:h,lastTimestamp:Date.now()}},d),Se(function(g){if(0===e&&g.wasPreviouslyOnScreen)return(0,E.of)(void 0);
var h=e-g.cumulativeTime;return 0>h?(0,E.of)(void 0):g.wasPreviouslyOnScreen?(0,E.of)(void 0).pipe(Ee(h)):E.NEVER}),D(function(){}),Ge())};YN.\u0275fac=function(a){return new (a||YN)(u(Rpc),u(Spc))};YN.\u0275prov=qc({token:YN,factory:YN.\u0275fac,providedIn:"root"});[].concat(Vc(Ppc),[XN,qN]);var ZN=function(){};ZN.\u0275fac=function(a){return new (a||ZN)};ZN.\u0275mod=Ic({type:ZN});ZN.\u0275inj=rc({imports:[tF,iC,JC,Py,VN]});var $N=function(){};$N.\u0275fac=function(a){return new (a||$N)};$N.\u0275mod=Ic({type:$N});$N.\u0275inj=rc({imports:[nz,dz,ny,uN,dz,uN]});var Upc=Kg("transformPanelWrap",[Og("* => void",xna("@transformPanel",[wna()]))]),Vpc=Kg("transformPanel",[Ng("void",Mg({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),Ng("showing",Mg({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),Ng("showing-multiple",Mg({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),Og("void => *",Lg("120ms cubic-bezier(0, 0, 0.2, 1)")),Og("* => void",Lg("100ms 25ms linear",Mg({opacity:0})))]);var Wpc=["trigger"],Xpc=["panel"],Ypc=0,Zpc=new Rc("mat-select-scroll-strategy"),$pc=new Rc("MAT_SELECT_CONFIG"),aqc={provide:Zpc,deps:[$y],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}},bqc=new Rc("MatSelectTrigger"),cqc=jh(lh(kh(Loa(function(a,b,c,d,e){this._elementRef=a;this._defaultErrorStateMatcher=b;this._parentForm=c;this._parentFormGroup=d;this.ngControl=e;this.stateChanges=new E.Subject})))),aO=function(a,b,c,d,e,g,h,l,q,x,A,B,K,N){var P=cqc.call(this,
e,d,h,l,x)||this;P._viewportRuler=a;P._changeDetectorRef=b;P._ngZone=c;P._dir=g;P._parentFormField=q;P._liveAnnouncer=K;P._defaultOptions=N;P._panelOpen=!1;P._compareWith=function(ma,za){return ma===za};P._uid="mat-select-"+Ypc++;P._triggerAriaLabelledBy=null;P._destroy=new E.Subject;P._onChange=function(){};P._onTouched=function(){};P._valueId="mat-select-value-"+Ypc++;P._panelDoneAnimatingStream=new E.Subject;var Y;P._overlayPanelClass=(null==(Y=P._defaultOptions)?void 0:Y.overlayPanelClass)||"";
P._focused=!1;P.controlType="mat-select";P._multiple=!1;var X,ka;P._disableOptionCentering=null!=(ka=null==(X=P._defaultOptions)?void 0:X.disableOptionCentering)?ka:!1;P.ariaLabel="";P.optionSelectionChanges=(0,E.defer)(function(){var ma=P.options;return ma?ma.changes.pipe(Re(ma),Se(function(){return E.merge.apply(null,Vc(ma.map(function(za){return za.onSelectionChange})))})):P._ngZone.onStable.pipe(Ge(),Se(function(){return P.optionSelectionChanges}))});P.openedChange=new Gv;P._openedStream=P.openedChange.pipe(ye(function(ma){return ma}),
D(function(){}));P._closedStream=P.openedChange.pipe(ye(function(ma){return!ma}),D(function(){}));P.selectionChange=new Gv;P.valueChange=new Gv;P._trackedModal=null;P.ngControl&&(P.ngControl.valueAccessor=P);null!=(null==N?void 0:N.typeaheadDebounceInterval)&&(P._typeaheadDebounceInterval=N.typeaheadDebounceInterval);P._scrollStrategyFactory=B;P._scrollStrategy=P._scrollStrategyFactory();P.tabIndex=parseInt(A)||0;P.id=P.id;return P};U(aO,cqc);f=aO.prototype;
f.ngOnInit=function(){var a=this;this._selectionModel=new Ky(this.multiple);this.stateChanges.next();this._panelDoneAnimatingStream.pipe(Fe(),Te(this._destroy)).subscribe(function(){return a._panelDoneAnimating(a.panelOpen)})};
f.ngAfterContentInit=function(){var a=this;this._initKeyManager();this._selectionModel.changed.pipe(Te(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(Re(null),Te(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&&OXb(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,xy(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&&eh(this._trackedModal,"aria-owns",b);Aoa(a,"aria-owns",b);this._trackedModal=a}};
f._clearFromModal=function(){this._trackedModal&&(eh(this._trackedModal,"aria-owns",this.id+"-panel"),this._trackedModal=null)};f.close=function(){this._panelOpen&&(this._panelOpen=!1,xy(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||Bg(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||Bg(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))?zy(this._keyManager,a):this.panelOpen||zy(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=MXb(NXb(PXb(yy(xy(wy(OXb(new Ay(this.options),this._typeaheadDebounceInterval)),this._isRtl()?"rtl":"ltr")))),this._skipPredicate);this._keyManager.tabOut.subscribe(function(){a.panelOpen&&(!a.multiple&&a._keyManager.activeItem&&a._keyManager.activeItem._selectViaInteraction(),a.focus(),a.close())});this._keyManager.change.subscribe(function(){a._panelOpen&&a.panel?a._scrollOptionIntoView(a._keyManager.activeItemIndex||0):a._panelOpen||a.multiple||
!a._keyManager.activeItem||a._keyManager.activeItem._selectViaInteraction()})};f._resetOptions=function(){var a=this,b=(0,E.merge)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Te(b)).subscribe(function(c){a._onSelect(c.source,c.isUserInput);c.isUserInput&&!a.multiple&&a._panelOpen&&(a.close(),a.focus())});E.merge.apply(null,Vc(this.options.map(function(c){return c._stateChanges}))).pipe(Te(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()};
hh.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:SUb(b))?d:!1},set:function(a){this._required=xg(a);
this.stateChanges.next()}},multiple:{configurable:!0,enumerable:!0,get:function(){return this._multiple},set:function(a){this._multiple=xg(a)}},disableOptionCentering:{configurable:!0,enumerable:!0,get:function(){return this._disableOptionCentering},set:function(a){this._disableOptionCentering=xg(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=Ag(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)(C(My),C(Yv),C(We),C(iz),C(vd),C(Cy,8),C(Jw,8),C(Sw,8),C(PZb,8),C(Dw,10),od("tabindex"),C(Zpc),C(oy),C($pc,8))};
aO.\u0275dir=Kc({type:aO,viewQuery:function(a,b){a&1&&(Uf(Wpc,5),Uf(Xpc,5),Uf(bz,5));if(a&2){var c;Tf(c=Wf())&&(b.trigger=c.first);Tf(c=Wf())&&(b.panel=c.first);Tf(c=Wf())&&(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:[bf,Zc]});var dqc=[[["mat-select-trigger"]],"*"],eqc=function(a,b){this.source=a;this.value=b},bO=function(){};bO.\u0275fac=function(a){return new (a||bO)};bO.\u0275dir=Kc({type:bO,selectors:[["mat-select-trigger"]],features:[Gf([{provide:bqc,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};U(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(Te(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=Qoa(a,this.options,this.optionGroups),c=this._getItemHeight();this.panel.nativeElement.scrollTop=0===a&&1===b?0:Roa((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 eqc(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+=Qoa(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=td(cO)))(b||cO)}}();
cO.\u0275cmp=Gc({type:cO,selectors:[["mat-select"]],contentQueries:function(a,b,c){a&1&&(Vf(c,bqc,5),Vf(c,Lz,5),Vf(c,BYb,5));if(a&2){var d;Tf(d=Wf())&&(b.customTrigger=d.first);Tf(d=Wf())&&(b.options=d);Tf(d=Wf())&&(b.optionGroups=d)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true","ngSkipHydration","",1,"mat-select"],hostVars:19,hostBindings:function(a,b){a&1&&M("keydown",function(c){return b._handleKeydown(c)})("focus",function(){return b._onFocus()})("blur",function(){return b._onBlur()});
a&2&&(gf("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()),qf("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:[Gf([{provide:eA,useExisting:cO},{provide:AYb,useExisting:cO}]),bf],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&&(xf(dqc),G(0,"div",0,1),M("click",function(){return b.toggle()}),G(3,"div",2),Q(4,QHa,2,1,"span",3),Q(5,THa,3,2,"span",4),H(),G(6,"div",5),I(7,"div",6),H()(),Q(8,UHa,4,14,"ng-template",7),M("backdropClick",function(){return b.close()})("attach",function(){return b._onAttached()})("detach",
function(){return b.close()}));if(a&2){var c=Cf(1);gf("aria-owns",b.panelOpen?b.id+"-panel":null);z(3);F("ngSwitch",b.empty);gf("id",b._valueId);z(1);F("ngSwitchCase",!0);z(1);F("ngSwitchCase",!1);z(3);F("cdkConnectedOverlayPanelClass",b._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",b._scrollStrategy)("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",b.panelOpen)("cdkConnectedOverlayPositions",b._positions)("cdkConnectedOverlayMinWidth",b._getOverlayMinWidth())("cdkConnectedOverlayOffsetY",
b._offsetY)}},dependencies:[cw,fw,gw,hw,bz,az],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:[Upc,Vpc]},changeDetection:0});var dO=function(){};dO.\u0275fac=function(a){return new (a||dO)};dO.\u0275mod=Ic({type:dO});dO.\u0275inj=rc({providers:[aqc],imports:[sw,cz,Mz,dz,Py,jA,Mz,dz]});var eO=function(){};eO.\u0275fac=function(a){return new (a||eO)};eO.\u0275mod=Ic({type:eO});eO.\u0275inj=rc({imports:[$N,zF,tF,cz,pN,ZN,dO,rM,iC,JC,MM,TN,DM]});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=Lc({name:"toAccessLevelLabel",type:fO,pure:!0});var fqc=Mg({opacity:"0"}),gqc=ye(function(a){return a}),hqc=(0,E.pipe)(Fe(),gqc,Ke()),iqc=new Rc("xap-bubble UX style"),gO=function(a){var b=this;this.activity=new E.Subject;this.openedSubject=new E.BehaviorSubject(!1);this.destroy=new E.ReplaySubject;this.overlayPositions=[];this.overlayPanelClass="";this.hoverDelayMs=50;this.beforeShow=this.beforeOpened=new Gv;this.onOpened=new Gv;this.bubbleStyle=a||"xap-bubble-md1";this.opened=this.openedSubject.pipe(Gia(function(){return b.activity.pipe(De(b.hoverDelayMs))}));
a=Te(this.destroy);this.opened.pipe(hqc,a).subscribe(this.onOpened);this.openedSubject.pipe(gqc,wja(function(){return b.opened.pipe(ye(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)(C(iqc,8))};
gO.\u0275cmp=Gc({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&&(xf(),G(0,"span",0,1),M("mouseenter",function(){return b.toggle(!0)})("mouseleave",function(){return b.toggle(!1)})("mousemove",function(){b.activity.next()}),yf(2),H(),Q(3,WHa,2,3,"ng-template",2),S(4,"async"));if(a&2){var c=Cf(1);F("ngClass",b.bubbleStyle);
z(3);F("cdkConnectedOverlayPanelClass",b.overlayPanelClass)("cdkConnectedOverlayPositions",b.overlayPositions)("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",T(4,5,b.opened))}},dependencies:[cw,jw,bz,az,kw],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:[Kg("fade",[Og(":enter",[fqc,Lg("225ms")]),Og(":leave",[Lg("195ms",fqc)])])]}});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)(C(gs),C(nI))};
hO.\u0275cmp=Gc({type:hO,selectors:[["b-access-level-indicator"]],inputs:{accessLevel:"accessLevel",compactMode:"compactMode",labelOnlyMode:"labelOnlyMode"},features:[Zc],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&&Q(0,$Ha,4,2,"ng-container",0);if(a&2){if(a=b.accessLevel)a=b.activeSession.isInternalSession()?
"EXTERNAL_PARTNER"===b.accessLevel||"EXTERNAL_PUBLIC"===b.accessLevel:Iac(b.activeSession)?"EXTERNAL_PUBLIC"===b.accessLevel:!1;F("ngIf",a)}},dependencies:[cw,ew,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 jqc={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 jqc[a]};iO.\u0275fac=function(a){return new (a||iO)};iO.\u0275pipe=Lc({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=Lc({name:"shortenEmail",type:jO,pure:!0});var kO=function(){};kO.\u0275fac=function(a){return new (a||kO)};kO.\u0275mod=Ic({type:kO});kO.\u0275inj=rc({imports:[tF]});var lO=function(){};lO.\u0275fac=function(a){return new (a||lO)};lO.\u0275mod=Ic({type:lO});lO.\u0275inj=rc({imports:[sw,cz]});var mO=function(){};mO.\u0275fac=function(a){return new (a||mO)};mO.\u0275mod=Ic({type:mO});mO.\u0275inj=rc({imports:[tF,kO,lO]});var nO=function(a,b,c,d){this.activeSession=a;this.issueApi=b;this.analytics=c;this.errorHandler=d;this.onCc=new Gv};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)(C(gs),C(kE),C(gH),C(GF))};
nO.\u0275cmp=Gc({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&&(G(0,"button",0),M("click",function(){return b.toggle()}),Q(1,aIa,2,0,"ng-container",1),R(2,"CC me\n"),H());a&2&&(z(1),F("ngIf",b.ccState))},dependencies:[ew,Jz],encapsulation:2});var oO=function(a,b){WD.call(this);this.errorHandler=a;this.issueFridge=b;this.upvoted=!1;this.voteCount=0;this.onVote=new Gv;this.tooltip="Indicate that you are affected by this issue";this.isSaving=!1};U(oO,WD);oO.\u0275dir=WD.\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(),Te(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)(C(GF),C(lH))};
oO.\u0275cmp=Gc({type:oO,selectors:[["b-app-vote-button"]],hostVars:2,hostBindings:function(a,b){a&2&&qf("no-votes",0>=b.voteCount)},inputs:{issueId:"issueId",upvoted:"upvoted",voteCount:"voteCount"},outputs:{onVote:"onVote"},features:[bf],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&&(G(0,"button",0),M("click",function(){return b.onClick()}),I(1,"mat-icon",1),G(2,"output",
2),R(3),H()());a&2&&(F("matTooltip",b.upvoted?"Remove vote: I am not impacted":"Vote: I am impacted"),gf("aria-pressed",b.upvoted)("aria-label","Vote count "+b.voteCount),z(2),zf("title","",b.voteCount," votes on this issue"),z(1),Df(" ",9999<b.voteCount?"9999+":b.voteCount," "))},dependencies:[uA,Jz,LB],styles:["[_nghost-%COMP%]{display:inline-block;margin-right:12px}.gmat-button[_ngcontent-%COMP%]{box-sizing:border-box;height:24px;line-height:24px;min-width:42px;border-radius:12px;padding:0 4px;font-size:.8125rem;text-align:center;box-shadow:inset 0 0 0 1px #dadce0;box-shadow:inset 0 0 0 1px var(--divider)}.gmat-button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{width:18px;height:18px}.gmat-button[_ngcontent-%COMP%]:hover{box-shadow:inset 0 0 0 1px #d2e3fc;box-shadow:inset 0 0 0 1px var(--primary-c100)}.gmat-button[aria-pressed=true][_ngcontent-%COMP%]{background-color:#1a73e8;background-color:var(--primary-btn-bg);color:#fff;color:var(--text-inverse);box-shadow:none}.gmat-button[aria-pressed=true][_ngcontent-%COMP%]:hover{background-color:#4285f4;background-color:var(--primary-btn-bg-hover)}button.gmat-button.mat-button[aria-pressed=true][_ngcontent-%COMP%]{color:#fff;color:var(--text-inverse)}.bv2-material   [_nghost-%COMP%]     button.gmat-button:not(.mat-icon-button).small{padding:0 4px}output[_ngcontent-%COMP%]{display:inline-block;box-sizing:border-box;height:20px;line-height:20px;min-width:20px;border-radius:10px;margin-left:4px;margin-right:-16px;transform:translate(0, -33%);padding:0 4px;font-weight:500;font-size:.75rem;text-align:center;background-color:#188038;background-color:var(--good-bg-inverse);color:#fff;color:var(--text-inverse);box-shadow:0 0 0 1px #fff;box-shadow:0 0 0 1px var(--background);position:relative;z-index:1}[_nghost-%COMP%], output[_ngcontent-%COMP%]{transition:margin-right .1s ease-out}.no-votes[_nghost-%COMP%]{margin-right:2px}.no-votes[_nghost-%COMP%]   output[_ngcontent-%COMP%]{margin-right:-22px;visibility:hidden}/*# sourceMappingURL=app_vote_button.css.map */"],
changeDetection:0});var oIa=function(){return[]},pO=function(a,b,c,d,e,g,h){WD.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=ol;this.ISSUE_PRIORITY_TEXT_JS=Gbc;this.ISSUE_PRIORITY_ENUM=P8b;this.providedIssueId$=new E.ReplaySubject(1);this.issueFetchResponse$=this.providedIssueId$.pipe(Se(function(q){return l.issuesApi.getIssue(q)}));this.editIssue=Vl;this.FormattingMode=L8b;this.init=new E.ReplaySubject(1)};
U(pO,WD);pO.\u0275dir=WD.\u0275dir;pO.prototype.ngOnInit=function(){var a=this;this.providedIssueId$.next(this.issueId);this.issueFetchResponse$.pipe(Te(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 nIa=function(a,b){return bi(b).includes(a.activeSession.getUserEmail())},iIa=function(a,b){var c;return he(function(d){if(1==d.nextAddress)return c=a.issueId,QE(a.issueFridge,b,function(e){var g=e.parentIssueIds.indexOf(c);0>g||(e.parentIssueIds.splice(g,1),Object.assign({},e))}),ie(d,2,3),d.yield((0,E.firstValueFrom)(a.relationshipService.delete(c,1,b)),3);if(2!=d.nextAddress)return je(d),a.issueFridge.poke(b),ke(d,0);le(d);EF(a.butterBar,"Error removing the parent issue.");return d.jumpTo(3)})};
pO.\u0275fac=function(a){return new (a||pO)(C(lE),C(cH,2),C(gs),C(gH),C(AE),C(lH),C(CF))};
pO.\u0275cmp=Gc({type:pO,selectors:[["b-issue-card"]],inputs:{issueId:"issueId",location:"location",childContextId:"childContextId"},outputs:{init:"init"},features:[Gf([cH]),bf],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&&(G(0,"div",
0),Q(1,pIa,23,16,"ng-container",1),H());a&2&&(z(1),F("ngIf",b.issue&&b.issue.snapshot[0]))},dependencies:[cw,ew,fw,gw,hw,hO,Jz,LB,nL,bK,SN,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=Ic({type:qO});qO.\u0275inj=rc({imports:[KM,tF,ZN]});var rO=function(){};rO.prototype.transform=function(a){if(en(a))return a};rO.\u0275fac=function(a){return new (a||rO)};rO.\u0275pipe=Lc({name:"omitObfuscatedEmail",type:rO,pure:!0});var kqc=function(a){this.session=a;this.isNonObfuscatedEmail=en;this.email="";this.withProfile=!0;this.enableWaldoAvailability=UD(this.session,"enableWaldoAvailability")&&this.session.isInternalSession()};kqc.\u0275fac=function(a){return new (a||kqc)(C(gs))};
kqc.\u0275cmp=Gc({type:kqc,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&&(G(0,"span",0),Q(1,qIa,1,1,"b-user-image",1),Q(2,sIa,6,3,"ng-container",2),Q(3,tIa,2,1,"ng-template",null,3,Zf),Q(5,uIa,2,1,"span",4),H());if(a&2){var c=Cf(4);z(1);F("ngIf",b.withProfile);z(1);F("ngIf",b.isNonObfuscatedEmail(b.email))("ngIfElse",c);z(3);F("ngIf",b.enableWaldoAvailability)}},dependencies:[ew,jw,jI,UJ,qJ,vJ,WJ],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 lqc=0,sO=function(a,b,c){WD.call(this);var d=this;this.teamsService=a;this.session=b;this.principalTypes=c;this.teamId="";this.enableGroupIcon=this.enableSmallChip=!1;this.providedTeamId$=new E.ReplaySubject(1);this.providedUser$=new E.ReplaySubject(1);this.providedEmail$=new E.ReplaySubject(1);this.isNonObfuscatedEmail=en;this.isGroup=!1;this.fetchedTeam$=this.providedTeamId$.pipe(Se(function(e){return AH(d.teamsService,e)}));this.detailedUserType$=this.providedUser$.pipe(D(function(e){e=e?e&&
e.getUserGaiaStatus?e.getAliasesList():e.aliases||[]:[];return e.includes("googlers_unrestricted")?"UNRESTRICTED_GOOGLER":e.includes("google_domain")?"TVC":e.includes("issue_creation_only_accounts")?"ISSUE_CREATION_ONLY":e.includes("external_partners")?"EXTERNAL":e.includes("public_non_google")?"PUBLIC":"NO_DETAILED_TYPE"}),Re("NO_DETAILED_TYPE"));this.isTeamMember$=(0,E.combineLatest)([this.providedTeamId$,this.providedEmail$]).pipe(Se(function(e){var g=k(e);e=g.next().value;g=g.next().value;return rgc(d.teamsService,
e,g)}),Re(!1),Ce(function(){return(0,E.of)(!1)}));this.teamUser$=this.fetchedTeam$.pipe(D(function(e){return"Member of "+e.name}));this.groupMembershipType$=(0,E.combineLatest)([this.detailedUserType$,this.isTeamMember$]).pipe(D(function(e){var g=k(e);e=g.next().value;g=g.next().value;if(d.enableExternalAnnotations){if("PUBLIC"===e)return"PUBLIC_USER";if("EXTERNAL"===e)return"PARTNER_USER"}return g?"INTERNAL_TEAM_MEMBER":"INTERNAL_NON_TEAM_MEMBER"}));this.enableExternalAnnotations=UD(this.session,
"enableExternalAnnotations");this.enableQuickAddCollaborators=UD(this.session,"enableQuickAddCollaborators");this.enableWaldoAvailability=UD(this.session,"enableWaldoAvailability")&&this.session.isInternalSession();this.userTypeClass$=this.groupMembershipType$.pipe(D(function(e){return d.enableSmallChip?"user-chip-small":e&&"INTERNAL_NON_TEAM_MEMBER"!==e?"user-chip":"user-chip-without-icon"}));this.userChipType$=this.groupMembershipType$.pipe(D(function(e){if(e&&"INTERNAL_NON_TEAM_MEMBER"!==e){if("INTERNAL_TEAM_MEMBER"===
e)return"team-member-chip";if("PARTNER_USER"===e)return"partner-chip";if("PUBLIC_USER"===e)return"public-chip"}else return"internal-non-team-member-chip";return""}));this.shouldShowIcon$=this.groupMembershipType$.pipe(D(function(e){return e&&"INTERNAL_NON_TEAM_MEMBER"!==e}));this.iconName$=this.groupMembershipType$.pipe(D(function(e){if(e&&"INTERNAL_NON_TEAM_MEMBER"!==e){if("INTERNAL_TEAM_MEMBER"===e)return"people-outline";if("PARTNER_USER"===e)return"enterprise";if("PUBLIC_USER"===e)return"public"}return""}));
this.iconToolTip$=this.groupMembershipType$.pipe(Ve(this.teamUser$),D(function(e){var g=k(e);e=g.next().value;g=g.next().value;if(e&&"INTERNAL_NON_TEAM_MEMBER"!==e){if("INTERNAL_TEAM_MEMBER"===e)return g;if("PARTNER_USER"===e)return"Partner user";if("PUBLIC_USER"===e)return"Public user"}return""}));lqc++};U(sO,WD);sO.\u0275dir=WD.\u0275dir;
sO.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.providedEmail$.subscribe(function(){a.enableGroupIcon&&a.enableQuickAddCollaborators&&LI(a.principalTypes,a.email,!1).then(function(b){a.isGroup="GROUP"===b.principalType})}))};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)(C(zH),C(gs),C(KI))};
sO.\u0275cmp=Gc({type:sO,selectors:[["b-user-membership-chip"]],inputs:{user:"user",email:"email",teamId:"teamId",enableSmallChip:"enableSmallChip",enableGroupIcon:"enableGroupIcon"},features:[bf,Zc],decls:11,vars:13,consts:[[3,"ngClass"],[4,"ngIf"],[3,"email","hovercardFocusEnabled","availabilityChipEnabled",4,"ngIf","ngIfElse"],["smallChipContents",""],[3,"svgIcon","matTooltip",4,"ngIf"],["name","group_24px","size","small",4,"ngIf","ngIfElse"],["userImage",""],["name","group_24px","size","small"],
[1,"bv2-profile-avatar",3,"email"],[3,"email","hovercardFocusEnabled","availabilityChipEnabled"],[4,"ngIf","ngIfElse"],["emailDisplay",""],["tabindex","0","role","button",1,"keep-focus-ring",3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"],["card",""],[3,"email"],[1,"user-chip-name"],[3,"svgIcon","matTooltip"],["coinonly","",3,"user"]],template:function(a,b){a&1&&(G(0,"span",0),S(1,"async"),G(2,"span",0),S(3,"async"),Q(4,xIa,4,2,"ng-container",1),Q(5,yIa,1,3,"b-user-display-name",2),Q(6,CIa,3,2,
"ng-template",null,3,Zf),Q(8,DIa,3,6,"mat-icon",4),S(9,"async"),H()(),Q(10,EIa,2,1,"ng-container",1));if(a&2){var c=Cf(7),d,e;F("ngClass",null!==(d=T(1,7,b.userTypeClass$))&&void 0!==d?d:"");z(2);F("ngClass",null!==(e=T(3,9,b.userChipType$))&&void 0!==e?e:"");z(2);F("ngIf",b.enableSmallChip);z(1);F("ngIf",!b.enableSmallChip)("ngIfElse",c);z(3);F("ngIf",T(9,11,b.shouldShowIcon$));z(2);F("ngIf",b.enableWaldoAvailability&&!b.enableSmallChip)}},dependencies:[cw,ew,jw,uA,jI,AM,LB,UJ,qJ,vJ,WJ,VJ,kw],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%]     b-icon{width:12px}[_nghost-%COMP%]     b-icon mat-icon{width:inherit}[_nghost-%COMP%]     b-icon mat-icon svg{width:12px;height:16px}[_nghost-%COMP%]     span.bv2-profile-avatar, [_nghost-%COMP%]     .bv2-profile-avatar .user-avatar{background-size:103%;display:inline-block;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=Ic({type:tO});tO.\u0275inj=rc({imports:[tF,qO,WM,JC,MM,TN,DM]});var uO=function(){};uO.\u0275fac=function(a){return new (a||uO)};uO.\u0275mod=Ic({type:uO});uO.\u0275inj=rc({imports:[tF,iC,JC]});var vO=function(){};vO.\u0275fac=function(a){return new (a||vO)};vO.\u0275mod=Ic({type:vO});vO.\u0275inj=rc({providers:[{provide:hnc,useValue:pO}],imports:[tF,mO,iC,JC,tO,CM,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)(u(kE))};wO.\u0275prov=qc({token:wO,factory:wO.\u0275fac,providedIn:"root"});var mqc=["panel"],nqc=0,oqc=function(a,b){this.source=a;this.option=b},pqc=jh(function(){}),qqc=new Rc("mat-autocomplete-default-options",{providedIn:"root",factory:FIa}),xO=function(a,b,c,d){var e=pqc.call(this)||this;e._changeDetectorRef=a;e._elementRef=b;e._defaults=c;e._activeOptionChanges=E.Subscription.EMPTY;e.showPanel=!1;e._isOpen=!1;e.displayWith=null;e.optionSelected=new Gv;e.opened=new Gv;e.closed=new Gv;e.optionActivated=new Gv;e._classList={};e.id="mat-autocomplete-"+nqc++;e.inertGroups=
(null==d?void 0:d.SAFARI)||!1;e._autoActiveFirstOption=!!c.autoActiveFirstOption;e._autoSelectActiveOption=!!c.autoSelectActiveOption;return e};U(xO,pqc);f=xO.prototype;f._setColor=function(a){this._color=a;this._setThemeClasses(this._classList)};
f.ngAfterContentInit=function(){var a=this;this._keyManager=MXb(vy(new Ay(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 oqc(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};
hh.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=xg(a)}},autoSelectActiveOption:{configurable:!0,enumerable:!0,get:function(){return this._autoSelectActiveOption},set:function(a){this._autoSelectActiveOption=xg(a)}},classList:{configurable:!0,enumerable:!0,set:function(a){a&&
a.length?this._classList=Tma(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)(C(Yv),C(vd),C(qqc),C(bx))};
xO.\u0275dir=Kc({type:xO,viewQuery:function(a,b){a&1&&(Uf(Qf,7),Uf(mqc,5));if(a&2){var c;Tf(c=Wf())&&(b.template=c.first);Tf(c=Wf())&&(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:[bf]});var rqc=new Rc("mat-autocomplete-scroll-strategy"),sqc={provide:rqc,deps:[$y],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}},yO=function(a,b,c,d,e,g,h,l,q,x,A){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=x;this._defaults=A;this._manuallyFloatingLabel=this._autocompleteDisabled=this._componentDestroyed=!1;this._viewportSubscription=E.Subscription.EMPTY;
this._canOpenOnNextFocus=!0;this._closeKeyEventStream=new E.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,E.defer)(function(){var K=B.autocomplete?B.autocomplete.options:null;return K?K.changes.pipe(Re(K),Se(function(){return E.merge.apply(null,Vc(K.map(function(N){return N.onSelectionChange})))})):
B._zone.onStable.pipe(Ge(),Se(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 Uib=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,E.merge)((0,E.fromEvent)(this._document,"click"),(0,E.fromEvent)(this._document,"auxclick"),(0,E.fromEvent)(this._document,"touchend")).pipe(ye(function(b){b=vg(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=Bg(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(Ue(function(){return jYb(a._positionStrategy)}),Ee(0));return(0,E.merge)(b,c).pipe(Se(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&&(Uib(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();Uib(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 nx(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 Sy({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=mYb(Xy(Zy(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(Vc(b),Vc(c));Vy(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=Qoa(a,b.options,b.optionGroups);0===a&&1===c?b._setScrollTop(0):b.panel&&(a=b.options.toArray()[a])&&(a=a._getHostElement(),b._setScrollTop(Roa(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&&!Bg(c)||38===c.keyCode&&Bg(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&&eh(this._trackedModal,"aria-owns",b);Aoa(a,"aria-owns",b);this._trackedModal=a}};f._clearFromModal=function(){this._trackedModal&&(eh(this._trackedModal,"aria-owns",this.autocomplete.id),this._trackedModal=null)};
hh.Object.defineProperties(yO.prototype,{autocompleteDisabled:{configurable:!0,enumerable:!0,get:function(){return this._autocompleteDisabled},set:function(a){this._autocompleteDisabled=xg(a)}},panelOpen:{configurable:!0,enumerable:!0,get:function(){return this._overlayAttached&&this.autocomplete.showPanel}},panelClosingActions:{configurable:!0,enumerable:!0,get:function(){var a=this;return(0,E.merge)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(ye(function(){return a._overlayAttached})),
this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef._detachments.pipe(ye(function(){return a._overlayAttached})):(0,E.of)()).pipe(D(function(b){return b instanceof RYb?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)(C(vd),C($y),C(Rf),C(We),C(Yv),C(rqc),C(Cy,8),C(PZb,9),C(fh,8),C(My),C(qqc,8))};yO.\u0275dir=Kc({type:yO,inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"]},features:[Zc]});var tqc={provide:uw,useExisting:wc(function(){return zO}),multi:!0},zO=function(){yO.apply(this,arguments);this._aboveClass="mat-autocomplete-panel-above"};U(zO,yO);zO.\u0275fac=function(){var a;return function(b){return(a||(a=td(zO)))(b||zO)}}();
zO.\u0275dir=Kc({type:zO,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(a,b){a&1&&M("focusin",function(){return b._handleFocus()})("blur",function(){return b._onTouched()})("input",function(c){return b._handleInput(c)})("keydown",function(c){return b._handleKeydown(c)})("click",function(){return b._handleClick()});a&2&&gf("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:[Gf([tqc]),bf]});var AO=function(){var a=xO.apply(this,arguments)||this;a._visibleClass="mat-autocomplete-visible";a._hiddenClass="mat-autocomplete-hidden";return a};U(AO,xO);AO.\u0275dir=xO.\u0275dir;AO.\u0275fac=function(){var a;return function(b){return(a||(a=td(AO)))(b||AO)}}();
AO.\u0275cmp=Gc({type:AO,selectors:[["mat-autocomplete"]],contentQueries:function(a,b,c){a&1&&(Vf(c,BYb,5),Vf(c,Lz,5));if(a&2){var d;Tf(d=Wf())&&(b.optionGroups=d);Tf(d=Wf())&&(b.options=d)}},hostAttrs:["ngSkipHydration","",1,"mat-autocomplete"],inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[Gf([{provide:AYb,useExisting:AO}]),bf],ngContentSelectors:["*"],decls:1,vars:0,consts:[["role","listbox",1,"mat-autocomplete-panel",3,"id","ngClass"],["panel",""]],template:function(a){a&
1&&(xf(),Q(0,GIa,3,4,"ng-template"))},dependencies:[cw],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 BO=function(){};BO.\u0275fac=function(a){return new (a||BO)};BO.\u0275mod=Ic({type:BO});BO.\u0275inj=rc({providers:[sqc],imports:[cz,Mz,dz,sw,Py,Mz,dz]});var CO=function(a,b,c,d,e,g,h){WD.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=Lbc;this.entrySelect=new Gv;this.selectedIssues=[];this.asyncChoices=[];this.choices=[];this.currentQuery="";this.hasLoadedResults=!0;this.searchingForSelf=!1;this.queryInternal="";this.queryChange=new Gv;this.getTextToPutInInputOnSelect=function(){return l.query}};U(CO,WD);CO.\u0275dir=WD.\u0275dir;
CO.prototype.ngOnInit=function(){var a=this;this.queryChange.pipe(De(250),Te(this.destroyed$)).subscribe(function(b){a.doSearch(b)})};CO.prototype.ngOnChanges=function(a){a.defaultChoices&&(this.choices=[].concat(Vc(this.defaultChoices),Vc(this.asyncChoices)))};CO.prototype.selectIssue=function(a){uqc(this,[a])};
var wqc=function(a){var b=a.split(",").map(function(c){return c.trim()}).filter(function(c){return!!c});if(vqc(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]},vqc=function(a){return!a.some(function(b){return!!/[^0-9]/.test(b)})};CO.prototype.search=function(a){"string"===typeof a&&(this.query=a)};
CO.prototype.doSearch=function(a){this.currentQuery=a;this.searchingForSelf=!1;if(""===a)xqc(this);else{var b=wqc(a);1===b.length||1<b.length&&this.allowMultipleIds?(this.lastSearchType="id",yqc(this,b,a)):(this.lastSearchType="query",this.searchAsync(a))}};
var xqc=function(a){a.choices=a.defaultChoices;a.asyncChoices=[];a.hasLoadedResults=!0;uqc(a,[])},uqc=function(a,b){a.selectedIssues=b;a.entrySelect.emit(a.selectedIssues);var c;null==(c=a.autocomplete)||Uib(c)},yqc=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,xqc(a)):(a.choices=zqc(a,b),a.hasLoadedResults=!1,a.issueFridge.watchSet(b).pipe(Ge(),Te(a.destroyed$)).subscribe(function(e){if(a.currentQuery===
c){var g=e.reduce(function(h,l){var q=oa(l.snapshot);return h.set(l.issueId,{resourceId:l.issueId,displayText:q.title,status:q.status,relations:[]})},new Map);Daa(b);e=b.map(function(h){return g.get(h)});e.includes(void 0)?a.asyncChoices=[]:a.asyncChoices=e;a.choices=[].concat(Vc(a.choices),Vc(a.asyncChoices));uqc(a,a.asyncChoices);a.hasLoadedResults=!0;a.cdr.detectChanges()}},function(){a.asyncChoices=[];a.hasLoadedResults=!0;a.cdr.detectChanges()}))};
CO.prototype.searchAsync=function(a){var b=this;this.choices=Aqc(this,a);this.hasLoadedResults=!1;if(Bk(a))this.hasLoadedResults=!0;else{var c=Bqc(a,this.defaultChoices),d,e;this.relatedIssues.get({query:c,trackerId:this.currentTracker.getTrackerId(),resourceType:null==(d=this.currentResource)?void 0:d.type,resourceId:ji(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(Vc(b.choices),Vc(g)),b.cdr.detectChanges())},function(g){b.errorHandler.errorHandler(null,g)}).finally(function(){b.hasLoadedResults=!0})}};var zqc=function(a,b){return a.defaultChoices.filter(function(c){return c.resourceId.toString().startsWith(b[0])})},Aqc=function(a,b){return Bk(b)?a.defaultChoices:a.defaultChoices.filter(function(c){return c.displayText.toLowerCase().startsWith(b.toLowerCase())})};CO.prototype.getIssueLink=function(a){return this.paths.editIssue(a.resourceId)};
var MIa=function(a){return a.relations.map(function(b){return Cqc.get(b)}).filter(function(b){return!!b}).join("/")},Bqc=function(a,b){if(0===b.length)return a;b=b.map(function(c){return c.resourceId}).join("|");return a+" -id:("+b+")"};CO.prototype.onEnter=function(a){var b;(null==(b=this.autocomplete)?0:b.panelOpen)&&a.stopPropagation()};hh.Object.defineProperties(CO.prototype,{query:{configurable:!0,enumerable:!0,get:function(){return this.queryInternal},set:function(a){this.queryInternal=a;this.queryChange.emit(a)}}});
CO.\u0275fac=function(a){return new (a||CO)(C(cH,2),C(vG),C(lH),C(wO),C(GF),C(SJ),C(lK))};
CO.\u0275cmp=Gc({type:CO,selectors:[["b-simple-issue-picker"]],viewQuery:function(a,b){a&1&&Uf(zO,5);if(a&2){var c;Tf(c=Wf())&&(b.autocomplete=c.first)}},inputs:{defaultChoices:"defaultChoices",currentResource:"currentResource",allowMultipleIds:"allowMultipleIds"},outputs:{entrySelect:"entrySelect",queryChange:"queryChange"},features:[Gf([wO,cH]),bf,Zc],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&&(G(0,"div",0),Q(1,HIa,3,0,"div",1),G(2,"div",2)(3,"input",3),M("ngModelChange",function(d){return b.search(d)})("keydown.enter",
function(d){return b.onEnter(d)})("keydown.alt.arrowright",function(){b.activeChoice&&b.domSafe.openInNewTab(b.getIssueLink(b.activeChoice))}),H(),G(4,"mat-autocomplete",4,5),M("optionActivated",function(d){b.activeChoice=null==d.option?null:d.option.value})("optionSelected",function(d){return b.selectIssue(d.option.value)}),Q(6,IIa,3,1,"mat-option",6),Q(7,JIa,2,0,"mat-option",7),Q(8,NIa,14,13,"mat-option",8),H()()());if(a&2){var c=Cf(5);z(1);F("ngIf",b.searchingForSelf);z(2);F("ngModel",b.query)("matAutocomplete",
c);gf("aria-label",0<b.selectedIssues.length?"issue "+b.selectedIssues[0].resourceId+" selected. Change.":"Choose issue");z(1);F("displayWith",b.getTextToPutInInputOnSelect);z(2);F("ngIf",""!==b.query&&!b.hasLoadedResults);z(1);F("ngIf",""!==b.query&&!!b.hasLoadedResults&&0===b.choices.length);z(1);F("ngForOf",b.choices)}},dependencies:[dw,ew,uA,og,Fw,Lw,qJ,rJ,vJ,sJ,pO,AO,zO,Lz,Kz,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 Cqc=new Map([["BLOCKED_BY","blocked"],["BLOCKING","blocking"],["DUPLICATE","duplicate"],["CANONICAL","canonical"]]);var DO=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+"+":""},RIa=function(a){if(""!==a.queryRestriction&&null!=a.issuePicker){var b=a.issuePicker.query;a.issuePicker.query=a.isQueryRestricted?b.replace(new RegExp(gn(a.queryRestriction)+" ?"),""):a.queryRestriction+
" "+b}};f=DO.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()};
DO.\u0275fac=function(a){return new (a||DO)(C(Tz),C(Vz),C(QI))};
DO.\u0275cmp=Gc({type:DO,selectors:[["ng-component"]],viewQuery:function(a,b){a&1&&Uf(CO,5);if(a&2){var c;Tf(c=Wf())&&(b.issuePicker=c.first)}},hostBindings:function(a,b){a&1&&M("keydown.escape",function(){return b.onEscape()})},decls:15,vars:10,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"bv2-rel-issue-text"],["class","bv2-rel-issue-preview-link",4,"ngIf"],[1,"bv2-rel-issue-search"],[1,"bv2-rel-issue-bubble-issue-picker"],["class","bv2-rel-issue-narrow-to-component",4,"ngIf"],[1,
"bv2-rel-issue-issue-picker",3,"defaultChoices","currentResource","allowMultipleIds","keydown.enter","entrySelect","queryChange"],["mat-dialog-actions",""],["mat-button","",1,"gmat-button","medium","cancel",3,"click"],["mat-flat-button","","color","primary",1,"gmat-button","medium","confirm",3,"disabled","click"],[1,"bv2-rel-issue-preview-link"],["target","_blank","class","bv2-rel-issue-id-link",3,"href",4,"ngFor","ngForOf"],["target","_blank",1,"bv2-rel-issue-id-link",3,"href"],["target","_blank",
1,"keep-underline","bv2-rel-issue-title-link",3,"href"],[1,"bv2-rel-issue-title-link-txt"],["svgIcon","pop-out",1,"icon-xs"],[1,"bv2-rel-issue-narrow-to-component"],["role","checkbox","tabindex","0","aria-label","Include subcomponents",1,"bv2-narrow-search-comp-btn","keep-focus-ring",3,"matTooltip","click","keyup.space"]],template:function(a,b){a&1&&(G(0,"h2",0),R(1),H(),G(2,"div",1)(3,"div",2),Q(4,PIa,2,1,"div",3),Q(5,QIa,6,2,"div",3),H(),G(6,"div",4)(7,"div",5),Q(8,SIa,2,2,"div",6),G(9,"b-simple-issue-picker",
7),M("keydown.enter",function(){return b.onEnter()})("entrySelect",function(c){b.selectedIssues=c})("queryChange",function(c){return b.onQueryChange(c)}),H()()()(),G(10,"div",8)(11,"button",9),M("click",function(){return b.onPressCancel()}),R(12," Cancel "),H(),G(13,"button",10),M("click",function(){return b.onPressConfirm()}),R(14," Confirm "),H()());a&2&&(z(1),Df(" ",b.data.title,"\n"),z(3),F("ngIf",1<b.selectedIssues.length),z(1),F("ngIf",1===b.selectedIssues.length),z(3),F("ngIf",!!b.queryRestriction),
z(1),qf("bv2-rel-issue-issue-picker-full-width",!!b.queryRestriction),F("defaultChoices",b.data.defaultChoices)("currentResource",b.data.currentResource)("allowMultipleIds",b.data.allowMultipleIds),z(4),F("disabled",!b.selectedIssues.length))},dependencies:[dw,ew,uA,Jz,Yz,Zz,$z,LB,CO],encapsulation:2});var EO=function(){};EO.\u0275fac=function(a){return new (a||EO)};EO.\u0275mod=Ic({type:EO});EO.\u0275inj=rc({imports:[hJ,tF,$w,DM,vO,BO,iC,aA,JC,ZM]});var Dqc=new Rc("XapHatsSurveyApiKey"),Eqc=new Rc("XapHatsSurveyLocale"),Fqc=new Rc("XapHatsSurveyWindow"),Gqc=new Rc("XapHatsSurveyListnrProductId");var Hqc=new Map([[0,1],[1,2]]),FO=function(a,b,c,d,e){var g=function(){var h={apiKey:a,locale:null!=c?c:"en-US",window:d};h=y8b(B8b,"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 A8b(h)};this.helpService=e?e.runOutsideAngular(g):g()},Iqc=function(a,b,c){c=void 0===c?{}:c;var d=void 0===d?{}:d;var e=d.anonymous?void 0:d.authUser||0;return(new E.Observable(function(g){a.helpService.requestSurvey({triggerId:b,enableTestingMode:d.enableTestingMode,nonProd:d.nonProd,callback:function(h){null!=h.surveyData&&g.next(h.surveyData);g.complete()},authuser:e})})).pipe(Se(function(g){return new E.Observable(function(h){var l;a.helpService.presentSurvey({surveyData:g,
colorScheme:d.theme?Hqc.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)})}))};FO.\u0275fac=function(a){return new (a||FO)(u(Dqc),u(Gqc),u(Eqc,8),u(Fqc,8),u(We,8))};FO.\u0275prov=qc({token:FO,factory:FO.\u0275fac,providedIn:"any"});var Jqc=Jn.ISSUE_PICKER,GO=function(a,b,c,d){this.dialog=a;this.analytics=b;this.hatsService=c;this.activeSession=d};
GO.prototype.open=function(a,b){var c=this,d=Kqc(this,a),e=d.dialog,g=d.config;return new Promise(function(h){Rz(c.dialog.open(e,g)).subscribe(function(l){var q,x=null!=(q=null==l?void 0:l.selectedIssueIds)?q:[],A;l=null!=(A=null==l?void 0:l.lastSearchType)?A:"";A=[a.originIsBulk?"bulk":void 0,1<x.length?"search-multi":"search",a.edgeType].filter(Boolean).join("-");c.analytics.trackEvent(Jqc,A,l);null==b||b(x);h(x);c.activeSession.isInternalSession()&&"id"===l&&Iqc(c.hatsService,"etC5mMepi0g6pPHSLo10TaNs15gn").pipe(Ge()).subscribe()})})};
var Kqc=function(a,b){var c={panelClass:"no-jitter",data:b};return UD(a.activeSession,"enableIDPCanonicalIssuePicker")&&"canonical"===b.edgeType?(c.width="60vw",c.minWidth="800px",{dialog:zM,config:c}):{dialog:DO,config:c}};GO.\u0275fac=function(a){return new (a||GO)(u(Wz),u(gH),u(FO),u(gs))};GO.\u0275prov=qc({token:GO,factory:GO.\u0275fac,providedIn:"root"});var HO=function(){};HO.\u0275fac=function(a){return new (a||HO)};HO.\u0275mod=Ic({type:HO});HO.\u0275inj=rc({imports:[EO,nN]});var Kn={ASSIGNED_TO_ME:{key:"ASSIGNED_TO_ME",displayAs:"Assigned to me",check:function(a){var b;return!!ml().user.email&&ml().user.email===(null==(b=a.snapshot[0].assigneeUser)?void 0:b.emailAddress)},queryFragment:"assignee:me"},OPEN:{key:"OPEN",displayAs:"Open",check:function(a){return yl(a)},queryFragment:"status:open"}};var IO=function(a){this.pathToAncestor=a},Mn=function(a){return new IO(a.split(">"))},JO=function(a,b){return new IO([].concat(Vc(a.pathToAncestor),[b]))};IO.prototype.hash=function(){return this.pathToAncestor.join(">")};IO.prototype.equals=function(a){return!!a&&Mh(this.pathToAncestor,a.pathToAncestor)};var Lqc=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};
IO.prototype.contains=function(a){return this.pathToAncestor.join(",").includes(a.pathToAncestor.join(","))};IO.prototype.some=function(a){return this.pathToAncestor.some(a)};IO.prototype.toString=function(){return this.hash()};
hh.Object.defineProperties(IO.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 IO(this.pathToAncestor.slice(0,this.size-1))}},root:{configurable:!0,enumerable:!0,get:function(){return this.pathToAncestor[0]}}});var KO=function(){var a=this;this.draftRows=new Map;this.changed$=new E.Subject;this.counter=0;this.createId=function(){return String(a.counter++)}};KO.prototype.create=function(a,b,c){var d=this.createId();b={type:"draft-issue",title:"",ancestorChain:JO(a,d),level:a.size-1,issue$:(0,E.of)(b),afterDraftId:null==c?void 0:c.afterDraftId,afterIssueId:null==c?void 0:c.afterIssueId,id:d,saving:!1,draftStartedAt:new Date};this.set(a,b);return b};
KO.prototype.get=function(a){var b;return null!=(b=this.draftRows.get(a.hash()))?b:[]};KO.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 Mqc=function(a,b){return he(function(c){return c.return((0,E.firstValueFrom)(a.changed$.pipe(Re(a.draftRows),D(function(d){return![].concat(Vc(d.values())).flat().some(function(e){return e.issueId===b||e.id===b})}),ye(Boolean),D(function(){}))))})},Nqc=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)};
KO.prototype.isSaving=function(){return[].concat(Vc(this.draftRows.values())).flat().some(function(a){return a.saving})};KO.prototype.set=function(a,b){var c=this.get(a);this.draftRows.set(a.hash(),[].concat(Vc(c),[b]));this.changed$.next(this.draftRows)};var Oqc={defaultExpandedChildren:0,defaultExpansionLevel:0,maxExpansion:Infinity},Pqc=function(a){var b={defaultExpansionLevel:3,defaultExpandedChildren:10,maxExpansion:500};b=void 0===b?Oqc:b;a=void 0===a?{}:a;this.config=b;this.expansionState=this.initialState=a;this.changed$=new E.ReplaySubject(1)};Pqc.prototype.getExpansion=function(a){a=a.hash();return this.expansionState[a]};
Pqc.prototype.setExpansion=function(a,b){a=a.hash();void 0===b?delete this.expansionState[a]:this.expansionState[a]=b;this.changed$.next(this.expansionState)};
var Qqc=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=JO(b,e.nodeId);e.size<=a.config.defaultExpansionLevel&&void 0===a.getExpansion(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=Mn(q);q.contains(e)&&(d=q.pathToAncestor.join(",").replace(e.pathToAncestor.join(","),g.pathToAncestor.join(",")).split(","),d=
new IO(d),delete a.expansionState[q.hash()],a.expansionState[d.hash()]=l,d=!0)}}if(!a.getExpansion(b)){var x;a.expansionState[b.hash()]=null!=(x=a.config.defaultExpandedChildren)?x:a.config.maxExpansion;d=!0}d&&a.changed$.next(a.expansionState)},Rqc=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=Mn(d).nodeId;var e=void 0;c=Math.max(c,null!=(e=b.get(d))?e:0);b.set(d,c)}return b};var LO=function(a,b,c,d,e){this.issueApi=a;this.activeSession=b;this.issueFridge=c;this.componentFridge=d;this.componentTemplatesFridge=e;this.currentUser=ii(this.activeSession.getUserEmail())},Tqc=function(a,b){var c,d,e;return he(function(g){if(1==g.nextAddress)return g.yield(Sqc(a,b),2);c=g.yieldResult;d=c.component;e=c.defaultTemplate;return g.return(Oua(d,e))})},Vqc=function(a,b){var c;return he(function(d){if(1==d.nextAddress)return d.yield(Uqc(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:[]})})},Wqc=function(a,b,c){var d;return he(function(e){if(1==e.nextAddress)return e.yield(Uqc(a,b),2);d=e.yieldResult;d.title=c;return e.return(a.create(d))})};
LO.prototype.create=function(a){var b=this,c,d;return he(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 Uqc=function(a,b){var c,d,e,g,h;return he(function(l){if(1==l.nextAddress)return l.yield((0,E.firstValueFrom)(a.issueFridge.watch(b).pipe(ye(pi))),2);if(3!=l.nextAddress)return c=l.yieldResult,l.yield(Sqc(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=$fc[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,Xqc(g),Yqc(e,g));h.assigneeUser&&(h.status="ASSIGNED");return l.return(h)})},Xqc=function(a){if(!a)return{};a=Tb(a.snapshot,function(b){return null==b||"string"===typeof b&&Bk(b)?!1:!0});delete a.componentId;return a},Yqc=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$2324:g.$jscomp$loop$prop$customField$2324},d=a.next())if(g.$jscomp$loop$prop$customField$2324=d.value,g.$jscomp$loop$prop$customField$2324.required){e=void 0;d=null!=(e=g.$jscomp$loop$prop$customField$2324.typedDefaultValue)?e:new Yh({customFieldId:g.$jscomp$loop$prop$customField$2324.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(x){return function(A){return A.customFieldId===
x.$jscomp$loop$prop$customField$2324.customFieldId}}(g)))?l:d;q&&c.push(Object.assign({},q))}return 0===c.length?{}:{customField:c}},Sqc=function(a,b){var c,d,e,g,h,l;return he(function(q){if(1==q.nextAddress)return q.yield(Promise.all([(0,E.firstValueFrom)(a.componentTemplatesFridge.defaultTemplate$(b)),(0,E.firstValueFrom)(a.componentFridge.watch(b).pipe(ye(pi)))]),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})})};
LO.\u0275fac=function(a){return new (a||LO)(u(kE),u(gs),u(lH),u(eF),u(LF))};LO.\u0275prov=qc({token:LO,factory:LO.\u0275fac,providedIn:"root"});var MO=function(a,b,c,d,e,g,h,l,q,x,A,B,K){WD.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=x;this.issueCreationService=A;this.clearcut=B;this.refreshMonitor=K;var P;this.recallExpansion=UG(null!=(P=this.saveExpansionAtKey)?P:"");var Y;this.saveExpansion=Qo(null!=(Y=this.saveExpansionAtKey)?Y:"");this.expansion=new Pqc(this.recallExpansion());
this.draftRows=new KO;this.refetchingAll$=new E.BehaviorSubject(!1);this.userRequestedRefresh$=this.refreshMonitor.getObservable().pipe(Se(function(){N.refetchingAll$.next(!0);var X=Vm(N.rows$),ka=[];if(!X)return Promise.resolve();ka.push(egc(N.issueRelationshipsFridge,N.rootIssueId));X=k(X);for(var ma=X.next();!ma.done;ma=X.next())ma=ma.value,"data"===ma.type&&ka.push(N.issueFridge.poke(ma.id)),1<ma.level&&ka.push(N.issueRelationshipsFridge.poke(ma.id));return Promise.all(ka).then(function(){N.refetchingAll$.next(!1)})}));
this.rows$=(0,E.merge)(this.draftRows.changed$,this.expansion.changed$,this.userRequestedRefresh$,(0,E.scheduled)((0,E.of)({}),E.asapScheduler)).pipe(Se(function(){return dgc(N.issueRelationshipsFridge,N.rootIssueId,3)}),Se(function(){var X=new Set([].concat(Vc(Rqc(N.expansion).keys())));return N.getParentToChildrenMap(X)}),Se(function(X){return N.quickFilters.value$.pipe(Se(function(ka){return N.applyFilters(X,[].concat(Vc(ka)))}))}),D(function(X){return N.calculateDisplayedRows(X)}),Pe({refCount:!0,
bufferSize:1}));this.filteredRowCount$=new E.BehaviorSubject(0);this.rootIssue$=this.issueFridge.watch(this.rootIssueId).pipe(ye(pi));this.ROOT_ROW={type:"data",id:this.rootIssueId,level:-1,ancestorChain:new IO([this.rootIssueId]),expandedCount:500,issue$:E.NEVER,hasChildren$:E.NEVER};this.supportsOneLineCreation=(0,E.firstValueFrom)(this.rootIssue$).then(function(X){return ln(X.snapshot[0].componentId)}).then(function(X){return Tqc(N.issueCreationService,X)});this.isOneLineCreationSupported=function(){return N.supportsOneLineCreation};
this.saveExpansionAtKey&&this.subscriptions.add(this.expansion.changed$.pipe(De(100)).subscribe(function(X){N.saveExpansion(X)}))};U(MO,WD);MO.\u0275dir=WD.\u0275dir;MO.\u0275fac=WD.\u0275fac;f=MO.prototype;
f.createChildOrDraft=function(a,b){a=void 0===a?this.ROOT_ROW.ancestorChain:a;var c=this,d,e,g,h,l,q,x;he(function(A){switch(A.nextAddress){case 1:return d=a.nodeId,A.yield((0,E.firstValueFrom)(c.issueFridge.watch(d)),2);case 2:return(e=A.yieldResult)?A.yield(c.supportsOneLineCreation,3):A.return();case 3:g=A.yieldResult;if(!g){A.jumpTo(4);break}return A.yield(Vqc(c.issueCreationService,d),5);case 5:return h=A.yieldResult,A.return(c.draftRows.create(a,h,b));case 4:return l=e.snapshot[0].componentId,
x={},A.yield(Rr(c.router,c.paths.createIssue((x.component=l?String(l):void 0,x.parentIssueId=e.issueId,x.redirectUrl=Wl(c.rootIssueId),x.afterIssueId=null==(q=b)?void 0:q.afterIssueId,x))),6);case 6:return A.return()}})};
f.addExistingChild=function(a){var b=this,c,d,e,g;he(function(h){if(1==h.nextAddress)return h.yield((0,E.firstValueFrom)(null!=(d=null==(c=a)?void 0:c.issue$)?d:b.rootIssue$),2);e=h.yieldResult;if(!e)return h.return();g=String(e.issueId);return h.yield(b.issuePicker.open({title:"Add Children of b/"+g,allowMultipleIds:!0,edgeType:"child"},function(l){return he(function(q){if(1==q.nextAddress){if(0===l.length)return q.return();b.assignParentToIssues(g,l);b.analytics.trackEvent(Jn.EXPERIMENTAL_HOMEPAGE,
"add","existing-child-issue");return q.yield(Cn(),2)}a&&b.expansion.setExpansion(a.ancestorChain,500);me(q)})}),0)})};f.deleteDraftRow=function(a){this.draftRows.remove(a)};f.saveDraft=function(a){var b=this,c;return he(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 he(function(h){switch(h.nextAddress){case 1:return c=a.ancestorChain.parentNodeId,ie(h,2),h.yield(Wqc(b.issueCreationService,c,a.title),4);case 4:e=h.yieldResult;d=e.issueId;ms(h,3);break;case 2:return g=le(h),EF(b.butterBar,"Could not create issue. Error: "+JSON.stringify(g)),b.deleteDraftRow(a),h.return();case 3:return b.trackIssueCreationTime(a),b.expansion.setExpansion(a.ancestorChain.parentChain,500),Nqc(b.draftRows,a,d),h.return(d)}})};
f.assignParentToIssue=function(a,b){var c=this,d,e,g,h,l,q;return he(function(x){if(1==x.nextAddress)return d=a.ancestorChain.parentNodeId,g=null!=(e=a.afterIssueId)?e:a.afterDraftId,void 0===g||"-1"===g?x.jumpTo(2):x.yield(Mqc(c.draftRows,g),2);if(4!=x.nextAddress)return x.yield(c.issueRelationshipsFridge.assignParentToIssues(d,[{issueId:b,afterIssueId:a.afterIssueId}]),4);h=x.yieldResult;l=h.errors;(null==(q=l)?0:q.length)&&EF(c.butterBar,"Could not create issue relationship. Error: "+JSON.stringify(l));
c.deleteDraftRow(a);me(x)})};
f.getParentToChildrenMap=function(a,b){var c=this;b=void 0===b?0:b;return(0,E.combineLatest)([this.rootIssueId].concat(Vc(a.keys())).map(function(d){return c.refetchingAll$.pipe(ye(function(e){return!e}),Se(function(){return cgc(c.issueRelationshipsFridge,d)}))})).pipe(D(function(d){return d.filter(Boolean)}),Se(function(d){var e=new Map(d.map(function(g){return[g.issueId,g]}));if(1===b)return(0,E.of)(e);d=c.getIdsAtLevel(e,b);return c.getParentToChildrenMap(d,b+1).pipe(D(function(g){return fAa(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$2326=d.pop();e.$jscomp$loop$prop$current$2326.level===b&&c.add(e.$jscomp$loop$prop$current$2326.id);if(!(e.$jscomp$loop$prop$current$2326.level>b)){var g=void 0,h=void 0,l=null!=(h=null==(g=a.get(e.$jscomp$loop$prop$current$2326.id))?void 0:g.relatedChildren)?h:[];d.push.apply(d,Vc(l.map(function(q){return function(x){return{id:x.targetIssueId,level:q.$jscomp$loop$prop$current$2326.level+
1}}}(e))))}e={$jscomp$loop$prop$current$2326:e.$jscomp$loop$prop$current$2326}}return c};
f.calculateDisplayedRows=function(a){for(var b=this,c=[],d=[this.ROOT_ROW],e={};0<d.length;){e.$jscomp$loop$prop$parentRow$2328=d.pop();if("load-more-children"===e.$jscomp$loop$prop$parentRow$2328.type||"draft-issue"===e.$jscomp$loop$prop$parentRow$2328.type)c.push(e.$jscomp$loop$prop$parentRow$2328);else{e.$jscomp$loop$prop$parentRow$2328.id!==this.rootIssueId&&c.push(e.$jscomp$loop$prop$parentRow$2328);var g=void 0,h=void 0,l=null!=(h=null==(g=a.get(e.$jscomp$loop$prop$parentRow$2328.id))?void 0:
g.relatedChildren)?h:[];g=l.slice(0,e.$jscomp$loop$prop$parentRow$2328.expandedCount);g.length&&(e.$jscomp$loop$prop$parentRow$2328.hasChildren$=(0,E.of)(!0));e.$jscomp$loop$prop$childrenLevel$2329=e.$jscomp$loop$prop$parentRow$2328.level+1;e.$jscomp$loop$prop$parentRow$2328.expandedCount&&g.length<l.length&&(h=JO(e.$jscomp$loop$prop$parentRow$2328.ancestorChain,"load-more-children"),d.push({type:"load-more-children",id:h.hash(),level:e.$jscomp$loop$prop$childrenLevel$2329,parentIssue$:e.$jscomp$loop$prop$parentRow$2328.issue$,
ancestorChain:h,truncatedSiblingCount:l.length-g.length}));l=g.map(function(q){return function(x){var A=JO(q.$jscomp$loop$prop$parentRow$2328.ancestorChain,x.targetIssueId);return{type:"data",id:x.targetIssueId,level:q.$jscomp$loop$prop$childrenLevel$2329,hasChildren$:Zqc(b,x.targetIssueId),ancestorChain:A,expandedCount:b.getExpandedCount(A,q.$jscomp$loop$prop$childrenLevel$2329,a),issue$:b.issueFridge.watch(x.targetIssueId)}}}(e));d.push.apply(d,Vc(this.interpolateDraftRows(l,e.$jscomp$loop$prop$parentRow$2328.ancestorChain).reverse()))}e=
{$jscomp$loop$prop$parentRow$2328:e.$jscomp$loop$prop$parentRow$2328,$jscomp$loop$prop$childrenLevel$2329:e.$jscomp$loop$prop$childrenLevel$2329}}return c};
var Zqc=function(a,b){return a.issueRelationshipsFridge.watch(b).pipe(Se(function(c){return c&&c.relatedChildren.length?a.quickFilters.value$.pipe(Se(function(d){return 0===d.size?(0,E.of)(!0):a.issueFridge.watchSet(c.relatedChildren.map(function(e){return e.targetIssueId})).pipe(D(function(e){return e.some(function(g){return TIa(g,[].concat(Vc(d)))})}))})):(0,E.of)(!1)}))};f=MO.prototype;
f.interpolateDraftRows=function(a,b){var c=[].concat(Vc(a)),d=this.draftRows.get(b);b={};d=k(d);for(var e=d.next();!e.done;b={$jscomp$loop$prop$draft$2332:b.$jscomp$loop$prop$draft$2332},e=d.next())b.$jscomp$loop$prop$draft$2332=e.value,a.some(function(g){return function(h){return h.id===g.$jscomp$loop$prop$draft$2332.issueId}}(b))||(e=c.findIndex(function(g){return function(h){return h.id===g.$jscomp$loop$prop$draft$2332.afterDraftId||h.id===g.$jscomp$loop$prop$draft$2332.afterIssueId}}(b)),c.splice(-1===
e?c.length:e+1,0,b.$jscomp$loop$prop$draft$2332));return c};f.getExpandedCount=function(a,b,c){var d=a.nodeId;a=this.expansion.getExpansion(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 he(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 EF(c.butterBar,"Could not add "+e+" as child of b/"+a+". "+(null==(h=g)?void 0:h.map(function(q){return Rl(q)}))),l.return();me(l)})};
f.trackIssueCreationTime=function(a){a=(new Date).getTime()-a.draftStartedAt.getTime();if(0<a){var b=Math.min(a,108E5);Ofc("createIssue",b,"from-tree");this.analytics.trackEvent(Jn.CREATE_ISSUE,"createIssue","time-to-create-from-tree",b);WG(this.clearcut,a,"createIssue-fromTree")}};
f.getAllIssues=function(a){var b=this,c,d,e,g,h,l,q,x,A,B,K,N;return he(function(P){if(1==P.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,x=q.relatedChildren.map(function(Y){return Y.targetIssueId}),A=k(x),B=A.next();!B.done;B=A.next())K=B.value,c.add(K);return P.yield(Promise.all([].concat(Vc(c)).map(function(Y){return(0,E.firstValueFrom)(b.issueFridge.watch(Y))})),2)}N=P.yieldResult;return P.return(ql(N.filter(pi),
function(Y){return Y.issueId}))})};
f.applyFilters=function(a,b){function c(q){if(!q)return!1;var x=e.get(q),A=h.get(q);if(!x||0===x.relatedChildren.length)return A;var B=x.relatedChildren.filter(function(K){return c(K.targetIssueId)});l+=x.relatedChildren.length-B.length;e.set(q,Object.assign({},x,{relatedChildren:B}));return 0!==B.length||A}var d=this,e,g,h,l;return he(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(x){return[x.issueId,TIa(x,b)]}));l=0;c(d.rootIssueId);d.filteredRowCount$.next(l);return q.return(e)})};var NO=function(a,b,c,d,e,g,h,l,q,x){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=x};
NO.prototype.create=function(a,b,c){b=void 0===b?new iJ:b;return new MO(a,b,c,this.analytics,this.butterBar,this.issueFridge,this.issuePicker,this.issueRelationshipsFridge,this.paths,this.router,this.issueCreationService,this.clearcut,this.refreshMonitor)};NO.\u0275fac=function(a){return new (a||NO)(u(gH),u(CF),u(lH),u(GO),u(sH),u(vG),u(nG),u(LO),u(VG),u(jH))};NO.\u0275prov=qc({token:NO,factory:NO.\u0275fac,providedIn:"root"});var OO=function(a){this.clApi=a};OO.prototype.transform=function(a){var b=this;return a.pipe(Se(function(c){if(null==c)return(0,E.of)(c);var d,e=oa(null!=(d=c.snapshot[0].changelist)?d:[]);return e?b.clApi.getChangelistDetails(e).pipe(D(function(g){return Object.assign({},g,{changelistNumber:Number(e)})})):(0,E.of)(void 0)}),Pe({bufferSize:1,refCount:!0}))};OO.\u0275fac=function(a){return new (a||OO)(C(RC,16))};OO.\u0275pipe=Lc({name:"mostRecentCL$",type:OO,pure:!0});var $qc=["button"],PO=function(){this.color="primary";this.format="hairline";this.disabled=!1;this.size="medium";this.onAction=new Gv};PO.prototype.onClick=function(a){this.onAction.emit(a)};PO.prototype.focus=function(){this.nativeButton.focus()};PO.\u0275fac=function(a){return new (a||PO)};
PO.\u0275cmp=Gc({type:PO,selectors:[["b-button"]],viewQuery:function(a,b){a&1&&Uf($qc,5);if(a&2){var c;Tf(c=Wf())&&(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&&(xf(),Q(0,VIa,1,0,"ng-template",null,0,Zf),J(2,1),Q(3,XIa,3,7,"button",2),Q(4,ZIa,3,7,"button",3),Q(5,aJa,3,7,"button",4),Q(6,cJa,3,7,"button",5),Q(7,eJa,3,7,"button",6),L());a&2&&(z(2),F("ngSwitch",b.format),z(1),F("ngSwitchCase","hairline"),z(1),F("ngSwitchCase","flat"),z(1),F("ngSwitchCase","fill"),z(1),F("ngSwitchCase","icon"))},dependencies:[Jz,LB,cw,jw,fw,gw,hw],encapsulation:2,changeDetection:0});var arc={CANCEL:"CANCEL",ARCHIVE_ALL:"ARCHIVE_ALL",ARCHIVE_ONE:"ARCHIVE_ONE"},brc=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=arc};brc.\u0275fac=function(a){return new (a||brc)(C(Vz),C(vG))};
brc.\u0275cmp=Gc({type:brc,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&&(G(0,"h1",0),R(1,"Archive with all descendant issues?"),
H(),G(2,"div",1),R(3),I(4,"br")(5,"br"),G(6,"a",2),R(7,"View all descendant issues"),H(),I(8,"br"),G(9,"a",3),R(10,"Learn more"),H()(),G(11,"div",4)(12,"button",5),R(13,"Cancel"),H(),G(14,"button",5),R(15," Just this one "),H(),G(16,"button",6),R(17," Archive all "),H()());a&2&&(z(3),Df(" This issue has ",b.numberOfDescendants," descendant issues. Archiving only this issue may make it difficult to find them later. Do you want to archive this issue with all descendant issues? "),z(3),Af("href",b.descendantIssuesUrl,
Md),z(6),F("matDialogClose",b.ActionType.CANCEL),z(2),F("matDialogClose",b.ActionType.ARCHIVE_ONE),z(2),F("matDialogClose",b.ActionType.ARCHIVE_ALL))},dependencies:[Jz,Xz,Yz,Zz,$z],encapsulation:2});var QO=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};
QO.prototype.submitArchivalState=function(a,b){var c=this;return he(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);me(d)})};
QO.prototype.archive=function(a){var b=this,c,d,e,g,h,l,q,x,A,B;return he(function(K){if(1==K.nextAddress)return K.yield(Promise.all([b.getDescendants(a),(0,E.firstValueFrom)(b.issueFridge.watch(a))]),2);c=K.yieldResult;d=k(c);e=d.next().value;g=d.next().value;h=e;l=g;q=h;x=q.childToParents;A=q.completeResult;B=[].concat(Vc(x.keys()));x.set(a,l.parentIssueIds||[]);return 0===B.length?K.return(crc(b,a,x)):A?K.return(drc(b,a,B,x)):K.return(erc(b,a,x))})};
var drc=function(a,b,c,d){var e,g,h;return he(function(l){if(1==l.nextAddress)return e={numberOfDescendants:c.length,issueId:b},g={data:e,width:"500px"},l.yield((0,E.firstValueFrom)(Rz(a.dialog.open(brc,g))),2);h=l.yieldResult;switch(h){case "ARCHIVE_ALL":return l.return(frc(a,[b].concat(Vc(c)),d));case "ARCHIVE_ONE":return l.return(crc(a,b,d));case "CANCEL":return l.return();default:return l.return(rh(h))}})},frc=function(a,b,c){var d=[{issueIds:b,actions:[{fieldName:"isArchived",value:"true"}]}];
grc(a,c);DF(a.butterBar,"Archiving "+b.length+" issues...");return a.issueApi.issueBulkEdit({bulkEditOps:d}).then(function(){DF(a.butterBar,"Archived "+b.length+" issues successfully.")}).catch(function(e){EF(a.butterBar,e);hrc(a,c)})},crc=function(a,b,c){grc(a,c);return a.issueApi.updateIssue(b,{issueId:b,actions:[{fieldName:"isArchived",value:"true"}]}).then(function(){DF(a.butterBar,"Archived successfully.")}).catch(function(d){EF(a.butterBar,d);hrc(a,c)})},erc=function(a,b,c){return new Promise(function(d){a.confirmationDialogService.open({title:"Archive issue with descendant issues?",
content:jn(fn("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."),hn("BR",{}),hn("BR",{}),hn("A",{href:a.paths.listIssues({q:"parentId:"+b+"+"}),target:"_blank"},"View all descendant issues"),hn("BR",{}),hn("A",{href:"http://go/b-issue-archive",target:"_blank"},"Learn more")),cancelButtonText:"Cancel",confirmButtonText:"Just this one",onConfirm:function(){crc(a,
b,c).then(d)},onDismiss:d})})},grc=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)}},hrc=function(a,b){b=[].concat(Vc(b.values())).flat();b=k(b);for(var c=b.next();!c.done;c=b.next())a.issueRelationshipsFridge.poke(c.value)};
QO.prototype.getDescendants=function(a){var b=this,c,d,e,g,h,l,q,x,A,B,K,N;return he(function(P){if(1==P.nextAddress)return P.yield((0,E.firstValueFrom)(dgc(b.issueRelationshipsFridge,a)),2);c=P.yieldResult;d=c.results;e=!0;g=new Map;h=k(d);for(l=h.next();!l.done;l=h.next()){q=l.value;x=k(q.relatedChildren);for(A=x.next();!A.done;A=x.next())B=A.value,K=void 0,N=null!=(K=g.get(B.targetIssueId))?K:[],N.push(q.issueId),g.set(B.targetIssueId,N);q.totalChildCount===q.relatedChildren.length||(e=!1)}return P.return({childToParents:g,
completeResult:e})})};QO.\u0275fac=function(a){return new (a||QO)(u(kE),u(Wz),u(oI),u(sH),u(lH),u(SE),u(vG),u(CF),u(mJ))};QO.\u0275prov=qc({token:QO,factory:QO.\u0275fac,providedIn:"root"});var RO=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)};RO.prototype.ngOnDestroy=function(){this.checks=[];window.removeEventListener("beforeunload",this.beforeUnloadEventHandler)};
var SO=function(a,b,c){var d={dataChanged:b,triggerOnSearch:c};a.checks.push(d);return new E.Subscription(function(){a.checks=a.checks.filter(function(e){return e!==d})})};RO.prototype.canDeactivate=function(a,b,c,d){a:{a=wC(c.url).getPath()===wC(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?irc()?(this.checks=[],!0):!1:!0};var irc=function(){return window.confirm("You have unsaved changes; are you sure you want to navigate away without saving?")};
RO.\u0275fac=function(a){return new (a||RO)};RO.\u0275prov=qc({token:RO,factory:RO.\u0275fac,providedIn:"root"});var jrc=function(a,b,c,d,e,g,h,l,q,x,A,B){var K=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=x;this.clearcut=A;this.refreshMonitor=B;this.expansion=new Pqc;this.draftRows=new KO;this.refetchingAll$=new E.BehaviorSubject(!1);this.userRequestedRefresh$=this.refreshMonitor.getObservable().pipe(Se(function(){K.refetchingAll$.next(!0);var N=Vm(K.rows$),
P=[];if(!N)return Promise.resolve();P.push(egc(K.issueRelationshipsFridge,K.rootIssueId));N=k(N);for(var Y=N.next();!Y.done;Y=N.next())Y=Y.value,"data"===Y.type&&P.push(K.issueFridge.poke(Y.id)),1<Y.level&&P.push(K.issueRelationshipsFridge.poke(Y.id));return Promise.all(P).then(function(){K.refetchingAll$.next(!1)})}));this.rows$=(0,E.merge)(this.draftRows.changed$,this.expansion.changed$,this.userRequestedRefresh$,(0,E.scheduled)((0,E.of)({}),E.asapScheduler)).pipe(Se(function(){return dgc(K.issueRelationshipsFridge,
K.rootIssueId,3)}),Se(function(){var N=Rqc(K.expansion);return K.getParentToChildrenMap(N)}),Lia(this.quickFilters.value$),Se(function(N){N=k(N);var P=N.next().value,Y=N.next().value;return 0===Y.size?(K.filteredRowCount$.next(0),(0,E.of)(P)):K.getAllIssues(P).pipe(D(function(X){return K.applyFilters(P,Y,X)}))}),D(function(N){return K.calculateDisplayedRows(N)}),Pe({refCount:!0,bufferSize:1}));this.filteredRowCount$=new E.BehaviorSubject(0);this.rootIssue$=this.issueFridge.watch(this.rootIssueId).pipe(ye(pi));
this.ROOT_ROW={type:"data",id:this.rootIssueId,level:-1,ancestorChain:new IO([this.rootIssueId]),expandedCount:500,issue$:E.NEVER,hasChildren$:E.NEVER};this.supportsOneLineCreation=(0,E.firstValueFrom)(this.rootIssue$).then(function(N){return ln(N.snapshot[0].componentId)}).then(function(N){return Tqc(K.issueCreationService,N)});this.isOneLineCreationSupported=function(){return K.supportsOneLineCreation}};f=jrc.prototype;
f.createChildOrDraft=function(a,b){a=void 0===a?this.ROOT_ROW.ancestorChain:a;var c=this,d,e,g,h,l,q,x;he(function(A){switch(A.nextAddress){case 1:return d=a.nodeId,A.yield((0,E.firstValueFrom)(c.issueFridge.watch(d)),2);case 2:return(e=A.yieldResult)?A.yield(c.supportsOneLineCreation,3):A.return();case 3:g=A.yieldResult;if(!g){A.jumpTo(4);break}return A.yield(Vqc(c.issueCreationService,d),5);case 5:return h=A.yieldResult,A.return(c.draftRows.create(a,h,b));case 4:return l=e.snapshot[0].componentId,
x={},A.yield(Rr(c.router,c.paths.createIssue((x.component=l?String(l):void 0,x.parentIssueId=e.issueId,x.redirectUrl=Wl(c.rootIssueId),x.afterIssueId=null==(q=b)?void 0:q.afterIssueId,x))),6);case 6:return A.return()}})};
f.addExistingChild=function(a){var b=this,c,d,e,g;he(function(h){if(1==h.nextAddress)return h.yield((0,E.firstValueFrom)(null!=(d=null==(c=a)?void 0:c.issue$)?d:b.rootIssue$),2);e=h.yieldResult;if(!e)return h.return();g=String(e.issueId);return h.yield(b.issuePicker.open({title:"Add Children of b/"+g,allowMultipleIds:!0,edgeType:"child"},function(l){return he(function(q){if(1==q.nextAddress){if(0===l.length)return q.return();b.assignParentToIssues(g,l);b.analytics.trackEvent(Jn.EDIT_ISSUE,"add","existing-child-issue");
return q.yield(Cn(),2)}a&&b.expansion.setExpansion(a.ancestorChain,500);me(q)})}),0)})};f.deleteDraftRow=function(a){this.draftRows.remove(a)};f.saveDraft=function(a){var b=this,c;return he(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 he(function(h){switch(h.nextAddress){case 1:return c=a.ancestorChain.parentNodeId,ie(h,2),h.yield(Wqc(b.issueCreationService,c,a.title),4);case 4:e=h.yieldResult;d=e.issueId;ms(h,3);break;case 2:return g=le(h),EF(b.butterBar,"Could not create issue. Error: "+JSON.stringify(g)),b.deleteDraftRow(a),h.return();case 3:return b.trackIssueCreationTime(a),b.expansion.setExpansion(a.ancestorChain.parentChain,500),Nqc(b.draftRows,a,d),h.return(d)}})};
f.assignParentToIssue=function(a,b){var c=this,d,e,g,h,l,q;return he(function(x){if(1==x.nextAddress)return d=a.ancestorChain.parentNodeId,g=null!=(e=a.afterIssueId)?e:a.afterDraftId,void 0===g||"-1"===g?x.jumpTo(2):x.yield(Mqc(c.draftRows,g),2);if(4!=x.nextAddress)return x.yield(c.issueRelationshipsFridge.assignParentToIssues(d,[{issueId:b,afterIssueId:a.afterIssueId}]),4);h=x.yieldResult;l=h.errors;(null==(q=l)?0:q.length)&&EF(c.butterBar,"Could not create issue relationship. Error: "+JSON.stringify(l));
c.deleteDraftRow(a);me(x)})};
f.getParentToChildrenMap=function(a,b){var c=this;b=void 0===b?0:b;return(0,E.combineLatest)([this.rootIssueId].concat(Vc(a.keys())).map(function(d){return c.refetchingAll$.pipe(ye(function(e){return!e}),Se(function(){return cgc(c.issueRelationshipsFridge,d)}))})).pipe(D(function(d){return d.filter(Boolean)}),Se(function(d){var e=new Map(d.map(function(g){return[g.issueId,g]}));if(1===b)return(0,E.of)(e);d=c.getIdsAtLevel(e,b);d=new Map(d.map(function(g){return[g,10]}));return c.getParentToChildrenMap(d,
b+1).pipe(D(function(g){return fAa(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$2334=d.pop();e.$jscomp$loop$prop$current$2334.level===b&&c.push(e.$jscomp$loop$prop$current$2334.id);if(!(e.$jscomp$loop$prop$current$2334.level>b)){var g=void 0,h=void 0,l=null!=(h=null==(g=a.get(e.$jscomp$loop$prop$current$2334.id))?void 0:g.relatedChildren)?h:[];d.push.apply(d,Vc(l.map(function(q){return function(x){return{id:x.targetIssueId,level:q.$jscomp$loop$prop$current$2334.level+
1}}}(e))))}e={$jscomp$loop$prop$current$2334:e.$jscomp$loop$prop$current$2334}}return c};
f.calculateDisplayedRows=function(a){for(var b=this,c=[],d=[this.ROOT_ROW],e={};0<d.length;){e.$jscomp$loop$prop$parentRow$2336=d.pop();if("load-more-children"===e.$jscomp$loop$prop$parentRow$2336.type||"draft-issue"===e.$jscomp$loop$prop$parentRow$2336.type)c.push(e.$jscomp$loop$prop$parentRow$2336);else{e.$jscomp$loop$prop$parentRow$2336.id!==this.rootIssueId&&c.push(e.$jscomp$loop$prop$parentRow$2336);var g=void 0,h=void 0,l=null!=(h=null==(g=a.get(e.$jscomp$loop$prop$parentRow$2336.id))?void 0:
g.relatedChildren)?h:[];g=l.slice(0,e.$jscomp$loop$prop$parentRow$2336.expandedCount);e.$jscomp$loop$prop$childrenLevel$2337=e.$jscomp$loop$prop$parentRow$2336.level+1;e.$jscomp$loop$prop$parentRow$2336.expandedCount&&g.length<l.length&&(h=JO(e.$jscomp$loop$prop$parentRow$2336.ancestorChain,"load-more-children"),d.push({type:"load-more-children",id:h.hash(),level:e.$jscomp$loop$prop$childrenLevel$2337,parentIssue$:e.$jscomp$loop$prop$parentRow$2336.issue$,ancestorChain:h,truncatedSiblingCount:l.length-
g.length}));l=g.map(function(q){return function(x){var A=JO(q.$jscomp$loop$prop$parentRow$2336.ancestorChain,x.targetIssueId);return{type:"data",id:x.targetIssueId,level:q.$jscomp$loop$prop$childrenLevel$2337,hasChildren$:b.issueRelationshipsFridge.watch(x.targetIssueId).pipe(D(oza)),ancestorChain:A,expandedCount:b.getExpandedCount(A,q.$jscomp$loop$prop$childrenLevel$2337,a),issue$:b.issueFridge.watch(x.targetIssueId)}}}(e));d.push.apply(d,Vc(this.interpolateDraftRows(l,e.$jscomp$loop$prop$parentRow$2336.ancestorChain).reverse()))}e=
{$jscomp$loop$prop$parentRow$2336:e.$jscomp$loop$prop$parentRow$2336,$jscomp$loop$prop$childrenLevel$2337:e.$jscomp$loop$prop$childrenLevel$2337}}return c};
f.interpolateDraftRows=function(a,b){var c=[].concat(Vc(a)),d=this.draftRows.get(b);b={};d=k(d);for(var e=d.next();!e.done;b={$jscomp$loop$prop$draft$2340:b.$jscomp$loop$prop$draft$2340},e=d.next())b.$jscomp$loop$prop$draft$2340=e.value,a.some(function(g){return function(h){return h.id===g.$jscomp$loop$prop$draft$2340.issueId}}(b))||(e=c.findIndex(function(g){return function(h){return h.id===g.$jscomp$loop$prop$draft$2340.afterDraftId||h.id===g.$jscomp$loop$prop$draft$2340.afterIssueId}}(b)),c.splice(-1===
e?c.length:e+1,0,b.$jscomp$loop$prop$draft$2340));return c};f.getExpandedCount=function(a,b,c){var d=a.nodeId;a=this.expansion.getExpansion(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 he(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 EF(c.butterBar,"Could not add "+e+" as child of b/"+a+". "+(null==(h=g)?void 0:h.map(function(q){return Rl(q)}))),l.return();me(l)})};
f.trackIssueCreationTime=function(a){a=(new Date).getTime()-a.draftStartedAt.getTime();if(0<a){var b=Math.min(a,108E5);Ofc("createIssue",b,"from-tree");this.analytics.trackEvent(Jn.CREATE_ISSUE,"createIssue","time-to-create-from-tree",b);WG(this.clearcut,a,"createIssue-fromTree")}};
f.getAllIssues=function(a){for(var b=this,c=new Set,d=k(a.keys()),e=d.next();!e.done;e=d.next())c.add(e.value);a=k(a.values());for(d=a.next();!d.done;d=a.next())for(d=d.value.relatedChildren.map(function(g){return g.targetIssueId}),d=k(d),e=d.next();!e.done;e=d.next())c.add(e.value);return(0,E.combineLatest)([].concat(Vc(c)).map(function(g){return b.issueFridge.watch(g)})).pipe(D(function(g){return g.filter(pi)}))};
f.applyFilters=function(a,b,c){function d(l){if(!l)return!1;var q=e.get(l),x=g.get(l);if(!q||0===q.relatedChildren.length)return x;var A=q.relatedChildren.filter(function(B){return d(B.targetIssueId)});h+=q.relatedChildren.length-A.length;e.set(l,Object.assign({},q,{relatedChildren:A}));return 0!==A.length||x}var e=new Map(a.entries()),g=new Map(c.map(function(l){return[l.issueId,TIa(l,b)]})),h=0;d(this.rootIssueId);this.filteredRowCount$.next(h);return e};
var TO=function(a,b,c,d,e,g,h,l,q,x){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=x};TO.prototype.create=function(a,b){b=void 0===b?new iJ:b;return new jrc(a,b,this.analytics,this.butterBar,this.issueFridge,this.issuePicker,this.issueRelationshipsFridge,this.paths,this.router,this.issueCreationService,this.clearcut,this.refreshMonitor)};
TO.\u0275fac=function(a){return new (a||TO)(u(gH),u(CF),u(lH),u(GO),u(sH),u(vG),u(nG),u(LO),u(VG),u(jH))};TO.\u0275prov=qc({token:TO,factory:TO.\u0275fac,providedIn:"root"});var yob=function(a){return!!a&&("object"===typeof a||"function"===typeof a)};var UO=function(a,b,c,d){var e=this;this.rootElement=a;this.rows=b;this.ngZone=c;this.rowSelectionModel=d;this.onLongHover$=new E.Subject;this.onRowsMoved$=new E.Subject;this.placeholder=this.rootElement.querySelector(".placeholder");this.insertionBar=this.rootElement.querySelector(".insertion-bar");this.dragPreviewTemplate=this.rootElement.querySelector(".drag-preview");this.activeDrag=!1;this.onDragOver=OQb(function(g,h){if(e.activeDrag){var l=g||0,q=h.getBoundingClientRect();g=q.height;l-=q.top;
g=hJa(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 x=(l=null==(x=g.querySelector(".title-location"))?void 0:x.getBoundingClientRect().left)?l-g.getBoundingClientRect().left:0;x=g.offsetLeft+x;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=x+"px";e.insertionBar.style.top=l-1+"px";e.insertionBar.style.width=q-x+"px";break;case "none":e.placeholder.style.display="none",e.insertionBar.style.display="none"}e.currentReorderingGuide={rowElement:g,position:h};krc(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(){lrc(e)});a.addEventListener("drop",function(){e.reorder(e.currentReorderingGuide,mrc(e.rowSelectionModel),"mouse",4);lrc(e)})})};
UO.prototype.handleDragStart=function(a){var b=this;this.activeDrag=!0;var c=a.target.closest("tr");this.rowSelectionModel.select(iJa(c));nrc(this.rowSelectionModel);orc(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 prc=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)},qrc=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)}};
UO.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)}};
UO.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?prc(this,a):(b=c&&b.row.level<gJa(c)?{position:"before",rowElement:c}:{position:"after",rowElement:b.element},this.reorder(b,[a.row.ancestorChain],"keyboard",1))}};
UO.prototype.onKeydown=function(a){if(a.ctrlKey){var b,c=null==(b=a.target)?void 0:b.closest("tr");if(c){var d=iJa(c);if(b=this.rows.toArray().find(function(e){return e.row.ancestorChain.equals(d)}))switch(a.key){case "ArrowLeft":prc(this,b);break;case "ArrowRight":qrc(this,b);break;case "ArrowUp":this.moveUp(b);break;case "ArrowDown":this.moveDown(b)}}}};
UO.prototype.reorder=function(a,b,c,d){var e=this;if(a){var g=iJa(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:fJa(d)})})}};
var lrc=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},krc=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 iJa(b).equals(e.row.ancestorChain)});d&&(a.ngZone.run(function(){a.onLongHover$.next(d)}),a.longHoveredRow.emitted=!0)}},orc=function(a){var b;
null==(b=a.updatingNoDropRows)||b.unsubscribe();a.updatingNoDropRows=a.rows.changes.pipe(Re(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 VO=function(a){WD.call(this);var b=this;this.analytics=a;this.dragStarted$=new E.Subject;this.onRowsMoved$=new E.Subject;(0,E.merge)(this.dragStarted$,this.onRowsMoved$).pipe(Uza(),Te(this.destroyed$)).subscribe(function(c){var d=c[c.length-1].timestamp-c[0].timestamp;c=rl(c.map(function(e){return e.event.origin}));c=1===c.length?c[0]:"mixed";b.analytics.trackEvent(Jn.EDIT_ISSUE,"reorderChildren",c);Ofc("reorderChildren",d,c)})};U(VO,WD);VO.\u0275dir=WD.\u0275dir;
VO.\u0275fac=function(a){return new (a||VO)(u(gH))};VO.\u0275prov=qc({token:VO,factory:VO.\u0275fac,providedIn:"root"});var WO=function(){this.changed$=new E.Subject;this.selectedRowHashes=new Set;this.isSelectedObservableMap=new Map};WO.prototype.init=function(a){this.visibleRows=a};WO.prototype.isSelected=function(a){return this.selectedRowHashes.has(a.hash())};var eKa=function(a,b){var c=b.hash(),d,e=null!=(d=a.isSelectedObservableMap.get(c))?d:a.changed$.pipe(Re(a.selectedRowHashes),D(function(g){return g.has(b.hash())}),Fe(),Pe({refCount:!0,bufferSize:1}));a.isSelectedObservableMap.set(c,e);return e};
WO.prototype.select=function(a){this.selectedRowHashes.add(a.hash());this.changed$.next(this.selectedRowHashes)};WO.prototype.clear=function(){this.selectedRowHashes.clear();this.changed$.next(this.selectedRowHashes)};
var nrc=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=Mn(e.value);for(var g=k(b),h=g.next();!h.done;h=g.next())h=h.value,Lqc(e,h)&&(a.selectedRowHashes.add(h.hash()),c=!0)}c&&a.changed$.next(a.selectedRowHashes)},mrc=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(Vc(a.selectedRowHashes.values())).map(function(g){return Mn(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};
hh.Object.defineProperties(WO.prototype,{selectedRows:{configurable:!0,enumerable:!0,get:function(){return[].concat(Vc(this.selectedRowHashes)).map(function(a){return Mn(a)})}},selectedCount:{configurable:!0,enumerable:!0,get:function(){return this.selectedRowHashes.size}}});var TJa=function(a){return{cl:a}},rrc=function(){return["focus-indicator","load-more-children"]},src=Jn.EXPERIMENTAL_HOMEPAGE,trc={type:"data",id:"",issue$:E.NEVER,hasChildren$:E.NEVER,ancestorChain:new IO([]),level:0,expandedCount:0},XO=function(a,b,c,d,e,g,h,l,q,x,A,B,K,N,P){WD.call(this);var Y=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=x;this.cdr=A;this.expandableIssuesTableModelFactory=
B;this.liveAnnouncer=K;this.clearcut=N;this.paths=P;this.getUserInvolvement=Xva;this.quickFilters=new iJ;this.tableColumns="focus-indicator drag-handle title type id assignee status cls menu".split(" ");this.options={};this.trackBy=function(X,ka){return ka.ancestorChain.hash()+ka.type};this.isLoadMoreRow=function(X,ka){return"load-more-children"===ka.type};this.isDataRow=function(X,ka){return"data"===ka.type};this.isDraftRow=function(X,ka){return"draft-issue"===ka.type};this.selectionModel=new WO;
this.hasLogged=!1;this.correctedDisplayedRows=new Xf;this.TITLE_FIXED_OFFSET_PX=42;this.rowDirectiveMap=new Map;this.getRowIndex=function(X){var ka;return(null!=(ka=Vm(Y.rows$))?ka:[]).findIndex(function(ma){return Ln(ma,X)})};this.showError=function(X){return function(ka){EF(Y.butterBar,X+". "+(Ql(ka)?Rl(ka):ka))}};this.subscriptions.add(SO(l,function(){return Y.tableModel.draftRows.isSaving()||Y.issueRelationshipsFridge.isSaving()},!1))};U(XO,WD);XO.\u0275dir=WD.\u0275dir;
var LJa=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=XO.prototype;f.isClosed=function(a){if(this.options.showPendingFixCls){var b=LJa(this,null==a?void 0:a.issueId);return dva(a)||b}return dva(a)};f.getAssigneeString=function(a){var b,c;return kn(ei(null==a?void 0:null==(b=a.snapshot)?void 0:null==(c=b[0])?void 0:c.assigneeUser)||void 0)};f.isInProgress=function(a){return"ACCEPTED"===(null==a?void 0:a.snapshot[0].status)};
f.ldapOnly=function(a){return null==a?void 0:a.split("@")[0]};
f.ngOnInit=function(){var a=this;this.tableModel=this.expandableIssuesTableModelFactory.create(this.rootIssueId,this.quickFilters,this.saveExpansionAtKey);this.destroyed$.subscribe(function(){a.tableModel.ngOnDestroy()});this.rows$=(0,E.scheduled)([this.tableModel.rows$,(0,E.of)([trc])],E.asyncScheduler).pipe(te(1),Pe({refCount:!0,bufferSize:1}));var b=this.rows$.pipe(Se(function(c){return(0,E.combineLatest)(c.filter(function(d){return"data"===d.type}).map(function(d){return d.issue$}))}),De(0,E.asapScheduler));
this.subscriptions.add(b.subscribe(function(c){a.cdr.detectChanges();a.trackRelationsData(c)}));this.rowReorderingModel=new UO(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,c.getExpansion(d)||c.setExpansion(d,10))}));this.subscriptions.add(this.rowReorderingModel.onRowsMoved$.subscribe(function(c){var d;
return he(function(e){if(1==e.nextAddress)return igc(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")),Qqc(a.tableModel.expansion,c.parentAncestorChain,c.movedRows),e.yield((0,E.firstValueFrom)(a.correctedDisplayedRows.changes.pipe(D(function(g){return g.find(function(h){return"data"===h.row.type&&h.row.ancestorChain.nodeId===
c.movedRows[0].nodeId&&h.row.ancestorChain.parentNodeId===c.insertAt.parentId})}),ye(Boolean),Ae(6E4))),2);d=e.yieldResult;d.focus();me(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;XG(this.clearcut,"view-relations-"+(c?"all-loaded":"some-loaded"));this.analytics.trackEvent(src,"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,XG(this.clearcut,"view-relations-"+(.5<a?"most-estimated":"most-unestimated")),this.analytics.trackEvent(src,"view-relations","ratio-estimated",a))}};
f.ngAfterViewInit=function(){var a=this;this.selectionModel.init(this.displayedRows);(0,E.combineLatest)([this.rows$,this.displayedRows.changes]).pipe(Te(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);Sf(a.correctedDisplayedRows)});this.focusManager=yy(new Snc(this.correctedDisplayedRows,
Ln))};f.toggleExpansion=function(a){this.tableModel.expansion.setExpansion(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(src,"navigate","to-child-issue"),b=Vl(b.id),a.ctrlKey||a.metaKey||a instanceof MouseEvent&&1===a.button?this.domSafe.openInNewTab(b):a&&a.shiftKey?Hn(this.domSafe,b):Rr(this.router,b))};
f.displayAllSiblings=function(a){var b=this,c;return he(function(d){if(1==d.nextAddress)return c=b.getRowIndex(a),b.tableModel.expansion.setExpansion(a.ancestorChain.parentChain,500),d.yield(Cn(),2);b.focusManager.setActiveItem(c);me(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:!Vm(a.hasChildren$),action:function(){var g=Yl({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 he(function(g){if(1==g.nextAddress)return g.yield(Cn(),2);
b.createChildIssue(a);me(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 he(function(g){if(1==g.nextAddress)return g.yield(Cn(),2);b.createSiblingIssue(a);me(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(){qrc(b.rowReorderingModel,b.rowDirectiveMap.get(a.ancestorChain.hash()))},title:"Indent",icon:"arrow-right",hintText:"shift+ctrl+right"},
{type:"action",label:"Unindent",action:function(){prc(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 he(function(e){if(1==e.nextAddress){if(!a.title)return e.return();b.tableModel.saveDraft(a);b.focusManager.setActiveItem(b.getRowIndex(a));return e.yield((0,E.firstValueFrom)(b.displayedRows.changes.pipe(D(function(g){return g.find(function(h){return"data"===h.row.type&&h.row.id===a.issueId})}),ye(Boolean),Ae(6E4))),2)}c=e.yieldResult;Ln(null==(d=b.focusManager.activeItem)?void 0:d.row,a)&&b.focusManager.setActiveItem(c);me(e)})};
f.cancelDraft=function(a){if(!a.saving){this.tableModel.deleteDraftRow(a);var b;Ln(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 he(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,x,A;return he(function(B){if(1==B.nextAddress)return a.defaultPrevented||"mouseup"===a.type&&a instanceof MouseEvent&&1!==a.button?B.return():B.yield((0,E.firstValueFrom)(b.issue$),2);d=B.yieldResult;x={};A=c.paths.createIssue((x.component=String(null==(e=d)?void 0:e.snapshot[0].componentId),x.parentIssueId=b.ancestorChain.parentChain.nodeId,x.redirectUrl=Wl(c.rootIssueId),x.afterIssueId=b.afterIssueId,x.title=b.title,x.priority=null!=
(l=null==(g=d)?void 0:g.snapshot[0].priority)?l:void 0,x.type=null!=(q=null==(h=d)?void 0:h.snapshot[0].type)?q:void 0,x));if(a.ctrlKey||a.metaKey||a instanceof MouseEvent&&1===a.button)return c.cancelDraft(b),c.domSafe.openInNewTab(A),B.return();if(a&&a.shiftKey)return c.cancelDraft(b),Hn(c.domSafe,A),B.return();Rr(c.router,A);me(B)})};
f.archiveRow=function(a){var b=this,c,d;he(function(e){if(1==e.nextAddress)return b.analytics.trackEvent(src,"update","archive-child-issue"),c=b.getRowIndex(a),b.issueArchiveService.archive(a.id),e.yield((0,E.firstValueFrom)(b.rows$.pipe(D(function(g){return!g.find(function(h){return"data"===h.type&&h.id===a.id})}),ye(Boolean),Ae(6E4))),2);Ln(null==(d=b.focusManager.activeItem)?void 0:d.row,a)&&b.focusManager.setActiveItem(c);me(e)})};
f.unlinkFromParent=function(a){var b=this,c,d;return he(function(e){c=a.ancestorChain.nodeId;d=a.ancestorChain.parentNodeId;b.analytics.trackEvent(src,"update","unlink-child-issue");return e.yield(b.issueRelationshipsFridge.unlinkFromParent(c,d).then(function(){DF(b.butterBar,"Unlinked successfully.")}).catch(b.showError("Failed to unlink child "+c+" from parent "+d)),0)})};
hh.Object.defineProperties(XO.prototype,{filters:{configurable:!0,enumerable:!0,set:function(a){this.quickFilters.reset(a)},get:function(){return[].concat(Vc(this.quickFilters))}},model:{configurable:!0,enumerable:!0,get:function(){return this.tableModel}}});XO.\u0275fac=function(a){return new (a||XO)(C(sH),C(nG),C(CF),C(gH),C(QO),C(We),C(vd),C(RO),C(SJ),C(VO),C(cH),C(NO),C(oy),C(VG),C(vG))};
XO.\u0275cmp=Gc({type:XO,selectors:[["expandable-issues-table"]],viewQuery:function(a,b){a&1&&Uf(VL,5);if(a&2){var c;Tf(c=Wf())&&(b.displayedRows=c)}},inputs:{rootIssueId:"rootIssueId",filters:"filters",saveExpansionAtKey:"saveExpansionAtKey",projectData:"projectData",modifyMenuItems:"modifyMenuItems",tableColumns:"tableColumns",options:"options"},features:[Gf([cH]),bf],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&&(G(0,"table",0),J(1,1),Q(2,jJa,1,0,"th",2),Q(3,kJa,2,0,"td",3),L(),J(4,4),Q(5,lJa,1,0,"th",2),Q(6,mJa,3,0,"td",5),L(),J(7,6),Q(8,nJa,2,0,"th",2),Q(9,oJa,2,1,"td",7),L(),J(10,8),Q(11,pJa,2,0,"th",2),
Q(12,qJa,2,0,"td",7),L(),J(13,9),Q(14,rJa,2,0,"th",2),Q(15,sJa,4,8,"td",7),L(),J(16,10),Q(17,tJa,2,0,"th",2),Q(18,uJa,3,3,"td",7),L(),J(19,11),Q(20,vJa,2,0,"th",2),Q(21,GJa,6,4,"td",7),L(),J(22,12),Q(23,HJa,2,0,"th",2),Q(24,MJa,4,2,"td",7),L(),J(25,13),Q(26,NJa,2,0,"th",2),Q(27,OJa,3,3,"td",7),L(),J(28,14),Q(29,PJa,1,0,"th",2),Q(30,QJa,2,1,"td",7),L(),J(31,15),Q(32,RJa,2,0,"th",2),Q(33,VJa,2,1,"td",7),L(),J(34,16),Q(35,WJa,1,0,"th",2),Q(36,ZJa,4,2,"td",17),L(),J(37,18),Q(38,$Ja,6,7,"td",19),L(),J(39,
20),Q(40,aKa,2,0,"th",2),Q(41,bKa,7,6,"td",19),L(),Q(42,dKa,2,1,"ng-container",21),Q(43,fKa,4,16,"tr",22),Q(44,gKa,1,4,"tr",23),Q(45,hKa,1,2,"tr",24),H(),I(46,"div",25)(47,"div",26)(48,"div",27));a&2&&(F("dataSource",b.rows$)("trackBy",b.trackBy),z(42),F("ngIf",!b.options.hideHeader),z(1),F("matRowDefColumns",b.tableColumns)("matRowDefWhen",b.isDataRow),z(1),F("matRowDefColumns",If(9,rrc))("matRowDefWhen",b.isLoadMoreRow),z(1),F("matRowDefColumns",b.getDraftColumns())("matRowDefWhen",b.isDraftRow))},
dependencies:[fx,ew,fw,gw,hw,uA,fL,YK,bL,ZK,XK,cL,$K,aL,dL,eL,LB,rK,cK,PO,bK,BM,dK,NL,gK,jK,qK,PM,RJ,sK,sL,VL,WJ,kw,OO],styles:['.mat-header-cell[_ngcontent-%COMP%]{font-weight:500}tr.mat-header-row[_ngcontent-%COMP%], tr.mat-row[_ngcontent-%COMP%]{height:32px}td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%], th.mat-header-cell[_ngcontent-%COMP%]{font-size:.8125rem;padding:0 4px}td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%]{color:#202124;color:var(--row-default-text)}th.mat-header-cell[_ngcontent-%COMP%]{color:#202124;color:var(--text-high-contrast)}td.mat-column-menu[_ngcontent-%COMP%], td.mat-column-save[_ngcontent-%COMP%]{width:32px;height:32px}.mat-header-cell[_ngcontent-%COMP%]:first-of-type, .mat-cell[_ngcontent-%COMP%]:first-of-type, .mat-footer-cell[_ngcontent-%COMP%]:first-of-type{padding-left:0px}.mat-header-cell[_ngcontent-%COMP%]:last-of-type, .mat-cell[_ngcontent-%COMP%]:last-of-type, .mat-footer-cell[_ngcontent-%COMP%]:last-of-type{padding-right:0px}tr.mat-row.clickable[_ngcontent-%COMP%]{cursor:pointer}tr.mat-row.clickable[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}tr.mat-row[_ngcontent-%COMP%]   .mat-column-focus-indicator[_ngcontent-%COMP%]{cursor:pointer;display:table-cell;padding:0 1.5px;width:0}tr.mat-row[_ngcontent-%COMP%]:focus-within   .mat-column-focus-indicator[_ngcontent-%COMP%]{outline:none;background-color:#4285f4;background-color:var(--primary-c500)}tr.mat-row[_ngcontent-%COMP%]   .mat-column-drag-handle[_ngcontent-%COMP%]{box-sizing:border-box;cursor:move;outline-width:0;padding:0px;width:18px}tr.mat-row[_ngcontent-%COMP%]   .mat-column-drag-handle[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{line-height:32px;opacity:.2}.mat-header-cell.mat-column-title[_ngcontent-%COMP%]{padding-left:36px;min-width:250px}.insertion-bar[_ngcontent-%COMP%]{background-color:#1a73e8;background-color:var(--primary-btn-bg);display:none;height:2px;pointer-events:none;position:absolute}.insertion-bar[_ngcontent-%COMP%]::before{content:"";border-bottom:5px solid rgba(0,0,0,0);border-left:8px solid;border-left-color:#1a73e8;border-left-color:var(--primary-btn-bg);border-top:5px solid rgba(0,0,0,0);display:block;height:0;position:relative;top:-4px;width:0}a.pending-fix-msg[_ngcontent-%COMP%], [mat-table][_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]   a.pending-fix-msg[_ngcontent-%COMP%]:hover, [mat-table][_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]   a.pending-fix-msg[_ngcontent-%COMP%]:focus, [mat-table][_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]   a.pending-fix-msg[_ngcontent-%COMP%]:active, [mat-table][_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]   a.pending-fix-msg[_ngcontent-%COMP%]{color:var(--b-status-fixed-text)}.placeholder[_ngcontent-%COMP%]{background-color:#1a73e8;background-color:var(--primary-btn-bg);border-radius:4px;box-sizing:border-box;display:none;opacity:.7;pointer-events:none;position:absolute;top:0;width:100%}.drag-preview[_ngcontent-%COMP%]{background-color:#1a73e8;background-color:var(--primary-btn-bg);color:#fff;color:var(--inverse-text);border-radius:4px;display:none;padding:7px 13px;position:absolute}tr.dragging[_ngcontent-%COMP%], tr.nodrop[_ngcontent-%COMP%]{opacity:.5}tr.closed[_ngcontent-%COMP%]{background-color:#f1f3f4;background-color:var(--row-fixed-bg)}tr.closed[_ngcontent-%COMP%]   td.mat-cell[_ngcontent-%COMP%], tr.closed[_ngcontent-%COMP%]   td.mat-footer-cell[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted)}tr.closed[_ngcontent-%COMP%]   td.mat-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], tr.closed[_ngcontent-%COMP%]   td.mat-footer-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted)}tr.closed[_ngcontent-%COMP%]   td.mat-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, tr.closed[_ngcontent-%COMP%]   td.mat-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus, tr.closed[_ngcontent-%COMP%]   td.mat-footer-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, tr.closed[_ngcontent-%COMP%]   td.mat-footer-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{color:#1a73e8;color:var(--link)}[_nghost-%COMP%]{display:block;position:relative;padding-bottom:5px;overflow-y:hidden;overflow-x:auto}[_nghost-%COMP%]     .mat-column-assignee b-user-image img{max-width:24px;vertical-align:middle}/*# sourceMappingURL=expandable_issues_table.css.map */'],
changeDetection:0});var YO=function(a){r.call(this,a)};U(YO,r);f=YO.prototype;f.getComponentId=function(){return gj(this,no(this,ZO,1))};f.setComponentId=function(a){return $n(this,1,ZO,a)};f.hasComponentId=function(){return null!=$s(this,1,ZO)};f.getHotlistId=function(){return gj(this,no(this,ZO,2))};f.setHotlistId=function(a){$n(this,2,ZO,a)};f.getTeamId=function(){return Xs(this,5,ZO)};f.setTeamId=function(a){return $n(this,5,ZO,a)};var ZO=[1,2,5];YO.prototype.toObject=function(){return urc(this)};
var urc=function(a){if(null!=a)return t(a),{componentId:p($s(a,1,ZO)),hotlistId:p($s(a,2,ZO)),teamId:p(po(a,5,ZO)),syncStartTime:yt(Z(a,Ch,3)),syncEndTime:yt(Z(a,Ch,4))}};var vrc=function(a){r.call(this,a)};U(vrc,r);vrc.prototype.getSourceSyncStateList=function(){return aj(this,YO,2)};vrc.repeatedFields_=[1,2];vrc.prototype.toObject=function(){return wrc(this)};var wrc=function(a){if(null!=a)return t(a),{componentIdsList:p(il(a,1)),sourceSyncStateList:Kb(a.getSourceSyncStateList(),urc)}};var xrc=function(a){r.call(this,a)};U(xrc,r);xrc.prototype.getHotlistId=function(){return gj(this,1)};xrc.prototype.setHotlistId=function(a){Cb(this,1,a)};xrc.prototype.toObject=function(){return yrc(this)};var yrc=function(a){if(null!=a)return t(a),{hotlistId:gj(a,1),sourceSyncState:urc(Z(a,YO,2))}};var zrc=function(a){r.call(this,a)};U(zrc,r);zrc.prototype.getEmail=function(){return V(this,1)};zrc.prototype.setEmail=function(a){return mj(this,1,a)};zrc.prototype.toObject=function(){return Arc(this)};var Arc=function(a){if(null!=a)return t(a),{email:V(a,1),isGroup:Jj(a,2)}};var $O=function(a){r.call(this,a)};U($O,r);$O.prototype.setTeamIdsList=function(a){return Fi(this,1,a)};$O.prototype.getSourceSyncStateList=function(){return aj(this,YO,2)};$O.repeatedFields_=[1,2];$O.prototype.toObject=function(){return Brc(this)};var Brc=function(a){if(null!=a)return t(a),{teamIdsList:p(Ih(a,1)),sourceSyncStateList:Kb(a.getSourceSyncStateList(),urc)}};var Crc=function(a){r.call(this,a)};U(Crc,r);var Drc=[1,2];Crc.prototype.toObject=function(){return Erc(this)};var Erc=function(a){if(null!=a)return t(a),{buganizerStatus:p(at(a,1,Drc)),customStatusId:p($s(a,2,Drc))}};var aP=function(a){r.call(this,a)};U(aP,r);aP.prototype.getName=function(){return V(this,1)};aP.prototype.setName=function(a){return mj(this,1,a)};aP.repeatedFields_=[2];aP.prototype.toObject=function(){return Frc(this)};var Frc=function(a){if(null!=a)return t(a),{name:V(a,1),buganizerOrCustomStatusesList:Kb(aj(a,Crc,2),Erc),itemLimit:gj(a,3)}};var Grc=function(a){r.call(this,a)};U(Grc,r);f=Grc.prototype;f.getCustomFieldId=function(){return gj(this,1)};f.setCustomFieldId=function(a){return Cb(this,1,a)};f.getCustomFieldValue=function(){return V(this,2)};f.setCustomFieldValue=function(a){return mj(this,2,a)};f.clearCustomFieldValue=function(){return Js(this,2)};f.toObject=function(){return Hrc(this)};var Hrc=function(a){if(null!=a)return t(a),{customFieldId:gj(a,1),customFieldValue:V(a,2)}};var Irc=function(a){r.call(this,a)};U(Irc,r);f=Irc.prototype;f.getId=function(){return gj(this,1)};f.setId=function(a){return Cb(this,1,a)};f.getName=function(){return V(this,2)};f.setName=function(a){return mj(this,2,a)};f.setColor=function(a){return mj(this,4,a)};f.clearColor=function(){return Js(this,4)};f.getCustomField=function(){return Z(this,Grc,6)};f.setCustomField=function(a){return Yi(this,Grc,6,a)};f.toObject=function(){return Jrc(this)};
var Jrc=function(a){if(null!=a)return t(a),{id:gj(a,1),name:V(a,2),color:V(a,4),buganizerStatus:W(a,5,0),customField:Hrc(a.getCustomField())}};var Krc=function(a){r.call(this,a)};U(Krc,r);Krc.prototype.getId=function(){return gj(this,1)};Krc.prototype.setId=function(a){return Cb(this,1,a)};Krc.prototype.toObject=function(){return Lrc(this)};var Lrc=function(a){if(null!=a)return t(a),{id:gj(a,1)}};var Mrc=function(a){r.call(this,a)};U(Mrc,r);Mrc.prototype.setWorkItemId=function(a){return mj(this,1,a)};Mrc.prototype.toObject=function(){return Nrc(this)};var Nrc=function(a){if(null!=a)return t(a),{workItemId:V(a,1)}};var Orc=function(a){r.call(this,a)};U(Orc,r);Orc.prototype.toObject=function(){return Prc(this)};var Prc=function(a){if(null!=a)return t(a),{}};var Qrc=function(a){r.call(this,a)};U(Qrc,r);Qrc.prototype.toObject=function(){return Rrc(this)};var Rrc=function(a){if(null!=a)return t(a),{}};var Src=function(a){r.call(this,a)};U(Src,r);Src.prototype.getId=function(){return gj(this,no(this,Trc,1))};Src.prototype.setId=function(a){return $n(this,1,Trc,a)};var Trc=[1,2,3];Src.prototype.toObject=function(){return Urc(this)};var Urc=function(a){if(null!=a)return t(a),{id:p($s(a,1,Trc)),iterationType:p(at(a,2,Trc)),iterationTag:p(at(a,3,Trc))}};var Vrc=function(a){r.call(this,a)};U(Vrc,r);Vrc.prototype.getId=function(){return gj(this,1)};Vrc.prototype.setId=function(a){return Cb(this,1,a)};Vrc.prototype.toObject=function(){return Wrc(this)};var Wrc=function(a){if(null!=a)return t(a),{id:gj(a,1)}};var bP=function(a){r.call(this,a)};U(bP,r);bP.prototype.getQuery=function(){return V(this,1)};bP.prototype.setQuery=function(a){return mj(this,1,a)};bP.prototype.clearQuery=function(){Js(this,1)};bP.prototype.toObject=function(){return Xrc(this)};var Xrc=function(a){if(null!=a)return t(a),{query:V(a,1)}};var Yrc=function(a){r.call(this,a)};U(Yrc,r);Yrc.prototype.getId=function(){return V(this,1)};Yrc.prototype.setId=function(a){return mj(this,1,a)};Yrc.prototype.toObject=function(){return Zrc(this)};var Zrc=function(a){if(null!=a)return t(a),{id:V(a,1)}};var $rc=function(a){r.call(this,a)};U($rc,r);var cP=[1,2,3,4,5,6,7,8];$rc.prototype.toObject=function(){return asc(this)};var asc=function(a){if(null!=a)return t(a),{backlogScope:Lrc(Sj(a,Krc,1,cP)),drillinScope:Nrc(Sj(a,Mrc,2,cP)),goalsScope:Prc(Sj(a,Orc,3,cP)),inboxScope:Rrc(Sj(a,Qrc,4,cP)),iterationScope:Urc(Sj(a,Src,5,cP)),searchScope:Xrc(Sj(a,bP,6,cP)),tagScope:Zrc(Sj(a,Yrc,7,cP)),savedQueryScope:Wrc(Sj(a,Vrc,8,cP))}};var bsc=function(a){r.call(this,a)};U(bsc,r);bsc.prototype.getScope=function(){return Z(this,$rc,2)};bsc.prototype.toObject=function(){return csc(this)};var csc=function(a){if(null!=a)return t(a),{savedViewId:V(a,1),scope:asc(a.getScope())}};var dP=function(a){r.call(this,a)};U(dP,r);dP.prototype.getPriority=function(a){return Vs(this,1,a)};dP.prototype.setPriority=function(a,b){return xb(this,1,a,b,Tk)};dP.repeatedFields_=[1,2];dP.prototype.toObject=function(){return dsc(this)};var dsc=function(a){if(null!=a)return t(a),{priorityList:p(Tk(a,1)),itemTypesList:p(Tk(a,2))}};var esc=function(a){r.call(this,a)};U(esc,r);esc.prototype.toObject=function(){return fsc(this)};var fsc=function(a){if(null!=a)return t(a),{defaultStartAsBlank:p(ar(a,1)),estimateAndDependenciesMax:p(ar(a,2))}};var gsc=function(a){r.call(this,a)};U(gsc,r);gsc.prototype.toObject=function(){return hsc(this)};var hsc=function(a){if(null!=a)return t(a),{parentIssueType:W(a,1,0),childIssueType:W(a,2,0)}};var eP=function(a){r.call(this,a)};U(eP,r);eP.prototype.getType=function(){return W(this,1,0)};eP.prototype.setType=function(a){return Pi(this,1,a)};eP.prototype.getScope=function(){return Z(this,$rc,2)};eP.prototype.toObject=function(){return isc(this)};var isc=function(a){if(null!=a)return t(a),{type:W(a,1,0),scope:asc(a.getScope())}};var jsc=function(a){r.call(this,a)};U(jsc,r);jsc.repeatedFields_=[1,2];jsc.prototype.toObject=function(){return ksc(this)};var ksc=function(a){if(null!=a)return t(a),{rootLevelItemDefaultsList:Kb(aj(a,eP,1),isc),preferredParentChildIssueTypesList:Kb(aj(a,gsc,2),hsc),inheritedParentFields:EC(Z(a,DC,3)),inheritedSiblingFields:EC(Z(a,DC,4))}};var lsc=function(a){r.call(this,a)};U(lsc,r);lsc.repeatedFields_=[1];lsc.prototype.toObject=function(){return msc(this)};var msc=function(a){if(null!=a)return t(a),{workspaceIdsList:p(il(a,1))}};var fP=function(a){r.call(this,a)};U(fP,r);fP.prototype.getAssignee=function(){return V(this,2)};fP.prototype.setAssignee=function(a){mj(this,2,a)};fP.prototype.clearAssignee=function(){return Js(this,2)};fP.prototype.toObject=function(){return nsc(this)};var nsc=function(a){if(null!=a)return t(a),{promptUser:Jj(a,1),assignee:V(a,2),removeAssignee:Jj(a,3)}};var osc=function(a){r.call(this,a)};U(osc,r);osc.repeatedFields_=[2,3];osc.prototype.toObject=function(){return psc(this)};var psc=function(a){if(null!=a)return t(a),{promptUser:Jj(a,1),addCcsList:p(Ih(a,2)),removeCcsList:p(Ih(a,3))}};var qsc=function(a){r.call(this,a)};U(qsc,r);qsc.prototype.getComment=function(){return V(this,2)};qsc.prototype.setComment=function(a){mj(this,2,a)};qsc.prototype.toObject=function(){return rsc(this)};var rsc=function(a){if(null!=a)return t(a),{promptUser:Jj(a,1),comment:V(a,2)}};var ssc=function(a){r.call(this,a)};U(ssc,r);ssc.prototype.getComponentId=function(){return gj(this,1)};ssc.prototype.setComponentId=function(a){return Cb(this,1,a)};ssc.prototype.toObject=function(){return tsc(this)};var tsc=function(a){if(null!=a)return t(a),{componentId:gj(a,1),promptUser:Jj(a,2)}};var usc=function(a){r.call(this,a)};U(usc,r);f=usc.prototype;f.getCustomFieldValue=function(){return Z(this,gD,2)};f.setCustomFieldValue=function(a){return Yi(this,gD,2,a)};f.clearCustomFieldValue=function(){return Js(this,2)};f.hasCustomFieldValue=function(){return Dj(this,gD,2)};f.toObject=function(){return vsc(this)};var vsc=function(a){if(null!=a)return t(a),{promptUser:Jj(a,1),customFieldValue:C9b(a.getCustomFieldValue())}};var wsc=function(a){r.call(this,a)};U(wsc,r);wsc.repeatedFields_=[2,3];wsc.prototype.toObject=function(){return xsc(this)};var xsc=function(a){if(null!=a)return t(a),{promptUser:Jj(a,1),addGoalIdsList:p(il(a,2)),removeGoalIdsList:p(il(a,3))}};var gP=function(a){r.call(this,a)};U(gP,r);gP.prototype.setAddHotlistIdsList=function(a){tb(this,2,a,db)};gP.prototype.setRemoveHotlistIdsList=function(a){tb(this,3,a,db)};gP.repeatedFields_=[2,3];gP.prototype.toObject=function(){return ysc(this)};var ysc=function(a){if(null!=a)return t(a),{promptUser:Jj(a,1),addHotlistIdsList:p(il(a,2)),removeHotlistIdsList:p(il(a,3))}};var hP=function(a){r.call(this,a)};U(hP,r);hP.prototype.getIterationId=function(){return gj(this,2)};hP.prototype.setIterationId=function(a){return Cb(this,2,a)};hP.prototype.getIteration=function(){return V(this,3)};hP.prototype.toObject=function(){return zsc(this)};var zsc=function(a){if(null!=a)return t(a),{promptUser:Jj(a,1),iterationId:gj(a,2),iteration:V(a,3),removeIteration:Jj(a,4)}};var Asc=function(a){r.call(this,a)};U(Asc,r);Asc.prototype.getPriority=function(){return W(this,1,0)};Asc.prototype.setPriority=function(a){return Pi(this,1,a)};Asc.prototype.toObject=function(){return Bsc(this)};var Bsc=function(a){if(null!=a)return t(a),{priority:W(a,1,0)}};var Csc=function(a){r.call(this,a)};U(Csc,r);Csc.prototype.getSeverity=function(){return W(this,1,0)};Csc.prototype.setSeverity=function(a){return Pi(this,1,a)};Csc.prototype.toObject=function(){return Dsc(this)};var Dsc=function(a){if(null!=a)return t(a),{severity:W(a,1,0)}};var Esc=function(a){r.call(this,a)};U(Esc,r);Esc.prototype.getStatus=function(){return W(this,1,0)};Esc.prototype.setStatus=function(a){return Pi(this,1,a)};Esc.prototype.toObject=function(){return Fsc(this)};var Fsc=function(a){if(null!=a)return t(a),{status:W(a,1,0)}};var Gsc=function(a){r.call(this,a)};U(Gsc,r);Gsc.repeatedFields_=[2,3];Gsc.prototype.toObject=function(){return Hsc(this)};var Hsc=function(a){if(null!=a)return t(a),{promptUser:Jj(a,1),addTagsList:p(Ih(a,2)),removeTagsList:p(Ih(a,3))}};var Isc=function(a){r.call(this,a)};U(Isc,r);Isc.prototype.toObject=function(){return Jsc(this)};var Jsc=function(a){if(null!=a)return t(a),{itemType:W(a,1,0)}};var Ksc=function(a){r.call(this,a)};U(Ksc,r);var iP=[1,2,3,4,5,6,7,8,9,10,11,12,13];Ksc.prototype.toObject=function(){return Lsc(this)};
var Lsc=function(a){if(null!=a)return t(a),{goalAction:xsc(Sj(a,wsc,1,iP)),iterationsBacklogsAction:zsc(Sj(a,hP,2,iP)),tagsAction:Hsc(Sj(a,Gsc,3,iP)),hotlistsAction:ysc(Sj(a,gP,4,iP)),componentsAction:tsc(Sj(a,ssc,5,iP)),statusAction:Fsc(Sj(a,Esc,6,iP)),priorityAction:Bsc(Sj(a,Asc,7,iP)),severityAction:Dsc(Sj(a,Csc,8,iP)),assigneeAction:nsc(Sj(a,fP,9,iP)),ccAction:psc(Sj(a,osc,10,iP)),commentAction:rsc(Sj(a,qsc,11,iP)),typeAction:Jsc(Sj(a,Isc,12,iP)),customFieldAction:vsc(Sj(a,usc,13,iP))}};var jP=function(a){r.call(this,a)};U(jP,r);jP.prototype.getName=function(){return V(this,1)};jP.prototype.setName=function(a){return mj(this,1,a)};jP.prototype.getDescription=function(){return V(this,2)};jP.prototype.setDescription=function(a){return mj(this,2,a)};jP.repeatedFields_=[3];jP.prototype.toObject=function(){return Msc(this)};var Msc=function(a){if(null!=a)return t(a),{name:V(a,1),description:V(a,2),subActionsList:Kb(aj(a,Ksc,3),Lsc)}};var kP=function(a){r.call(this,a)};U(kP,r);f=kP.prototype;f.getUser=function(){return Sj(this,Vi,1,lP)};f.setUser=function(a){ho(this,1,lP,a)};f.hasUser=function(){return Qj(this,Vi,1,lP)};f.getGroup=function(){return Sj(this,Vi,2,lP)};f.setGroup=function(a){ho(this,2,lP,a)};f.getAlias=function(){return Xs(this,3,lP)};f.setAlias=function(a){$n(this,3,lP,a)};var lP=[1,2,3];kP.prototype.toObject=function(){return mP(this)};
var mP=function(a){if(null!=a)return t(a),{user:VC(a.getUser()),group:VC(a.getGroup()),alias:p(po(a,3,lP))}};var Nsc=function(a){r.call(this,a)};U(Nsc,r);f=Nsc.prototype;f.getAdminsList=function(){return aj(this,kP,2)};f.setAdminsList=function(a){dj(this,2,a)};f.getInheritedAdminsList=function(){return aj(this,kP,3)};f.getEditorsList=function(){return aj(this,kP,4)};f.setEditorsList=function(a){dj(this,4,a)};f.getImplicitEditorsList=function(){return aj(this,kP,5)};f.getAppendersList=function(){return aj(this,kP,6)};f.setAppendersList=function(a){dj(this,6,a)};
f.getImplicitAppendersList=function(){return aj(this,kP,7)};f.getReadersList=function(){return aj(this,kP,8)};f.setReadersList=function(a){dj(this,8,a)};f.getImplicitReadersList=function(){return aj(this,kP,9)};f.getImplicitAccess=function(){return W(this,10,0)};f.setImplicitAccess=function(a){return Pi(this,10,a)};f.getRestrictedReadersList=function(){return aj(this,kP,11)};f.setRestrictedReadersList=function(a){dj(this,11,a)};f.getRestrictedPlusReadersList=function(){return aj(this,kP,12)};
f.setRestrictedPlusReadersList=function(a){dj(this,12,a)};Nsc.repeatedFields_=[2,3,4,5,6,7,8,9,11,12];Nsc.prototype.toObject=function(){return Osc(this)};
var Osc=function(a){if(null!=a)return t(a),{inheritance:W(a,1,0),adminsList:Kb(a.getAdminsList(),mP),inheritedAdminsList:Kb(a.getInheritedAdminsList(),mP),editorsList:Kb(a.getEditorsList(),mP),implicitEditorsList:Kb(a.getImplicitEditorsList(),mP),appendersList:Kb(a.getAppendersList(),mP),implicitAppendersList:Kb(a.getImplicitAppendersList(),mP),readersList:Kb(a.getReadersList(),mP),implicitReadersList:Kb(a.getImplicitReadersList(),mP),implicitAccess:W(a,10,0),restrictedReadersList:Kb(a.getRestrictedReadersList(),
mP),restrictedPlusReadersList:Kb(a.getRestrictedPlusReadersList(),mP)}};var Nn=function(a){r.call(this,a)};U(Nn,r);f=Nn.prototype;f.getWorkspaceId=function(){return gj(this,1)};f.getName=function(){return V(this,2)};f.setName=function(a){return mj(this,2,a)};f.getTimeZone=function(){return Z(this,Zi,8)};f.setTimeZone=function(a){return Yi(this,Zi,8,a)};f.hasTimeZone=function(){return Dj(this,Zi,8)};f.getMembersList=function(){return aj(this,zrc,9)};f.setMembersList=function(a){dj(this,9,a)};f.getUpdateTime=function(){return Z(this,Ch,12)};
f.setUpdateTime=function(a){Yi(this,Ch,12,a)};f.getBookmarkGroupId=function(){return gj(this,14)};f.setBookmarkGroupId=function(a){Cb(this,14,a)};f.getTeamId=function(){return V(this,20)};f.setTeamId=function(a){return mj(this,20,a)};var Psc=Rb(Nn);Nn.repeatedFields_=[5,9,13,15,17,18];var Qsc=[6,7,21];Nn.prototype.toObject=function(){return Rsc(this)};
var Rsc=function(a){if(null!=a)return t(a),{workspaceId:gj(a,1),name:V(a,2),defaultComponentId:Rs(a,3),inboxQuery:V(a,4),componentIdsList:p(rb(a,5,eb)),componentBased:wrc(Sj(a,vrc,6,Qsc)),hotlistBased:yrc(Sj(a,xrc,7,Qsc)),teamBased:Brc(Sj(a,$O,21,Qsc)),inclusionCriteria:msc(Z(a,lsc,24)),exclusionCriteria:dsc(Z(a,dP,25)),timeZone:fC(a.getTimeZone()),membersList:Kb(a.getMembersList(),Arc),trashComponentId:gj(a,10),defaultHotlistAcls:Osc(Z(a,Nsc,11)),updateTime:yt(a.getUpdateTime()),triageActionsList:Kb(aj(a,
jP,13),Msc),bookmarkGroupId:gj(a,14),defaultSavedViewsList:Kb(aj(a,bsc,15),csc),customStatusesList:Kb(aj(a,Irc,17),Jrc),boardColumnsList:Kb(aj(a,aP,18),Frc),teamId:V(a,20),workspaceType:W(a,22,0),itemDefaultsConfig:ksc(Z(a,jsc,23)),ganttDateStrategyConfig:fsc(Z(a,esc,26)),iterationRecurrenceId:gj(a,27)}};var Ssc=function(a){r.call(this,a)};U(Ssc,r);Ssc.prototype.getWorkspaceId=function(){return gj(this,1)};Ssc.prototype.toObject=function(){if(null!=this){t(this);var a={workspaceId:gj(this,1)}}else a=void 0;return a};var Tsc=new kC("/google.corp.devtools.worktracker.v1.WorkspaceService/Get",Ssc,Nn,function(a){return a.serialize()},Psc);var Usc=function(a){r.call(this,a)};U(Usc,r);Usc.prototype.toObject=function(){return Vsc(this)};var Vsc=function(a){if(null!=a)return t(a),{}};var nP=function(a){r.call(this,a)};U(nP,r);nP.prototype.setWorkItemId=function(a){return $n(this,1,Wsc,a)};var Xsc=function(){var a=new nP,b=new Usc;return ho(a,2,Wsc,b)};nP.repeatedFields_=[3];var Wsc=[1,2];nP.prototype.toObject=function(){if(null!=this){t(this);var a={workItemId:p(po(this,1,Wsc)),userWorkspacesRequest:Vsc(Sj(this,Usc,2,Wsc)),workspaceTypesList:p(Tk(this,3))}}else a=void 0;return a};var Ysc=function(a){r.call(this,a)};U(Ysc,r);var Zsc=Rb(Ysc);Ysc.repeatedFields_=[1];Ysc.prototype.toObject=function(){if(null!=this){t(this);var a={workspacesList:Kb(aj(this,Nn,1),Rsc)}}else a=void 0;return a};var $sc=new kC("/google.corp.devtools.worktracker.v1.WorkspaceService/List",nP,Ysc,function(a){return a.serialize()},Zsc);var atc=function(a,b){b=b||{};b.format="jspb";this.client_=new BC(b);this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};atc.prototype.get=function(a,b){return CC(this.client_,this.hostname_+"/$rpc/google.corp.devtools.worktracker.v1.WorkspaceService/Get",a,b||{},Tsc)};atc.prototype.list=function(a,b){return CC(this.client_,this.hostname_+"/$rpc/google.corp.devtools.worktracker.v1.WorkspaceService/List",a,b||{},$sc)};var btc={},ctc;btc.Authorization=null!=(ctc=vo([]))?ctc:"";btc["X-Goog-Api-Key"]="AIzaSyAVSCxcE30nYSaySrZXBXCTumqIjorZA2c";btc["X-Goog-AuthUser"]="0";
var oP=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)},dtc=function(a,b){return a.activeSession.isExternalSession()?(0,E.of)([]):(0,E.from)(a.client.list((new nP).setWorkItemId("b/"+
b),btc)).pipe(D(iKa(b)),Ce(function(){return(0,E.of)([])}))};oP.\u0275fac=function(a){return new (a||oP)(u(gs),u(pP))};oP.\u0275prov=qc({token:oP,factory:oP.\u0275fac,providedIn:"root"});var pP=function(){};pP.prototype.create=function(a){return new atc(a,{withCredentials:!0,suppressCorsPreflight:!0})};pP.\u0275fac=function(a){return new (a||pP)};pP.\u0275prov=qc({token:pP,factory:pP.\u0275fac,providedIn:"root"});var qP=function(a){var b=this;this.injector=a;this.clientDarkmode$=this.clientDarkmodeSubject=new E.BehaviorSubject(!1);this.localDarkmode=!1;this.clientStreamzService=null;this.loadLocalDarkmode=function(){b.localDarkmode=null!=window.localStorage.getItem("onedev-darkmode");etc(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")}};qP.prototype.enableUsageTracking=function(){this.clientStreamzService=this.injector.get(sB)};var etc=function(a,b){a.clientDarkmodeSubject.next(b);document.body.classList.toggle("dark-mode",b)};qP.\u0275fac=function(a){return new (a||qP)(u(bv))};qP.\u0275prov=qc({token:qP,factory:qP.\u0275fac});var ftc=js(["https://g3doc.corp.google.com/company/teams/buganizer/feedback-dialog/feedback-dark-mode.md"]),gtc=js(["https://g3doc.corp.google.com/company/teams/buganizer/feedback-dialog/feedback.md"]),htc=function(a,b){this.dialogRef=a;this.darkmodeService=b;this.contentLoaded=!1;this.docUrl$=this.darkmodeService.clientDarkmode$.pipe(D(function(c){return c?Gg(ftc):Gg(gtc)}))};htc.\u0275fac=function(a){return new (a||htc)(C(Tz),C(qP))};
htc.\u0275cmp=Gc({type:htc,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&&(G(0,"div",0),Q(1,jKa,2,3,"ng-container",1),S(2,"async"),Q(3,kKa,
1,0,"mat-spinner",2),H(),G(4,"div",3)(5,"button",4),M("click",function(){return b.dialogRef.close(!1)}),R(6," Cancel "),H(),G(7,"button",5),M("click",function(){return b.dialogRef.close(!0)}),R(8," File a new issue "),H()());a&2&&(z(1),F("ngIf",T(2,2,b.docUrl$)),z(2),F("ngIf",!b.contentLoaded))},dependencies:[ew,Zz,$z,Jz,rL,kw],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 Pn=function(a){r.call(this,a)};U(Pn,r);f=Pn.prototype;f.getEnableSsEngine=function(){return Jj(this,2)};f.getEnableAwr=function(){return Jj(this,3)};f.getEnableHelpSuggestions=function(){return Jj(this,4)};f.getAlohaAutoGaRollout=function(){return Jj(this,5)};f.getEnableConfigurator=function(){return Jj(this,6)};f.getEnableMweb=function(){return Jj(this,7)};f.getEnableCtlConsentCheckbox=function(){return Jj(this,8)};f.getEnableIframe=function(){return Jj(this,9)};
var BKa=function(){var a=new Pn;a=Ab(a,5,!0);a=Ab(a,2,!0);a=Ab(a,4,!1);a=Ab(a,8,!0);return Ab(a,9,!0)};f=Pn.prototype;f.getEnableScreenshotNudge=function(){return Jj(this,10)};f.getEnableWebStartupConfigEndpoint=function(){return Jj(this,11)};f.getEnableJunkNudge=function(){return Jj(this,12)};f.getEnableConfiguratorLocale=function(){return Jj(this,13)};f.getEnableTinyNoPointer=function(){return Jj(this,14)};f.getEnableSupportSessionLogging=function(){return Jj(this,15)};
f.getEnableFileUploadForScreenshot=function(){return Jj(this,16)};f.getEnableDirectDeflectionForSingleCategory=function(){return Jj(this,17)};f.getEnableImageSanitization=function(){return Jj(this,18)};f.getEnableAlohaBinarySplit=function(){return Jj(this,19)};f.getEnableDbFeedbackIntents=function(){return Jj(this,20)};f.getEnableMarkMandatoryFieldsWithRequired=function(){return Jj(this,21)};f.getEnableFeedbackCategoryCustomUi=function(){return Jj(this,22)};f.toObject=function(){return itc(this)};
var itc=function(a){if(null!=a)return t(a),{alohaLaunch:Jj(a,1),enableSsEngine:Jj(a,2),enableAwr:Jj(a,3),enableHelpSuggestions:Jj(a,4),alohaAutoGaRollout:Jj(a,5),enableConfigurator:Jj(a,6),enableMweb:Jj(a,7),enableCtlConsentCheckbox:Jj(a,8),enableIframe:Jj(a,9),enableScreenshotNudge:Jj(a,10),enableWebStartupConfigEndpoint:Jj(a,11),enableJunkNudge:Jj(a,12),enableConfiguratorLocale:Jj(a,13),enableTinyNoPointer:Jj(a,14),enableSupportSessionLogging:Jj(a,15),enableFileUploadForScreenshot:Jj(a,16),enableDirectDeflectionForSingleCategory:Jj(a,
17),enableImageSanitization:Jj(a,18),enableAlohaBinarySplit:Jj(a,19),enableDbFeedbackIntents:Jj(a,20),enableMarkMandatoryFieldsWithRequired:Jj(a,21),enableFeedbackCategoryCustomUi:Jj(a,22)}};var AKa=function(a){r.call(this,a)};U(AKa,r);AKa.prototype.toObject=function(){if(null!=this){t(this);var a={alohaFlags:itc(Z(this,Pn,1))}}else a=void 0;return a};var lKa=[/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 oKa="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 pKa=js(["https://www.gstatic.com/uservoice/feedback/client/web/","/main_light_binary.js"]),qKa=js(["https://www.gstatic.com/uservoice/feedback/client/web/","/main_binary__",".js"]);var sKa,uKa;var jtc=function(a,b,c){a.timeOfStartCall=(new Date).getTime();var d=c||ba,e=d.document,g=a.nonce||kRb(d);g&&!a.nonce&&(a.nonce=g);if("help"==a.flow){var h=uo("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||va(b)||(d+=encodeURIComponent(q)+"="+encodeURIComponent(b)+"&");a=Bo(e).createElement("SCRIPT");g&&a.setAttribute("nonce",g);g=Fg(d);wh(a,g);e.body.appendChild(a)}},ktc=function(a,b,c,d){var e,g;he(function(h){e=c||ba;var l=["web_answers"].includes(a.triggerId)?"en":a.locale,q="DEV"===a.serverEnvironment,x=c||ba;x=a.nonce||kRb(x);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:x,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(yKa(g,d,e),0)})},ltc=function(a,b,c){try{if("help"===a.flow){var d=a.helpCenterPath.replace(/^\//,
"");Tpa(c||window,Jg("https://support.google.com/"+d))}else"submit"===a.flow?jtc(a,b,c):CKa(a.productId,a.feedbackServerUri).then(function(e){e=Z(e,Pn,1);var g=!PIb||(null==e?void 0:e.getEnableMweb()),h=!a.tinyNoPointer||(null==e?void 0:e.getEnableTinyNoPointer());!e||e.getAlohaAutoGaRollout()&&g&&h?ktc(a,b,c,e):jtc(a,b,c)},function(e){e&&"DuplicateFormError"!==e.name&&jtc(a,b,c)})}catch(e){ktc(a,b,c,null)}};uIb("userfeedback.api.startFeedback",ltc);var rP=function(a,b,c){this.activeSession=a;this.matDialog=b;this.currentTracker=c};rP.prototype.startFeedback=function(){var a=this;this.activeSession.isInternalSession()?Rz(this.matDialog.open(htc,{width:"500px",maxHeight:"80vh",height:"640px",autoFocus:!1})).subscribe(function(b){b&&PZa(a)}):PZa(this)};
var PZa=function(a){var b={productId:92912,nonce:a.activeSession.getCspNonce(),productVersion:"buganizer.frontend_20230612.03_p1"};b.bucket=a.currentTracker.inTracker?"buganizer-trackers-feedback":"buganizer3-feedback";for(var c=[],d=c.concat,e=Vc([]),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,Vc(g)).join(", ");c={userType:a.activeSession.getUserTypeLabel(),flags:c};a.currentTracker.inTracker&&
(c.trackerId=a.currentTracker.getTrackerId());ltc(b,c)};rP.\u0275fac=function(a){return new (a||rP)(u(gs),u(Wz),u(lK))};rP.\u0275prov=qc({token:rP,factory:rP.\u0275fac,providedIn:"root"});var sP=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()})};sP.prototype.trackByIndex=function(a){return a};
sP.prototype.startFeedback=function(){this.userFeedback.startFeedback()};sP.\u0275fac=function(a){return new (a||sP)(C(cH,2),C(xN),C(Vz),C(GF),C(Aw),C(vG),C(rP))};
sP.\u0275cmp=Gc({type:sP,selectors:[["comment-history-dialog"]],features:[Gf([cH])],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&&(G(0,"h2",0),R(1),H(),G(2,"mat-dialog-content")(3,"div",1)(4,"mat-checkbox",
2),M("change",function(c){return b.diffView=c.checked}),R(5," Show Diff "),H()(),G(6,"a",3),M("click",function(){return b.startFeedback()}),R(7,"Feedback"),H(),I(8,"br",4),Q(9,DKa,2,0,"div",5),Q(10,SKa,2,2,"ul",6),H(),G(11,"mat-dialog-actions")(12,"button",7),R(13,"Close"),H()());a&2&&(z(1),Df("History for Comment #",b.commentNumber,""),z(3),F("checked",b.diffView),z(5),F("ngIf",b.isLoading),z(1),F("ngIf",!b.isLoading))},dependencies:[dw,ew,bK,vN,Jz,Xz,Yz,Zz,$z,RJ,sL,WJ,nL,kw,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}/*# sourceMappingURL=comment_history_dialog.css.map */"],
changeDetection:0});var TKa=function(){},Qn=function(a,b,c,d,e){"undefined"==typeof e&&(e=(new Date).getTime()+1E3);if(null==b||null==c)throw Error("hd");if(b==c)return b?[[0,b]]:[];"undefined"==typeof d&&(d=!0);var g=mtc(b,c),h=b.substring(0,g);b=b.substring(g);c=c.substring(g);g=ntc(b,c);var l=b.substring(b.length-g);b=b.substring(0,b.length-g);c=c.substring(0,c.length-g);b=otc(a,b,c,d,e);h&&b.unshift([0,h]);l&&b.push([0,l]);ptc(a,b);return b},otc=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=qtc(b,c))return c=g[1],h=g[3],b=g[4],g=Qn(a,g[0],g[2],d,e),a=Qn(a,c,h,d,e),g.concat([[0,b]],a);if(d&&100<b.length&&100<c.length){b=rtc(b,c);c=b.lineArray;b=Qn(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("")}UKa(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=Qn(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),x=Array(l),A=0;A<l;A++)q[A]=-1,x[A]=-1;q[h+1]=0;x[h+1]=0;A=d-g;for(var B=0!=A%2,K=0,N=0,P=0,Y=0,X=0;X<h&&!((new Date).getTime()>e);X++){for(var ka=-X+
K;ka<=X-N;ka+=2){var ma=h+ka;var za=ka==-X||ka!=X&&q[ma-1]<q[ma+1]?q[ma+1]:q[ma-1]+1;for(var Ba=za-ka;za<d&&Ba<g&&b.charAt(za)==c.charAt(Ba);)za++,Ba++;q[ma]=za;if(za>d)N+=2;else if(Ba>g)K+=2;else if(B&&(ma=h+A-ka,0<=ma&&ma<l&&-1!=x[ma])){var Ma=d-x[ma];if(za>=Ma){a=stc(a,b,c,za,Ba,e);break a}}}for(ka=-X+P;ka<=X-Y;ka+=2){ma=h+ka;Ma=ka==-X||ka!=X&&x[ma-1]<x[ma+1]?x[ma+1]:x[ma-1]+1;for(za=Ma-ka;Ma<d&&za<g&&b.charAt(d-Ma-1)==c.charAt(g-za-1);)Ma++,za++;x[ma]=Ma;if(Ma>d)Y+=2;else if(za>g)P+=2;else if(!B&&
(ma=h+A-ka,0<=ma&&ma<l&&-1!=q[ma]&&(za=q[ma],Ba=h+za-ma,Ma=d-Ma,za>=Ma))){a=stc(a,b,c,za,Ba,e);break a}}}a=[[-1,b],[1,c]]}return a},stc=function(a,b,c,d,e,g){var h=b.substring(d),l=c.substring(e);b=Qn(a,b.substring(0,d),c.substring(0,e),!1,g);a=Qn(a,h,l,!1,g);return b.concat(a)},rtc=function(a,b){function c(h){for(var l="",q=0,x=-1,A=d.length;x<h.length-1;){x=h.indexOf("\n",q);-1==x&&(x=h.length-1);var B=h.substring(q,x+1);(e.hasOwnProperty?e.hasOwnProperty(B):void 0!==e[B])?l+=String.fromCharCode(e[B]):
(A==g&&(B=h.substring(q),x=h.length),l+=String.fromCharCode(A),e[B]=A,d[A++]=B);q=x+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}},mtc=function(a,b){if(!a||!b||a.charAt(0)!=b.charAt(0))return 0;for(var c=0,d=Math.min(a.length,b.length),e=d,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},ntc=function(a,b){if(!a||!b||a.charAt(a.length-1)!=b.charAt(b.length-1))return 0;for(var c=0,d=Math.min(a.length,b.length),
e=d,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},ttc=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++}},qtc=function(a,b){function c(l,q,x){for(var A=l.substring(x,x+Math.floor(l.length/4)),B=-1,K="",
N,P,Y,X;-1!=(B=q.indexOf(A,B+1));){var ka=mtc(l.substring(x),q.substring(B)),ma=ntc(l.substring(0,x),q.substring(0,B));K.length<ma+ka&&(K=q.substring(B-ma,B)+q.substring(B,B+ka),N=l.substring(0,x-ma),P=l.substring(x+ka),Y=q.substring(0,B-ma),X=q.substring(B+ka))}return 2*K.length>=l.length?[N,P,Y,X,K]: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]]},UKa=function(a,b){for(var c=!1,d=[],e=0,g=null,h=0,l=0,q=0,x=0,A=0;h<b.length;)0==b[h][0]?(d[e++]=h,l=x,q=A,A=x=0,g=b[h][1]):(1==b[h][0]?x+=b[h][1].length:A+=b[h][1].length,g&&g.length<=Math.max(l,q)&&g.length<=Math.max(x,A)&&(b.splice(d[e-1],0,[-1,g]),b[d[e-1]+1][0]=1,e--,e--,h=0<e?d[e-1]:-1,A=x=q=l=0,g=null,c=!0)),h++;c&&ptc(a,b);utc(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=ttc(a,c);e=ttc(c,a);if(d>=e){if(d>=a.length/2||d>=c.length/2)b.splice(h,0,[0,c.substring(0,d)]),b[h-1][1]=a.substring(0,a.length-d),b[h+1][1]=c.substring(d),h++}else if(e>=a.length/2||e>=c.length/2)b.splice(h,0,[0,a.substring(0,e)]),b[h-1][0]=1,b[h-1][1]=c.substring(0,c.length-e),b[h+1][0]=-1,b[h+1][1]=a.substring(e),h++;h++}h++}},utc=function(a){function b(B,K){if(!B||!K)return 6;var N=B.charAt(B.length-1),P=K.charAt(0),Y=N.match(vtc),X=P.match(vtc),
ka=Y&&N.match(wtc),ma=X&&P.match(wtc);N=ka&&N.match(xtc);P=ma&&P.match(xtc);B=N&&B.match(ytc);K=P&&K.match(ztc);return B||K?5:N||P?4:Y&&!ka&&ma?3:ka||ma?2:Y||X?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=ntc(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,x=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 A=
b(d,e)+b(e,g);A>=x&&(x=A,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++}},vtc=/[^a-zA-Z0-9]/,wtc=/\s/,xtc=/[\r\n]/,ytc=/\n\r?\n$/,ztc=/^\r?\n\r?\n/,ptc=function(a,b){b.push([0,""]);for(var c=0,d=0,e=0,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=mtc(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=ntc(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&&ptc(a,b)};var tP=function(a,b,c){this.analytics=a;this.issueComments=b;this.dialogManager=c};tP.prototype.show=function(a,b,c){var d=this,e;return he(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:Atc(d,a,b,c)};d.dialog=d.dialogManager.open(sP,{data:e,width:"50vw"});return g.return((0,E.firstValueFrom)(Rz(d.dialog)))})};
var Atc=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 x=e.next();!x.done;x=e.next()){x=x.value;var A=WKa(x);A||l?(g=Btc(x.unlinkifiedComment),h=Btc(x.formattingMode)):(g=VKa(g,x.unlinkifiedComment),l=x.formattingMode,h=h===l?Btc(l):jn(Btc(h,"diff-removed"),Btc(l,"diff-added")));l=void 0===x.unlinkifiedComment?"":x.unlinkifiedComment;var B=x.version,K=x.commentContentVerdict;
q.push({unlinkifiedComment:l,lastEditorUser:x.lastEditorUser,version:B,formattingMode:x.formattingMode,formattingModeDiff:h,lastModified:Number(x.lastModified)/1E3,open:25>B,preview:48>=l.length?l:l.substring(0,45)+"...",diff:g,restricted:K&&K.piiVerdict&&"NONE_DETECTED"!==K.piiVerdict.severity||!1,deleted:WKa(x)});g=x.unlinkifiedComment;h=x.formattingMode;l=A}-1<d?q[d].open=!0:q[0].open=!0;return q})},Btc=function(a,b){return hn("SPAN",b?{"class":b}:null,a)};
tP.\u0275fac=function(a){return new (a||tP)(u(gH),u(NH),u(Wz))};tP.\u0275prov=qc({token:tP,factory:tP.\u0275fac,providedIn:"root"});var Ctc=function(a){r.call(this,a)};U(Ctc,r);f=Ctc.prototype;f.getIssueId=function(){return yi(this,1)};f.setIssueId=function(a){return n(this,1,a)};f.getCommentNumber=function(){return Gh(this,2)};f.setCommentNumber=function(a){return n(this,2,a)};f.getPiiRetention=function(){return W(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(Os(this,2)),piiRetention:p(kr(this,3))}}else a=void 0;return a};var uP=function(a){this.executor=a};uP.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:rh(c)}c=void 0}return this.executor.get({url:"action/issues/"+a+"/comment/"+b,options:{headers:{"X-Restricted-Content-Limit":d(c)}},responseConstructor:HD}).pipe(D(lk))};
uP.prototype.updateRetention=function(a,b,c){c=(new Ctc).setIssueId(a).setCommentNumber(b).setPiiRetention(c);return this.executor.post({url:"action/issues/"+a+"/comment/"+b+"/update_retention",body:c,responseConstructor:HD}).pipe(D(lk))};uP.\u0275fac=function(a){return new (a||uP)(u(LC))};uP.\u0275prov=qc({token:uP,factory:uP.\u0275fac,providedIn:"root"});var vP=function(a){r.call(this,a,0,vP.messageId)};U(vP,r);vP.prototype.getUrl=function(){return V(this,1)};vP.prototype.setUrl=function(a){return n(this,1,a)};vP.prototype.hasUrl=function(){return wk(this,1)};vP.prototype.toObject=function(){if(null!=this){t(this);var a={url:p(m(this,1))}}else a=void 0;return a};vP.messageId="b.AttachmentUrlResponse";var wP=function(a){this.executor=a};wP.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(Wqa(d)));return this.executor.get({url:"action/issues/"+a+"/attachments/"+b+"/url",options:{headers:e,params:{download:String(c)}},responseConstructor:vP}).then(function(g){return g.getUrl()})};wP.\u0275fac=function(a){return new (a||wP)(u(MC))};wP.\u0275prov=qc({token:wP,factory:wP.\u0275fac,providedIn:"root"});var xP=function(a,b,c){this.templateRef=b;this.viewContainer=c;this.isInternal=!1;this.isInternal=a.isInternalSession()};xP.prototype.ngOnInit=function(){this.isInternal&&this.viewContainer.createEmbeddedView(this.templateRef)};xP.\u0275fac=function(a){return new (a||xP)(C(gs),C(Qf),C(Rf))};xP.\u0275dir=Kc({type:xP,selectors:[["","internalOnly",""]]});var yP=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};yP.prototype.ngOnInit=function(){this.changeDetectorRef.detectChanges();this.setHasViewAccess()};
yP.prototype.setHasViewAccess=function(){var a=this;this.isLoading=!0;YKa(this)?(this.hasViewAccess=!1,qF(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)};yP.prototype.getPiiSeverity=function(){var a=this.attachment.contentVerdict;if(a&&(a=a.piiVerdict))return a.severity};
var YKa=function(a){return(a=a.getPiiSeverity())?"NONE_DETECTED"!==a:!1},Dtc=function(a){var b=a.download&&uqa(a.attachment.contentType);a.attachmentsUrl.get(a.issueId,a.attachment.attachmentId,b,a.getPiiSeverity()).then(function(c){b?Vkc(a.domSafe,c):a.domSafe.openInNewTab(c);a.close()},function(){EF(a.butterBar,"Failed to load attachment. Please refresh and try again.");a.close()})};yP.prototype.close=function(){this.dialogRef.close();this.changeDetectorRef.detectChanges()};
yP.prototype.getRestrictedAccessHelpLink=function(){return this.documentationLinks.getRestrictedAccessHelpLink()};yP.\u0275fac=function(a){return new (a||yP)(C(Vz),C(Tz),C(pF),C(wP),C(CF),C(SJ),C(nI),C(cH,2))};
yP.\u0275cmp=Gc({type:yP,selectors:[["b-attachment-download-dialog"]],features:[Gf([cH])],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&&(G(0,"h1",0),R(1,"Access Attachment"),H(),G(2,"div",1)(3,"div",2),R(4," Are you sure you would like to access the following attachment? "),H(),I(5,"br"),G(6,"div",3)(7,"div",4),I(8,"mat-icon",5),H(),G(9,"div",6),R(10),H()(),I(11,"br"),Q(12,ZKa,2,1,"ng-container",
7),Q(13,$Ka,3,0,"div",8),H(),Q(14,aLa,1,0,"mat-spinner",9),G(15,"div",10)(16,"button",11),M("click",function(){return b.close()}),R(17," Cancel "),H(),G(18,"button",12),M("click",function(){return Dtc(b)}),R(19," Continue "),H()());a&2&&(z(10),Df(" ",b.attachment.filename," "),z(3),F("ngIf",!b.isLoading&&!b.hasViewAccess),z(1),F("ngIf",b.isLoading),z(4),F("disabled",!b.hasViewAccess))},dependencies:[ew,uA,Yz,Zz,$z,Jz,rL,xP],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 Etc=function(a){r.call(this,a)};U(Etc,r);f=Etc.prototype;f.getIssueId=function(){return yi(this,1)};f.setIssueId=function(a){return n(this,1,a)};f.getAttachmentId=function(){return yi(this,2)};f.setAttachmentId=function(a){n(this,2,a)};f.getPiiRetention=function(){return W(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(kr(this,3))}}else a=void 0;return a};var zP=function(a){this.executor=a};zP.prototype.updateRetention=function(a,b,c){var d=new Etc;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:gE}).pipe(D(Msa))};zP.\u0275fac=function(a){return new (a||zP)(u(LC))};zP.\u0275prov=qc({token:zP,factory:zP.\u0275fac,providedIn:"root"});var AP=function(){this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.isGreyedOut=!0;this.linkUrl=this.displayName="";this.useCustomHandler=this.linkEnabled=!1;this.customHandler=new Gv};AP.prototype.handleClick=function(a){this.useCustomHandler&&(a.preventDefault(),this.customHandler.emit())};AP.\u0275fac=function(a){return new (a||AP)};
AP.\u0275cmp=Gc({type:AP,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&&(Q(0,bLa,2,3,"span",0),Q(1,cLa,2,3,"a",1));a&2&&(F("ngIf",
b.isGreyedOut||!b.linkEnabled),z(1),F("ngIf",!b.isGreyedOut&&b.linkEnabled))},dependencies:[ew],encapsulation:2,changeDetection:0});var BP=function(a,b){this.documentationLinks=a;this.dateFormatter=b;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.retentionModel=T8b;this.label="Restricted";this.contentType="item"};BP.prototype.getIcon=function(){return Ftc(this)?"delete-alert":"delete-clock"};BP.prototype.getRetentionPeriod=function(){if(!this.retentionState||!this.retentionState.retentionPeriod)return"";var a=Nza(this.retentionState.retentionPeriod);return a?Oza(Math.floor(1E3*a.getSeconds()/864E5)):""};
var eLa=function(a){var b=new Date(864E13);if(!a.retentionState||!a.retentionState.scheduledDeletionTime)return b;a=Zm(Ym(a.retentionState.scheduledDeletionTime));return new Date(a||b)},Ftc=function(a){return a.retentionState&&a.retentionState.scheduledDeletionTime?12096E5>Zm(Ym(a.retentionState.scheduledDeletionTime))-Date.now():!1};BP.\u0275fac=function(a){return new (a||BP)(C(nI),C(aK))};
BP.\u0275cmp=Gc({type:BP,selectors:[["b-restricted-chip"]],inputs:{label:"label",contentType:"contentType",retention:"retention",retentionState:"retentionState"},decls:11,vars:5,consts:[[1,"bubble",3,"panelTemplate"],["bubble",""],["tabindex","0","aria-label","Display retention information","aria-haspopup","dialog","role","button",1,"chip","nowrap",3,"focus","blur"],[1,"icon-s",3,"svgIcon"],["popup",""],["infiniteRetention",""],["hasExpiredText",""],[1,"popup"],["target","_blank",3,"rel"],[3,"ngSwitch",
4,"ngIf"],[3,"ngSwitch"],[4,"ngIf","ngIfElse"],[3,"ngSwitchCase"]],template:function(a,b){if(a&1){var c=v();G(0,"xap-bubble",0,1)(2,"div",2);M("focus",function(){w(c);var e=Cf(1);return y(e.toggle(!0))})("blur",function(){w(c);var e=Cf(1);return y(e.toggle(!1))});I(3,"mat-icon",3);R(4);H();Q(5,jLa,8,4,"ng-template",null,4,Zf);Q(7,kLa,3,1,"ng-template",null,5,Zf);Q(9,lLa,8,5,"ng-template",null,6,Zf);H()}if(a&2){var d=Cf(6);F("panelTemplate",d);z(2);qf("warning",Ftc(b));z(1);F("svgIcon",b.getIcon());
z(1);Df(" ",b.label," ")}},dependencies:[ew,fw,gw,uA,gO,nw],styles:[".chip[_ngcontent-%COMP%]{display:inline-block;border-radius:1em;font-size:.8125rem;font-weight:400;line-height:1.8em;padding:0 .6em;margin:0 .6em;background-color:#e8eaed;background-color:var(--chip-bg);color:#202124;color:var(--text-high-contrast)}.chip[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{vertical-align:text-top}.chip.warning[_ngcontent-%COMP%]{background-color:#fcad70;background-color:var(--expiring-bg);color:rgba(0,0,0,.7);color:var(--expiring-text)}.popup[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{line-height:1.5em !important}.popup[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]:last-child{margin-bottom:0}/*# sourceMappingURL=restricted_chip.css.map */"],
changeDetection:0});var CP=function(){this.warningChunks=[]};CP.prototype.ngOnInit=function(){var a=this.warningText,b=qLa(a,"EXTERNAL_PUBLIC")||qLa(a,"EXTERNAL_PARTNER");this.warningChunks=b?[{text:a.substring(0,b.startOfMatch)},{accessLevel:b.accessLevel},{text:a.substring(b.endOfMatch)}]:[{text:a}]};CP.prototype.isText=function(a){return void 0!==a.text};CP.\u0275fac=function(a){return new (a||CP)};
CP.\u0275cmp=Gc({type:CP,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&&(G(0,"div"),Q(1,oLa,3,2,"span",0),H());a&2&&(z(1),F("ngForOf",b.warningChunks))},dependencies:[dw,ew,hO],encapsulation:2});var pLa=new Map([["EXTERNAL_PUBLIC","visible to public users"],["EXTERNAL_PARTNER","visible to external partners"]]);var DP=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=Uhc(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};
DP.prototype.allow=function(){var a;null==(a=this.dialogRef)||a.close();this.isAllowed&&this.acknowledged&&this.callbacks.allow()};DP.prototype.cancel=function(){var a;null==(a=this.dialogRef)||a.close();this.callbacks.cancel()};DP.\u0275fac=function(a){return new (a||DP)(C(Vz),C(nI),C(Tz))};
DP.\u0275cmp=Gc({type:DP,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&&(G(0,"h1",0),R(1),H(),G(2,"div",1)(3,"div",2),I(4,"b-component-move-warning-content",3),H(),I(5,"br"),G(6,"a",4),R(7,"Learn more"),H(),Q(8,rLa,5,1,"div",5),H(),G(9,"mat-dialog-actions")(10,"button",6),M("click",function(){return b.cancel()}),R(11," Cancel "),H(),Q(12,sLa,2,1,"button",7),H());a&2&&(z(1),Ef(b.header),z(3),F("warningText",b.warning),z(2),gf("href",b.learnMore,Md),z(2),F("ngIf",b.isExternalMove&&b.isAllowed),z(4),F("ngIf",b.isAllowed))},
dependencies:[ew,Fw,Lw,Jz,vN,Xz,Yz,Zz,$z,CP],styles:["mat-checkbox[_ngcontent-%COMP%] {\n      margin-right: 8px;\n    }"],changeDetection:0});var EP=function(a){r.call(this,a,0,EP.messageId)};U(EP,r);EP.prototype.getWarning=function(){return V(this,2)};EP.prototype.toObject=function(){if(null!=this){t(this);var a={warningHeader:p(m(this,1)),warning:p(m(this,2)),isAllowed:p(ar(this,3)),isExternalMove:p(ar(this,4))}}else a=void 0;return a};EP.messageId="b.CompareComponentAccessResponse";var FP=function(a){this.executor=a};FP.prototype.check=function(a,b,c){return this.executor.get({url:"action/compare_component_access/"+a+"/"+b,options:{params:{issueId:c}},responseConstructor:EP}).then(gta)};FP.\u0275fac=function(a){return new (a||FP)(u(MC))};FP.\u0275prov=qc({token:FP,factory:FP.\u0275fac,providedIn:"root"});var GP=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},Iub=function(a,b,c){var d,e,g,h,l;he(function(q){switch(q.nextAddress){case 1:return b=String(b),cjc(a.issueInteractionsTracking,b,{label:"changeComponent"}),c?q.yield((0,E.firstValueFrom)(a.issueFridge.watch(b)),2):q.return();case 2:d=q.yieldResult;if(!d)return EF(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(Gtc(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))}})},Gtc=function(a,b){return new Promise(function(c){Rz(a.matDialogService.open(DP,{width:"580px",data:{response:b,callbacks:{allow:function(){c(!0)},cancel:function(){c(!1)}}}})).subscribe(function(){c(!1)})})};
GP.\u0275fac=function(a){return new (a||GP)(u(XI),u(lH),u(CF),u(FP),u(Wz),u(mJ))};GP.\u0275prov=qc({token:GP,factory:GP.\u0275fac,providedIn:"root"});var Htc=function(a){this.documentationLinks=a};Htc.\u0275fac=function(a){return new (a||Htc)(C(nI))};
Htc.\u0275cmp=Gc({type:Htc,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&&(G(0,"h1",0),R(1,"Apply component retention settings?"),H(),G(2,
"div",1)(3,"p"),R(4," This issue is currently retained indefinitely. If you select this option, this issue will be scheduled for deletion based on the component retention settings. "),H(),G(5,"a",2),R(6,"Learn more"),H()(),G(7,"div",3)(8,"button",4),R(9," Cancel "),H(),G(10,"button",5),R(11," OK "),H()());a&2&&(z(5),F("href",as(),Md),z(3),F("mat-dialog-close",!1),z(2),F("mat-dialog-close",!0))},dependencies:[Xz,Yz,Zz,$z,Jz],encapsulation:2});var Itc=function(a,b){this.documentationLinks=b;this.deletionReasons=a.deletionReasons;this.attachmentId=a.attachmentId};Itc.\u0275fac=function(a){return new (a||Itc)(C(Vz),C(nI))};
Itc.\u0275cmp=Gc({type:Itc,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&&(G(0,"h1",0),R(1),H(),G(2,"div",1)(3,"span"),R(4," Please select the reason for deleting this attachment. "),G(5,"a",2),R(6," \u00a0Learn more "),H()(),G(7,"mat-radio-group",3),M("ngModelChange",function(c){return b.selectedReason=c}),Q(8,uLa,3,4,"mat-radio-button",4),H()(),G(9,"div",5)(10,"button",6),R(11," Cancel "),H(),G(12,"button",7),R(13," Delete "),H()());a&2&&(z(1),Df("Delete attachment ",b.attachmentId,""),z(4),F("href",
Vhc(b.documentationLinks),Md),z(2),F("ngModel",b.selectedReason),z(1),F("ngForOf",b.deletionReasons),z(4),F("mat-dialog-close",b.selectedReason)("disabled",!b.selectedReason))},dependencies:[dw,ew,Xz,Yz,Zz,$z,Jz,Fw,Lw,xM,yM],styles:["mat-radio-group[_ngcontent-%COMP%] {display: flex; flex-direction: column; margin: 15px 0;}","mat-radio-button[_ngcontent-%COMP%] {margin: 5px}"]});var Jtc=function(a,b){this.documentationLinks=b;this.commentNumber=a.commentNumber;this.issueId=a.issueId;this.deletionReasons=a.deletionReasons};Jtc.\u0275fac=function(a){return new (a||Jtc)(C(Vz),C(nI))};
Jtc.\u0275cmp=Gc({type:Jtc,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&&(G(0,"h1",0),R(1),H(),G(2,"div",1)(3,"label"),R(4,"Please select the reason for deleting this comment."),H(),G(5,"a",2),R(6," \u00a0Learn more "),H(),G(7,"mat-radio-group",3),M("ngModelChange",function(c){return b.selectedReason=c}),Q(8,wLa,3,4,"mat-radio-button",4),H()(),G(9,"div",5)(10,"button",6),R(11," Cancel "),H(),G(12,"button",7),R(13," Delete "),H()());a&2&&(z(1),Ff("Delete Comment #",b.commentNumber," of Issue ",b.issueId,
""),z(4),F("href",Vhc(b.documentationLinks),Md),z(2),F("ngModel",b.selectedReason),z(1),F("ngForOf",b.deletionReasons),z(4),F("mat-dialog-close",b.selectedReason)("disabled",!b.selectedReason))},dependencies:[dw,ew,Xz,Yz,Zz,$z,Jz,Fw,Lw,xM,yM],styles:["mat-radio-group[_ngcontent-%COMP%] {display: flex; flex-direction: column; margin: 15px 0;}","mat-radio-button[_ngcontent-%COMP%] {margin: 5px}"]});var Ktc=function(a,b){this.documentationLinks=a;this.activeSession=b;this.REMOVAL_URL=xLa(this.activeSession.isInternalSession())};Ktc.\u0275fac=function(a){return new (a||Ktc)(C(nI),C(gs))};
Ktc.\u0275cmp=Gc({type:Ktc,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&&(G(0,"h1",0),R(1,"Report spam?"),H(),G(2,"div",1)(3,
"p"),R(4," This will remove the issue from search results, and it will be deleted after 30 days. For more information on remediating spam at scale, "),G(5,"a",2),R(6,"see here"),H(),R(7,". "),H(),I(8,"p"),G(9,"p"),R(10," To delete PII or other sensitive content, "),G(11,"a",2),R(12,"file a support request"),H(),R(13,". "),H()(),G(14,"div",3)(15,"button",4),R(16," Cancel "),H(),G(17,"button",5),R(18," Report spam "),H()());a&2&&(z(5),F("href",Thc(b.documentationLinks),Md),z(6),F("href",b.REMOVAL_URL,
Md),z(4),F("mat-dialog-close",!1),z(2),F("mat-dialog-close",!0))},dependencies:[Xz,Yz,Zz,$z,Jz],encapsulation:2});var Ltc=function(a){this.documentationLinks=a;this.indefiniteRetentionAcknowledged=!1};Ltc.\u0275fac=function(a){return new (a||Ltc)(C(nI))};
Ltc.\u0275cmp=Gc({type:Ltc,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&&(G(0,"h1",0),R(1,"Retain issue indefinitely?"),
H(),G(2,"div",1)(3,"p"),R(4," Are you sure you want to override any component retention settings, and retain this issue indefinitely? "),H(),G(5,"p")(6,"b"),R(7,"Please note indefinite retention is not appropriate in many circumstances."),H(),I(8,"br"),R(9," Before selecting this option, you should make sure at least one of the following is true: "),H(),G(10,"ul")(11,"li"),R(12," There is no personal data, user data, or any other forms of sensitive data being stored in this issue. "),H(),G(13,"li"),
R(14," You have a process in place to manually delete this issue within an approved period of time. "),H(),G(15,"li"),R(16," Legal and Privacy have approved this non-standard retention period. "),H()(),I(17,"p"),G(18,"p")(19,"a",2),R(20,"Learn more"),H()(),G(21,"mat-checkbox",3),M("change",function(c){return b.indefiniteRetentionAcknowledged=c.checked}),R(22," I acknowledge "),H()(),G(23,"div",4)(24,"button",5),R(25," Cancel "),H(),G(26,"button",6),R(27," OK "),H()());a&2&&(z(19),F("href",as(),Md),
z(2),F("checked",b.indefiniteRetentionAcknowledged),z(3),F("mat-dialog-close",!1),z(2),F("mat-dialog-close",!0)("disabled",!b.indefiniteRetentionAcknowledged))},dependencies:[Xz,Yz,Zz,$z,Jz,vN],styles:[".mat-dialog-content[_ngcontent-%COMP%] { max-height: unset; overflow: unset; }","ul[_ngcontent-%COMP%] { list-style: disc }"]});var Vr=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;HF(e.errorHandler,"Fetching comment reaction responders failed\n "+
g.message);e.dialogRef.close()})};Vr.\u0275fac=function(a){return new (a||Vr)(C(Vz),C(NH),C(GF),C(Tz))};
Vr.\u0275cmp=Gc({type:Vr,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&&(G(0,"h1",0),R(1),H(),G(2,
"div",1)(3,"mat-tab-group",2)(4,"mat-tab"),Q(5,yLa,1,1,"ng-template",3),Q(6,zLa,1,0,"b-spinner",4),Q(7,BLa,2,1,"ng-container",4),H()()(),G(8,"div",5)(9,"button",6),R(10," OK "),H()());a&2&&(z(1),Df("View Reactions for Comment #",b.commentNumber,""),z(5),F("ngIf",b.loadingResponders),z(1),F("ngIf",!b.loadingResponders),z(2),F("mat-dialog-close",!0))},dependencies:[dw,ew,uA,Xz,Yz,Zz,$z,Jz,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 HP=function(){};HP.\u0275fac=function(a){return new (a||HP)};HP.\u0275mod=Ic({type:HP});HP.\u0275inj=rc({imports:[tF,aA,iC,mA,$w,jA,aN,ZM,rM,$N]});var Mtc=function(a){r.call(this,a,0,Mtc.messageId)};U(Mtc,r);f=Mtc.prototype;f.getResourcePath=function(){return V(this,1)};f.setResourcePath=function(a){return n(this,1,a)};f.hasResourcePath=function(){return wk(this,1)};f.getSeverity=function(){return W(this,2,0)};f.setSeverity=function(a){return n(this,2,a)};f.hasSeverity=function(){return fj(this,2)};f.getJudgementReason=function(){return V(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(kr(this,2)),judgementReason:p(m(this,3))}}else a=void 0;return a};Mtc.messageId="b.CreateContentJudgementRequest";var IP=function(a){r.call(this,a,0,IP.messageId)};U(IP,r);IP.repeatedFields_=[1];IP.prototype.toObject=function(){if(null!=this){t(this);var a={contentJudgementsList:Kb(aj(this,zi,1),$C)}}else a=void 0;return a};IP.messageId="b.ListContentJudgementsResponse";var JP=function(a){r.call(this,a,0,JP.messageId)};U(JP,r);JP.prototype.getContentJudgement=function(){return Z(this,zi,1)};JP.prototype.setContentJudgement=function(a){return Yi(this,zi,1,a)};JP.prototype.toObject=function(){if(null!=this){t(this);var a={contentJudgement:$C(this.getContentJudgement())}}else a=void 0;return a};JP.messageId="b.UpdateContentJudgementRequest";var KP=function(a){this.executor=a};KP.prototype.create=function(a,b,c){a=(new Mtc).setResourcePath(a).setSeverity(vi(b)).setJudgementReason(c);return this.executor.post({url:"action/content_judgements",body:a,responseConstructor:zi}).pipe(D(Yqa))};
KP.prototype.update=function(a){var b=a.contentJudgementId,c=new JP,d=c.setContentJudgement,e=new zi;e=n(e,1,a.contentJudgementId).setResourcePath(a.resourcePath).setSeverity(vi(a.severity)).setJudgementReason(a.judgementReason);a=n(e,5,a.contentJudge);c=d.call(c,a);return this.executor.post({url:"action/content_judgements/"+b,body:c,responseConstructor:zi}).pipe(D(Yqa))};
KP.prototype.list=function(a){return this.executor.get({url:"action/content_judgements",options:{params:{resource_path:a}},responseConstructor:IP}).pipe(D(function(b){var c;return(null!=(c=aj(b,zi,1))?c:[]).map(Yqa)}))};KP.\u0275fac=function(a){return new (a||KP)(u(LC))};KP.\u0275prov=qc({token:KP,factory:KP.\u0275fac,providedIn:"root"});var MP=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=O8b;this.loaded=!1;this.minimumSeverity="PII_SEVERITY_UNSPECIFIED";this.severity="NONE_DETECTED";this.severity=e.severity;e.resourcePath?c.list(e.resourcePath).subscribe(function(h){var l="PII_SEVERITY_UNSPECIFIED";h=k(h);for(var q=h.next();!q.done;q=h.next())q=q.value,q.contentJudge===
g.activeSession.getUserEmail()?Ntc(g,q):LP(q.severity,l)&&(l=q.severity);g.minimumSeverity=l;LP(g.minimumSeverity,g.severity)&&(g.severity=g.minimumSeverity);g.loaded=!0}):(Ntc(this,e.contentJudgement),this.loaded=!0)};MP.prototype.canInteract=function(){return this.loaded&&(this.data.hasAclToCreate||!!this.judgement)};
var LP=function(a,b){return CLa(a)>CLa(b)},Ntc=function(a,b){if(a.judgement=b)a.severity=b.severity},Otc=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.";
LP(a.minimumSeverity,"NONE_DETECTED")&&(b+=" You can only select a restriction level equal or greater than the severity already given by other users.");return b};MP.prototype.getContentJudgement=function(){var a;this.judgement?a=Object.assign({},this.judgement):a={contentJudge:"",contentJudgementId:void 0,resourcePath:void 0,severity:"PII_SEVERITY_UNSPECIFIED",judgementReason:""};a.severity=this.severity;a.judgementReason="None specified";return a};
MP.prototype.onSaveClick=function(){var a=this;if(this.data.resourcePath){if(null==this.judgement){this.contentJudgements.create(this.data.resourcePath,this.severity,"None specified").subscribe(function(){a.dialogRef.close({contentJudgement:a.getContentJudgement()})});return}if(this.judgement.severity!==this.severity||"None specified"!==this.judgement.judgementReason){this.contentJudgements.update(this.getContentJudgement()).subscribe(function(){a.dialogRef.close({contentJudgement:a.getContentJudgement()})});
return}}this.dialogRef.close({contentJudgement:this.getContentJudgement()})};MP.prototype.onNoClick=function(){this.dialogRef.close(null)};MP.\u0275fac=function(a){return new (a||MP)(C(Tz),C(nI),C(KP),C(gs),C(Vz))};
MP.\u0275cmp=Gc({type:MP,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&&(G(0,"header",0)(1,"h1"),I(2,"mat-icon",1),G(3,"div"),R(4," Set restriction "),H()()(),G(5,"section",2)(6,"label",3),R(7),G(8,"a",4),R(9," Learn More "),H()(),
G(10,"mat-radio-group",5),M("ngModelChange",function(c){return b.severity=c}),G(11,"mat-radio-button",6),R(12," No restriction "),G(13,"div"),R(14,' Users with "View issues" can access. '),H()(),G(15,"mat-radio-button",7),R(16," Restricted "),G(17,"div"),R(18,' Users with "View restricted content" can access. '),H()(),G(19,"mat-radio-button",8),R(20," Restricted+ "),G(21,"div"),R(22,' Users with "View restricted+ content" can access. '),H()()()(),G(23,"mat-dialog-actions")(24,"button",9),M("click",
function(){return b.onNoClick()}),R(25," Cancel "),H(),G(26,"button",10),M("click",function(){return b.onSaveClick()}),R(27," Set "),H()());a&2&&(z(7),Df(" ",Otc(b)," "),z(1),F("rel",b.EXTERNAL_LINK_REL),gf("href",b.documentationLinks.getRestrictedAccessHelpLink(),Md),z(2),F("ngModel",b.severity),z(1),F("value",b.piiSeverity.NONE_DETECTED)("disabled",!b.canInteract()||LP(b.minimumSeverity,b.piiSeverity.NONE_DETECTED)),z(4),F("value",b.piiSeverity.PII)("disabled",!b.canInteract()||LP(b.minimumSeverity,
b.piiSeverity.PII)),z(4),F("value",b.piiSeverity.SPII)("disabled",!b.canInteract()||LP(b.minimumSeverity,b.piiSeverity.SPII)),z(7),F("disabled",!b.canInteract()))},dependencies:[uA,Jz,Yz,Zz,$z,xM,yM,Fw,Lw],styles:["h1[_ngcontent-%COMP%]{text-align:center}.restriction-radio[_ngcontent-%COMP%]{display:block;margin:10px;padding:4px;line-height:1.5em}.restriction-radio[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{color:#5f6368;color:var(--muted)}/*# sourceMappingURL=content_judgement_dialog.css.map */"]});var NP=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};NP.prototype.canInteract=function(){return 2!==this.piiRetention||this.acknowledgeToMatchIssueRetention};NP.prototype.onSaveClick=function(){this.dialogRef.close(1)};NP.prototype.onNoClick=function(){this.dialogRef.close(0)};
NP.\u0275fac=function(a){return new (a||NP)(C(Tz),C(nI),C(Vz))};
NP.\u0275cmp=Gc({type:NP,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&&(G(0,"h1",0),I(1,"mat-icon",1),G(2,"div"),Q(3,DLa,2,1,"span",2),Q(4,ELa,2,0,"span",2),H()(),G(5,"div",3),Q(6,FLa,8,1,"span",2),Q(7,GLa,3,2,"span",2),G(8,"span")(9,"a",4),R(10," Learn More "),H()()(),G(11,"div")(12,"span"),Q(13,HLa,2,1,"mat-checkbox",5),H()(),G(14,"div",6)(15,"button",7),M("click",function(){return b.onNoClick()}),R(16," Cancel "),H(),G(17,"button",8),M("click",
function(){return b.onSaveClick()}),R(18," Save "),H()());a&2&&(z(3),F("ngIf",2===b.piiRetention),z(1),F("ngIf",2!==b.piiRetention),z(2),F("ngIf",2===b.piiRetention),z(1),F("ngIf",2!==b.piiRetention),z(2),F("rel",b.EXTERNAL_LINK_REL),gf("href",as(),Md),z(4),F("ngIf",2===b.piiRetention),z(4),F("disabled",!b.canInteract()))},dependencies:[ew,uA,Jz,Yz,Zz,$z,vN,Fw,Lw],styles:["h1[_ngcontent-%COMP%]{text-align:center}.mat-dialog-content[_ngcontent-%COMP%]{overflow:inherit}/*# sourceMappingURL=update_retention_dialog.css.map */"]});var OP=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},Ptc=function(a,b){var c=b.issueId,d=b.newCommentId,e=b.newComment,g=b.newCommentFormattingMode,h=b.recaptchaToken,l,q;he(function(x){switch(x.nextAddress){case 1:l=a.editIssueService.savingState(c);if(!e.trim())return EF(a.butterBar,"New comment cannot be empty."),x.return();jJ(l,"commentEdit");
DF(a.butterBar,"Saving comment edit...",0);cjc(a.issueInteractionsTracking,c,{label:1===d?"description":"comment"});ie(x,2,3);return x.yield(a.issueCommentsService.update(c,d,e,g,h),5);case 5:DF(a.butterBar,"Comment edit successful.",4E3),qH(a.issueFetchResponseFridge,c),QE(a.eventsForIssueFridge,c,function(A){A.events=Xua(A.events,d,{formattedComment:void 0,unlinkifiedComment:e,formattingMode:g})}),a.eventsForIssueFridge.poke(c);case 3:je(x);kJ(l,"commentEdit");ke(x,0);break;case 2:q=le(x),IF(a.errorHandler,
q),x.jumpTo(3)}})};OP.\u0275fac=function(a){return new (a||OP)(u(GF),u(SE),u(oH),u(NH),u(XI),u(CF),u(mJ))};OP.\u0275prov=qc({token:OP,factory:OP.\u0275fac,providedIn:"root"});var Qtc=function(a,b,c){this.objectId=a;this.version=b;this.payload=c},Rtc=function(){},Stc=function(a){this.timestampMicros=a};ILa.prototype.reset=function(){this.currentMaxDelayMs_=this.initialMaxDelayMs_;this.inRetryMode_=!1};var Ttc=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 Zn=function(a){r.call(this,a)};U(Zn,r);var ao=[1,2,3,15];Zn.prototype.toObject=function(){return Utc(this)};var Utc=function(a){if(null!=a)return t(a),{isPublic:p(Ys(a,1,ao)),isPrivateToUser:p(Ys(a,2,ao)),privateUserGaiaIdForTest:p($s(a,3,ao)),isEnd:p(Ys(a,15,ao))}};var co=function(a){r.call(this,a)};U(co,r);var fo=[1,2,3,4,5,6,7,8,9,10,11,12];co.prototype.toObject=function(){return Vtc(this)};
var Vtc=function(a){if(null!=a)return t(a),{bytesDecreasing:Pb(qo(a,no(a,fo,5))),signedNumDecreasing:p(mo(a,no(a,fo,4))),stringDecreasing:p(po(a,3,fo)),numDecreasing:p(RLa(a,no(a,fo,6))),bytes:Pb(qo(a,no(a,fo,7))),signedNumIncreasing:p(mo(a,no(a,fo,2))),string:p(po(a,1,fo)),numIncreasing:p(RLa(a,no(a,fo,8))),doubleDecreasing:p(oo(a,9,fo)),doubleIncreasing:p(oo(a,10,fo)),timestampDecreasing:yt(Sj(a,Ch,11,fo)),timestampIncreasing:yt(Sj(a,Ch,12,fo))}};var bo=function(a){r.call(this,a)};U(bo,r);bo.repeatedFields_=[1];bo.prototype.toObject=function(){return PP(this)};var PP=function(a){if(null!=a)return t(a),{partsList:Kb(aj(a,co,1),Vtc)}};var Yn=function(a){r.call(this,a)};U(Yn,r);Yn.prototype.getName=function(){return po(this,1,QP)};Yn.prototype.setName=function(a){return $n(this,1,QP,a)};Yn.prototype.hasName=function(){return null!=po(this,1,QP)};Yn.prototype.getNameOrUndefined=function(){return dt(this,no(this,QP,1))};var QP=[1,2];Yn.prototype.toObject=function(){return Wtc(this)};var Wtc=function(a){if(null!=a)return t(a),{name:p(po(a,1,QP)),isEnd:p(Ys(a,2,QP))}};var Xtc=function(a){r.call(this,a)};U(Xtc,r);f=Xtc.prototype;f.getProject=function(){return Z(this,Yn,1)};f.setProject=function(a){Yi(this,Yn,1,a)};f.getOwner=function(){return Z(this,Zn,2)};f.setOwner=function(a){return Yi(this,Zn,2,a)};f.getPath=function(){return Z(this,bo,3)};f.setPath=function(a){return Yi(this,bo,3,a)};f.hasPath=function(){return Dj(this,bo,3)};f.toObject=function(){return Ytc(this)};
var Ytc=function(a){if(null!=a)return t(a),{project:Wtc(a.getProject()),owner:Utc(a.getOwner()),path:PP(a.getPath())}};var Ztc=function(a){r.call(this,a)};U(Ztc,r);f=Ztc.prototype;f.getProject=function(){return Z(this,Yn,1)};f.setProject=function(a){Yi(this,Yn,1,a)};f.getOwner=function(){return Z(this,Zn,2)};f.setOwner=function(a){return Yi(this,Zn,2,a)};f.getPrefix=function(){return Z(this,bo,3)};f.setPrefix=function(a){Yi(this,bo,3,a)};f.toObject=function(){return $tc(this)};var $tc=function(a){if(null!=a)return t(a),{project:Wtc(a.getProject()),owner:Utc(a.getOwner()),prefix:PP(a.getPrefix())}};var RP=function(a){r.call(this,a)};U(RP,r);f=RP.prototype;f.getVersion=function(){return Os(this,1)};f.getVersion_legacyNullable=function(){return Os(this,1)};f.setVersion=function(a){return n(this,1,a)};f.getVersionOrUndefined=function(){return bt(this,1)};f.toObject=function(){return auc(this)};var auc=function(a){if(null!=a)return t(a),{version:p(Os(a,1)),library:p(kr(a,2)),buildBaselineChangelist:p(m(a,3))}};var buc=function(a){r.call(this,a)};U(buc,r);f=buc.prototype;f.getProject=function(){return Z(this,Yn,3)};f.setProject=function(a){Yi(this,Yn,3,a)};f.getOwner=function(){return Z(this,Zn,4)};f.setOwner=function(a){return Yi(this,Zn,4,a)};f.toObject=function(){return cuc(this)};var cuc=function(a){if(null!=a)return t(a),{project:Wtc(a.getProject()),owner:Utc(a.getOwner()),minPath:PP(Z(a,bo,5)),maxPath:PP(Z(a,bo,6))}};var SP=function(a){r.call(this,a)};U(SP,r);f=SP.prototype;f.getHeader=function(){return Z(this,RP,4)};f.setHeader=function(a){return Yi(this,RP,4,a)};f.hasHeader=function(){return Dj(this,RP,4)};f.getPoint=function(){return Sj(this,Xtc,2,duc)};f.setPoint=function(a){ho(this,2,duc,a)};f.getPrefix=function(){return Sj(this,Ztc,6,duc)};f.setPrefix=function(a){ho(this,6,duc,a)};var duc=[2,3,6];SP.prototype.toObject=function(){return euc(this)};
var euc=function(a){if(null!=a)return t(a),{header:auc(a.getHeader()),startTimeMicros:p(m(a,1)),point:Ytc(a.getPoint()),range:cuc(Sj(a,buc,3,duc)),prefix:$tc(a.getPrefix()),monitoringTag:p(m(a,5)),startTimeChosenByPunctual:p(ar(a,8)),streamInitiationReason:p(kr(a,9))}};var fuc=function(a){r.call(this,a)};U(fuc,r);fuc.prototype.toObject=function(){if(null!=this){t(this);var a={watchRequest:euc(Z(this,SP,1))}}else a=void 0;return a};var guc=function(a){r.call(this,a)};U(guc,r);guc.prototype.setAffinitization=function(a){n(this,2,a)};guc.prototype.getAffinitizationOrUndefined=function(){return wr(this,2)};guc.prototype.toObject=function(){if(null!=this){t(this);var a={gsessionid:p(m(this,1)),affinitization:p(kr(this,2)),initialConnectionDelayMillis:p(Os(this,3))}}else a=void 0;return a};var huc=function(a){r.call(this,a)};U(huc,r);huc.prototype.toObject=function(){return iuc(this)};var iuc=function(a){if(null!=a)return t(a),{}};var juc=function(a){r.call(this,a)};U(juc,r);f=juc.prototype;f.getStreamId_legacyNullable=function(){return m(this,1)};f.setStreamId=function(a){n(this,1,a)};f.getClose=function(){return Sj(this,huc,3,kuc)};f.setClose=function(a){ho(this,3,kuc,a)};f.hasClose=function(){return Qj(this,huc,3,kuc)};f.setAffinitization=function(a){n(this,4,a)};f.getAffinitizationOrUndefined=function(){return wr(this,4)};var kuc=[2,3];juc.prototype.toObject=function(){return luc(this)};
var luc=function(a){if(null!=a)return t(a),{streamId:p(m(a,1)),open:euc(Sj(a,SP,2,kuc)),close:iuc(a.getClose()),affinitization:p(kr(a,4))}};var TP=function(a){r.call(this,a)};U(TP,r);TP.prototype.getRequestsList=function(){return aj(this,juc,1)};TP.prototype.setRequestsList=function(a){return dj(this,1,a)};TP.prototype.addAndReturnRequests=function(){return zb(this,1,juc)};TP.repeatedFields_=[1];TP.prototype.toObject=function(){if(null!=this){t(this);var a={requestsList:Kb(this.getRequestsList(),luc)}}else a=void 0;return a};var UP=function(a){r.call(this,a)};U(UP,r);UP.prototype.setAffinitization=function(a){n(this,4,a)};UP.prototype.getAffinitizationOrUndefined=function(){return wr(this,4)};UP.repeatedFields_=[3];UP.prototype.toObject=function(){return muc(this)};var muc=function(a){if(null!=a)return t(a),{int64SliceKey:p(m(a,1)),rangeSliceKey:Pb(qo(a,2)),behavior:p(kr(a,5)),weaverAddressesList:p(Ih(a,3)),affinitization:p(kr(a,4))}};var nuc=function(a){r.call(this,a)};U(nuc,r);nuc.repeatedFields_=[1];nuc.prototype.toObject=function(){return ouc(this)};var ouc=function(a){if(null!=a)return t(a),{sliceKeyHintsList:Kb(aj(a,UP,1),muc)}};var VP=function(a){r.call(this,a)};U(VP,r);VP.prototype.getCode=function(){return kr(this,1)};VP.prototype.getCode_legacyNullable=function(){return kr(this,1)};VP.prototype.setCode=function(a){return n(this,1,a)};VP.prototype.toObject=function(){return puc(this)};var puc=function(a){if(null!=a)return t(a),{code:p(kr(a,1)),reconnectHints:ouc(Z(a,nuc,2))}};var WP=function(a){r.call(this,a)};U(WP,r);WP.prototype.getReason=function(){return W(this,1,0)};WP.prototype.setReason=function(a){n(this,1,a)};WP.prototype.toObject=function(){return quc(this)};var quc=function(a){if(null!=a)return t(a),{reason:p(kr(a,1))}};rt[376010773]=Jb(376010773,{messageSetExtension:0},WP,quc);var ruc=function(a){r.call(this,a)};U(ruc,r);ruc.prototype.toObject=function(){return suc(this)};var suc=function(a){if(null!=a)return t(a),{timestampMicros:p(m(a,1))}};var tuc=function(a){r.call(this,a)};U(tuc,r);f=tuc.prototype;f.getPayload=function(){return qo(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 uuc(this)};
var uuc=function(a){if(null!=a)return t(a),{objectPath:PP(Z(a,bo,6)),payload:Pb(a.getPayload()),version:p(m(a,3)),changeTimeMicros:p(m(a,4))}};var vuc=function(a){r.call(this,a)};U(vuc,r);vuc.repeatedFields_=[1];vuc.prototype.toObject=function(){return wuc(this)};var wuc=function(a){if(null!=a)return t(a),{changesList:Kb(aj(a,tuc,1),uuc)}};var xuc=function(a){r.call(this,a)};U(xuc,r);xuc.prototype.getPayload=function(){return Z(this,WP,1)};xuc.prototype.toObject=function(){return yuc(this)};var yuc=function(a){if(null!=a)return t(a),{payload:quc(a.getPayload())}};var zuc=function(a){r.call(this,a)};U(zuc,r);zuc.prototype.toObject=function(){return Auc(this)};var Auc=function(a){if(null!=a)return t(a),{}};var XP=function(a){r.call(this,a)};U(XP,r);XP.prototype.getStart=function(){return Sj(this,zuc,1,YP)};XP.prototype.setStart=function(a){return ho(this,1,YP,a)};XP.prototype.getChanges=function(){return Sj(this,vuc,2,YP)};XP.prototype.hasChanges=function(){return Qj(this,vuc,2,YP)};var YP=[1,2,3,5];XP.prototype.toObject=function(){return Buc(this)};var Buc=function(a){if(null!=a)return t(a),{start:Auc(a.getStart()),changes:wuc(a.getChanges()),advance:suc(Sj(a,ruc,3,YP)),resync:yuc(Sj(a,xuc,5,YP))}};var ZP=function(a){r.call(this,a)};U(ZP,r);ZP.prototype.getStatus=function(){return Z(this,yu,1)};ZP.prototype.setStatus=function(a){return Yi(this,yu,1,a)};ZP.prototype.hasStatus=function(){return Dj(this,yu,1)};ZP.prototype.toObject=function(){return Cuc(this)};var Cuc=function(a){if(null!=a)return t(a),{status:dPb(a.getStatus())}};var Duc=function(a){r.call(this,a)};U(Duc,r);f=Duc.prototype;f.getStreamId_legacyNullable=function(){return m(this,1)};f.setStreamId=function(a){n(this,1,a)};f.getClose=function(){return Sj(this,ZP,3,Euc)};f.setClose=function(a){ho(this,3,Euc,a)};f.hasClose=function(){return Qj(this,ZP,3,Euc)};var Euc=[2,3];Duc.prototype.toObject=function(){return Fuc(this)};var Fuc=function(a){if(null!=a)return t(a),{streamId:p(m(a,1)),watchResponse:Buc(Sj(a,XP,2,Euc)),close:Cuc(a.getClose())}};var $P=function(a){r.call(this,a)};U($P,r);$P.prototype.getStatus=function(){return Z(this,VP,2)};$P.prototype.setStatus=function(a){return Yi(this,VP,2,a)};$P.prototype.hasStatus=function(){return Dj(this,VP,2)};$P.repeatedFields_=[1];$P.prototype.toObject=function(){if(null!=this){t(this);var a={responsesList:Kb(aj(this,Duc,1),Fuc),status:puc(this.getStatus())}}else a=void 0;return a};var Guc=function(){DA.call(this,"d")};ts(Guc,DA);var Huc=function(){DA.call(this,"c")};ts(Huc,DA);var Iuc=function(a,b){this.path=a;this.authMethod=b},Juc=function(a,b,c,d,e){this.channelMessageHandler=a;this.channelStatusHandler=b;this.config=c;this.channelCreator=d;this.state=0;this.channelHandler=new bq;this.channel=this.createWebChannel(e)};
Juc.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 Kuc(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 $P(c[0]))});this.channelHandler.listen(a,"c",function(c){b.channelStatusHandler.onError(c,(new Kuc(b.channel.channel_)).getLastStatusCode());0!==c.status&&(b.state=2)});return a};
Juc.prototype.open=function(){0===this.state&&(this.state=1,this.channel.open())};Juc.prototype.close=function(){2!==this.state&&this.channel.close()};Juc.prototype.send=function(a){a=a.serialize();this.channel.send(a)};var Luc,Muc=(new RP).setVersion(7);Luc=n(Muc,2,5);var io=function(a){this.rep=a};io.prototype.equals=function(a){return this.rep===a.rep};var Nuc=function(){var a=8;a=void 0===a?1:a;this.max=8;this.lastAddedTimestampMs=Date.now();this.tokens=a};Nuc.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 go=function(a,b){this.seconds=a;this.nanos=b},OLa=function(a){var b=new Ch;b.setSeconds(a.seconds);b.setNanos(a.nanos);return b},TLa=function(a){try{var b=a.getSeconds(),c=a.getNanos();if(-62135596800>b)throw Error("kd`"+b);if(253402300800<=b)throw Error("ld`"+b);if(0>c)throw Error("md`"+c);if(1E9<=c)throw Error("nd`"+c);if(!Number.isInteger(b))throw Error("od`"+b);if(!Number.isInteger(c))throw Error("pd`"+c);return new go(b,c)}catch(d){return null}};
go.prototype.equals=function(a){return this.seconds===a.seconds&&this.nanos===a.nanos};var eo=function(a,b){this.low_=a|0;this.high_=b|0};f=eo.prototype;f.toNumber=function(){return 4294967296*this.high_+(this.low_>>>0)};f.isSafeInteger=function(){var a=this.high_>>21;return 0==a||-1==a&&!(0==this.low_&&-2097152==this.high_)};
f.toString=function(a){a=a||10;if(2>a||36<a)throw Error("qd`"+a);if(this.isSafeInteger()){var b=this.toNumber();return 10==a?""+b:b.toString(a)}b=14-(a>>2);var c=Math.pow(a,b),d=aQ(c,c/4294967296);c=bQ(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 cQ=function(a){var b=~a.low_+1|0;return aQ(b,~a.high_+!b|0)};
eo.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 aQ((h&65535)<<16|a&65535,((d>>>16)+(b+e)&65535)<<16|d&65535)};eo.prototype.subtract=function(a){return this.add(cQ(a))};
eo.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 x=(q>>>16)+d*a;var A=x>>>16;x=(x&65535)+e*l;A+=x>>>16;A+=c*a;var B=A>>>16;A=(A&65535)+d*l;B+=A>>>16;A=(A&65535)+e*h;B=B+(A>>>16)+(b*a+c*l+d*h+e*g)&65535;return aQ((x&65535)<<16|q&65535,B<<16|A&65535)};
var bQ=function(a,b){if(b.isZero())throw Error("rd");if(a.isNegative()){if(a.equals(Ouc)){if(b.equals(Puc)||b.equals(Quc))return Ouc;if(b.equals(Ouc))return Puc;var c=a.high_;c=aQ(a.low_>>>1|c<<31,c>>1);c=bQ(c,b).shiftLeft(1);if(c.equals(dQ))return b.isNegative()?Puc:Quc;a=a.subtract(b.multiply(c));return c.add(bQ(a,b))}return b.isNegative()?bQ(cQ(a),cQ(b)):cQ(bQ(cQ(a),b))}if(a.isZero())return dQ;if(b.isNegative())return b.equals(Ouc)?dQ:cQ(bQ(a,cQ(b)));for(var d=dQ;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=eQ(c),h=g.multiply(b);h.isNegative()||0<h.compare(a);)c-=e,g=eQ(c),h=g.multiply(b);g.isZero()&&(g=Puc);d=d.add(g);a=a.subtract(h)}return d};f=eo.prototype;f.not=function(){return aQ(~this.low_,~this.high_)};f.and=function(a){return aQ(this.low_&a.low_,this.high_&a.high_)};f.or=function(a){return aQ(this.low_|a.low_,this.high_|a.high_)};
f.xor=function(a){return aQ(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?aQ(b<<a,this.high_<<a|b>>>32-a):aQ(0,b<<a-32)};
var eQ=function(a){return 0<a?0x7fffffffffffffff<=a?Ruc:new eo(a,a/4294967296):0>a?-0x7fffffffffffffff>=a?Ouc:cQ(new eo(-a,-a/4294967296)):dQ},aQ=function(a,b){return new eo(a,b)},lo=function(a,b){if("-"==a.charAt(0))return cQ(lo(a.substring(1),b));var c=parseInt(a,b||10);if(9007199254740991>=c)return new eo(c%4294967296|0,c/4294967296|0);if(0==a.length)throw Error("sd");if(0<=a.indexOf("-"))throw Error("td`"+a);b=b||10;if(2>b||36<b)throw Error("qd`"+b);c=eQ(Math.pow(b,8));for(var d=dQ,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(eQ(Math.pow(b,g))).add(eQ(h)):(d=d.multiply(c),d=d.add(eQ(h)))}return d},dQ=aQ(0,0),Puc=aQ(1,0),Quc=aQ(-1,-1),Ruc=aQ(4294967295,2147483647),Ouc=aQ(0,2147483648);var Rn=function(a,b){this.value=a;this.isDecreasing=!!b};
Rn.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 eo)b=a.value instanceof eo?this.value.equals(a.value):!1;else if(this.value instanceof io)b=a.value instanceof io?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 go?a.value instanceof go?this.value.equals(a.value):!1:!1;return b};var ko=function(a,b){this.parts=a;this.isPrivate=b},QLa=function(){for(var a=[],b=k(Pc.apply(0,arguments)),c=b.next();!c.done;c=b.next())c=c.value,c instanceof Rn?a.push(c):a.push(new Rn(c));return new ko(a,!1)};ko.prototype.isPrivateToUser=function(){return this.isPrivate};
ko.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 Suc=function(){},Vn=function(a,b){this.apiKey=a;this.authUser=b};Vn.prototype.getHeaders=function(){var a={},b;(b=vo([]))?(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};Vn.prototype.getQueryParameters=function(){return{key:this.apiKey}};Vn.prototype.domainType=function(){return 0};Vn.prototype.usesCredentialedRequests=function(){return!0};var Tn=function(a){this.oauthTokens=a};
Tn.prototype.getHeaders=function(){var a={};a.Authorization="OAuth "+this.oauthTokens.getValue();return a};Tn.prototype.getQueryParameters=function(){return{}};Tn.prototype.domainType=function(){return 1};Tn.prototype.usesCredentialedRequests=function(){return!0};var Un=function(a,b){this.apiKey=a;this.appAuthTokens=b};Un.prototype.getHeaders=function(){return{}};Un.prototype.getQueryParameters=function(){return{key:this.apiKey}};Un.prototype.domainType=function(){return 1};
Un.prototype.usesCredentialedRequests=function(){return!1};var Tuc={send:function(a,b,c,d,e,g,h){qh(a,b,c,d,e,g,h)}};var Uuc=function(a,b,c){this.code=a;this.message=b;this.status=c},Vuc=function(a){var b=void 0===b?Tuc:b;this.baseUri=a;this.xhrIo=b};Vuc.prototype.post=function(a,b,c,d){d=void 0===d?{}:d;return this.request("POST",a,b,c,d)};
Vuc.prototype.request=function(a,b,c,d,e){var g=this,h=new Do(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;uC(h,l,q)}}var x={"Content-type":"application/json+protobuf"};Object.assign(x,e.extraHeaders);var A=c.serialize();return new Promise(function(B,K){var N;g.xhrIo.send(h,function(){var P=-1===this.getStatus()?void 0:this.getStatus();if(this.isSuccess())try{B(Nca(d,this.getResponseText()))}catch(Y){K(new Uuc(4,
"Failed to deserialize response from "+h+": "+this.getResponseText(),P))}else K(new Uuc(this.getLastErrorCode(),this.getLastError(),P))},a,A,x,null!=(N=e.timeoutMs)?N:2E4,e.withCredentials)})};var Wuc=function(a,b,c){BA.call(this);this.listener_=null!=c?a.bind(c):a;this.interval_=b;this.args_=null;this.shouldFire_=!1;this.pauseCount_=0;this.timer_=null};U(Wuc,BA);f=Wuc.prototype;f.fire=function(a){this.args_=arguments;this.timer_||this.pauseCount_?this.shouldFire_=!0:this.doAction_()};f.stop=function(){this.timer_&&(Xn(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(){BA.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_=Wn(function(){return a.onTimer_()},this.interval_);var b=this.args_;this.args_=null;this.listener_.apply(null,b)};var Xuc=null,Yuc=function(){return Xuc=Xuc||new yo},Zuc=function(a){DA.call(this,"serverreachability",a)};ts(Zuc,DA);var $uc=function(a){var b=Yuc();b.dispatchEvent(new Zuc(b,a))},avc=function(a,b){DA.call(this,"statevent",a);this.stat=b};ts(avc,DA);var fQ=function(a){var b=Yuc();b.dispatchEvent(new avc(b,a))},bvc=function(a,b,c,d){DA.call(this,"timingevent",a);this.size=b;this.rtt=c;this.retries=d};ts(bvc,DA);
var cvc=function(a,b,c){var d=Yuc();d.dispatchEvent(new bvc(d,a,b,c))},dvc=function(a,b){if("function"!==typeof a)throw Error("vd");return ba.setTimeout(function(){a()},b)};var gQ=function(){this.redactEnabled_=!0};gQ.prototype.disableRedact=function(){this.redactEnabled_=!1};
var evc=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 x=l[q].split("=");if(1<x.length){var A=x[0];x=x[1];var B=A.split("_");h=2<=B.length&&"type"==B[1]?h+(A+"="+x+"&"):h+(A+"=redacted&")}}}else h=null;else h=g;return"XMLHTTP REQ ("+d+") [attempt "+e+"]: "+b+"\n"+c+"\n"+h})},fvc=function(a,b,c,d,e,g,h){a.info(function(){return"XMLHTTP RESP ("+d+") [ attempt "+e+"]: "+b+"\n"+c+"\n"+g+" "+h})},hQ=function(a,b,c,d){a.info(function(){return"XMLHTTP TEXT ("+
b+"): "+gvc(a,c)+(d?" "+d:"")})},hvc=function(a,b){a.info(function(){return"TIMEOUT: "+b})};gQ.prototype.debug=function(){};gQ.prototype.info=function(){};gQ.prototype.warning=function(){};
var gvc=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 Y1b(c)}catch(q){return a.debug("Exception parsing expected JS array - probably was not JS"),b}};var iQ=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 bq(this);this.timeout_=45E3;a=fp?125:void 0;this.pollingTimer_=new XA(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 ivc},ivc=function(){this.textDecoder=null;this.responseBuffer="";this.responseArrivedForFetch=!1},jvc=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"}},
kvc={},lvc={};iQ.prototype.setExtraHeaders=function(a){this.extraHeaders_=a};iQ.prototype.setTimeout=function(a){this.timeout_=a};iQ.prototype.setReadyStateChangeThrottle=function(a){this.readyStateChangeThrottleMs_=a};iQ.prototype.getPendingMessages=function(){return this.pendingMessages_};
var nvc=function(a,b,c){a.type_=1;a.baseUri_=P7b(b.clone());a.postData_=c;a.decodeChunks_=!0;mvc(a,null)},mvc=function(a,b){a.requestStartTime_=Date.now();ovc(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 ivc;a.xmlHttp_=pvc(a.channel_,c?b:null,!a.postData_);0<a.readyStateChangeThrottleMs_&&(a.readyStateChangeThrottle_=new Wuc(rs(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));$uc(1);evc(a.channelDebug_,a.verb_,a.requestUri_,a.rid_,a.retryId_,a.postData_)};
iQ.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)};iQ.prototype.xmlHttpHandler_=function(a){try{a==this.xmlHttp_?qvc(this):this.channelDebug_.warning("Called back with an unexpected xmlhttp")}catch(b){this.channelDebug_.debug("Failed call to OnXmlHttpReadyStateChanged_"),rvc(this)}finally{}};
var qvc=function(a){var b=a.xmlHttp_.getReadyState(),c=a.xmlHttp_.getLastErrorCode(),d=a.xmlHttp_.getStatus();if(!(3>b||3==b&&!fp&&!rvc(a))){a.cancelled_||4!=b||7==c||(8==c||0>=d?$uc(3):$uc(2));svc(a);var e=a.xmlHttp_.getStatus();a.lastStatusCode_=e;c=tvc(a);rvc(a)||a.channelDebug_.debug(function(){return"No response text for uri "+a.requestUri_+" status "+e});a.successful_=200==e;fvc(a.channelDebug_,a.verb_,a.requestUri_,a.rid_,a.retryId_,b,e);if(a.successful_){if(a.decodeInitialResponse_&&!a.initialResponseDecoded_)if(d=
uvc(a))hQ(a.channelDebug_,a.rid_,d,"Initial handshake response via X-HTTP-Initial-Response"),a.initialResponseDecoded_=!0,vvc(a,d);else{a.successful_=!1;a.lastError_=3;fQ(12);a.channelDebug_.warning("XMLHTTP Missing X_HTTP_INITIAL_RESPONSE ("+a.rid_+")");jQ(a);wvc(a);return}a.decodeChunks_?(xvc(a,b,c),fp&&a.successful_&&3==b&&yvc(a)):(hQ(a.channelDebug_,a.rid_,c,null),vvc(a,c));4==b&&jQ(a);a.successful_&&!a.cancelled_&&(4==b?zvc(a.channel_,a):(a.successful_=!1,ovc(a)))}else a.xmlHttp_.getResponseHeaders(),
400==e&&0<c.indexOf("Unknown SID")?(a.lastError_=3,fQ(12),a.channelDebug_.warning("XMLHTTP Unknown SID ("+a.rid_+")")):(a.lastError_=0,fQ(13),a.channelDebug_.warning("XMLHTTP Bad status "+e+" ("+a.rid_+")")),jQ(a),wvc(a)}},uvc=function(a){return a.xmlHttp_&&(a=sh(a.xmlHttp_,"X-HTTP-Initial-Response"))&&!Bk(a)?a:null},tvc=function(a){if(!Avc(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 jQ(a),wvc(a),"";a.fetchResponseState_.textDecoder=new ba.TextDecoder}for(var g=0;g<d;g++)a.fetchResponseState_.responseArrivedForFetch=!0,c+=a.fetchResponseState_.textDecoder.decode(b[g],{stream:e&&g==d-1});b.splice(0,d);a.fetchResponseState_.responseBuffer+=c;a.xmlHttpChunkStart_=0;return a.fetchResponseState_.responseBuffer},rvc=function(a){return a.xmlHttp_?a.fetchResponseState_.responseArrivedForFetch?!0:!(!a.xmlHttp_.getResponseText()&&!a.xmlHttp_.getResponse()):!1},
Avc=function(a){return a.xmlHttp_?"GET"==a.verb_&&2!=a.type_&&a.channel_.usesFetchStreams_:!1},xvc=function(a,b,c){for(var d=!0,e;!a.cancelled_&&a.xmlHttpChunkStart_<c.length;)if(e=Bvc(a,c),e==lvc){4==b&&(a.lastError_=4,fQ(14),d=!1);hQ(a.channelDebug_,a.rid_,null,"[Incomplete Response]");break}else if(e==kvc){a.lastError_=4;fQ(15);hQ(a.channelDebug_,a.rid_,c,"[Invalid Chunk]");d=!1;break}else hQ(a.channelDebug_,a.rid_,e,null),vvc(a,e);Avc(a)&&e!=lvc&&e!=kvc&&(a.fetchResponseState_.responseBuffer=
"",a.xmlHttpChunkStart_=0);4!=b||0!=c.length||a.fetchResponseState_.responseArrivedForFetch||(a.lastError_=1,fQ(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),Cvc(b),b.bpDetectionDone_=!0,fQ(11))):(hQ(a.channelDebug_,a.rid_,c,"[Invalid Chunked Response]"),jQ(a),wvc(a))};
iQ.prototype.pollResponse_=function(){if(this.xmlHttp_){var a=this.xmlHttp_.getReadyState(),b=this.xmlHttp_.getResponseText();this.xmlHttpChunkStart_<b.length&&(svc(this),xvc(this,a,b),this.successful_&&4!=a&&ovc(this))}};
var yvc=function(a){a.eventHandler_.listen(a.pollingTimer_,"tick",a.pollResponse_);a.pollingTimer_.start()},Bvc=function(a,b){var c=a.xmlHttpChunkStart_,d=b.indexOf("\n",c);if(-1==d)return lvc;c=Number(b.substring(c,d));if(isNaN(c))return kvc;d+=1;if(d+c>b.length)return lvc;b=b.slice(d,d+c);a.xmlHttpChunkStart_=d+c;return b};iQ.prototype.cancel=function(){this.cancelled_=!0;jQ(this)};
var ovc=function(a){a.watchDogTimeoutTime_=Date.now()+a.timeout_;Dvc(a,a.timeout_)},Dvc=function(a,b){if(null!=a.watchDogTimerId_)throw Error("wd");a.watchDogTimerId_=dvc(rs(a.onWatchDogTimeout_,a),b)},svc=function(a){a.watchDogTimerId_&&(ba.clearTimeout(a.watchDogTimerId_),a.watchDogTimerId_=null)};
iQ.prototype.onWatchDogTimeout_=function(){this.watchDogTimerId_=null;var a=Date.now();0<=a-this.watchDogTimeoutTime_?(hvc(this.channelDebug_,this.requestUri_),2!=this.type_&&($uc(3),fQ(17)),jQ(this),this.lastError_=2,wvc(this)):(this.channelDebug_.warning("WatchDog timer called too early"),Dvc(this,this.watchDogTimeoutTime_-a))};
var wvc=function(a){a.channel_.isClosed()||a.cancelled_||zvc(a.channel_,a)},jQ=function(a){svc(a);ph(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()}};iQ.prototype.getLastError=function(){return this.lastError_};iQ.prototype.getLastStatusCode=function(){return this.lastStatusCode_};iQ.prototype.getRequestId=function(){return this.rid_};iQ.prototype.getXhr=function(){return this.xmlHttp_};
var vvc=function(a,b){try{var c=a.channel_;if(0!=c.state_&&(c.backChannelRequest_==a||c.forwardChannelRequestPool_.hasRequest(a)))if(!a.initialResponseDecoded_&&c.forwardChannelRequestPool_.hasRequest(a)&&3==c.state_){try{var d=c.wireCodec_.parser_.parse(b)}catch(ma){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_)Evc(c),Fvc(c);else break a;else c.channelDebug_.warning("We do not have a BackChannel established");Gvc(c);fQ(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_=dvc(rs(c.onBackChannelDead_,c),6E3))}}if(1>=c.forwardChannelRequestPool_.getRequestCount()&&
c.forwardChannelFlushedCallback_){try{c.forwardChannelFlushedCallback_()}catch(ma){}c.forwardChannelFlushedCallback_=void 0}}else c.channelDebug_.debug("Bad POST response data returned"),kQ(c,11)}else if((a.initialResponseDecoded_||c.backChannelRequest_==a)&&Evc(c),!Bk(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 x=l[4];null!=x&&(c.serverVersion_=x,c.channelDebug_.info("SVER="+c.serverVersion_));var A=l[5];null!=A&&"number"===typeof A&&0<A&&(h=1.5*A,c.backChannelRequestTimeoutMs_=h,c.channelDebug_.info("backChannelRequestTimeoutMs_="+h));h=c;var B=a.getXhr();if(B){var K=sh(B,"X-Client-Wire-Protocol");if(K){var N=h.forwardChannelRequestPool_;b=K;!N.requestPool_&&(fa(b,"spdy")||fa(b,"quic")||fa(b,"h2"))&&(N.maxSize_=N.maxPoolSizeConfigured_,N.requestPool_=new Set,N.request_&&(N.addRequest(N.request_),
N.request_=null))}if(h.httpSessionIdParam_){var P=sh(B,"X-HTTP-Session-Id");P?(h.httpSessionId_=P,uC(h.forwardChannelUri_,h.httpSessionIdParam_,P)):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 Y=d=h,X=Hvc(Y,Y.supportsCrossDomainXhrs_?h.hostPrefix_:null,h.path_);Y.channelDebug_.debug("GetBackChannelUri: "+
X);d.backChannelUri_=X;if(b.initialResponseDecoded_){h.channelDebug_.debug("Upgrade the handshake request to a backchannel.");Ivc(h.forwardChannelRequestPool_,b);d=b;var ka=h.backChannelRequestTimeoutMs_;ka&&d.setTimeout(ka);d.watchDogTimerId_&&(svc(d),ovc(d));h.backChannelRequest_=b}else Jvc(h);0<c.outgoingMaps_.length&&Kvc(c)}else"stop"!=l[0]&&"close"!=l[0]||kQ(c,7);else 3==c.state_&&("stop"==l[0]||"close"==l[0]?"stop"==l[0]?kQ(c,7):c.disconnect():"noop"!=l[0]&&c.handler_&&c.handler_.channelHandleArray(l),
c.backChannelRetryCount_=0)}$uc(4)}catch(ma){}};var Lvc=function(a,b){this.mapId=a;this.map=b;this.context=null};var lQ=function(a){this.maxPoolSizeConfigured_=a||10;ba.PerformanceNavigationTiming?(a=ba.performance.getEntriesByType("navigation"),a=0<a.length&&("hq"==a[0].nextHopProtocol||"h2"==a[0].nextHopProtocol)):a=!!(ba.chrome&&ba.chrome.loadTimes&&ba.chrome.loadTimes()&&ba.chrome.loadTimes().wasFetchedViaSpdy);this.maxSize_=a?this.maxPoolSizeConfigured_:1;this.requestPool_=null;1<this.maxSize_&&(this.requestPool_=new Set);this.request_=null;this.pendingMessages_=[]},Mvc=function(a){return a.request_?!0:
a.requestPool_?a.requestPool_.size>=a.maxSize_:!1};lQ.prototype.getRequestCount=function(){return this.request_?1:this.requestPool_?this.requestPool_.size:0};lQ.prototype.hasRequest=function(a){return this.request_?this.request_==a:this.requestPool_?this.requestPool_.has(a):!1};lQ.prototype.addRequest=function(a){this.requestPool_?this.requestPool_.add(a):this.request_=a};var Ivc=function(a,b){a.request_&&a.request_==b?a.request_=null:a.requestPool_&&a.requestPool_.has(b)&&a.requestPool_.delete(b)};
lQ.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()}};
lQ.prototype.getPendingMessages=function(){if(null!=this.request_)return this.pendingMessages_.concat(this.request_.getPendingMessages());if(null!=this.requestPool_&&0!==this.requestPool_.size){for(var a=this.pendingMessages_,b=k(this.requestPool_.values()),c=b.next();!c.done;c=b.next())a=a.concat(c.value.getPendingMessages());return a}return ta(this.pendingMessages_)};var Nvc=function(a,b){a.pendingMessages_=a.pendingMessages_.concat(b)};var Pvc=function(a,b){var c=new gQ;c.debug("TestLoadImage: loading "+a);if(ba.Image){var d=new Image;d.onload=ss(Ovc,c,d,"TestLoadImage: loaded",!0,b);d.onerror=ss(Ovc,c,d,"TestLoadImage: error",!1,b);d.onabort=ss(Ovc,c,d,"TestLoadImage: abort",!1,b);d.ontimeout=ss(Ovc,c,d,"TestLoadImage: timeout",!1,b);ba.setTimeout(function(){if(d.ontimeout)d.ontimeout()},1E4);d.src=a}else b(!1)},Ovc=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 Qvc=function(){this.replacer_=void 0};Qvc.prototype.stringify=function(a){return ba.JSON.stringify(a,this.replacer_)};Qvc.prototype.parse=function(a){return ba.JSON.parse(a,void 0)};var Rvc=function(){this.parser_=new Qvc},Svc=function(a,b,c){var d=c||"";try{F7b(a,function(e,g){var h=e;va(e)&&(h=Y1b(e));b.push(d+g+"="+encodeURIComponent(h))})}catch(e){throw b.push(d+"type="+encodeURIComponent("_badmap")),e;}};var Tvc=function(a,b,c){return c&&c.internalChannelParams?c.internalChannelParams[a]||b:b},mQ=function(a){this.clientVersion_=22;this.serverVersion_=0;this.outgoingMaps_=[];this.channelDebug_=new gQ;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_=Tvc("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_=Tvc("baseRetryDelayMs",5E3,a);this.retryDelaySeedMs_=Tvc("retryDelaySeedMs",1E4,a);this.forwardChannelMaxRetries_=Tvc("forwardChannelMaxRetries",2,a);this.forwardChannelRequestTimeoutMs_=
Tvc("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 lQ(a&&a.concurrentRequestLimit);this.wireCodec_=new Rvc;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};mQ.prototype.channelVersion_=8;mQ.prototype.state_=1;
mQ.prototype.connect=function(a,b,c,d){this.channelDebug_.debug("connect()");fQ(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=Hvc(this,null,this.path_);this.channelDebug_.debug("GetForwardChannelUri: "+a);this.forwardChannelUri_=a;Kvc(this)};
mQ.prototype.disconnect=function(){this.channelDebug_.debug("disconnect()");Uvc(this);if(3==this.state_){var a=this.nextRid_++,b=this.forwardChannelUri_.clone();uC(b,"SID",this.sid_);uC(b,"RID",a);uC(b,"TYPE","terminate");Vvc(this,b);a=new iQ(this,this.channelDebug_,this.sid_,a);a.type_=2;a.baseUri_=P7b(b.clone());b=!1;if(ba.navigator&&ba.navigator.sendBeacon)try{b=ba.navigator.sendBeacon(a.baseUri_.toString(),"")}catch(c){}!b&&ba.Image&&((new Image).src=a.baseUri_,b=!0);b||(a.xmlHttp_=pvc(a.channel_,
null),a.xmlHttp_.send(a.baseUri_));a.requestStartTime_=Date.now();ovc(a)}Wvc(this)};var Fvc=function(a){a.backChannelRequest_&&(Cvc(a),a.backChannelRequest_.cancel(),a.backChannelRequest_=null)},Uvc=function(a){Fvc(a);a.backChannelTimerId_&&(ba.clearTimeout(a.backChannelTimerId_),a.backChannelTimerId_=null);Evc(a);a.forwardChannelRequestPool_.cancel();a.forwardChannelTimerId_&&("number"===typeof a.forwardChannelTimerId_&&ba.clearTimeout(a.forwardChannelTimerId_),a.forwardChannelTimerId_=null)};
f=mQ.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 Kvc=function(a){Mvc(a.forwardChannelRequestPool_)||a.forwardChannelTimerId_||(a.forwardChannelTimerId_=!0,TA(a.onStartForwardChannelTimer_,a),a.forwardChannelRetryCount_=0)},Yvc=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_=dvc(rs(a.onStartForwardChannelTimer_,a,b),Xvc(a,a.forwardChannelRetryCount_));a.forwardChannelRetryCount_++;return!0};
mQ.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 iQ(this,this.channelDebug_,"",a),c=this.extraHeaders_;this.initHeaders_&&(c?(c=Wb(c),Xca(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=Zvc(this,b,d);e=this.forwardChannelUri_.clone();uC(e,"RID",a);0<this.clientVersion_&&uC(e,"CVER",this.clientVersion_);this.httpSessionIdParam_&&
uC(e,"X-HTTP-Session-Id",this.httpSessionIdParam_);Vvc(this,e);c&&(this.encodeInitMessageHeaders_?d="headers="+encodeURIComponent(String(S7b(c)))+"&"+d:this.httpHeadersOverwriteParam_&&T7b(e,this.httpHeadersOverwriteParam_,c));this.forwardChannelRequestPool_.addRequest(b);this.blockingHandshake_&&uC(e,"TYPE","init");this.fastHandshake_?(uC(e,"$req",d),uC(e,"SID","null"),b.decodeInitialResponse_=!0,nvc(b,e,null)):nvc(b,e,d);this.state_=2}}else 3==this.state_&&(a?$vc(this,a):0==this.outgoingMaps_.length?
this.channelDebug_.debug("startForwardChannel_ returned: nothing to send"):Mvc(this.forwardChannelRequestPool_)||($vc(this),this.channelDebug_.debug("startForwardChannel_ finished, sent request")))};
var $vc=function(a,b){var c;b?c=b.getRequestId():c=a.nextRid_++;var d=a.forwardChannelUri_.clone();uC(d,"SID",a.sid_);uC(d,"RID",c);uC(d,"AID",a.lastArrayId_);Vvc(a,d);a.httpHeadersOverwriteParam_&&a.extraHeaders_&&T7b(d,a.httpHeadersOverwriteParam_,a.extraHeaders_);c=new iQ(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=Zvc(a,c,1E3);c.setTimeout(Math.round(.5*
a.forwardChannelRequestTimeoutMs_)+Math.round(.5*a.forwardChannelRequestTimeoutMs_*Math.random()));a.forwardChannelRequestPool_.addRequest(c);nvc(c,d,b)},Vvc=function(a,b){a.extraParams_&&Sb(a.extraParams_,function(c,d){uC(b,d,c)});a.handler_&&F7b({},function(c,d){uC(b,d,c)})},Zvc=function(a,b,c){c=Math.min(a.outgoingMaps_.length,c);var d=a.handler_?rs(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 x=e[q].mapId,A=e[q].map;x-=g;if(0>x)g=Math.max(0,e[q].mapId-100),l=!1;else try{Svc(A,h,"req"+x+"_")}catch(B){d&&d(A)}}if(l){d=h.join("&");break a}}a=a.outgoingMaps_.splice(0,c);b.pendingMessages_=a;return d},Jvc=function(a){a.backChannelRequest_||a.backChannelTimerId_||(a.backChannelAttemptId_=1,TA(a.onStartBackChannelTimer_,a),a.backChannelRetryCount_=0)},Gvc=function(a){if(a.backChannelRequest_||a.backChannelTimerId_||3<=a.backChannelRetryCount_)return!1;a.channelDebug_.debug("Going to retry GET");
a.backChannelAttemptId_++;a.backChannelTimerId_=dvc(rs(a.onStartBackChannelTimer_,a),Xvc(a,a.backChannelRetryCount_));a.backChannelRetryCount_++;return!0};
mQ.prototype.onStartBackChannelTimer_=function(){this.backChannelTimerId_=null;awc(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_=dvc(rs(this.onBpDetectionTimer_,this),a)}};
mQ.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;fQ(10);Fvc(this);awc(this)}else this.channelDebug_.warning("Invalid operation.")};
var Cvc=function(a){null!=a.bpDetectionTimerId_&&(a.channelDebug_.debug("Cancel the BP detection timer."),ba.clearTimeout(a.bpDetectionTimerId_),a.bpDetectionTimerId_=null)},awc=function(a){a.channelDebug_.debug("Creating new HttpRequest");a.backChannelRequest_=new iQ(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();uC(b,"RID","rpc");uC(b,"SID",a.sid_);uC(b,"AID",a.lastArrayId_);uC(b,"CI",a.enableStreaming_?"0":"1");!a.enableStreaming_&&a.longPollingTimeout_&&uC(b,"TO",a.longPollingTimeout_);uC(b,"TYPE","xmlhttp");Vvc(a,b);a.httpHeadersOverwriteParam_&&a.extraHeaders_&&T7b(b,a.httpHeadersOverwriteParam_,a.extraHeaders_);a.backChannelRequestTimeoutMs_&&a.backChannelRequest_.setTimeout(a.backChannelRequestTimeoutMs_);var c=a.backChannelRequest_,d=a.hostPrefix_;c.type_=1;c.baseUri_=P7b(b.clone());
c.postData_=null;c.decodeChunks_=!0;mvc(c,d);a.channelDebug_.debug("New Request created")};mQ.prototype.correctHostPrefix=function(a){return this.handler_?this.handler_.correctHostPrefix(a):a};mQ.prototype.onBackChannelDead_=function(){null!=this.deadBackChannelTimerId_&&(this.deadBackChannelTimerId_=null,Fvc(this),Gvc(this),fQ(19))};
var Evc=function(a){null!=a.deadBackChannelTimerId_&&(ba.clearTimeout(a.deadBackChannelTimerId_),a.deadBackChannelTimerId_=null)},zvc=function(a,b){a.channelDebug_.debug("Request complete");var c=null;if(a.backChannelRequest_==b){Evc(a);Cvc(a);a.backChannelRequest_=null;var d=2}else if(a.forwardChannelRequestPool_.hasRequest(b))c=b.getPendingMessages(),Ivc(a.forwardChannelRequestPool_,b),d=1;else return;if(0!=a.state_)if(b.successful_)1==d?(cvc(b.postData_?b.postData_.length:0,Date.now()-b.requestStartTime_,
a.forwardChannelRetryCount_),Kvc(a)):Jvc(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: "+jvc(g,a.errorResponseStatusCode_)});if(1==d&&Yvc(a,b)||2==d&&Gvc(a))return;a.channelDebug_.debug("Exceeded max number of retries")}c&&0<c.length&&Nvc(a.forwardChannelRequestPool_,c);a.channelDebug_.debug("Error: HTTP request failed");
switch(g){case 1:kQ(a,5);break;case 4:kQ(a,10);break;case 3:kQ(a,6);break;default:kQ(a,2)}}},Xvc=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},kQ=function(a,b){a.channelDebug_.info("Error code "+b);if(2==b){var c=null;a.handler_&&(c=null);var d=rs(a.testNetworkCallback_,a);c||(c=new Do("//www.google.com/images/cleardot.gif"),ba.location&&"http"==ba.location.protocol||rC(c,"https"),P7b(c));
Pvc(c.toString(),d)}else fQ(2);a.onError_(b)};mQ.prototype.testNetworkCallback_=function(a){a?(this.channelDebug_.info("Successfully pinged google.com"),fQ(2)):(this.channelDebug_.info("Failed to ping google.com"),fQ(1))};mQ.prototype.onError_=function(a){this.channelDebug_.debug("HttpChannel: error - "+a);this.state_=0;this.handler_&&this.handler_.channelError(a);Wvc(this);Uvc(this)};
var Wvc=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}),Aaa(a.nonAckedMapsAtChannelClose_,b),Aaa(a.nonAckedMapsAtChannelClose_,a.outgoingMaps_),a.forwardChannelRequestPool_.pendingMessages_.length=0,ta(a.outgoingMaps_),a.outgoingMaps_.length=0;a.handler_.channelClosed()}},
Hvc=function(a,b,c){var d=wC(c);""!=d.getDomain()?(b&&d.setDomain(b+"."+d.getDomain()),d.setPort(d.getPort())):(d=ba.location,d=Q7b(d.protocol,null,b?b+"."+d.hostname:d.hostname,+d.port,c));b=a.httpSessionIdParam_;c=a.getHttpSessionId();b&&c&&uC(d,b,c);uC(d,"VER",a.channelVersion_);Vvc(a,d);return d},pvc=function(a,b,c){if(b&&!a.supportsCrossDomainXhrs_)throw Error("xd");b=c&&a.usesFetchStreams_&&!a.xmlHttpFactory_?new fB(new oC({streamBinaryChunks:!0})):new fB(a.xmlHttpFactory_);b.withCredentials_=
a.supportsCrossDomainXhrs_;return b};mQ.prototype.isActive=function(){return!!this.handler_&&this.handler_.isActive(this)};var bwc=function(){};f=bwc.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 cwc=function(){if(vs&&!(10<=Number(zs)))throw Error("yd");};cwc.prototype.createWebChannel=function(a,b){return new nQ(a,b)};
var nQ=function(a,b){yo.call(this);this.channel_=new mQ(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)&&!Bk(a)&&(this.channel_.httpHeadersOverwriteParam_=a);this.supportsCrossDomainXhr_=b&&b.supportsCrossDomainXhr||!1;this.sendRawJson_=b&&b.sendRawJson||!1;(b=b&&b.httpSessionIdParam)&&!Bk(b)&&(this.channel_.httpSessionIdParam_=b,Rca(this.messageUrlParams_,b)&&Vb(this.messageUrlParams_,b));this.channelHandler_=new oQ(this)};ts(nQ,yo);
nQ.prototype.open=function(){this.channel_.handler_=this.channelHandler_;this.supportsCrossDomainXhr_&&(this.channel_.supportsCrossDomainXhrs_=!0);this.channel_.connect(this.url_,this.messageUrlParams_||void 0)};nQ.prototype.close=function(){this.channel_.disconnect()};nQ.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__=Y1b(a),a=c);b.outgoingMaps_.push(new Lvc(b.nextMapId_++,a));3==b.state_&&Kvc(b)};
nQ.prototype.disposeInternal=function(){this.channel_.handler_=null;delete this.channelHandler_;this.channel_.disconnect();delete this.channel_;nQ.superClass_.disposeInternal.call(this)};var dwc=function(a){Guc.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)?Vca(b,this.metadataKey):b}else this.data=a};ts(dwc,Guc);
var ewc=function(a){Huc.call(this);this.status=1;this.errorCode=a};ts(ewc,Huc);var oQ=function(a){this.channel_=a};ts(oQ,bwc);oQ.prototype.channelOpened=function(){this.channel_.dispatchEvent("a")};oQ.prototype.channelHandleArray=function(a){this.channel_.dispatchEvent(new dwc(a))};oQ.prototype.channelError=function(a){this.channel_.dispatchEvent(new ewc(a))};oQ.prototype.channelClosed=function(){this.channel_.dispatchEvent("b")};var Kuc=function(a){this.channel_=a};
Kuc.prototype.getHttpSessionId=function(){return this.channel_.getHttpSessionId()};Kuc.prototype.commit=function(a){this.channel_.forwardChannelFlushedCallback_=a};Kuc.prototype.getLastStatusCode=function(){return this.channel_.getLastStatusCode()};var fwc=function(){this.changeList=[]};fwc.prototype.add=function(a){this.changeList.push(a)};
var gwc=function(a,b){this.authMethod=b;this.jspbClient=new Vuc(a)},hwc=function(a,b){var c,d,e,g,h;return he(function(l){if(1==l.nextAddress){c=new fuc;Yi(c,SP,1,b);var q=l.yield,x=a.jspbClient,A=x.post;var B=a.authMethod;B={queryParams:B.getQueryParameters(),extraHeaders:B.getHeaders(),withCredentials:B.usesCredentialedRequests()};return q.call(l,A.call(x,"/punctual/v1/chooseServer",c,guc,B),2)}d=l.yieldResult;e=m(d,1);if(null==e)throw Error("zd");return l.return({gsessionid:e,affinitization:null!=
(g=d.getAffinitizationOrUndefined())?g:0,initialConnectionDelayMillis:null!=(h=Os(d,3))?h:0})})},iwc=function(a,b,c){this.project=a;this.interestSet=b;this.knowledgeTimestamp=c;this.hasRecurred=!1;this.resyncMillis=Date.now()},pQ=function(a,b,c){this.defaultProject=a;this.channelDeps=c;this.causalStreams=new Map;this.limboStreams=new Map;this.nonCausalStreams=new Map;this.newStreamSubject=new E.Subject;this.streamNumber=0;this.rawStatus=new E.Subject;this.status=new E.BehaviorSubject(new mC);this.skipBackoff=
new Nuc;this.recentResyncs=[];this.hasConnected=!1;this.rawStatus.pipe(Pia(function(d){return 0===d.getCode()?Promise.resolve():new Promise(function(e){Wn(e,500)})})).subscribe(this.status);this.delayGenerator=new ILa;this.reconnectHint=b?b.pipe(Ce(function(){return E.NEVER}),Nia(E.NEVER)):E.NEVER;jwc(this)},kwc=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 Do}var h=g.clone().setPath("/punctual/multi-watch/channel"),
l=new Iuc(h.toString(),e);return{serverChooser:new gwc(g,e),channelCreator:function(q,x,A){q=new Juc(q,x,l,function(B,K){return(new cwc).createWebChannel(B,K)},A);q.open();return q}}});return new pQ(d,c,b)};pQ.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 lwc=function(a){for(var b=0,c=Date.now();b<a.recentResyncs.length;)c>=a.recentResyncs[b].resyncMillis+6E4?a.recentResyncs.splice(b):++b},mwc=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 ko&&d instanceof ko?c.equals(d):!1;return d})};pQ.prototype.onOpen=function(){var a=new mC;a.setCode(0);try{this.rawStatus.next(a)}catch(b){}};pQ.prototype.onClose=function(){this.channelState=void 0;jwc(this)};
pQ.prototype.onError=function(a,b){a=new mC;a.setCode(KLa(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 pwc=function(a,b,c){if(a.channelState){var d=nwc(c.project,c.interestSet);c instanceof owc&&(n(d,1,c.knowledgeTimestamp.toString()),Lj(d,8,c.knowledgeTimestampChosenByPunctual));n(d,9,c.streamInitiationReason);c.streamInitiationReason=0;c=new TP;var e=c.addAndReturnRequests();e.setStreamId(b.toString());ho(e,2,kuc,d);e.setAffinitization(a.channelState.affinitization);a.channelState.channel.send(c)}},nwc=function(a,b){var c=(new SP).setHeader(Luc);if(b instanceof ko){var d=new Xtc;null!=a&&d.setProject(MLa(a));
d.setOwner(NLa(b));d.setPath(PLa(b));c.setPoint(d)}else d=new Ztc,null!=a&&d.setProject(MLa(a)),d.setOwner(NLa(b.root)),d.setPrefix(PLa(b.root)),c.setPrefix(d);return c},qwc=function(a,b){var c=new TP,d=c.addAndReturnRequests();d.setStreamId(b.toString());d.setClose(new huc);a.channelState&&a.channelState.channel.send(c);a.causalStreams.delete(b);a.limboStreams.delete(b);a.nonCausalStreams.delete(b)},jwc=function(a){var b=Ttc(a.delayGenerator);LLa(b).pipe(lja(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){rwc(a,c.serverChooser).then(function(d){Wn(function(){a.hasConnected=!0;swc(a,c.channelCreator,d)},a.hasConnected?0:d.initialConnectionDelayMillis)},function(){jwc(a)})},function(c){var d=new mC;d.setCode(13);d.setMessage(c.toString());a.rawStatus.next(d)})})},rwc=function(a,b){var c,d,e,g,h,l;return he(function(q){if(1==q.nextAddress)return q.yield(twc(a),2);c=q.yieldResult;
d=k(c);e=d.next().value;g=d.next().value;h=e;l=g;return q.return(hwc(b,nwc(h,l)))})},twc=function(a){var b,c,d,e,g,h,l;return he(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(ASb(CSb(a.newStreamSubject).pipe(Je())),1)})},swc=function(a,b,c){a.channelState={channel:b(function(g){for(var h=k(aj(g,Duc,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 x=Sj(q,XP,2,Euc);if(x)switch(Ci(x,YP)){case 1:q=a;if(x=q.causalStreams.get(l)){try{x.observer.next(new Rtc)}catch(Y){}q.causalStreams.delete(l);q.limboStreams.set(l,x.start())}break;case 3:a:{if(q=Sj(x,ruc,3,YP))if(q=m(q,1)){var A=new Stc(lo(q));break a}A=void 0}if(A&&(q=a,x=l,l=A,(A=q.limboStreams.get(x))?(A=A.advance(l.timestampMicros),
q.limboStreams.delete(x),q.nonCausalStreams.set(x,A),q=A):q=q.nonCausalStreams.get(x),q)){x=q;A=l.timestampMicros;A>x.knowledgeTimestamp&&(x.knowledgeTimestamp=A,x.knowledgeTimestampChosenByPunctual=!0);try{q.observer.next(l)}catch(Y){}}break;case 2:l=a.nonCausalStreams.get(l)||a.limboStreams.get(l);if(!l)break;q=l.interestSet;if(A=x.getChanges()){x=new fwc;A=k(aj(A,tuc,1));for(var B=A.next();!B.done;B=A.next()){var K=B.value,N=Z(K,bo,6);B=K.getVersion_legacyNullable();if(N&&B){var P=void 0;K=null==
(P=K.getPayload())?void 0:SLa(P);P=null===K?void 0:K;(N=ULa(q,N))&&x.add(new Qtc(N,lo(B),P))}}q=x}else q=void 0;if(q)for(q=k(q.changeList),x=q.next();!x.done;x=q.next()){x=x.value;x=new Qtc(x.objectId,x.version,x.payload);try{l.observer.next(x)}catch(Y){}}break;case 5:if(q=a,l=q.causalStreams.get(l)||q.limboStreams.get(l)||q.nonCausalStreams.get(l)){l instanceof owc&&(lwc(q),(x=mwc(q,l))?(x.hasRecurred=!0,x.knowledgeTimestamp=l.knowledgeTimestamp,x.resyncMillis=Date.now()):q.recentResyncs.push(new iwc(l.project,
l.interestSet,l.knowledgeTimestamp)));try{l.observer.complete()}catch(Y){}}}}}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;pwc(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;Wn(function(){a.channelState===e&&a.delayGenerator.reset()},45E3)};
pQ.prototype.watch=function(a,b){var c=this;b=void 0===b?{}:b;return new E.Observable(function(d){var e=++c.streamNumber,g,h=null!=(g=b.projectOverride)?g:c.defaultProject;d=new uwc(d,h,a);c.causalStreams.set(e,d);c.newStreamSubject.next({});pwc(c,e,d);return function(){qwc(c,e)}})};
pQ.prototype.watchWithStartTime=function(a,b,c){var d=this;c=void 0===c?{}:c;return new E.Observable(function(e){var g=++d.streamNumber,h,l=null!=(h=c.projectOverride)?h:d.defaultProject,q=new owc(e,l,a,b,!1);lwc(d);if((e=mwc(d,q))&&(e.hasRecurred||0>=b.compare(e.knowledgeTimestamp))){var x=!0;Wn(function(){x&&q.observer.complete()},6E4);return function(){x=!1}}d.nonCausalStreams.set(g,q);d.newStreamSubject.next({});pwc(d,g,q);return function(){qwc(d,g)}})};
var uwc=function(a,b,c){this.observer=a;this.project=b;this.interestSet=c;this.streamInitiationReason=1};uwc.prototype.start=function(){return new vwc(this.observer,this.project,this.interestSet)};var vwc=function(a,b,c){this.observer=a;this.project=b;this.interestSet=c};vwc.prototype.advance=function(a){return new owc(this.observer,this.project,this.interestSet,a,!0)};
var owc=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 wwc={firstPartyUri:new Do("https://signaler-pa.clients6.google.com"),thirdPartyUri:new Do("https://signaler-pa.googleapis.com")},xwc={firstPartyUri:new Do("https://punctual-dev.corp.google.com"),thirdPartyUri:new Do("https://signaler-staging.sandbox.google.com")},ywc=new Map(Object.entries({prod:wwc,ytprod:{firstPartyUri:new Do("https://signaler-pa.youtube.com"),thirdPartyUri:new Do("https://signaler-pa.googleapis.com")},dev:xwc}));var zwc=function(a){this.projectPath=a;this.authParams=new Suc};zwc.prototype.setApiKey=function(a){this.authParams.apiKey=a;return this};
zwc.prototype.build=function(){var a=JLa(this.authParams),b=this.projectPath;if(!b.startsWith("/punctual/"))throw Error("Ad`"+b);var c=b.substring(10).split("/");if(2!==c.length)throw Error("Bd`"+b);b=k(c);c=b.next().value;b=b.next().value;if(c.startsWith("custom:"))c=new Do(decodeURIComponent(c.substring(7))),c={firstPartyUri:c,thirdPartyUri:c};else{var d=ywc.get(c);if(!d)throw Error("Cd`"+c);c=d}return kwc(c,a,this.reconnectHint,b)};var Awc={watch:function(){return(0,E.of)()},watchWithStartTime:function(){return(0,E.of)()},status:(0,E.of)()},qQ=function(a){this.activeSession=a;if(UD(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 zwc(b)).setApiKey(a).build()}else this.punctualClient=Awc},Bwc=function(a,b){return a.punctualClient.watch(QLa("new-comment-issue",b)).pipe(ye(function(c){return c instanceof Qtc}))};qQ.\u0275fac=function(a){return new (a||qQ)(u(gs))};qQ.\u0275prov=qc({token:qQ,factory:qQ.\u0275fac,providedIn:"root"});var rQ=function(a){this.punctualService=a;this.stream=new E.Subject;this.isPaused=!1;this.closeStream$=new E.Subject};rQ.prototype.resume=function(){this.isPaused=!1};var Cwc=function(a,b){a.issueId!==b&&(a.closeStream$.next(),a.stream=new E.Subject,a.issueId=b,a.resume(),a.watch(b).subscribe(a.stream));return a.stream};rQ.prototype.watch=function(a){var b=this;return Bwc(this.punctualService,a).pipe(ye(function(){var c=!b.isPaused;b.resume();return c}),De(1E3),Te(this.closeStream$))};
rQ.\u0275fac=function(a){return new (a||rQ)(u(qQ))};rQ.\u0275prov=qc({token:rQ,factory:rQ.\u0275fac,providedIn:"root"});var Dwc=function(a,b){this.displayText=a;this.value=b;this.enabled=!0;this.disabledReason=""};var sQ=function(a,b,c){WD.call(this);this.window=b;this.scrolledOnScreenService=c;this.onAutoResize=new Gv;this.el=a.nativeElement;this.cloneEl=this.el.cloneNode();this.cloneEl.removeAttribute("id");this.cloneEl.removeAttribute("name");this.cloneEl.removeAttribute("aria-label");this.cloneEl.setAttribute("aria-hidden","");this.cloneEl.removeAttribute("data-stable");this.cloneEl.setAttribute("data-cloned-for-auto-resize","");this.cloneEl.style.height="auto";this.cloneEl.style.visibility="hidden";this.cloneEl.style.position=
"absolute";this.cloneEl.style.left="0";this.cloneEl.style.top="0";this.cloneEl.style.zIndex="-9999";this.cloneEl.style.overflowY="hidden";this.window.document.body.appendChild(this.cloneEl)};U(sQ,WD);sQ.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.scrolledOnScreenService.getObservable(this.el,!0).subscribe(function(b){b&&Ewc(a,0)}));this.autoResize&&this.subscriptions.add(this.autoResize.subscribe(function(){Ewc(a,2)}))};sQ.prototype.onInput=function(){Ewc(this,1)};
var Ewc=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=rn(d.getPropertyValue("border-top-width"))+rn(d.getPropertyValue("padding-top"))+c.scrollHeight+rn(d.getPropertyValue("padding-bottom"))+rn(d.getPropertyValue("border-bottom-width"))+
24;Number.isNaN(c)||(e=rn(d.getPropertyValue("max-height")),d=rn(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})))};sQ.prototype.ngOnDestroy=function(){this.cloneEl.parentElement&&this.cloneEl.parentElement.removeChild(this.cloneEl);WD.prototype.ngOnDestroy.call(this)};sQ.\u0275fac=function(a){return new (a||sQ)(C(vd),C(VD),C(YN))};
sQ.\u0275dir=Kc({type:sQ,selectors:[["textarea","autoResize",""]],hostBindings:function(a,b){a&1&&M("input",function(){return b.onInput()})},inputs:{autoResize:"autoResize"},outputs:{onAutoResize:"onAutoResize"},features:[bf]});var tQ=function(a){this.$log=a;this.accessPolicyPrincipalToString=ti;this.stringToAccessPolicyPrincipal=Tqa},uQ=function(){return{admins:[],editors:[],appenders:[],readers:[],restrictedReaders:[],restrictedPlusReaders:[],inheritedAdmins:[],implicitAccess:null}},vQ=function(a){return{admins:ro(a.admins),editors:ro(a.editors),appenders:ro(a.appenders),readers:ro(a.readers),restrictedReaders:ro(a.restrictedReaders),restrictedPlusReaders:ro(a.restrictedPlusReaders),inheritedAdmins:ro(a.inheritedAdmins),
implicitAccess:a.implicitAccess||null}},wQ=function(a){return{admins:so(a.admins),editors:so(a.editors),appenders:so(a.appenders),readers:so(a.readers),restrictedReaders:so(a.restrictedReaders),restrictedPlusReaders:so(a.restrictedPlusReaders),implicitAccess:a.implicitAccess}};tQ.\u0275fac=function(a){return new (a||tQ)(u(FF))};tQ.\u0275prov=qc({token:tQ,factory:tQ.\u0275fac,providedIn:"root"});
var Fwc=new RegExp("ALIAS:("+Object.values({GOOGLERS_UNRESTRICTED:"googlers_unrestricted",GOOGLE_DOMAIN:"google_domain",PUBLIC_NON_GOOGLE:"public_non_google",PUBLIC:"public"}).join("|")+")");var xQ=function(a){this.activeSession=a;this.createIframe=MQb(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})},Gwc=function(a){var b,c;he(function(d){if(1==d.nextAddress){if(a.activeSession.isAnonymous()||!a.activeSession.getPassiveLoginIframeUrl())return d.return();ie(d,2);b=a.createIframe();return d.yield(new Promise(function(e,
g){var h=function(){try{var q,x,A;if(null==(q=b.contentWindow)?0:null==(x=q.location)?0:null==(A=x.href)?0:A.includes("/action/yes"))b.removeEventListener("load",h),clearTimeout(l),e()}catch(B){}},l=setTimeout(function(){b.removeEventListener("load",h);g(Error("Ed"))},5E3);b.addEventListener("load",h);Spa(b,a.activeSession.getPassiveLoginIframeUrl())}),4)}if(2!=d.nextAddress)return ms(d,0);c=le(d);console.log("first party auth passive login "+c);me(d)})};xQ.\u0275fac=function(a){return new (a||xQ)(u(gs))};
xQ.\u0275prov=qc({token:xQ,factory:xQ.\u0275fac,providedIn:"root"});var Hwc=function(a){r.call(this,a)};U(Hwc,r);f=Hwc.prototype;f.getSocialApplication=function(){return W(this,3,0)};f.getSocialApplicationOrUndefined=function(){return wr(this,3)};f.getAffinityType=function(){return V(this,12,"CONTACT_STORE_DEFAULT_AFFINITY")};f.setAffinityType=function(a){return n(this,12,a)};f.toObject=function(){return Iwc(this)};
var Iwc=function(a){if(null!=a)return t(a),{gapiApiKey:p(m(a,1)),gapiApiKeyTest:p(m(a,2)),socialApplication:p(kr(a,3)),papiClientId:p(m(a,4)),papiClientName:p(m(a,5)),papiClientVersion:p(m(a,6)),requestTimeoutMillis:Gh(a,8,3E4),includeDomainAddressBook:p(ar(a,10)),includeDomainGroups:p(ar(a,11)),affinityType:V(a,12,"CONTACT_STORE_DEFAULT_AFFINITY"),autocompletePageSize:Gh(a,13,15),rankedTargetsPageSize:Gh(a,14,500),peopleContainerMask:V(a,15,"CONTACT,PROFILE,DOMAIN_CONTACT,DOMAIN_PROFILE,AFFINITY"),
peopleFieldMask:V(a,16,"person.name,person.photo,person.email,person.phone,person.email.certificate,person.metadata"),includeOnlyNames:Jj(a,17,!1)}};var yQ=function(a){r.call(this,a)};U(yQ,r);yQ.prototype.getExperimentIdsList=function(){return Fh(this,4)};yQ.prototype.setExperimentIdsList=function(a){return tb(this,4,a,cb)};yQ.prototype.getExperimentIds=function(){return Ss(this,4)};yQ.prototype.setExperimentIds=function(a){xb(this,4,a,void 0,Fh)};yQ.repeatedFields_=[4];yQ.prototype.toObject=function(){return Jwc(this)};
var Jwc=function(a){if(null!=a)return t(a),{enablePapiClearcutLogging:Jj(a,1,!0),enableOzClearcutLogging:Jj(a,2,!0),enableApiClearcutLogging:Jj(a,3,!0),experimentIdsList:p(Fh(a,4)),enablePapi:Jj(a,5,!0),enableCacheFiltering:Jj(a,6,!0)}};var Kwc=function(a){r.call(this,a)};U(Kwc,r);f=Kwc.prototype;f.getClientInfo=function(){return Z(this,Hwc,1)};f.getMutableClientInfo=function(){return Ks(this,Hwc,1)};f.setClientInfo=function(a){Yi(this,Hwc,1,a)};f.getExperiments=function(){return Z(this,yQ,2)};f.setExperiments=function(a){Yi(this,yQ,2,a)};f.hasExperiments=function(){return Dj(this,yQ,2)};
f.toObject=function(){if(null!=this){t(this);var a={clientInfo:Iwc(this.getClientInfo()),experiments:Jwc(this.getExperiments())}}else a=void 0;return a};var Lwc=Mca(Kwc);var Mwc;var Nwc=function(a){r.call(this,a)};U(Nwc,r);f=Nwc.prototype;f.getDelegatorId=function(){return V(this,2)};f.getEnvType=function(){return W(this,5,0)};f.getEnvType_legacyNullable=function(){return kr(this,5)};f.setEnvType=function(a){n(this,5,a)};f.getCacheSize=function(){return Gh(this,7)};f.setCacheSize=function(a){n(this,7,a)};f.hasCacheSize=function(){return Ek(this,7)};
f.toObject=function(){if(null!=this){t(this);var a={delegatorId:p(m(this,2)),envType:p(kr(this,5)),releaseEnvType:p(kr(this,6)),cacheSize:p(Os(this,7))}}else a=void 0;return a};var XLa=/^https?:\/\/(?:\w|[\-\.])+\.google\.(?:\w|[\-:\.])+(?:\/[^\?#]*)?\/u\/(\d)\//,VLa=/([#].*?&|[#])authuser=([^&#]*)\b/,WLa=/([?][^#]*?&|[?])authuser=([^&#]*)\b/;var zQ=function(){this.config_=nb(Mwc||(Mwc=Lwc('[["AIzaSyBuUpn1wi2-0JpM3S-tq2csYx0z2_m_pqc","ANVavNLWozk6oXyP9qguyx4QAuef5j_qQw4Y3Rw",740,"MINIMAL_DOMAIN","BUGANIZER",null,null,null,null,true,true],[]]')));this.userInfo_=new Nwc;this.onAuthError_=this.gapiClientThenable_=null};zQ.prototype.getClientInfo=function(){return this.config_.getClientInfo()};zQ.prototype.getExperiments=function(){return this.config_.getExperiments()};zQ.prototype.getUserInfo=function(){return this.userInfo_};
var Owc=function(a){a.gapiClientThenable_||(a.gapiClientThenable_=bMa(10,5E3).then(function(b){return b.client}));return a.gapiClientThenable_};zQ.prototype.getAuthErrorHandler=function(){return this.onAuthError_};zQ.prototype.setAuthErrorHandler=function(a){this.onAuthError_=a};var Pwc=function(){};var Qwc=[];Qwc.push=function(){throw Error("Fd");};var AQ={cancel:function(){},isPending:function(){return!1}};var Rwc=function(a){this.response_=a||function(){};this.timer_=Wn(this.onTimer_,0,this);this.addressBookId_=""};f=Rwc.prototype;f.setResponse=function(a){this.response_=a};f.setAddressBookId=function(a){this.addressBookId_=a};f.getAddressBookId=function(){return this.addressBookId_};f.cancel=function(){Xn(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 Swc=new Map([["personal",2],["domain",4],["pcab",3]]);var wo=function(a){r.call(this,a)};U(wo,r);f=wo.prototype;f.getEventType=function(){return W(this,1,0)};f.setEventType=function(a){return n(this,1,a)};f.getApiType=function(){return W(this,2,0)};f.setApiType=function(a){return n(this,2,a)};f.getCacheStatus=function(){return W(this,3,0)};f.setCacheStatus=function(a){return n(this,3,a)};f.getAddressBook=function(){return W(this,4,0)};f.setAddressBook=function(a){return n(this,4,a)};f.getRpcType=function(){return W(this,5,0)};
f.setRpcType=function(a){return n(this,5,a)};f.getLookupType=function(){return W(this,6,0)};f.setLookupType=function(a){return n(this,6,a)};f.getToken=function(){return V(this,7,"")};f.setToken=function(a){return n(this,7,a)};
f.toObject=function(){if(null!=this){t(this);var a={eventType:W(this,1,0),apiType:W(this,2,0),cacheStatus:W(this,3,0),addressBook:W(this,4,0),rpcType:W(this,5,0),lookupType:W(this,6,0),token:V(this,7,""),isCountRecorded:Jj(this,8,!1),isStatusRecorded:Jj(this,9,!1)}}else a=void 0;return a};var BQ=function(a){r.call(this,a)};U(BQ,r);f=BQ.prototype;f.setDevice=function(a){return n(this,1,a)};f.getApplication=function(){return W(this,2,0)};f.setApplication=function(a){return n(this,2,a)};f.getApplicationOrUndefined=function(){return wr(this,2)};f.toObject=function(){return Twc(this)};var Twc=function(a){if(null!=a)return t(a),{device:p(kr(a,1)),application:p(kr(a,2)),platform:p(kr(a,3)),trafficType:p(kr(a,4))}};var CQ=function(a){r.call(this,a)};U(CQ,r);f=CQ.prototype;f.setEventSource=function(a){n(this,2,a)};f.getEventSourceOrUndefined=function(){return wr(this,2)};f.getSocialClient=function(){return Z(this,BQ,3)};f.setSocialClient=function(a){return Yi(this,BQ,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 Ok(this,7)};
f.getBaselineClOrUndefined=function(){return ct(this,7)};f.setClientAgent=function(a){return n(this,9,a)};f.getClientAgentOrUndefined=function(){return wr(this,9)};f.getPeoplekitEntryPoint=function(){return kr(this,11)};f.setPeoplekitEntryPoint=function(a){return n(this,11,a)};f.getPeoplekitEntryPointOrUndefined=function(){return wr(this,11)};f.setEnvironment=function(a){return n(this,13,a)};f.getEnvironmentOrUndefined=function(){return wr(this,13)};CQ.repeatedFields_=[6];CQ.prototype.toObject=function(){return Uwc(this)};
var Uwc=function(a){if(null!=a)return t(a),{eventSource:p(kr(a,2)),socialClient:Twc(a.getSocialClient()),versionName:p(m(a,5)),applicationIdentifies:p(m(a,10)),baselineCl:p(m(a,7)),enabledExperimentsFlagsList:p(Ih(a,6)),sendkitEntryPoint:p(Os(a,8)),clientAgent:p(kr(a,9)),peoplekitEntryPoint:p(kr(a,11)),environment:p(kr(a,13))}};var Vwc=function(a){r.call(this,a)};U(Vwc,r);f=Vwc.prototype;f.getApiType=function(){return W(this,1,0)};f.setApiType=function(a){return n(this,1,a)};f.getItemCount=function(){return Gh(this,2)};f.setItemCount=function(a){return n(this,2,a)};f.hasItemCount=function(){return Ek(this,2)};f.toObject=function(){return Wwc(this)};var Wwc=function(a){if(null!=a)return t(a),{apiType:p(kr(a,1)),itemCount:p(Os(a,2))}};var Xwc=function(a){r.call(this,a)};U(Xwc,r);f=Xwc.prototype;f.getApiType=function(){return W(this,1,0)};f.setApiType=function(a){return n(this,1,a)};f.getItemCount=function(){return Gh(this,2)};f.setItemCount=function(a){return n(this,2,a)};f.hasItemCount=function(){return Ek(this,2)};f.getStatus=function(){return W(this,4,2)};f.setStatus=function(a){return n(this,4,a)};f.hasStatus=function(){return fj(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 W(this,8,0)};f.setCacheStatus=function(a){return n(this,8,a)};f.getAddressBook=function(){return W(this,9,0)};f.setAddressBook=function(a){return n(this,9,a)};f.toObject=function(){return Ywc(this)};
var Ywc=function(a){if(null!=a)return t(a),{apiType:p(kr(a,1)),itemCount:p(Os(a,2)),notFoundCount:p(Os(a,3)),status:W(a,4,2),totalUsec:p(m(a,5)),blockedUsec:p(m(a,6)),networkUsec:p(m(a,7)),cacheStatus:p(kr(a,8)),addressBook:p(kr(a,9))}};var Zwc=function(a){r.call(this,a)};U(Zwc,r);f=Zwc.prototype;f.getStatus=function(){return W(this,1,2)};f.setStatus=function(a){return n(this,1,a)};f.hasStatus=function(){return fj(this,1)};f.setTotalUsec=function(a){return n(this,2,a)};f.toObject=function(){return $wc(this)};var $wc=function(a){if(null!=a)return t(a),{status:W(a,1,2),totalUsec:p(m(a,2)),scriptLoadUsec:p(m(a,3)),papiLoadUsec:p(m(a,4)),transportType:p(kr(a,5))}};var axc=function(a){r.call(this,a)};U(axc,r);f=axc.prototype;f.getRpcType=function(){return W(this,1,0)};f.setRpcType=function(a){return n(this,1,a)};f.getLookupType=function(){return W(this,2,0)};f.setLookupType=function(a){return n(this,2,a)};f.toObject=function(){return bxc(this)};var bxc=function(a){if(null!=a)return t(a),{rpcType:p(kr(a,1)),lookupType:p(kr(a,2))}};var cxc=function(a){r.call(this,a)};U(cxc,r);f=cxc.prototype;f.getRpcType=function(){return W(this,1,0)};f.setRpcType=function(a){return n(this,1,a)};f.getLookupType=function(){return W(this,2,0)};f.setLookupType=function(a){return n(this,2,a)};f.getStatus=function(){return W(this,3,2)};f.setStatus=function(a){return n(this,3,a)};f.hasStatus=function(){return fj(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 dxc(this)};var dxc=function(a){if(null!=a)return t(a),{rpcType:p(kr(a,1)),lookupType:p(kr(a,2)),status:W(a,3,2),totalUsec:p(m(a,4)),blockedUsec:p(m(a,5)),networkUsec:p(m(a,6))}};var DQ=function(a){r.call(this,a)};U(DQ,r);f=DQ.prototype;f.getEnvType=function(){return W(this,1,0)};f.getEnvType_legacyNullable=function(){return kr(this,1)};f.setEnvType=function(a){n(this,1,a)};f.getCacheSize=function(){return Gh(this,2)};f.setCacheSize=function(a){n(this,2,a)};f.hasCacheSize=function(){return Ek(this,2)};f.toObject=function(){return exc(this)};
var exc=function(a){if(null!=a)return t(a),{envType:p(kr(a,1)),cacheSize:p(Os(a,2)),cacheSizeBucket:p(Os(a,3)),gmailDelegation:p(ar(a,4))}};var EQ=function(a){r.call(this,a)};U(EQ,r);f=EQ.prototype;f.getClientInterface=function(){return Z(this,CQ,1)};f.setClientInterface=function(a){return Yi(this,CQ,1,a)};f.getSource=function(){return W(this,2,0)};f.setSource=function(a){return n(this,2,a)};f.hasSource=function(){return fj(this,2)};f.getSourceOrUndefined=function(){return wr(this,2)};f.getEventType=function(){return W(this,3,0)};f.getEventType_legacyNullable=function(){return kr(this,3)};f.setEventType=function(a){return n(this,3,a)};
f.getRpcRequest=function(){return Sj(this,axc,5,FQ)};f.setRpcRequest=function(a){return ho(this,5,FQ,a)};f.getRpcResponse=function(){return Sj(this,cxc,6,FQ)};f.setRpcResponse=function(a){return ho(this,6,FQ,a)};f.getApiCall=function(){return Sj(this,Vwc,7,FQ)};f.setApiCall=function(a){return ho(this,7,FQ,a)};f.getApiResult=function(){return Sj(this,Xwc,8,FQ)};f.setApiResult=function(a){return ho(this,8,FQ,a)};f.getUserInfo=function(){return Z(this,DQ,9)};
f.setUserInfo=function(a){return Yi(this,DQ,9,a)};f.hasUserInfo=function(){return Dj(this,DQ,9)};var FQ=[4,5,6,7,8];EQ.prototype.toObject=function(){if(null!=this){t(this);var a={clientInterface:Uwc(this.getClientInterface()),source:p(kr(this,2)),eventType:p(kr(this,3)),gapiInit:$wc(Sj(this,Zwc,4,FQ)),rpcRequest:bxc(this.getRpcRequest()),rpcResponse:dxc(this.getRpcResponse()),apiCall:Wwc(this.getApiCall()),apiResult:Ywc(this.getApiResult()),userInfo:exc(this.getUserInfo())}}else a=void 0;return a};var fxc=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]]),gxc=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]]),hxc=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]]),ixc=function(a){return gxc.has(a)?gxc.get(a):1},jxc=function(a){return hxc.has(a)?hxc.get(a):2};var kxc=function(a){this.request_=a;this.errorCode_=0},lxc=function(a,b){b=new kxc(b);b.errorCode_=a;b.errorMessage_="A server error has occurred.";return b};f=kxc.prototype;f.hasChanges=function(){return this.mutateResponse_&&Z(this.mutateResponse_,GQ,2)?Z(this.mutateResponse_,GQ,2).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 HQ=function(a){this.map_=new AG;this.size=0;a&&this.addAll(a)},mxc=function(a){var b=typeof a;return"object"==b&&a||"function"==b?"o"+xa(a):b.charAt(0)+a};f=HQ.prototype;f.getCount=function(){return this.map_.size};f.add=function(a){this.map_.set(mxc(a),a);this.setSizeInternal_(this.map_.size)};f.addAll=function(a){a=qC(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=qC(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(mxc(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(mxc(a))};f.contains=function(a){return this.map_.containsKey(mxc(a))};f.intersection=function(a){var b=new HQ;a=qC(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 HQ(this)};f.equals=function(a){return this.getCount()==D7b(a)&&nxc(this,a)};
var nxc=function(a,b){var c=D7b(b);if(a.getCount()>c)return!1;!(b instanceof HQ)&&5<c&&(b=new HQ(b));return G7b(a,function(d){var e=b;if(e.contains&&"function"==typeof e.contains)d=e.contains(d);else if(e.containsValue&&"function"==typeof e.containsValue)d=e.containsValue(d);else if(ua(e)||"string"===typeof e)d=qa(e,d);else a:{for(var g in e)if(e[g]==d){d=!0;break a}d=!1}return d})};HQ.prototype.__iterator__=function(){return this.map_.__iterator__(!1)};HQ.prototype[Symbol.iterator]=function(){return this.values()};
HQ.prototype.setSizeInternal_=function(a){this.size=a};var IQ=function(a,b,c){this.fields_=a;this.name_=b;this.contains_=new HQ(c);this.extraFields_=[]};IQ.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 oxc=function(a){a.fieldSet_||(a.fieldSet_=new HQ(a.fields_));return a.fieldSet_};
IQ.prototype.contains=function(a){if(this.contains_.contains(a))return!0;this.doesntContain_||(this.doesntContain_=new HQ);if(this.doesntContain_.has(a))return!1;var b=oxc(this),c=oxc(a);if(G7b(c,b.contains,b))return this.contains_.add(a),!0;this.doesntContain_.add(a);return!1};var pxc=new IQ(["6","12"],"1"),qxc=new IQ("2 1f 1c 12 16 13 14 1d 22 1b 20".split(" "),"4",[pxc]);new IQ("6 12 16 17 18 1a".split(" "),"3",[pxc]);
new IQ("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",[pxc,qxc]);new IQ([]);var rxc={token:"",addressBookId:"personal",matchType:1,includeContacts:!0,includeGroups:!0,isAutoCompleteMode:!0,delayMillis:5E3,maxMatches:-1,maxTries:10,name:"Load All Contacts"};var sxc=function(a,b,c){BA.call(this);this.scheduler=a;this.runFunction_=b;this.group=c||a.createGroup()};U(sxc,BA);f=sxc.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 txc=function(a){BA.call(this);this.scheduler=a;this.maxNumRetries_=0;this.reset()};U(txc,BA);f=txc.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(){BA.prototype.disposeInternal.call(this);this.scheduler=null};var uxc=function(){BA.call(this);this.states={};this.currentGroup=1};U(uxc,BA);uxc.prototype.schedule=function(a,b,c,d){b=b||0;var e=Date.now()+b,g=this.states[a.getGroup()];g||(g=new txc(this),this.states[a.getGroup()]=g);g.setMaxNumRetries(Math.max(c||1,g.getMaxNumRetries()));switch(g.runState){case 1:case 5:g.reset();vxc(a,b,e);break;case 6:vxc(a,b,e);break;case 4:d&&(g.reset(),vxc(a,b,e));break;case 2:e<g.runTime?(this.cancel(g),g.reset(),vxc(a,b,e)):g.numTriesLeft=g.maxNumRetries_}};
var vxc=function(a,b,c){0==b?(a.setRunState(3),a.run()):(a.setRunState(2),a.setRunTime(c),a.setRunTimerId(Wn(a.run,b,a)))};f=uxc.prototype;f.getState=function(a){return this.states[a]};f.createGroup=function(){return""+this.currentGroup++};f.disposeInternal=function(){BA.prototype.disposeInternal.call(this);for(var a in this.states){var b=this.states[a];this.cancel(b);ph(b)}this.states={}};f.cancel=function(a){2==a.runState&&Xn(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 wxc={SOMETHING_CHANGED:"e",ERROR:"f"},xxc=function(a,b){DA.call(this,a&&a[0].getError()?"f":"e");this.responses_=a;this.source_=b||"h"};U(xxc,DA);xxc.prototype.getChanges=function(){if(!this.changes_){if(!this.responses_)return null;var a=[];pa(this.responses_,function(b){b=Z(b,GQ,2).getChanges();a&&b?a=a.concat(b):a=null});this.changes_=a}return this.changes_};xxc.prototype.getSource=function(){return this.source_};var yxc=function(a,b){this.fn_=a;this.handler_=b};yxc.prototype.execute=function(a){this.fn_&&(this.fn_.call(this.handler_||null,a),this.fn_=this.handler_=null)};yxc.prototype.abort=function(){this.handler_=this.fn_=null};L_b(function(a){yxc.prototype.execute=a(yxc.prototype.execute)});var zxc=[];var JQ=function(a,b){var c=c||[];this.serviceId_=a;this.moduleId_=b||null;this.dependencies_=[];this.addDependencies(c,!1)};JQ.prototype.toString=function(){return this.serviceId_};JQ.prototype.getModuleId=function(){return this.moduleId_};
JQ.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("Gd`"+this.serviceId_);a.map(function(d){return d.getModuleId()}).forEach(function(d){zxc.push(function(e){e.addExtraEdge(c.moduleId_,d)})})}};new JQ("ZtVrH");new JQ("rJmJrc","rJmJrc");new JQ("fJuxOc");new JQ("NGntwf");new JQ("ofuapc");new JQ("BWETze");new JQ("ZmXAm");new JQ("n73qwf","n73qwf");new JQ("Bgf0ib");new JQ("MpJwZc","MpJwZc");new JQ("UUJqVe","UUJqVe");new JQ("GHAeAc","GHAeAc");new JQ("Wt6vjf","Wt6vjf");new JQ("byfTOb","byfTOb");new JQ("LEikZe","LEikZe");new JQ("lsjVmc","lsjVmc");new JQ("pVbxBc");new JQ("klpyYe");new JQ("OPbIxb");new JQ("pg9hFd");new JQ("IaqD3e");new JQ("Xpw1of");new JQ("v5BQle");new JQ("tdUkaf");new JQ("WSziFf");new JQ("UBSgGf");new JQ("zZa4xc");new JQ("o1bZcd");new JQ("WwG67d");new JQ("z72MOc");new JQ("JccZRe");new JQ("amY3Td");new JQ("ABma3e");new JQ("gSshPb");new JQ("yu4DA");new JQ("vk3Wc");new JQ("IykvEf");new JQ("J5K1Ad");new JQ("IW8Usd");new JQ("jbDgG");new JQ("b8xKu");new JQ("d0RAGb");new JQ("AzG0ke");new JQ("J4QWB");new JQ("TuDsZ");new JQ("hdXIif");new JQ("mITR5c");new JQ("DFElXb");new JQ("FENZqe");new JQ("tLnxq");var Axc=function(){BA.call(this);this.eventTarget_=new yo;this.updateCacheEventTarget_=new yo;this.mutationIdMap_=new DG};U(Axc,BA);Axc.prototype.dispatchEvent=function(a){this.updateCacheEventTarget_.dispatchEvent(a);this.eventTarget_.dispatchEvent(a)};Axc.prototype.getEventTarget=function(){return this.eventTarget_};
Axc.prototype.disposeInternal=function(){BA.prototype.disposeInternal.call(this);this.eventTarget_.dispose();this.eventTarget_=null;this.updateCacheEventTarget_.dispose();this.updateCacheEventTarget_=null};var tr=function(a){r.call(this,a)};U(tr,r);var sr=function(a,b){return n(a,1,b)};f=tr.prototype;f.setLogSource=function(a){return n(this,2,a)};f.getApplication=function(){return W(this,3,0)};f.setApplication=function(a){return n(this,3,a)};f.getApplicationOrUndefined=function(){return wr(this,3)};f.getVersion=function(){return V(this,4)};f.getVersion_legacyNullable=function(){return m(this,4)};f.setVersion=function(a){return n(this,4,a)};f.getVersionOrUndefined=function(){return dt(this,4)};
f.getBaselineCl=function(){return Gh(this,5)};f.setBaselineCl=function(a){return n(this,5,a)};f.hasBaselineCl=function(){return Ek(this,5)};f.getBaselineClOrUndefined=function(){return bt(this,5)};f.getEnableClearcut=function(){return Jj(this,6)};f.setEnableClearcut=function(a){return Lj(this,6,a)};var rib=function(a,b){return tb(a,7,b,cb)};f=tr.prototype;f.getExperimentId=function(){return Ss(this,7)};f.setClientAgent=function(a){return n(this,8,a)};
f.getClientAgentOrUndefined=function(){return wr(this,8)};f.setEventSource=function(a){n(this,9,a)};f.getEventSourceOrUndefined=function(){return wr(this,9)};f.getClearcutUrl=function(){return V(this,10)};f.setClearcutUrl=function(a){n(this,10,a)};f.setEnvironment=function(a){return n(this,11,a)};f.getEnvironmentOrUndefined=function(){return wr(this,11)};f.getPeoplekitEntryPoint=function(){return W(this,12,0)};f.setPeoplekitEntryPoint=function(a){return n(this,12,a)};
f.getPeoplekitEntryPointOrUndefined=function(){return wr(this,12)};tr.repeatedFields_=[7];tr.prototype.toObject=function(){if(null!=this){t(this);var a={logName:p(m(this,1)),logSource:p(kr(this,2)),application:p(kr(this,3)),version:p(m(this,4)),baselineCl:p(Os(this,5)),enableClearcut:p(ar(this,6)),experimentIdList:p(Fh(this,7)),clientAgent:p(kr(this,8)),eventSource:p(kr(this,9)),clearcutUrl:p(m(this,10)),environment:p(kr(this,11)),peoplekitEntryPoint:p(kr(this,12))}}else a=void 0;return a};var Bxc=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 Cxc=function(a){this.start_=a;this.end_=NaN};Cxc.prototype.duration=function(){return this.end_-this.start_};Cxc.prototype.stop=function(a){this.end_=a;return this.duration()};var KQ=function(a){var b=void 0===b?Bxc:b;this.source_=a;this.nowFn_=b;this.durations_=new Map;this.lastLabel_="_"};KQ.prototype.source=function(){return this.source_};var Dxc=function(a,b){b&&(a.lastLabel_=b);return a.lastLabel_};f=KQ.prototype;
f.duration=function(a){a=Dxc(this,void 0===a?"":a);return this.durations_.has(a)?this.durations_.get(a).duration():NaN};f.durationUsec=function(a){return fMa(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=Dxc(this,a);this.durations_.set(a,new Cxc(b));return this};
f.stop=function(a){a=void 0===a?"":a;var b=this.nowFn_();a=Dxc(this,a);this.durations_.has(a)&&this.durations_.get(a).stop(b);return this};f.clear=function(){this.durations_.clear();return this};var Exc=function(a){r.call(this,a)};U(Exc,r);Exc.prototype.toObject=function(){return Fxc(this)};var Fxc=function(a){if(null!=a)return t(a),{applicationPackageName:p(m(a,1)),widgetName:p(m(a,2))}};var Gxc=function(a){r.call(this,a)};U(Gxc,r);Gxc.prototype.toObject=function(){return Hxc(this)};var Hxc=function(a){if(null!=a)return t(a),{hadValidCache:p(ar(a,1)),timeSinceCacheRefreshUsec:p(m(a,2)),cacheRefreshUsec:p(m(a,3)),hadDeviceContactPermissions:p(ar(a,4))}};var LQ=function(a){r.call(this,a)};U(LQ,r);f=LQ.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(){Js(this,4)};f.hasInstanceId=function(){return wk(this,4)};f.getInstanceIdOrUndefined=function(){return dt(this,4)};f.getAffinityVersion=function(){return Os(this,5)};
f.setAffinityVersion=function(a){n(this,5,a)};f.getAffinityVersionOrUndefined=function(){return bt(this,5)};f.toObject=function(){return Ixc(this)};var Ixc=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(Os(a,5))}};var Jxc=function(a){r.call(this,a)};U(Jxc,r);f=Jxc.prototype;f.getQueryLength=function(){return Os(this,1)};f.setQueryLength=function(a){return n(this,1,a)};f.hasQueryLength=function(){return Ek(this,1)};f.getQuery=function(){return m(this,2)};f.setQuery=function(a){return n(this,2,a)};f.clearQuery=function(){Js(this,2)};f.hasQuery=function(){return wk(this,2)};f.toObject=function(){return Kxc(this)};
var Kxc=function(a){if(null!=a)return t(a),{queryLength:p(Os(a,1)),query:p(m(a,2)),sessions:Ixc(Z(a,LQ,3))}};var Lxc=function(a){r.call(this,a)};U(Lxc,r);Lxc.prototype.toObject=function(){return Mxc(this)};var Mxc=function(a){if(null!=a)return t(a),{mobileNetworkCountry:p(m(a,1)),simCountry:p(m(a,2)),localeCountry:p(m(a,3))}};var Nxc=function(a){r.call(this,a)};U(Nxc,r);Nxc.prototype.toObject=function(){return Oxc(this)};var Oxc=function(a){if(null!=a)return t(a),{canonicalCode:p(kr(a,1))}};var Pxc=function(a){r.call(this,a)};U(Pxc,r);Pxc.prototype.toObject=function(){return Qxc(this)};var Qxc=function(a){if(null!=a)return t(a),{attributedSharingEnabled:p(ar(a,1)),sharePanelVersion:p(m(a,2))}};var MQ=function(a){r.call(this,a)};U(MQ,r);MQ.prototype.setLatencyUsec=function(a){n(this,1,a)};MQ.prototype.toObject=function(){return Rxc(this)};var Rxc=function(a){if(null!=a)return t(a),{latencyUsec:p(Os(a,1)),dataLatencyUsec:p(Os(a,2))}};var NQ=function(a){r.call(this,a)};U(NQ,r);f=NQ.prototype;f.getColumn=function(){return Os(this,2)};f.setColumn=function(a){return n(this,2,a)};f.getType=function(){return kr(this,3)};f.setType=function(a){return n(this,3,a)};f.hasType=function(){return fj(this,3)};f.toObject=function(){return Sxc(this)};var Sxc=function(a){if(null!=a)return t(a),{row:p(Os(a,1)),column:p(Os(a,2)),type:p(kr(a,3))}};var Txc=function(a){r.call(this,a)};U(Txc,r);f=Txc.prototype;f.getExistingSelectionsCount=function(){return Os(this,1)};f.setExistingSelectionsCount=function(a){n(this,1,a)};f.getPosition=function(){return Z(this,NQ,2)};f.setPosition=function(a){return Yi(this,NQ,2,a)};f.toObject=function(){return Uxc(this)};var Uxc=function(a){if(null!=a)return t(a),{existingSelectionsCount:p(Os(a,1)),position:Sxc(a.getPosition()),replacementOriginEmailAddress:p(m(a,3)),replacementDestinationEmailAddress:p(m(a,4))}};var OQ=function(a){r.call(this,a)};U(OQ,r);f=OQ.prototype;f.getType=function(){return kr(this,5)};f.setType=function(a){return n(this,5,a)};f.hasType=function(){return fj(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 wk(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 wk(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 wk(this,6)};f.toObject=function(){return Vxc(this)};
var Vxc=function(a){if(null!=a)return t(a),{type:p(kr(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))}};var Wxc=function(a){r.call(this,a)};U(Wxc,r);f=Wxc.prototype;f.getName=function(){return m(this,1)};f.setName=function(a){return n(this,1,a)};f.hasName=function(){return wk(this,1)};f.getNameOrUndefined=function(){return dt(this,1)};f.toObject=function(){return Xxc(this)};var Xxc=function(a){if(null!=a)return t(a),{name:p(m(a,1))}};var PQ=function(a){r.call(this,a)};U(PQ,r);f=PQ.prototype;f.getPosition=function(){return Z(this,NQ,1)};f.setPosition=function(a){return Yi(this,NQ,1,a)};f.getProfile=function(){return Z(this,Wxc,2)};f.getProvenance=function(){return Vs(this,3)};f.setProvenance=function(a){return xb(this,3,a,void 0,Tk)};f.getIsPlaceholder=function(){return ar(this,7)};f.setIsPlaceholder=function(a){Lj(this,7,a)};f.getIsSelf=function(){return ar(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)};PQ.repeatedFields_=[4,3];PQ.prototype.toObject=function(){return Yxc(this)};
var Yxc=function(a){if(null!=a)return t(a),{position:Sxc(a.getPosition()),additionalPositionList:Kb(aj(a,NQ,4),Sxc),profile:Xxc(a.getProfile()),provenanceList:p(Tk(a,3)),hasAvatar:p(ar(a,5)),isBoosted:p(ar(a,6)),isPlaceholder:p(ar(a,7)),smartAddressEntityMetadata:Uxc(Z(a,Txc,8)),uiSurface:p(kr(a,9)),isSelf:p(ar(a,11)),isOutOfDomain:p(ar(a,12)),rankType:p(kr(a,13)),rank:p(Os(a,14)),queryId:p(m(a,15)),selectionId:p(m(a,16))}};var Zxc=function(a){r.call(this,a)};U(Zxc,r);f=Zxc.prototype;f.getLoggingId=function(){return m(this,1)};f.setLoggingId=function(a){n(this,1,a)};f.getMetadata=function(){return Z(this,PQ,3)};f.setMetadata=function(a){Yi(this,PQ,3,a)};f.toObject=function(){return $xc(this)};var $xc=function(a){if(null!=a)return t(a),{loggingId:p(m(a,1)),entityId:Vxc(Z(a,OQ,4)),metadata:Yxc(a.getMetadata())}};var QQ=function(a){r.call(this,a)};U(QQ,r);QQ.prototype.getAffinityVersion=function(){return Os(this,2)};QQ.prototype.setAffinityVersion=function(a){n(this,2,a)};QQ.prototype.getAffinityVersionOrUndefined=function(){return bt(this,2)};QQ.prototype.toObject=function(){return ayc(this)};
var ayc=function(a){if(null!=a)return t(a),{autocompleteMetadata:Kxc(Z(a,Jxc,1)),affinityVersion:p(Os(a,2)),showMetadata:Rxc(Z(a,MQ,6)),queryErrorMetadata:Oxc(Z(a,Nxc,7)),autocompleteClientMetadata:Hxc(Z(a,Gxc,3)),reactrMetadata:Qxc(Z(a,Pxc,4)),apdlMetadata:Fxc(Z(a,Exc,5)),phoneRegionHints:Mxc(Z(a,Lxc,8))}};var byc=function(a){r.call(this,a)};U(byc,r);byc.prototype.toObject=function(){return cyc(this)};var cyc=function(a){if(null!=a)return t(a),{scoreVersion:p(m(a,1)),sessionId:p(m(a,2))}};var dyc=function(a){r.call(this,a)};U(dyc,r);f=dyc.prototype;f.getEventType=function(){return kr(this,1)};f.getEventType_legacyNullable=function(){return kr(this,1)};f.setEventType=function(a){return n(this,1,a)};f.getMetadata=function(){return Z(this,QQ,4)};f.setMetadata=function(a){Yi(this,QQ,4,a)};f.getClientInterface=function(){return Z(this,CQ,5)};f.setClientInterface=function(a){return Yi(this,CQ,5,a)};dyc.repeatedFields_=[2];
dyc.prototype.toObject=function(){if(null!=this){t(this);var a={eventType:p(kr(this,1)),entityList:Kb(aj(this,Zxc,2),$xc),scoringInfo:cyc(Z(this,byc,3)),metadata:ayc(this.getMetadata()),clientInterface:Uwc(this.getClientInterface()),eventTimestampUsec:p(m(this,6))}}else a=void 0;return a};var eyc=new Map([[1,4],[2,2],[3,1],[4,7]]),fyc=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=Jj(a.getExperiments(),1,!0);break;case 2:b="ppl.store.ppl.store.ozcontactstore";c=Jj(a.getExperiments(),2,!0);break;default:b="ppl.store",c=!1}var d=eyc.get(a.getUserInfo().getEnvType_legacyNullable())||0;this.logContext_=wb(rib(sr(new tr,b).setLogSource(932).setApplication(a.getClientInfo().getSocialApplicationOrUndefined()).setEnvironment(d).setVersion("1013").setBaselineCl(336195648).setClientAgent(3).setEnableClearcut(c),
a.getExperiments().getExperimentIdsList()),7,20090307)};f=fyc.prototype;f.getLogContext=function(){return this.logContext_};
f.createCountMetric=function(a,b){b=b.source();var c=gyc(this);switch(b.getEventType()){case 2:case 3:return(new EQ).setClientInterface(a).setUserInfo(c).setSource(2).setEventType(2).setRpcRequest((new axc).setRpcType(b.getRpcType()).setLookupType(b.getLookupType()));case 4:case 5:return(new EQ).setClientInterface(a).setUserInfo(c).setEventType(4).setApiCall((new Vwc).setApiType(b.getApiType()));default:return null}};
f.createStatusMetric=function(a,b,c){var d=b.source(),e=gyc(this);switch(d.getEventType()){case 1:d=(new EQ).setClientInterface(a).setUserInfo(e).setSource(1).setEventType(1);a=this.transportType_;e=(new Zwc).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 ho(d,4,FQ,e);case 2:case 3:return a=(new EQ).setClientInterface(a).setUserInfo(e).setSource(2).setEventType(3),e=a.setRpcResponse,d=(new cxc).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 EQ).setClientInterface(a).setUserInfo(e).setEventType(5);e=a.setApiResult;var g=new Xwc;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 gyc=function(a){a=a.clientConfig_.getUserInfo();var b=new DQ;var c=!!a.getDelegatorId();b=Lj(b,4,c);a.hasCacheSize()&&b.setCacheSize(a.getCacheSize());b.setEnvType(W(a,6,0)||0);return b};var Iq=function(a){r.call(this,a)};U(Iq,r);Iq.repeatedFields_=[1,2,3,4];Iq.prototype.toObject=function(){if(null!=this){t(this);var a={byGaiaList:p(Fh(this,1)),byPseudonymousList:p(Fh(this,2)),alwaysList:p(Fh(this,3)),byOtherList:p(Fh(this,4))}}else a=void 0;return a};var RQ=function(a,b){this.name_=b||"";this.address=a||""},hyc=/"/g,iyc=/\\"/g,jyc=/\\/g,kyc=/\\\\/g,lyc=RegExp("^[+a-zA-Z0-9_.!#$%&'*\\/=?^`{|}~-]+@([a-zA-Z0-9-]+\\.)+[a-zA-Z0-9]{2,63}$"),myc=new RegExp("["+Qca({LRE:"\u202a",RLE:"\u202b",PDF:"\u202c",LRM:"\u200e",RLM:"\u200f"}).join("")+"]","g");RQ.prototype.getName=function(){return this.name_};RQ.prototype.getAddress=function(){return this.address};RQ.prototype.setName=function(a){this.name_=a};RQ.prototype.toString=function(){return nyc(this,'()<>@:\\".[],;')};
var nyc=function(a,b){var c=a.getName();c=c.replace(hyc,"");a:{for(var d=c,e=0;e<b.length;e++)if(fa(d,b[e])){b=!0;break a}b=!1}b&&(c='"'+c.replace(jyc,"\\\\")+'"');return""==c?a.address:""==a.address?c:c+" <"+a.address+">"};RQ.prototype.isValid=function(){return lyc.test(this.address)};
var qyc=function(a){var b=oyc;a=a.replace(myc,"");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||pyc(g,h))g=l;else{q='">)]'.charAt(q);for(var x=g.indexOf(q,h+1);0<=x&&pyc(g,x);)x=g.indexOf(q,x+1);g=0<=x?g.substring(h,x+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=oRb(c);c=pRb(c,"'");c=pRb(c,'"');c=c.replace(iyc,'"');c=c.replace(kyc,"\\");d=oRb(d);return new b(d,
c)},pyc=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 oyc=function(a,b){RQ.call(this,a,b)};ts(oyc,RQ);var ryc=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}$");oyc.prototype.isValid=function(){return syc(this.address)};var syc=function(a){return null==a?!1:ryc.test(a)};oyc.prototype.toString=function(){return nyc(this,'()<>@:\\".[],;\u055d\u060c\u1363\u1802\u1808\u2e41\u3001\uff0c\u061b\u1364\uff1b\uff64\u104a')};var tyc=/[^a-z0-9]+/ig,uyc=[9,11,10,12,13,14,15,16,19],vyc=[9,19,11],wyc=[1,6],xyc=[2,7],yyc=[3,8],zyc=[1,2,6,7,8,9,11,10,12,13,14,15,16,18,19],Rgb=[3,4,5,17,20],Xq=function(a,b,c){this.type_=a;this.value_=xo(b);this.originalValue_=xo(void 0===c?b:c)};Xq.prototype.getType=function(){return this.type_};Xq.prototype.getValue=function(){return this.value_};Xq.prototype.getOriginalValue=function(){return this.originalValue_};
var yq=function(a){return uyc.includes(a.getType())},zq=function(a){return vyc.includes(a.getType())},Rq=function(a,b){switch(a){case 1:return Uq(b);case 6:return new Xq(6,xo(b).toLowerCase(),b);case 2:return bhb(b);case 7:return chb(b);case 3:return Ogb(b);case 8:return new Xq(8,xo(b).toLowerCase(),b);case 5:return new Xq(5,xo(b).toLowerCase(),b);case 4:return Pgb(b);case 9:return Ayc(b);case 12:return new Xq(12,xo(b),b);case 13:return new Xq(13,xo(b),b);case 14:return new Xq(14,xo(b),b);case 15:return new Xq(15,
xo(b),b);case 16:return new Xq(16,xo(b),b);case 10:return new Xq(10,xo(b),b);case 11:return new Xq(11,xo(b),b);case 18:return Qgb(b);case 19:return new Xq(19,xo(b),b);case 20:return new Xq(20,xo(b),b);case 17:return Byc;default:return new Xq(0,b)}},Uq=function(a){return new Xq(1,xo(a).toLowerCase(),a)},bhb=function(a){var b=xo(a).toLowerCase().replace(tyc,"");return new Xq(2,b,a)},Ogb=function(a){var b=xo(a).toLowerCase();return"me"===b?Byc:new Xq(3,b,a)},Pgb=function(a){return new Xq(4,xo(a).toLowerCase(),
a)},chb=function(a){var b=xo(a).toLowerCase().replace(tyc,"");return new Xq(7,b,a)},Ayc=function(a){return new Xq(9,xo(a).toLowerCase(),a)},Qgb=function(a){return new Xq(18,xo(a),a)},Cyc=function(a){var b=a.indexOf(":");return Rq(0<b?parseInt(a.substring(0,b),10):0,a.substring(b+1))};Xq.prototype.toString=function(){return this.getType()+":"+this.getValue()};Xq.prototype.equals=function(a){return a?this===a?!0:this.getType()===a.getType()&&this.getValue()===a.getValue():!1};
var Dyc=function(a){switch(a.getType()){case 1:case 6:return syc(a.getValue().trim());case 2:case 7:return a=a.getValue().replace(tyc,""),3<=a.length&&"0"<=a[0]&&"9">=a[0];case 3:case 8:return!!a.getValue().trim();default:return!0}},Zq=Rq(0,""),Byc=new Xq(17,"me");var Eyc=function(a,b){this.apiEnv_=a;this.experimentsConfig_=b};var Fyc=function(a){this.profileId_=a};Fyc.prototype.getProfileId=function(){return this.profileId_};var Gyc=Object.freeze({userProfileId:"",apiEnv:4,userEmail:""});var Hyc=function(){return da&&ea?!ea.mobile&&(ha("iPad")||ha("Android")||ha("Silk")):ha("iPad")||ha("Android")&&!ha("Mobile")||ha("Silk")};var Iyc=function(a,b,c,d,e,g,h){qB.call(this,a,vo,b,Fpa,c,d,e,void 0,g,h)};U(Iyc,qB);var Jyc=function(a,b){this.clearcut_=a;this.logContextFactory_=b;this.device_=paa()||ha("iPod")?4:ha("iPad")?5:oaa()?Hyc()?3:2:(da&&ea?ea.mobile:!Hyc()&&(ha("iPod")||ha("iPhone")||ha("Android")||ha("IEMobile")))||Hyc()?0:1},Kyc=function(a){var b=a.getLogContext(),c=null;if(b.getEnableClearcut()&&(c=new Iyc(kr(b,2),YLa(),b.getClearcutUrl()||void 0),(b=Fh(b,7))&&b.length)){var d=new Iq;tb(d,3,b,cb);c.setClearExperimentIds(d)}return new Jyc(c,a)},Lyc=function(a){var b=a.logContextFactory_.getLogContext(),
c=new BQ;c.setApplication(b.getApplicationOrUndefined());c.setDevice(a.device_);a=new CQ;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},Myc=function(a,b){var c=new mB;B3b(c,b.serialize());
a.clearcut_&&a.clearcut_.log(c)};var Nyc=function(a,b){this.clearcut_=a;this.logEventFactory_=b};Nyc.prototype.logError=function(a){var b=Lyc(this.clearcut_);(a=this.logEventFactory_.createErrorMetric(b,a))&&Myc(this.clearcut_,a)};var Oyc=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 Pyc=function(){this.logContext_=sr(new tr,"ppl.store")};f=Pyc.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 Qyc=function(a){this.clearcut_=a},Nq=function(a){a=new Nyc(Kyc(a),a);return new Qyc(a)};f=Qyc.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=Lyc(c.clearcut_);(a=c.logEventFactory_.createCountMetric(d,a,b))&&Myc(c.clearcut_,a);return this};f.status=function(a,b){var c=this.clearcut_,d=Lyc(c.clearcut_);(a=c.logEventFactory_.createStatusMetric(d,a,b))&&Myc(c.clearcut_,a);return this};f.latency=function(a){var b=this.clearcut_,c=Lyc(b.clearcut_);(a=b.logEventFactory_.createLatencyMetric(c,a))&&Myc(b.clearcut_,a);return this};f.error=function(a){this.clearcut_.logError(a);return this};
f.logError=function(){};f.logInfo=function(){return this};var SQ=function(a,b){this.addressBookMap_={};this.addressBooks=[];this.ownedAddressBooks_=[];this.scheduler_=new uxc;this.eventHandler_=new bq(this);this.ownsContactNotificationService_=!a;this.queryFilters_=[];this.contactNotificationService_=a||new Axc;(a=b)||(a=Nq(new Pyc));this.metrics=a;this.queryFilters_.push(this.contactNotificationService_)};ts(SQ,BA);f=SQ.prototype;
f.addAddressBook=function(a,b){this.addressBooks.push(a);b&&this.ownedAddressBooks_.push(a);this.addressBookMap_[a.getId()]=a;this.eventHandler_.listen(a,Qca(wxc),rs(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 xxc(null,"g"))};
f.loadContactRows=function(a,b){var c=this,d=(new wo).setEventType(4).setApiType(2),e=new KQ(d);this.metrics.count(e);this.metrics.start(e,"total");return Ryc(this,a,function(g){return g.loadContactRows},function(g,h,l,q,x){Syc(function(A,B,K,N){var P=B===AQ||B instanceof Rwc?2:1;e.source().setCacheStatus(P);e.source().setAddressBook(K?Swc.get(K)||1:1);c.metrics.stop(e,"total");c.metrics.status(e,jxc(x||0));b&&b(A,B,K,N,x)},g,h,l,q)})};
var Ryc=function(a,b,c,d){var e=new Tyc(d,a.metrics),g;if(b.addressBookId){var h=a.addressBookMap_[b.addressBookId];0<b.delayMillis||1<b.maxTries?g=Uyc(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=Uyc(a,h,c(h),b,d):g=c(h).call(h,b,d),g&&e.add(g);return e};
SQ.prototype.execute=function(a){var b=this,c=(new wo).setEventType(4).setApiType(1),d=new KQ(c);this.metrics.count(d);this.metrics.start(d,"total");Vyc(this,a);a.addSuccessOrFailureCallback(function(e){var g=e?jxc(e.getErrorCode()):2;e=(e=e?e.getRequest():null)?e.getAddressBookId():"";d.source().setCacheStatus(e?1:2);d.source().setAddressBook(e?e?Swc.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 Wyc(b,e,d)}))?
c:Wyc(this,a,d)};
var Vyc=function(a,b){pa(a.queryFilters_,function(){});b.isMutate()&&(b=Z(b,GQ,2))&&(b=b.getQueryAfterMutate())&&Vyc(a,b)},Wyc=function(a,b,c){if(b.isMutate()){var d=Z(b,GQ,2);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 Tyc(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},Uyc=function(a,b,c,
d,e){b=rs(a.runScheduledQuery_,a,b,c,d,e);b=new sxc(a.scheduler_,b,d.name);a.scheduler_.schedule(b,d.delayMillis,d.maxTries,d.force);return new Xyc(b)};SQ.prototype.runScheduledQuery_=function(a,b,c,d,e){e.request=b.call(a,c,function(g,h,l,q,x){e.isDone(!x)&&d&&d(g,h,l,q,x)})};var Syc=function(a,b,c,d,e){a&&(b&&(e.filter&&(b=e.filter(b,e.token)),Yyc(b)),a(b||[],c,d,e))},Yyc=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)}};
SQ.prototype.disposeInternal=function(){SQ.superClass_.disposeInternal.call(this);ph(this.scheduler_);this.scheduler_=null;pa(this.ownedAddressBooks_,ph);this.ownedAddressBooks_=this.addressBookMap_=this.addressBooks=null;ph(this.eventHandler_);this.eventHandler_=null;pa(this.queryFilters_,function(a){a!=this.contactNotificationService_&&ph(a)},this);this.queryFilters_=null;this.ownsContactNotificationService_&&(ph(this.contactNotificationService_),this.contactNotificationService_=null)};
var Zyc=function(a){var b=new fyc(a,0);sr(b.getLogContext(),"ppl.store");b.getLogContext().setEnableClearcut(Jj(a.getExperiments(),3,!0));return Nq(b)},Tyc=function(a,b,c){this.requests_=[];this.handler=a;this.metrics_=b;this.state_=c;this.addressBookId_=""};f=Tyc.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 Xyc=function(a){this.op=a;this.request=null};Xyc.prototype.cancel=function(){this.op.cancel();this.request&&this.request.cancel()};
Xyc.prototype.isPending=function(){return this.op.isPending()||this.op.request&&this.op.request.isPending()};var $yc=function(a,b){this.text=a;this.specialRowHandler=b};ts($yc,Pwc);f=$yc.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 azc=function(a,b){SQ.call(this,a,b)};U(azc,SQ);azc.prototype.addAddressBook=function(a,b){1==this.addressBooks.length&&(this.combiner_=new bzc(this.metrics),this.combiner_.addAddressBook(this.addressBooks[0]));SQ.prototype.addAddressBook.call(this,a,b);this.combiner_&&this.combiner_.addAddressBook(a)};azc.prototype.loadContactRows=function(a,b){return this.combiner_&&a.isAutoCompleteMode&&!a.addressBookId?this.combiner_.loadContactRows(a,b):SQ.prototype.loadContactRows.call(this,a,b)};
var bzc=function(a){this.addrBooks_=[];this.rowSets_=null;this.metrics_=a};bzc.prototype.addAddressBook=function(a){this.addrBooks_.push(new czc(this,this.addrBooks_.length,a))};bzc.prototype.loadContactRows=function(a,b){a=new dzc(a,this.metrics_,b);ezc(this,a);return a};
var ezc=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],x=c.maxMatches,A=g.length;if(0==A)g=q.length>x?q.slice(0,x):q;else for(var B=0;B<q.length;B++){for(var K=null,N=0;N<A&&!(K=fzc(g[N],q[B]));N++);if(K)K===q[B]&&(g[N]=K);else if(g.length==
A?g=g.concat(q[B]):g.push(q[B]),g.length==x)break}0<h&&g.length>h&&(g[h].flags|=1)}e?(Yyc(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},fzc=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},gzc=function(a,b,c,d){a.rowSets_?a.rowSets_[c]=d:ezc(a,b,c,d)};
bzc.prototype.handleSpecialRow=function(){};var czc=function(a,b,c){this.combiner_=a;this.id_=b;this.addrBook_=c;this.lastAsyncLatency_=0;this.isSynchronous_=!1};
czc.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,x){b.matchListener_(a,d,g,x)});a.addRequest(this.id_,e);this.isSynchronous_=!1;this.madeCallback_||a.query.isAutoCompleteMode&&300<this.lastAsyncLatency_&&(c=[hzc(this)])}c&&gzc(this.combiner_,a,this.id_,c)};
var hzc=function(a){var b=a.addrBook_.title_;return new $yc(b?"Searching for matches from "+b:"Searching for more matches.",a.combiner_.handleSpecialRow)};
czc.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;gzc(this.combiner_,a,this.id_,c)};czc.prototype.dispose=function(){this.combiner_=this.matcher_=null};
var dzc=function(a,b,c){var d=this;this.query=a;this.activeRequests_={};this.storedResults_={};this.addressBooksToReport_=[];this.storedErrorCodes_=[];var e=new KQ((new wo).setEventType(4).setApiType(2));b.count(e);b.start(e,"total");this.handler=function(g,h,l,q){d.addressBooksToReport_.forEach(function(x,A){var B=d.activeRequests_[A];B=B===AQ||B instanceof Rwc?2:1;e.source().setCacheStatus(B);e.source().setAddressBook(x?Swc.get(x)||1:1);b.stop(e,"total");b.status(e,jxc(d.storedErrorCodes_[A]))});
d.addressBooksToReport_=[];c&&c(g,h,l,q)}};dzc.prototype.cancel=function(){for(var a in this.activeRequests_)this.activeRequests_[a].cancel();this.activeRequests_={}};dzc.prototype.isPending=function(){for(var a in this.activeRequests_)if(this.activeRequests_[a].isPending())return!0;return!1};dzc.prototype.addRequest=function(a,b){this.activeRequests_[a]=b};var izc={198:"AE",230:"ae",306:"IJ",307:"ij",338:"AE",339:"ae"},Qq=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=izc[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 TQ=function(a,b,c,d,e,g){yo.call(this);this.cacheMaxSize_=e||0;this.rowMatchingFunction_=g||jzc;this.cache_=new DG(this.cacheMaxSize_,!0);this.cacheSize_=a||0;this.cacheMinExpiryAge_=b||0;this.cacheMaxExpiryAge_=c||0;this.cacheByType_=!!d};ts(TQ,yo);TQ.prototype.disposeInternal=function(){TQ.superClass_.disposeInternal.call(this);this.cache_=null};TQ.prototype.clear=function(){this.cache_.clear()};
var jzc=function(a){var b=gn(Qq(a.token));return function(c){var d=new RegExp("(^|\\W+)"+b,"i");(d=null!=Qq(String(c[1])).match(d))||(d=c[0],d=null!=c[2].match(new RegExp("^"+b,"i"))&&"cl"!=String(d));return d}},kzc=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},lzc=function(a,b,c){a.cache_.set(kzc(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_)}},mzc=function(a,b,c){c=c?a.cache_.get(b):Zec(a.cache_,b);return a.isStale(c)?(a.cache_.remove(b),null):c},nzc=function(a,b,c){c=b.length-c.length;for(var d=b.length;d>=c;d--){var e=mzc(a,b,!1);if(e)return e;b=b.substr(0,d-1)}return null},ozc=function(a,b){if(b.isContactAutoComplete)return null;var c=kzc(b,a.cacheByType_),
d=nzc(a,c,b.token);return d?d:a.cacheByType_&&!Th(c,"^")?(c=kzc(b,!1),nzc(a,c,b.token)):null};TQ.prototype.isStale=function(a){return!!a&&!!this.cacheMaxExpiryAge_&&a.created+this.cacheMaxExpiryAge_<Date.now()};TQ.prototype.invalidateCache=function(a){for(var b=this.cache_.getKeys(),c=0;c<b.length;c++){var d=b[c],e={token:Zec(this.cache_,d).token};this.rowMatchingFunction_(e)(a)&&this.cache_.remove(d)}};
var pzc=function(a,b,c){this.token=a;this.matches_=b;this.partialResult_=!!c;this.count=1;this.created=Date.now()};pzc.prototype.getMatches=function(a){a&&this.count++;return this.matches_};pzc.prototype.isComplete=function(a){return!this.partialResult_||0<=a&&a<=this.matches_.length};ts(Ao,yo);f=Ao.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(Bk(a.token)&&!c.allowEmptyQueries_)var d=Qwc;else{d=a.maxMatches;var e=mzc(c,kzc(a,c.cacheByType_),!0);(d=e&&d&&!e.isComplete(d)?null:e)?d=d.getMatches():(d=ozc(c,a))&&0==d.getMatches().length?(lzc(c,a,new pzc(a.token,Qwc)),d=Qwc):d&&!d.partialResult_&&c.clientFilteringOk_?(d=d.getMatches(),d=JIb(d,c.rowMatchingFunction_(a),c),lzc(c,a,new pzc(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,AQ,this.getId(),a),AQ):this.transport_.loadContactRows(a,this.getId(),rs(this.cacheContactRowsAndInvokeHandler_,this,b))}b&&b(Qwc,AQ,this.getId(),a,4);return AQ};f.cacheContactRowsAndInvokeHandler_=function(a,b,c,d,e,g){g||lzc(this.cache_,e,new pzc(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(){Ao.superClass_.disposeInternal.call(this);this.cache_.dispose();this.cache_=null;qzc(this.transport_,this.id_);this.transport_=null};var szc=function(a,b,c){TQ.call(this,100,18E5,432E5,!0,0,c||rzc);this.clientFilteringOk_=a;this.allowEmptyQueries_=b};U(szc,TQ);var rzc=function(a){return function(b){var c=b.getType(),d;if(d=tzc(a,c)){d=new RegExp("(^|\\W+)"+gn(Qq(a.token)),"i");var e=Qq(b.getName()||"");(d=d.test(e))||(d=a.token,d=((b=b.getEmail())?(new RegExp("^"+gn(Qq(d)),"i")).test(b):!1)&&"cl"!=c)}return d}},tzc=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 vzc=function(a,b,c){this.includeDomainGroups_=!!c;b=b||new szc(!0,!1,uzc);Ao.call(this,a,b,"domain")};ts(vzc,Ao);vzc.prototype.loadContactRows=function(a,b){a.includeGroups&&!this.includeDomainGroups_&&(a=Wb(a),a.includeGroups=!1);return vzc.superClass_.loadContactRows.call(this,a,b)};
var uzc=function(a){for(var b=oRb(a.token).toLowerCase().split(/\s+/),c=[],d=[],e=0;e<b.length;e++){var g=gn(b[e]),h=new RegExp("^"+g,"i");c.push(new RegExp("(^|\\W+)"+g,"i"));d.push(h)}return function(l){if(tzc(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}};vzc.prototype.execute=function(a){a=this.transport_.execute(a);a.setAddressBookId(this.getId());return a};var wzc=function(a,b){this.personId=a;this.contactId=b.CONTACT||"";this.syntheticId=b.DOMAIN_CONTACT||"";this.profileId=b.PROFILE||b.DOMAIN_PROFILE||"";this.loggingId=""},yzc=function(a){if(!a)return xzc;var b=hMa(uo("metadata.identityInfo.sourceIds",a)),c=uo("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 wzc(a.personId||"",b)},xzc=new wzc("",{});var zzc=function(a,b){this.isLocal_=a;this.edgeIndex_=b};zzc.prototype.toString=function(){return""};var UQ=function(a,b){this.metadata_=a||{};this.edgeCollection_=b};UQ.prototype.toString=function(){return""};var Bzc=function(a){return Azc(a).some(function(b){return!b.isLocal_})};UQ.prototype.getSource=function(a){return Azc(this)[a]};UQ.prototype.hasSource=function(){return void 0<Azc(this).length};var Azc=function(a){return a.edgeCollection_?a.edgeCollection_.getSources(a.metadata_.encodedContainerId,a.metadata_.containerType):[]};UQ.prototype.getCause=function(a){return Czc(this)[a]};
var Czc=function(a){return a.edgeCollection_?Dzc(a.edgeCollection_,a.metadata_.edgeKeyInfo):[]};UQ.prototype.getContainerType=function(){return this.metadata_.containerType};var Ezc=new UQ({},null);var Fzc=function(a,b){this.email_=a;this.edgeCollection_=b;this.metadata_=null};f=Fzc.prototype;f.toString=function(){return""};f.getMetaData=function(){this.metadata_||(this.metadata_=this.hasMetaData()?new UQ(this.email_.metadata,this.edgeCollection_):Ezc);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 Gzc=new Fzc({},null);var Hzc=function(a,b){this.emails_=[];a=k(a);for(var c=a.next();!c.done;c=a.next())this.emails_.push(new Fzc(c.value,b))};f=Hzc.prototype;f.toString=function(){return""};f.getMetaData=function(){return null};f.hasMetaData=function(){return!!this.getMetaData()};f.getField=function(a){return this.emails_[a]||Gzc};f.getFieldLength=function(){return this.emails_.length};var Izc=new Hzc([],null);var Jzc=function(a,b){this.name_=a||{};this.edgeCollection_=b;this.metadata_=null};f=Jzc.prototype;f.toString=function(){return""};f.getMetaData=function(){this.metadata_||(this.metadata_=new UQ(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 Kzc=new Jzc({},null);var Lzc=function(a){this.field_=a};f=Lzc.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 Mzc=new Lzc(Kzc);var Nzc=["CONTACT","PROFILE","DOMAIN_PROFILE"],Ozc=function(a,b){this.names_=[];a=k(a);for(var c=a.next();!c.done;c=a.next())this.names_.push(new Jzc(c.value,b))};f=Ozc.prototype;f.toString=function(){return""};f.getMetaData=function(){return null};f.hasMetaData=function(){return!!this.getMetaData()};f.getField=function(a){return this.names_[a]||Kzc};f.getFieldLength=function(){return this.names_.length};var Pzc=new Ozc([],null);var Qzc=function(a,b){this.phone_=a;this.edgeCollection_=b;this.metadata_=null};f=Qzc.prototype;f.toString=function(){return""};f.getMetaData=function(){this.metadata_||(this.metadata_=this.hasMetaData()?new UQ(this.phone_.metadata,this.edgeCollection_):Ezc);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 Rzc=new Qzc({},null);var Szc=function(a,b){this.phones_=[];a=k(a);for(var c=a.next();!c.done;c=a.next())this.phones_.push(new Qzc(c.value,b))};f=Szc.prototype;f.toString=function(){return""};f.getMetaData=function(){return null};f.hasMetaData=function(){return!!this.getMetaData()};f.getField=function(a){return this.phones_[a]||Rzc};f.getFieldLength=function(){return this.phones_.length};var Tzc=new Szc([],null);var Uzc=function(a,b){this.photo_=a;this.edgeCollection_=b;this.metadata_=null};f=Uzc.prototype;f.toString=function(){return""};f.getMetaData=function(){this.metadata_||(this.metadata_=this.hasMetaData()?new UQ(this.photo_.metadata,this.edgeCollection_):Ezc);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 Vzc=new Uzc({},null);var Wzc=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 Uzc(c,b))};f=Wzc.prototype;f.toString=function(){return""};f.getMetaData=function(){return null};f.hasMetaData=function(){return!!this.getMetaData()};f.getField=function(a){return this.photos_[a]||Vzc};f.getFieldLength=function(){return this.photos_.length};var Xzc=new Wzc([],null);var VQ=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};
VQ.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_?iMa(this.getName().getValue(),this.getEmail().getField(this.emailIndex_).getValue()):"";this.text_=a}return this.text_};VQ.prototype.hasName=function(){return!!this.getName()};
VQ.prototype.getName=function(){if(!this.name_){a:{var a=nMa(this);if(a.names_.length){for(var b=k(Nzc),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 Lzc(e);break a}}a=new Lzc(a.names_[0])}else a=Mzc}this.name_=a}return this.name_};
var nMa=function(a){if(!a.nameRepeated_){var b;a.person_?b=a.person_.name:a.googleGroup_?b=a.googleGroup_.names:a.contactLabel_&&(b=[a.contactLabel_.name]);a.nameRepeated_=b?new Ozc(b,a.edgeCollection_):Pzc}return a.nameRepeated_};f=VQ.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:jMa(this.contactLabel_)}]);this.email_=a?new Hzc(a,this.edgeCollection_):Izc}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 Szc(a,this.edgeCollection_):Tzc}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 Wzc(a,this.edgeCollection_):Xzc}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 iMa=function(a,b){return a?b&&a!=b?'"'+a.replace(/[\\"]/g,"\\$&")+'" <'+b+">":a:b||""},Yzc=new VQ(null,null,null,null);var Zzc=function(){this.keyToIndex_=new Map},$zc=function(a,b,c){return c.map(function(d){return a.get(b,d)}).filter(function(d){return null!=d})};Zzc.prototype.get=function(a,b){"DOMAIN_PROFILE"===b&&(b="PROFILE");return this.contains(a,b)?this.keyToIndex_.get(this.getKey_(a,b)):null};Zzc.prototype.set=function(a,b,c){"DOMAIN_PROFILE"===b&&(b="PROFILE");this.keyToIndex_.set(this.getKey_(a,b),c)};
Zzc.prototype.contains=function(a,b){"DOMAIN_PROFILE"===b&&(b="PROFILE");return this.keyToIndex_.has(this.getKey_(a,b))};Zzc.prototype.getKey_=function(a,b){return a+"="+b};var lMa=function(a){this.evergreenProfile_=a?new VQ(a,null,null,null):Yzc};lMa.prototype.toString=function(){return""};var aAc=new lMa(null);var bAc=new zzc(!0,null),WQ=function(a){this.edgeIndexResolver_=new Zzc;this.sourcesCache_=new Map;this.encodedContainerIds_=[];this.readonlyOutgoingEdges_=mMa(a,this.edgeIndexResolver_,this.encodedContainerIds_)};WQ.prototype.get=function(a){return this.readonlyOutgoingEdges_[a]||aAc};var Dzc=function(a,b){return b?b.map(function(c){return a.edgeIndexResolver_.get(c.containerId,c.containerType)}).filter(function(c){return null!=c}):[]};WQ.prototype.getSize=function(){return this.readonlyOutgoingEdges_.length};
WQ.prototype.getSources=function(a,b){if(!a||!b)return[];if("CONTACT"===b)return[bAc];var c=a+"="+b;this.sourcesCache_.has(c)||this.sourcesCache_.set(c,$zc(this.edgeIndexResolver_,a,[b]).map(function(d){return new zzc(!1,d)}));return this.sourcesCache_.get(c)};var cAc=new WQ(null);var dAc=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 WQ(this.person_);this.emailIndex_=b;this.profile_=new VQ(this.person_,this.googleGroup_,this.contactLabel_,this.edgeCollection_,this.emailIndex_);this.photoUrl_=this.phone_=this.name_=this.allIds_=null;this.text=c?this.getName()||"":this.profile_.toString()};U(dAc,Pwc);f=dAc.prototype;
f.toString=function(){return"cl"===this.getType()?this.getEmail()||"":this.text};f.getAllIds_=function(){if(!this.allIds_){if(this.person_)var a=yzc(this.person_);else if(this.googleGroup_)if(a=this.googleGroup_){var b=hMa(a.sourceIds);a=new wzc(a.personId||"",b)}else a=xzc;else this.contactLabel_?(a=this.contactLabel_)?(b={},b.CONTACT=uo("id.id",a)||"",a=new wzc("",b)):a=xzc:a=xzc;this.allIds_=a}return this.allIds_};f.getId=function(){return this.getAllIds_().contactId};
f.getName=function(){null===this.name_&&(this.name_=oMa(this.profile_,function(a){return!!a&&!Bzc(a)}),null===this.name_&&(this.name_=eAc(this,oMa)));return this.name_};f.getEmail=function(){return this.profile_.getEmail().getField(this.emailIndex_).getValue()};f.getPhoneNumber=function(){null===this.phone_&&(this.phone_=pMa(this.profile_,function(a){return!!a&&!Bzc(a)}),null===this.phone_&&(this.phone_=eAc(this,pMa)));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_=qMa(this.profile_,function(a){return!!a&&!Bzc(a)}),null===this.photoUrl_&&(this.photoUrl_=eAc(this,qMa)));return this.photoUrl_};f.getLoggingId=function(){return this.getAllIds_().loggingId};
var eAc=function(a,b){for(var c=a.profile_.getEmail().getField(a.emailIndex_).getMetaData(),d=0;d<Czc(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<Azc(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""},fAc=function(a,b,c){c=void 0===c?!1:c;if(void 0===b?0:b)return a.map(function(q){return new dAc(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=uo("person.email",e)||uo("googleGroup.emails",e)||[];if(c||g&&g.length)for(var h=0;h<g.length;h++){var l=(uo("value",g[h])||"").trim().toLowerCase();if(c){if(b.has(l))continue;b.add(l)}d.push(new dAc(e,h))}else d.push(new dAc(e))}return d};var gAc=function(a,b,c,d,e,g,h,l,q,x,A,B,K,N,P,Y){P=void 0===P?new yQ:P;Y=void 0===Y?!1:Y;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=x?x:function(){};this.autocompletePageSize=A;this.rankedTargetsPageSize=B;this.peopleContainerMask=K.split(/[\s,]+/).filter(function(X){return!!X});this.peopleFieldMask=N;this.experiments=P;this.includeOnlyNames=
Y};gAc.prototype.setTimeout=function(a){var b=this.timeoutMs;0<a&&(this.timeoutMs=a);return b};var hAc=function(a,b){b=Error.call(this,void 0===b?"":b);this.message=b.message;"stack"in b&&(this.stack=b.stack);this.code=a};U(hAc,Error);var XQ=function(a,b,c){this.config=a;this.onAuthError_=a.onAuthError;this.timeoutMs_=a.timeoutMs;this.metrics_=a.metrics;this.metric_=new KQ(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=XQ.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_=N0b(new WA),iAc(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&&!ZLa()&&(c.params=c.params||{},c.params.key=d);c.headers=$La(d);c.root=this.config.peopleRoot;c.authType="auto";a=a.request(c)}else a=Promise.resolve({result:{}});return this.promise_=X0b(Q0b([a,f1b(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{iAc(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 WA)c=1,d=11;else if(a instanceof hAc)c=a.code,d=ixc(c);else if(a&&"object"===typeof a){var e=uo("result.error.code",a)||a.status,g=e;g=Number(g);c=fxc.has(g)?fxc.get(g):200<=g&&300>g?0:400<=g&&500>g?9:500<=g&&600>g?13:2;d=ixc(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),iAc(this,null,d,b)}};
var iAc=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 jAc=function(a,b,c){var d=(new wo).setEventType(2).setRpcType(1).setToken(b);XQ.call(this,a,d,c);this.clientId_=a.clientId;this.clientName_=a.clientName;this.clientVersion_=a.clientVersion;this.delegatorId_=a.delegatorId;this.token_=b;this.pageSize_=a.autocompletePageSize};U(jAc,XQ);
jAc.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}};
jAc.prototype.processResponse=function(a){var b=a.status;if(b){if(b.personalResultsNotReady)throw new hAc(14,"PersonalResultsNotReady");if(b.requestThrottled)throw new hAc(8,"RequestThrottled");if(b.containsPartialResults)throw new hAc(8,"ContainsPartialResults");}return fAc(a.results||[],this.config.includeOnlyNames)};var kAc=function(a,b){this.person_=a;this.allIds_=null;this.edgeCollection_=b;this.profile_=this.person_?new VQ(this.person_,null,null,this.edgeCollection_):Yzc};f=kAc.prototype;f.toString=function(){return""};f.getAllIds_=function(){this.allIds_||(this.allIds_=yzc(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 lAc=new kAc(null,cAc);var mAc=function(a){a=void 0===a?null:a;this.edgeCollection_=new WQ(a);this.contact_=a?new kAc(a,this.edgeCollection_):lAc};f=mAc.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 nAc=function(a,b,c){XQ.call(this,a,(new wo).setEventType(2).setRpcType(3).setLookupType(4),c);this.clientName_=a.clientName;this.clientVersion_=a.clientVersion;this.delegatorId_=a.delegatorId;this.personIds_=b.filter(function(d){return!!d});this.peopleContainerMask_=a.peopleContainerMask;this.peopleFieldMask_=a.peopleFieldMask};U(nAc,XQ);
nAc.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}};nAc.prototype.processResponse=function(a){return(a.personResponse||[]).filter(function(b){return"SUCCESS"==b.status}).map(function(b){return new mAc(b.person)})};var YQ=function(a,b,c,d){XQ.call(this,a,eMa(b),d);this.clientName_=a.clientName;this.clientVersion_=a.clientVersion;this.delegatorId_=a.delegatorId;this.lookupType_=oAc(b);this.knownIds_=c.filter(function(e){return!!e});this.peopleContainerMask_=a.peopleContainerMask;this.peopleFieldMask_=a.peopleFieldMask};U(YQ,XQ);
YQ.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}};
YQ.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 mAc(g))});return d};var oAc=function(a){switch(a){case 1:return"EMAIL";case 2:return"PHONE";case 3:return"CONTACT";case 5:return"SYNTHETIC";default:return""}};var pAc=function(a,b){XQ.call(this,a,(new wo).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_=[];Jj(a.experiments,6,!0)&&this.peopleExtensionNames_.push("FILTER_TO_PRIMARY")};U(pAc,XQ);
pAc.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}};pAc.prototype.processResponse=function(a){return fAc(a.rankedTarget||[],this.config.includeOnlyNames,!0)};f=rMa.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 qAc=new Map([[1,4],[2,2],[3,1],[4,7]]),tAc=function(a,b){BA.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 KQ((new wo).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?rAc(c,d):sAc(c,5)},function(d){c.metrics_.logError("gapi.client failed to load: "+d,d);sAc(c,5)})};
U(tAc,BA);var rAc=function(a,b){b&&b.request?(dMa(),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 uAc(a,d,e)})})):sAc(a,9)};tAc.prototype.disposeInternal=function(){for(var a=k(this.queuedRequests_.keys()),b=a.next();!b.done;b=a.next())qzc(this,b.value)};
var sAc=function(a,b){a.metrics_.status(a.gapiMetric_,b);a.gapiFailed_=!0;a.disposeInternal()},qzc=function(a,b){b=b||"";a.queuedRequests_.has(b)&&(vAc(a.queuedRequests_.get(b)),a.queuedRequests_.delete(b))},wAc=function(a,b,c){a.gapiFailed_?c.cancel():(gMa(a,b).push(c),uAc(a,b,c))},uAc=function(a,b,c){a.gapiClient_&&X0b(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)}})},gMa=function(a,b){b=b||"";if(a.queuedRequests_.has(b))return a.queuedRequests_.get(b);
var c=[];a.queuedRequests_.set(b,c);return c},vAc=function(a){a&&a.length&&(a.forEach(function(b){return b.cancel()}),a.length=0)};tAc.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 jAc(this.config_,d,e):new pAc(this.config_,e);wAc(this,b,g);return g};
tAc.prototype.execute=function(a){if(a.isMutate())return this.metrics_.status(new KQ((new wo).setEventType(2).setRpcType(4)),12),xAc(a);var b=a.getQueryParameters&&a.getQueryParameters()||{},c=b.addressBookId,d=function(A,B){if(B)a.setResponse(lxc(B,h));else{B=new rMa(b);B.contacts_=A;A=a.setResponse;var K=new kxc(h);K.queryResponse_=B;K.errorCode_=B.getError();A.call(a,K)}},e=this.config_.setTimeout(yAc(a));try{var g=b.emailAddresses||[];if(g.length)var h=new YQ(this.config_,1,g,d);else{var l=b.contactIds||
[];if(l.length)h=new YQ(this.config_,3,l,d);else{var q=b.profileIds||[];if(q.length)h=new nAc(this.config_,q,d);else{var x=b.syntheticIds||[];if(x.length)h=new YQ(this.config_,5,x,d);else return this.metrics_.status(new KQ((new wo).setEventType(2)),12),xAc(a)}}}}finally{this.config_.setTimeout(e)}h.setQuery(a);wAc(this,c,h);return h};var xAc=function(a){var b=new Rwc(function(){return a.setResponse(lxc(5,b))});b.setQuery(a);return b};var zAc=function(a,b,c,d){Ao.call(this,a,b,c,d)};U(zAc,Ao);zAc.prototype.execute=function(a){a.isMutate()&&a.addSuccessCallback(rs(this.handleExecuteResponse_,this,a));a=this.transport_.execute(a);a.setAddressBookId(this.getId());return a};zAc.prototype.handleExecuteResponse_=function(a,b){if(b.hasChanges()){var c=b.mutateResponse_;if(a.getNotifyOnChange()||c&&c.getError())a=new xxc([b.mutateResponse_],"g"),this.dispatchEvent(a)}};var AAc=function(a,b,c){b=b||new szc(!0,!0);Ao.call(this,a,b,"personal",c)};U(AAc,zAc);AAc.prototype.configure=function(a,b){zAc.prototype.configure.call(this,a,b)};var BAc=function(){throw Error("Hd");};var CAc={},DAc={},EAc={},FAc={},GAc={},ZQ=function(){throw Error("Jd");};ZQ.prototype.contentDir=null;ZQ.prototype.getContent=function(){return this.content};ZQ.prototype.toString=function(){return this.content};ZQ.prototype.toSafeHtml=function(){if(this.contentKind!==CAc)throw Error("Kd");return Dg(this.toString())};var HAc=function(){ZQ.call(this)};ts(HAc,ZQ);HAc.prototype.contentKind=CAc;var IAc=function(){ZQ.call(this)};ts(IAc,ZQ);IAc.prototype.contentKind=DAc;IAc.prototype.contentDir=1;var $Q=function(a,b){return null!=a&&a.contentKind===b};var JAc=function(a){if(null!=a)switch(a.contentDir){case 1:return 1;case -1:return-1;case 0:return 0}return null},pq=function(a){return $Q(a,CAc)?a:a instanceof Cg?lq(gk(a).toString()):a instanceof Cg?lq(gk(a).toString()):lq(String(String(a)).replace(KAc,LAc),JAc(a))},lq=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}}(HAc),MAc=function(a){if(null==a)throw Error("Ld");return a},aR=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}}(HAc),NAc=function(a){function b(c){this.content=c}b.prototype=a.prototype;return function(c){return(c=String(c))?new b(c):""}}(IAc),qq=function(a){return $Q(a,CAc)?a:lq(OAc(a,PAc),JAc(a))},QAc=RegExp("^<(?:area|base|br|col|command|embed|hr|img|input|keygen|link|meta|param|source|track|wbr)\\b"),OAc=function(a,b){if(!b)return String(a).replace(RAc,"").replace(SAc,"&lt;");a=String(a).replace(/\[/g,
"&#91;");var c=[],d=[];a=a.replace(RAc,function(g,h){if(h&&(h=h.toLowerCase(),b.hasOwnProperty(h)&&b[h])){var l=c.length,q="</",x="";if("/"!=g.charAt(1)){q="<";for(var A;A=TAc.exec(g);)if(A[1]&&"dir"==A[1].toLowerCase()){if(g=A[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)x=' dir="'+g+'"'}break}TAc.lastIndex=0}c[l]=q+h+">";d[l]=x;return"["+l+"]"}return""});a=String(a).replace(UAc,LAc);var e=VAc(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},WAc=function(a){return a.replace(/<\//g,"<\\/").replace(/\]\]>/g,"]]\\>")},VAc=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]="":QAc.test(e)||b.push("</"+e.substring(1))}return b.reverse().join("")},oq=function(a){return $Q(a,CAc)?String(OAc(a.getContent())).replace(UAc,
LAc):String(a).replace(KAc,LAc)},$Ac=function(a){$Q(a,DAc)||$Q(a,EAc)?a=bR(a):a instanceof Xb?a=bR(Yb(a)):a instanceof Xb?a=bR(Yb(a)):a instanceof Uu?a=bR(vh(a).toString()):a instanceof Uu?a=bR(vh(a).toString()):(a=String(a),a=XAc.test(a)?a.replace(YAc,ZAc):"about:invalid#zSoyz");return a},bBc=function(a){$Q(a,DAc)||$Q(a,EAc)?a=bR(a):a instanceof Xb?a=bR(Yb(a)):a instanceof Xb?a=bR(Yb(a)):a instanceof Uu?a=bR(vh(a).toString()):a instanceof Uu?a=bR(vh(a).toString()):(a=String(a),a=aBc.test(a)?a.replace(YAc,
ZAc):"about:invalid#zSoyz");return a},cR=function(a){$Q(a,GAc)?a=WAc(a.getContent()):null==a?a="":a instanceof Vu?a=WAc(aRb(a)):a instanceof Vu?a=WAc(aRb(a)):a instanceof Wu?a=WAc(cRb(a)):a instanceof Wu?a=WAc(cRb(a)):(a=String(a),a=cBc.test(a)?a:"zSoyz");return a},dBc={"\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;"},LAc=function(a){return dBc[a]},eBc={"\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"},ZAc=function(a){return eBc[a]},KAc=/[\x00\x22\x26\x27\x3c\x3e]/g,UAc=/[\x00\x22\x27\x3c\x3e]/g,YAc=/[\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,cBc=/^(?!-*(?: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,
XAc=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i,aBc=/^[^&:\/?#]*(?:[\/?#]|$)|^https?:|^ftp:|^data:image\/[a-z0-9+]+;base64,[a-z0-9+\/]+=*$|^blob:/i,fBc=/^(?!on|src|(?:action|archive|background|cite|classid|codebase|content|data|dsync|href|http-equiv|longdesc|style|usemap)\s*$)(?:[a-z0-9_$:-]*)$/i,bR=function(a){return String(a).replace(YAc,ZAc)},RAc=/<(?:!|\/?([a-zA-Z][a-zA-Z0-9:\-]*))(?:[^>'"]|"[^"]*"|'[^']*')*>/g,SAc=/</g,PAc={b:!0,br:!0,em:!0,i:!0,s:!0,strong:!0,sub:!0,sup:!0,u:!0},
TAc=/([a-zA-Z][a-zA-Z0-9:\-]*)[\t\n\r\u0020]*=[\t\n\r\u0020]*("[^"]*"|'[^']*')/g;var sMa={};var dR=function(a,b,c){yo.call(this);this.matcher_=a;this.selectionHandler_=c;this.renderer_=b;zo(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_={}};ts(dR,yo);f=dR.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_[gBc(this,a)];c=!!d&&b.isRowDisabled&&b.isRowDisabled(d);d&&!c&&this.hiliteId_!=a&&this.hiliteId(a)}c||this.selectHilited();break;case "canceldismiss":hBc(this);break;case "dismiss":iBc(this)}};
f.setToken=function(a){this.token_!=a&&(this.token_=a,this.matcher_.requestMatchingRows(this.token_,this.maxMatches_,rs(this.matchListener_,this)),hBc(this))};f.getTarget=function(){return this.target_};f.setTarget=function(a){this.target_=a};f.isOpen=function(){return this.renderer_.isVisible()};var jBc=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}};
dR.prototype.hiliteId=function(a){var b=gBc(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)};
dR.prototype.selectHilited=function(){var a=gBc(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=kBc(c,c.getValue(),c.getCursorPosition()),g=lBc(c,c.getValue());c.separatorCheck_&&!c.separatorCheck_.test(d)&&(d=d.replace(/[\s\xa0]+$/,"")+c.defaultSeparator_);0==e||Bk(g[e-1])||(d=" "+d);e==g.length-1&&(d+=" ");if(d!=g[e]){g[e]=d;d=c.activeElement_;(xs||vs)&&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_;mBc(g)&&(g.selectionStart=e);g=c.activeElement_;mBc(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};
dR.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 iBc=function(a){a.dismissTimer_||(a.dismissTimer_=window.setTimeout(rs(a.dismiss,a),100))};
dR.prototype.immediatelyCancelDelayedDismiss_=function(){return this.dismissTimer_?(window.clearTimeout(this.dismissTimer_),this.dismissTimer_=null,!0):!1};var hBc=function(a){a.immediatelyCancelDelayedDismiss_()||window.setTimeout(rs(a.immediatelyCancelDelayedDismiss_,a),10)};dR.prototype.disposeInternal=function(){dR.superClass_.disposeInternal.call(this);delete this.inputToAnchorMap_;this.renderer_.dispose();this.selectionHandler_.dispose();this.matcher_=null};
dR.prototype.matchListener_=function(a,b,c){this.token_==a&&this.renderRows(b,c)};
dR.prototype.renderRows=function(a,b){var c="object"==Qb(b)&&b;b=(c?c.getPreserveHilited():b)?gBc(this,this.hiliteId_):-1;this.firstRowId_+=this.rows_.length;this.rows_=a;for(var d=[],e=0;e<a.length;++e)d.push({id:this.firstRowId_+e,data:a[e]});a=null;this.target_&&(a=this.inputToAnchorMap_[xa(this.target_)]||this.target_);this.renderer_.anchorElement_=a;this.renderer_.renderRows(d,this.token_,this.target_);a=!0;c&&void 0!==c.getAutoHilite()&&(a=c.getAutoHilite());this.hiliteId_=-1;(a||0<=b)&&0!=
d.length&&this.token_&&(0<=b?this.hiliteId(this.firstRowId_+b):jBc(this));this.dispatchEvent("suggestionsupdate")};var gBc=function(a,b){b-=a.firstRowId_;return 0>b||b>=a.rows_.length?-1:b};dR.prototype.attachInputs=function(a){var b=this.selectionHandler_;b.attachInputs.apply(b,arguments)};dR.prototype.detachInputs=function(a){var b=this.selectionHandler_;b.detachInputs.apply(b,arguments);Array.prototype.forEach.call(arguments,function(c){Vb(this.inputToAnchorMap_,xa(c))},this)};
dR.prototype.update=function(a){this.selectionHandler_.update(a)};var nBc=function(a,b){var c=0,d=0;mBc(a)&&(c=a.selectionStart,d=b?-1:a.selectionEnd);return[c,d]},mBc=function(a){try{return"number"==typeof a.selectionStart}catch(b){return!1}};var qBc=function(a,b,c,d,e,g){if(Yp&&e)return oBc(a);if(e&&!d)return!1;if(!xs){"number"===typeof b&&(b=pBc(b));var h=17==b||18==b||Yp&&91==b;if((!c||Yp)&&h||Yp&&16==b&&(d||g))return!1}if((ys||ws)&&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(vs&&d&&b==a)return!1;switch(a){case 13:return xs?g||e?!1:!(c&&d):!0;case 27:return!(ys||ws||xs)}return xs&&(d||e||g)?!1:oBc(a)},oBc=function(a){if(48<=a&&57>=a||96<=a&&106>=
a||65<=a&&90>=a||(ys||ws)&&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 xs;default:return!1}},pBc=function(a){if(xs)a=rBc(a);else if(Yp&&ys)switch(a){case 93:a=91}return a},rBc=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 sBc=function(a,b,c,d){EA.call(this,d);this.type="key";this.keyCode=a;this.charCode=b;this.repeat=c};ts(sBc,EA);var tBc=function(a,b){yo.call(this);a&&this.attach(a,b)};ts(tBc,yo);f=tBc.prototype;f.element_=null;f.keyPressKey_=null;f.keyDownKey_=null;f.keyUpKey_=null;f.lastKey_=-1;f.keyCode_=-1;f.altKey_=!1;
var uBc={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},vBc={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},wBc=Yp&&xs;f=tBc.prototype;
f.handleKeyDown_=function(a){(ys||ws)&&(17==this.lastKey_&&!a.ctrlKey||18==this.lastKey_&&!a.altKey||Yp&&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));qBc(a.keyCode,this.lastKey_,a.shiftKey,a.ctrlKey,a.altKey,a.metaKey)?(this.keyCode_=pBc(a.keyCode),wBc&&(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(vs&&"keypress"==a.type){var d=this.keyCode_;var e=13!=d&&27!=d?b.keyCode:0}else(ys||ws)&&"keypress"==a.type?(d=this.keyCode_,e=0<=b.charCode&&63232>b.charCode&&oBc(d)?b.charCode:0):("keypress"==a.type?(wBc&&(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),Yp&&63==e&&224==d&&(d=191));var g=d=pBc(d);d?63232<=
d&&d in uBc?g=uBc[d]:25==d&&a.shiftKey&&(g=9):b.keyIdentifier&&b.keyIdentifier in vBc&&(g=vBc[b.keyIdentifier]);if(!xs||"keypress"!=a.type||qBc(g,this.lastKey_,a.shiftKey,a.ctrlKey,c,a.metaKey))a=g==this.lastKey_,this.lastKey_=g,b=new sBc(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_=zo(this.element_,"keypress",this,b);this.keyDownKey_=zo(this.element_,"keydown",this.handleKeyDown_,b,this);this.keyUpKey_=zo(this.element_,"keyup",this.handleKeyup_,b,this)};f.detach=function(){this.keyPressKey_&&(JA(this.keyPressKey_),JA(this.keyDownKey_),JA(this.keyUpKey_),this.keyUpKey_=this.keyDownKey_=this.keyPressKey_=null);this.element_=null;this.keyCode_=this.lastKey_=-1};
f.disposeInternal=function(){tBc.superClass_.disposeInternal.call(this);this.detach()};var eR=function(a,b,c,d){BA.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 XA(d):null;this.eh_=new bq(this);this.activateHandler_=new bq(this);this.keyHandler_=new tBc;this.lastKeyCode_=-1};
ts(eR,BA);f=eR.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 nBc(this.activeElement_,!0)[0]};
f.attachInputs=function(a){for(var b=0;b<arguments.length;b++){var c=arguments[b];SA(c)&&(zL(c,"combobox"),AL(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_),SA(c))){var d=MA(c);try{var e=d&&d.activeElement;var g=e&&e.nodeName?e:null}catch(h){g=null}g==c&&xBc(this,c)}}};
f.detachInputs=function(a){for(var b=0;b<arguments.length;b++){var c=arguments[b];SA(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(){eR.superClass_.disposeInternal.call(this);this.eh_.dispose();delete this.eh_;this.activateHandler_.dispose();this.keyHandler_.dispose();ph(this.timer_)};
var zBc=function(a,b){switch(b.keyCode){case 40:if(a.ac_.isOpen()){jBc(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}}yBc(a,b)},yBc=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()};eR.prototype.handleKeyUp=function(){return!1};eR.prototype.handleFocus=function(a){xBc(this,a.target||null)};
var xBc=function(a,b){a.activateHandler_.removeAll();a.ac_&&hBc(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_),vs&&a.eh_.listen(a.activeElement_,"keypress",a.onIeKeyPress_))};f=eR.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_),vs&&this.eh_.unlisten(this.activeElement_,"keypress",this.onIeKeyPress_),this.waitingForIme_&&ABc(this),this.activeElement_=null,this.timer_&&(this.timer_.stop(),this.eh_.unlisten(this.timer_,"tick",this.onTick_)),this.ac_&&iBc(this.ac_))};
f.onTick_=function(){this.update()};f.onKeyDownOnInactiveElement_=function(a){this.handleFocus(a)};f.onKey_=function(a){this.lastKeyCode_=a.keyCode;this.ac_&&zBc(this,a)};f.onKeyPress_=function(){this.waitingForIme_&&229!=this.lastKeyCode_&&ABc(this)};f.onKeyUp_=function(a){this.waitingForIme_&&(13==a.keyCode||77==a.keyCode&&a.ctrlKey)&&ABc(this)};f.onMouseDown_=function(){};
var ABc=function(a){a.waitingForIme_&&(a.waitingForIme_=!1,a.eh_.unlisten(a.activeElement_,"keypress",a.onKeyPress_),a.eh_.unlisten(a.activeElement_,"keyup",a.onKeyUp_))};eR.prototype.onIeKeyPress_=function(a){yBc(this,a)};
eR.prototype.update=function(a){if(this.activeElement_&&(a||this.getValue()!=this.lastValue_)){if(a||!this.rowJustSelected_){a=this.getCursorPosition();var b=this.getValue();a=lBc(this,b)[kBc(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 kBc=function(a,b,c){a=lBc(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},lBc=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 BBc=function(a){return"string"==typeof a.className?a.className:a.getAttribute&&a.getAttribute("class")||""},CBc=function(a){return a.classList?a.classList:BBc(a).match(/\S+/g)||[]},DBc=function(a,b){"string"==typeof a.className?a.className=b:a.setAttribute&&a.setAttribute("class",b)},EBc=function(a,b){return a.classList?a.classList.contains(b):qa(CBc(a),b)},FBc=function(a,b){if(a.classList)a.classList.add(b);else if(!EBc(a,b)){var c=BBc(a);DBc(a,c+(0<c.length?" "+b:b))}},GBc=function(a,b){if(a.classList)Array.prototype.forEach.call(b,
function(e){FBc(a,e)});else{var c={};Array.prototype.forEach.call(CBc(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;DBc(a,b)}},HBc=function(a,b){a.classList?a.classList.remove(b):EBc(a,b)&&DBc(a,Array.prototype.filter.call(CBc(a),function(c){return c!=b}).join(" "))},IBc=function(a,b){a.classList?Array.prototype.forEach.call(b,function(c){HBc(a,c)}):DBc(a,Array.prototype.filter.call(CBc(a),function(c){return!qa(b,c)}).join(" "))};var JBc=function(a,b,c){BA.call(this);this.listener_=a;this.interval_=b||0;this.handler_=c;this.callback_=rs(this.doAction_,this)};ts(JBc,BA);f=JBc.prototype;f.id_=0;f.disposeInternal=function(){JBc.superClass_.disposeInternal.call(this);this.stop();delete this.listener_;delete this.handler_};f.start=function(a){this.stop();this.id_=Wn(this.callback_,void 0!==a?a:this.interval_)};f.stop=function(){this.isActive()&&Xn(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 KBc=function(a,b){if(b&&a in b)return a;var c=ys?"Webkit":xs?"Moz":vs?"ms":null;return c?(c=c.toLowerCase(),a=c+Zh(a),void 0===b||a in b?a:null):null};var fR=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};f=fR.prototype;f.getWidth=function(){return this.right-this.left};f.getHeight=function(){return this.bottom-this.top};f.clone=function(){return new fR(this.top,this.right,this.bottom,this.left)};f.contains=function(a){return this&&a?a instanceof fR?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){va(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 fq?(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 gR=function(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d};gR.prototype.clone=function(){return new gR(this.left,this.top,this.width,this.height)};var $db=function(a){return new gR(a.left,a.top,a.right-a.left,a.bottom-a.top)};
gR.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 LBc=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 gR(c,e,d-c,a-e)}return null};
f=gR.prototype;f.contains=function(a){return a instanceof fq?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 KA(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 fq?(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 hR=function(a,b){var c=MA(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""},up=function(a,b){return hR(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]},iq=function(a,b,c){if(b instanceof fq){var d=b.x;b=b.y}else d=b,b=c;a.style.left=iR(d,!1);a.style.top=iR(b,!1)},MBc=function(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}},NBc=function(a){if(vs&&!(8<=
Number(zs)))return a.offsetParent;var b=MA(a),c=up(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=up(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},eq=function(a){for(var b=new fR(0,Infinity,Infinity,0),c=Bo(a),d=c.document_.body,e=c.document_.documentElement,g=k0b(c.document_);a=
NBc(a);)if(!(vs&&0==a.clientWidth||ys&&0==a.clientHeight&&a==d)&&a!=d&&a!=e&&"visible"!=up(a,"overflow")){var h=jR(a),l=new fq(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},QBc=function(a,b){b=b||k0b(document);var c=b||k0b(document);var d=jR(a),e=jR(c);if(!vs||9<=Number(zs)){h=hR(c,"borderLeftWidth");var g=hR(c,"borderRightWidth");l=hR(c,"borderTopWidth");q=hR(c,"borderBottomWidth");g=new fR(parseFloat(l),parseFloat(g),parseFloat(q),parseFloat(h))}else{var h=OBc(c,"borderLeft");g=OBc(c,"borderRight");var l=OBc(c,"borderTop"),q=OBc(c,"borderBottom");g=new fR(l,g,q,h)}c==k0b(document)?(h=d.x-c.scrollLeft,d=d.y-c.scrollTop,
!vs||10<=Number(zs)||(h+=g.left,d+=g.top)):(h=d.x-e.x-g.left,d=d.y-e.y-g.top);a=PBc(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 fq(g,l);b.scrollLeft=c.x;b.scrollTop=c.y},jR=function(a){var b=MA(a),c=new fq(0,0);var d=b?MA(b):document;d=!vs||9<=Number(zs)||j0b(Bo(d).document_)?d.documentElement:d.body;if(a==d)return c;a=MBc(a);b=PA(Bo(b).document_);c.x=a.left+b.x;c.y=a.top+b.y;return c},aeb=function(a,
b,c){if(b.document_!=c.document_){var d=b.document_.body;c=c.getWindow();var e=new fq(0,0),g=QA(MA(d));if(NIb(g,"parent")){var h=d;do{if(g==c)var l=jR(h);else l=MBc(h),l=new fq(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=gq(e,jR(d));!vs||9<=Number(zs)||j0b(b.document_)||(d=gq(d,PA(b.document_)));a.left+=d.x;a.top+=d.y}},RBc=function(a,b,c){if(b instanceof KA)c=b.height,b=b.width;else if(void 0==c)throw Error("Od");a.style.width=iR(b,!0);a.style.height=
iR(c,!0)},iR=function(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a},hq=function(a){var b=PBc;if("none"!=up(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},PBc=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=ys&&!b&&!c;return(void 0===b||d)&&a.getBoundingClientRect?(a=MBc(a),new KA(a.right-a.left,a.bottom-a.top)):new KA(b,c)},dq=
function(a){var b=jR(a);a=hq(a);return new gR(b.x,b.y,a.width,a.height)},SBc=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)+")")},kR=function(a,b){a.style.display=b?"":"none"},lR=function(a){return"rtl"==up(a,"direction")},TBc=xs?"MozUserSelect":ys||ws?"WebkitUserSelect":null,UBc=function(a){var b=a.getElementsByTagName("*");if(TBc){var c="none";a.style&&(a.style[TBc]=c);if(b){a=0;for(var d;d=b[a];a++)d.style&&
(d.style[TBc]=c)}}else if(vs&&(c="on",a.setAttribute("unselectable",c),b))for(a=0;d=b[a];a++)d.setAttribute("unselectable",c)},feb=function(a,b){a=a.style;xs?a.MozBoxSizing="border-box":ys?a.WebkitBoxSizing="border-box":a.boxSizing="border-box";a.width=Math.max(b.width,0)+"px";a.height=Math.max(b.height,0)+"px"},VBc=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},WBc=function(a,b){return(b=a.currentStyle?a.currentStyle[b]:null)?VBc(a,b):0},XBc=function(a){if(vs){var b=WBc(a,"marginLeft"),c=WBc(a,"marginRight"),d=WBc(a,"marginTop");a=WBc(a,"marginBottom");return new fR(d,c,a,b)}b=hR(a,"marginLeft");c=hR(a,"marginRight");d=hR(a,"marginTop");a=hR(a,"marginBottom");return new fR(parseFloat(d),parseFloat(c),parseFloat(a),parseFloat(b))},YBc={thin:2,medium:4,thick:6},OBc=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 YBc?YBc[b]:VBc(a,b)};var ZBc=function(){if(QIb){var a=/Windows NT ([0-9.]+)/;return(a=a.exec(ca()))?a[1]:"0"}return Yp?(a=/1[0|1][_.][0-9_.]+/,(a=a.exec(ca()))?a[0].replace(/_/g,"."):"10"):TIb?(a=/Android\s+([^\);]+)(\)|;)/,(a=a.exec(ca()))?a[1]:""):UIb||VIb||WIb?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(a=a.exec(ca()))?a[1].replace(/_/g,"."):""):""}();var mR=function(a){return(a=a.exec(ca()))?a[1]:""},$Bc=function(){if(fJb)return mR(/Firefox\/([0-9.]+)/);if(vs||ws||OIb)return cJb;if(jJb){if(la()||qaa()){var a=mR(/CriOS\/([0-9.]+)/);if(a)return a}return mR(/Chrome\/([0-9.]+)/)}if(kJb&&!la())return mR(/Version\/([0-9.]+)/);if(gJb||hJb){if(a=/Version\/(\S+).*Mobile\/(\S+)/.exec(ca()))return a[1]+"."+a[2]}else if(iJb)return(a=mR(/Android\s+([0-9.]+)/))?a:mR(/Version\/([0-9.]+)/);return""}();var Zdb=function(a){if(a=a.offsetParent){var b="HTML"==a.tagName||"BODY"==a.tagName;if(!b||"static"!=up(a,"position")){var c=jR(a);if(!b){b=lR(a);var d;if(d=b){d=kJb&&0<=taa($Bc,10);var e;if(e=XIb)e=0<=taa(ZBc,10);var g=jJb&&0<=taa($Bc,85);d=xs||d||e||g}b=d?-a.scrollLeft:b&&!fp&&"visible"!=up(a,"overflowX")?a.scrollWidth-a.clientWidth-a.scrollLeft:a.scrollLeft;c=gq(c,new fq(b,a.scrollTop))}}}return c||new fq},ceb=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 gR(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}},beb=function(a,b){return(b&8&&lR(a)?b^4:b)&
-9};var Zp=function(){};Zp.instance_=void 0;Zp.getInstance=function(){return Zp.instance_?Zp.instance_:Zp.instance_=new Zp};Zp.prototype.nextId_=0;Zp.prototype.idPrefix_="";Zp.prototype.setIdPrefix=function(a){this.idPrefix_=a};var Np=function(a){return a.idPrefix_+":"+(a.nextId_++).toString(36)};var nR=function(a,b,c,d){yo.call(this);this.parent_=a||document.body;this.dom_=Bo(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};ts(nR,yo);nR.prototype.getElement=function(){return this.element_};
nR.prototype.renderRows=function(a,b,c){this.token_=b;this.rows_=a;this.hilitedRow_=-1;this.startRenderingRows_=Date.now();this.target_=c;this.rowDivs_=[];aCc(this)};nR.prototype.dismiss=function(){this.visible_&&(this.visible_=!1,bCc(this,!1),kR(this.element_,!1))};nR.prototype.show=function(){this.visible_||(this.visible_=!0,bCc(this,!0),kR(this.element_,!0))};
var bCc=function(a,b){a.target_&&(AL(a.target_,"haspopup",b),AL(a.element_,"expanded",b),AL(a.target_,"expanded",b),b?AL(a.target_,"owns",a.element_.id):(a.target_.removeAttribute("aria-owns"),BL(a.target_,null)))};nR.prototype.isVisible=function(){return this.visible_};
var cCc=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_&&IBc(a.rowDivs_[a.hilitedRow_],["ac-active","active"]),a.hilitedRow_=b,d&&(GBc(d,["ac-active","active"]),a.target_&&BL(a.target_,d),QBc(d,a.element_)))};nR.prototype.hiliteId=function(a){if(-1==a)cCc(this,-1);else for(var b=0;b<this.rows_.length;b++)if(this.rows_[b].id==a){cCc(this,b);break}};
var dCc=function(a){if(!a.element_){var b=a.dom_.createDom("DIV",{style:"display:none"});a.element_=b;GBc(b,Vh(a.className).split(" "));zL(b,"listbox");b.id=Np(Zp.getInstance());a.dom_.appendChild(a.parent_,b);zo(b,"click",a.handleClick_,!1,a);zo(b,"mousedown",a.handleMouseDown_,!1,a);zo(b,"mouseover",a.handleMouseOver_,!1,a)}},aCc=function(a){dCc(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:Np(Zp.getInstance())});zL(d,"option");this.customRenderer_&&this.customRenderer_.renderRow?this.customRenderer_.renderRow(b,c,d):r0b(d,b.data.toString());c&&this.useStandardHighlighting_&&(this.wasHighlightedAtLeastOnce_=!1,eCc(this,d,c));FBc(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(),UBc(a.element_))};
nR.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=Zdb(c),g=dq(a),h=eq(a);h&&g.intersection($db(h));aeb(g,Bo(a),Bo(c));a=beb(a,b);b=g.left;a&4?b+=g.width:a&2&&(b+=g.width/2);a=new fq(b,g.top+(a&1?g.height:0));a=gq(a,e);if(g=eq(c))g.top-=e.y,g.right-=e.x,g.bottom-=e.y,g.left-=e.x;e=a.clone();a=beb(c,d);d=hq(c);b=d.clone();e=ceb(e,b,a,null,g,65);e.status&496||(g=e.rect,iq(c,new fq(g.left,
g.top)),b=e.rect.getSize(),eeb(d,b)||feb(c,b))}};nR.prototype.getTarget=function(){return this.target_||null};nR.prototype.disposeInternal=function(){this.element_&&(IA(this.element_,"click",this.handleClick_,!1,this),IA(this.element_,"mousedown",this.handleMouseDown_,!1,this),IA(this.element_,"mouseover",this.handleMouseOver_,!1,this),this.dom_.removeNode(this.element_),this.element_=null,this.visible_=!1);ph(this.animation_);this.parent_=null;nR.superClass_.disposeInternal.call(this)};
var eCc=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=fCc(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&&eCc(a,b,d)}}else for(b=b.firstChild;b;)d=b.nextSibling,eCc(a,b,c),b=d},fCc=function(a,b){var c="";if(!b)return c;Array.isArray(b)&&(b=b.filter(function(d){return!Bk(Ak(d))}));a.highlightAllTokens_?
Array.isArray(b)?c=b.map(gn).join("|"):(c=oRb(b),c=gn(c),c=c.replace(/ /g,"|")):Array.isArray(b)?c=0<b.length?gn(b[0]):"":/^\W/.test(b)||(c=gn(b));return c},gCc=function(a,b){for(;b&&b!=a.element_&&!EBc(b,"ac-row");)b=b.parentNode;return b?a.rowDivs_.indexOf(b):-1};nR.prototype.handleClick_=function(a){var b=gCc(this,a.target);0<=b&&this.dispatchEvent({type:"select",row:this.rows_[b].id});a.stopPropagation()};nR.prototype.handleMouseDown_=function(a){a.stopPropagation();a.preventDefault()};
nR.prototype.handleMouseOver_=function(a){a=gCc(this,a.target);0<=a&&!(300>Date.now()-this.startRenderingRows_)&&this.dispatchEvent({type:"hilite",row:this.rows_[a].id})};var oR=function(a,b,c,d,e,g,h,l,q,x){g=g||new eR(",;",'"');h=new nR(h||null,q||this,x);h.reposition_=!0;h.className=b;h.highlightAllTokens_=!0;dR.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};ts(oR,dR);
var iCc=function(a,b,c,d,e,g,h){b=new oR(null,b,void 0,g,c,d,e,void 0,void 0,h);wC(a);rs(hCc,null,b,!0);throw Error("Id");},jCc=function(a,b,c,d,e,g,h){b=new oR(null,b,void 0,g,c,d,e,void 0,void 0,h);c=hCc;e=a.getClientInfo();d=(g=Jj(e,10)||Jj(a.getExperiments(),5,!0))?new azc(void 0,Zyc(a)):new SQ(void 0,Zyc(a));h=Nq(new fyc(a,1));var l=a.getUserInfo().getEnvType()||1;var q=qAc.get(l)||4;q=aMa("people-pa",void 0===q?0:q);l=4===l?V(a.getClientInfo(),2)||"":V(a.getClientInfo(),1)||"";var x=V(a.getClientInfo(),
4),A=V(a.getClientInfo(),5),B=V(a.getClientInfo(),6)||"",K=a.getClientInfo().getAffinityType()||"";var N=a.getUserInfo();N=m(N,2);var P=a.getAuthErrorHandler(),Y=Gh(a.getClientInfo(),8,3E4),X=Jj(a.getClientInfo(),17,!1);h=new gAc(h,q,l,x,A,B,K,N,Y,P,Gh(a.getClientInfo(),13,15),Gh(a.getClientInfo(),14,500),V(a.getClientInfo(),15,"CONTACT,PROFILE,DOMAIN_CONTACT,DOMAIN_PROFILE,AFFINITY"),V(a.getClientInfo(),16,"person.name,person.photo,person.email,person.phone,person.email.certificate,person.metadata"),
a.getExperiments(),X);a=new tAc(h,Owc(a));h=new AAc(a);h.configure(null,"Personal Contacts");d.addAddressBook(h,!0);g&&(a=new vzc(a,null,!!Jj(e,11)),a.configure(null,"Domain Contacts"),d.addAddressBook(a,!0));c(b,!0,d);return b},hCc=function(a,b,c){b&&c.loadContactRows(rxc,function(){});kCc(a,c)};oR.prototype.disposeInternal=function(){this.inputHandler_.dispose();this.contactStore_&&this.ownsContactStore_&&ph(this.contactStore_);oR.superClass_.disposeInternal.call(this)};
var kCc=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=oR.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:pxc,addressBookId:this.addressBookId_,filter:this.filter_,isAutoCompleteMode:!0,isContactAutoComplete:!!this.returnFullContacts,includeEvergreenData:!1};b=rs(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 Rwc;var d=[];this.filter_&&(d=this.filter_(d,a.token));a=ss(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){oR.superClass_.renderRows.call(this,a,b)};f.dismiss=function(){oR.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=lq('<div class="'+oq("goog-contacts-ui-autocomplete-name-nochat")+(b?" "+oq("goog-contacts-ui-autocomplete-new-section"):"")+'">'+pq(a)+"</div>"))&&a.renderElement&&c?a.renderElement(c):(a=tMa(a),uMa(c,a))};f.selectHilited=function(){var a=gBc(this,this.hiliteId_);return-1!=a&&(a=this.rows_[a],a.specialRowHandler)?(a.specialRowHandler(),!0):oR.superClass_.selectHilited.call(this)};
f.fireSelectionEvent=function(a){this.dispatchEvent(new lCc(a))};var lCc=function(a){DA.call(this,"k");this.row=a};ts(lCc,DA);uIb("createAutoComplete",function(a,b,c,d,e,g,h,l,q,x){d&&(b=b+d+"/");b=BAc(wC(b));g&&b.loadContactRows(rxc,function(){});c=new oR(b,c,void 0,q,e,l,x,!0);c.attachInputs(g0b(document,a));return c});var pR=function(){this.eventHandler_=new bq(this);pR.prototype.addInput=pR.prototype.addInput;pR.prototype.removeInput=pR.prototype.removeInput;pR.prototype.setTarget=pR.prototype.setTarget},mCc=function(a,b){var c=new pR;c.create(a,b);return c};f=pR.prototype;
f.create=function(a,b){a=g0b(document,a);this.acWidget_=b.contactStoreConfig?jCc(b.contactStoreConfig,b.acCssName||"ac-renderer",b.maxMatches||15,b.inputHandler,a.ownerDocument.body,b.filter,b.rightAlign):iCc(b.serverBase,b.acCssName||"ac-renderer",b.maxMatches||15,b.inputHandler,a.ownerDocument.body,b.filter,b.rightAlign);"groups"in b&&(this.acWidget_.includeGroups_=b.groups);var c=b.onComplete;"function"===typeof c&&this.eventHandler_.listen(this.acWidget_,"update",function(d){d.row&&c.call(ba,
d.target.getTarget())});this.addInput(a)};f.dispose=function(){Dpa(this.acWidget_,this.eventHandler_)};f.setTarget=function(a){this.acWidget_.setTarget(a)};f.addInput=function(a){if(Array.isArray(a))for(var b=0;b<a.length;b++)this.acWidget_.inputHandler_.attachInputs(a[b]);else this.acWidget_.inputHandler_.attachInputs(a)};f.removeInput=function(a){if(Array.isArray(a))for(var b=0;b<a.length;b++)this.acWidget_.inputHandler_.detachInputs(a[b]);else this.acWidget_.inputHandler_.detachInputs(a)};
f.acWidget_=null;ba._EmailAc_create=mCc;var nCc=function(a,b){return new Eo("/",a,void 0,void 0,void 0,void 0,b)};Eo.prototype.setLocale=function(){};var oCc=function(a){this.params=a;this.pendingInputs=new Set;this.emailac=null};oCc.prototype.setTarget=function(a){this.emailac&&this.emailac.setTarget(a)};
Eo.prototype.initAutocomplete=function(a){if(this.emailAcInitialized_)throw Error("Qd");this.emailAcInitialized_=!0;this.commonAcParams_=a||{};for(var b in this.acWrappers_)pCc(this,this.acWrappers_[b]);this.focusedElement_&&(a=xa(this.focusedElement_),(a=this.inputToAcWrapper_[a])&&a.setTarget(this.focusedElement_));for(var c in this.acWrappers_)for(a=[].concat(Vc(this.acWrappers_[c].pendingInputs.values())),b=1;b<a.length;b++)IA(a[b],"focus",this.onTargetFocus_,!1,this)};
var pCc=function(a,b){var c=b.params;c.serverBase=a.serverBase_;c.onComplete=rs(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(Vc(b.pendingInputs.values()));b.emailac=mCc(a[0],c);for(c=1;c<a.length;c++)b.emailac.addInput(a[c]);b.pendingInputs.clear()};f=Eo.prototype;
f.attachAutocomplete=function(a,b,c){a=g0b(document,a);var d=b||{};b=xa(a);this.onAcCompleteListeners_[b]=c;c="";for(var e in d)c+=e+"="+d[e]+";";e=this.acWrappers_[c];e||(e=new oCc(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_?pCc(this,e):zo(a,"focus",this.onTargetFocus_,!1,this))};f.onTargetFocus_=function(a){this.focusedElement_=a.target;this.emailAcInitialized_||this.initAutocomplete()};
f.onCompleteCallback_=function(a){var b=this.onAcCompleteListeners_[xa(a)];b&&b(a)};f.detachAutocomplete=function(a){a=g0b(document,a);IA(a,"focus",this.onTargetFocus_,!1,this);var b=xa(a);delete this.onAcCompleteListeners_[b];var c=this.inputToAcWrapper_[b];c&&(c.emailac?c.emailac.removeInput(a):c.pendingInputs.delete(a),delete this.inputToAcWrapper_[b])};f.attachAutocompleteTo=function(a,b){this.initAutocomplete(b);this.attachAutocomplete(a,b)};uIb("goog.NewContactTools",Eo);
uIb("goog.NewContactTools.create",nCc);Eo.prototype.setLocale=Eo.prototype.setLocale;Eo.prototype.attachAutocompleteTo=Eo.prototype.attachAutocompleteTo;Eo.prototype.initAutocomplete=Eo.prototype.initAutocomplete;Eo.prototype.attachAutocomplete=Eo.prototype.attachAutocomplete;Eo.prototype.detachAutocomplete=Eo.prototype.detachAutocomplete;var yMa=function(a){this.rows_=a||[]};yMa.prototype.requestMatchingRows=function(a,b,c){var d=this.rows_;var e=[];if(""!=a)for(var g=new RegExp("(^|\\W+)"+gn(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=qCc(a,b,d));c(a,e)};
var xMa=function(a,b,c){return qCc(b,c,a.rows_)},qCc=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 x=h.split(""),A=-1,B=10,K=0,N;N=x[K];K++)N=l.indexOf(N),N>A?(A=N-A-1,A>B-5&&(A=B-5),q+=A,A=N):(q+=B,B+=5);q<6*h.length&&d.push({str:g,score:q,index:e})}d.sort(function(P,Y){var X=P.score-Y.score;return 0!=X?X:P.index-Y.index});a=[];for(K=0;K<b&&K<d.length;K++)a.push(d[K].str);
return a};var qR=function(a,b,c,d,e){var g=this;this.activeSession=c;this.firstPartyAuthHelper=e;this.contactTools=null;this.subscription=new E.Subscription;this.acReadyDeferred=Ol();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",x=/\/u\/(\d+)\//.exec(b.absUrl());x&&(q=x[1]);h.config.update("googleapis.config/sessionIndex",q);g.acReadyDeferred.resolve(void 0);g.contactTools=d.create(l,function(){Gwc(g.firstPartyAuthHelper)});g.contactTools.initAutocomplete()})}};qR.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()};
qR.prototype.attach=function(a,b,c){var d=this,e=function(h,l){return zMa(h,l,d.activeSession.getUserEmail(),c)},g=new E.Subscription;this.acReadyDeferred.promise.then(function(){d.contactTools&&(d.contactTools.attachAutocomplete(a,{ac2:!0,groups:!0,extendedInterface:!1,filter:e,cacheBusting:[c]},b),g.add(function(){var h;null==(h=d.contactTools)||h.detachAutocomplete(a)}))});return g};qR.\u0275fac=function(a){return new (a||qR)(u(VD),u(uG),u(gs),u(rR),u(xQ))};
qR.\u0275prov=qc({token:qR,factory:qR.\u0275fac,providedIn:"root"});var rR=function(){};rR.prototype.create=function(a,b){var c=new zQ,d=c.getUserInfo();n(d,6,a?5:1);a=c.getExperiments();a=Lj(a,5,!0);a=Lj(a,1,!0);a=Lj(a,3,!0);Lj(a,2,!0);c.setAuthErrorHandler(b);return nCc("xapi",c)};rR.\u0275fac=function(a){return new (a||rR)};rR.\u0275prov=qc({token:rR,factory:rR.\u0275fac,providedIn:"root"});var sR=function(a,b,c,d){WD.call(this);this.element=a;this.accessPolicyConverter=b;this.focusContacts=c;this.activeSession=d;this.autocompleteActive=new Gv;this.additionalContactsCallback=function(){return[]};this.$element=this.element.nativeElement};U(sR,WD);
sR.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-"+rRb());if(!this.activeSession.isAnonymous()){if("SINGLE"===this.fieldType)var b=function(){a.$element.value=rCc(sCc(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(rCc(d)),d=""):Fwc.test(d)?(e.push(d),d=""):d.match(/(".+" )?<.+>/)&&(d=rCc(sCc(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("Rd`"+
this.fieldType);var c=this.additionalContactsCallback();c=tCc(c);this.subscriptions.add(this.focusContacts.attach(this.$element,b,c))}};
var uCc=function(a){(0,E.timer)(150).pipe(Te(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)})},tCc=function(a){return a.map(function(b){return{text:b.text,getEmail:function(){return b.text},toString:function(){return b.id},getPriority:function(){}}})},sCc=function(a){var b=Math.max(0,a.lastIndexOf("<"));return a.substr(b).trim().replace(/[<>]/g,"")},rCc=function(a){a=
a.trim();","===oa(a)&&(a=a.slice(0,-1));a=mn(a);var b=a.split("@");return 2===b.length?b[0]+"@"+b[1].toLowerCase():a};sR.\u0275fac=function(a){return new (a||sR)(C(vd),C(tQ),C(qR),C(gs))};
sR.\u0275dir=Kc({type:sR,selectors:[["","bContactAutocomplete",""]],hostBindings:function(a,b){a&1&&M("keydown",function(){return uCc(b)},!1,yd)("mousedown",function(){return uCc(b)})},inputs:{fieldType:["bContactAutocomplete","fieldType"],additionalContactsCallback:"additionalContactsCallback"},outputs:{autocompleteActive:"autocompleteActive"},features:[bf]});var tR=function(){};tR.\u0275fac=function(a){return new (a||tR)};tR.\u0275mod=Ic({type:tR});tR.\u0275inj=rc({imports:[tF]});var vCc=["textarea"],wCc=["hiddenInput"],xCc=["autocompleteUnderlay"],yCc=Symbol(),uR=function(a,b,c){WD.call(this);this.codefont=a;this.activeSession=b;this.window=c;this.textareaClass=[];this.disabled=!1;this.contentChange=new Gv;this.focus=new Gv;this.blur=new Gv;this.autoResize=new Gv;this.manualResize$=new Gv;this.autocompleteUserName="";this.scrollPosition=this.autocompleteLeft=this.autocompleteTop=0;this.taggingInProgress=!1;this.wordInfo={wordStart:0,wordEnd:0,word:""};this.textAreaLastAtSymbolLocation=
this.textAreaLastCursorLocation=0};U(uR,WD);uR.\u0275dir=WD.\u0275dir;uR.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.codefont.codefont$.subscribe(function(b){b?Fo(a).classList.add("codefont"):Fo(a).classList.remove("codefont")}))};uR.prototype.ngOnDestroy=function(){WD.prototype.ngOnDestroy.call(this);this.focus.complete();this.blur.complete();this.manualResize$.complete()};uR.prototype.setValue=function(a){Fo(this).value!==a&&(Fo(this).value=a,this.manualResize$.next())};
uR.prototype.getValue=function(){return Fo(this).value};var Fo=function(a){return a.textareaRef.nativeElement},Go=function(a){var b;return null==(b=a.hiddenInputRef)?void 0:b.nativeElement},AMa=function(a){return a.activeSession.isInternalSession()&&"INTERNAL_AUDIENCE"===a.audience},zCc=function(a){var b;return null==(b=a.autocompleteUnderlayRef)?void 0:b.nativeElement},ACc=function(a){var b=Fo(a).selectionStart;a.wordInfo=a.findWord(a.getValue(),b)};
uR.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 BCc=function(a){return"ArrowDown"===a.key||"ArrowUp"===a.key||"Enter"===a.key||"Escape"===a.key||"Tab"===a.key},CCc=function(a){var b=zCc(a);a=Fo(a);b&&a&&(b.scrollTop=a.scrollTop)},BMa=function(a){a.taggingInProgress=!1;a.autocompleteUserName=""},CMa=function(a,b){b=void 0===b?!1:b;var c=Fo(a),d=Fo(a).value,e,g=null==(e=Go(a))?void 0:e.value;e=null==g?void 0:g.length;ACc(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};uR.prototype[yCc]=function(){return this.findWord};uR.\u0275fac=function(a){return new (a||uR)(C(xN),C(gs),C(VD))};
uR.\u0275cmp=Gc({type:uR,selectors:[["b-comment-draft-textarea"]],viewQuery:function(a,b){a&1&&(Uf(vCc,7),Uf(wCc,5),Uf(xCc,5));if(a&2){var c;Tf(c=Wf())&&(b.textareaRef=c.first);Tf(c=Wf())&&(b.hiddenInputRef=c.first);Tf(c=Wf())&&(b.autocompleteUnderlayRef=c.first)}},hostBindings:function(a,b){a&1&&M("click",function(){BMa(b)},!1,Sfa)("keyup",function(c){var d=c.key;c=c.target.classList.contains("autocomplete-hidden-input");"Escape"===d&&c&&(BMa(b),Fo(b).focus())},!1,Sfa)},inputs:{textareaClass:"textareaClass",
disabled:"disabled",placeholder:"placeholder",idForAriaLabel:"idForAriaLabel",audience:"audience"},outputs:{contentChange:"contentChange",focus:"focus",blur:"blur",autoResize:"autoResize"},features:[bf],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&&(G(0,
"div",0,1),M("keydown",function(c){"Escape"===c.key&&(BMa(b),Fo(b).focus())}),G(2,"textarea",2,3),M("input",function(){b.contentChange.emit(b.getValue())})("focus",function(c){return b.focus.emit(c)})("blur",function(c){return b.blur.emit(c)})("onAutoResize",function(c){return b.autoResize.emit(c)})("keydown",function(c){if(AMa(b)&&BCc(c)&&b.taggingInProgress){null==c||c.preventDefault();var d;null==(d=Go(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=Go(b))||l.dispatchEvent(c)}})("keyup",function(c){if(AMa(b)){var d=Fo(b),e=null==d?void 0:d.value;b.textAreaLastCursorLocation=d.selectionStart;b.textAreaLastAtSymbolLocation=e.slice(0,b.textAreaLastCursorLocation).lastIndexOf("@");if(!BCc(c)){c=c.target;b.scrollPosition=c.scrollTop;ACc(b);var g=b.wordInfo.word;d="@"===g;e=g.startsWith("@");var h=g.slice(g.length-
1).match(/[a-z]/i);g=TAa.test(g.slice(1));if(d||e&&h&&!g){c=c.selectionStart;if(!b.taggingInProgress){if(d=zCc(b)){d.textContent=b.getValue();e=zCc(b);h=Fo(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)}}CCc(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 x;null==(x=Go(b))||x.dispatchEvent(new KeyboardEvent("keydown"))}}}})("scroll",function(){return CCc(b)}),H(),G(4,"span",4),Q(5,DMa,2,1,"input",5),H(),Q(6,EMa,2,0,"div",6),H());a&2&&(z(2),F("autoResize",b.manualResize$)("ngClass",
b.textareaClass)("disabled",b.disabled),gf("placeholder",b.placeholder)("id",b.idForAriaLabel),z(2),pf("top",b.autocompleteTop+"px")("left",b.autocompleteLeft+"px"),z(1),F("ngIf",b.taggingInProgress),z(1),F("ngIf",AMa(b)))},dependencies:[cw,ew,sR,sQ],encapsulation:2,changeDetection:0});var DCc=function(a){return{"draft-markdown":a}},vR=function(a,b,c){WD.call(this);var d=this;this.cdr=a;this.ref=b;this.events=c;this.previewDisabled=!1;this.selectedIndex=0;this.onCommentSubmitted=function(){d.matTabGroup.selectedIndex=0};this.render=function(){var e=d.matTabGroup;e._tabHeader&&e._tabHeader._alignInkBarToSelectedTab();d.cdr.markForCheck()}};U(vR,WD);vR.\u0275dir=WD.\u0275dir;vR.prototype.ngOnInit=function(){this.subscriptions.add(this.events.commentSubmitted.subscribe(this.onCommentSubmitted))};
vR.prototype.synchronizeHeight=function(a){this.ref.nativeElement.querySelector("mat-tab-group").style.height=a+56+"px"};vR.\u0275fac=function(a){return new (a||vR)(C(cH,2),C(vd),C(KF))};
vR.\u0275cmp=Gc({type:vR,selectors:[["b-comment-draft-tab-group"]],viewQuery:function(a,b){a&1&&Uf(nM,7);if(a&2){var c;Tf(c=Wf())&&(b.matTabGroup=c.first)}},inputs:{editArea:"editArea",previewArea:"previewArea",previewDisabled:"previewDisabled"},features:[Gf([cH]),bf],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&&(G(0,"mat-tab-group",
0),M("animationDone",function(){setTimeout(b.render,2E3)})("selectedIndexChange",function(c){return b.selectedIndex=c}),G(1,"mat-tab",1),Q(2,FMa,1,0,"ng-container",2),H(),G(3,"mat-tab",3),Q(4,GMa,1,0,"ng-container",2),H()());a&2&&(F("dynamicHeight",!1)("selectedIndex",b.selectedIndex),z(2),F("ngTemplateOutlet",b.editArea),z(1),F("disabled",b.previewDisabled),z(1),F("ngTemplateOutlet",b.previewArea))},dependencies:[jw,nM,mM],styles:["[_nghost-%COMP%]     mat-tab-header{margin-left:8px;margin-bottom:16px}/*# sourceMappingURL=comment_draft_tab_group.css.map */"],
changeDetection:0});var wR=function(a,b,c,d){WD.call(this);this.codefont=a;this.ngZone=b;this.prefs=c;this.hotkeys=d;this.isMarkdown$=this.prefs.lastPublishMode$.pipe(D(function(e){return e===aac}));this.idPrefix="b-draft";this.content="";this.textareaClass=[];this.disabled=!1;this.audience="EXTERNAL_AUDIENCE";this.init=new Gv;this.contentChange=new Gv;this.focus=new Gv;this.blur=new Gv;this.autoResize=new Gv;this.onSubmit=new Gv};U(wR,WD);wR.\u0275dir=WD.\u0275dir;
wR.prototype.ngOnChanges=function(){this.commentDraftTextarea&&this.commentDraftTextarea.setValue(this.content)};
wR.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 ECc=function(a){a.ngZone.run(function(){if(a.commentDraftTabGroup){var b=a.commentDraftTabGroup;b.selectedIndex=0;b.render()}a.commentDraftTextarea&&Fo(a.commentDraftTextarea).focus()})};wR.prototype.synchronizeHeight=function(a){this.commentDraftTabGroup&&this.commentDraftTabGroup.synchronizeHeight(a.newHeight)};wR.\u0275fac=function(a){return new (a||wR)(C(xN),C(We),C(uI),C(CL))};
wR.\u0275cmp=Gc({type:wR,selectors:[["b-comment-draft"]],viewQuery:function(a,b){a&1&&(Uf(uR,5),Uf(vR,5));if(a&2){var c;Tf(c=Wf())&&(b.commentDraftTextarea=c.first);Tf(c=Wf())&&(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:[bf,
Zc],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&&(G(0,"b-comment-draft-textarea",0),M("autoResize",function(c){return b.synchronizeHeight(c)})("keydown.control.enter",function(){b.hotkeys.isEnabled()&&b.onSubmit.emit()})("keydown.meta.enter",function(){b.hotkeys.isEnabled()&&b.onSubmit.emit()}),S(1,"async"),H());a&2&&F("textareaClass",b.textareaClass)("ngClass",
Jf(8,DCc,T(1,6,b.isMarkdown$)))("disabled",b.disabled)("placeholder",b.placeholder)("idForAriaLabel",b.idForAriaLabel)("audience",b.audience)},dependencies:[cw,uR,kw],styles:["body   [_nghost-%COMP%]     textarea{resize:none;border-color:var(--text-secondary)}body   [_nghost-%COMP%]     textarea, body   [_nghost-%COMP%]     .autocomplete-underlay{max-height:40vh;min-height:130px;margin:0;width:100%;display:block;margin-bottom:8px}body   [_nghost-%COMP%]     .comment-box-container:focus-within textarea:not(:focus){padding:4px 1px 1px 7px;border:2px solid;border-color:#1a73e8;border-color:var(--primary)}body   [_nghost-%COMP%]     .autocomplete-underlay{width:100%;height:100%;position:absolute;top:0;left:0;z-index:-2;box-sizing:border-box;visibility:hidden;overflow-y:scroll;white-space:pre-line;pointer-events:none}body   [_nghost-%COMP%]     .autocomplete-input-container{position:fixed;z-index:-1;pointer-events:none}body   [_nghost-%COMP%]     .autocomplete-hidden-input{position:fixed}body   [_nghost-%COMP%]     .autocomplete-input-container .autocomplete-hidden-input{height:18px !important;line-height:18px !important;border:0 !important;margin:0 !important;padding:0 !important;opacity:0 !important}body   [_nghost-%COMP%]     .autocomplete-input-container .autocomplete-hidden-input:focus{outline:none !important;border:0 !important;padding:0 !important}body   [_nghost-%COMP%]     textarea.codefont, body   [_nghost-%COMP%]     .draft-markdown textarea{font-family:WorkAroundWebKitAndMozilla,monospace}.good[_nghost-%COMP%]     textarea:focus{border-color:#34a853;border-color:var(--good)}.warn[_nghost-%COMP%]     textarea:focus{border-color:#fcc934;border-color:var(--warn)}.bad[_nghost-%COMP%]     textarea:focus{border-color:#ea4335;border-color:var(--bad)}/*# sourceMappingURL=comment_draft.css.map */"],
changeDetection:0});var FCc=["captchaContainer"],xR=function(a,b,c,d,e){this.ngZone=a;this.window=b;this.darkmodeService=c;this.appEvents=d;this.analytics=e;this.onUpdate=new Gv;this.destroyed$=new E.ReplaySubject(1)};xR.prototype.ngOnInit=function(){var a=this;this.appEvents.recaptchaSubmitted.pipe(Te(this.destroyed$)).subscribe(function(){a.reset();a.onUpdate.emit("")})};
xR.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(Jn.RECAPTCHA_TOKEN,"create")})},"expired-callback":function(){a.ngZone.run(function(){a.onUpdate.emit("");a.analytics.trackEvent(Jn.RECAPTCHA_TOKEN,
"expire")})},theme:d?"dark":"light"})})};xR.prototype.ngOnDestroy=function(){this.reset();this.destroyed$.next()};xR.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)})}};xR.\u0275fac=function(a){return new (a||xR)(C(We),C(VD),C(qP),C(KF),C(gH))};
xR.\u0275cmp=Gc({type:xR,selectors:[["b-recaptcha"]],viewQuery:function(a,b){a&1&&Uf(FCc,5);if(a&2){var c;Tf(c=Wf())&&(b.captchaContainer=c.first)}},outputs:{onUpdate:"onUpdate"},decls:2,vars:0,consts:[["captchaContainer",""]],template:function(a){a&1&&I(0,"div",null,0)},encapsulation:2});var yR=function(a){this.matDialog=a};yR.prototype.show=function(a,b,c){this.dialog=this.matDialog.open(zR,{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,E.firstValueFrom)(Rz(this.dialog))};yR.\u0275fac=function(a){return new (a||yR)(u(Wz))};yR.\u0275prov=qc({token:yR,factory:yR.\u0275fac,providedIn:"root"});
var zR=function(a,b,c,d,e){WD.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=UD(this.activeSession,"enableRecaptcha");this.recaptchaResponse="";this.newComment=Object.assign({},this.origComment);this.subscriptions.add(SO(e,
function(){return g.isModified()},!1))};U(zR,WD);zR.\u0275dir=WD.\u0275dir;f=zR.prototype;f.ngOnInit=function(){var a=this;this.dialogRef.keydownEvents().pipe(Te(this.destroyed$)).subscribe(function(b){"Escape"===b.key&&a.closeIfUnmodified()});this.dialogRef.backdropClick().pipe(Te(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!Mh(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)}};zR.\u0275fac=function(a){return new (a||zR)(C(gs),C(Vz),C(yR),C(Tz),C(RO))};
zR.\u0275cmp=Gc({type:zR,selectors:[["ng-component"]],features:[bf],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&&(G(0,"h1",0),R(1),H(),G(2,"section",1)(3,"p",2),R(4," Editing comments will not permanently remove old ones from database history. "),I(5,"br"),R(6," For deletion of PII or other sensitive content, please "),G(7,"a",3),R(8," file a support request."),H()(),G(9,"b-comment-draft",4),M("contentChange",function(c){return b.newComment.text=c})("onSubmit",function(){return b.closeDialogForSave()}),
H(),G(10,"b-markdown-toggle",5),M("change",function(c){return b.newComment.formattingMode=c}),H(),Q(11,HMa,1,4,"b-live-preview",6),H(),Q(12,IMa,3,0,"section",7),G(13,"footer",8)(14,"button",9),R(15," Cancel "),H(),G(16,"button",10),M("click",function(){return b.closeDialogForSave()}),R(17," Save "),H()());a&2&&(z(1),Ff("Editing Comment #",b.origComment.id," of Issue ",b.origComment.issueId,""),z(6),F("href",b.contentRemovalRequestLink,Md),z(2),F("content",b.newComment.text)("audience",b.origComment.audience),
z(1),qf("margin-bottom",(null==b.newComment?null:b.newComment.formattingMode)!==b.MARKDOWN),F("initialValue",b.origComment.formattingMode),z(1),F("ngIf",(null==b.newComment?null:b.newComment.formattingMode)===b.MARKDOWN),z(1),F("ngIf",b.enableRecaptcha),z(2),F("mat-dialog-close",void 0),z(2),F("disabled",!b.isModified()||!b.isCaptchaValid()))},dependencies:[Xz,Yz,Zz,$z,ew,Jz,RN,QN,wR,xR],styles:[".recaptcha-container[_ngcontent-%COMP%]{float:right;padding-top:8px}\n/*# sourceMappingURL=edit_comment_dialog.css.map */"],
changeDetection:0});var AR=function(a,b,c,d,e,g,h,l,q,x,A,B,K,N,P,Y,X,ka,ma,za,Ba,Ma,Sa){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=x;this.confirmationDialogService=A;this.issueComments=B;this.errorHandler=K;this.issueFetchResponseFridge=N;this.eventsForIssueFridge=P;this.componentFridge=Y;this.commentFormatter=X;this.confirmNoAccessService=ka;this.activeSession=
ma;this.appEvents=za;this.issuePicker=Ba;this.eventsForIssueWatcher=Ma;this.issueInteractionsTracking=Sa},cAb=function(a,b,c){var d,e,g,h;return he(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();Ptc(a.issueCommentService,{issueId:b,newCommentId:h.id,
newComment:h.text,newCommentFormattingMode:h.formattingMode,recaptchaToken:h.recaptchaToken});me(l)})},HCc=function(a,b,c){var d,e,g;return he(function(h){if(1==h.nextAddress)return c?h.yield(GCc(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(Jn.EDIT_ISSUE,"copyComment");a.domSafe.openInNewTab(l)}me(h)})},GCc=function(a,b){function c(ka){return B.get(ka)}var d,e,g,h,l,q,x,A,B,K,N,P,Y,X;return he(function(ka){if(1==ka.nextAddress)return ka.yield((0,E.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:[];x=null!=(q=d.snapshot[0].blockedByIssueId)?
q:[];return ka.yield((0,E.firstValueFrom)(a.issueFridge.watchSet(rl([].concat(Vc(g),Vc(l),Vc(x))))),3)}A=ka.yieldResult;B=new Map(A.map(function(ma){return[ma.issueId,ma]}));K=x.map(c).filter(pi).map(JMa("BLOCKED_BY"));N=l.map(c).filter(pi).map(JMa("BLOCKING"));P=g.map(c).filter(pi).map(JMa("DUPLICATE"));Y=[].concat(Vc(K),Vc(N),Vc(P));X=KMa(Y);return ka.return(X)})},JCc=function(a,b,c){var d;return he(function(e){return 1==e.nextAddress?c?e.yield(pI(a.confirmationDialogService,{title:"Restore comment # "+
c+"?",content:fn("Are you sure you want to restore this comment?")}),2):e.return():(d=e.yieldResult)?e.yield(ICc(a,b,c),0):e.return()})},ICc=function(a,b,c){var d,e;return he(function(g){switch(g.nextAddress){case 1:d=a.editIssueService.savingState(b);if(d.get("commentUndelete"))return g.return();DF(a.butterBar,"Restoring comment...",0);ie(g,2,3);jJ(d,"commentUndelete");return g.yield(a.issueComments.undelete(b,c),5);case 5:DF(a.butterBar,"Comment restored successfully.");case 3:je(g);kJ(d,"commentUndelete");
qH(a.issueFetchResponseFridge,b);a.eventsForIssueFridge.poke(b);ke(g,0);break;case 2:e=le(g),DF(a.butterBar,"Comment restoration failed."),IF(a.errorHandler,e),g.jumpTo(3)}})},MCc=function(a,b,c,d){var e,g,h,l;return he(function(q){if(1==q.nextAddress){if(!c)return q.return();e=a.editIssueService.savingState(b);return e.get("commentDelete")?q.return():q.yield(KCc(a,b),2)}return 3!=q.nextAddress?(g=q.yieldResult,a.butterBar.dismiss(),q.yield((0,E.firstValueFrom)(Rz(a.matDialogService.open(Jtc,{width:"560px",
data:{commentNumber:c,issueId:b,deletionReasons:g}}))),3)):(h=q.yieldResult)?q.yield(LCc(a,b,c,h.value,null!=(l=d)?l:""),0):q.jumpTo(0)})},LCc=function(a,b,c,d,e){var g,h;return he(function(l){switch(l.nextAddress){case 1:g=a.editIssueService.savingState(b);if(g.get("commentDelete"))return l.return();ie(l,2,3);DF(a.butterBar,"Deleting comment...",0);jJ(g,"commentDelete");return l.yield(a.issueComments.delete(b,c,d,e),5);case 5:DF(a.butterBar,"Comment deleted. Deleted items may be restored within 30 days."),
a.eventsForIssueFridge.poke(b);case 3:je(l);kJ(g,"commentDelete");qH(a.issueFetchResponseFridge,b);ke(l,0);break;case 2:h=le(l),DF(a.butterBar,"Comment deletion failed."),IF(a.errorHandler,h),l.jumpTo(3)}})},KCc=function(a,b){var c,d,e,g,h,l,q,x;return he(function(A){switch(A.nextAddress){case 1:return A.yield((0,E.firstValueFrom)(a.issueFridge.watch(b,{trustUncertainMemory:!0})),2);case 2:c=A.yieldResult;e=(null==(d=c)?void 0:d.snapshot[0].componentId)||void 0;if(!e){g=void 0;A.jumpTo(3);break}return A.yield((0,E.firstValueFrom)(a.componentFridge.watch(e)),
4);case 4:g=A.yieldResult;case 3:return h=g,l=new Dwc("Other","USER_REQUEST"),h&&"DISABLED"!==h.commentEditState||(l.enabled=!1,l.disabledReason="comment editing must be enabled"),q=new Dwc("Spam or Abuse","ABUSE"),"EXTERNAL_PUBLIC"!==a.issuePermissionService.accessLevel()&&(q.enabled=!1,q.disabledReason="available on Public components"),x=new Dwc("Personally Identifiable Information","PII"),A.return([x,q,l])}})},NCc=function(a,b,c){var d,e;return he(function(g){if(1==g.nextAddress)return d=ZI(a.issuePermissionService,
ei(c.userPerformingActionUser)),a.analytics.trackEvent(Jn.RESTRICTED_CONTENT,"updateContentJudgement","comment"),g.yield(a.showContentJudgementDialog({severity:wi(c.commentContentVerdict),resourcePath:"issues/"+b+"/comments/"+c.commentNumber,hasAclToCreate:a.issuePermissionService.hasAclToAdmin()||d}),2);if(e=g.yieldResult)c.commentContentVerdict={piiVerdict:{severity:e.contentJudgement.severity}},qH(a.issueFetchResponseFridge,b),a.eventsForIssueFridge.poke(b),nH(a.issueFridge,[b],{markRead:!0});
me(g)})};AR.prototype.showContentJudgementDialog=function(a){return(0,E.firstValueFrom)(Rz(this.matDialogService.open(MP,{panelClass:"no-jitter",width:"500px",data:a})))};
var OCc=function(a,b,c){var d;return he(function(e){if(1==e.nextAddress)return e.yield((0,E.firstValueFrom)(Rz(a.matDialogService.open(NP,{width:"500px",data:{resource:b,piiRetention:c}}))),2);d=e.yieldResult;return e.return(1===d)})},PCc=function(a,b,c,d){var e;he(function(g){if(1==g.nextAddress){if(null==d)return g.return();a.analytics.trackEvent(Jn.RESTRICTED_CONTENT,"updateContentJudgement","attachment");return g.yield(a.showContentJudgementDialog({severity:wi(d.contentVerdict),resourcePath:"issues/"+
b+"/attachments/"+d.attachmentId,hasAclToCreate:a.issuePermissionService.hasAclToAdmin()||c}),2)}if(e=g.yieldResult)d.contentVerdict={piiVerdict:{severity:e.contentJudgement.severity}},qH(a.issueFetchResponseFridge,b),a.eventsForIssueFridge.poke(b),nH(a.issueFridge,[b],{markRead:!0});me(g)})};
AR.prototype.showDeleteAttachmentDialog=function(a,b){var c=this,d,e,g,h,l,q,x;he(function(A){if(1==A.nextAddress){d=c.editIssueService.savingState(a);if(d.get("deleteAttachment")||!b.attachmentId)return A.return();e=E;g=e.firstValueFrom;h=c.matDialogService;l=h.open;q=Itc;return A.yield(KCc(c,a),3)}return 2!=A.nextAddress?A.yield(g.call(e,Rz(l.call(h,q,{width:"560px",data:{deletionReasons:A.yieldResult,attachmentId:b.attachmentId}}))),2):(x=A.yieldResult)?A.yield(Ijc(c.editIssueService,a,b,x.value),
0):A.jumpTo(0)})};
var QCc=function(a,b){var c=b.issueId,d=b.componentId,e=b.comment,g,h,l;return he(function(q){if(1==q.nextAddress){if("INTERNAL"!==a.issuePermissionService.accessLevel()||a.issuePermissionService.hasAclToEdit()&&a.issuePermissionService.isImplicitAccessEnabled())return q.return(!0);ie(q,2);return q.yield((0,E.firstValueFrom)(Npc(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(Kic(a.confirmNoAccessService,{componentId:d,userEmails:h,relation:"reader",analyticsEventLabel:"mention"}));l=le(q);IF(a.errorHandler,l);return q.return(!1)})},RCc=function(a,b){b=void 0===b?"comment":b;var c,d;return he(function(e){if((c=a.issuePermissionService.accessLevel())&&"INTERNAL"===c||a.issuePermissionService.hasAclToEdit()||a.activeSession.isInternalSession()||Iac(a.activeSession))return e.return(!0);switch(b){case "comment":d=
fn("Commenting on this bug report means your email address will be shared with the team that works on this product.");break;case "reaction":d=fn("Reacting to this comment means your email address will be shared with the team that works on this product.");break;default:rh(b)}return e.return(pI(a.confirmationDialogService,{title:"",content:d}))})};
AR.prototype.submitCommentBox=function(a,b){var c=this,d,e,g,h,l,q;return he(function(x){if(1==x.nextAddress){d=c.editIssueService.issueCommentDraft(a).comment();e=c.editIssueService.savingState(a);g=c.editIssueService.editableIssue(a);if(!c.issuePermissionService.hasAclToComment()||!Pic(d)||e.get("comment"))return x.return();jJ(e,"comment");h=function(){kJ(e,"comment")};return x.yield(QCc(c,{issueId:a,componentId:String(g.componentId),comment:d}),2)}if(3!=x.nextAddress)return l=x.yieldResult,l?x.yield(RCc(c),
3):(h(),x.return());q=x.yieldResult;if(!q)return h(),x.return();c.analytics.trackEvent(Jn.EDIT_ISSUE,"addComment","MARKDOWN"===d.formattingMode?"markdown":"non markdown");cjc(c.issueInteractionsTracking,a);c.eventsForIssueWatcher.isPaused=!0;return x.return(c.editIssueService.FOR_ISSUE_COMMENT_DIALOGS_SERVICE_ONLY.saveCommentDraft(a,b).finally(function(){h();c.appEvents.commentSubmitted.next(a);c.appEvents.scrollToCommentBox.next()}))})};
AR.prototype.showNewContentJudgementDialog=function(a){var b=this,c,d,e,g,h,l;return he(function(q){if(1==q.nextAddress)return c=b.editIssueService.issueCommentDraft(a),d=c.judgementForNewContent(),h=null!=(g=null==(e=d)?void 0:e.severity)?g:"NONE_DETECTED",q.yield(b.showContentJudgementDialog({severity:h,contentJudgement:void 0,hasAclToCreate:!0}),2);(l=q.yieldResult)&&c.userDefinedJudgementForNewContent$.next(l.contentJudgement);me(q)})};
AR.prototype.updateCommentReaction=function(a){var b=this,c;return he(function(d){return 1==d.nextAddress?a.hasReacted?d.yield(RCc(b,"reaction"),3):d.jumpTo(2):2==d.nextAddress||(c=d.yieldResult,c)?d.return(b.issueComments.updateCommentReaction(a)):d.return(void 0)})};AR.\u0275fac=function(a){return new (a||AR)(u(mJ),u(CF),u($I),u(OP),u(yR),u(lH),u(Wz),u(vG),u(gH),u(SJ),u(oI),u(NH),u(GF),u(oH),u(SE),u(eF),u(PN),u(OI),u(gs),u(KF),u(GO),u(rQ),u(XI))};
AR.\u0275prov=qc({token:AR,factory:AR.\u0275fac,providedIn:"root"});var BR=function(a,b,c){this.editIssueService=a;this.issuePicker=b;this.analytics=c},SCc=function(a,b){var c,d,e,g,h,l,q;return he(function(x){if(1==x.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(),x.yield(a.issuePicker.open(e),2);h=x.yieldResult;if(null==(l=h)||!l.length)return c.status=
d,x.return();q=(new Date).getTime()-g;a.analytics.trackEvent(Jn.ISSUE_PICKER,"duplicate duration","<"+Math.min(2*Math.ceil(q/2E3),600)+"s",q);a.analytics.trackEvent(Jn.EDIT_ISSUE,"setCanonicalIssue");return x.return(Ajc(a.editIssueService,b,h[0]))})};BR.\u0275fac=function(a){return new (a||BR)(u(mJ),u(GO),u(gH))};BR.\u0275prov=qc({token:BR,factory:BR.\u0275fac,providedIn:"root"});var CR=function(a,b,c,d,e,g,h,l,q,x,A,B,K,N,P,Y){WD.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=x;this.errorHandler=A;this.analytics=B;this.issueCommentDialogsService=K;this.issuePermissionService=N;this.editIssueService=P;this.routeParams=Y;this.isInternalSession=this.activeSession.isInternalSession();this.hasViewAccess=!1;this.actionMenuItems=[];this.attachmentRetentionSaveInProgress=
!1};U(CR,WD);CR.\u0275dir=WD.\u0275dir;CR.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;TCc(this);UCc(this)};CR.prototype.ngDoCheck=function(){this.attachmentDiffer&&this.attachmentDiffer.diff(this.attachment)&&(TCc(this),this.cdr.markForCheck())};
CR.prototype.ngOnChanges=function(a){this.setHasViewAccess();a.attachment&&this.attachment&&(this.attachmentDiffer=this.differs.find(this.attachment).create())};
var TCc=function(a){a.actionMenuItems=[];VCc(a)&&a.actionMenuItems.push({type:"action",action:function(){a.showDeleteAttachmentDialog()},label:"Delete attachment..."});WCc(a)&&a.actionMenuItems.push({type:"action",action:function(){Hjc(a.editIssueService,a.issueId,a.attachment)},label:"Restore attachment"});a.isInternalSession&&a.actionMenuItems.push({type:"action",action:function(){PCc(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;OCc(a.issueCommentDialogsService,"attachment",c).then(function(d){d&&XCc(a,c)})},label:b?"Match issue retention...":"Revert to component retention..."})}};
CR.prototype.setHasViewAccess=function(){var a=this;this.isRestricted()?null==this.attachment?this.hasViewAccess=!1:(this.hasViewAccess=!1,qF(this.userAccess,"reader","issues/"+this.issueId+"/attachments/"+this.attachment.attachmentId).then(function(b){a.hasViewAccess=b;a.cdr.detectChanges()})):this.hasViewAccess=!0};CR.prototype.getFilename=function(){var a;return(null==(a=this.attachment)?void 0:a.filename)||""};
CR.prototype.getSize=function(){var a;return(null==(a=this.attachment)?void 0:a.length)||0};var OMa=function(a,b){b=void 0===b?!0:b;var c;if(null==(c=a.attachment)||!c.attachmentId)throw Error("Sd");c=a.paths.getAttachmentAction(a.issueId,a.attachment.attachmentId);a=a.paths.getBaseUrl()+"/"+c;return n2b(a,"download",b)};CR.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)};
CR.prototype.isRestricted=function(){return"NONE_DETECTED"!==this.getPiiSeverity()};CR.prototype.getPiiSeverity=function(){var a;return wi(null==(a=this.attachment)?void 0:a.contentVerdict)};CR.prototype.getRestrictedLabel=function(){return Xqa(this.getPiiSeverity())};
var PMa=function(a){return(a=a.getPiiSeverity())?"bv2-restricted-content-limit-"+Wqa(a):""},NMa=function(a,b){a.analytics.trackEvent(Jn.RESTRICTED_CONTENT,"viewRestrictedContent","attachment");a.matDialogService.open(yP,{width:"400px",data:{attachment:a.attachment,issueId:a.issueId,download:b}})},VCc=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()||ZI(b,a)?
!0:!1:!1:!1}else b=!1;return b},WCc=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()||ZI(b,a)?!0:!1:!1:!1}else b=!1;return b};CR.prototype.showDeleteAttachmentDialog=function(){var a;null!=(a=this.attachment)&&a.attachmentId&&this.issueCommentDialogsService.showDeleteAttachmentDialog(this.issueId,this.attachment)};
var XCc=function(a,b){var c;null!=(c=a.attachment)&&c.attachmentId?(a.analytics.trackEvent(Jn.RESTRICTED_CONTENT,"updateRetention","attachment"),a.attachmentRetentionSaveInProgress=!0,a.attachmentService.updateRetention(a.issueId,a.attachment.attachmentId||0,b).pipe(Te(a.destroyed$)).subscribe({next:function(d){a.attachmentRetentionSaveInProgress=!1;a.attachment&&(a.attachment.piiRetention=d.piiRetention,a.attachment.piiRetentionState=d.piiRetentionState);DF(a.butterBar,"Attachment retention updated",
4E3);a.attachmentRetentionOverride=2===b?"INDEFINITE":"COMPONENT_DEFAULT";TCc(a);a.cdr.detectChanges()},error:function(){a.attachmentRetentionSaveInProgress=!1;HF(a.errorHandler,"Attachment retention update failed")}})):HF(a.errorHandler,"Attachment id is missing")},UCc=function(a){var b,c,d;he(function(e){(b=Number(a.routeParams.downloadAttachment))&&b===(null==(c=a.attachment)?void 0:c.attachmentId)&&(d="true"===a.routeParams.download,NMa(a,d));me(e)})};
CR.\u0275fac=function(a){return new (a||CR)(C(gs),C(nI),C(SJ),C(Wz),C(zP),C(cH,2),C(bw),C(vG),C(pF),C(CF),C(GF),C(gH),C(AR),C($I),C(mJ),C(RI))};
CR.\u0275cmp=Gc({type:CR,selectors:[["b-attachment-viewer"]],inputs:{attachment:"attachment",issueId:"issueId",attachmentUploader:"attachmentUploader"},features:[Gf([cH]),bf,Zc],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&&(G(0,"div",0),I(1,"b-icon",1),H(),G(2,"div")(3,"div",2),R(4),G(5,"span",3),Q(6,LMa,1,3,"b-restricted-chip",4),Q(7,MMa,2,3,"span",5),H()(),G(8,"div"),R(9),Q(10,QMa,2,8,"span",6),Q(11,RMa,2,8,"span",6),G(12,"xap-bubble",7),Q(13,SMa,3,3,"span",8),Q(14,TMa,4,1,"ng-template",null,9,Zf),H()()());if(a&2){var c=Cf(15);z(4);Df(" ",b.getFilename()," ");z(2);F("ngIf",b.isRestricted());
z(1);F("ngIf",0<b.actionMenuItems.length);z(2);Df(" ",dBa(b.getSize())," ");z(1);var d;a=b.isActive()&&uqa(null==(d=b.attachment)?void 0:d.contentType);F("ngIf",a);z(1);F("ngIf",b.isActive());z(1);F("panelTemplate",c);z(1);F("ngIf",b.isRestricted()&&!b.hasViewAccess)}},dependencies:[ew,uA,rK,AP,AM,Kz,LB,BP,gO],encapsulation:2,changeDetection:0});var DR=function(a,b,c){this.dialogRef=a;this.documentationLinks=b;this.data=c;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc"};DR.prototype.onNoClick=function(){this.dialogRef.close(!1)};DR.\u0275fac=function(a){return new (a||DR)(C(Tz),C(nI),C(Vz))};
DR.\u0275cmp=Gc({type:DR,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&&(G(0,"h1",0),R(1),H(),G(2,"div",1)(3,"p"),R(4),G(5,"a",2),R(6," Learn More "),H()()(),G(7,"div",3)(8,"button",4),M("click",function(){return b.onNoClick()}),R(9," Cancel "),H(),G(10,"button",5),R(11," Confirm "),H()());a&2&&(z(1),Ef(b.data.title),z(3),Df(" ",b.data.content," "),z(1),F("rel",b.EXTERNAL_LINK_REL),gf("href",b.documentationLinks.getRestrictedAccessHelpLink(),Md),z(5),F("mat-dialog-close",!0))},dependencies:[Jz,Xz,Yz,Zz,$z],encapsulation:2});var ER=function(a,b){this.dialog=a;this.documentationLinks=b;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.disabled=!1;this.onConfirm=new Gv};
ER.prototype.openDialog=function(){var a=this;Rz(this.dialog.open(DR,{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()})};ER.\u0275fac=function(a){return new (a||ER)(C(Wz),C(nI))};
ER.\u0275cmp=Gc({type:ER,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&&(G(0,"span")(1,"button",0),M("click",function(){return b.openDialog()}),R(2," Show Restricted Content "),H(),G(3,"a",1),R(4,
" Learn More "),H()());a&2&&(z(1),F("disabled",b.disabled),z(2),F("rel",b.EXTERNAL_LINK_REL),gf("href",b.documentationLinks.getRestrictedAccessHelpLink(),Md))},dependencies:[Jz],styles:[".mat-stroked-button[_ngcontent-%COMP%]{margin-right:1em}/*# sourceMappingURL=restricted_comment_placeholder.css.map */"],changeDetection:0});var FR=function(){};FR.\u0275fac=function(a){return new (a||FR)};FR.\u0275mod=Ic({type:FR});FR.\u0275inj=rc({imports:[EB,tF,iC,JC]});var YCc=["commentActionsMenu"],ZCc=["editDescription"],nNa=function(){return[]},GR=function(a,b,c,d,e,g,h,l,q,x,A,B,K,N,P){WD.call(this);var Y=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=x;this.issueCommentDialogsService=A;this.issuePermissionService=B;this.commentHistoryDialogService=K;this.dateFormatter=N;this.issueFetchResponseFridge=
P;this.id$=new E.ReplaySubject(1);this.accessLevel$=this.id$.pipe(Se(this.issueFridge.watch),D(function(X){var ka;return null==X?void 0:null==(ka=X.accessLimit)?void 0:ka.accessLevel}));this.firstEvent$=new E.ReplaySubject(1);this.firstNote$=this.firstEvent$.pipe(D(function(X){return X}));this.commentActionMenuItems$=new E.BehaviorSubject([]);this.isFormattingOverrideEnabled=!1;this.formattingMode="PLAIN";this.formattingMode$=Um(this.firstEvent$.pipe(ye(pi),D(function(X){return X.formattingMode})),
"PLAIN");this.isRedacted$=this.firstEvent$.pipe(ye(pi),D(function(X){return X.commentRedacted}));this.isDeleted$=this.firstEvent$.pipe(ye(pi),D(function(X){return"DELETED"===X.commentDeletionStatus}));this.shouldShowRestrictedPlaceholder$=(0,E.combineLatest)([this.isRedacted$,this.isDeleted$]).pipe(D(function(X){var ka=k(X);X=ka.next().value;ka=ka.next().value;return!(!X||ka)}));this.isRestricted$=this.firstEvent$.pipe(ye(pi),D(function(X){return wi(X.commentContentVerdict)}),D(function(X){if(!Y.isInternalSession)return!1;
switch(X){case "NONE_DETECTED":case "PII_SEVERITY_UNSPECIFIED":return!1;case "PII":case "SPII":return!0;default:rh(X)}}));this.commentRetentionOverride$=this.firstEvent$.pipe(ye(pi),D(function(X){return X.commentRetention}));this.commentHistoryEnabled=UD(this.activeSession,"enableCommentHistoryUi");this.isShowCommentHistoryActionInMenu$=(0,E.combineLatest)([this.firstEvent$,this.isRedacted$]).pipe(D(function(X){var ka=k(X);X=ka.next().value;ka=ka.next().value;return!(!(UD(Y.activeSession,"enableCommentHistoryUi")&&
0<((null==X?void 0:X.commentVersion)||0))||ka)}));this.canEditComment$=this.firstEvent$.pipe(Se(function(X){return X?Y.issuePermissionService.canEditComment$(X):(0,E.of)(!1)}),Pe({refCount:!0,bufferSize:1}));this.canEditComment=function(){return!!Vm(Y.canEditComment$)};this.isInternalSession=this.activeSession.isInternalSession();this.mayReadPii$=this.isRestricted$.pipe(Se(function(X){return X?Y.mayReadPii():(0,E.of)(void 0)}));this.reporterUser$=this.id$.pipe(Se(function(X){return Y.issueFridge.watch(X)}),
D(function(X){var ka;return null==X?void 0:null==(ka=X.snapshot[0])?void 0:ka.reporterUser}));this.reporterUserEmailAddress$=this.reporterUser$.pipe(D(qNa));this.firstEventReporterEmail$=this.firstEvent$.pipe(D(function(X){X=k((null==X?void 0:X.postDiffs)||[]);for(var ka=X.next();!ka.done;ka=X.next())if(ka=ka.value,"reporter"===ka.name)return ka.newValue||"";return""}));this.onBehalfOfEmail$=(0,E.combineLatest)([this.firstEventReporterEmail$,this.reporterUserEmailAddress$]).pipe(D(function(X){var ka=
k(X);X=ka.next().value;ka=ka.next().value;return X||ka}));this.isAuthorNotReporter$=(0,E.combineLatest)([this.onBehalfOfEmail$,this.firstEvent$]).pipe(D(function(X){var ka=k(X);X=ka.next().value;ka=ka.next().value;return X!==qNa(null==ka?void 0:ka.userPerformingActionUser)}))};U(GR,WD);GR.\u0275dir=WD.\u0275dir;
GR.prototype.mayReadPii=function(){var a=this;return this.id$.pipe(Se(function(b){return(0,E.defer)(function(){return qF(a.userAccess,"reader","issues/"+b+"/comments/1").catch(function(c){zh("error: ",c);return!1})})}))};
GR.prototype.ngOnInit=function(){var a=this;$Cc(this,"PLAIN");this.id$.pipe(Se(this.issueFetchResponseFridge.watch),D(function(b){return null==b?void 0:b.firstEvent}),Te(this.destroyed$)).subscribe(function(b){a.firstEvent$.next(b)});this.canEditComment$.pipe(Te(this.destroyed$)).subscribe(function(){a.initializeActionsMenu()});this.userPreferencesManager.textDisplayPreferencesSubject$.pipe(Te(this.destroyed$)).subscribe(function(b){a.isFormattingOverrideEnabled=null!=b.commentDisplayOverride;a.initializeActionsMenu()});
this.formattingMode$.pipe(Te(this.destroyed$)).subscribe(function(b){a.formattingMode=null!=b?b:"PLAIN";$Cc(a,null!=b?b:"PLAIN")});this.issuePermissionService.canChangeCommentRetention$.pipe(Te(this.destroyed$)).subscribe(function(){a.initializeActionsMenu()})};
GR.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=Vm(this.firstEvent$);this.canEditComment()&&c&&b.push({type:"action",action:function(){cAb(a.issueCommentDialogsService,a.id,c).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Edit description...",disabled:Vm(this.isRedacted$)});
Vm(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&&fjc(this.issuePermissionService,c)&&b.push({type:"action",action:function(){c.commentEtag&&MCc(a.issueCommentDialogsService,a.id,1,c.commentEtag).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Delete description"});c&&ejc(this.issuePermissionService,
c)&&b.push({type:"action",action:function(){JCc(a.issueCommentDialogsService,a.id,1).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Restore description"});this.isInternalSession&&c&&b.push({type:"action",action:function(){NCc(a.issueCommentDialogsService,a.id,c).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Restriction settings..."});if(this.isInternalSession&&Vm(this.isRestricted$)&&this.issuePermissionService.canChangeCommentRetention()&&
!Vm(this.isDeleted$)){var d="COMPONENT_DEFAULT"===Vm(this.commentRetentionOverride$);b.push({type:"action",action:function(){var e=d?2:1;OCc(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 $Cc=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)};
GR.prototype.updateCommentRetention=function(a){var b=this,c=Vm(this.firstEvent$),d=Vm(this.id$);c&&!c.commentNumber&&HF(this.errorHandler,"Comment number is missing");this.analytics.trackEvent(Jn.RESTRICTED_CONTENT,"updateRetention","comment");d&&c&&this.commentService.updateRetention(d,c.commentNumber||0,a).pipe(Te(this.destroyed$)).subscribe({next:function(){b.eventsForIssue.poke(d);DF(b.butterBar,"Comment retention updated",4E3);b.initializeActionsMenu()},error:function(){HF(b.errorHandler,"Comment retention update failed")}})};
GR.prototype.loadRestrictedComment=function(a,b){var c=this;this.analytics.trackEvent(Jn.RESTRICTED_CONTENT,"viewRestrictedContent","comment");var d=(null==b?void 0:b.commentNumber)||0;b=vi(wi(null==b?void 0:b.commentContentVerdict));a&&this.commentService.get(a,d,b).pipe(Ge(),Te(this.destroyed$)).subscribe(function(e){e=xta(e);e=Object.assign({},Vm(c.firstEvent$),e);c.firstEvent$.next(e);c.initializeActionsMenu()},function(e){var g;EF(c.butterBar,"Error showing comment "+d+": "+(null==(g=e.error)?
void 0:g.message))})};GR.prototype.showCommentHistoryDialog=function(a){return this.commentHistoryDialogService.show(this.id,a,-1)};GR.prototype.getUserEmailIfAvailable=function(){var a;return ei(null==(a=Vm(this.firstEvent$))?void 0:a.userPerformingActionUser)};
var UMa=function(a){var b=Vm(a.firstEvent$);b&&cAb(a.issueCommentDialogsService,a.id,b).then(function(){a.editDescriptionButton.focus()})},ZMa=function(a,b){var c="Last edited by ";0===b.version&&b.lastCommentEditorUser&&(c+=ai(b.lastCommentEditorUser));b.commentLastModifiedAtDate&&(c+=" on ",Hlc(a.dateFormatter,new Date(b.commentLastModifiedAtDate)).subscribe(function(d){c+=d}));return c};
hh.Object.defineProperties(GR.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.id$.next(a)},get:function(){return Vm(this.id$)}}});GR.\u0275fac=function(a){return new (a||GR)(C(SE),C(uI),C(lH),C(iL),C(gs),C(uP),C(GF),C(gH),C(CF),C(pF),C(AR),C($I),C(tP),C(aK),C(oH))};
GR.\u0275cmp=Gc({type:GR,selectors:[["b-issue-description"]],viewQuery:function(a,b){a&1&&(Uf(YCc,5),Uf(ZCc,5));if(a&2){var c;Tf(c=Wf())&&(b.commentActionsMenu=c.first);Tf(c=Wf())&&(b.editDescriptionButton=c.first)}},inputs:{id:"id"},features:[bf],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&&(Q(0,oNa,29,24,"div",0),S(1,"async"),Q(2,pNa,1,0,"ng-template",null,1,Zf));if(a&2){var c=Cf(3);F("ngIf",T(1,2,b.firstEvent$))("ngIfElse",c)}},dependencies:[rK,CR,SN,dw,ew,uA,bK,qJ,vJ,UJ,Jz,LB,ER,TM,sL,VJ,nL,kw],styles:["[_nghost-%COMP%]{display:block}.description-deleted[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted);font-style:italic}"]});var HR=function(a){this.issueReferenceResolver=a;this.userToString=ei};HR.prototype.ngOnInit=function(){};HR.prototype.getCommentNumberLink=function(a){return rwa(this.issueId,{comment:a})};HR.prototype.scrollCommentIntoView=function(a,b){this.issueReferenceResolver.visit({issueId:this.issueId,elementId:"comment"+b,event:a})};HR.\u0275fac=function(a){return new (a||HR)(C(iL))};
HR.\u0275cmp=Gc({type:HR,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&&Q(0,vNa,5,3,"span",0);a&2&&F("ngForOf",b.comments)},
dependencies:[dw,ew,qJ,vJ,UJ,TM,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 IR=function(a){WD.call(this);this.ngZone=a};U(IR,WD);IR.\u0275dir=WD.\u0275dir;var aDc=function(a,b){return(new E.Observable(function(c){var d=new ResizeObserver(function(e){a.ngZone.run(function(){var g=e[0];c.next({height:g.contentRect.height,width:g.contentRect.width})})});d.observe(b);return function(){d.unobserve(b)}})).pipe(Te(a.destroyed$))};IR.\u0275fac=function(a){return new (a||IR)(u(We))};IR.\u0275prov=qc({token:IR,factory:IR.\u0275fac,providedIn:"root"});var bDc=["imagesSummaryWidget"],JR=function(a,b,c){var d=this;this.resizeService=a;this.router=b;this.route=c;this.imageLinks$=new E.ReplaySubject(1);this.paginate=!1;this.container$=new E.ReplaySubject(1);this.containerResize$=this.container$.pipe(D(function(e){return e.nativeElement}),Se(function(e){return aDc(d.resizeService,e)}));this.issueId$=new E.ReplaySubject(1);this.lastRenderedImageIndex$=new E.BehaviorSubject(0);this.allImages$=this.imageLinks$.pipe(D(function(e){e=e.map(function(g){if(g.comment){var h=
Fva(g.href);if(h)return{src:h,comment:g.comment}}}).filter(pi);return CNa(e)}));this.maxImagesInOneRow$=this.containerResize$.pipe(D(function(e){return Math.floor((e.width-16)/216)}),Pe({refCount:!0,bufferSize:1}));this.initialNumberOfImages$=this.maxImagesInOneRow$.pipe(D(function(e){return 2*e}));this.imagesToRender$=(0,E.combineLatest)([this.initialNumberOfImages$,this.allImages$,this.lastRenderedImageIndex$]).pipe(D(function(e){var g=k(e);e=g.next().value;var h=g.next().value;g=g.next().value;
return d.paginate?h.slice(0,g||e):h.slice(0,e)}),Fe())};JR.prototype.goToResourcesTab=function(){this.router.navigate(["./resources"],{relativeTo:this.route})};JR.prototype.ngOnInit=function(){this.issueId$.next(this.issueId)};JR.prototype.ngAfterContentInit=function(){this.container$.next(this.container)};hh.Object.defineProperties(JR.prototype,{imageLinks:{configurable:!0,enumerable:!0,set:function(a){this.imageLinks$.next(a)},get:function(){return Vm(this.imageLinks$)}}});
JR.\u0275fac=function(a){return new (a||JR)(C(IR),C(nG),C(mm))};
JR.\u0275cmp=Gc({type:JR,selectors:[["inline-images-summary"]],viewQuery:function(a,b){a&1&&Uf(bDc,7);if(a&2){var c;Tf(c=Wf())&&(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&&(G(0,"div",null,0),Q(2,BNa,3,3,"ng-container",1),S(3,"async"),H());a&2&&(z(2),F("ngIf",T(3,1,b.allImages$)))},dependencies:function(){return[HR,dw,ew,Jz,EN,kw,KR]},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 KR=function(){};KR.prototype.transform=function(a){return a.split(".png")[0]};KR.\u0275fac=function(a){return new (a||KR)};KR.\u0275pipe=Lc({name:"removePngExtension",type:KR,pure:!0});var cDc={IMAGES:"SW-images",MENTIONED_ISSUES:"SW-mentioned-bugs",LINKS:"SW-links"},HOa=[].concat(Vc(Object.values(cDc)));var dDc=function(a,b){var c=this;this.issueInteractionsTracking=a;this.analytics=b;this.recordInteractionOnce=mza(function(d){c.analytics.trackEvent(Jn.EDIT_ISSUE,"click",d)});this.recordImpressionOnce=mza(function(){c.analytics.trackEvent(Jn.EDIT_ISSUE,"view","SW")})},wOa=function(a,b,c){a.recordInteractionOnce(c);Ho(a.issueInteractionsTracking,b,c+"-content-interacted");Ho(a.issueInteractionsTracking,b,"SW-content-interacted")};var LR=function(a,b){this.activeSession=a;this.currentTracker=b;this.linkText=this.rightText=this.leftText="";this.isExternalLink=!1;this.issueId=this.originalHref=this.redirectedHref=""};
LR.prototype.ngOnChanges=function(){var a;a:{var b=null==(a=this.sourceComment)?void 0:a.formattedComment;if(b){if(b.markdownFormat){a=JNa(b.markdownFormat.content);break a}if(b.literalFormat){a=JNa(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(JNa(c));break a}}a=void 0}if(a=a&&eDc(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(fDc.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(fDc.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="",Dl(this.relatedLink)?c=b=this.relatedLink.href:Gva(this.relatedLink)&&(a=this.relatedLink.issueId,b=this.getIssueUrl(this.relatedLink.issueId),c=this.relatedLink.issueId,c=this.activeSession.isInternalSession()?zqa(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 eDc=function(a,b){if(a.relatedLink){if(Gva(a.relatedLink)){var c=a.relatedLink.issueId;return[].concat(Vc(b.querySelectorAll("a"))).find(function(e){return e.dataset.bIssueId===c})}if(Dl(a.relatedLink)){var d=a.relatedLink;return[].concat(Vc(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})}}};
LR.prototype.getIssueUrl=function(a){return mK(this.currentTracker,a)};LR.\u0275fac=function(a){return new (a||LR)(C(gs),C(lK))};
LR.\u0275cmp=Gc({type:LR,selectors:[["mentioned-link-with-context"]],inputs:{sourceComment:"sourceComment",relatedLink:"relatedLink"},features:[Zc],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&&(G(0,"div",0),R(1," \u201c "),Q(2,DNa,3,3,"span",1),Q(3,ENa,3,3,"ng-container",2),Q(4,HNa,3,2,"ng-template",null,3,Zf),Q(6,INa,2,1,"span",4),R(7," \u201d\n"),H());if(a&2){var c=Cf(5);z(2);F("ngIf",b.leftText);z(1);F("ngIf",b.isExternalLink)("ngIfElse",c);z(3);F("ngIf",b.rightText)}},dependencies:[wN,kL,ew,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 fDc=new Set(["BR"]);var MR=function(a,b,c,d,e){var g=this;this.activeSession=a;this.issueFridge=b;this.router=c;this.route=d;this.issueReferenceResolver=e;this.issueReferences$=new E.ReplaySubject(1);this.currentIssueId$=new E.ReplaySubject(1);this.paginate=!1;this.lastRenderedMentionedIssueIndex$=new E.BehaviorSubject(10);this.issuesMap$=this.issueReferences$.pipe(ye(pi),Se(function(h){var l=rl(h.map(function(q){return q.issueId}));return g.issueFridge.watchSet(l).pipe(D(function(q){return new Map(q.map(function(x){return[null==
x?void 0:x.issueId.toString(),x]}))}),D(function(q){return new Map(l.map(function(x){return[x,q.get(x)]}))}))}));this.issueReferencesMap$=this.issueReferences$.pipe(ye(pi),D(function(h){var l=new Map;h=k(h);for(var q=h.next();!q.done;q=h.next()){q=q.value;var x=q.issueId.toString();l.has(x)?l.get(x).push(q):l.set(x,[q])}return l}));this.allMentionedIssues$=(0,E.combineLatest)([this.issueReferencesMap$,this.issuesMap$]).pipe(D(function(h){h=k(h);var l=h.next().value;h=h.next().value;return[].concat(Vc(h)).filter(function(q){return k(q).next().value!==
g.issueId}).map(function(q){var x=k(q);q=x.next().value;x=x.next().value;var A=l.get(q),B=null==A?void 0:A.map(function(K){var N,P,Y=null==(N=K.comment)?void 0:null==(P=N.userPerformingActionUser)?void 0:P.emailAddress;return{commentNumber:K.sourceCommentNumber,author:(null==Y?void 0:Y.split("@")[0])+"@",issueEvent:K.comment}});return{hasViewAccess:!!x,issueId:q,shortIssueUrl:zqa(g.activeSession.getAppBaseUrl(),q),sourceComments:B,title:null==x?void 0:x.snapshot[0].title,priority:x?x.snapshot[0].priority:
null,relatedLinks:A}})}));this.mentionedIssuesToRender$=(0,E.combineLatest)([this.allMentionedIssues$,this.lastRenderedMentionedIssueIndex$]).pipe(D(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)}))};MR.prototype.getCommentNumberLink=function(a){return rwa(this.issueId,{comment:a})};MR.prototype.scrollCommentIntoView=function(a,b){this.issueReferenceResolver.visit({issueId:this.issueId,elementId:"comment"+b,event:a})};
MR.prototype.goToResourcesTab=function(){this.router.navigate(["./resources"],{relativeTo:this.route})};hh.Object.defineProperties(MR.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}}});MR.\u0275fac=function(a){return new (a||MR)(C(gs),C(lH),C(nG),C(mm),C(iL))};
MR.\u0275cmp=Gc({type:MR,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&&(Q(0,QNa,3,3,"ng-container",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.mentionedIssuesToRender$))},dependencies:function(){return[dw,ew,WH,Jz,LB,LR,HR,kw,NR]},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 NR=function(){};NR.prototype.transform=function(a){return a.map(function(b){return b.issueEvent}).filter(pi)};NR.\u0275fac=function(a){return new (a||NR)};NR.\u0275pipe=Lc({name:"toComments",type:NR,pure:!0});var OR=function(a,b){var c=this;this.router=a;this.route=b;this.allLinks$=new E.ReplaySubject(1);this.issueId$=new E.ReplaySubject(1);this.lastRenderedRelatedLinkIndex$=new E.BehaviorSubject(10);this.paginate=!1;this.trackByHref=function(d,e){return e[0].href};this.allLinkGroups$=this.allLinks$.pipe(D(function(d){return Mua(d,function(e){return e.href})}));this.linkGroupsToRender$=(0,E.combineLatest)([this.allLinkGroups$,this.lastRenderedRelatedLinkIndex$]).pipe(D(function(d){var e=k(d);d=e.next().value;
e=e.next().value;return c.paginate?YNa(d,e):6===d.length?YNa(d,6):YNa(d,5)}))};OR.prototype.ngOnInit=function(){};OR.prototype.goToResourcesTab=function(){this.router.navigate(["./resources"],{relativeTo:this.route})};hh.Object.defineProperties(OR.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 Vm(this.issueId$)}}});
OR.\u0275fac=function(a){return new (a||OR)(C(nG),C(mm))};
OR.\u0275cmp=Gc({type:OR,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&&(Q(0,WNa,3,3,"ng-container",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.allLinkGroups$))},dependencies:function(){return[HR,dw,ew,Jz,LR,kw,PR]},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 XNa=tl(function(a){return Math.min.apply(Math,Vc(a.map(function(b){return b.sourceCommentNumber})))},Vua),PR=function(){};PR.prototype.transform=function(a){return a.map(function(b){return b.comment}).filter(pi)};PR.\u0275fac=function(a){return new (a||PR)};PR.\u0275pipe=Lc({name:"toComments",type:PR,pure:!0});var QR=function(){qx.apply(this,arguments)};U(QR,qx);QR.\u0275fac=function(){var a;return function(b){return(a||(a=td(QR)))(b||QR)}}();QR.\u0275dir=Kc({type:QR,selectors:[["","expandable-tab-content",""]],features:[bf]});var RR=function(){qx.apply(this,arguments)};U(RR,qx);RR.\u0275fac=function(){var a;return function(b){return(a||(a=td(RR)))(b||RR)}}();RR.\u0275dir=Kc({type:RR,selectors:[["","expandable-tab-header",""]],features:[bf]});var SR=function(){qx.apply(this,arguments)};U(SR,qx);
SR.\u0275fac=function(){var a;return function(b){return(a||(a=td(SR)))(b||SR)}}();SR.\u0275dir=Kc({type:SR,selectors:[["","expandable-tab-icon",""]],features:[bf]});var TR=function(){};TR.prototype.ngOnInit=function(){};TR.\u0275fac=function(a){return new (a||TR)};
TR.\u0275cmp=Gc({type:TR,selectors:[["expandable-tab"]],contentQueries:function(a,b,c){a&1&&(Vf(c,RR,5,Qf),Vf(c,QR,5,Qf),Vf(c,SR,5,Qf));if(a&2){var d;Tf(d=Wf())&&(b.tabHeaderTemplate=d.first);Tf(d=Wf())&&(b.tabContentTemplate=d.first);Tf(d=Wf())&&(b.tabIconTemplate=d.first)}},inputs:{key:"key",ariaLabel:"ariaLabel"},decls:0,vars:0,template:function(){},encapsulation:2,changeDetection:0});var ZNa=function(a){return{tab:a}},gDc=function(a){return{allTabsExpanded:a}},UR=function(){WD.apply(this,arguments);this.internalTabKeys$=new E.ReplaySubject(1);this.ariaLabel="";this.internalExpandedTabs=new iJ;this.expandedTabsChanged=new Gv;this.contentShownChanged=new Gv;this.tabs$=new E.BehaviorSubject([]);this.allTabsExpanded$=(0,E.combineLatest)([this.tabs$,this.internalExpandedTabs.value$]).pipe(D(function(a){a=k(a);var b=a.next().value,c=a.next().value;return b.every(function(d){return c.has(d.key)})}));
this.trackByKey=function(a,b){return b.key}};U(UR,WD);UR.\u0275dir=WD.\u0275dir;
UR.prototype.ngAfterContentInit=function(){var a=this;this.subscriptions.add(this.internalTabs.changes.pipe(Re(void 0),D(function(){return a.internalTabs.toArray()}),D(function(b){return new Map(b.map(function(c){return[c.key,c]}))}),Se(function(b){return(0,E.combineLatest)([(0,E.of)(b),a.internalTabKeys$])}),D(function(b){b=k(b);var c=b.next().value;return b.next().value.map(function(d){return Object.assign({},{key:d},c.get(d))})})).subscribe(this.tabs$));this.subscriptions.add((0,E.combineLatest)([this.internalTabKeys$,
this.internalExpandedTabs.value$]).pipe(D(function(b){var c=k(b);b=c.next().value;c=c.next().value;return iqa(new Set(b),new Set(c))}),Fe(Mh)).subscribe(function(b){a.contentShownChanged.emit(b)}))};UR.prototype.ngOnInit=function(){};UR.prototype.showAll=function(){this.internalExpandedTabs.add.apply(this.internalExpandedTabs,Vc(this.tabs$.value.map(function(a){return a.key})));this.expandedTabsChanged.emit(new Set(this.internalExpandedTabs))};
UR.prototype.hideAll=function(){this.internalExpandedTabs.clear();this.expandedTabsChanged.emit(new Set(this.internalExpandedTabs))};var fOa=function(a){var b;return he(function(c){if(1==c.nextAddress)return c.yield((0,E.firstValueFrom)(a.allTabsExpanded$),2);(b=c.yieldResult)?a.hideAll():a.showAll();me(c)})};
hh.Object.defineProperties(UR.prototype,{tabKeys:{configurable:!0,enumerable:!0,set:function(a){this.internalTabKeys$.next([].concat(Vc(a)))},get:function(){var a;return null!=(a=Vm(this.internalTabKeys$))?a:[]}},expandedTabs:{configurable:!0,enumerable:!0,set:function(a){this.internalExpandedTabs.reset(a)},get:function(){return[].concat(Vc(this.internalExpandedTabs))}}});UR.\u0275fac=function(){var a;return function(b){return(a||(a=td(UR)))(b||UR)}}();
UR.\u0275cmp=Gc({type:UR,selectors:[["expandable-tabs"]],contentQueries:function(a,b,c){a&1&&Vf(c,TR,5);if(a&2){var d;Tf(d=Wf())&&(b.internalTabs=d)}},inputs:{tabKeys:"tabKeys",ariaLabel:"ariaLabel",expandedTabs:"expandedTabs"},outputs:{expandedTabsChanged:"expandedTabsChanged",contentShownChanged:"contentShownChanged"},features:[bf],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&&(G(0,"div",0)(1,"div",1),Q(2,eOa,8,16,"button",2),S(3,"async"),H(),Q(4,gOa,3,6,"ng-container",3),S(5,"async"),H(),G(6,"div",4),Q(7,oOa,3,3,"ng-container",5),S(8,"async"),H(),Q(9,tOa,3,2,"ng-template",null,6,Zf));a&2&&(z(1),gf("aria-label",b.ariaLabel),z(1),F("ngForOf",T(3,6,b.tabs$))("ngForTrackBy",b.trackByKey),z(2),F("ngIf",Jf(12,gDc,T(5,
8,b.allTabsExpanded$))),z(3),F("ngForOf",T(8,10,b.tabs$))("ngForTrackBy",b.trackByKey))},dependencies:[dw,ew,jw,uA,Jz,kw],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 xOa=function(){return[]},VR=function(a,b,c,d,e,g){WD.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=cDc;this.issueId$=new E.ReplaySubject(1);this.alwaysStartCollapsed=!1;this.issue$=this.issueId$.pipe(Se(function(l){return h.issueFridge.watch(l)}),ye(pi));this.commentNumberToEventMap$=this.issueId$.pipe(Se(function(l){return h.eventsForIssueFridge.watch(l)}),
D(function(l){var q;return null!=(q=null==l?void 0:l.events)?q:[]}),D(function(l){return new Map(l.filter(function(q){return!!q.commentNumber}).map(function(q){return[q.commentNumber,q]}))}));this.relatedLinks$=(0,E.combineLatest)([this.issue$,this.commentNumberToEventMap$]).pipe(D(function(l){l=k(l);var q=l.next().value,x=l.next().value,A;return(null==(A=q.relatedLinks)?void 0:A.map(function(B){return Object.assign({},B,{comment:x.get(B.sourceCommentNumber)})}))||[]}));this.imageLinks$=this.relatedLinks$.pipe(D(function(l){return l.filter(Cva)}));
this.distinctImageLinksCount$=this.imageLinks$.pipe(D(function(l){return ql(l,function(q){return Fva(q.href)})}),D(function(l){return l.length}));this.shouldShowImages$=this.imageLinks$.pipe(D(function(l){return h.activeSession.isInternalSession()&&UD(h.activeSession,"enableImageSummary")&&hDc(h,l)}));this.issues$=this.relatedLinks$.pipe(D(function(l){return l.filter(Gva)}));this.distinctIssuesCount$=this.issues$.pipe(D(function(l){return l.filter(function(q){return q.issueId!==h.issueId})}),D(function(l){return ql(l,
function(q){return q.issueId})}),D(function(l){return l.length}));this.shouldShowIssues$=this.distinctIssuesCount$.pipe(D(function(l){return UD(h.activeSession,"enableRelatedIssuesWidget")&&!!l}));this.otherLinks$=this.relatedLinks$.pipe(D(function(l){return l.filter(Hva)}));this.distinctOtherLinksCount$=this.otherLinks$.pipe(D(function(l){return ql(l,function(q){return q.href})}),D(function(l){return l.length}));this.shouldShowLinks$=this.otherLinks$.pipe(D(function(l){return UD(h.activeSession,
"enableLinksWidget")&&h.shouldShowLinks(l)}));this.tabKeys$=(0,E.combineLatest)([this.shouldShowImages$.pipe(D(function(l){return{show:l,key:"SW-images"}})),this.shouldShowIssues$.pipe(D(function(l){return{show:l,key:"SW-mentioned-bugs"}})),this.shouldShowLinks$.pipe(D(function(l){return{show:l,key:"SW-links"}}))]).pipe(D(function(l){return l.filter(function(q){return q.show}).map(function(q){return q.key})}));this.shouldShowSummaryCard$=this.tabKeys$.pipe(D(function(l){return!!l.length}),Ee(0,E.asapScheduler));
this.initiallyExpandedTabs=HOa.map(function(l){return dic(h.userPreferencesManager,l)?void 0:l}).filter(pi);this.onTabExpanded$=new Gv;this.issueSummaryTracking=new dDc(this.issueInteractionsTracking,this.analytics)};U(VR,WD);VR.\u0275dir=WD.\u0275dir;
VR.prototype.ngOnInit=function(){var a=this;this.alwaysStartCollapsed&&(this.initiallyExpandedTabs=[]);this.subscriptions.add(this.onTabExpanded$.pipe(De(1E3),Se(function(b){var c=b.expandedTabKeys;return cic(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())Ho(c.issueInteractionsTracking,
d,g.value+"-available");0<b.size&&Ho(c.issueInteractionsTracking,d,"SW-available")}))};VR.prototype.shouldShowLinks=function(a){return 0===a.length||a.every(function(b){return 1===b.sourceCommentNumber})?!1:!0};var hDc=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 vI(a.userPreferencesManager).showInlineImages&&b?!1:!0};
hh.Object.defineProperties(VR.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)},get:function(){return Vm(this.issueId$)}}});VR.\u0275fac=function(a){return new (a||VR)(C(gs),C(uI),C(XI),C(lH),C(gH),C(SE))};
VR.\u0275cmp=Gc({type:VR,selectors:[["issue-summary-card"]],inputs:{issueId:"issueId",alwaysStartCollapsed:"alwaysStartCollapsed"},features:[bf],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&&(G(0,"h3",
0),R(1,"Issue summary"),H(),Q(2,IOa,13,5,"expandable-tabs",1),S(3,"async"));a&2&&(z(2),F("ngIf",T(3,1,b.tabKeys$)))},dependencies:[ew,uA,TR,QR,RR,SR,UR,JR,MR,OR,kw],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 POa=function(){return[]},UOa=function(){return{hideHeader:!0,assigneeMode:"avatar-in-progress",showPendingFixCls:!0}},jPa="QA"===ml().config.environmentType?82860:1298542,WR=function(a,b,c,d,e,g){WD.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=Kva;this.getEndDate=iPa;this.Number=Number;this.makeCritiqueUrl=Jva;this.makeScreenshotViewUrl=kPa;this.log=console.log.bind(console);this.TABLE_COLUMNS=
"focus-indicator drag-handle title assignee status id menu".split(" ");this.maybeIssueId$=new E.BehaviorSubject(void 0);this.issueId$=this.maybeIssueId$.pipe(ye(Boolean));this.issue$=this.issueId$.pipe(Se(this.issueFridge.watchOne));this.projectData$=this.issueId$.pipe(Se(function(l){return jcc(h.data,[l])}),Pe({refCount:!0,bufferSize:1}));this.taskFlowLink$=this.issueId$.pipe(Se(function(l){return h.getTaskFlowLink(l)}));this.projectActivityStream$=this.issueId$.pipe(Se(function(l){return Qgc(h.projectActivity,
l)}));this.environmentType=this.activeSession.getEnvironmentType()};U(WR,WD);WR.\u0275dir=WD.\u0275dir;WR.prototype.isCollapsed=function(a){return!0===this.neverCollapse?!1:null==a?!0:this.addMode||this.prefs.collapsed["project-"+a]};
WR.prototype.getTaskFlowLink=function(a){var b=this;return dtc(this.workspaceService,a).pipe(Se(function(c){if(0<c.length){c=c[0];switch(b.environmentType){case "NIGHTLY":case "PROD":var d="https://taskflow.corp.google.com/workspaces";break;default:d="https://taskflow-autopush.corp.google.com/workspaces"}c=(0,E.of)(d+"/"+c.workspaceId+"/work_item/b/"+c.issueId)}else c=(0,E.of)(void 0);return c}))};
hh.Object.defineProperties(WR.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}}});WR.\u0275fac=function(a){return new (a||WR)(C(RH),C(lH),C(TE),C(oP),C(gs),C(UH))};
WR.\u0275cmp=Gc({type:WR,selectors:[["issue-as-project-card"]],inputs:{addMode:"addMode",neverCollapse:"neverCollapse",issueId:"issueId"},features:[bf],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&&(G(0,"div",0),Q(1,dPa,37,9,"ng-container",1),S(2,"async"),Q(3,gPa,3,2,"ng-template",null,2,Zf),H());if(a&2){var c=Cf(4);qf("collapsed",b.isCollapsed(b.issueId))("never-collapse-mode",b.neverCollapse)("add-mode",b.addMode);z(1);F("ngIf",T(2,8,b.issue$))("ngIfElse",c)}},dependencies:[dw,ew,uA,XO,Jz,WJ,sL,DB,
BB,CB,tL,GR,VR,oL,kw,rw,qw],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 hPa=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 YR=function(a,b,c,d){WD.call(this);var e=this;this.hackyPrefs=a;this.issueRelationshipsFridge=b;this.issueFridge=c;this.projectSuggestService=d;this.log=console.log.bind(console);this.projectIds$=this.issueRelationshipsFridge.watch(this.hackyPrefs.prefs.id).pipe(D(function(g){var h;return null!=(h=null==g?void 0:g.relatedChildren.map(function(l){return l.targetIssueId}))?h:[]}));this.suggestionCount=3;this.suggestedProjects$=(0,E.combineLatest)([Vgc(this.projectSuggestService),dgc(this.issueRelationshipsFridge,
this.hackyPrefs.prefs.id,2)]).pipe(D(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)})}),Se(this.issueFridge.watchSet));this.addProject=function(g){null!=g&&sn(e.hackyPrefs,g)}};U(YR,WD);YR.\u0275dir=WD.\u0275dir;YR.\u0275fac=function(a){return new (a||YR)(C(RH),C(sH),C(lH),C(VH))};
YR.\u0275cmp=Gc({type:YR,selectors:[["suggested-issue-projects"]],inputs:{disableShowMore:"disableShowMore",suggestionCount:"suggestionCount"},features:[bf],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&&(Q(0,oPa,10,7,"ng-container",0),S(1,"async"),Q(2,pPa,3,0,"ng-template",null,1,Zf));if(a&2){var c=Cf(3);F("ngIf",T(1,2,b.suggestedProjects$))("ngIfElse",c)}},dependencies:[dw,ew,uA,Jz,Kz,WR,sL,kw,rw],styles:["[_nghost-%COMP%] { display: block; }"]});var ZR=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)};ZR.prototype.onEnter=function(){this.onConfirm()};ZR.prototype.onEscape=function(){this.dialogRef.close()};
ZR.prototype.onConfirm=function(){var a,b=null==(a=this.userSearchInput)?void 0:a.trim();if(null==b?0:b.match(/\d{3,}/))if(null==Il(b))this.errorMsg="That doesn't look an issue, hotlist, or saved search";else{a:{a=Sva(b);if(null!=a)switch(Il(b)){case "hotlist":b=Gl(a);break a;case "savedsearch":b=Hl(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)"};ZR.prototype.onCancel=function(){this.dialogRef.close()};
ZR.\u0275fac=function(a){return new (a||ZR)(C(Tz),C(Vz),C(QI))};
ZR.\u0275cmp=Gc({type:ZR,selectors:[["ng-component"]],hostBindings:function(a,b){a&1&&M("keydown.escape",function(){return b.onEscape()})},decls:18,vars:4,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["type","text","mat-input","","placeholder","Enter an ID",1,"search-field",3,"ngModel","keydown.enter","ngModelChange"],["class","color-bad-text margin-s-top",4,"ngIf"],[1,"muted","flex-kids-x","margin-top"],["mat-icon-button","","href","http://go/b-learn-project-add","target","_blank","title",
"Learn more","aria-label","Learn more",1,"small"],["svgIcon","info",1,"icon-s"],["class","suggestions margin-top",4,"ngIf"],["mat-dialog-actions",""],["mat-button","",1,"gmat-button","medium","cancel",3,"click"],["mat-flat-button","","color","primary",1,"gmat-button","medium","confirm",3,"disabled","click"],[1,"color-bad-text","margin-s-top"],[1,"suggestions","margin-top"],[1,"flex-hemmed"],[1,"margin-bottom",3,"suggestionCount","disableShowMore","click"],[3,"suggestionCount","disableShowMore","click"]],
template:function(a,b){a&1&&(G(0,"h2",0),R(1," Add a Project\n"),H(),G(2,"div",1)(3,"input",2),M("keydown.enter",function(){return b.onEnter()})("ngModelChange",function(c){return b.userSearchInput=c}),H(),Q(4,qPa,2,1,"p",3),G(5,"div",4)(6,"a",5),I(7,"mat-icon",6),H(),G(8,"p"),R(9,' Add "parent" tracking bugs using their ID. '),I(10,"br"),R(11,' Or, add hotlists and saved searches by URL or with syntax like "hotlist/123456" and "savedsearch-789012". '),H()(),Q(12,rPa,9,4,"aside",7),H(),G(13,"div",
8)(14,"button",9),M("click",function(){return b.onCancel()}),R(15," Cancel "),H(),G(16,"button",10),M("click",function(){return b.onConfirm()}),R(17," Confirm "),H()());a&2&&(z(3),F("ngModel",b.userSearchInput),z(1),F("ngIf",b.errorMsg),z(8),F("ngIf",null==b.userSearchInput||0===(null==b.userSearchInput?null:b.userSearchInput.length)),z(4),F("disabled",null==b.userSearchInput||0===b.userSearchInput.length))},dependencies:[ew,uA,Jz,Kz,Yz,Zz,$z,og,Fw,Lw,vL,YR],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 $R=function(a){this.dialog=a};$R.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){Rz(c.dialog.open(ZR,d)).subscribe(function(g){null==b||b(g);e(g)})})};$R.\u0275fac=function(a){return new (a||$R)(u(Wz))};$R.\u0275prov=qc({token:$R,factory:$R.\u0275fac,providedIn:"root"});var aS=function(){};aS.\u0275fac=function(a){return new (a||aS)};aS.\u0275mod=Ic({type:aS});aS.\u0275inj=rc({imports:[iC,JC,tF]});var iDc=Kg("indicator",[Ng("active-asc, asc",Mg({transform:"translateY(0px)"})),Ng("active-desc, desc",Mg({transform:"translateY(10px)"})),Og("active-asc <=> active-desc",Lg("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),jDc=Kg("leftPointer",[Ng("active-asc, asc",Mg({transform:"rotate(-45deg)"})),Ng("active-desc, desc",Mg({transform:"rotate(45deg)"})),Og("active-asc <=> active-desc",Lg("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),kDc=Kg("rightPointer",[Ng("active-asc, asc",Mg({transform:"rotate(45deg)"})),Ng("active-desc, desc",
Mg({transform:"rotate(-45deg)"})),Og("active-asc <=> active-desc",Lg("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),lDc=Kg("arrowOpacity",[Ng("desc-to-active, asc-to-active, active",Mg({opacity:1})),Ng("desc-to-hint, asc-to-hint, hint",Mg({opacity:.54})),Ng("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",Mg({opacity:0})),Og("* => asc, * => desc, * => active, * => hint, * => void",Lg("0ms")),Og("* <=> *",Lg("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),mDc=Kg("arrowPosition",[Og("* => desc-to-hint, * => desc-to-active",
Lg("225ms cubic-bezier(0.4,0.0,0.2,1)",{type:5,steps:[Mg({transform:"translateY(-25%)"}),Mg({transform:"translateY(0)"})]})),Og("* => hint-to-desc, * => active-to-desc",Lg("225ms cubic-bezier(0.4,0.0,0.2,1)",{type:5,steps:[Mg({transform:"translateY(0)"}),Mg({transform:"translateY(25%)"})]})),Og("* => asc-to-hint, * => asc-to-active",Lg("225ms cubic-bezier(0.4,0.0,0.2,1)",{type:5,steps:[Mg({transform:"translateY(25%)"}),Mg({transform:"translateY(0)"})]})),Og("* => hint-to-asc, * => active-to-asc",
Lg("225ms cubic-bezier(0.4,0.0,0.2,1)",{type:5,steps:[Mg({transform:"translateY(0)"}),Mg({transform:"translateY(-25%)"})]})),Ng("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",Mg({transform:"translateY(0)"})),Ng("hint-to-desc, active-to-desc, desc",Mg({transform:"translateY(-25%)"})),Ng("hint-to-asc, active-to-asc, asc",Mg({transform:"translateY(25%)"}))]),nDc=Kg("allowChildren",[Og("* <=> *",[xna("@*",wna())])]);var bS=function(){this.changes=new E.Subject};bS.\u0275fac=function(a){return new (a||bS)};bS.\u0275prov=qc({token:bS,factory:bS.\u0275fac,providedIn:"root"});var oDc={provide:bS,deps:[[new $u,new av,bS]],useFactory:function(a){return a||new bS}};var pDc=new Rc("MAT_SORT_DEFAULT_OPTIONS"),qDc=Moa(kh(function(){})),cS=function(a){var b=qDc.call(this)||this;b._defaultOptions=a;b.sortables=new Map;b._stateChanges=new E.Subject;b.start="asc";b._direction="";b.sortChange=new Gv;return b};U(cS,qDc);f=cS.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()};hh.Object.defineProperties(cS.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=xg(a)}}});cS.\u0275fac=function(a){return new (a||cS)(C(pDc,8))};
cS.\u0275dir=Kc({type:cS,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:[bf,Zc]});var rDc=kh(function(){}),dS=function(a,b,c,d,e,g,h,l){var q=rDc.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};U(dS,rDc);f=dS.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)||IXb(b,this._sortButton,this._sortActionDescription);var c;null==(c=this._ariaDescriber)||c.describe(this._sortButton,a)}this._sortActionDescription=a};
f._handleStateChanges=function(){var a=this;this._rerenderSubscription=(0,E.merge)(this._sort.sortChange,this._sort._stateChanges,this._intl.changes).subscribe(function(){if(a._isSorted()){a._updateArrowDirection();if("hint"===a._viewState.toState||"active"===a._viewState.toState)a._disableViewStateAnimation=!0;a._setAnimationTransitionState({fromState:a._arrowDirection,toState:"active"});a._showIndicatorHint=!1}!a._isSorted()&&a._viewState&&"active"===a._viewState.toState&&(a._disableViewStateAnimation=
!1,a._setAnimationTransitionState({fromState:"active",toState:a._arrowDirection}));a._changeDetectorRef.markForCheck()})};hh.Object.defineProperties(dS.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=xg(a)}}});
dS.\u0275fac=function(a){return new (a||dS)(C(bS),C(Yv),C(cS,8),C("MAT_SORT_HEADER_COLUMN_DEF",8),C(ix),C(vd),C(qy,8),C(pDc,8))};
dS.\u0275cmp=Gc({type:dS,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(a,b){a&1&&M("click",function(){return b._handleClick()})("keydown",function(c){return b._handleKeydown(c)})("mouseenter",function(){return b._setIndicatorHintVisible(!0)})("mouseleave",function(){return b._setIndicatorHintVisible(!1)});a&2&&(gf("aria-sort",b._getAriaSortAttribute()),qf("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:[bf],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&&(xf(),G(0,"div",0)(1,"div",1),yf(2),H(),Q(3,sPa,6,6,"div",2),H());a&2&&(qf("mat-sort-header-sorted",b._isSorted())("mat-sort-header-position-before","before"===b.arrowPosition),gf("tabindex",b._isDisabled()?null:0)("role",b._isDisabled()?null:"button"),z(3),F("ngIf",b._renderArrow()))},dependencies:[ew],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:[iDc,jDc,kDc,lDc,mDc,nDc]},changeDetection:0});var sDc="focus-indicator title type team id assignee status menu".split(" "),eS=function(a,b,c){WD.call(this);var d=this;this.issueFridge=a;this.router=b;this.domSafe=c;this.issueIds$=new E.BehaviorSubject([]);this.menuItemFactory=function(){return[]};this.internalFilters=new iJ;this.tableColumns=sDc.slice();this.activeSort$=new E.BehaviorSubject(void 0);this.allRows$=this.issueIds$.pipe(bn(),D(function(e){return e.map(function(g){return{id:g,issue$:d.issueFridge.watch(g)}})}),Pe({refCount:!0,bufferSize:1}));
this.allIssuesAreLoaded$=this.allRows$.pipe(Se(function(e){return(0,E.combineLatest)(e.map(function(g){return g.issue$.pipe(Re(null))}))}),D(function(e){return e.every(function(g){return null!==g})}));this.unarchivedRows$=this.allRows$.pipe(Lia(this.allIssuesAreLoaded$),D(function(e){e=k(e);var g=e.next().value;return e.next().value?g.filter(function(h){var l;return!(null==(l=Al(h))?0:l.isArchived)}):g}));this.sortRows=(0,E.pipe)(Lia(this.activeSort$,this.allIssuesAreLoaded$),D(function(e){e=k(e);
var g=e.next().value,h=e.next().value;return e.next().value?QPa(g,h):g}));this.filterRows=(0,E.pipe)(Lia(this.internalFilters.value$),Se(function(e){e=k(e);var g=e.next().value,h=e.next().value;return 0===h.size?(0,E.of)(g):(0,E.combineLatest)(g.map(function(l){return l.issue$})).pipe(D(function(l){return g.filter(function(q,x){return!l[x]||TIa(l[x],h)})}))}));this.rows$=this.unarchivedRows$.pipe(this.filterRows,this.sortRows);this.filteredRowCount$=(0,E.combineLatest)([this.unarchivedRows$,this.rows$]).pipe(D(function(e){var g=
k(e);e=g.next().value;g=g.next().value;return e.length-g.length}),Fe());this.trackBy=function(e,g){return g.id};this.correctedDisplayedRows=new Xf};U(eS,WD);eS.\u0275dir=WD.\u0275dir;f=eS.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(Vc(this.menuItemFactory(a)))};f.ngOnInit=function(){this.initialSort&&this.initialSort.direction&&this.activeSort$.next(this.initialSort)};
f.ngAfterViewInit=function(){var a=this;(0,E.combineLatest)([this.rows$,this.displayedRows.changes.pipe(Re(void 0))]).pipe(Te(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);Sf(a.correctedDisplayedRows)});this.focusManager=yy(new Snc(this.correctedDisplayedRows,PPa))};
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?Hn(this.domSafe,b):Rr(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):Vl(a)};
hh.Object.defineProperties(eS.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:[])}}});eS.\u0275fac=function(a){return new (a||eS)(C(lH),C(nG),C(SJ))};
eS.\u0275cmp=Gc({type:eS,selectors:[["b-issues-table"]],viewQuery:function(a,b){a&1&&Uf(VL,5);if(a&2){var c;Tf(c=Wf())&&(b.displayedRows=c)}},inputs:{issueIds:"issueIds",menuItemFactory:"menuItemFactory",initialSort:"initialSort",issueUrlFactory:"issueUrlFactory",filters:"filters",tableColumns:"tableColumns"},features:[bf],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&&(G(0,"table",0),M("matSortChange",
function(e){return b.onSortChange(e)}),S(1,"async"),S(2,"async"),J(3,1),Q(4,tPa,1,0,"th",2),Q(5,uPa,1,0,"td",3),L(),J(6,4),Q(7,vPa,2,0,"th",2),Q(8,wPa,2,1,"td",5),L(),J(9,6),Q(10,xPa,2,0,"th",2),Q(11,yPa,3,4,"td",5),L(),J(12,7),Q(13,zPa,2,0,"th",8),Q(14,APa,3,3,"td",5),L(),J(15,9),Q(16,BPa,2,0,"th",10),Q(17,CPa,3,3,"td",5),L(),J(18,11),Q(19,DPa,2,0,"th",12),Q(20,EPa,3,3,"td",5),L(),J(21,13),Q(22,FPa,2,0,"th",14),Q(23,GPa,3,3,"td",5),L(),J(24,15),Q(25,HPa,2,0,"th",2),Q(26,IPa,3,3,"td",5),L(),J(27,
16),Q(28,JPa,2,0,"th",17),Q(29,KPa,3,3,"td",5),L(),J(30,18),Q(31,LPa,1,0,"th",2),Q(32,MPa,2,1,"td",5),L(),Q(33,NPa,1,0,"tr",19),Q(34,OPa,1,1,"tr",20),H());if(a&2){var c,d;F("dataSource",b.rows$)("trackBy",b.trackBy)("matSortActive",null!==(c=null==(c=T(1,6,b.activeSort$))?null:c.active)&&void 0!==c?c:"")("matSortDirection",null!==(d=null==(d=T(2,8,b.activeSort$))?null:d.direction)&&void 0!==d?d:"");z(33);F("matHeaderRowDef",b.tableColumns);z(1);F("matRowDefColumns",b.tableColumns)}},dependencies:[cS,
dS,fL,YK,bL,ZK,XK,cL,$K,aL,dL,eL,rK,dK,eK,NL,fK,gK,jK,pK,qK,sK,VL,kw],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 fS=function(){};fS.\u0275fac=function(a){return new (a||fS)};fS.\u0275mod=Ic({type:fS});fS.\u0275inj=rc({providers:[oDc],imports:[sw,dz]});var gS=function(){};gS.\u0275fac=function(a){return new (a||gS)};gS.\u0275mod=Ic({type:gS});gS.\u0275inj=rc({imports:[py,fy,Rx,tF,$w,iC,fS,mN,rM,JC,ax,tG,FR,VM,aS,XM,ZN,ZM,WL]});var tDc=["ASSIGNMENT","RESPONSE","CLOSURE"],uDc=new Map([["ASSIGNMENT","Assignment"],["RESPONSE","Response"],["CLOSURE","Closure"]]),vDc=new Map([["name","Name"],["description","Description"],["parentId","Parent ID"],["elements","SLO rules"]]),Bcb=new Map([["DAY_TYPE_UNSPECIFIED","Calendar"],["CALENDAR","Calendar"],["BUSINESS","Business"]]);var Ui=function(a){r.call(this,a)};U(Ui,r);Ui.prototype.getComponentId=function(){return gj(this,1)};Ui.prototype.setComponentId=function(a){return Cb(this,1,a)};Ui.prototype.getEffectiveSloEditPolicy=function(){return W(this,2,0)};Ui.prototype.toObject=function(){return wDc(this)};var wDc=function(a){if(null!=a)return t(a),{componentId:gj(a,1),effectiveSloEditPolicy:W(a,2,0)}};var xDc=function(a){r.call(this,a,0,xDc.messageId)};U(xDc,r);xDc.prototype.toObject=function(){if(null!=this){t(this);var a={componentSloEditPolicy:wDc(Z(this,Ui,1))}}else a=void 0;return a};xDc.messageId="b.GetComponentSloEditPolicyResponse";var hS=function(a){r.call(this,a,0,hS.messageId)};U(hS,r);hS.prototype.getTeamSloEditPolicy=function(){return Z(this,BD,1)};hS.prototype.toObject=function(){if(null!=this){t(this);var a={teamSloEditPolicy:m$b(this.getTeamSloEditPolicy())}}else a=void 0;return a};hS.messageId="b.GetTeamSloEditPolicyResponse";var iS=function(a){r.call(this,a,0,iS.messageId)};U(iS,r);iS.repeatedFields_=[1];iS.prototype.toObject=function(){if(null!=this){t(this);var a={slosList:Kb(aj(this,cj,1),q$b)}}else a=void 0;return a};iS.messageId="b.SloSearchResponse";var jS=function(a){r.call(this,a,0,jS.messageId)};U(jS,r);jS.prototype.getTeamSloEditPolicy=function(){return Z(this,BD,1)};jS.prototype.toObject=function(){if(null!=this){t(this);var a={teamSloEditPolicy:m$b(this.getTeamSloEditPolicy())}}else a=void 0;return a};jS.messageId="b.UpdateTeamSloEditPolicyResponse";var kS=function(a,b){this.activeSession=a;this.executor=b};f=kS.prototype;f.get=function(a){return this.executor.get({url:"action/slos/"+a,responseConstructor:cj}).pipe(D(bj))};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:iS}).pipe(D(function(b){var c;return(null!=(c=aj(b,cj,1))?c:[]).map(bj)}))};
f.create=function(a){a=Wra(a);return this.executor.post({url:"action/slos",body:a,responseConstructor:cj}).pipe(D(bj))};f.update=function(a){var b=a.sloId;a=Wra(a);return this.executor.post({url:"action/slos/"+b,body:a,responseConstructor:cj}).pipe(D(bj))};kS.\u0275fac=function(a){return new (a||kS)(u(gs),u(LC))};kS.\u0275prov=qc({token:kS,factory:kS.\u0275fac,providedIn:"root"});
var lS=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=lS.prototype;f.get=function(a){var b=this.slosCache.get(a);return void 0!==b?b:this.slosCache.put(String(a),(0,E.firstValueFrom)(this.observableSlosService.get(a)))};f.getOwnedSlos=function(){return(0,E.firstValueFrom)(this.observableSlosService.getOwnedSlos())};f.search=function(a){return(0,E.firstValueFrom)(this.observableSlosService.search(a))};
f.create=function(a){return(0,E.firstValueFrom)(this.observableSlosService.create(a))};f.update=function(a){return(0,E.firstValueFrom)(this.observableSlosService.update(a))};lS.\u0275fac=function(a){return new (a||lS)(u(EG),u(kS))};lS.\u0275prov=qc({token:lS,factory:lS.\u0275fac,providedIn:"root"});var mS=function(a,b){this.sloStatusHelpersService=a;this.dateFormatter=b;this.timeDisplayText="--";this.objectiveDisplayText=null;this.iconName="slo-status-no-data"};mS.prototype.getIconName=function(a){return yDc.has(a)?yDc.get(a):"slo-status-no-data"};
mS.prototype.setDisplayValues=function(a,b){this.iconName=this.getIconName(a);b=null!==b?Glc(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:zh("unknown status type: "+a)}};
mS.prototype.ngOnChanges=function(){var a=Date.now()/1E3;if(this.sloBounds&&VI(this.sloBounds)){var b=this.sloBounds.targetTime.seconds,c=b-this.sloBounds.startTime.seconds;c?this.objectiveDisplayText=Glc(1E3*c):this.objectiveDisplayText=null;c=this.sloBounds;VI(c)&&c.endTime&&0!==c.endTime.seconds&&c.endTime.seconds<=Date.now()/1E3?this.setDisplayValues("COMPLETED",a-this.sloBounds.endTime.seconds):b<a?this.setDisplayValues("OUT_OF_SLO",a-b):(c=this.sloStatusHelpersService.isSloStartTimeApplied(this.sloStartTime),
a=b-a,this.setDisplayValues(259200<a?c?"SNOOZED_HEALTHY":"HEALTHY":c?"SNOOZED_NEAR":"NEAR",a))}else this.setDisplayValues("NO_DATA",null),this.objectiveDisplayText=null};mS.\u0275fac=function(a){return new (a||mS)(C(UI),C(aK))};
mS.\u0275cmp=Gc({type:mS,selectors:[["b-slo-time-indicator"]],inputs:{sloBounds:"sloBounds",sloStartTime:"sloStartTime",sloEndTime:"sloEndTime",includeSnoozeDetails:"includeSnoozeDetails",sloMetricDescription:"sloMetricDescription",includeObjective:"includeObjective"},features:[Zc],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&&(I(0,"mat-icon",0),G(1,"span",
1)(2,"span",2),R(3),H()());a&2&&(F("ngClass",b.iconName)("svgIcon",b.iconName),gf("aria-label","--"===b.timeDisplayText?"No SLO data":""),z(1),zf("matTooltip","",b.objectiveDisplayText," total"),F("matTooltipDisabled",!b.includeObjective||!b.objectiveDisplayText),z(2),Ef(b.timeDisplayText))},dependencies:[cw,uA,LB],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 yDc=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 nS=function(a){this.sloStatusHelpersService=a;this.includeNoSlo=!1};nS.prototype.ngOnInit=function(){zDc(this);this.hasSlo=!!this.sloStatus&&Yic(this.sloStatus)};nS.prototype.ngOnChanges=function(){zDc(this)};var zDc=function(a){a.sloStatus&&(a.assignmentSlo=ADc(mi(a.sloStatus.assignmentBounds)),a.responseSlo=ADc(mi(a.sloStatus.responseBounds)),a.closureSlo=ADc(mi(a.sloStatus.closureBounds)))};nS.prototype.isSloStartTimeApplied=function(){return this.sloStatusHelpersService.isSloStartTimeApplied(this.sloStartTime)};
var ADc=function(a){if(VI(a))return a};nS.\u0275fac=function(a){return new (a||nS)(C(UI))};
nS.\u0275cmp=Gc({type:nS,selectors:[["b-slo-status-summary"]],inputs:{sloStatus:"sloStatus",sloStartTime:"sloStartTime",sloEndTime:"sloEndTime",includeNoSlo:"includeNoSlo",onlyShowMetric:"onlyShowMetric"},features:[Zc],decls:3,vars:3,consts:[[4,"ngIf"],["sloMetricDescription","ASSIGNMENT",3,"sloStartTime","sloEndTime","sloBounds","includeObjective"],["sloMetricDescription","RESPONSE",3,"sloStartTime","sloEndTime","sloBounds","includeObjective"],["sloMetricDescription","CLOSURE",3,"sloStartTime","sloEndTime",
"sloBounds","includeObjective"]],template:function(a,b){a&1&&(Q(0,RPa,2,4,"div",0),Q(1,SPa,2,4,"div",0),Q(2,TPa,2,4,"div",0));a&2&&(F("ngIf",(b.includeNoSlo||b.assignmentSlo)&&(!b.onlyShowMetric||"ASSIGNMENT"==b.onlyShowMetric)),z(1),F("ngIf",(b.includeNoSlo||b.responseSlo)&&(!b.onlyShowMetric||"RESPONSE"==b.onlyShowMetric)),z(1),F("ngIf",(b.includeNoSlo||b.closureSlo)&&(!b.onlyShowMetric||"CLOSURE"==b.onlyShowMetric)))},dependencies:[ew,mS],encapsulation:2,changeDetection:0});var oS=function(a,b,c,d){this.sloStatusHelpersService=a;this.paths=b;this.analytics=c;this.sloApi=d};oS.prototype.ngOnInit=function(){this.hasSlo=!!this.sloStatus&&Zic(this.sloStatus,this.onlyShowMetric);"0"!==this.sloId?(this.editSloLink=this.paths.editSlo(this.sloId),BDc(this)):this.editSloLink=null};oS.prototype.trackOpenSlo=function(){this.analytics.trackEvent(Jn.EDIT_SLO,"open","fromSloStatusCard")};
var BDc=function(a){a.sloApi.get(a.sloId).then(function(b){a.sloName=b.name}).catch(function(){a.sloName=null})};oS.\u0275fac=function(a){return new (a||oS)(C(UI),C(vG),C(gH),C(lS))};
oS.\u0275cmp=Gc({type:oS,selectors:[["slo-status-card"]],inputs:{sloId:"sloId",sloStatus:"sloStatus",sloStartTime:"sloStartTime",onlyShowMetric:"onlyShowMetric"},ngContentSelectors:["*"],decls:10,vars:4,consts:[[3,"onedevHovercardTrigger"],["card",""],["role","dialog","aria-label","SLO Hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"bv2-hovercard-narrow"],["class","slo-indicators",4,"ngIf"],["class","no-slo-message",4,"ngIf"],[4,"ngIf"],[1,"slo-indicators"],[3,"sloStatus",
"sloStartTime","onlyShowMetric"],[1,"no-slo-message"],["class","slo-link",3,"href","click",4,"ngIf"],[1,"slo-link",3,"href","click"]],template:function(a,b){a&1&&(xf(),G(0,"span",0),yf(1),H(),G(2,"onedev-hovercard",null,1)(4,"div",2)(5,"div",3)(6,"div",4),Q(7,UPa,2,3,"div",5),Q(8,XPa,3,2,"div",6),Q(9,$Pa,4,2,"span",7),H()()()());if(a&2){var c=Cf(3);F("onedevHovercardTrigger",c);z(7);F("ngIf",b.hasSlo);z(1);F("ngIf",!b.hasSlo);z(1);F("ngIf",b.editSloLink)}},dependencies:[ew,qJ,vJ,nS],styles:[".onedev-hovercard-content[_ngcontent-%COMP%]{width:auto}hovercard-content[_ngcontent-%COMP%]   slo-time-indicator[_ngcontent-%COMP%]{display:inline-block;margin:2px 0}hovercard-content[_ngcontent-%COMP%]   .slo-indicators[_ngcontent-%COMP%]{margin-bottom:5px}hovercard-content[_ngcontent-%COMP%]   .no-slo-message[_ngcontent-%COMP%]{margin:2px 0 5px 2px}hovercard-content[_ngcontent-%COMP%]   .slo-link[_ngcontent-%COMP%]{margin-left:2px}/*# sourceMappingURL=slo_status_card.css.map */"]});var pS=function(a){this.sloStatusHelpersService=a;this.includeObjective=this.includeSloMetric=!1;this.firstOpenSlo=null;this.firstOpenSloMetric=""};pS.prototype.ngOnInit=function(){CDc(this)};pS.prototype.ngOnChanges=function(a){(a.sloStatus||a.includeSloMetric)&&CDc(this)};var CDc=function(a){var b=$ic(a.sloStatus);b?(a.firstOpenSlo=b.sloBounds,a.includeSloMetric?a.firstOpenSloMetric=b.sloMetric:a.firstOpenSloMetric=""):(a.firstOpenSlo=null,a.firstOpenSloMetric="")};
pS.\u0275fac=function(a){return new (a||pS)(C(UI))};
pS.\u0275cmp=Gc({type:pS,selectors:[["b-aggregated-slo-status-indicator"]],inputs:{sloStatus:"sloStatus",sloStartTime:"sloStartTime",sloEndTime:"sloEndTime",includeSloMetric:"includeSloMetric",includeObjective:"includeObjective"},features:[Zc],decls:1,vars:5,consts:[[3,"sloBounds","sloMetricDescription","sloStartTime","sloEndTime","includeObjective"]],template:function(a,b){a&1&&I(0,"b-slo-time-indicator",0);a&2&&F("sloBounds",b.firstOpenSlo)("sloMetricDescription",b.firstOpenSloMetric)("sloStartTime",
b.sloStartTime)("sloEndTime",b.sloEndTime)("includeObjective",b.includeObjective)},dependencies:[mS],encapsulation:2,changeDetection:0});var qS=function(){};qS.\u0275fac=function(a){return new (a||qS)};qS.\u0275mod=Ic({type:qS});qS.\u0275inj=rc({imports:[tF,JC]});var rS=function(){};rS.\u0275fac=function(a){return new (a||rS)};rS.\u0275mod=Ic({type:rS});rS.\u0275inj=rc({imports:[tF,qS]});var sS=function(){};sS.\u0275fac=function(a){return new (a||sS)};sS.\u0275mod=Ic({type:sS});sS.\u0275inj=rc({imports:[tF,DM,rS]});var tS=function(){};tS.\u0275fac=function(a){return new (a||tS)};tS.\u0275mod=Ic({type:tS});tS.\u0275inj=rc({imports:[tF,qS]});var DDc=function(a,b){this.dialogRef=b;this.supportedColumns=gnc;this.currentColumns=[];this.updatedColumns=this.currentColumns=a.currentColumns};DDc.\u0275fac=function(a){return new (a||DDc)(C(Vz),C(Tz))};
DDc.\u0275cmp=Gc({type:DDc,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&&(G(0,"h1",0),R(1,"Show or Hide Columns"),H(),G(2,"div",1)(3,"div"),Q(4,aQa,3,2,"div",2),S(5,"keyvalue"),H()(),
G(6,"div",3)(7,"button",4),M("click",function(){b.dialogRef.close(b.updatedColumns)}),R(8," Save "),H()());a&2&&(z(4),F("ngForOf",T(5,1,b.supportedColumns)))},dependencies:[dw,Jz,Yz,Zz,$z,vN,pw],encapsulation:2});var nQa="QA"===ml().config.environmentType?82860:1298542,uS=function(a,b,c,d){var e=this;this.hackyPrefs=a;this.issueFridge=b;this.issueFrFridge=c;this.data=d;this.makePie=Kva;this.getEndDate=mQa;this.Number=Number;this.makeCritiqueUrl=Jva;this.makeScreenshotViewUrl=oQa;this.log=console.log.bind(console);this.issueId$=new E.ReplaySubject(1);this.issue$=this.issueId$.pipe(Se(this.issueFridge.watchOne));this.issueFr$=this.issueId$.pipe(Se(this.issueFrFridge.watchOne));this.projectData$=this.issueId$.pipe(Se(function(g){return jcc(e.data,
[g])}),Pe({refCount:!0,bufferSize:1}))};hh.Object.defineProperties(uS.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)}},prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});uS.\u0275fac=function(a){return new (a||uS)(C(RH),C(lH),C(oH),C(TE))};
uS.\u0275cmp=Gc({type:uS,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&&(Q(0,kQa,17,14,"div",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.issue$))},dependencies:[dw,ew,WJ,WH,kw,rw],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 lQa=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 EDc=new Rc("mat-slide-toggle-default-options",{providedIn:"root",factory:function(){return{disableToggleValue:!1}}});new Rc("mat-slide-toggle-default-options",{providedIn:"root",factory:function(){return{disableToggleValue:!1}}});var FDc=0,GDc=lh(ih(jh(kh(function(a){this._elementRef=a})))),vS=function(a,b,c,d,e,g,h){a=GDc.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 Gv;a.toggleChange=new Gv;a.tabIndex=parseInt(d)||0;a.color=a.defaultColor=e.color||"accent";a._noopAnimations="NoopAnimations"===g;a.id=a._uniqueId=h+ ++FDc;return a};
U(vS,GDc);f=vS.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))};
hh.Object.defineProperties(vS.prototype,{required:{configurable:!0,enumerable:!0,get:function(){return this._required},set:function(a){this._required=xg(a)}},checked:{configurable:!0,enumerable:!0,get:function(){return this._checked},set:function(a){this._checked=xg(a);this._changeDetectorRef.markForCheck()}},inputId:{configurable:!0,enumerable:!0,get:function(){return(this.id||this._uniqueId)+"-input"}}});vS.\u0275fac=function(){zd()};
vS.\u0275dir=Kc({type:vS,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:[bf]});var wS=function(){};wS.\u0275fac=function(a){return new (a||wS)};wS.\u0275mod=Ic({type:wS});wS.\u0275inj=rc({});var HDc=["input"],IDc=function(a){return{enterDuration:a}},JDc={provide:uw,useExisting:wc(function(){return xS}),multi:!0},KDc=function(a,b){this.source=a;this.checked=b},xS=function(a,b,c,d,e,g){return vS.call(this,a,b,c,d,e,g,"mat-slide-toggle-")||this};U(xS,vS);xS.\u0275dir=vS.\u0275dir;f=xS.prototype;f._createChangeEvent=function(a){return new KDc(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?jx(this._focusMonitor,this._inputElement,b,a):this._inputElement.nativeElement.focus(a)};f._onLabelTextChange=function(){this._changeDetectorRef.detectChanges()};
xS.\u0275fac=function(a){return new (a||xS)(C(vd),C(ix),C(Yv),od("tabindex"),C(EDc),C(ev,8))};
xS.\u0275cmp=Gc({type:xS,selectors:[["mat-slide-toggle"]],viewQuery:function(a,b){a&1&&Uf(HDc,5);if(a&2){var c;Tf(c=Wf())&&(b._inputElement=c.first)}},hostAttrs:[1,"mat-slide-toggle"],hostVars:13,hostBindings:function(a,b){a&2&&(wf("id",b.id),gf("tabindex",null)("aria-label",null)("aria-labelledby",null)("name",null),qf("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:[Gf([JDc]),bf],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&&(xf(),G(0,"label",0,1)(2,"span",2)(3,"input",3,4),M("change",function(e){return b._onChangeEvent(e)})("click",function(e){return b._onInputClick(e)}),H(),G(5,"span",5),I(6,"span",6),G(7,"span",
7),I(8,"span",8),H()()(),G(9,"span",9,10),M("cdkObserveContent",function(){return b._onLabelTextChange()}),G(11,"span",11),R(12,"\u00a0"),H(),yf(13),H()());if(a&2){var c=Cf(1),d=Cf(10);gf("for",b.inputId);z(2);qf("mat-slide-toggle-bar-no-side-margin",!d.textContent||!d.textContent.trim());z(1);F("id",b.inputId)("required",b.required)("tabIndex",b.tabIndex)("checked",b.checked)("disabled",b.disabled);gf("name",b.name)("aria-checked",b.checked)("aria-label",b.ariaLabel)("aria-labelledby",b.ariaLabelledby)("aria-describedby",
b.ariaDescribedby);z(4);F("matRippleTrigger",c)("matRippleDisabled",b.disableRipple||b.disabled)("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",Jf(18,IDc,b._noopAnimations?0:150))}},dependencies:[kz,my],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 yS=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=xcc.slice();this.myWorkIssueIds$=(0,E.of)([])};
yS.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$=LDc(this,this.isAssignedToMeOnly).pipe(D(function(a){return a.map(function(b){return b.issueId})}))};yS.prototype.isCollapsed=function(){return this.prefs.collapsed[this.selfReference]};yS.prototype.toggleCollapsed=function(){this.hackyPrefs.toggleCollapsed(this.selfReference)};
var pQa=function(a,b){ep(a.hackyPrefs,{showAssignedToMeOnly:b});a.myWorkIssueIds$=LDc(a,b).pipe(D(function(c){return c.map(function(d){return d.issueId})}))},LDc=function(a,b){return b?vgc(a.queryIssues):ugc(a.queryIssues)},MDc=function(a){var b=Ll(),c=Jl()!==Kl?"(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};hh.Object.defineProperties(yS.prototype,{prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});yS.\u0275fac=function(a){return new (a||yS)(C(JH),C(RH))};
yS.\u0275cmp=Gc({type:yS,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&&(G(0,"div",0)(1,"header",1)(2,"div",2)(3,"span",3),R(4),G(5,"button",4),M("click",function(){return b.toggleCollapsed()}),I(6,"mat-icon",5),H()(),G(7,"span",6),R(8),H()(),G(9,"div",7),Q(10,qQa,2,1,"mat-slide-toggle",8),G(11,"button",9),I(12,"mat-icon",10),H(),G(13,"mat-menu",null,11)(15,"button",12),M("click",function(){return Io(b.hackyPrefs,b.selfReference,-1)}),I(16,"mat-icon",13),G(17,"span",14),R(18,"Move up"),H()(),G(19,"button",12),M("click",function(){return Io(b.hackyPrefs,
b.selfReference,1)}),I(20,"mat-icon",15),G(21,"span",14),R(22,"Move down"),H()(),I(23,"mat-divider"),G(24,"button",16),M("click",function(){return Jo(b.hackyPrefs,b.selfReference)}),I(25,"mat-icon",17),G(26,"span",14),R(27,"Remove"),H()()()()(),G(28,"div",18),Q(29,rQa,2,3,"ng-container",19),S(30,"slice"),S(31,"async"),G(32,"div",20)(33,"a",21),R(34,"View all issues"),H()(),Q(35,sQa,1,0,"ng-template",null,22,Zf),H()());if(a&2){var c=Cf(14),d=Cf(36);qf("collapsed",b.isCollapsed());z(4);Df(" ",b.isAssignedToMeOnly?
"Assigned to me":"My related issues"," ");z(1);gf("aria-label",b.isCollapsed()?"Expand card":"Collapse card");z(3);Df(" ",b.isAssignedToMeOnly?"assigned and modified in last 30 days":"assigned, starred, commented, reported"," ");z(2);F("ngIf",!b.hideAssignedSetting);z(1);F("matMenuTriggerFor",c);z(4);F("disabled",!Ko(b.hackyPrefs,b.selfReference,-1));z(4);F("disabled",!Ko(b.hackyPrefs,b.selfReference,1));z(10);F("ngIf",Nf(30,12,T(31,16,b.myWorkIssueIds$),0,15))("ngIfElse",d);z(4);F("href",MDc(b),
Md)}},dependencies:[ew,uA,Jz,gL,sL,DB,BB,CB,tL,xS,Fw,Lw,kw,rw],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 zS=function(a){r.call(this,a,0,zS.messageId)};U(zS,r);zS.prototype.getSearch=function(){return Z(this,Gm,1)};zS.prototype.setSearch=function(a){Yi(this,Gm,1,a)};zS.prototype.toObject=function(){if(null!=this){t(this);var a={search:ifc(this.getSearch())}}else a=void 0;return a};zS.messageId="b.SearchResponse";var AS=function(a){this.jspbExecutor=a};AS.prototype.get=function(a){return this.jspbExecutor.get({url:"action/saved_searches/"+a,responseConstructor:zS}).pipe(D(tQa))};AS.prototype.create=function(a,b){var c=new Gm;c.setName(a);c.setQuery(b);return this.jspbExecutor.post({url:"action/saved_searches",body:c,responseConstructor:zS}).pipe(D(tQa))};
AS.prototype.update=function(a,b){var c=new Gm;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(sya));var e;c.setDisplayColumnList((null!=(e=b.displayColumn)?e:[]).map(qya));var g;c.setAdminUsersList((null!=(g=b.adminUsers)?g:[]).map(hi));return this.jspbExecutor.post({url:"action/saved_searches/"+a,body:c,responseConstructor:zS}).pipe(D(tQa))};
AS.prototype.delete=function(a){return this.jspbExecutor.delete({url:"action/saved_searches/"+a,responseConstructor:null})};AS.\u0275fac=function(a){return new (a||AS)(u(LC))};AS.\u0275prov=qc({token:AS,factory:AS.\u0275fac,providedIn:"root"});var BS=function(a){this.observableResources=a};BS.prototype.get=function(a){return(0,E.firstValueFrom)(this.observableResources.get(a))};BS.prototype.create=function(a,b){return(0,E.firstValueFrom)(this.observableResources.create(a,b))};
BS.prototype.update=function(a,b){return(0,E.firstValueFrom)(this.observableResources.update(a,b))};BS.prototype.delete=function(a){return(0,E.firstValueFrom)(this.observableResources.delete(a))};BS.\u0275fac=function(a){return new (a||BS)(u(AS))};BS.\u0275prov=qc({token:BS,factory:BS.\u0275fac,providedIn:"root"});var yQa=function(){return[]},CS=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=Jva;this.savedSearchId$=new E.ReplaySubject(1);this.savedSearchIssueIds$=this.savedSearchId$.pipe(Se(function(h){return g.issueFridge.watchMany({filter:"savedsearchid:"+h+" status:open",pageSize:100,sort:"modified_time:desc"})}),D(function(h){return h.results}),D(function(h){return h.map(function(l){return l.issueId})}));
this.savedSearchMetadata$=this.savedSearchId$.pipe(Se(function(h){return g.savedSearchesApi.get(h)}));this.savedSearchActivityEvents$=this.savedSearchId$.pipe(Se(function(h){return Sgc(g.projectActivity,h)}));this.savedSearchAggregatedData$=this.savedSearchIssueIds$.pipe(Se(function(h){return occ(g.data,[].concat(Vc(h)))}),Pe({refCount:!0,bufferSize:1}));this.columnsToDisplay="title assignee priority status id menu".split(" ")};
CS.prototype.isCollapsed=function(a){a=a.searchId;return!0===this.neverCollapse?!1:this.addMode||this.prefs.collapsed["savedsearch-"+a]};CS.prototype.reorder=function(a,b){Io(this.hackyPrefs,Hl(a),b)};CS.prototype.canMove=function(a,b){return Ko(this.hackyPrefs,Hl(a),b)};hh.Object.defineProperties(CS.prototype,{savedSearchId:{configurable:!0,enumerable:!0,set:function(a){this.savedSearchId$.next(a)}},prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});
CS.\u0275fac=function(a){return new (a||CS)(C(lH),C(AS),C(TE),C(RH),C(UH))};
CS.\u0275cmp=Gc({type:CS,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&&(Q(0,IQa,35,13,"div",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.savedSearchMetadata$))},dependencies:[dw,ew,uA,Jz,WJ,gL,sL,DB,BB,CB,tL,oL,kw,rw],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 DS=function(){};DS.\u0275fac=function(a){return new (a||DS)};DS.\u0275mod=Ic({type:DS});DS.\u0275inj=rc({imports:[tF,tO,DM,CM]});var ES=function(){};ES.\u0275fac=function(a){return new (a||ES)};ES.\u0275mod=Ic({type:ES});ES.\u0275inj=rc({imports:[tF]});var FS=function(){};FS.\u0275fac=function(a){return new (a||FS)};FS.\u0275mod=Ic({type:FS});FS.\u0275inj=rc({imports:[dz,dz]});new Rc("ListOption");new Rc("MAT_LIST_CONFIG");new Rc("SelectionList");new Rc("MatList");new Rc("MatNavList");kh(jh(function(){}));jh(function(){});var NDc=function(){};NDc.\u0275fac=function(a){return new (a||NDc)};NDc.\u0275dir=Kc({type:NDc,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]});var ODc=function(){};ODc.\u0275fac=function(a){return new (a||ODc)};ODc.\u0275dir=Kc({type:ODc,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]});var PDc=["text"],QDc=["*",[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]]],RDc=jh(function(){}),SDc=jh(function(){}),TDc={provide:uw,useExisting:wc(function(){return GS}),multi:!0},UDc=function(a,b){this.source=a;this.options=b},HS=function(a,b,c){var d=SDc.call(this)||this;d._element=a;d._changeDetector=b;d.selectionList=c;d._selected=!1;d._disabled=!1;d._hasFocus=!1;d.selectedChange=new Gv;d.checkboxPosition="after";d._inputsInitialized=!1;return d};
U(HS,SDc);f=HS.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(){Ooa(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()};
hh.Object.defineProperties(HS.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=xg(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=xg(a);a!==this._selected&&(this._setSelected(a),(a||this.selectionList.multiple)&&this.selectionList._reportValueChange())}}});HS.\u0275fac=function(a){return new (a||HS)(C(vd),C(Yv),C(wc(function(){return GS})))};
HS.\u0275cmp=Gc({type:HS,selectors:[["mat-list-option"]],contentQueries:function(a,b,c){a&1&&(Vf(c,NDc,5),Vf(c,ODc,5),Vf(c,zYb,5));if(a&2){var d;Tf(d=Wf())&&(b._avatar=d.first);Tf(d=Wf())&&(b._icon=d.first);Tf(d=Wf())&&(b._lines=d)}},viewQuery:function(a,b){a&1&&Uf(PDc,5);if(a&2){var c;Tf(c=Wf())&&(b._text=c.first)}},hostAttrs:["role","option",1,"mat-list-item","mat-list-option","mat-focus-indicator"],hostVars:15,hostBindings:function(a,b){a&1&&M("focus",function(){return b._handleFocus()})("blur",
function(){return b._handleBlur()})("click",function(){return b._handleClick()});a&2&&(gf("aria-selected",b.selected)("aria-disabled",b.disabled)("tabindex",-1),qf("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:[bf],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&&(xf(QDc),
G(0,"div",0),I(1,"div",1),Q(2,JQa,1,2,"mat-pseudo-checkbox",2),G(3,"div",3,4),yf(5),H(),yf(6,1),H());a&2&&(qf("mat-list-item-content-reverse","after"==b.checkboxPosition),z(1),F("matRippleTrigger",b._getHostElement())("matRippleDisabled",b._isRippleDisabled()),z(1),F("ngIf",b.selectionList.multiple))},dependencies:[kz,lz,ew],encapsulation:2,changeDetection:0});
var GS=function(a,b,c){var d=RDc.call(this)||this;d._element=a;d._changeDetector=b;d._focusMonitor=c;d._multiple=!0;d._contentInitialized=!1;d.selectionChange=new Gv;d.color="accent";d.compareWith=function(e,g){return e===g};d._disabled=!1;d.selectedOptions=new Ky(d._multiple);d._tabIndex=-1;d._onChange=function(){};d._destroyed=new E.Subject;d._onTouched=function(){};return d};U(GS,RDc);f=GS.prototype;
f.ngAfterContentInit=function(){var a=this;this._contentInitialized=!0;this._keyManager=NXb(MXb(yy(OXb(vy(new By(this.options)))),function(){return!1}));this._value&&this._setOptionsFromValues(this._value);this._keyManager.tabOut.subscribe(function(){return a._allowFocusEscape()});this.options.changes.pipe(Re(null),Te(this._destroyed)).subscribe(function(){a._updateTabIndex()});this.selectedOptions.changed.pipe(Te(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(Te(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){zy(this._keyManager,a)};
f._removeOptionFromList=function(a){a=this._getOptionIndex(a);-1<a&&this._keyManager.activeItemIndex===a&&(0<a?zy(this._keyManager,a-1):0===a&&1<this.options.length&&zy(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=Bg(a);switch(b){case 32:case 13:e||0<c._pressedLetters.length||(this._toggleFocusedOption(),a.preventDefault());break;default:if(65!==b||!this.multiple||!Bg(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 UDc(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};
hh.Object.defineProperties(GS.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=xg(a);this._markOptionsForCheck()}},multiple:{configurable:!0,enumerable:!0,get:function(){return this._multiple},set:function(a){a=xg(a);a!==this._multiple&&(this._multiple=a,this.selectedOptions=new Ky(this._multiple,this.selectedOptions.selected))}}});GS.\u0275fac=function(a){return new (a||GS)(C(vd),C(Yv),C(ix))};
GS.\u0275cmp=Gc({type:GS,selectors:[["mat-selection-list"]],contentQueries:function(a,b,c){a&1&&Vf(c,HS,5);if(a&2){var d;Tf(d=Wf())&&(b.options=d)}},hostAttrs:["role","listbox",1,"mat-selection-list","mat-list-base"],hostVars:3,hostBindings:function(a,b){a&1&&M("keydown",function(c){return b._keydown(c)});a&2&&gf("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:[Gf([TDc]),bf,Zc],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(xf(),yf(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 IS=function(){};IS.\u0275fac=function(a){return new (a||IS)};IS.\u0275mod=Ic({type:IS});IS.\u0275inj=rc({imports:[jz,nz,dz,oz,sw,jz,dz,oz,FS]});var JS=function(){};JS.\u0275fac=function(a){return new (a||JS)};JS.\u0275mod=Ic({type:JS});JS.\u0275inj=rc({imports:[tF,EB,iC,aA,FS,jA,IS,JC,mN,aN,$N,$w,lO]});var KS=function(){};KS.\u0275fac=function(a){return new (a||KS)};KS.\u0275mod=Ic({type:KS});KS.\u0275inj=rc({imports:[tF,FR,ES,WM,iC,JC,JS,lO]});var LS=function(){};LS.\u0275fac=function(a){return new (a||LS)};LS.\u0275mod=Ic({type:LS});LS.\u0275inj=rc({imports:[FR,KS,eO,tF,CM,DM,TN,iC,JC,JS,UM,ZM,tO]});var MS=function(){this.admins=[]};MS.prototype.ngOnInit=function(){this.url="hotlists/"+this.hotlist.hotlistId;this.admins=bi(this.hotlist.adminUsers)};MS.\u0275fac=function(a){return new (a||MS)};
MS.\u0275cmp=Gc({type:MS,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&&(G(0,"div",0)(1,"div",1)(2,"div",2)(3,"h3")(4,"a",3),R(5),H()(),G(6,"ul")(7,"li"),R(8),H(),G(9,"li"),R(10),H()(),G(11,"div")(12,"p"),R(13),H()()()()());a&2&&(z(4),F("href",b.url,Md),z(1),Ef(b.hotlist.name),z(3),Df("ID: ",b.hotlist.hotlistId,""),z(2),Ff("",1===
b.admins.length?"Admin":"Admins",": ",b.admins.join(", "),""),z(3),Ef(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 VDc={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"},WDc=new Rc("routes",{providedIn:"root",factory:function(){return VDc}}),NS=function(a){this.routes=a};f=NS.prototype;f.createIssue=function(a){return Lo(this.routes.CREATE_ISSUE,{params:a})};f.editIssue=function(a,b){return Mo(this.routes.EDIT_ISSUE(a),{id:a,params:b})};f.listIssues=function(a){return Lo(this.routes.LIST_ISSUES,{params:a})};f.viewSavedSearch=function(a){return Mo(this.routes.VIEW_SAVEDSEARCH(a),{id:a,params:void 0})};
f.viewHotlist=function(a){return Mo(this.routes.VIEW_HOTLIST(a),{id:a})};f.editHotlist=function(a){return Lo(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 Mo(this.routes.VIEW_BOOKMARK_GROUP(a),{id:a})};f.editBookmarkGroup=function(a){return Lo(this.routes.EDIT_BOOKMARK_GROUP(a),{id:a})};
f.editSavedSearch=function(a){return Lo(this.routes.EDIT_SAVED_SEARCH(a),{id:a})};f.dashboard=function(a){return Lo(this.routes.DASHBOARD(a),{id:a})};f.issuesCsvAction=function(a,b,c,d){b=this.toApiSortParamValue(b);c=KQa(c);return eB("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=KQa(c))&&(c="position,"+c);return eB(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 Lo(this.routes.LIST_COMPONENTS,{params:void 0})};f.viewComponent=function(a,b){return Mo(this.routes.VIEW_COMPONENT(a),{id:a,tab:b})};f.manageComponent=function(a,b){return Mo(this.routes.MANAGE_COMPONENT(a),{id:a,tab:b})};
f.createComponent=function(a){return Lo(this.routes.CREATE_COMPONENT,{params:a})};f.editComponent=function(a,b){return Lo(this.routes.EDIT_COMPONENT(a),{id:a,tab:b})};f.createSlo=function(){return Lo(this.routes.CREATE_SLO,{params:void 0})};f.editSlo=function(a){return Lo(this.routes.EDIT_SLO(a),{id:a,tab:void 0})};f.listSlos=function(){return Lo(this.routes.LIST_SLOS,{params:void 0})};f.listHotlists=function(){return this.routes.LIST_HOTLISTS};NS.\u0275fac=function(a){return new (a||NS)(u(WDc))};
NS.\u0275prov=qc({token:NS,factory:NS.\u0275fac,providedIn:"root"});var OS=function(a){this.pathBuilder=a;this.showHovercard=this.removable=!0;this.disabled=!1;this.removeHotlist=new Gv};OS.prototype.getAriaLabel=function(a){return"hotlist: "+a.name};OS.\u0275fac=function(a){return new (a||OS)(C(NS))};
OS.\u0275cmp=Gc({type:OS,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&&Q(0,MQa,9,11,"ng-container",0);a&2&&F("ngIf",b.hotlist)},dependencies:[ew,uA,qJ,vJ,MS,Jz],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 PS=function(a,b){this.hotlists=a;this.userAccess=b;this.id$=new E.ReplaySubject(1);this.removeHotlist=new Gv;this.removable=!0;this.hotlist$=this.id$.pipe(Se(this.hotlists.watch));this.isDisabled$=(0,E.combineLatest)([this.id$,this.id$.pipe(Se(this.hotlists.isSaving$))]).pipe(D(function(c){var d=k(c);c=d.next().value;d=d.next().value;return null==c?!1:d?!0:!1}))};
PS.prototype.ngOnInit=function(){var a=this;this.removable$="check-acl"===this.removable?this.id$.pipe(Se(function(b){return qF(a.userAccess,"appender","hotlists/"+b)})):(0,E.of)(this.removable)};hh.Object.defineProperties(PS.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.idInternal=String(a);this.id$.next(String(a))}}});PS.\u0275fac=function(a){return new (a||PS)(C(SG),C(pF))};
PS.\u0275cmp=Gc({type:PS,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&&(G(0,"b-hotlist-chip",0),M("removeHotlist",function(){null==b.idInternal?zh("Missing id"):b.removeHotlist.emit()}),S(1,"async"),S(2,"async"),S(3,"async"),H());if(a&2){var c;F("hotlist",T(1,3,b.hotlist$))("disabled",!0===T(2,5,b.isDisabled$))("removable",null!==
(c=T(3,7,b.removable$))&&void 0!==c?c:!1)}},dependencies:[OS,kw],encapsulation:2,changeDetection:0});var QS=function(a,b,c,d){WD.call(this);this.prefs=a;this.cdr=b;this.analytics=c;this.butterBar=d;this.on$=this.prefs.showFullHistory$;this.isSaving=!1;this.tooltip$=this.on$.pipe(D(function(e){return e?"(Showing full history) Click for major events only":"(Showing major events) Click for full history"}),Re(""))};U(QS,WD);QS.\u0275dir=WD.\u0275dir;
QS.prototype.onClick=function(){var a=this,b;return he(function(c){if(1==c.nextAddress)return a.isSaving?c.return():c.yield((0,E.firstValueFrom)(a.on$),2);b=c.yieldResult;a.save(!b);me(c)})};
QS.prototype.save=function(a){var b=this;this.analytics.trackEvent(Jn.EDIT_ISSUE,"toggleShowFullHistory",String(a));this.isSaving=!0;var c=(0,E.firstValueFrom)(this.prefs.save({showFullHistory:a}));c.then(function(){b.isSaving=!1;b.cdr.markForCheck()});c.catch(function(){EF(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(Te(this.destroyed$)).subscribe()};
QS.\u0275fac=function(a){return new (a||QS)(C(uI),C(Yv),C(gH),C(CF))};
QS.\u0275cmp=Gc({type:QS,selectors:[["smart-full-history-btn"]],features:[bf],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&&(G(0,"button",0),M("click",function(){return b.onClick()}),S(1,"async"),S(2,"async"),S(3,"async"),S(4,"async"),Q(5,NQa,1,0,"mat-icon",1),Q(6,OQa,1,0,"b-spinner",2),H());a&2&&(qf("on",T(1,8,b.on$)),F("matTooltip",
T(2,10,b.tooltip$))("disabled",b.isSaving),gf("aria-pressed",T(3,12,b.on$))("aria-label",T(4,14,b.tooltip$)),z(5),F("ngIf",!b.isSaving),z(1),F("ngIf",b.isSaving))},dependencies:[ew,uA,Jz,LB,sL,kw],styles:["mat-icon[_ngcontent-%COMP%] {\n      display: flex;\n      margin: 0 auto;\n    }\n    [_nghost-%COMP%]     .on .mat-spinner circle {\n      stroke: var(--text-inverse); \n\n    }"],changeDetection:0});var RS=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 Gv;this.isAnonymous=this.activeSession.isAnonymous()};f=RS.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};RS.\u0275fac=function(a){return new (a||RS)(C(gs),C(cH))};
RS.\u0275cmp=Gc({type:RS,selectors:[["b-star-toggle"]],inputs:{starred:"starred",disabled:"disabled",acceptInput:"acceptInput",starMessage:"starMessage",unStarMessage:"unStarMessage"},outputs:{starClicked:"starClicked"},features:[Gf([cH])],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=v();G(0,"div",
0,1)(2,"button",2);M("keydown.enter",function(d){return b.onEnter(d)})("click",function(d){return b.onClick(d)})("focus",function(){w(c);var d=Cf(1);return y(d.show())})("blur",function(){w(c);var d=Cf(1);return y(d.hide())});I(3,"mat-icon",3);H()()}a&2&&(F("matTooltip",b.getLabel()),z(2),qf("starred",b.starred),F("disabled",b.isDisabled()),gf("aria-label",b.getAriaLabel())("aria-checked",b.starred),z(1),F("svgIcon",b.starred?"star-filled":"star-empty"))},dependencies:[uA,Jz,LB],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 SS=function(a,b){this.paths=a;this.activeSession=b;this.isCompact=!1;this.starClicked=new Gv;this.currentUserEmail=this.activeSession.getUserEmail()};SS.prototype.ngOnInit=function(){};SS.prototype.isDirectAdmin=function(a){return a?bi(a.adminUsers).includes(this.currentUserEmail):!1};SS.prototype.shouldShowStar=function(a){return!this.isDirectAdmin(a)&&!a.archived};SS.\u0275fac=function(a){return new (a||SS)(C(vG),C(gs))};
SS.\u0275cmp=Gc({type:SS,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&&Q(0,RQa,9,4,"div",0);a&2&&F("ngIf",b.hotlist)},dependencies:[ew,uA,pG,RS,LB,kw],encapsulation:2,changeDetection:0});var XDc=function(){this.tokens=new Map};XDc.prototype.add=function(a,b){var c=this.tokens.get(a);c?c.push(b):this.tokens.set(a,[b]);return this};XDc.prototype.build=function(){var a=this,b=Array.from(this.tokens.keys()).sort();return new YDc(b.map(function(c){return{token:c,labels:a.tokens.get(c)}}))};var YDc=function(a){this.sortedEntries=a};
YDc.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};YDc.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 ZDc=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(Vc(a.search(b[d]))).filter(function(g){return c.has(g)});c=new Set(e)}return c};var $Dc=function(a){this.hotlists=a;var b=new XDc,c=new XDc;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())?hBa(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())?hBa(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]}))};
$Dc.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;(sqa(a)&&String(h).includes(a)||(null==(l=g)?0:l.includes(a))||(null==(q=e)?0:q.includes(a)))&&b.add(d)}c=hBa(a);d=k(ZDc(this.nameTokenMatcher,c));for(a=d.next();!a.done;a=d.next())b.add(a.value);c=k(ZDc(this.descriptionTokenMatcher,c));
for(a=c.next();!a.done;a=c.next())b.add(a.value);return aEc(this,b)};var aEc=function(a,b){return[].concat(Vc(b)).sort(function(c,d){c=a.positions.get(c);d=a.positions.get(d);return c===d?0:c<d?-1:1})};var TS=function(){this.innerHeight$=(0,E.concat)((0,E.defer)(function(){return(0,E.of)(window.innerHeight)}),(0,E.fromEvent)(window,"resize").pipe(D(function(){return window.innerHeight})))};TS.\u0275fac=function(a){return new (a||TS)};TS.\u0275prov=qc({token:TS,factory:TS.\u0275fac,providedIn:"root"});var US=function(a,b,c,d,e,g,h,l,q,x,A,B){WD.call(this);var K=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=x;this.windowHeight=A;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 E.BehaviorSubject("");this.debouncedQuery$=this.query$.pipe(De(100),Re(""));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 Iw({name:new Kw("",PUb),description:new Kw("")});this.currentUserEmail=this.activeSession.getUserEmail();this.starredHotlists=new iJ;this.isSavingStar=new iJ;this.userHotlists$=nfc(this.hotlistFridge);this.issueHotlists$=
this.hotlistFridge.watchSet(Array.from(this.data.selectedHotlistIds));this.combineHotlistsWithPermissions=D(function(N){var P=K.permissionsFridge.watchSet(N.map(function(Y){return"hotlists/"+Y.hotlistId}));return N.map(function(Y,X){return Object.assign({},Y,{permissions$:P.pipe(D(function(ka){return ka[X]}))})})});this.hotlists$=(0,E.combineLatest)([this.issueHotlists$,this.userHotlists$]).pipe(D(function(N){var P=k(N);N=P.next().value;P=P.next().value;return[].concat(Vc(N),Vc(P))}),D(Gua(function(N){return N.hotlistId})),
D(function(N){return N.filter(pi)}),D(function(N){return N.sort(hRa)}),D(function(N){return N.sort(function(P,Y){var X=K.selectedHotlistIds;P=X.has(P.hotlistId);Y=X.has(Y.hotlistId);return P&&Y?0:P?-1:Y?1:0})}),this.combineHotlistsWithPermissions,Pe({bufferSize:1,refCount:!0}));this.hotlistQuerySearcher$=this.hotlists$.pipe(D(function(N){return new $Dc(N)}),Pe({bufferSize:1,refCount:!0}));this.forceShowOverflow$=new E.Subject;this.matchedHotlists$=(0,E.combineLatest)([this.debouncedQuery$,this.hotlistQuerySearcher$,
this.hotlists$]).pipe(D(function(N){var P=k(N);N=P.next().value;var Y=P.next().value;P=P.next().value;return""!==N.trim()?Y.search(N):P}),Pe({bufferSize:1,refCount:!0}));this.visibleHotlists$=(0,E.combineLatest)([this.matchedHotlists$,(0,E.merge)(this.matchedHotlists$.pipe(D(function(){return!1})),this.forceShowOverflow$)]).pipe(D(function(N){var P=k(N);N=P.next().value;P=P.next().value;return 200<N.length&&!P?N.slice(0,200):N}),Pe({bufferSize:1,refCount:!0}));this.isOverflowMode$=(0,E.combineLatest)([this.matchedHotlists$,
this.visibleHotlists$]).pipe(D(function(N){var P=k(N);N=P.next().value;P=P.next().value;return N.length!==P.length}));this.showLoadById$=this.query$.pipe(D(function(N){N=N.trim();return!K.allHotlistIds.has(Number(N))&&sqa(N)}));this.showCreateNew$=(0,E.combineLatest)([this.query$,this.matchedHotlists$]).pipe(D(function(N){var P=k(N);N=P.next().value;P=P.next().value;return iRa(N,P)}));this.compactNumberOfHotlistsToShow$=this.windowHeight.innerHeight$.pipe(D(function(N){return Math.max(1,Math.floor(.5*
N/24))}),Fe());this.compactNumberOfHotlistsToShow$.pipe(D(function(N){return 24*N}));this.subscriptions.add(this.hotlists$.subscribe(function(N){K.hotlists=N;N=k(N);for(var P=N.next();!P.done;P=N.next())K.allHotlistIds.add(P.value.hotlistId)}))};U(US,WD);US.\u0275dir=WD.\u0275dir;US.prototype.ngOnInit=function(){var a=this;bEc(this);this.query$.pipe(Te(this.destroyed$)).subscribe(function(){a.hotlistUnderEdit.setValue({name:a.query$.value,description:""})})};
US.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=hqa(this.originalIds,this.selectedHotlistIds);this.pristine=!a;var c=k(jRa(a));a=c.next().value;c=c.next().value;this.saveBtnLabel=a;this.saveBtnTooltip=c};
var No=function(a){a.dialogRef.close(a.selectedHotlistIds)},XQa=function(a){var b;return(a=null==(b=a.hotlistUnderEdit.get("name"))?void 0:b.value)?a:""},cEc=function(a){var b;return(a=null==(b=a.hotlistUnderEdit.get("description"))?void 0:b.value)?a:""},WQa=function(a){a.snackBar.open("Saving hotlist...","dismiss",{duration:0});var b=XQa(a),c=cEc(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)})},bEc=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)})};
US.prototype.toggleStar=function(a){var b=this,c,d,e;return he(function(g){switch(g.nextAddress){case 1:c=b.starredHotlists.has(a);d={resourceType:"HOTLIST",resourceId:a,userLogin:b.currentUserEmail};ie(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:je(g);b.isSavingStar.delete(a);ke(g,4);break;case 2:e=le(g);IF(b.errorHandler,e);g.jumpTo(3);break;case 4:b.appEvents.hotlistChanged.next(),b.appEvents.favoritesModified.next(),
bEc(b),me(g)}})};var $Qa=function(a,b){a.hotlistApi.get(b).then(function(c){a.hotlists.push(c);a.selectedHotlistIds.add(c.hotlistId);No(a)}).catch(function(c){a.errorHandler.errorHandler(null,c)})};US.prototype.trackByHotlistId=function(a,b){return b.hotlistId};US.\u0275fac=function(a){return new (a||US)(C(Tz),C(Vz),C(vG),C(SG),C(GG),C(AF),C(KF),C(GF),C(gs),C(OG),C(TS),C(tH))};
US.\u0275cmp=Gc({type:US,selectors:[["ng-component"]],hostBindings:function(a,b){a&1&&M("keydown.meta.enter",function(){return No(b)})("keydown.shift.enter",function(){return No(b)})("keydown.control.enter",function(){return No(b)})},features:[bf],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&&(Q(0,TQa,2,1,"ng-container",
0),G(1,"mat-dialog-actions")(2,"button",1),M("click",function(){b.dialogRef.close()}),R(3," Cancel "),H(),Q(4,VQa,2,1,"ng-container",0),H(),Q(5,YQa,2,1,"ng-template",null,2,Zf),Q(7,ZQa,2,5,"ng-template",null,3,Zf),Q(9,fRa,15,9,"ng-template",null,4,Zf),Q(11,gRa,14,1,"ng-template",null,5,Zf));if(a&2){var c=Cf(8),d=Cf(10);F("ngIf",b.showCreateNewPane)("ngIfElse",d);z(4);F("ngIf",b.showCreateNewPane)("ngIfElse",c)}},dependencies:[dw,ew,jw,uA,Xz,Yz,Zz,$z,Jz,GS,HS,Mw,og,Fw,Gw,Ww,Sw,Tw,LB,SS,kw],styles:["[_nghost-%COMP%]     .mat-dialog-content{width:500px;overflow-y:overlay}[_nghost-%COMP%]     .mat-dialog-title{margin:0}[_nghost-%COMP%]     .mat-dialog-title h2{margin-top:0;margin-bottom:8px}[_nghost-%COMP%]     .search-container{background-color:#f1f3f4;background-color:var(--main-search-bg);display:flex;flex-direction:row;justify-content:center;align-items:center;border-radius:8px;width:100%;height:40px}[_nghost-%COMP%]     .search-container mat-icon{margin-left:8px}[_nghost-%COMP%]     .search-container input.search-box{color:#202124;color:var(--text-high-contrast);outline:none;border:none;background-color:rgba(0,0,0,0);margin-left:5px;height:100%;width:100%;padding-right:4px}[_nghost-%COMP%]     .search-results mat-list-option .title-line{display:flex;align-items:center;justify-content:space-between;height:24px}[_nghost-%COMP%]     .search-results mat-list-option a, [_nghost-%COMP%]     .search-results mat-list-option mat-icon{height:17px;line-height:17px}[_nghost-%COMP%]     .search-results mat-list-option p{font-size:.75rem;margin-top:-2px;line-height:1.2}[_nghost-%COMP%]     .search-results mat-list-option .hotlist-link-and-star{visibility:hidden}[_nghost-%COMP%]     .search-results mat-list-option .hotlist-link-and-star a{margin-right:2px}[_nghost-%COMP%]     .search-results mat-list-option .hotlist-link-and-star a mat-icon{margin-top:-2px}[_nghost-%COMP%]     mat-list-option:focus-within .hotlist-link-and-star, [_nghost-%COMP%]     mat-list-option:hover .hotlist-link-and-star{visibility:unset}[_nghost-%COMP%]     .create-new-hotlist-btn, [_nghost-%COMP%]     .load-from-id-btn, [_nghost-%COMP%]     .force-show-overflow-btn{background:none;border:none;text-align:left;min-height:34px;padding-left:38px}[_nghost-%COMP%]     .create-new-hotlist-btn:hover, [_nghost-%COMP%]     .load-from-id-btn:hover, [_nghost-%COMP%]     .force-show-overflow-btn:hover{cursor:pointer;background-color:rgba(0,0,0,.04);background-color:var(--hover)}[_nghost-%COMP%]     .create-hotlist-pane label{display:block;color:#5f6368;color:var(--muted);font-weight:500}[_nghost-%COMP%]     .create-hotlist-pane input, [_nghost-%COMP%]     .create-hotlist-pane textarea{width:100%;box-sizing:border-box}[_nghost-%COMP%]     mat-list-option label{font-size:.8125rem}[_nghost-%COMP%]     .mat-list-base{margin:0 -24px}[_nghost-%COMP%]     .mat-list-base .mat-list-option .mat-list-item-content{padding:5px 0;padding-right:20px;padding-left:24px;align-items:flex-start}[_nghost-%COMP%]     .mat-list-base .mat-list-option .mat-list-item-content .mat-pseudo-checkbox{margin-top:3px}[_nghost-%COMP%]     .mat-list-base .compact .mat-list-option .mat-list-item-content{padding-top:0}[_nghost-%COMP%]     .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-left:12px}/*# sourceMappingURL=hotlist_picker_modal.css.map */"],
changeDetection:0});var VS=function(a,b,c,d){this.dialog=a;this.issueFridge=b;this.eventsForIssueFridge=c;this.errorHandler=d},eEc=function(a,b){var c,d,e,g,h,l,q,x;return he(function(A){switch(A.nextAddress){case 1:return A.yield((0,E.firstValueFrom)(b),2);case 2:return c=A.yieldResult,(e=null==(d=c)?void 0:d.snapshot[0].hotlistId)&&c?A.yield(dEc(a,e),3):A.return();case 3:g=A.yieldResult;if(null==g)return A.return();h=g.added.map(String);l=g.removed.map(String);q=String(c.issueId);ie(A,4,5);return A.yield(Wfc(a.issueFridge,
q,h,l),5);case 5:je(A);a.eventsForIssueFridge.poke(q);ke(A,0);break;case 4:x=le(A),IF(a.errorHandler,x),A.jumpTo(5)}})},dEc=function(a,b){var c,d,e,g;return he(function(h){if(1==h.nextAddress)return c={panelClass:"no-jitter",data:{selectedHotlistIds:b},ariaLabel:"Search for Hotlists"},d=a.dialog.open(US,c),h.yield((0,E.firstValueFrom)(Rz(d)),2);e=h.yieldResult;if(!e)return h.return(Promise.resolve());g=hqa(new Set(b),new Set(e));return h.return(Promise.resolve(g))})};
VS.\u0275fac=function(a){return new (a||VS)(u(Wz),u(lH),u(SE),u(GF))};VS.\u0275prov=qc({token:VS,factory:VS.\u0275fac,providedIn:"root"});var WS=function(a,b,c,d,e,g,h){WD.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=Ibc;this.STATUS_JS_FULL_TEXT=ol;this.STATUS_JS_TERSE=Ebc;this.DUPLICATE="DUPLICATE";this.id$=new E.ReplaySubject(1);this.issue$=this.id$.pipe(Se(this.issueFridge.watch));this.hotlistIds$=this.issue$.pipe(D(tRa));this.textOfHotlistBtn$=this.hotlistIds$.pipe(D(function(q){var x;
return null!=(x=null==q?void 0:q.length)?x:0}),D(function(q){return 5>=q?"Add Hotlist":""}));this.priority$=this.issue$.pipe(D(function(q){return(null==q?void 0:q.snapshot[0].priority)||void 0}));this.type$=this.issue$.pipe(D(function(q){return null==q?void 0:q.snapshot[0].type}),D(function(q){return hsa[q]}));this.canonicalId$=this.issue$.pipe(D(function(q){return null==q?void 0:q.snapshot[0].duplicateOfIssueId}));this.status$=this.issue$.pipe(D(function(q){return(null==q?void 0:q.snapshot[0].status)||
void 0}));this.statusForChip$=this.status$.pipe(D(function(q){return Fbc[q]?q:void 0}));this.statusCssClass$=this.status$.pipe(D(function(q){return l.computeStatusCssClass(q)}));this.HOTKEYS=FL;this.enableCommentFilters=UD(this.activeSession,"enableCommentFiltering")};U(WS,WD);WS.\u0275dir=WD.\u0275dir;WS.prototype.computeStatusCssClass=function(a){return null===a||void 0===a?"":"status-"+jj[a]};
var pRa=function(a){return he(function(b){return b.yield(eEc(a.hotlistPickerService,a.issue$),0)})},nRa=function(a,b){var c,d;return he(function(e){switch(e.nextAddress){case 1:return e.yield((0,E.firstValueFrom)(a.id$),2);case 2:c=e.yieldResult;cjc(a.issueInteractionsTracking,c,{label:"remove-hotlists",value:1});ie(e,3,4);var g=e.yield;var h=Wfc(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:je(e);a.eventsForIssueFridge.poke(c);
ke(e,0);break;case 3:d=le(e),IF(a.errorHandler,d),e.jumpTo(4)}})};hh.Object.defineProperties(WS.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.id$.next(a)}}});WS.\u0275fac=function(a){return new (a||WS)(C(lH),C(SE),C(VS),C(XI),C(GF),C(oy),C(gs))};
WS.\u0275cmp=Gc({type:WS,selectors:[["issue-description-area"]],inputs:{id:"id"},features:[bf],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&&(G(0,"div",0)(1,"div",1),Q(2,lRa,6,10,"div",2),S(3,"async"),Q(4,mRa,2,4,"span",3),S(5,"async"),I(6,"b-issue-priority-display",4),S(7,"async"),H(),Q(8,qRa,6,5,"div",5),S(9,"async"),Q(10,rRa,2,0,"div",6),H(),G(11,"onedev-hovercard",null,7),Q(13,sRa,3,4,"b-issue-card",8),H());a&2&&(z(2),F("ngIf",T(3,5,b.statusForChip$)),z(2),F("ngIf",T(5,7,b.type$)),z(2),F("issuePriority",T(7,9,b.priority$)),z(2),F("ngIf",T(9,11,b.hotlistIds$)),z(2),F("ngIf",!b.enableCommentFilters))},dependencies:[dw,
ew,uA,EL,PS,qJ,rJ,vJ,sJ,pO,WH,Jz,LB,pG,QS,kw],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 XS=function(){};XS.\u0275fac=function(a){return new (a||XS)};XS.\u0275mod=Ic({type:XS});XS.\u0275inj=rc({imports:[tF]});var YS=function(){};YS.\u0275fac=function(a){return new (a||YS)};YS.\u0275mod=Ic({type:YS});YS.\u0275inj=rc({imports:[tF,DM,XS,iC]});var ZS=function(){};ZS.\u0275fac=function(a){return new (a||ZS)};ZS.\u0275mod=Ic({type:ZS});ZS.\u0275inj=rc({imports:[tF,WM,iC,JC]});var $S=function(){};$S.\u0275fac=function(a){return new (a||$S)};$S.\u0275mod=Ic({type:$S});$S.\u0275inj=rc({imports:[tF,FS,aA,tG,$N,iC,IS,zF,$w,ax,ZS,JC,Qy]});var fEc=["issueTitleEl"],gEc=["issueTitleInputEl"],wRa=function(a){return{"width.px":a}},aT=function(){this.disabled=!1;this.updateTitle=new Gv;this.isEditMode=!1;this.editModeWidth=0};aT.prototype.ngDoCheck=function(){hEc(this)};
var yRa=function(a){a.isEditMode=!a.isEditMode;a.isEditMode&&setTimeout(function(){return a.issueTitleInputEl.nativeElement.focus()},0)},iEc=function(a,b){a.isEditMode=!1;hEc(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())}},vRa=function(a,b){if(b)"Enter"===b.key?iEc(a,b.target.value):("Escape"===b.key||"Esc"===b.key)&&yRa(a);else{var c;b=null==(c=a.issueTitleInputEl)?void 0:c.nativeElement.value;iEc(a,b)}},
hEc=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};hh.Object.defineProperties(aT.prototype,{title:{configurable:!0,enumerable:!0,set:function(a){this.titlePlain=a=null!=a?a:void 0;this.titleTruncated=gBa(a,300);this.isLongTitle=null==a?!1:300<=a.length}}});aT.\u0275fac=function(a){return new (a||aT)};
aT.\u0275cmp=Gc({type:aT,selectors:[["issue-title"]],viewQuery:function(a,b){a&1&&(Uf(fEc,5),Uf(gEc,5));if(a&2){var c;Tf(c=Wf())&&(b.issueTitleEl=c.first);Tf(c=Wf())&&(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&&(Q(0,uRa,3,2,"h3",0),Q(1,xRa,3,4,"mat-form-field",1),Q(2,zRa,2,1,"button",2));a&2&&(F("ngIf",!b.isEditMode),z(1),F("ngIf",b.isEditMode),z(1),
F("ngIf",b.hasAclToEdit))},dependencies:[ew,iw,uA,Jz,LB,iA,lA],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 bT=function(){};bT.\u0275fac=function(a){return new (a||bT)};bT.\u0275mod=Ic({type:bT});bT.\u0275inj=rc({imports:[tF,iC,JC,jA,mA]});var jEc=function(a){return{isDupe:a}},cT=function(a,b,c,d,e){WD.call(this);var g=this;this.fridge=a;this.permissionsFridge=b;this.issuePicker=c;this.snackBar=d;this.eventsForIssueFridge=e;this.TOOLTIP_MARK_DUPE="Mark this issue as a duplicate";this.TOOLTIP_UNMARK_DUPE="Mark this issue as not being a duplicate";this.disabled=!1;this.issueId$=new E.ReplaySubject(1);this.issue$=this.issueId$.pipe(Se(function(h){return g.fridge.watchOne(h)}));this.isDupe$=this.issue$.pipe(D(function(h){var l;return!!(null==
h?0:null==(l=h.snapshot[0])?0:l.duplicateOfIssueId)}));this.permissions$=this.issueId$.pipe(Se(function(h){return g.permissionsFridge.watchOne("issues/"+h)}));this.canEdit$=this.permissions$.pipe(D(function(h){return!(null==h||!h.writer)}),Re(!0));this.didChooseCanonical=function(h){return function(l){(l=l[0])&&Xfc(g.fridge,l,h).then(function(){g.eventsForIssueFridge.poke(h)}).catch(g.gotErr)}};this.gotErr=function(h){g.snackBar.open(Rl(h)||"Error with network request","close",{panelClass:"error"})}};
U(cT,WD);cT.\u0275dir=WD.\u0275dir;
var ARa=function(a){var b,c;return he(function(d){if(1==d.nextAddress)return a.disabled||a.fridge.isSaving(a.internalIssueId)||!Vm(a.canEdit$)?d.return():d.yield((0,E.firstValueFrom)(a.isDupe$),2);if(3!=d.nextAddress)return b=d.yieldResult,d.yield((0,E.firstValueFrom)(a.issue$),3);c=d.yieldResult;if(null==c)return d.return();b?kEc(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));me(d)})},kEc=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)};hh.Object.defineProperties(cT.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.internalIssueId=a;this.issueId$.next(a)}}});cT.\u0275fac=function(a){return new (a||cT)(C(lH),C(tH),C(GO),C(AF),C(SE))};
cT.\u0275cmp=Gc({type:cT,selectors:[["smart-dupe-btn"]],inputs:{disabled:"disabled",issueId:"issueId"},features:[bf],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&&(Q(0,BRa,3,5,"button",0),S(1,"async"));a&2&&F("ngIf",Jf(3,jEc,T(1,1,b.isDupe$)))},dependencies:[ew,Jz,kw]});var dT=function(a){WD.call(this);this.prefs=a};U(dT,WD);dT.\u0275dir=WD.\u0275dir;dT.prototype.onChange=function(a){this.prefs.save({useCodefont:a.checked}).pipe(Te(this.destroyed$)).subscribe()};dT.\u0275fac=function(a){return new (a||dT)(C(uI))};
dT.\u0275cmp=Gc({type:dT,selectors:[["b-toggle-code-font"]],features:[bf],ngContentSelectors:["*"],decls:3,vars:3,consts:[["matTooltip","Use a monospace typeface to display all comments",3,"checked","change"]],template:function(a,b){a&1&&(xf(),G(0,"mat-slide-toggle",0),M("change",function(c){return b.onChange(c)}),S(1,"async"),yf(2),H());a&2&&F("checked",T(1,1,b.prefs.codeFont$))},dependencies:[xS,LB,kw],styles:["mat-slide-toggle[_ngcontent-%COMP%] {font-size: 14px; }"],changeDetection:0});var eT=function(){};eT.\u0275fac=function(a){return new (a||eT)};eT.\u0275mod=Ic({type:eT});eT.\u0275inj=rc({imports:[wS,nz,dz,ny,wS,dz]});var fT=function(){};fT.\u0275fac=function(a){return new (a||fT)};fT.\u0275mod=Ic({type:fT});fT.\u0275inj=rc({imports:[tF,iC,$N,aA,eT,zF,JC,ZM]});var gT=function(){};gT.\u0275fac=function(a){return new (a||gT)};gT.\u0275mod=Ic({type:gT});gT.\u0275inj=rc({providers:[VS],imports:[tF,mO,GL,YS,$S,DM,vO,OM,NM,bT,iC,JC,tG,ZS,fT]});var hT=function(){};hT.\u0275fac=function(a){return new (a||hT)};hT.\u0275mod=Ic({type:hT});hT.\u0275inj=rc({imports:[tF,DM,TN,kO,UM]});var iT=function(){};iT.\u0275fac=function(a){return new (a||iT)};iT.\u0275mod=Ic({type:iT});iT.\u0275inj=rc({imports:[hT,tF,DM,TN,iC,kO,UM,tG,ZN]});var jT=function(){};jT.\u0275fac=function(a){return new (a||jT)};jT.\u0275mod=Ic({type:jT});jT.\u0275inj=rc({imports:[eO,tF,hJ]});var kT=function(){};kT.\u0275fac=function(a){return new (a||kT)};kT.\u0275mod=Ic({type:kT});kT.\u0275inj=rc({imports:[tF,NM,iC,JC,jT,MM,UM,tG,hT]});var lT=function(){};lT.\u0275fac=function(a){return new (a||lT)};lT.\u0275mod=Ic({type:lT});lT.\u0275inj=rc({imports:[hT,tF,iC,jT]});var mT=function(){};mT.\u0275fac=function(a){return new (a||mT)};mT.\u0275mod=Ic({type:mT});mT.\u0275inj=rc({imports:[tF,iC,sx]});var nT=function(){};nT.\u0275fac=function(a){return new (a||nT)};nT.\u0275mod=Ic({type:nT});nT.\u0275inj=rc({imports:[tF,mT,iT,kT,lT]});var oT=function(){};oT.\u0275fac=function(a){return new (a||oT)};oT.\u0275mod=Ic({type:oT});oT.\u0275inj=rc({imports:[$N,tF,tR,$w,cz,pN,ZN,dO,rM,iC,JC]});var pT=function(a){this.matDialog=a};pT.prototype.show=function(a,b){"LITERAL"===a.formattingMode&&(a.formattingMode="PLAIN");this.dialog=this.matDialog.open(qT,{width:"60vw",disableClose:!0,panelClass:"no-jitter",data:{formattingAudience:b,statusUpdate:a}});return(0,E.firstValueFrom)(Rz(this.dialog))};pT.\u0275fac=function(a){return new (a||pT)(u(Wz))};pT.\u0275prov=qc({token:pT,factory:pT.\u0275fac,providedIn:"root"});
var qT=function(a,b,c,d,e){WD.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=Nh(this.origStatusUpdate);
this.subscriptions.add(SO(e,function(){return g.isModified()},!1))};U(qT,WD);qT.\u0275dir=WD.\u0275dir;var lEc=function(a){var b,c;return null!=(c=kBa(null==(b=a.newStatusUpdate)?void 0:b.updateText))?c:""};f=qT.prototype;f.ngOnInit=function(){var a=this;this.dialogRef.keydownEvents().pipe(Te(this.destroyed$)).subscribe(function(b){"Escape"===b.key&&a.closeIfUnmodified()});this.dialogRef.backdropClick().pipe(Te(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!Mh(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)};qT.\u0275fac=function(a){return new (a||qT)(C(gs),C(Vz),C(pT),C(Tz),C(RO))};
qT.\u0275cmp=Gc({type:qT,selectors:[["ng-component"]],features:[bf],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&&(G(0,"h1",0),R(1,"Editing Status Update"),H(),G(2,"section",1)(3,"p",2),R(4," Editing the Status Update will not permanently remove old ones from database history. "),I(5,"br"),R(6," For deletion of PII or other sensitive content, please "),G(7,"a",3),R(8," file a support request. "),H()(),G(9,"b-comment-draft",
4),M("contentChange",function(c){return b.newStatusUpdate.updateText=c})("onSubmit",function(){return b.closeDialogForSave()}),H(),Q(10,CRa,2,1,"p",5),G(11,"b-markdown-toggle",6),M("change",function(c){return b.newStatusUpdate.formattingMode=c}),H(),Q(12,DRa,2,4,"div",7),H(),G(13,"footer",8)(14,"button",9),R(15," Cancel "),H(),G(16,"button",10),R(17," Save "),H()());a&2&&(z(7),F("href",b.contentRemovalRequestLink,Md),z(2),rf(lEc(b)),F("content",b.newStatusUpdate.updateText),z(1),F("ngIf",1E3<b.newStatusUpdate.updateText.length),
z(1),qf("margin-bottom",b.newStatusUpdate.formattingMode!==b.MARKDOWN),F("initialValue",b.origStatusUpdate.formattingMode),z(1),F("ngIf",b.newStatusUpdate.formattingMode===b.MARKDOWN),z(2),F("mat-dialog-close",void 0),z(2),F("mat-dialog-close",b.newStatusUpdate)("disabled",0===b.newStatusUpdate.updateText.length||1E3<b.newStatusUpdate.updateText.length))},dependencies:[Xz,Yz,Zz,$z,ew,Jz,RN,QN,wR],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 rT=function(){};rT.\u0275fac=function(a){return new (a||rT)};rT.\u0275mod=Ic({type:rT});rT.\u0275inj=rc({imports:[aA,$N,tF,cz,iC,eO,oT]});var sT=function(a){this.matDialog=a};sT.prototype.show=function(a){this.dialog=this.matDialog.open(tT,{width:"60vw",disableClose:!0,panelClass:"no-jitter",data:{statusUpdates:a}});return(0,E.firstValueFrom)(Rz(this.dialog))};sT.\u0275fac=function(a){return new (a||sT)(u(Wz))};sT.\u0275prov=qc({token:sT,factory:sT.\u0275fac,providedIn:"root"});var tT=function(a,b,c){WD.call(this);this.data=a;this.dialogService=b;this.dialogRef=c;this.statusUpdates=a.statusUpdates};U(tT,WD);tT.\u0275dir=WD.\u0275dir;
tT.prototype.ngOnInit=function(){var a=this;this.dialogRef.keydownEvents().pipe(Te(this.destroyed$)).subscribe(function(b){if("Escape"===b.key){var c;null==(c=a.dialogService.dialog)||c.close()}});this.dialogRef.backdropClick().pipe(Te(this.destroyed$)).subscribe(function(){var b;null==(b=a.dialogService.dialog)||b.close()})};tT.\u0275fac=function(a){return new (a||tT)(C(Vz),C(sT),C(Tz))};
tT.\u0275cmp=Gc({type:tT,selectors:[["ng-component"]],features:[bf],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&&(G(0,"h1",0),R(1,"History for Status Update"),H(),G(2,"section",1)(3,"ul",2),Q(4,ERa,19,12,"li",3),H()(),G(5,"footer",4)(6,"button",5),R(7," Close "),H()());a&2&&(z(4),F("ngForOf",b.statusUpdates),z(2),F("mat-dialog-close",void 0))},dependencies:[dw,bK,Jz,Xz,Yz,Zz,$z,RJ,WJ,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 uT=function(){};uT.\u0275fac=function(a){return new (a||uT)};uT.\u0275mod=Ic({type:uT});uT.\u0275inj=rc({imports:[eO,tF]});var vT=function(){};vT.\u0275fac=function(a){return new (a||vT)};vT.\u0275mod=Ic({type:vT});vT.\u0275inj=rc({imports:[tF,CM,iC,aA,cz,MM,kO,uT,tO]});var wT=function(a){r.call(this,a,0,wT.messageId)};U(wT,r);wT.repeatedFields_=[1];wT.prototype.toObject=function(){if(null!=this){t(this);var a={statusUpdatesList:Kb(aj(this,ID,1),C$b)}}else a=void 0;return a};wT.messageId="b.ListStatusUpdateHistoryResponse";var xT=function(a){this.executor=a};xT.prototype.get=function(a,b){return this.executor.get({url:V$b(a),responseConstructor:ID,options:{params:{issueCommentView:String(ksa[void 0===b?"MARKDOWN":b])}}}).pipe(D(Fj))};
xT.prototype.update=function(a){var b=this.executor,c=b.post,d=V$b(a.issueId),e=new ID;a.issueId&&e.setIssueId(a.issueId);a.updateText&&e.setUpdateText(a.updateText);if(a.formattedText){var g=a.formattedText,h=new Ej;if(g.plainFormat){var l=h.setPlainFormat;var q=g.plainFormat;q=(new zD).setPlainSectionList(q.plainSection.map(wra));l.call(h,q)}g.markdownFormat&&(l=h.setMarkdownFormat,q=g.markdownFormat,q=(new yD).setContent(q.content),l.call(h,q));g.literalFormat&&(l=h.setLiteralFormat,g=g.literalFormat,
g=(new xD).setContent(g.content),l.call(h,g));Yi(e,Ej,3,h)}a.formattingMode&&e.setFormattingMode(ksa[a.formattingMode]);a.author&&e.setAuthor(hi(a.author));a.updateTime&&e.setUpdateTime(Dh(a.updateTime));a.version&&e.setVersion(a.version);return c.call(b,{url:d,body:e,responseConstructor:ID}).pipe(D(Fj))};xT.prototype.delete=function(a){return this.executor.delete({url:V$b(a),responseConstructor:null})};
var mEc=function(a,b){return a.executor.get({url:"action/issues/"+b+"/statusUpdateHistory",responseConstructor:wT,options:{params:{issueCommentView:String(ksa.MARKDOWN)}}}).pipe(D(function(c){return aj(c,ID,1).map(Fj)}))};xT.\u0275fac=function(a){return new (a||xT)(u(LC))};xT.\u0275prov=qc({token:xT,factory:xT.\u0275fac,providedIn:"root"});var nEc=["noteContainer"],RRa=function(a,b){return[a,b]},oEc={FRESH:0,STALE:1,NONE:2,0:"FRESH",1:"STALE",2:"NONE"},yT=function(a,b,c,d,e,g,h,l,q){WD.call(this);var x=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=oEc;this.UiState=pEc;this.FormattingMode=L8b;this.issueId$=new E.ReplaySubject(1);
this.issue$=this.issueId$.pipe(Se(this.issueFridge.watch));this.accessLevel$=this.issue$.pipe(D(function(A){var B;return null==A?void 0:null==(B=A.accessLimit)?void 0:B.accessLevel}));this.issueTeamId$=this.issue$.pipe(D(function(A){var B;return null==A?void 0:null==(B=A.aggregatedData)?void 0:B.teamId}));this.isCollapsed=!1;this.currentUserIsAuthoritative$=(0,E.combineLatest)([this.issue$,this.issueTeamId$]).pipe(D(function(A){var B=k(A);A=B.next().value;var K=B.next().value;B=x.currentUser.email===
Zua(A);K=x.currentUser.allTeamIds.includes(String(K));var N,P,Y,X;A=(null!=(X=null==A?void 0:null==(N=A.snapshot)?void 0:null==(P=N[0])?void 0:null==(Y=P.collaboratorsUsers)?void 0:Y.map(ai))?X:[]).includes(x.currentUser.email);return B||K||A}));this.statusUpdate$=this.issue$.pipe(D(function(A){return null==A?void 0:A.statusUpdate}));this.statusUpdateAsNote$=this.statusUpdate$.pipe(ye(pi),D(function(A){return{unlinkifiedComment:A.updateText,formattedComment:A.formattedText}}));this.semanticClass$=
this.statusUpdate$.pipe(D(function(A){var B;return null!=(B=kBa(null==A?void 0:A.updateText))?B:""}));this.statusIsEmpty$=this.statusUpdate$.pipe(D(function(A){return""===((null==A?void 0:A.updateText)||"").trim()}));this.freshnessIndicator$=(0,E.combineLatest)([this.statusIsEmpty$,this.statusUpdate$]).pipe(D(function(A){var B=k(A);A=B.next().value;B=B.next().value;if(A)return 2;var K;A=(null==B?void 0:null==(K=B.updateTime)?void 0:K.seconds)||0;return 86400>Date.now()/1E3-A?0:1}));this.uiState$=
(0,E.combineLatest)([this.currentUserIsAuthoritative$,this.statusIsEmpty$]).pipe(D(function(A){var B=k(A);A=B.next().value;B=B.next().value;return A&&B?2:B?1:3}),Re(0));this.formattingModeOverride$=new E.BehaviorSubject(void 0);this.formattingMode$=(0,E.combineLatest)([this.statusUpdate$,this.formattingModeOverride$]).pipe(D(function(A){var B=k(A);A=B.next().value;return(B=B.next().value)?B:(null==A?void 0:A.formattingMode)||"PLAIN"}));this.menuItems$=(0,E.combineLatest)([this.issueId$,this.statusUpdate$,
this.issuePermissionService.hasAclToAdmin$,this.formattingMode$]).pipe(D(function(A){var B=k(A),K=B.next().value,N=B.next().value;A=B.next().value;B=B.next().value;var P=null!=N;N=N&&""!==(null==N?void 0:N.updateText);var Y=[];N&&Y.push({type:"submenu",label:"View as",className:"view-as-format",items:[{type:"select",label:"Classic",action:function(){x.formattingModeOverride$.next("PLAIN")},selected:"PLAIN"===B},{type:"select",label:"Markdown",action:function(){x.formattingModeOverride$.next("MARKDOWN")},
selected:"MARKDOWN"===B},{type:"select",label:"Source",action:function(){x.formattingModeOverride$.next("LITERAL")},selected:"LITERAL"===B}]});Y.push({type:"action",label:"Edit Status Update",action:function(){FRa(x)}});P&&Y.push({type:"action",label:"Show editing history",action:function(){qEc(x,K)}});N&&A&&Y.push({type:"action",label:"Delete Status Update",action:function(){x.confirmationDialogService.open({title:"Delete Status Update?",content:fn("\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(){x.doDelete()}})}});Y.push(rEc);return Y}))};U(yT,WD);yT.\u0275dir=WD.\u0275dir;yT.prototype.ngOnInit=function(){var a=this;setTimeout(function(){var b,c;return he(function(d){if(1==d.nextAddress)return d.yield((0,E.firstValueFrom)(a.uiState$.pipe(ye(function(e){return 0!==e}))),2);b=d.yieldResult;c=TRa(b);a.analytics.trackEvent(Jn.ISSUE,"statusUpdateDisplay",c);me(d)})},1E3)};
yT.prototype.ngAfterViewInit=function(){var a;84<(null==(a=this.noteContainer)?void 0:a.nativeElement.scrollHeight)&&(this.isCollapsed=!0)};
var FRa=function(a){var b,c,d,e,g,h,l;return he(function(q){switch(q.nextAddress){case 1:return q.yield((0,E.firstValueFrom)(a.issueId$),2);case 2:return b=q.yieldResult,c={issueId:b,updateText:"",version:-1},e=null!=(d=Vm(a.statusUpdate$))?d:c,q.yield((0,E.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(x){a.didSave(b,
x)},function(x){a.errorHandler.errorHandler(null,x)});me(q)}})},HRa=function(a){var b,c;return he(function(d){if(1==d.nextAddress)return d.yield((0,E.firstValueFrom)(a.issueId$),2);b=d.yieldResult;c=Vm(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)});me(d)})};yT.prototype.didSave=function(a,b){QE(this.issueFridge,a,function(c){c.statusUpdate=b});this.issueFridge.poke(a)};
var qEc=function(a,b){var c;he(function(d){if(1==d.nextAddress)return d.yield((0,E.firstValueFrom)(mEc(a.statusUpdateService,b)),2);c=d.yieldResult;a.statusUpdateHistoryDialogService.show(c);me(d)})};yT.prototype.doDelete=function(){var a=this,b;he(function(c){if(1==c.nextAddress)return c.yield((0,E.firstValueFrom)(a.issueId$),2);b=c.yieldResult;a.statusUpdateService.delete(b).subscribe(function(){QE(a.issueFridge,b,function(d){d.statusUpdate=void 0});a.issueFridge.poke(b)});me(c)})};
hh.Object.defineProperties(yT.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)}}});yT.\u0275fac=function(a){return new (a||yT)(C(gH),C(oI),C(QH),C(pT),C(GF),C(lH),C($I),C(xT),C(sT))};
yT.\u0275cmp=Gc({type:yT,selectors:[["status-update"]],viewQuery:function(a,b){a&1&&Uf(nEc,5);if(a&2){var c;Tf(c=Wf())&&(b.noteContainer=c.first)}},inputs:{issueId:"issueId"},features:[bf],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&&(Q(0,SRa,
5,14,"div",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.uiState$))},dependencies:[rK,SN,ew,uA,bK,qJ,vJ,UJ,Jz,LB,kw,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 pEc={LOADING:0,HIDDEN:1,SHOW_EMPTY:2,NORMAL:3,0:"LOADING",1:"HIDDEN",2:"SHOW_EMPTY",3:"NORMAL"},rEc={type:"action",label:"Using the Status Update field...",action:function(){Tpa(window,Jg("https://developers.google.com/issue-tracker/concepts/status-update"),"_blank")},icon:"help-outline",className:"border-top"};var zT=function(){};zT.\u0275fac=function(a){return new (a||zT)};zT.\u0275mod=Ic({type:zT});zT.\u0275inj=rc({imports:[FR,eO,tF,CM,rT,DM,TN,iC,JC,kO,vT,uT]});var AT=function(a,b){this.dialogRef=a;this.userApi=b;this.userSavedSearches=[];this.selectedSavedSearches=new Set;this.pristine=!0};f=AT.prototype;f.ngOnInit=function(){this.getUserSavedSearches()};f.getUserSavedSearches=function(){var a=this;this.userApi.getUserSavedSearches().then(function(b){a.userSavedSearches=[].concat(Vc(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};AT.\u0275fac=function(a){return new (a||AT)(C(Tz),C(OG))};
AT.\u0275cmp=Gc({type:AT,selectors:[["ng-component"]],hostBindings:function(a,b){a&1&&M("keydown.escape",function(){return b.onEscape()})},decls:10,vars:3,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[3,"selectionChange"],[4,"ngFor","ngForOf","ngForTrackBy"],["mat-button","","mat-dialog-close","","aria-label","Dismiss modal","role","button",3,"click"],["mat-flat-button","","mat-dialog-close","","color","primary","aria-label","'Save saved search selection'",1,"gmat-button",3,"disabled",
"click"],["checkboxPosition","before",3,"selected","value"],[1,"savedsearch-name","flex-kids-x","align-items-center"],[1,"overflow-ellipsis"],["class","line-clamp-2 muted type-s",4,"ngIf"],[1,"line-clamp-2","muted","type-s"]],template:function(a,b){a&1&&(G(0,"h2",0),R(1," Add Saved Search\n"),H(),G(2,"div",1)(3,"mat-selection-list",2),M("selectionChange",function(c){return b.onChangeMatList(c)}),Q(4,VRa,6,6,"ng-container",3),H()(),G(5,"mat-dialog-actions")(6,"button",4),M("click",function(){return b.onCancel()}),
R(7," Cancel "),H(),G(8,"button",5),M("click",function(){return b.onConfirm()}),R(9," Add "),H()());a&2&&(z(4),F("ngForOf",b.userSavedSearches)("ngForTrackBy",b.trackBySearchId),z(4),F("disabled",b.pristine))},dependencies:[dw,ew,Xz,Yz,Zz,$z,GS,HS,Jz],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 BT=function(a){this.dialog=a};BT.prototype.open=function(){var a=this,b={panelClass:"no-jitter"};return new Promise(function(c){Rz(a.dialog.open(AT,b)).subscribe(function(d){c(d)})})};BT.\u0275fac=function(a){return new (a||BT)(u(Wz))};BT.\u0275prov=qc({token:BT,factory:BT.\u0275fac,providedIn:"root"});var sEc=function(){this.headerOnly=!1;this.emailToUser=ii};sEc.\u0275fac=function(a){return new (a||sEc)};
sEc.\u0275cmp=Gc({type:sEc,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&&Q(0,$Ra,31,13,"div",0);a&2&&F("ngIf",null==b.changelistWithId?
null:b.changelistWithId.changelist)},dependencies:[dw,ew,uA,Jz,Kz,nL,DB,BB,CB],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 CT=function(a){this.bFocus=!0;this.nativeElement=a.nativeElement};CT.prototype.ngOnInit=function(){this.bFocus&&this.nativeElement.focus()};CT.prototype.ngOnChanges=function(){this.bFocus&&this.nativeElement.focus()};CT.\u0275fac=function(a){return new (a||CT)(C(vd))};CT.\u0275dir=Kc({type:CT,selectors:[["","bFocus",""]],inputs:{bFocus:"bFocus"},features:[Zc]});var DT=function(){};DT.\u0275fac=function(a){return new (a||DT)};DT.\u0275mod=Ic({type:DT});DT.\u0275inj=rc({});var ET=function(a){this.currentUser=a;this.headerOnly=!1;this.STATUS_TERSE=EE;this.emailToUser=ii;this.ReactionType=Q8b;this.IssueStatus=W8b;this.toIssuePriority=nl;this.showCommentBox=new Map};f=ET.prototype;f.convertIssueStatusStrToTag=function(a){return jj[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 ei(a.userPerformingActionUser)};
f.clAuthorToUser=function(a){return{emailAddress:El(a)+"@google.com"}};f.clAuthorToEmailAddress=function(a){return El(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(Vc(a.preDiffs),Vc(a.postDiffs)).find(function(d){return d.name===b}))?void 0:c.oldValue};
f.getNewDiffValue=function(a,b){var c;return null==(c=[].concat(Vc(a.preDiffs),Vc(a.postDiffs)).find(function(d){return d.name===b}))?void 0:c.newValue};ET.\u0275fac=function(a){return new (a||ET)(C(QH))};
ET.\u0275cmp=Gc({type:ET,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&&(G(0,"div",0),Q(1,xSa,23,11,"ng-container",1),Q(2,ySa,1,0,"ng-template",null,2,Zf),H());a&2&&(z(1),F("ngIf",null==b.issueWithEvents?null:b.issueWithEvents.issue))},dependencies:[dw,ew,fw,gw,hw,uA,
iA,lA,DB,BB,CB,LB,mL,WH,WJ,nL,Jz,sL,CT,bK,kw],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 tEc={QA:124156,NIGHTLY:190923,PROD:190923};var FT=function(a,b,c,d,e,g){WD.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=ta(l);Daa(q);return h.componentApi.query({id:q}).then(function(x){var A={};x=k(x);for(var B=x.next();!B.done;B=
x.next())(B=B.value)&&(A[B.componentId]=B);return l.map(function(K){return A[K]||null})})})};U(FT,WD);FT.\u0275dir=WD.\u0275dir;f=FT.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 uEc(this,a,this.componentApi.query(c))};
var uEc=function(a,b,c){if(b.match(/^\s*android\s*$/i)){var d=tEc[a.activeSession.getEnvironmentType()];if(d)return Bn({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};
FT.prototype.bulkLoad=function(a){var b=this,c=a.filter(function(g){return!b.components.get(String(g))});Daa(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$2347:d.$jscomp$loop$prop$id$2347},e=c.next())d.$jscomp$loop$prop$id$2347=e.value,this.components.put(String(d.$jscomp$loop$prop$id$2347),a.then(function(g){return function(h){return h[g.$jscomp$loop$prop$id$2347]?
h[g.$jscomp$loop$prop$id$2347]:Promise.reject({data:{message:"Could not load details for component "+g.$jscomp$loop$prop$id$2347}})}}(d)))}};FT.\u0275fac=function(a){return new (a||FT)(u(EG),u(Gcc),u(mF),u(eF),u(KF),u(gs))};FT.\u0275prov=qc({token:FT,factory:FT.\u0275fac,providedIn:"root"});var GT=function(){this.showFolderSpecialIcon=!1;this.mode="default";this.query="";this.selectComponentId=new Gv;this.expandComponent=new Gv;this.goBack=new Gv};GT.prototype.ngOnInit=function(){};GT.prototype.expand=function(a,b){b.preventDefault();b.stopPropagation();this.expandComponent.emit(a)};GT.prototype.back=function(a){a.preventDefault();a.stopPropagation();this.goBack.emit()};GT.\u0275fac=function(a){return new (a||GT)};
GT.\u0275cmp=Gc({type:GT,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&&(G(0,"div",0),J(1,1),Q(2,zSa,2,0,"ng-container",
2),Q(3,ASa,3,0,"ng-container",2),Q(4,BSa,3,3,"ng-container",3),L(),G(5,"div",4)(6,"span",5),Q(7,GSa,2,1,"ng-container",6),Q(8,ISa,1,1,"ng-template",null,7,Zf),Q(10,JSa,2,0,"span",8),H(),I(11,"b-access-level-indicator",9)(12,"b-tracker-chip-smart",10),H()());if(a&2){var c=Cf(9);z(1);F("ngSwitch",b.mode);z(1);F("ngSwitchCase","recent");z(1);F("ngSwitchCase","tree");z(4);F("ngIf","leaf"!==b.mode)("ngIfElse",c);z(3);F("ngIf",b.componentOption.archived);z(1);F("accessLevel",null==b.componentOption.accessLimit?
null:b.componentOption.accessLimit.accessLevel)("labelOnlyMode",!0);z(1);F("trackerId",b.componentOption.trackerId)("showHovercard",!1)}},dependencies:[dw,ew,fw,gw,hw,uA,Jz,LB,oK,hO,dJ,rjc],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 HT=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 E.BehaviorSubject("");this.debouncedSearchQuery$=this.searchQuery$.pipe(De(250));this.state$=new E.BehaviorSubject("default");this.listUpdated$=new E.Subject;this.componentsLoading=this.teamsLoading=!1;this.teamScope$=new E.BehaviorSubject(void 0);this.componentOptions=[];this.childTeamsMap=
new Map;this.componentCountMap=new Map;this.recentComponents=[];this.myTeams$=new E.BehaviorSubject([]);this.showAllTeams$=new E.BehaviorSubject(!1);this.showAllTeamsDistinct$=this.showAllTeams$.pipe(Fe());this.teamOptions$=new E.BehaviorSubject([]);this.filteredTeamOptions$=(0,E.combineLatest)([this.teamOptions$,this.showAllTeamsDistinct$]).pipe(D(function(q){q=k(q);var x=q.next().value;return q.next().value?x:x.slice(0,5)}));this.hasHiddenTeams$=(0,E.combineLatest)([this.teamOptions$,this.showAllTeamsDistinct$]).pipe(D(function(q){var x=
k(q);q=x.next().value;x=x.next().value;return 5<q.length&&!x}));this.newChildTeams$=new E.BehaviorSubject([]);this.teamsDisplayed$=(0,E.merge)(this.myTeams$,this.teamOptions$,this.newChildTeams$,this.teamScope$.pipe(D(function(q){return q?[q]:[]}))).pipe(D(function(q){return q.map(function(x){return x.id})}));this.unseenTeamChildTeamsMap$=this.teamsDisplayed$.pipe(D(function(q){return q.filter(function(x){return!l.childTeamsMap.has(x)})}),ye(function(q){return 0<q.length}),Se(function(q){return l.teamsService.getChildTeams(q)}),
D(NSa));this.unseenTeamComponentCountMap$=this.teamsDisplayed$.pipe(D(function(q){return q.filter(function(x){return!l.componentCountMap.has(x)})}),ye(function(q){return 0<q.length}),Se(function(q){return sgc(l.teamsService,q)}));this.componentIdSelected$=new E.ReplaySubject(1);this.lastProcessedIndex=-1;this.requestIndex=0};
HT.prototype.init=function(a){var b=this;a=void 0===a?!1:a;vEc(this);(0,E.combineLatest)([this.debouncedSearchQuery$.pipe(Qe(a?1:0)),this.state$]).pipe(Te(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()&&wEc(b,c),xEc(b,c)):b.state$.next("default"):"team_scope"===d?b.teamScope$.value&&(b.teamOptions$.next([]),
xEc(b,"teamid:"+b.teamScope$.value.id+" "+c)):"component_scope"===d&&b.componentScope&&yEc(b,b.componentScope.id)});this.debouncedSearchQuery$.pipe(Ve(this.state$),Te(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(Te(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(Te(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)}})};HT.prototype.getTrackerId=function(){return this.currentTracker.getTrackerId()};HT.prototype.includeTeamData=function(){return this.config.includeTeamData&&!this.currentTracker.inTracker};
var vEc=function(a){a.componentsLoading=!0;a.userApi.getRecentComponents().then(function(b){b=b.filter(function(c){return a.filterTrackerComponents(c)});b=zEc(a,b);a.recentComponents=b;a.listUpdated$.next()}).finally(function(){a.componentsLoading=!1});a.includeTeamData()&&(a.teamsLoading=!0,BH(a.teamsService,"").pipe(Te(a.destroyed$)).subscribe(function(b){a.myTeams$.next(b.map(KSa));a.listUpdated$.next();a.teamsLoading=!1},function(){a.teamsLoading=!1}))};
HT.prototype.filterTrackerComponents=function(a){return!this.currentTracker.inTracker||a.trackerId===this.getTrackerId()};HT.prototype.selectOption=function(a){"component"===a.type?aUa(this,a.id):"team"===a.type?gTa(this,a):console.warn("invalid option selected")};
var aUa=function(a,b){var c=AEc(a);a.analytics.trackEvent(Jn.COMPONENT_PICKER,"autocomplete-select",c);a.componentIdSelected$.next(b);a.state$.next("global")},AEc=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""};
HT.prototype.expandComponent=function(a){this.componentScope=a;this.state$.next("component_scope")};
var NTa=function(a,b){a.componentActions.get(b).then(function(c){var d=Kr(a.currentTracker,c.componentPathInfo);a.componentScope=MSa(c,d);a.state$.next("component_scope")})},MTa=function(a){a.componentScope=void 0;a.searchQuery$.value?a.state$.next("global"):a.state$.next("default")},gTa=function(a,b){a.teamScope$.next(Object.assign({},b,{expanded:!1}));a.state$.next("team_scope");a.searchQuery$.next("");b.pathNames||Po(a,b.id)},Po=function(a,b){a.teamsLoading=!0;BH(a.teamsService,b).pipe(Te(a.destroyed$)).subscribe(function(c){c=
c.map(KSa);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})},BEc=function(a){if(a.teamScope$.value&&a.teamScope$.value.pathIds&&!(2>a.teamScope$.value.pathIds.length)){var b=a.teamScope$.value.pathIds;Po(a,b[b.length-2])}};HT.prototype.getChildTeams=function(a){var b;return null!=(b=this.childTeamsMap.get(a))?b:[]};
HT.prototype.hasNoComponent=function(a){return this.componentCountMap.has(a)?0===this.componentCountMap.get(a):!1};
var CTa=function(a,b){b.expanded=!1;a.listUpdated$.next()},DTa=function(a,b){b.expanded=!0;a.listUpdated$.next();a.newChildTeams$.next(a.getChildTeams(b.id))},GTa=function(a){a.teamScope$.next(void 0);a.searchQuery$.next("");a.state$.next("default")},wEc=function(a,b){1<b.length&&(a.teamsLoading=!0,BH(a.teamsService,b).pipe(Te(a.destroyed$)).subscribe(function(c){a.teamOptions$.next(c.map(KSa));a.teamsLoading=!1;a.listUpdated$.next()},function(){a.teamsLoading=!1}))},xEc=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=zEc(a,d));a.listUpdated$.next()}).finally(function(){a.componentsLoading=!1})}},yEc=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=zEc(a,d),a.listUpdated$.next())}).finally(function(){a.componentsLoading=!1})},zEc=
function(a,b){return b.map(function(c){var d=Kr(a.currentTracker,c.componentPathInfo);return MSa(c,d)})};var CEc=0,IT=function(a,b){this.changeDetectorRef=a;this.elementRef=b;this.active=!1;this.id="b-component-picker-option-"+CEc;CEc+=1};IT.prototype.setActiveStyles=function(){this.active=!0;this.changeDetectorRef.markForCheck()};IT.prototype.setInactiveStyles=function(){this.active=!1;this.changeDetectorRef.markForCheck()};IT.\u0275fac=function(a){return new (a||IT)(C(Yv),C(vd))};
IT.\u0275dir=Kc({type:IT,selectors:[["","listOption",""]],hostVars:3,hostBindings:function(a,b){a&2&&(wf("id",b.id),qf("active",b.active))},inputs:{data:"data",listOrder:"listOrder"}});var JT=function(){this.query="";this.hasNoComponent=this.compact=this.allowSegmentSelection=!1;this.selectTeamId=new Gv};JT.prototype.getLogoUrl=function(){return"https://moma-teams-photos.corp.google.com/logo/"+this.teamOption.id};JT.prototype.ngOnInit=function(){};JT.\u0275fac=function(a){return new (a||JT)};
JT.\u0275cmp=Gc({type:JT,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&&(G(0,"div",0),Q(1,OSa,1,1,"img",1),G(2,"div",2),Q(3,QSa,4,5,"div",3),Q(4,YSa,2,1,"div",4),H()());a&2&&(qf("no-component",b.hasNoComponent)("compact",b.compact),z(1),F("ngIf",!b.compact),z(2),F("ngIf",!b.compact),z(1),F("ngIf",b.teamOption.pathNames&&b.teamOption.pathNames.length))},dependencies:[dw,ew,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 DEc=new Rc("MAT_PROGRESS_BAR_DEFAULT_OPTIONS"),EEc=new Rc("mat-progress-bar-location",{providedIn:"root",factory:ZSa});ih(function(a){this._elementRef=a},"primary");var FEc=["primaryValueBar"],GEc=ih(function(a){this._elementRef=a},"primary"),HEc=0,KT=function(a,b,c,d,e,g){a=GEc.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 Gv;a._animationEndSubscription=E.Subscription.EMPTY;a.mode="determinate";a.progressbarId="mat-progress-bar-"+HEc++;a._rectangleFillValue="url('"+(d?d.getPathname().split("#")[0]:"")+"#"+a.progressbarId+"')";a._isNoopAnimation="NoopAnimations"===
c;e&&(e.color&&(a.color=a.defaultColor=e.color),a.mode=e.mode||a.mode);return a};U(KT,GEc);KT.prototype._primaryTransform=function(){return{transform:"scale3d("+this.value/100+", 1, 1)"}};KT.prototype._bufferTransform=function(){return"buffer"===this.mode?{transform:"scale3d("+this.bufferValue/100+", 1, 1)"}:null};
KT.prototype.ngAfterViewInit=function(){var a=this;this._ngZone.runOutsideAngular(function(){var b=a._primaryValueBar.nativeElement;a._animationEndSubscription=(0,E.fromEvent)(b,"transitionend").pipe(ye(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})}))})})};KT.prototype.ngOnDestroy=function(){this._animationEndSubscription.unsubscribe()};
hh.Object.defineProperties(KT.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this._value},set:function(a){this._value=Math.max(0,Math.min(100,Ag(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()}}});
KT.\u0275fac=function(a){return new (a||KT)(C(vd),C(We),C(ev,8),C(EEc,8),C(DEc,8),C(Yv))};
KT.\u0275cmp=Gc({type:KT,selectors:[["mat-progress-bar"]],viewQuery:function(a,b){a&1&&Uf(FEc,5);if(a&2){var c;Tf(c=Wf())&&(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&&(gf("aria-valuenow","indeterminate"===b.mode||"query"===b.mode?null:b.value)("mode",b.mode),qf("_mat-animation-noopable",b._isNoopAnimation))},inputs:{color:"color",value:"value",bufferValue:"bufferValue",
mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],features:[bf],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&&(G(0,"div",0),jd(),G(1,"svg",1)(2,"defs")(3,"pattern",2),I(4,"circle",3),H()(),I(5,"rect",4),H(),kd(),I(6,"div",5)(7,"div",6,7)(9,"div",8),H());a&2&&(z(3),F("id",b.progressbarId),z(2),gf("fill",b._rectangleFillValue),z(1),F("ngStyle",b._bufferTransform()),z(1),F("ngStyle",b._primaryTransform()))},dependencies:[iw],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 IEc=["container"],JEc=["inputBox"],KEc=["dropdownTemplate"],LEc=["dropdown"],lTa=function(a){return{mode:"recent",$implicit:a}},qTa=function(a){return[a]},pTa=function(a,b){return{team:a,level:0,order:b}},wTa=function(a){return{mode:"default",$implicit:a}},zTa=function(a){return[0,a]},HTa=function(){return[0]},KTa=function(a,b){return{mode:"default",$implicit:a,teamScope:b}},QTa=function(a){return{mode:"leaf",$implicit:a}},WTa=function(a,b,c){return{team:a,level:b,order:c}},MEc=[{originX:"start",
originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],LT=function(a,b,c,d,e,g,h,l,q,x,A){WD.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=x;this.cdr=A;this.placeholder="";this.isRequired=!1;this.ariaLabel="";this.checkAdminAccess=!1;this.accessCheckComplete=new Gv;this.shouldFocus=!1;this.touched=
new Gv;this.selectedComponentChange=new Gv;this.dropdownClosed=new Gv;this.checkingAccess=this.hasAccess=!1;this.isExternal=this.activeSession.isExternalSession();this.searchState=new HT(this.userApi,this.componentActions,this.teamsService,this.analytics,this.destroyed$,{includeTeamData:!this.isExternal},this.currentTracker);this.componentLoading=this.isDropdownOpen=!1};U(LT,WD);LT.\u0275dir=WD.\u0275dir;
LT.prototype.ngOnInit=function(){var a=this;this.searchState.init(!!this.selectedComponent);this.searchState.componentIdSelected$.pipe(Te(this.destroyed$)).subscribe(function(b){a.componentLoading=!0;a.componentActions.get(b).then(function(c){a.selectedComponent=c;NEc(a);a.componentLoading=!1;a.close(!0);a.selectedComponentChange.emit(c)})},function(){a.componentLoading=!1});(0,E.merge)(this.searchState.debouncedSearchQuery$,this.searchState.state$).pipe(Te(this.destroyed$)).subscribe(function(){a.clearActiveItem()})};
LT.prototype.isLoading=function(){return this.componentLoading||this.searchState.componentsLoading||this.searchState.teamsLoading};
var NEc=function(a){if(a.selectedComponent){var b=Kr(a.currentTracker,a.selectedComponent.componentPathInfo);b=MSa(a.selectedComponent,b);a.searchState.searchQuery$.next(b.componentPath.length?b.componentPath[b.componentPath.length-1].pathText:"")}else a.searchState.searchQuery$.next("")},OEc=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=LT.prototype;f.ngOnChanges=function(a){a.selectedComponent&&(NEc(this),this.checkAdminAccess&&this.selectedComponent&&PEc(this,this.selectedComponent))};f.ngOnDestroy=function(){this.close();WD.prototype.ngOnDestroy.call(this)};
f.ngAfterViewInit=function(){var a=this;this.keyManager=vy(wy(new Ay(this.listOptions)));this.searchState.listUpdated$.pipe(Te(this.destroyed$)).subscribe(function(){a.cdr.markForCheck()});this.listOptions.changes.pipe(Te(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(kUa);b=[].concat(Vc(c),Vc(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&&GTa(this.searchState),this.isDropdownOpen=!1,this.dropdownOverlayRef.dispose(),this.dropdownOverlayRef=void 0,this.clearActiveItem(),this.dropdownClosed.emit(),this.analytics.trackEvent(Jn.COMPONENT_PICKER,"close",a?"with-selection":"without-selection"))};
f.clearQuery=function(){this.searchState.searchQuery$.next("");this.isDropdownOpen||this.inputBox.nativeElement.focus()};var QEc=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};
LT.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),OEc(this)):(this.open(),setTimeout(function(){var d;null==(d=b.keyManager)||QXb(d);OEc(b)}));break;case "ArrowDown":this.isDropdownOpen?(this.keyManager.onKeydown(a),OEc(this)):(this.open(),setTimeout(function(){var d;null!=(d=b.keyManager)&&d._setActiveItemByIndex(0,1);OEc(b)}));break;case "Enter":this.keyManager.activeItem&&
(this.searchState.teamScope$.value===this.keyManager.activeItem.data?GTa(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(),DTa(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?CTa(this.searchState,this.keyManager.activeItem.data):BEc(this.searchState));"component_scope"===this.searchState.state$.value&&(a.preventDefault(),MTa(this.searchState));break;case "Backspace":case "Delete":this.keyManager.activeItem&&this.searchState.teamScope$.value===this.keyManager.activeItem.data&&(GTa(this.searchState),a.preventDefault());break;default:this.touched.emit(),
this.isDropdownOpen||this.open()}};var Oo=function(a){a.preventDefault();a.stopPropagation()},PEc=function(a,b){a.checkingAccess=!0;a.hasAccess=!1;qF(a.userAccess,"admin","components/"+b.componentId).then(function(c){a.checkingAccess=!1;a.accessCheckComplete.emit(c);a.hasAccess=c})};f=LT.prototype;
f.createOverlay=function(){var a=this.getPositionStrategy(),b=this.getScrollStrategy(),c;return this.overlay.create(new Sy({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 nx(this.dropdownTemplateRef,this.viewContainerRef),b;null==(b=this.dropdownOverlayRef)||b.attach(a);var c;null==(c=this.dropdownOverlayRef)||c.updatePosition()};
f.getPositionStrategy=function(){return Vy(mYb(Xy(Zy(this.overlay.position(),this.container),!1),!1),MEc)};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))};hh.Object.defineProperties(LT.prototype,{includeArchived:{configurable:!0,enumerable:!0,set:function(a){this.searchState.includeArchived=a}}});
LT.\u0275fac=function(a){return new (a||LT)(C($y),C(Rf),C(OG),C(FT),C(zH),C(pF),C(vG),C(gH),C(gs),C(lK),C(Yv))};
LT.\u0275cmp=Gc({type:LT,selectors:[["b-team-component-picker"]],viewQuery:function(a,b){a&1&&(Uf(IEc,7),Uf(JEc,7),Uf(KEc,7),Uf(LEc,5),Uf(IT,5));if(a&2){var c;Tf(c=Wf())&&(b.container=c.first);Tf(c=Wf())&&(b.inputBox=c.first);Tf(c=Wf())&&(b.dropdownTemplateRef=c.first);Tf(c=Wf())&&(b.dropdown=c.first);Tf(c=Wf())&&(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:[bf,Zc],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&&(G(0,"div",0,1)(2,"input",2,3),M("ngModelChange",function(d){return b.searchState.searchQuery$.next(d)})("keydown",function(d){return b.handleKeydown(d)})("click",function(){b.open();return b.touched.emit()})("focus",function(){return b.open()})("blur",function(){return b.close()}),S(4,"async"),H(),Q(5,$Sa,2,0,"button",4),H(),Q(6,dTa,4,2,"div",5),Q(7,TTa,11,8,"ng-template",null,6,Zf),Q(9,ZTa,5,11,"ng-template",null,
7,Zf),Q(11,jUa,3,2,"ng-template",null,8,Zf));if(a&2){var c=Cf(3);z(2);F("ngModel",T(4,8,b.searchState.searchQuery$))("placeholder",b.placeholder)("required",b.isRequired);gf("aria-label",b.ariaLabel+(b.selectedComponent?" Component selected. Change.":" Choose component"))("aria-expanded",b.isDropdownOpen)("aria-activedescendant",QEc(b));z(3);F("ngIf",c.value);z(1);F("ngIf",b.checkAdminAccess)}},dependencies:[dw,ew,jw,fw,gw,hw,uA,og,Fw,Ww,Lw,Jz,tL,LB,KT,JT,GT,IT,kw],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 REc={ME:0,TEAM:1,COMPONENT:2,HOTLIST:3,SAVEDSEARCH:4,0:"ME",1:"TEAM",2:"COMPONENT",3:"HOTLIST",4:"SAVEDSEARCH"},SEc=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}}]]),TEc=SEc.get(0),MT=function(a){var b=this;this.hotlistFridge=a;this.selectedFilter=TEc;this.isOpen=!1;this.FilterType=REc;this.filters=SEc;this.selectedComponent=
null;this.isHotlistPanelOpen=!1;this.selectedHotlist=null;this.userHotlistQuery$=new E.BehaviorSubject("");this.userHotlists$=nfc(this.hotlistFridge);this.displayedHotlists$=this.userHotlistQuery$.pipe(De(200),Se(function(c){c=c.toLowerCase();return b.userHotlists$.pipe(D(function(d){return d.filter(function(e){return e.name.toLowerCase().includes(c)})}))}));this.selected=new Gv;this.internalSelectedFilter=Nh(this.selectedFilter);if(a=UG("streamFilterSelectedComponent")())this.selectedComponent=a,
this.filters.get(2).search.value=a.componentId+"+";if(a=UG("streamFilterSelectedHotlist")())this.selectedHotlist=a,this.filters.get(3).search.value=String(a.hotlistId)};MT.prototype.selectComponent=function(a){a&&(Qo("streamFilterSelectedComponent")(a),this.selectedComponent=a,this.filters.get(2).search.value=a.componentId+"+",this.selectedFilter=this.filters.get(2))};
var UEc=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};MT.prototype.openMenu=function(){this.isOpen=!0};
MT.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};MT.prototype.emitSelection=function(){this.selected.emit(this.selectedFilter);this.closeMenu()};MT.\u0275fac=function(a){return new (a||MT)(C(SG))};
MT.\u0275cmp=Gc({type:MT,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&&(G(0,"button",0,1),M("click",function(){return b.openMenu()}),I(2,"mat-icon",2),H(),G(3,"div",3),R(4),H(),Q(5,uUa,15,6,"ng-template",4),M("detach",function(){return b.closeMenu()})("backdropClick",
function(){return b.closeMenu()}),Q(6,vUa,1,0,"ng-template",null,5,Zf));if(a&2){var c=Cf(1);qf("menu-open",b.isOpen);z(4);Df(" ",UEc(b),"\n");z(1);F("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",b.isOpen)}},dependencies:[dw,ew,uA,Jz,iA,hA,lA,GS,HS,tL,bz,az,xM,yM,sL,LT,kw],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 DUa=function(){return[]},VEc={CARD_HEADER_ONLY:0,0:"CARD_HEADER_ONLY"},NT=function(a,b,c,d,e){this.issueFridge=a;this.eventsForIssueFridge=b;this.currentUser=c;this.dateFormatter=d;this.changelistApi=e;this.showCls=!1;this.issuesWithEvents$=(0,E.of)([]);this.changelistsWithIds=(0,E.of)([]);this.loadingCards=!0;this.isSettingsMenuOpen=!1;this.settings=new Map([[0,{id:0,display:"Show card headers only",value:!1}]]);this.SettingType=VEc;a=Lm("activityStreamHeaderOnly")();this.settings.get(0).value=
null!=a?a:!1;this.selectedFilter=(a=UG("activityStreamSelectedFilter")())?a:TEc;WEc(this)},WEc=function(a){a.loadingCards=!0;a.issuesWithEvents$=a.issueFridge.watchMany({filter:a.selectedFilter.search.atom+":"+a.selectedFilter.search.value+" AND modified:7d",pageSize:25,sort:"modified_time:desc"}).pipe(D(function(b){var c;return null!=(c=b.results)?c:[]}),D(a.buildIssuesWithEvents.bind(a)),Ue(function(){XEc(a)}))};
NT.prototype.getDayOfYear=function(a){a=void 0===a?new Date:a;var b=new Date(a.getFullYear(),0,0);a=a.getTime()-b.getTime()+6E4*(b.getTimezoneOffset()-a.getTimezoneOffset());return Math.floor(a/864E5)};var XEc=function(a){setTimeout(function(){a.loadingCards=!1},500)};
NT.prototype.buildIssuesWithEvents=function(a){var b=this,c=[];a.sort(function(e,g){return g.majorModifiedTimeMicros-e.majorModifiedTimeMicros});a=k(a);for(var d=a.next();!d.done;d=a.next())d=d.value,c.push({issue:d,events:this.eventsForIssueFridge.watchOne(d.issueId).pipe(D(function(e){if(e){var g,h=null!=(g=e.events)?g:[];e=e.id;g=[];h=k(h);for(var 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};
NT.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(Vc(a.preDiffs),Vc(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 Cl(a)?"changelistFixed":"status";if("assignee"===c.name)return"assignee";if("statusUpdate"===c.name)return"statusUpdate"}}return Cl(a)?"changelist":
ul(a)&&a.isHumanAuthor?"comment":null};NT.\u0275fac=function(a){return new (a||NT)(C(lH),C(SE),C(QH),C(aK),C(RC))};
NT.\u0275cmp=Gc({type:NT,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&&(G(0,"div",0)(1,"div",1)(2,"b-activity-stream-filter",2),M("selected",function(d){b.selectedFilter=d;Qo("activityStreamSelectedFilter")(d);WEc(b)}),H(),G(3,"button",3),
M("click",function(){return WEc(b)}),I(4,"mat-icon",4),H(),G(5,"button",5,6),M("click",function(){b.isSettingsMenuOpen=!0}),I(7,"mat-icon",7),H(),Q(8,xUa,2,1,"ng-template",8),M("detach",function(){b.isSettingsMenuOpen=!1})("backdropClick",function(){b.isSettingsMenuOpen=!1}),H(),Q(9,zUa,3,3,"div",9),Q(10,GUa,6,5,"div",9),H());if(a&2){var c=Cf(6);z(2);F("selectedFilter",b.selectedFilter);z(6);F("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",b.isSettingsMenuOpen);z(1);F("ngIf",b.showCls);
z(1);F("ngIf",!b.showCls)}},dependencies:[dw,ew,uA,Jz,GS,HS,bz,az,sL,ET,sEc,MT,kw],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 OT=function(a){r.call(this,a)};U(OT,r);OT.prototype.getWorkspaceId=function(){return V(this,1)};OT.prototype.getClientTimeZone=function(){return Z(this,Zi,2)};OT.prototype.toObject=function(){if(null!=this){t(this);var a={workspaceId:V(this,1),clientTimeZone:fC(this.getClientTimeZone())}}else a=void 0;return a};var PT=function(a){r.call(this,a)};U(PT,r);PT.prototype.getTaskList=function(){return aj(this,bC,1)};PT.prototype.addTask=function(a){jo(this,1,bC,a)};var YEc=Rb(PT);PT.repeatedFields_=[1];PT.prototype.toObject=function(){if(null!=this){t(this);var a={taskList:Kb(this.getTaskList(),r6b)}}else a=void 0;return a};var ZEc=new kC("/google.internal.devopsconsole.v1.CritiqueTaskService/GetStreamCritiqueTasks",OT,PT,function(a){return a.serialize()},YEc);var bFc=function(){var a=$Ec,b=new OT;return a.client_.serverStreaming(a.hostname_+"/$rpc/google.internal.devopsconsole.v1.CritiqueTaskService/GetStreamCritiqueTasks",b,aFc||{},ZEc)};var QT=function(a){r.call(this,a)};U(QT,r);QT.prototype.getWorkspaceId=function(){return V(this,4)};QT.prototype.getClientTimeZone=function(){return Z(this,Zi,5)};QT.prototype.toObject=function(){if(null!=this){t(this);var a={oauthToken:V(this,1),enableDebug:Jj(this,2),autoRefresh:Jj(this,3),workspaceId:V(this,4),clientTimeZone:fC(this.getClientTimeZone())}}else a=void 0;return a};var cFc=function(a){r.call(this,a)};U(cFc,r);cFc.prototype.toObject=function(){return dFc(this)};var dFc=function(a){if(null!=a)return t(a),{logMessage:V(a,1),relativeStartMs:hj(a,2)}};var eFc=function(a){r.call(this,a)};U(eFc,r);f=eFc.prototype;f.getName=function(){return V(this,1)};f.setName=function(a){return mj(this,1,a)};f.addRequest=function(a,b){wb(this,2,a,b)};f.getRequest=function(){return Us(this,2)};f.getRequestCount=function(){return Ih(this,2,void 0,2).length};f.getResponse=function(a){return Us(this,4,a)};f.setResponse=function(a){return xb(this,4,a,void 0,Ih)};eFc.repeatedFields_=[2,3,4];eFc.prototype.toObject=function(){return fFc(this)};
var fFc=function(a){if(null!=a)return t(a),{name:V(a,1),requestList:p(Ih(a,2)),responseStatusList:p(Ih(a,3)),responseList:p(Ih(a,4)),relativeStartMs:hj(a,5),latencyMs:hj(a,6)}};var gFc=function(a){r.call(this,a)};U(gFc,r);gFc.repeatedFields_=[1,2];gFc.prototype.toObject=function(){return hFc(this)};var hFc=function(a){if(null!=a)return t(a),{rpcInfoList:Kb(aj(a,eFc,1),fFc),logInfoList:Kb(aj(a,cFc,2),dFc)}};var RT=function(a){r.call(this,a)};U(RT,r);RT.prototype.getTaskList=function(){return aj(this,bC,1)};RT.prototype.addTask=function(a){jo(this,1,bC,a)};RT.prototype.getDebugInfo=function(){return Z(this,gFc,4)};var iFc=Rb(RT);RT.repeatedFields_=[1];RT.prototype.toObject=function(){if(null!=this){t(this);var a={taskList:Kb(this.getTaskList(),r6b),debugInfo:hFc(this.getDebugInfo()),incrementalUpdate:Jj(this,5)}}else a=void 0;return a};var jFc=new kC("/google.internal.devopsconsole.v1.DriveTaskService/GetStreamDriveTasks",QT,RT,function(a){return a.serialize()},iFc);var lFc=function(){var a=kFc,b=new QT;return a.client_.serverStreaming(a.hostname_+"/$rpc/google.internal.devopsconsole.v1.DriveTaskService/GetStreamDriveTasks",b,aFc||{},jFc)};var mFc=new Rc("GMAT_CHECKBOX_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var nFc=function(a){this.options=a};nFc.\u0275fac=function(a){return new (a||nFc)(C(mFc))};nFc.\u0275dir=Kc({type:nFc,selectors:[["mat-checkbox"]],hostVars:2,hostBindings:function(a,b){a&2&&qf("gmat-mdc-checkbox",!b.options.disableGmatStyle)}});var oFc=new Rc("GMAT_CHIPS_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var ST=function(a){this.options=a};ST.\u0275fac=function(a){return new (a||ST)(C(oFc))};
ST.\u0275dir=Kc({type:ST,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&&qf("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 pFc=new Rc("mat-chips-default-options"),qFc=new Rc("MatChipAvatar"),rFc=new Rc("MatChipTrailingIcon"),sFc=new Rc("MatChipRemove"),tFc=new Rc("MatChip");var uFc=lh(function(){},-1),TT=function(a,b){var c=uFc.call(this)||this;c._elementRef=a;c._parentChip=b;c.isInteractive=!0;c._isPrimary=!0;c._disabled=!1;c._allowFocusWhenDisabled=!1;"BUTTON"===a.nativeElement.nodeName&&a.nativeElement.setAttribute("type","button");return c};U(TT,uFc);f=TT.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())};hh.Object.defineProperties(TT.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled||this._parentChip.disabled},set:function(a){this._disabled=xg(a)}}});TT.\u0275fac=function(a){return new (a||TT)(C(vd),C(tFc))};
TT.\u0275dir=Kc({type:TT,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(a,b){a&1&&M("click",function(c){return b._handleClick(c)})("keydown",function(c){return b._handleKeydown(c)});a&2&&(gf("tabindex",b._getTabindex())("disabled",b._getDisabledAttribute())("aria-disabled",b.disabled),qf("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:[bf]});var vFc=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],wFc=0,xFc=lh(ih(jh(kh(function(a){this._elementRef=a})),"primary"),-1),UT=function(a,b,c,d,e,g,h,l){b=xFc.call(this,b)||this;b._changeDetectorRef=a;b._ngZone=c;b._focusMonitor=d;b._globalRippleOptions=h;b._isRippleCentered=!1;b._onFocus=new E.Subject;b._onBlur=new E.Subject;b.role=null;b._hasFocusInternal=!1;b.id="mat-mdc-chip-"+wFc++;b.ariaLabel=null;b.ariaDescription=
null;b._ariaDescriptionId=b.id+"-aria-description";b._removable=!0;b._highlighted=!1;b.removed=new Gv;b.destroyed=new Gv;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};U(UT,xFc);f=UT.prototype;f._hasFocus=function(){return this._hasFocusInternal};
f.ngOnInit=function(){var a=this._elementRef.nativeElement;this._isBasicChip=a.hasAttribute(this.basicChipAttrName)||a.tagName.toLowerCase()===this.basicChipAttrName};f.ngAfterViewInit=function(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label");this._pendingFocus&&(this._pendingFocus=!1,this.focus())};f.ngAfterContentInit=function(){var a=this;this._actionChanges=(0,E.merge)(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allRemoveIcons.changes).subscribe(function(){return a._changeDetectorRef.markForCheck()})};
f.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})})}))})};
hh.Object.defineProperties(UT.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=xg(a)}},highlighted:{configurable:!0,enumerable:!0,get:function(){return this._highlighted},set:function(a){this._highlighted=xg(a)}}});
UT.\u0275fac=function(a){return new (a||UT)(C(Yv),C(vd),C(We),C(ix),C(fh),C(ev,8),C(OYb,8),od("tabindex"))};
UT.\u0275cmp=Gc({type:UT,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(a,b,c){a&1&&(Vf(c,qFc,5),Vf(c,rFc,5),Vf(c,sFc,5),Vf(c,qFc,5),Vf(c,rFc,5),Vf(c,sFc,5));if(a&2){var d;Tf(d=Wf())&&(b.leadingIcon=d.first);Tf(d=Wf())&&(b.trailingIcon=d.first);Tf(d=Wf())&&(b.removeIcon=d.first);Tf(d=Wf())&&(b._allLeadingIcons=d);Tf(d=Wf())&&(b._allTrailingIcons=d);Tf(d=Wf())&&(b._allRemoveIcons=d)}},viewQuery:function(a,b){a&1&&(Uf(kz,5),Uf(TT,5));
if(a&2){var c;Tf(c=Wf())&&(b.ripple=c.first);Tf(c=Wf())&&(b.primaryAction=c.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:30,hostBindings:function(a,b){a&1&&M("keydown",function(c){return b._handleKeydown(c)});a&2&&(wf("id",b.id),gf("role",b.role)("tabindex",b.role?b.tabIndex:null)("aria-label",b.ariaLabel),qf("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:[Gf([{provide:tFc,useExisting:UT}]),bf],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&&(xf(vFc),I(0,"span",0)(1,"span",1),G(2,"span",2)(3,"span",3),Q(4,HUa,2,0,"span",4),G(5,"span",5),yf(6),I(7,"span",6),H()()(),Q(8,IUa,2,0,"span",7));a&2&&(F("matRippleDisabled",b._isRippleDisabled())("matRippleCentered",b._isRippleCentered)("matRippleTrigger",b._elementRef.nativeElement),z(3),F("isInteractive",!1),z(1),F("ngIf",b.leadingIcon),z(4),F("ngIf",b._hasTrailingIcon()))},dependencies:[ew,kz,TT],
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 yFc=lh(function(){}),VT=function(a,b,c){var d=yFc.call(this,a)||this;d._elementRef=a;d._changeDetectorRef=b;d._dir=c;d._lastDestroyedFocusedChipIndex=null;d._destroyed=new E.Subject;d._defaultRole="presentation";d._disabled=!1;d._explicitRole=null;d._chipActions=new Xf;return d};U(VT,yFc);f=VT.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(Re(null),Se(function(){return E.merge.apply(null,Vc(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(Re(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);Sf(a._chipActions)});this._keyManager=MXb(yy(xy(wy(new By(this._chipActions)),this._dir?this._dir.value:"ltr")),function(c){return a._skipPredicate(c)});this.chipFocusChanges.pipe(Te(this._destroyed)).subscribe(function(c){(c=c.chip._getSourceAction(document.activeElement))&&
zy(a._keyManager,c)});var b;null==(b=this._dir)||b.change.pipe(Te(this._destroyed)).subscribe(function(c){return xy(a._keyManager,c)})};f._skipPredicate=function(a){return!a.isInteractive||a.disabled};f._trackChipSetChanges=function(){var a=this;this._chips.changes.pipe(Re(null),Te(this._destroyed)).subscribe(function(){a.disabled&&Promise.resolve().then(function(){return a._syncChipsState()});a._redirectDestroyedChipFocus()})};
f._trackDestroyedFocusedChip=function(){var a=this;this.chipDestroyedChanges.pipe(Te(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}};
hh.Object.defineProperties(VT.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=xg(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()}}});VT.\u0275fac=function(a){return new (a||VT)(C(vd),C(Yv),C(Cy,8))};
VT.\u0275cmp=Gc({type:VT,selectors:[["mat-chip-set"]],contentQueries:function(a,b,c){a&1&&Vf(c,UT,5);if(a&2){var d;Tf(d=Wf())&&(b._chips=d)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(a,b){a&1&&M("keydown",function(c){return b._handleKeydown(c)});a&2&&gf("role",b.role)},inputs:{disabled:"disabled",role:"role"},features:[bf],ngContentSelectors:["*"],decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(a){a&
1&&(xf(),G(0,"div",0),yf(1),H())},styles:[".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}\n"],
encapsulation:2,changeDetection:0});var zFc=function(a,b,c,d,e,g,h){a=VT.call(this,a,b,c)||this;a._defaultErrorStateMatcher=d;a._parentForm=e;a._parentFormGroup=g;a.ngControl=h;a.stateChanges=new E.Subject;return a};U(zFc,VT);zFc.\u0275cmp=VT.\u0275cmp;zFc.\u0275fac=VT.\u0275fac;Loa(zFc);var AFc=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],WT=function(){var a=UT.apply(this,arguments)||this;a._defaultOptions=Ac(pFc,{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 Gv;return a};U(WT,UT);f=WT.prototype;f.ngOnInit=function(){UT.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())};
hh.Object.defineProperties(WT.prototype,{selectable:{configurable:!0,enumerable:!0,get:function(){return this._selectable&&this.chipListSelectable},set:function(a){this._selectable=xg(a);this._changeDetectorRef.markForCheck()}},selected:{configurable:!0,enumerable:!0,get:function(){return this._selected},set:function(a){this._setSelectedState(xg(a),!1,!0)}},ariaSelected:{configurable:!0,enumerable:!0,get:function(){return this.selectable?this.selected.toString():null}}});
WT.\u0275fac=function(){var a;return function(b){return(a||(a=td(WT)))(b||WT)}}();
WT.\u0275cmp=Gc({type:WT,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&&(wf("id",b.id),gf("tabindex",null)("aria-label",null)("aria-description",null)("role",b.role),qf("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:[Gf([{provide:UT,useExisting:WT},{provide:tFc,useExisting:WT}]),bf],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&&(xf(AFc),I(0,"span",0)(1,"span",1),G(2,"span",
2)(3,"button",3),Q(4,JUa,5,0,"span",4),G(5,"span",5),yf(6),I(7,"span",6),H()()(),Q(8,KUa,2,0,"span",7),G(9,"span",8),R(10),H());a&2&&(F("matRippleDisabled",b._isRippleDisabled())("matRippleCentered",b._isRippleCentered)("matRippleTrigger",b._elementRef.nativeElement),z(3),F("tabIndex",b.tabIndex)("_allowFocusWhenDisabled",!0),gf("aria-selected",b.ariaSelected)("aria-label",b.ariaLabel)("aria-describedby",b._ariaDescriptionId),z(1),F("ngIf",b._hasLeadingGraphic()),z(4),F("ngIf",b._hasTrailingIcon()),
z(1),F("id",b._ariaDescriptionId),z(1),Ef(b.ariaDescription))},dependencies:[ew,kz,TT],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 BFc=function(a,b){this.source=a;this.value=b},CFc={provide:uw,useExisting:wc(function(){return XT}),multi:!0},XT=function(){var a=VT.apply(this,arguments)||this;a._onTouched=function(){};a._onChange=function(){};a._defaultRole="listbox";a._defaultOptions=Ac(pFc,{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 Gv;a._chips=void 0;return a};U(XT,VT);f=XT.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(Re(null),Te(this._destroyed)).subscribe(function(){a._syncListboxProperties()});this.chipBlurChanges.pipe(Te(this._destroyed)).subscribe(function(){return a._blur()});this.chipSelectionChanges.pipe(Te(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&&VT.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 BFc(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};
hh.Object.defineProperties(XT.prototype,{multiple:{configurable:!0,enumerable:!0,get:function(){return this._multiple},set:function(a){this._multiple=xg(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=xg(a);this._syncListboxProperties()}},required:{configurable:!0,
enumerable:!0,get:function(){return this._required},set:function(a){this._required=xg(a)}},hideSingleSelectionIndicator:{configurable:!0,enumerable:!0,get:function(){return this._hideSingleSelectionIndicator},set:function(a){this._hideSingleSelectionIndicator=xg(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}}});XT.\u0275fac=function(){var a;return function(b){return(a||(a=td(XT)))(b||XT)}}();
XT.\u0275cmp=Gc({type:XT,selectors:[["mat-chip-listbox"]],contentQueries:function(a,b,c){a&1&&Vf(c,WT,5);if(a&2){var d;Tf(d=Wf())&&(b._chips=d)}},hostAttrs:["ngSkipHydration","",1,"mdc-evolution-chip-set","mat-mdc-chip-listbox"],hostVars:11,hostBindings:function(a,b){a&1&&M("focus",function(){return b.focus()})("blur",function(){return b._blur()})("keydown",function(c){return b._keydown(c)});a&2&&(wf("tabIndex",b.empty?-1:b.tabIndex),gf("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),qf("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:[Gf([CFc]),
bf],ngContentSelectors:["*"],decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(a){a&1&&(xf(),G(0,"div",0),yf(1),H())},styles:[".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}\n"],
encapsulation:2,changeDetection:0});var DFc=new Rc("GMAT_MENU_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var YT=function(){$y.apply(this,arguments);this.gmatPanelClasses=[]};U(YT,$y);YT.prototype.create=function(a){var b=(null==a?0:a.panelClass)?wg(a.panelClass).concat(this.gmatPanelClasses):this.gmatPanelClasses;return $y.prototype.create.call(this,Object.assign({},a,{panelClass:b}))};YT.\u0275fac=function(){var a;return function(b){return(a||(a=td(YT)))(b||YT)}}();YT.\u0275prov=qc({token:YT,factory:YT.\u0275fac});var ZT=function(a,b){this.options=a;a.disableGmatStyle||b.gmatPanelClasses.push("gmat-mdc-menu")};ZT.\u0275fac=function(a){return new (a||ZT)(C(DFc),C($y))};ZT.\u0275dir=Kc({type:ZT,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],features:[Gf([{provide:$y,useClass:YT}])]});var EFc=new Rc("GMAT_TABLE_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var $T=function(a){this.options=a};$T.\u0275fac=function(a){return new (a||$T)(C(EFc))};$T.\u0275dir=Kc({type:$T,selectors:[["table","mat-table",""],["mat-table"]],hostVars:2,hostBindings:function(a,b){a&2&&qf("gmat-mdc-table",!b.options.disableGmatStyle)}});var aU=function(){};aU.\u0275fac=function(a){return new (a||aU)};aU.\u0275mod=Ic({type:aU});aU.\u0275inj=rc({imports:[lN]});var $Ec=new function(){this.client_=new BC({format:"jspb"});this.hostname_="https://devopsconsole-pa-googleapis.corp.google.com".replace(/\/+$/,"")},kFc=new function(){this.client_=new BC({format:"jspb"});this.hostname_="https://devopsconsole-pa-googleapis.corp.google.com".replace(/\/+$/,"")},aFc={"X-Goog-Api-Key":"AIzaSyB9Ljnt9FDyfTnTH2yeDn6lGM40PQm6Gsk",Authorization:vo([])||"","X-Goog-AuthUser":"0"},bU=function(a,b,c){this.issueFridge=a;this.hackyPrefs=b;this.currentUser=c;this.currentUserEmail=
this.currentUser.email;this.cardTitle="My tasks";this.displayedColumns=["type","title","modified","role","created"];this.mvpMyTaskTabsData$=[{label:"Owned",description:"Tasks that you own, are assigned to or have authored.",tasks:(0,E.of)([]),sources:["Buganizer","Drive","Critique"],chips:[{label:"Last 30 days",selected:!0},{label:"My teams",selected:!0},{label:"Open",selected:!0}]},{label:"Collaborating",description:"Tasks that you have contributed to, but don't own.",tasks:(0,E.of)([]),sources:["Buganizer",
"Drive","Critique"],chips:[{label:"Last 30 days",selected:!0},{label:"My teams",selected:!0},{label:"Open",selected:!0}]},{label:"Following",description:"Tasks that you frequently view or have shown interest in (e.g. starred).",tasks:(0,E.of)([]),sources:["Buganizer","Drive","Critique"],chips:[{label:"Last 30 days",selected:!0},{label:"My teams",selected:!0},{label:"Open",selected:!0}]}];this.issueTasksOwned=(0,E.of)([]);this.issueTasksCollaborating=(0,E.of)([]);this.issueTasksFollowing=(0,E.of)([]);
this.critiqueTasks=(0,E.of)([]);this.driveTasks=(0,E.of)([]);this.mergedTasks$=(0,E.of)([])};bU.prototype.isCollapsed=function(){return this.hackyPrefs.prefs.collapsed["mvp-my-tasks"]};bU.prototype.toggleCollapsed=function(){this.hackyPrefs.toggleCollapsed("mvp-my-tasks")};
var FFc=function(a){return new E.Observable(function(b){a.on("data",function(c){b.next(c)});a.on("error",function(c){b.error(c)});a.on("status",function(c){b.error(c)});a.on("end",function(){b.complete()});return function(){a.cancel()}})},GFc=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(x){return x.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},HFc=function(a,b){var c=b.snapshot[0]||{},d=c.createdTimeMicros?Math.floor(c.createdTimeMicros/1E3):0;a=GFc(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}};bU.prototype.queryIssues=function(a){return this.issueFridge.watchMany({filter:a,pageSize:50,sort:"modified_time:desc"}).pipe(D(function(b){return b.results}))};
bU.prototype.ngOnInit=function(){var a=this;this.issueTasksOwned=this.queryIssues("assignee:me t:(bug | customer_issue | feature | feature_request | story | task | internal_cleanup | process) modified:30d status:open").pipe(D(function(b){return b.map(function(c){return HFc(a,c)})}));this.issueTasksCollaborating=this.queryIssues("(collaborator:me | reporter:me) -assignee:me modified:30d status:open").pipe(D(function(b){return b.map(function(c){return HFc(a,c)})}));this.issueTasksFollowing=this.queryIssues("star:true | (cc:me status:open)").pipe(D(function(b){return b.map(function(c){return HFc(a,
c)})}));this.critiqueTasks=FFc(bFc()).pipe(D(function(b){return b.getTaskList().map(function(c){var d=c.toObject(),e=d.resource,g=!1,h=!1,l=!1,q="",x=Yo(MJb(c,aC,6)),A=null==x?void 0:x.getAuthorEmail();x=null==x?void 0:x.getCategory();A===a.currentUserEmail||2===x?(g=!0,q="Author"):1===x?(h=!0,q="Reviewer"):3===x&&(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=FFc(lFc()).pipe(D(function(b){return b.getTaskList().map(function(c){var d=c.toObject(),e=d.resource,g=null==e?void 0:e.taskSource,h;switch(null==(h=Ms(MJb(c,aC,6),XB,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,x=!1;var A=Ms(MJb(c,aC,6),XB,5);var B=null==A?void 0:A.getOwnedByMe(),K=null==A?void 0:Jj(A,26),N=null==A?void 0:Jj(A,25),P=null==A?void 0:A.getSharedToMe();B||K?(l=!0,A="Owner"):Jj(A,2)?(l=!0,A="Creator"):N?(q=!0,A="Approver"):P?(q=!0,A="Shared with me"):A.getIsStarred()?(x=!0,A="Starred"):(x=!0,A="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:x,priority:null,role:A,open:!0,resource:e,rawObj:d}})}));this.mergedTasks$=(0,E.merge)(this.critiqueTasks,this.driveTasks,this.issueTasksOwned,this.issueTasksCollaborating,this.issueTasksFollowing).pipe(bVa(),D(function(b){return b.sort(function(c,d){return(d.modifiedDate||d.creationDate)-(c.modifiedDate||c.creationDate)}).filter(function(c){return c.modifiedDate?c.modifiedDate>Date.now()-2592E6:c.creationDate>
Date.now()-2592E6})}));this.mvpMyTaskTabsData$[0].tasks=this.mergedTasks$.pipe(D(function(b){return b.filter(function(c){return c.isOwner})}));this.mvpMyTaskTabsData$[1].tasks=this.mergedTasks$.pipe(D(function(b){return b.filter(function(c){return c.isCollaborating})}));this.mvpMyTaskTabsData$[2].tasks=this.mergedTasks$.pipe(D(function(b){return b.filter(function(c){return c.isFollowing})}))};bU.\u0275fac=function(a){return new (a||bU)(C(lH),C(RH),C(QH))};
bU.\u0275cmp=Gc({type:bU,selectors:[["mvp-my-tasks"]],decls:12,vars:4,consts:[[1,"mvp-my-tasks-view"],[1,"mvp-card","carded","small-tabs"],[1,"mvp-card-header"],[1,"title"],["mat-icon-button","","aria-label","Toggle expansion state",1,"gmat-button","small","collapse-btn",3,"click"],["svgIcon","arrow-up",1,"icon-s"],[1,"spacer"],["mat-icon-button","","matTooltip","More actions menu","aria-label","More actions menu","aria-haspopup","true",1,"gmat-button","medium"],[1,"google-material-icons"],["class",
"card-content",4,"ngIf"],[1,"card-content"],["mat-align-tabs","start","gmat-tabs",""],[3,"label",4,"ngFor","ngForOf"],[3,"label"],[1,"mvp-tab-controls"],["mat-button","","matTooltip","Select source applications","aria-label","Select source applications","aria-haspopup","true",1,"gmat-button","medium","chip-button",3,"matMenuTriggerFor"],[1,"mvp-my-tasks-menu"],["sourceMenu","matMenu"],[1,"mvp-source-select",3,"click"],["color","primary","checked","true"],["checked","true"],["checked","false"],["multiple",
""],["appearance","hairline-suggestive",3,"selected",4,"ngFor","ngForOf"],[1,"mvp-tab-content"],[3,"dataSource"],["matColumnDef","type"],[4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","title"],["matColumnDef","modified"],["matColumnDef","role"],["matColumnDef","created"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],["loadingContrib",""],["appearance","hairline-suggestive",3,"selected"],[3,"class",4,"ngIf"],[3,"href"]],template:function(a,b){a&1&&(G(0,"div",0)(1,"section",1)(2,
"div",2)(3,"h2",3),R(4),H(),G(5,"button",4),M("click",function(){return b.toggleCollapsed()}),I(6,"mat-icon",5),H(),I(7,"span",6),G(8,"button",7)(9,"mat-icon",8),R(10,"more_vert"),H()()(),Q(11,aVa,3,1,"div",9),H()());a&2&&(qf("collapsed",b.isCollapsed()),z(4),Ef(b.cardTitle),z(7),F("ngIf",!b.isCollapsed()))},dependencies:[dw,ew,uA,nFc,sN,ST,XT,WT,ZT,wB,zB,$T,kN,cN,gN,dN,bN,hN,eN,fN,iN,jN,Jz,nM,mM,sL,nw],styles:['[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]{margin-top:24px;background:var(--surface-default)}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .mvp-card-header[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;gap:4px}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .mvp-card-header[_ngcontent-%COMP%]   .small-button-icon[_ngcontent-%COMP%]{font-size:1.125rem}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .mvp-card-header[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{margin:0}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .mvp-card-header[_ngcontent-%COMP%]   .spacer[_ngcontent-%COMP%]{-webkit-box-flex:1;-webkit-flex:1 1 auto;-moz-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .priority-badge[_ngcontent-%COMP%]{padding:0 .25rem;border-radius:.25rem;font-weight:500;margin-right:.5rem;border:1px solid transparent}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .priority-badge.P0[_ngcontent-%COMP%]{border:1px solid var(--primary-default);background:var(--primary-default);color:var(--text-inverse)}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .priority-badge.P1[_ngcontent-%COMP%]{border:1px solid var(--primary-default)}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .product-icon.check_circle_filled[_ngcontent-%COMP%]{color:var(--green-600)}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .product-icon.drive_document[_ngcontent-%COMP%]{color:var(--blue-700)}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .product-icon.drive_spreadsheet[_ngcontent-%COMP%]{color:var(--green-600)}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .product-icon.drive_presentation[_ngcontent-%COMP%]{color:var(--yellow-600)}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .product-icon.video_youtube[_ngcontent-%COMP%]{color:var(--red-600)}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   mat-footer-row[_ngcontent-%COMP%], [_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   mat-header-row[_ngcontent-%COMP%], [_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   mat-row[_ngcontent-%COMP%]{min-height:2rem;border-bottom:1px solid var(--hairline)}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   mat-cell[_ngcontent-%COMP%], [_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   mat-header-cell[_ngcontent-%COMP%]{border:none}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   mat-header-cell[_ngcontent-%COMP%]{font-weight:500}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mvp-tab-controls[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;gap:.5rem}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mvp-tab-controls[_ngcontent-%COMP%]   .chip-button[_ngcontent-%COMP%]{background:var(--mvp-prototype-chip-bg);padding:0 8px 0 12px;height:1.5rem;line-height:1.5rem;margin:6px 0;border-radius:.5rem;font-weight:400}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mat-mdc-cell[_ngcontent-%COMP%], [_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mat-mdc-header-cell[_ngcontent-%COMP%]{padding:0 .75rem}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mat-column-type[_ngcontent-%COMP%]{width:48px;-webkit-box-flex:0;-webkit-flex:0 1 auto;-moz-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mat-column-title[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:var(--text-default)}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mat-column-modified[_ngcontent-%COMP%]{min-width:180px;width:10%;-webkit-box-flex:0;-webkit-flex:0 1 auto;-moz-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mat-column-role[_ngcontent-%COMP%]{min-width:200px;width:10%;-webkit-box-flex:0;-webkit-flex:0 1 auto;-moz-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mat-column-created[_ngcontent-%COMP%]{min-width:120px;width:10%;-webkit-box-flex:0;-webkit-flex:0 1 auto;-moz-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto}  .mvp-my-tasks-view .mat-mdc-standard-chip{--mdc-chip-disabled-label-text-color:#212121;--mdc-chip-elevated-container-color:#e0e0e0;--mdc-chip-elevated-disabled-container-color:#e0e0e0;--mdc-chip-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}.collapse-btn[_ngcontent-%COMP%]{-webkit-transition:-webkit-transform .1s ease-in-out;transition:-webkit-transform .1s ease-in-out;transition:transform .1s ease-in-out;transition:transform .1s ease-in-out,-webkit-transform .1s ease-in-out}.collapsed[_ngcontent-%COMP%]   .collapse-btn[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}\n/*# sourceMappingURL=mvp_my_tasks.css.map */']});var cU=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(";")};cU.\u0275fac=function(a){return new (a||cU)};cU.\u0275prov=qc({token:cU,factory:cU.\u0275fac,providedIn:"root"});var IFc=["addWorkAreaDialog"],JFc=function(a){return{collapsed:a}},dU=function(a,b,c){this.dialog=a;this.hackyPrefs=b;this.fakeData=c;this.autocompleteControl=new Kw("");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(" ")};dU.prototype.isCollapsed=function(){return this.hackyPrefs.prefs.collapsed["mvp-my-work"]};dU.prototype.toggleCollapsed=function(){this.hackyPrefs.toggleCollapsed("mvp-my-work")};var cVa=function(a){Rz(a.dialog.open(a.addDialog)).subscribe(function(b){"cancel"!==b&&void 0!==b&&(a.currentViewIndex=void 0===b?0:b)})};
dU.prototype.ngOnInit=function(){var a=this;this.filteredOptions=this.autocompleteControl.valueChanges.pipe(Re(""),D(function(b){return KFc(a,b||"")}))};var KFc=function(a,b){var c=b.toLowerCase();return a.suggestions.filter(function(d){return d.toLowerCase().includes(c)})};dU.\u0275fac=function(a){return new (a||dU)(C(Wz),C(RH),C(cU))};
dU.\u0275cmp=Gc({type:dU,selectors:[["mvp-my-work"]],viewQuery:function(a,b){a&1&&Uf(IFc,7);if(a&2){var c;Tf(c=Wf())&&(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&&(G(0,"main",0)(1,"section",1)(2,"div",2)(3,"h2",3),R(4),H(),G(5,"button",4),M("click",function(){return b.toggleCollapsed()}),G(6,"mat-icon",5),R(7,"expand_less"),H()(),I(8,"span",
6),H(),Q(9,uVa,3,2,"div",7),H()(),Q(10,xVa,30,8,"ng-template",null,8,Zf));a&2&&(z(4),Ef(b.cardTitle),z(1),F("ngClass",Jf(4,JFc,b.isCollapsed())),gf("aria-label",b.isCollapsed?"Expand card":"Collapse card"),z(4),F("ngIf",!b.isCollapsed()))},dependencies:[cw,dw,ew,uA,og,Fw,ST,XT,WT,ZT,wB,uB,zB,$T,kN,cN,gN,dN,bN,hN,eN,fN,iN,jN,AO,zO,Lz,Jz,$z,iA,lA,nM,mM,Rw,kw,nw],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 LFc=function(a){r.call(this,a)};U(LFc,r);f=LFc.prototype;f.getSignalsList=function(){return Tk(this,6)};f.setSignalsList=function(a){al(this,6,a)};f.getCount=function(){return Gh(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 V(this,4)};f.setTrackerIdsList=function(a){kj(this,5,a)};LFc.repeatedFields_=[6,5];
LFc.prototype.toObject=function(){if(null!=this){t(this);var a={signalsList:p(Tk(this,6)),count:p(Os(this,1)),s:p(m(this,2)),p:p(Os(this,3)),nextPageToken:p(m(this,4)),trackerIdsList:p(Hh(this,5))}}else a=void 0;return a};var eU=function(a){r.call(this,a)};U(eU,r);eU.prototype.getTimestamp=function(){return Z(this,Ch,2)};eU.prototype.setTimestamp=function(a){return Yi(this,Ch,2,a)};eU.prototype.hasTimestamp=function(){return Dj(this,Ch,2)};eU.prototype.toObject=function(){return MFc(this)};var MFc=function(a){if(null!=a)return t(a),{signalType:p(kr(a,1)),timestamp:yt(a.getTimestamp())}};var Ro=function(a){r.call(this,a)};U(Ro,r);Ro.prototype.getIssue=function(){return Z(this,vj,1)};Ro.prototype.setIssue=function(a){Yi(this,vj,1,a)};Ro.prototype.getSignalsList=function(){return aj(this,eU,2)};Ro.prototype.setSignalsList=function(a){dj(this,2,a)};Ro.repeatedFields_=[2];Ro.prototype.toObject=function(){return NFc(this)};var NFc=function(a){if(null!=a)return t(a),{issue:JD(a.getIssue()),signalsList:Kb(a.getSignalsList(),MFc)}};var fU=function(a){r.call(this,a,0,fU.messageId)};U(fU,r);fU.prototype.getNumTotalResults=function(){return Gh(this,2)};fU.prototype.getComponentsMap=function(){return Vj(this,3,Tj)};fU.prototype.getNextPageToken=function(){return V(this,4)};fU.repeatedFields_=[1];fU.prototype.toObject=function(){if(null!=this){t(this);var a={issuesWithSignalsList:Kb(aj(this,Ro,1),NFc),numTotalResults:p(Os(this,2)),componentsMap:Ob(this.getComponentsMap(),PD),nextPageToken:p(m(this,4))}}else a=void 0;return a};
fU.messageId="b.NeedsAttentionSearchResponse";var gU=function(a){r.call(this,a)};U(gU,r);gU.prototype.getIssueIdsList=function(){return il(this,1)};gU.prototype.setIssueIdsList=function(a){return tb(this,1,a,db)};gU.prototype.addIssueIds=function(a){wb(this,1,a)};gU.repeatedFields_=[1];gU.prototype.toObject=function(){if(null!=this){t(this);var a={issueIdsList:p(il(this,1)),dismissed:p(ar(this,2))}}else a=void 0;return a};var OFc=function(a){r.call(this,a,0,OFc.messageId)};U(OFc,r);OFc.prototype.toObject=function(){if(null!=this){t(this);var a={dismissTimestamp:yt(Z(this,Ch,1))}}else a=void 0;return a};OFc.messageId="b.UpdateIssueDismissTimestampResponse";var hU=function(a,b){this.executor=a;this.appEvents=b;this.COUNT=100};hU.prototype.listIssues=function(a,b,c){var d=this,e=(new LFc).setCount(this.COUNT).setP(1);a&&e.setS(a.toApiUrlParam());b&&e.setTrackerIdsList(b);c&&e.setSignalsList(c.map(CVa));return this.executor.post({url:"action/issues/attention",body:e,responseConstructor:fU}).then(zVa).then(function(g){d.appEvents.needsAttentionIssueCount.next(g.numTotalResults||0);return g})};
var PFc=function(a,b,c){b=(new gU).setIssueIdsList(b.map(Wh));c=Lj(b,2,c);return a.executor.post({url:"action/issues/dismiss_timestamp",body:c,responseConstructor:OFc}).then(BVa)};hU.\u0275fac=function(a){return new (a||hU)(u(MC),u(KF))};hU.\u0275prov=qc({token:hU,factory:hU.\u0275fac,providedIn:"root"});var QFc=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"}]]),iFb=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 iU=function(a){this.api=a},RFc=function(a,b){return Ihc(a.api,KVa(b)).pipe(D(function(c){c=c.results.map(function(d){var e=d.userId.email;d=d.userAvailabilities.availabilities;var g=d[0];d=d.slice(1);var h;if(h=g)h=g.status.hasOutOfOffice?"OOO - "+GVa(g.status.outOfOffice.comeBackTime):g.status.hasOutsideWorkingHours?"Outside working hours - "+GVa(g.status.outsideWorkingHours.comeBackTime):void 0;g=(g=h)?{type:"Current Availability",text:g}:void 0;d=null!=g?g:JVa(d);return[e,d]});return new Map(c)}))};
iU.\u0275fac=function(a){return new (a||iU)(u(gI))};iU.\u0275prov=qc({token:iU,factory:iU.\u0275fac,providedIn:"root"});var SFc=new Rc("Worktracker API Key");var TFc=new Rc("Environment");var jU=function(a){r.call(this,a)};U(jU,r);f=jU.prototype;f.getIterationId=function(){return gj(this,1)};f.setIterationId=function(a){return Cb(this,1,a)};f.getWorkspaceId=function(){return gj(this,2)};f.getType=function(){return W(this,3,0)};f.setType=function(a){return Pi(this,3,a)};f.getName=function(){return V(this,4)};f.setName=function(a){return mj(this,4,a)};f.getHotlistId=function(){return gj(this,7)};f.setHotlistId=function(a){Cb(this,7,a)};f.getStatus=function(){return W(this,8,0)};
f.setStatus=function(a){return Pi(this,8,a)};f.getTagsList=function(){return Tk(this,9)};f.getTags=function(a){return Vs(this,9,a)};f.setVelocity=function(a){return nj(this,11,a)};f.getStartTime=function(){return Z(this,Ch,12)};f.setStartTime=function(a){Yi(this,Ch,12,a)};f.getEndTime=function(){return Z(this,Ch,13)};f.setEndTime=function(a){Yi(this,Ch,13,a)};var UFc=Rb(jU);jU.repeatedFields_=[9];jU.prototype.toObject=function(){return VFc(this)};
var VFc=function(a){if(null!=a)return t(a),{iterationId:gj(a,1),workspaceId:gj(a,2),type:W(a,3,0),name:V(a,4),startUsecs:NJb(a,5),endUsecs:NJb(a,6),actualStartTime:yt(Z(a,Ch,15)),actualEndTime:yt(Z(a,Ch,14)),hotlistId:gj(a,7),status:W(a,8,0),tagsList:p(Tk(a,9)),capacity:hj(a,10),velocity:hj(a,11),startTime:yt(a.getStartTime()),endTime:yt(a.getEndTime()),iterationRecurrenceId:gj(a,16)}};var kU=function(a){r.call(this,a)};U(kU,r);kU.prototype.getIterationId=function(){return Rs(this,1)};kU.prototype.setIterationId=function(a){return vb(this,1,a,0)};kU.prototype.toObject=function(){if(null!=this){t(this);var a={iterationId:Rs(this,1)}}else a=void 0;return a};var WFc=new kC("/google.corp.devtools.worktracker.v1.IterationService/GetIteration",kU,jU,function(a){return a.serialize()},UFc);var XFc=function(a){r.call(this,a)};U(XFc,r);XFc.repeatedFields_=[1];XFc.prototype.toObject=function(){return YFc(this)};var YFc=function(a){if(null!=a)return t(a),{launchIdsList:p(Ih(a,1))}};var ZFc=function(a){r.call(this,a)};U(ZFc,r);ZFc.repeatedFields_=[1];ZFc.prototype.toObject=function(){return $Fc(this)};var $Fc=function(a){if(null!=a)return t(a),{okrIdsList:p(Ih(a,1))}};var aGc=function(a){r.call(this,a)};U(aGc,r);aGc.prototype.getIssue=function(){return Z(this,vD,1)};aGc.prototype.setIssue=function(a){Yi(this,vD,1,a)};aGc.prototype.toObject=function(){return bGc(this)};var bGc=function(a){if(null!=a)return t(a),{issue:a$b(a.getIssue()),legacyType:W(a,2,0)}};var cGc=function(a){r.call(this,a)};U(cGc,r);cGc.prototype.getIssue=function(){return Sj(this,aGc,1,dGc)};cGc.prototype.setIssue=function(a){ho(this,1,dGc,a)};var dGc=[1];cGc.prototype.toObject=function(){return eGc(this)};var eGc=function(a){if(null!=a)return t(a),{issue:bGc(a.getIssue())}};var lU=function(a){r.call(this,a)};U(lU,r);lU.prototype.getId=function(){return V(this,1)};lU.prototype.setId=function(a){return mj(this,1,a)};lU.prototype.getPayload=function(){return Z(this,cGc,9)};var fGc=Rb(lU);lU.repeatedFields_=[11,12,7,10];lU.prototype.toObject=function(){return gGc(this)};
var gGc=function(a){if(null!=a){t(a);var b=V(a,1),c=eGc(a.getPayload()),d=p(Ih(a,11)),e=Kb(aj(a,jU,12),VFc),g=p(Ih(a,7)),h=Jj(a,8),l=p(Ih(a,10));var q=Vj(a,15,ZFc);q=Ob(q,$Fc);a=Vj(a,16,XFc);return{id:b,payload:c,tagIdsList:d,iterationsList:e,blockerIdsList:g,inboxItem:h,parentIdsList:l,okrIdsMap:q,launchIdsMap:Ob(a,YFc)}}};var jGc=function(){var a=Ac(hGc),b=iGc;b=b||{};b.format="jspb";this.client_=new BC(b);this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};jGc.prototype.getIteration=function(a,b){return CC(this.client_,this.hostname_+"/$rpc/google.corp.devtools.worktracker.v1.IterationService/GetIteration",a,b||{},WFc)};var kGc=function(a){r.call(this,a)};U(kGc,r);var lGc=function(a,b){return Fi(a,1,b)};kGc.repeatedFields_=[1];kGc.prototype.toObject=function(){if(null!=this){t(this);var a={workItemIdsList:p(Ih(this,1))}}else a=void 0;return a};var mGc=function(a){r.call(this,a)};U(mGc,r);var nGc=Rb(mGc);mGc.repeatedFields_=[1];mGc.prototype.toObject=function(){if(null!=this){t(this);var a={workItemsList:Kb(aj(this,lU,1),gGc)}}else a=void 0;return a};var oGc=new kC("/google.corp.devtools.worktracker.v1.WorkItemService/BatchGetWorkItems",kGc,mGc,function(a){return a.serialize()},nGc);var pGc=function(a){r.call(this,a)};U(pGc,r);pGc.prototype.setWorkItemId=function(a){return mj(this,1,a)};pGc.prototype.toObject=function(){if(null!=this){t(this);var a={workItemId:V(this,1)}}else a=void 0;return a};var qGc=new kC("/google.corp.devtools.worktracker.v1.WorkItemService/GetWorkItem",pGc,lU,function(a){return a.serialize()},fGc);var rGc=function(){var a=Ac(hGc),b=iGc;b=b||{};b.format="jspb";this.client_=new BC(b);this.hostname_=void 0==a?a:a.replace(/\/+$/,"")},sGc=function(a,b,c){return CC(a.client_,a.hostname_+"/$rpc/google.corp.devtools.worktracker.v1.WorkItemService/BatchGetWorkItems",b,c||{},oGc)};rGc.prototype.getWorkItem=function(a){return CC(this.client_,this.hostname_+"/$rpc/google.corp.devtools.worktracker.v1.WorkItemService/GetWorkItem",a,{},qGc)};var hGc=new Rc("Worktracker API Endpoint",{factory:function(){switch(Ac(TFc)){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"}}}),iGc={withCredentials:!0,suppressCorsPreflight:!0},tGc=new Rc("Workspaces Promise Client",{factory:function(){return new atc(Ac(hGc),iGc)}}),uGc=new Rc("Iterations Promise Client",{factory:function(){return new jGc}}),
vGc=new Rc("Work Items Promise Client",{factory:function(){return new rGc}});var mU=function(){this.iterationsApi=Ac(uGc);this.idToIterationMap=new Map;this.headers=Wo(Ac(SFc))};mU.prototype.getIteration=function(a){if(this.idToIterationMap.has(a))return this.idToIterationMap.get(a);var b=(new kU).setIterationId(a);b=this.iterationsApi.getIteration(b,this.headers);this.idToIterationMap.set(a,b);return b};mU.\u0275fac=function(a){return new (a||mU)};mU.\u0275prov=qc({token:mU,factory:mU.\u0275fac,providedIn:"root"});var nU=function(){var a=this;this.workItemsApi=Ac(vGc);this.headers=Wo(Ac(SFc));this.task$=new E.ReplaySubject;this.taskToWorkItem$=MVa(this.task$).pipe(Se(function(b){var c;return he(function(d){if(1==d.nextAddress)return d.yield(wGc(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))})}),Pe())};
nU.prototype.getWorkItem=function(a){var b;if(null==(b=a.getResource())||!cp(b))return(0,E.of)(void 0);this.task$.next(a);return this.taskToWorkItem$.pipe(D(function(c){return c.get(a)}))};var wGc=function(a,b){var c,d;return he(function(e){if(1==e.nextAddress)return c=lGc(new kGc,b.map(function(g){return g.getTaskId()})),e.yield(sGc(a.workItemsApi,c,a.headers),2);d=e.yieldResult;return e.return(aj(d,lU,1))})};nU.\u0275fac=function(a){return new (a||nU)};
nU.\u0275prov=qc({token:nU,factory:nU.\u0275fac,providedIn:"root"});var oU=function(){var a=this;this.workspacesApi=Ac(tGc);this.workspaceIds$=(0,E.defer)(function(){return xGc(a)}).pipe(Pe());this.headers=Wo(Ac(SFc));this.workItemFetcher=Ac(nU);this.iterationFetcher=Ac(mU)},zGc=function(a,b){return(0,E.defer)(function(){return yGc(a,b)})},yGc=function(a,b){var c,d,e,g,h,l,q,x;return he(function(A){if(1==A.nextAddress)return A.yield(Promise.all([(0,E.firstValueFrom)(a.workItemFetcher.getWorkItem(b)),(0,E.firstValueFrom)(a.workspaceIds$)]),2);if(3!=A.nextAddress){c=
A.yieldResult;d=k(c);e=d.next().value;g=d.next().value;h=e;l=g;if(!h)return A.return(void 0);q=aj(h,jU,12).filter(function(B){return l.includes(B.getWorkspaceId())});return A.yield(Promise.all(q.map(function(B){return a.iterationFetcher.getIteration(B.getIterationId())})),3)}x=A.yieldResult;return A.return(x.some(NVa)?"Current iteration":void 0)})},xGc=function(a){var b,c;return he(function(d){if(1==d.nextAddress)return b=Xsc(),d.yield(a.workspacesApi.list(b,a.headers),2);c=d.yieldResult;return d.return(aj(c,
Nn,1).map(function(e){return e.getWorkspaceId()}))})};oU.\u0275fac=function(a){return new (a||oU)};oU.\u0275prov=qc({token:oU,factory:oU.\u0275fac,providedIn:"root"});var pU={},qU={},rU={},sU={},tU={},uU={},SVa=(uU[1]=(pU[1]=4419,pU[2]=19482,pU[3]=65108,pU[4]=78715,pU[5]=80067,pU[6]=15012,pU),uU[2]=(qU[1]=9078,qU[2]=63700,qU[3]=86383,qU[4]=148526,qU[5]=161988,qU[6]=80049,qU),uU[3]=(rU[1]=37536,rU[2]=89931,rU[3]=179965,rU[4]=274704,rU[5]=351444,rU[6]=237983,rU),uU[4]=(sU[1]=72484,sU[2]=191314,sU[3]=342430,sU[4]=444537,sU[5]=528272,sU[6]=417086,sU),uU[5]=(tU[1]=56493,tU[2]=167140,tU[3]=327933,tU[4]=425290,tU[5]=490491,tU[6]=436116,tU),uU);var AGc=function(a){r.call(this,a)};U(AGc,r);AGc.prototype.toObject=function(){if(null!=this){t(this);var a={changelistId:gj(this,1)}}else a=void 0;return a};var BGc=function(a){r.call(this,a)};U(BGc,r);f=BGc.prototype;f.getName=function(){return V(this,1)};f.setName=function(a){return mj(this,1,a)};f.getId=function(){return V(this,2)};f.setId=function(a){return mj(this,2,a)};f.toObject=function(){return CGc(this)};var CGc=function(a){if(null!=a)return t(a),{name:V(a,1),id:V(a,2),rolloutTime:yt(Z(a,Ch,3))}};var DGc=function(a){r.call(this,a)};U(DGc,r);DGc.prototype.toObject=function(){return EGc(this)};var EGc=function(a){if(null!=a)return t(a),{candidate:CGc(Z(a,BGc,1)),containsCl:Jj(a,2),artifactCorpus:V(a,3)}};var vU=function(a){r.call(this,a)};U(vU,r);vU.prototype.getName=function(){return V(this,2)};vU.prototype.setName=function(a){return mj(this,2,a)};vU.repeatedFields_=[5];vU.prototype.toObject=function(){return FGc(this)};var FGc=function(a){if(null!=a)return t(a),{name:V(a,2),candidateRolloutInfosList:Kb(aj(a,DGc,5),EGc)}};var GGc=function(a){r.call(this,a)};U(GGc,r);GGc.prototype.getPackageName=function(){return V(this,2)};GGc.repeatedFields_=[3];GGc.prototype.toObject=function(){return HGc(this)};var HGc=function(a){if(null!=a)return t(a),{packageGroup:V(a,1),packageName:V(a,2),androidTracksList:Kb(aj(a,vU,3),FGc)}};var IGc=function(a){r.call(this,a)};U(IGc,r);IGc.prototype.getName=function(){return V(this,1)};IGc.prototype.setName=function(a){return mj(this,1,a)};IGc.prototype.toObject=function(){return JGc(this)};var JGc=function(a){if(null!=a)return t(a),{name:V(a,1),cellStatus:W(a,2,0)}};var KGc=function(a){r.call(this,a)};U(KGc,r);f=KGc.prototype;f.getStartTime=function(){return Z(this,Ch,1)};f.setStartTime=function(a){Yi(this,Ch,1,a)};f.getEndTime=function(){return Z(this,Ch,2)};f.setEndTime=function(a){Yi(this,Ch,2,a)};f.toObject=function(){return LGc(this)};var LGc=function(a){if(null!=a)return t(a),{startTime:yt(a.getStartTime()),endTime:yt(a.getEndTime())}};var MGc=function(a){r.call(this,a)};U(MGc,r);f=MGc.prototype;f.getConfidence=function(){return hj(this,2)};f.getStatus=function(){return Z(this,mC,3)};f.setStatus=function(a){return Yi(this,mC,3,a)};f.hasStatus=function(){return Dj(this,mC,3)};f.toObject=function(){return NGc(this)};var NGc=function(a){if(null!=a)return t(a),{confidenceInterval:LGc(Z(a,KGc,1)),confidence:p(Gs(a,2)),status:r7b(a.getStatus())}};var wU=function(a){r.call(this,a)};U(wU,r);wU.prototype.getName=function(){return V(this,1)};wU.prototype.setName=function(a){return mj(this,1,a)};wU.prototype.getUser=function(){return V(this,7)};wU.prototype.setUser=function(a){mj(this,7,a)};wU.repeatedFields_=[6,8];wU.prototype.toObject=function(){return OGc(this)};
var OGc=function(a){if(null!=a)return t(a),{name:V(a,1),user:V(a,7),changelistDeploymentStatus:W(a,2,0),clFirstReachedTimestamp:yt(Z(a,Ch,3)),rapidCandidate:V(a,4),isFinalStage:Jj(a,5),cellDeploymentInfosList:Kb(aj(a,IGc,6),JGc),currentRapidCandidatesList:Kb(aj(a,BGc,8),CGc),clDeploymentHistoryMessage:V(a,9),releasePrediction:NGc(Z(a,MGc,10))}};var xU=function(a){r.call(this,a)};U(xU,r);xU.prototype.getName=function(){return V(this,1)};xU.prototype.setName=function(a){return mj(this,1,a)};xU.repeatedFields_=[2,5];xU.prototype.toObject=function(){return PGc(this)};var PGc=function(a){if(null!=a)return t(a),{name:V(a,1),environmentsList:Kb(aj(a,wU,2),OGc),missingRapidProjectDataReason:W(a,3,0),androidReleaseInfosList:Kb(aj(a,GGc,5),HGc)}};var QGc=function(a){r.call(this,a)};U(QGc,r);var RGc=Rb(QGc);QGc.repeatedFields_=[2];QGc.prototype.toObject=function(){if(null!=this){t(this);var a={submissionDeadlinePrediction:NGc(Z(this,MGc,1)),projectReleasePredictionsList:Kb(aj(this,xU,2),PGc)}}else a=void 0;return a};var SGc=new kC("/google.corp.devtools.developergraph.v1.ContextService/GetChangelistReleaseSchedulePrediction",AGc,QGc,function(a){return a.serialize()},RGc);var UGc=function(){var a=Ac(TGc).endpoint;this.client_=new BC({format:"jspb"});this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};UGc.prototype.getChangelistReleaseSchedulePrediction=function(a,b){return CC(this.client_,this.hostname_+"/$rpc/google.corp.devtools.developergraph.v1.ContextService/GetChangelistReleaseSchedulePrediction",a,b||{},SGc)};var TGc=new Rc("Deployments config",{factory:function(){switch(Ac(TFc)){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"}}}}),VGc=
new Rc("Context Service Promise Client",{factory:function(){return new UGc}}),yU=function(){this.headers=Wo(Ac(TGc).apiKey);this.client=Ac(VGc)},XGc=function(a,b){var c;return he(function(d){if(1==d.nextAddress)return d.yield(WGc(a,b),2);c=d.yieldResult;return d.return(c?HVa("Scheduled release in",c,12):void 0)})},WGc=function(a,b){var c,d,e,g,h;return he(function(l){if(1==l.nextAddress){var q=new AGc;c=Cb(q,1,b);return l.yield(a.client.getChangelistReleaseSchedulePrediction(c,a.headers),2)}d=l.yieldResult;
return l.return(null==(e=Z(d,MGc,1))?void 0:null==(g=Z(e,KGc,1))?void 0:null==(h=g.getStartTime())?void 0:h.toDate())})};yU.\u0275fac=function(a){return new (a||yU)};yU.\u0275prov=qc({token:yU,factory:yU.\u0275fac,providedIn:"root"});var iWa=new Map;var zU=function(){var a=this;this.keyValueStore=new AA;this.initiallyHiddenTaskIds=YGc(this);this.hideEvent$=new E.Subject;this.hiddenTaskIdList$=this.hideEvent$.pipe(xWa(this.initiallyHiddenTaskIds),Ue(function(b){a.keyValueStore.setValue("task_prioritization.hidden_task_ids",b)}),Pe({bufferSize:1,refCount:!1}));this.showHiddenMyWorkTasks$=new E.BehaviorSubject(!1);this.showHiddenNeedsMyInputTasks$=new E.BehaviorSubject(!1)};zU.prototype.hideTask=function(a){this.hideEvent$.next({id:a.id,type:"hidden"})};
zU.prototype.unhideTask=function(a){this.hideEvent$.next({id:a.id,type:"unhidden"})};var $Gc=function(a){return(0,E.pipe)(Se(function(b){return(0,E.combineLatest)(b.map(function(c){return ZGc(a,c)}))}),D(function(b){return b.filter(Xo)}))};zU.prototype.isHidden=function(a){return this.hiddenTaskIdList$.pipe(D(function(b){return b.includes(a)}))};
var ZGc=function(a,b){return(0,E.combineLatest)([b.isHidden$,b.isMyWork?a.showHiddenMyWorkTasks$:a.showHiddenNeedsMyInputTasks$]).pipe(D(function(c){c=k(c);var d=c.next().value;return c.next().value||!d?b:void 0}))},YGc=function(a){var b;return null!=(b=wWa(a.keyValueStore.getValue("task_prioritization.hidden_task_ids")))?b:[]};zU.\u0275fac=function(a){return new (a||zU)};zU.\u0275prov=qc({token:zU,factory:zU.\u0275fac,providedIn:"root"});var aHc=new Rc("G3C API Keys");var bHc=function(a){r.call(this,a)};U(bHc,r);bHc.repeatedFields_=[1];bHc.prototype.toObject=function(){if(null!=this){t(this);var a={taskSourcesList:p(Tk(this,1)),maxTaskAgeDays:Gh(this,2)}}else a=void 0;return a};var cHc=function(a){r.call(this,a)};U(cHc,r);var dHc=[1,2,3];cHc.prototype.toObject=function(){return eHc(this)};var eHc=function(a){if(null!=a)return t(a),{issueSignal:p(at(a,1,dHc)),clSignal:p(at(a,2,dHc)),driveSignal:p(at(a,3,dHc)),suggestedAction:V(a,4)}};var fHc=function(a){r.call(this,a)};U(fHc,r);f=fHc.prototype;f.getValueCase=function(){return Ci(this,gHc)};f.getResourceId=function(){return V(this,1)};f.setResourceId=function(a){mj(this,1,a)};f.getTimestamp=function(){return Z(this,Ch,3)};f.setTimestamp=function(a){return Yi(this,Ch,3,a)};f.hasTimestamp=function(){return Dj(this,Ch,3)};f.getUrl=function(){return Sj(this,oPb,4,gHc)};f.setUrl=function(a){return ho(this,4,gHc,a)};f.hasUrl=function(){return Qj(this,oPb,4,gHc)};
f.getDuration=function(){return Sj(this,Eh,5,gHc)};var gHc=[4,5];fHc.prototype.toObject=function(){return hHc(this)};var hHc=function(a){if(null!=a)return t(a),{resourceId:V(a,1),spec:eHc(Z(a,cHc,2)),timestamp:yt(a.getTimestamp()),url:pPb(a.getUrl()),duration:$t(a.getDuration())}};var AU=function(a){r.call(this,a)};U(AU,r);AU.prototype.getTasksList=function(){return aj(this,bC,1)};var iHc=Rb(AU);AU.repeatedFields_=[1,2];AU.prototype.toObject=function(){if(null!=this){t(this);var a={tasksList:Kb(this.getTasksList(),r6b),prioritySignalsList:Kb(aj(this,fHc,2),hHc)}}else a=void 0;return a};var jHc=new kC("/google.internal.devopsconsole.v1.TaskPrioritizationService/StreamGetPriorityTasks",bHc,AU,function(a){return a.serialize()},iHc);var lHc=function(){var a=Ac(kHc).endpoint;this.client_=new BC({format:"jspb"});this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};var kHc=new Rc("Deployments config",{factory:function(){switch(Ac(TFc)){case "Prod":return{endpoint:"https://devopsconsole-pa-googleapis.corp.google.com",apiKey:Ac(aHc).prodApiKey};case "Staging":return{endpoint:"https://stagingcorp-devopsconsole-pa-googleapis.corp.google.com",apiKey:Ac(aHc).stagingApiKey};default:return{endpoint:"https://autopushcorp-devopsconsole-pa-googleapis.corp.google.com",apiKey:Ac(aHc).autopushApiKey}}}}),mHc=new Rc("Task Prioritization Promise Client",{factory:function(){return new lHc}}),
BU=function(){this.client=Ac(mHc);this.headers=Wo(Ac(kHc).apiKey)};BU.\u0275fac=function(a){return new (a||BU)};BU.\u0275prov=qc({token:BU,factory:BU.\u0275fac,providedIn:"root"});var CU=function(a,b,c,d,e){var g=this;this.availability=a;this.submissionDeadline=b;this.iterations=c;this.hiddenTasks=d;this.taskFetcher=e;this.showAllMyWorkTasks$=new E.BehaviorSubject(!1);this.showAllNeedsMyInputTasks$=new E.BehaviorSubject(!1);this.tasks$=(0,E.defer)(function(){var h=g.taskFetcher,l=h.client;var q=new bHc;q=al(q,1,[3,2,1,4]);h=l.client_.serverStreaming(l.hostname_+"/$rpc/google.internal.devopsconsole.v1.TaskPrioritizationService/StreamGetPriorityTasks",q,h.headers||{},jHc);return LVa(h)}).pipe(se(function(h){return nHc(g,
h)}),Pe());this.allTasks$=this.tasks$.pipe(zWa());this.filteredTasks$=this.tasks$.pipe(oHc(this),zWa());this.readdedTasks$=(0,E.zip)(this.allTasks$,this.filteredTasks$).pipe(pHc(this))},qHc=function(a){return a.readdedTasks$.pipe($Gc(a.hiddenTasks))},rHc=function(a){return a.areAllTasksLoaded().pipe(Ve(qHc(a)),D(function(b){b=k(b);b.next();return b.next().value.filter(function(c){return!c.isMyWork}).length}))};CU.prototype.areAllTasksLoaded=function(){return this.tasks$.pipe(fja(void 0,[]),Ke(!0))};
var nHc=function(a,b){b=b.getTasksList().filter(function(e){return e.getResource()});var c=b.map(BWa),d=RFc(a.availability,c).pipe(Pe());return(0,E.forkJoin)(b.map(function(e,g){var h=e.getResource(),l=V(h,1),q=e.getTaskId();return(0,E.forkJoin)([d.pipe(D(function(x){return x.get(c[g])})),(0,E.defer)(function(){return sHc(a,q,l)}),yWa(e),tHc(a,e),(0,E.of)(TVa(e))]).pipe(D(function(x){return x.filter(Xo)})).pipe(D(function(x){var A=h.getTitle(),B=h.getExternalLink(),K=[],N=K.concat;x=Vc(x);var P=(P=
cp(e.getResource()))?[3===P.getStatus()&&{type:"Accepted",text:"Accepted"},1===P.getPriority()&&{type:"P0",text:"P0"},QVa(P)&&{type:"Out of SLO",text:"Out of SLO"},RVa(P)&&{type:"Near SLO",text:"Near SLO"}].filter(Xo):[];P=Vc(P);var Y=(Y=Yo(e.getResource()))?[3===Y.getStatus()&&{type:"Unresolved",text:"Unresolved"},1===Y.getStatus()&&{type:"LGTM",text:"LGTM"},Y.getDescription().includes("ROLLBACK_OF=")&&{type:"Rollback",text:"Rollback"}].filter(Xo):[];Y=Vc(Y);var X=(X=dp(e.getResource()))?[Jj(X,25)&&
{type:"Docwrap Incoming",text:"Incoming review"},Jj(X,26)&&{type:"Docwrap Outgoing",text:"Outgoing review"}].filter(Xo):[];return{id:q,title:A,resourceUrl:B,signals:N.call(K,x,P,Y,Vc(X)),source:l,isHidden$:a.hiddenTasks.isHidden(q),isMyWork:AWa(e),resource:h,timestamp:h.getLastModifiedTimestamp()}}))}))},tHc=function(a,b){return zGc(a.iterations,b).pipe(D(function(c){return c?{type:"Current Iteration",text:c}:void 0}))},sHc=function(a,b,c){var d,e;return he(function(g){if(1==g.nextAddress){if("Critique"!==
c)return g.return(void 0);d=Number(b.slice(3));return g.yield(XGc(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)})},pHc=function(a){return(0,E.pipe)(Se(function(b){b=k(b);var c=b.next().value,d=b.next().value;return(0,E.combineLatest)([a.showAllMyWorkTasks$,a.showAllNeedsMyInputTasks$]).pipe(D(function(e){var g=k(e);e=g.next().value;g=g.next().value;var h=c.filter(function(q){return!d.includes(q)}),
l=k(OVa(h,function(q){return q.isMyWork}));h=l.next().value;l=l.next().value;e=e?h:[];g=g?l:[];return[].concat(Vc(d),Vc(e),Vc(g))}))}))},oHc=function(a){return(0,E.pipe)(D(function(b){var c=k(OVa(b,function(d){return a.hiddenTasks.initiallyHiddenTaskIds.includes(d.id)}));b=c.next().value;c=c.next().value;return[].concat(Vc(vWa(c)),Vc(b))}))};CU.\u0275fac=function(a){return new (a||CU)(u(iU),u(yU),u(oU),u(zU),u(BU))};CU.\u0275prov=qc({token:CU,factory:CU.\u0275fac,providedIn:"root"});var DU=function(a,b,c,d,e,g){WD.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 Ky(!0,[]);this.needsAttentionApi.listIssues(void 0,void 0,DVa()).then(function(l){l=k(l.issuesWithSignals);
for(var q=l.next();!q.done;q=l.next()){q=q.value;var x=void 0,A=void 0,B=(null!=(A=null==(x=q.issue)?void 0:x.majorModifiedTimeMicros)?A:0)/1E3,K=A=x=void 0,N=void 0;h.allAlerts=h.allAlerts.concat({type:"Buganizer",description:null!=(K=null==(x=q.issue)?void 0:null==(A=x.snapshot[0])?void 0:A.title)?K:"",signal:null!=(N=q.signals[0].signalType)?N:"SIGNAL_TYPE_UNKNOWN",timestamp:B,fullObject:q})}uHc(h)});this.areAllTasksLoaded$.pipe(Ve(qHc(this.tasksService)),Te(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 x=void 0,A=void 0,B=void 0,K=null!=(B=null==(x=q.signals[0])?void 0:null==(A=x.type)?void 0:A.toString())?B:"";x=void 0;A=Number(null!=(x=q.timestamp)?x:0);h.allAlerts.push({type:q.source,description:q.title,signal:K,timestamp:A,fullObject:q})}uHc(h)})};U(DU,WD);DU.\u0275dir=WD.\u0275dir;DU.prototype.isCollapsed=function(){return this.hackyPrefs.prefs.collapsed["mvp-needs-attention"]};
DU.prototype.toggleCollapsed=function(){this.hackyPrefs.toggleCollapsed("mvp-needs-attention")};
var DWa=function(a){return a.selection.selected.length===a.allAlerts.length},uHc=function(a){a.allAlerts.sort(function(b,c){return c.timestamp-b.timestamp})},HWa=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=Ms(a.fullObject.resource,XB,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"}},UWa=function(a){if("Buganizer"===a.type){var b;return null==(b=QFc.get(a.signal))?void 0:b.text}return"Critique"===a.type&&""===a.signal?"In attention set":"Ariane"===a.type&&""===a.signal?(a=Ms(a.fullObject.resource,RB,9),a.getOwnedByMe()?"Launch owner":Jj(a,8)?"Launch bit approver":"Launch collaborator"):"Drive"===a.type&&""===a.signal?
(a=a.fullObject,b=Ms(a.resource,XB,5),b.getOwnedByMe()?vHc(a)+" owner":b.getSharedToMe()?vHc(a)+" shared with me":vHc(a)+" collaborator"):a.signal},vHc=function(a){var b;switch(null==(b=Ms(a.resource,XB,5))?void 0:b.getMimeType()){case "document":return"Docs";case "spreadsheet":return"Sheets";case "presentation":return"Slides";default:return"File"}},XWa=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=Ms(c.resource,WB,8),b.getNeedsAttention()&&b.getReviewerEmailsList().includes(a.currentUserEmail)?"Review CL":"View CL";if("Ariane"===b.type)return Jj(Ms(c.resource,RB,9),8)?"Review launch":"Open Launch";if("Drive"===b.type)return"View "+vHc(c)}return"Review"},TWa=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(Jj(Ms(a.fullObject.resource,RB,9),8))return"less-urgent"}else if("Drive"===a.type&&Jj(Ms(a.fullObject.resource,XB,5),25))return"less-urgent"}return""},MWa=function(a){var b;return null==(b=a.fullObject.issue)?void 0:b.snapshot[0].priority},bXa=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=Vl(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?Hn(a.domSafe,c):Rr(a.router,c)}else a.domSafe.openInNewTab(c.fullObject.resource.getExternalLink())};DU.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};
DU.\u0275fac=function(a){return new (a||DU)(C(RH),C(hU),C(CU),C(QH),C(SJ),C(nG))};
DU.\u0275cmp=Gc({type:DU,selectors:[["mvp-needs-attention"]],features:[bf],decls:18,vars:9,consts:[[1,"carded","bg-main","margin-top"],[1,"flex-kids-x","margin-s-bottom"],[1,"header-left"],[1,"heading-s","line-clamp-3"],["mat-icon-button","","aria-label","Toggle expansion state",1,"gmat-button","small","collapse-btn",3,"click"],["svgIcon","arrow-up",1,"icon-s"],["class","alert-count-badge b-chip",4,"ngIf"],[1,"margin-left-auto","flex-kids-x","align-items-center","card-controls"],["mat-icon-button",
"","aria-label","More options","aria-haspopup","true",1,"gmat-button","card-overflow",3,"matMenuTriggerFor"],["svgIcon","more-settings-vertical",1,"icon-m"],["menu","matMenu"],[1,"muted"],["class","main-content",4,"ngIf"],[1,"alert-count-badge","b-chip"],[1,"alert-count"],[1,"main-content"],[1,"flex-kids-x","gap-s","align-items-center"],["mat-button","","matTooltip","Select source applications","aria-label","Select source applications","aria-haspopup","true",1,"gmat-button","medium","source-filter",
3,"matMenuTriggerFor"],[1,"google-material-icons"],[1,"mvp-my-tasks-menu"],["sourceMenu","matMenu"],[1,"mvp-source-select",3,"click"],["color","primary","checked","true"],["checked","true"],["aria-label","Table filters","multiple",""],["appearance","hairline-filter","selected",""],["mat-table","","aria-label","Table of alerts",1,"full-width",3,"dataSource","trackBy"],["matColumnDef","selection"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","type"],["matColumnDef",
"description"],["matColumnDef","timestamp"],["matColumnDef","signal"],["matColumnDef","action"],["matColumnDef","dismiss"],["mat-header-cell","","class","border-bottom",4,"matHeaderCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","class","clickable",3,"click","mouseup",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["aria-label","Select all alerts",3,"checked","indeterminate","change"],["mat-cell",""],["aria-label","Select alert",3,"checked","click","change"],[3,"class",
4,"ngIf","ngIfElse"],["launchIcon",""],["alt","product icon",1,"product-icon","center-text",3,"src"],[1,"alert-description"],[3,"issuePriority","class",4,"ngIf"],[3,"issuePriority"],[1,"google-material-icons","sort-column-icon"],["mode","datetime",3,"timestamp",4,"ngIf"],["mode","datetime",3,"timestamp"],["mat-button","",1,"gmat-button","primary","action-button"],["mat-header-cell","",1,"border-bottom"],[1,"google-material-icons","dismiss-icon"],["mat-header-row",""],["mat-row","",1,"clickable",3,
"click","mouseup"]],template:function(a,b){a&1&&(G(0,"div",0)(1,"header",1)(2,"div",2)(3,"span",3),R(4," Needs attention "),G(5,"button",4),M("click",function(){return b.toggleCollapsed()}),I(6,"mat-icon",5),H(),Q(7,CWa,3,1,"div",6),S(8,"async"),H()(),G(9,"div",7)(10,"button",8),I(11,"mat-icon",9),H(),G(12,"mat-menu",null,10)(14,"p",11),R(15,"WIP"),H()()()(),Q(16,dXa,44,5,"div",12),S(17,"async"),H());if(a&2){var c=Cf(13);qf("collapsed",b.isCollapsed());z(7);F("ngIf",T(8,5,b.areAllTasksLoaded$)&&0<
b.allAlerts.length);z(3);F("matMenuTriggerFor",c);z(6);F("ngIf",T(17,7,b.areAllTasksLoaded$))}},dependencies:[ew,uA,Jz,Kz,DB,CB,fL,YK,bL,ZK,XK,cL,$K,aL,dL,eL,vN,ST,XT,WT,bK,WH,kw],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 mXa=function(a){return{count:a}},FU=function(a,b,c,d,e,g){var h=this;this.activeSession=a;this.hackyPrefs=b;this.issuePermissionService=c;this.issueRelationshipsFridge=d;this.projectSuggestService=e;this.issueFridge=g;this.SECTION_SLUG="my-projects-tree-table";this.isNonPublicSession=this.activeSession.isNonPublicSession();this.canEdit$=this.issuePermissionService.hasAclToEdit$;this.projectIds$=this.issueRelationshipsFridge.watch(this.hackyPrefs.prefs.id).pipe(D(function(l){var q;return null!=
(q=null==l?void 0:l.relatedChildren.map(function(x){return x.targetIssueId}))?q:[]}));this.unarchivedProjectsCount$=this.projectIds$.pipe(D(function(l){return l.length}));this.rowCreated$=new E.Subject;this.showSuggestedProjects=!1;this.suggestLimit=4;this.suggestedProjects$=(0,E.combineLatest)([Vgc(this.projectSuggestService),dgc(this.issueRelationshipsFridge,this.hackyPrefs.prefs.id,2)]).pipe(D(function(l){l=k(l);var q=l.next().value,x=l.next().value.results.map(function(A){return A.issueId});return q.filter(function(A){return!x.includes(A)})}),
Se(this.issueFridge.watchSet));this.modifyMenuItems=function(l,q){if(l.ancestorChain.parentNodeId===h.hackyPrefs.prefs.id){if(l=q.find(function(x){return"Unlink from parent"===x.label}))l.label="Remove project";if(l=q.find(function(x){return"Archive"===x.label}))l.label="Archive project";if(l=q.find(function(x){return"Create sibling"===x.label}))l.label="Create project"}return q}};FU.prototype.addChild=function(){this.rowCreated$.next();var a;null==(a=this.table)||a.addExistingChild()};
FU.prototype.createChild=function(){this.rowCreated$.next();var a;null==(a=this.table)||a.createChildIssue()};var hXa=function(a,b){a.hackyPrefs.prefs.projectFilters=b;a.hackyPrefs.save(a.hackyPrefs.prefs)};FU.prototype.addProject=function(a){this.hackyPrefs.prefs.id&&this.issueRelationshipsFridge.assignParentToOneIssue(this.hackyPrefs.prefs.id,a)};FU.\u0275fac=function(a){return new (a||FU)(C(gs),C(RH),C($I),C(sH),C(VH),C(lH))};
FU.\u0275cmp=Gc({type:FU,selectors:[["my-projects"]],viewQuery:function(a,b){a&1&&Uf(XO,5);if(a&2){var c;Tf(c=Wf())&&(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&&(G(0,"div",0)(1,"h2",1)(2,"div",2),I(3,"mat-icon",3),H(),R(4," My projects "),H(),Q(5,eXa,1,0,"ng-container",4),H(),Q(6,oXa,8,15,"section",5),Q(7,vXa,7,4,"div",6),Q(8,xXa,7,8,"ng-template",null,7,Zf));if(a&2){var c=
Cf(9);qf("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]);z(5);F("ngTemplateOutlet",c);z(1);F("ngIf",b.hackyPrefs.prefs.id);z(1);F("ngIf",b.showSuggestedProjects)}},dependencies:[dw,ew,jw,PO,uA,LB,XO,XJ,sL,kw],styles:['[_nghost-%COMP%]{display:block}[_nghost-%COMP%]     h4 button{margin:-8px 0}[_nghost-%COMP%]     h4 button.gmat-button.mat-stroked-button.small{line-height:21px}.table-header[_ngcontent-%COMP%]{margin-top:0;margin-bottom:4px}.status[_ngcontent-%COMP%]   b-spinner[_ngcontent-%COMP%]{margin-top:4px}.status[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin-top:-1px}b-button.add[_ngcontent-%COMP%]{margin-left:16px}h4[_ngcontent-%COMP%]:hover{text-decoration:underline;cursor:pointer}.table-header.collapsed[_ngcontent-%COMP%]{text-decoration:underline}.table-header.collapsed[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{margin:0}.table-header.collapsed[_ngcontent-%COMP%]   b-button[_ngcontent-%COMP%], .table-header.collapsed[_ngcontent-%COMP%]   .b-chip[_ngcontent-%COMP%]{display:none}.table-header.collapsed[_ngcontent-%COMP%]:after{content:"";margin-left:4px;display:inline-block;border:5px solid rgba(0,0,0,0);border-top:5px solid var(--gfx-muted);border-bottom:0 none}section.collapsed[_ngcontent-%COMP%]{display:none}.suggested[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:8px}/*# sourceMappingURL=my_projects.css.map */']});var wHc=function(){return[]},xHc=Jn.EXPERIMENTAL_HOMEPAGE,GU=function(a,b,c,d,e,g){WD.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=tcc[1];this.SPACE_EMPTY_STATE=amc;this.log=console.log.bind(console);this.extractHotlistId=Fl;this.inferEntityType=Il;this.extractSavedSearchId=Tva;this.suggestedHotlists$=this.hotlistSuggest.suggestedHotlists$;this.addProject=
function(l){null!=l&&sn(h.hackyPrefs,l)};a=this.hackyPrefs.getPinned().length;this.analytics.trackEvent(xHc,"display","selected-projects-"+a,a)};U(GU,WD);GU.\u0275dir=WD.\u0275dir;
GU.prototype.ngOnInit=function(){var a=this;1===this.hackyPrefs.getPinned().length&&this.suggestedHotlists$.pipe(Ge()).subscribe(function(b){var c=a.hackyPrefs.getPinned();if("hotlist"===Il(c[0])){var d=Fl(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))}})};GU.prototype.onClickAdd=function(){this.projectPicker.open().then(this.addProject)};
GU.prototype.onClickAddHotlist=function(){var a=this,b,c,d,e,g,h,l;return he(function(q){if(1==q.nextAddress)return q.yield(dEc(a.hotlistPicker,[]),2);b=q.yieldResult;e=null!=(d=null==(c=b)?void 0:c.added)?d:[];g=k(e.map(Gl));for(h=g.next();!h.done;h=g.next())l=h.value,sn(a.hackyPrefs,l);me(q)})};GU.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())sn(a.hackyPrefs,Hl(c.value))}})};
hh.Object.defineProperties(GU.prototype,{prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});GU.\u0275fac=function(a){return new (a||GU)(C(RH),C($R),C(gH),C(VS),C(BT),C(KH))};
GU.\u0275cmp=Gc({type:GU,selectors:[["my-projects-as-cards"]],features:[bf],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&&(G(0,"h2"),R(1," My projects "),G(2,"button",0),M("click",function(){return b.onClickAdd()}),I(3,"mat-icon",1),H()(),G(4,"section",
2),Q(5,LXa,9,7,"ng-container",3),Q(6,MXa,11,1,"ng-container",4),Q(7,NXa,6,0,"ng-container",4),H(),Q(8,OXa,8,0,"aside",5));if(a&2){var c;z(5);F("ngForOf",b.prefs.pinned||If(4,wHc));z(1);F("ngIf",0===(b.prefs.pinned||If(5,wHc)).length);z(1);F("ngIf",0===(b.prefs.pinned||If(6,wHc)).length);z(1);F("ngIf",0<(null!==(c=b.prefs.pinned)&&void 0!==c?c:If(7,wHc)).length)}},dependencies:[dw,ew,fw,gw,hw,uA,Jz,Kz,WR,uS,uL,CS,yS,vL,YR],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 yHc=function(){return[]},zHc=Jn.EXPERIMENTAL_HOMEPAGE,HU=function(a,b,c,d,e,g,h,l){WD.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=tcc[1];this.SPACE_EMPTY_STATE=amc;this.log=console.log.bind(console);this.extractHotlistId=Fl;this.inferEntityType=Il;this.extractSavedSearchId=Tva;this.extractIssueId=
Uva;this.addProject=function(x){null!=x&&sn(q.hackyPrefs,x)};a=this.hackyPrefs.getPinned().length;this.analytics.trackEvent(zHc,"display","selected-projects-"+a,a)};U(HU,WD);HU.\u0275dir=WD.\u0275dir;
var ZXa=function(a,b){function c(x,A){var B,K,N,P;return null==x?void 0:null==(B=x.memory)?void 0:null==(K=B.cache)?void 0:null==(N=K.get)?void 0:null==(P=N.call(K,A))?void 0:P.data}switch(Il(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=Uva(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=Fl(b);var l;return null==(l=c(a.hotlistFridge,b))?void 0:l.name;case "savedsearch":b=Tva(b);var q;return null==(q=c(a.savedSearchFridge,b))?void 0:q.name;default:console.warn("unknown reference type",b)}};f=HU.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 he(function(q){if(1==q.nextAddress)return q.yield(dEc(a.hotlistPicker,[]),2);b=q.yieldResult;e=null!=(d=null==(c=b)?void 0:c.added)?d:[];g=k(e.map(Gl));for(h=g.next();!h.done;h=g.next())l=h.value,sn(a.hackyPrefs,l);me(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())sn(a.hackyPrefs,Hl(c.value))}})};
hh.Object.defineProperties(HU.prototype,{prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});HU.\u0275fac=function(a){return new (a||HU)(C(RH),C($R),C(gH),C(VS),C(BT),C(lH),C(SG),C(uH))};
HU.\u0275cmp=Gc({type:HU,selectors:[["my-projects-as-tabs"]],features:[bf],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&&(G(0,"div",0)(1,"header",1)(2,"div",2)(3,"span",3),R(4," My projects "),G(5,"button",4),M("click",function(){return b.toggleCollapsed()}),I(6,"mat-icon",5),H()()(),G(7,"div",6)(8,"button",7),M("click",function(){return b.onClickAdd()}),I(9,"mat-icon",8),H(),G(10,"button",9),I(11,"mat-icon",
10),H(),G(12,"mat-menu",null,11)(14,"p",12),R(15,"WIP"),H()()()(),G(16,"mat-tab-group",13),M("selectedIndexChange",function(d){return ep(b.hackyPrefs,{chosenTabForWork:d})}),Q(17,$Xa,10,8,"ng-container",14),H()(),Q(18,bYa,2,1,"ng-container",15));if(a&2){var c=Cf(13);qf("collapsed",b.isCollapsed());z(10);F("matMenuTriggerFor",c);z(6);F("selectedIndex",b.prefs.chosenTabForWork);z(1);F("ngForOf",b.prefs.pinned||If(6,yHc));z(1);F("ngIf",b.prefs.pinned)}},dependencies:[dw,ew,fw,gw,hw,uA,Jz,nM,mM,WR,uL,
CS,yS,sM,DB,CB],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 IU=function(a,b){this.hackyPrefs=a;this.queryIssues=b;this.DEFAULT_COLUMNS=xcc;this.assignedIssues$=vgc(this.queryIssues);this.assignedIds$=this.assignedIssues$.pipe(D(function(c){return c.map(function(d){return d.issueId})}))};IU.prototype.isCollapsed=function(){return this.hackyPrefs.prefs.collapsed.MY_TASKS_AREA};IU.prototype.toggleCollapsed=function(){this.hackyPrefs.toggleCollapsed("MY_TASKS_AREA")};hh.Object.defineProperties(IU.prototype,{prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});
IU.\u0275fac=function(a){return new (a||IU)(C(RH),C(JH))};
IU.\u0275cmp=Gc({type:IU,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&&(G(0,"div",0)(1,"header",1)(2,"div",2)(3,"span",3),R(4," My tasks "),G(5,"button",
4),M("click",function(){return b.toggleCollapsed()}),I(6,"mat-icon",5),H()()(),G(7,"div",6)(8,"button",7),I(9,"mat-icon",8),H(),G(10,"mat-menu",null,9)(12,"p",10),R(13,"WIP"),H()()()(),G(14,"mat-tab-group",11)(15,"mat-tab",12),Q(16,cYa,2,3,"ng-container",13),S(17,"slice"),S(18,"async"),Q(19,dYa,1,0,"ng-template",null,14,Zf),H(),G(21,"mat-tab",15),R(22,"WIP. bar"),H(),G(23,"mat-tab",16),R(24,"WIP. baz"),H()(),G(25,"footer",17)(26,"a",18),R(27,"View all"),H()()());if(a&2){var c=Cf(11),d=Cf(20);qf("collapsed",
b.isCollapsed());z(8);F("matMenuTriggerFor",c);z(8);F("ngIf",Nf(17,5,T(18,9,b.assignedIds$),0,15))("ngIfElse",d)}},dependencies:[ew,uA,gL,Jz,nM,mM,sL,DB,CB,sM,kw,rw],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 AHc="NEAR_SLO MENTIONED UNBLOCKED NEEDS_REPORTER_INPUT REPLIED_TO_MENTION NEWLY_BLOCKING ASSIGNED".split(" "),JU=function(a,b,c,d,e){WD.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(V8b).filter(function(g){return"SIGNAL_TYPE_UNKNOWN"!==g&&"ASSIGNED"!==g&&"REPLIED_TO_MENTION"!==g&&"NEWLY_BLOCKING"!==g});this.selectedSignals=[].concat(Vc(this.ALL_SIGNAL_TYPES));a={};this.signalCounts=(a.NEAR_SLO=0,a.MENTIONED=0,a.UNBLOCKED=0,a.NEEDS_REPORTER_INPUT=0,a.ASSIGNED=0,a.REPLIED_TO_MENTION=0,a.NEWLY_BLOCKING=0,a.SIGNAL_TYPE_UNKNOWN=0,a)};U(JU,WD);JU.\u0275dir=WD.\u0275dir;
JU.prototype.ngOnInit=function(){var a=this;BHc(this);this.destroyed$.pipe(Ge()).subscribe(function(){var b;null==(b=a.snackbarRef)||b.dismiss()})};
var BHc=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,AHc).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()})},
CHc=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})};
JU.prototype.dismissIssue=function(a){var b=this;this.dismissInProgress[a]=!0;PFc(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&&
DHc(b,a)})})};var DHc=function(a,b){PFc(a.needsAttentionApi,[b],!1).then(function(){a.needsAttentionIssues.splice(a.lastDismissedIssueIndex,0,a.lastDismissedIssue);a.cdr.detectChanges();a.snackbar.open({message:"Issue un-dismissed"})})};JU.prototype.selectAllSignals=function(){this.selectedSignals=[].concat(Vc(this.ALL_SIGNAL_TYPES))};JU.prototype.toggleSignal=function(a){var b=this.selectedSignals.indexOf(a);-1===b?this.selectedSignals.push(a):this.selectedSignals.splice(b,1)};
var iYa=function(a,b){return(a.issueToSignalsMap.get(b)||[]).find(function(c){return a.selectedSignals.includes(c.signalType)})||null};
JU.prototype.getSignalTypeTooltip=function(a){a=iYa(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 eYa=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""}};JU.\u0275fac=function(a){return new (a||JU)(C(hU),C(BF),C(RH),C(aK),C(cH,2))};
JU.\u0275cmp=Gc({type:JU,selectors:[["needs-attention-widget"]],features:[Gf([cH]),bf],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&&(G(0,"h2"),R(1," Needs attention "),G(2,"span",0),R(3),H()(),G(4,"section",1)(5,"span",2),M("click",function(){return b.selectAllSignals()}),R(6," All "),H(),Q(7,gYa,2,1,"ng-container",3),H(),G(8,"section",4),Q(9,jYa,2,1,"ng-container",3),H());a&2&&(qf("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]),z(3),Df("(",b.needsAttentionIssues.length,")"),z(1),qf("collapsed",
b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]),z(1),qf("selected",b.selectedSignals.length===b.ALL_SIGNAL_TYPES.length),z(2),F("ngForOf",b.ALL_SIGNAL_TYPES),z(1),qf("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]),z(1),F("ngForOf",CHc(b)))},dependencies:[XJ,dw,ew,uA,LB],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 KU=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:""}]])};
KU.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"}};KU.\u0275fac=function(a){return new (a||KU)(C(aK))};
KU.\u0275cmp=Gc({type:KU,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&&Q(0,kYa,2,5,"span",0);a&2&&F("ngIf",b.SIGNAL_MAPPING.get(b.signal.signalType))},dependencies:[ew,uA,LB],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 LU=function(a,b,c,d,e,g,h){JU.call(this,a,b,c,d,h);this.needsAttentionApi=a;this.snackbar=b;this.hackyPrefs=c;this.dateFormatter=d;this.domSafe=e;this.router=g;this.cdr=h;this.SECTION_SLUG="needs-attention-table";this.columnsToDisplay=["alert","title","priority","action"];this.customColumns=["alert","action"]};U(LU,JU);LU.\u0275dir=JU.\u0275dir;LU.prototype.getIssueIdsToDisplay=function(){return CHc(this).map(function(a){return a.issueId})};
LU.prototype.navigateToIssue=function(a,b,c){"mouseup"===a.type&&a instanceof MouseEvent&&1!==a.button||"A"===a.target.tagName||(b=Vl(c.issueId),a.ctrlKey||a.metaKey||a instanceof MouseEvent&&1===a.button?this.domSafe.openInNewTab(b):a&&a.shiftKey?Hn(this.domSafe,b):Rr(this.router,b))};LU.\u0275fac=function(a){return new (a||LU)(C(hU),C(BF),C(RH),C(aK),C(SJ),C(nG),C(cH,2))};
LU.\u0275cmp=Gc({type:LU,selectors:[["needs-attention-table"]],features:[Gf([cH]),bf],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&&(G(0,"div",0)(1,"h2"),
R(2," Needs attention "),G(3,"span",1),R(4),H()()(),G(5,"div",2),Q(6,pYa,3,7,"flat-issues-table",3),Q(7,qYa,2,0,"ng-template",null,4,Zf),H());if(a&2){var c=Cf(8);z(1);qf("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]);z(3);Df("(",b.needsAttentionIssues.length,")");z(2);F("ngIf",0<b.getIssueIdsToDisplay().length)("ngIfElse",c)}},dependencies:[ew,Jz,gL,hL,KU],styles:["h2[_ngcontent-%COMP%] {\n      min-height: 40px; \n\n      line-height: 40px;\n    }"],changeDetection:0});var EHc=function(){return[]},FHc=function(a,b,c){this.hackyPrefs=a;this.issueFridge=b;this.refreshMonitor=c;this.SECTION_SLUG="pinned-issues";this.pinnedIssues$=this.hackyPrefs.prefs$.pipe(D(function(d){var e;return null!=(e=null==d?void 0:d.pinned)?e:[]}),Se(this.issueFridge.watchSet))};FHc.\u0275fac=function(a){return new (a||FHc)(C(RH),C(lH),C(jH))};
FHc.\u0275cmp=Gc({type:FHc,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&&(G(0,"h4"),R(1," Pinned "),G(2,"span",0),R(3),S(4,"async"),H()(),G(5,"section",1),Q(6,rYa,2,1,"ng-container",2),S(7,"async"),Q(8,sYa,2,0,"ng-container",3),S(9,"async"),H());if(a&2){var c,d;qf("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]);z(3);
Df(" (",(null!==(c=T(4,7,b.pinnedIssues$))&&void 0!==c?c:If(13,EHc)).length,")");z(2);qf("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]);z(1);F("ngForOf",T(7,9,b.pinnedIssues$));z(2);F("ngIf",0===(null==(d=T(9,11,b.pinnedIssues$))?null:d.length))}},dependencies:[XJ,dw,ew,kw],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 GHc=tfc("edited-ids"),HHc=rfc("edited-ids"),IHc=tfc("viewed-ids"),JHc=rfc("viewed-ids"),MU=function(a){var b=this;this.appEvents=a;this.stop$=new E.Subject;this.edited=new Map;this.viewed=new Map;this.addViewed=function(c){tYa(b.viewed,c);IHc(Array.from(b.viewed.keys()).join(","))};this.addEdited=function(c){tYa(b.edited,c);GHc(Array.from(b.edited.keys()).join(","))}};MU.\u0275fac=function(a){return new (a||MU)(u(KF))};MU.\u0275prov=qc({token:MU,factory:MU.\u0275fac,providedIn:"root"});var xYa=function(){return[]},NU=function(a,b,c,d,e,g){WD.call(this);this.activeSession=a;this.issueFridge=b;this.issueLru=c;this.hackyPrefs=d;this.matDialogService=e;this.refreshMonitor=g;this.SECTION_SLUG="recently-viewed-i-own";this.recentIds=[];this.columnsToDisplay="pin id title priority type status menu".split(" ");this.customColumns=["pin"];this.isRecentIssues=!0;this.currentUserEmailAddress=this.activeSession.getUserEmail();this.pinnedIssues$=this.hackyPrefs.prefs$.pipe(D(function(h){var l;
return null!=(l=null==h?void 0:h.pinned)?l:[]}),Se(this.issueFridge.watchSet))};U(NU,WD);NU.\u0275dir=WD.\u0275dir;
NU.prototype.getIssueIdsToDisplay=function(){var a=this,b=0,c=this.hackyPrefs.getPinned().length;b=0===c?20:3>c?10:5;this.recentIds=Array.from(this.issueLru.viewed.keys());c=Jl();5>this.recentIds.length||c&&c!==Kl?(c||(c=Kl),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(Te(this.destroyed$),
D(function(d){return d.results}),D(function(d){return d.filter(function(e){return KHc(a,e)}).map(function(e){return e.issueId})}))):this.issueIdsToDisplay$=this.issueFridge.watchSet(this.recentIds).pipe(Ge(),Te(this.destroyed$),D(function(d){return d.filter(function(e){return KHc(a,e)}).map(function(e){return e.issueId}).reverse().slice(0,b)}))};NU.prototype.ngOnInit=function(){var a=this;this.getIssueIdsToDisplay();this.refreshMonitor.getObservable().pipe(Te(this.destroyed$)).subscribe(function(){a.getIssueIdsToDisplay()})};
var KHc=function(a,b){var c=b.snapshot[0],d,e=null!=(d=a.hackyPrefs.prefs.id)?d:"";if(BYa(a,b.issueId))return!1;if(Iva(b.ancestors).includes(e))return!0;if(!yl(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},LHc=function(a){Rz(a.matDialogService.open(DDc,{data:{currentColumns:a.columnsToDisplay},width:"500px"})).subscribe(function(b){a.columnsToDisplay=
[].concat(Vc(b))})},BYa=function(a,b){return a.hackyPrefs.getPinned().includes(b)};hh.Object.defineProperties(NU.prototype,{prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});NU.\u0275fac=function(a){return new (a||NU)(C(gs),C(lH),C(MU),C(RH),C(Wz),C(jH))};
NU.\u0275cmp=Gc({type:NU,selectors:[["recently-viewed-i-own"]],features:[bf],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&&(G(0,"section",0),Q(1,yYa,6,7,"ng-container",
1),G(2,"div",2)(3,"h4",3),R(4," Recent issues "),H(),G(5,"button",4),M("click",function(){return LHc(b)}),G(6,"mat-icon",5),R(7,"view_column"),H()()(),G(8,"flat-issues-table",6),S(9,"async"),Q(10,CYa,3,2,"span",7),H()());a&2&&(z(1),F("ngIf",!(null==b.prefs.sectionW?0:b.prefs.sectionW.includes("pinned-issues"))&&!(null==b.prefs.sectionA?0:b.prefs.sectionA.includes("pinned-issues"))),z(2),qf("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]),z(5),qf("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]),
F("issueIds",T(9,9,b.issueIdsToDisplay$))("displayedColumns",b.columnsToDisplay)("customColumns",b.customColumns),z(2),F("forViewCell","pin"))},dependencies:[dw,ew,uA,gL,hL,Jz,XJ,kw],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 OU=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$};OU.prototype.ngOnInit=function(){};OU.\u0275fac=function(a){return new (a||OU)(C(TH),C(RH))};
OU.\u0275cmp=Gc({type:OU,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&&(G(0,"div",0)(1,"h2",1),M("click",function(){return b.hackyPrefs.toggleCollapsed(b.SECTION_SLUG)}),R(2," Suggested Issues "),H()(),G(3,"div",2),Q(4,DYa,2,4,"ng-container",3),S(5,"async"),H(),Q(6,EYa,1,0,"ng-template",
null,4,Zf));if(a&2){var c=Cf(7);z(1);qf("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]);z(3);F("ngIf",T(5,4,b.issueIdsToDisplay$))("ngIfElse",c)}},dependencies:[ew,gL,sL,kw],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 PU=function(a){this.teamsService=a;this.onTeamLoaded=new E.ReplaySubject(1);this.teamName$=new E.BehaviorSubject("");this.isTeamLoaded=!1};PU.prototype.ngOnChanges=function(a){var b=this;a.teamId&&null!==this.teamId&&(0===this.teamId?(this.isTeamLoaded=!0,this.onTeamLoaded.next(this.isTeamLoaded)):AH(this.teamsService,String(this.teamId)).pipe(Ge(),D(function(c){return c.name})).subscribe(function(c){b.teamName$.next(c);b.isTeamLoaded=!0;b.onTeamLoaded.next(b.isTeamLoaded)}))};
PU.\u0275fac=function(a){return new (a||PU)(C(zH))};
PU.\u0275cmp=Gc({type:PU,selectors:[["b-team-chip"]],inputs:{componentId:"componentId",teamId:"teamId"},outputs:{onTeamLoaded:"onTeamLoaded"},features:[Zc],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&&(G(0,"b-async-data-placeholder",0),Q(1,FYa,4,4,"div",1),
S(2,"async"),H(),G(3,"onedev-hovercard",null,2),J(5),I(6,"b-team-card",3),L(),H());if(a&2){var c;F("isReady",b.isTeamLoaded);z(1);F("ngIf",T(2,4,b.teamName$));z(5);F("componentId",null==b.componentId?null:b.componentId.toString())("teamId",null!==(c=null==b.teamId?null:b.teamId.toString())&&void 0!==c?c:"0")}},dependencies:[ew,uA,cK,qJ,vJ,hK,kw],styles:["[_nghost-%COMP%]{min-height:22px}mat-icon[_ngcontent-%COMP%]{margin-right:4px;vertical-align:middle}"],changeDetection:0});var QU=function(a,b){WD.call(this);this.teamActivity=a;this.hackyPrefs=b;this.toIssuePriority=nl;this.teamInfoHidden=!0};U(QU,WD);QU.\u0275dir=WD.\u0275dir;f=QU.prototype;f.ngOnInit=function(){var a=this;this.teamActivity.interestingEventsForTeamActivity$.pipe(Te(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 ei(a.userPerformingActionUser)};f.clAuthorToUser=function(a){return{emailAddress:El(a)+"@google.com"}};f.clAuthorToEmailAddress=function(a){return El(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(Vc(a.preDiffs),Vc(a.postDiffs)).find(function(d){return d.name===b}))?void 0:c.oldValue};
f.getNewDiffValue=function(a,b){var c;return null==(c=[].concat(Vc(a.preDiffs),Vc(a.postDiffs)).find(function(d){return d.name===b}))?void 0:c.newValue};f.getIssueDetailsUrl=function(a){return"http://b/issues/"+a};hh.Object.defineProperties(QU.prototype,{prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});QU.\u0275fac=function(a){return new (a||QU)(C(SH),C(RH))};
QU.\u0275cmp=Gc({type:QU,selectors:[["team-activity-stream"]],features:[bf],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&&(G(0,"h2"),R(1," Team activity "),G(2,"button",0),M("click",function(){return b.teamInfoHidden=
!b.teamInfoHidden}),I(3,"mat-icon",1),H(),G(4,"aside")(5,"p",2),R(6,"Our use of the Teams API returns a "),G(7,"a",3),R(8,"large set"),H(),R(9," of suggested teams via "),G(10,"code"),R(11,"collapsed_parent_chain"),H(),R(12,"."),H(),Q(13,GYa,1,1,"b-team-chip",4),G(14,"a",5),R(15,"edit"),H()()(),Q(16,NYa,2,1,"div",6));a&2&&(qf("teamInfoHidden",b.teamInfoHidden),z(13),F("ngForOf",b.prefs.teamIds),z(1),zf("href","/issues/",b.prefs.id,"",Md),z(2),F("ngIf",b.teamActivityEvents))},dependencies:[dw,ew,fw,
gw,hw,uA,WJ,nL,mL,kL,bK,WH,Jz,PU],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 RYa=function(a){return{$implicit:a}},RU=function(a,b){this.issueFridge=a;this.hackyPrefs=b;this.STATUS_TERSE=EE;this.encodeURIComponent=encodeURIComponent;this.teamInfoHidden=!0;this.highPriorityFilter="("+cZa(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="("+cZa(this.prefs.teamIds)+") -priority:(p0 | p1) modified:7d status:open";
this.feedback$=this.issueFridge.watchMany({filter:this.feedbackFilter,sort:"created_time:desc",pageSize:10})};hh.Object.defineProperties(RU.prototype,{prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});RU.\u0275fac=function(a){return new (a||RU)(C(lH),C(RH))};
RU.\u0275cmp=Gc({type:RU,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&&(G(0,"h2"),R(1," My team "),G(2,"button",0),M("click",function(){return b.teamInfoHidden=!b.teamInfoHidden}),I(3,"mat-icon",1),H(),G(4,"aside")(5,"p",2),R(6,"Our use of the Teams API returns a "),G(7,"a",3),R(8,
"large set"),H(),R(9," of suggested teams via "),G(10,"code"),R(11,"collapsed_parent_chain"),H(),R(12,"."),H(),Q(13,OYa,1,1,"b-team-chip",4),G(14,"a",5),R(15,"edit"),H()()(),G(16,"section",6)(17,"div")(18,"header")(19,"h4",7),M("click",function(){b.hackyPrefs.toggleCollapsed("team-high-priority")}),R(20," High Priority "),H(),G(21,"a",8),R(22),S(23,"number"),S(24,"async"),H()(),Q(25,TYa,3,1,"div",9),S(26,"async"),H(),G(27,"div")(28,"header")(29,"h4",10),M("click",function(){b.hackyPrefs.toggleCollapsed("team-recent")}),
R(30," Recent Feedback "),H(),G(31,"a",8),R(32),S(33,"number"),S(34,"async"),H()(),Q(35,XYa,3,1,"div",9),S(36,"async"),H()(),Q(37,bZa,16,11,"ng-template",null,11,Zf));if(a&2){var c,d;qf("teamInfoHidden",b.teamInfoHidden);z(13);F("ngForOf",b.prefs.teamIds);z(1);zf("href","/issues/",b.prefs.id,"",Md);z(3);qf("collapsed",b.prefs.collapsed["team-high-priority"]);z(4);zf("href","/issues?q=",b.encodeURIComponent(b.highPriorityFilter),"",Md);z(1);Df("(",T(23,14,null==(c=T(24,16,b.highPriority$))?null:c.totalSize),
")");z(3);F("ngIf",T(26,18,b.highPriority$));z(2);qf("collapsed",b.prefs.collapsed["team-recent"]);z(4);zf("href","/issues?q=",b.encodeURIComponent(b.feedbackFilter),"",Md);z(1);Df("(",T(33,20,null==(d=T(34,22,b.feedback$))?null:d.totalSize),")");z(3);F("ngIf",T(36,24,b.feedback$))}},dependencies:[dw,ew,jw,uA,qJ,rJ,vJ,sJ,pO,Jz,PU,kw,qw],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 MHc=function(){return[]},SU=function(a,b){WD.call(this);this.hackyPrefs=a;this.issueFridge=b;this.SECTION_SLUG="working-on-this-week";this.weekIssues$=(0,E.of)([]);Mgc(a);this.weekIssues$=this.hackyPrefs.prefs$.pipe(Te(this.destroyed$),D(function(c){var d,e;return null!=(e=null==c?void 0:null==(d=c.issuesThisWeek)?void 0:d.issues)?e:[]}),Se(this.issueFridge.watchSet))};U(SU,WD);SU.\u0275dir=WD.\u0275dir;SU.\u0275fac=function(a){return new (a||SU)(C(RH),C(lH))};
SU.\u0275cmp=Gc({type:SU,selectors:[["working-on-this-week"]],features:[bf],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&&(G(0,"h4",0)(1,"span",1),M("click",function(){return b.hackyPrefs.toggleCollapsed(b.SECTION_SLUG)}),R(2,"Working on this week "),G(3,"span",2),R(4),S(5,"async"),H()()(),G(6,"section",3),Q(7,dZa,2,2,"ng-container",
4),S(8,"async"),H());if(a&2){var c;qf("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]);z(4);Df(" (",(null!==(c=T(5,6,b.weekIssues$))&&void 0!==c?c:If(10,MHc)).length,")");z(2);qf("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]);z(1);F("ngForOf",T(8,8,b.weekIssues$))}},dependencies:[XJ,dw,kw],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 TU=function(a,b,c){WD.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(Te(this.destroyed$)).subscribe(function(h){var l;d.trackerName=null!=(l=null==h?void 0:h.name)?l:""}))};U(TU,WD);TU.\u0275dir=WD.\u0275dir;
TU.prototype.setTitle=function(a){var b=this.trackerName?this.trackerName:this.activeSession.getAppName();this.$window.document.title=a?a+" - "+b:b};TU.\u0275fac=function(a){return new (a||TU)(u(VD),u(gs),u(lK))};TU.\u0275prov=qc({token:TU,factory:TU.\u0275fac,providedIn:"root"});var NHc=function(){};NHc.\u0275fac=function(a){return new (a||NHc)};NHc.\u0275cmp=Gc({type:NHc,selectors:[["one-work-area"]],inputs:{issueTree:"issueTree"},decls:1,vars:1,consts:[[3,"issueId","neverCollapse",4,"ngIf"],[3,"issueId","neverCollapse"]],template:function(a,b){a&1&&Q(0,eZa,1,2,"issue-as-project-card",0);a&2&&F("ngIf",b.issueTree)},dependencies:[ew,WR],encapsulation:2});var OHc=function(){return[]},UU=function(a){this.prefsService=a;this.SECTION_SLUG="work-areas-wrapper-card"};UU.prototype.isCollapsed=function(){return this.prefsService.prefs.collapsed["work-areas-wrapper-card"]};UU.prototype.toggleCollapsed=function(){this.prefsService.toggleCollapsed("work-areas-wrapper-card")};hh.Object.defineProperties(UU.prototype,{prefs:{configurable:!0,enumerable:!0,get:function(){return this.prefsService.prefs}}});UU.\u0275fac=function(a){return new (a||UU)(C(RH))};
UU.\u0275cmp=Gc({type:UU,selectors:[["work-areas-wrapper-card"]],decls:10,vars:5,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,"main-content"],["gmat-tabs","",1,"no-cards-inside","main-content","margin-top",3,"selectedIndex","selectedIndexChange"],[4,"ngFor","ngForOf"],[3,"label"],[3,"issueTree"]],template:function(a,
b){a&1&&(G(0,"div",0)(1,"header",1)(2,"div",2)(3,"span",3),R(4," Work areas "),G(5,"button",4),M("click",function(){return b.toggleCollapsed()}),I(6,"mat-icon",5),H()()()(),G(7,"div",6)(8,"mat-tab-group",7),M("selectedIndexChange",function(c){return ep(b.prefsService,{chosenTabForWork:c})}),Q(9,fZa,3,2,"ng-container",8),H()()());a&2&&(qf("collapsed",b.isCollapsed()),z(8),F("selectedIndex",b.prefs.chosenTabForWork),z(1),F("ngForOf",b.prefs.pinned||If(4,OHc)))},dependencies:[dw,uA,nM,mM,Jz,NHc],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%]     .no-cards-inside .carded{border:none;padding-left:0}.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)}"]});var PHc=new Rc("Analytics");var VU=function(a){this.clientStreamzService=a;this.analytics=Ac(PHc,{optional:!0})};VU.prototype.logTaskOpenedMetric=function(a){QHc(this,"task_opened",a);var b;null==(b=this.analytics)||b.logTaskOpened()};VU.prototype.logUsageMetric=function(a,b){this.clientStreamzService.logUsageMetric("task_prioritization."+a,b)};
var QHc=function(a,b,c){var d=V(c.resource,1).toLowerCase();a.logUsageMetric(b,!0);a.logUsageMetric(b+"_"+d,!0);c=k(c.signals);for(var e=c.next();!e.done;e=c.next()){e=e.value.type;var g={};e=(g["Future Availability"]="future_availability",g["Current Availability"]="current_availability",g["Submission Deadline"]="submission_deadline",g.Blocking="blocking",g["Current Iteration"]="current_iteration",g["Slow CL"]="slow_cl",g["Near SLO"]="near_slo",g["Out of SLO"]="out_of_slo",g.Accepted="accepted",g.P0=
"p0",g.Rollback="rollback",g.LGTM="lgtm",g.Unresolved="unresolved",g["Docwrap Outgoing"]="docwrap_outgoing",g["Docwrap Incoming"]="docwrap_incoming",g)[e];a.logUsageMetric(b+"_"+d+"_"+e,!0)}};VU.\u0275fac=function(a){return new (a||VU)(u(sB))};VU.\u0275prov=qc({token:VU,factory:VU.\u0275fac,providedIn:"root"});var RHc=new Rc("GMAT_BUTTON_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var WU=function(a,b){this.elementRef=a;this.options=b};WU.prototype.ngOnInit=function(){this.elementRef.nativeElement.querySelector(".mat-icon, .material-icons")&&this.elementRef.nativeElement.classList.add("gmat-mdc-button-with-prefix")};WU.\u0275fac=function(a){return new (a||WU)(C(vd),C(RHc))};
WU.\u0275dir=Kc({type:WU,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&&qf("gmat-mdc-button",!b.options.disableGmatStyle)}});var XU=function(){};XU.\u0275fac=function(a){return new (a||XU)};XU.\u0275mod=Ic({type:XU});XU.\u0275inj=rc({providers:[{provide:q8b,useValue:{color:"primary"}}],imports:[HC]});var SHc=new Rc("GMAT_TOOLTIP_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var THc=function(a,b){a.disableGmatStyle||b.gmatPanelClasses.push("gmat-mdc-tooltip")};THc.\u0275fac=function(a){return new (a||THc)(C(SHc),C($y))};THc.\u0275dir=Kc({type:THc,selectors:[["","matTooltip",""]],features:[Gf([{provide:$y,useClass:YT}])]});var YU=function(){};YU.\u0275fac=function(a){return new (a||YU)};YU.\u0275mod=Ic({type:YU});YU.\u0275inj=rc({imports:[JB]});var lZa=function(){return[]},mZa=function(){return["zero-state"]},ZU=function(a,b){this.hiddenTasks=a;this.metrics=b;this.tasks=[];this.areTasksHidden=this.showZeroState=!1;this.showHiddenTasks=new Gv;this.displayedColumns=["title","signals","actions"]};ZU.prototype.hideTask=function(a){this.hiddenTasks.hideTask(a);this.metrics.logUsageMetric("task_hidden",!0)};ZU.prototype.unhideTask=function(a){this.hiddenTasks.unhideTask(a);this.metrics.logUsageMetric("task_hidden",!1)};
ZU.prototype.logTaskOpenedMetric=function(a){this.metrics.logTaskOpenedMetric(a)};ZU.\u0275fac=function(a){return new (a||ZU)(C(zU),C(VU))};
ZU.\u0275cmp=Gc({type:ZU,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&&
(Q(0,nZa,6,6,"mat-table",0),Q(1,zZa,12,3,"ng-template",null,1,Zf));if(a&2){var c=Cf(2);F("ngIf",b.showZeroState)("ngIfElse",c)}},dependencies:function(){return[dw,ew,WU,uz,$T,kN,cN,gN,dN,bN,hN,eN,fN,iN,jN,THc,HB,uA,kw,$U]},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 $U=function(){};$U.prototype.transform=function(a){var b={};return(b.Ariane="launch",b.Buganizer="buganizer",b.Critique="critique",b.Drive="docs",b)[a.source]};$U.\u0275fac=function(a){return new (a||$U)};$U.\u0275pipe=Lc({name:"taskIcon",type:$U,pure:!0});var aV=function(){};aV.\u0275fac=function(a){return new (a||aV)};aV.\u0275mod=Ic({type:aV});aV.\u0275inj=rc({imports:[sw,XU,aU,YU,MB]});var UHc=new ZJ(3);var VHc=new Rc("GMAT_PROGRESS_SPINNER_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var bV=function(a,b){var c=this;this.options=a;this.progressSpinner=b;this.destroyed=new E.Subject;this.labelElement=document.createElement("label");this.labelElement.classList.add("cdk-visually-hidden");this.labelElement.classList.add("gmat-mdc-progress-spinner-accessible-label");AZa(b._elementRef.nativeElement).pipe(Te(this.destroyed)).subscribe(function(d){WHc(c,d[0],d[1])})};
bV.prototype.ngOnInit=function(){this.progressSpinner._elementRef.nativeElement.insertAdjacentElement("afterend",this.labelElement);var a=this.progressSpinner._elementRef.nativeElement.getAttribute("aria-label");WHc(this,null!=a?a:"","indeterminate"===this.progressSpinner.mode?"indeterminate":this.progressSpinner.value.toString())};bV.prototype.ngOnDestroy=function(){this.labelElement.remove();this.destroyed.next();this.destroyed.complete()};
var WHc=function(a,b,c){b="indeterminate"===c?b:b+" "+UHc.format(Number(c)/100);a.labelElement.textContent=b};bV.\u0275fac=function(a){return new (a||bV)(C(VHc),C(pL,10))};bV.\u0275dir=Kc({type:bV,selectors:[["mat-progress-spinner"],["mat-spinner"]],hostAttrs:["aria-hidden","true"],hostVars:3,hostBindings:function(a,b){a&2&&(gf("tabindex",null),qf("gmat-mdc-progress-spinner",!b.options.disableGmatStyle))}});var cV=function(){};cV.\u0275fac=function(a){return new (a||cV)};cV.\u0275mod=Ic({type:cV});cV.\u0275inj=rc({imports:[qL]});var XHc=js(["https://fonts.gstatic.com/s/i/productlogos/buganizer/v1/192px.svg"]),YHc=js(["https://fonts.gstatic.com/s/i/productlogos/critique/v1/192px.svg"]),ZHc=js(["https://fonts.gstatic.com/s/i/productlogos/docs_2020q4/v12/192px.svg"]),$Hc=js(["https://fonts.gstatic.com/s/i/productlogos/launch/v1/192px.svg"]),aIc=js(["https://fonts.gstatic.com/s/i/productlogos/taskflow/v1/192px.svg"]),bIc=js(["//googledata/icons/vf/material_next/svg/block/googlesymbols:default_48px.svg"]),cIc=js(["//googledata/icons/vf/material_next/svg/alternate_email/googlesymbols:default_48px.svg"]),
dIc=js(["//googledata/icons/vf/material_next/svg/schedule/googlesymbols:default_48px.svg"]),eIc=js(["//googledata/icons/vf/material_next/svg/unblock_flipped/googlesymbols:default_48px.svg"]),fIc=js(["https://fonts.gstatic.com/s/i/googlematerialicons/visibility/v16/24px.svg"]),gIc=js(["https://fonts.gstatic.com/s/i/googlematerialicons/visibility_off/v12/24px.svg"]),LZa=function(a,b){return{showHidden:a,viewAll:b}},hIc=function(a,b){return{areAllTasksLoaded:a,tasks:b}},dV=function(a,b,c,d){this.tasksService=
b;this.hiddenTasks=c;this.metrics=d;this.tasks$=qHc(this.tasksService).pipe(iIc(this));this.areAllTasksLoaded$=this.tasksService.areAllTasksLoaded();this.areTasksFiltered$=jIc(this);this.areTasksHidden$=this.areTasksHidden();this.destroyed$=new E.Subject;a.setDefaultFontSetClass("google-material-icons","mat-ligature-font");tA(a,"buganizer",Gg(XHc));tA(a,"critique",Gg(YHc));tA(a,"docs",Gg(ZHc));tA(a,"launch",Gg($Hc));tA(a,"taskflow",Gg(aIc));tA(a,"blocking",Gg(bIc));tA(a,"mention",Gg(cIc));tA(a,"time",
Gg(dIc));tA(a,"unblocked",Gg(eIc));tA(a,"hide_task",Gg(fIc));tA(a,"show_task",Gg(gIc))};dV.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);kIc(this)};
dV.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete()};dV.prototype.setShowHidden=function(a){this.showHidden$.next(a);this.metrics.logUsageMetric("toggle_show_hidden",a)};
var kIc=function(a){a.areAllTasksLoaded$.pipe(Ve(a.tasks$),Te(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())QHc(b,"task_shown",d.value)})};
dV.prototype.areTasksHidden=function(){var a=this.tasksService.readdedTasks$.pipe(iIc(this)),b=this.tasks$.pipe(Se(function(c){return(0,E.combineLatest)(c.map(function(d){return d.isHidden$}))}),D(function(c){return c.filter(function(d){return!d})}),Re([]));return(0,E.combineLatest)([a,b]).pipe(D(function(c){var d=k(c);c=d.next().value;d=d.next().value;return c.length!==d.length}))};
var jIc=function(a){var b=a.tasksService.allTasks$.pipe(iIc(a));a=a.tasksService.filteredTasks$.pipe(iIc(a));return(0,E.zip)(b,a).pipe(D(function(c){var d=k(c);c=d.next().value;d=d.next().value;return c.length!==d.length}))},iIc=function(a){return(0,E.pipe)(D(function(b){return b.filter(function(c){return a.isMyWork===c.isMyWork})}))};hh.Object.defineProperties(dV.prototype,{reccTasks:{configurable:!0,enumerable:!0,get:function(){return this.isMyWork}},needsInput:{configurable:!0,enumerable:!0,get:function(){return!this.isMyWork}}});
dV.\u0275fac=function(a){return new (a||dV)(C(sA),C(CU),C(zU),C(VU))};
dV.\u0275cmp=Gc({type:dV,selectors:[["tp-task-section"]],hostVars:2,hostBindings:function(a,b){a&2&&gf("data-recc-tasks",b.reccTasks)("data-needs-input",b.needsInput)},inputs:{isMyWork:"isMyWork"},standalone:!0,features:[Gf([sA]),Nka],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&&(xf(),G(0,"div",0)(1,"h2",1),Q(2,BZa,2,0,"ng-container",2),Q(3,CZa,2,0,"ng-container",2),H(),Q(4,DZa,1,1,"mat-progress-spinner",3),S(5,"async"),Q(6,MZa,4,8,"ng-template",null,4,Zf),H(),Q(8,OZa,2,1,"ng-container",2),S(9,"async"),
S(10,"async"));if(a&2){var c=Cf(7);z(2);F("ngIf",b.isMyWork);z(1);F("ngIf",!b.isMyWork);z(1);F("ngIf",!T(5,5,b.areAllTasksLoaded$))("ngIfElse",c);z(4);F("ngIf",Kf(11,hIc,T(9,7,b.areAllTasksLoaded$),T(10,9,b.tasks$)))}},dependencies:[sw,ew,kw,XU,WU,sz,cV,bV,pL,MB,aV,ZU],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 lIc=[[["","needsInputBadge",""]]],eV=function(a){this.route=a};eV.prototype.ngOnInit=function(){};eV.\u0275fac=function(a){return new (a||eV)(C(mm))};
eV.\u0275cmp=Gc({type:eV,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&&(xf(lIc),G(0,"div",0)(1,"div",1)(2,"div",2),I(3,"tp-task-section",3),G(4,"tp-task-section",3),yf(5),H()()()());a&2&&(z(3),F("isMyWork",!0),z(1),F("isMyWork",!1))},dependencies:[dV],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 mIc=["button"],nIc=new Rc("MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS"),oIc=new Rc("MatButtonToggleGroup"),pIc={provide:uw,useExisting:wc(function(){return fV}),multi:!0},qIc=0,rIc=function(a,b){this.source=a;this.value=b},fV=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-"+qIc++;this.valueChange=new Gv;this.change=new Gv;this.appearance=b&&b.appearance?
b.appearance:"legacy"};f=fV.prototype;f.ngOnInit=function(){this._selectionModel=new Ky(this.multiple,void 0,!1)};f.ngAfterContentInit=function(){this._selectionModel.select.apply(this._selectionModel,Vc(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 rIc(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()})};
hh.Object.defineProperties(fV.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=xg(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=xg(a);this._markButtonsForCheck()}},disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=xg(a);this._markButtonsForCheck()}}});
fV.\u0275fac=function(a){return new (a||fV)(C(Yv),C(nIc,8))};
fV.\u0275dir=Kc({type:fV,selectors:[["mat-button-toggle-group"]],contentQueries:function(a,b,c){a&1&&Vf(c,gV,5);if(a&2){var d;Tf(d=Wf())&&(b._buttonToggles=d)}},hostAttrs:["role","group",1,"mat-button-toggle-group"],hostVars:5,hostBindings:function(a,b){a&2&&(gf("aria-disabled",b.disabled),qf("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:[Gf([pIc,{provide:oIc,useExisting:fV}])]});var sIc=jh(function(){}),gV=function(a,b,c,d,e,g){var h=sIc.call(this)||this;h._changeDetectorRef=b;h._elementRef=c;h._focusMonitor=d;h._checked=!1;h.ariaLabelledby=null;h._disabled=!1;h.change=new Gv;e=Number(e);h.tabIndex=e||0===e?e:null;h.buttonToggleGroup=a;h.appearance=g&&g.appearance?g.appearance:"legacy";return h};U(gV,sIc);f=gV.prototype;
f.ngOnInit=function(){var a=this.buttonToggleGroup;this.id=this.id||"mat-button-toggle-"+qIc++;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 rIc(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};
hh.Object.defineProperties(gV.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=xg(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=xg(a)}}});gV.\u0275fac=function(a){return new (a||gV)(C(oIc,8),C(Yv),C(vd),C(ix),od("tabindex"),C(nIc,8))};
gV.\u0275cmp=Gc({type:gV,selectors:[["mat-button-toggle"]],viewQuery:function(a,b){a&1&&Uf(mIc,5);if(a&2){var c;Tf(c=Wf())&&(b._buttonElement=c.first)}},hostAttrs:["role","presentation",1,"mat-button-toggle"],hostVars:12,hostBindings:function(a,b){a&1&&M("focus",function(){return b.focus()});a&2&&(gf("aria-label",null)("aria-labelledby",null)("id",b.id)("name",null),qf("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:[bf],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&&(xf(),G(0,"button",0,1),M("click",function(){return b._onButtonClick()}),G(2,"span",2),yf(3),H()(),I(4,"span",3)(5,"span",4));if(a&2){var c=Cf(1);F("id",b.buttonId)("disabled",b.disabled||null);gf("tabindex",b.disabled?-1:b.tabIndex)("aria-pressed",b.checked)("name",b._getButtonName())("aria-label",b.ariaLabel)("aria-labelledby",
b.ariaLabelledby);z(5);F("matRippleTrigger",c)("matRippleDisabled",b.disableRipple||b.disabled)}},dependencies:[kz],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 y_a=function(){return{standalone:!0}},tIc=rfc("bhome-layout"),uIc=Jn.EXPERIMENTAL_HOMEPAGE,hV=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;tIc();this.announcement=ml().preload.announcement;this.VALID_WIDGETS_A=qcc;this.VALID_WIDGETS_W=scc;this.VALID_WIDGETS_T=rcc;this.log=console.log.bind(console);this.showSettings=!1;this.ldapOverride=Jl();this.taskPrioritizationTasksCount$=
(0,E.defer)(function(){return rHc(l.tasks)});this.onAnyClick=function(q){q=Wva(q);for(var x=k(Object.entries(vIc)),A=x.next();!A.done;A=x.next()){var B=k(A.value);A=B.next().value;B=B.next().value;if(q.includes(A)){l.analytics.trackEvent(uIc,"click",B);break}}}};
hV.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:Jl()===Kl;this.hostElement.nativeElement.addEventListener("click",this.onAnyClick,!0)};hV.prototype.ngOnDestroy=function(){this.hostElement.nativeElement.removeEventListener("click",this.onAnyClick,!0)};
var x_a=function(a){return he(function(b){if(1==b.nextAddress)return b.yield(Hgc(a.hackyPrefs),2);window.location.reload();me(b)})};hh.Object.defineProperties(hV.prototype,{prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});hV.\u0275fac=function(a){return new (a||hV)(C(RH),C(jH),C(TU),C(gH),C(vd),C(rP),C(CU))};
hV.\u0275cmp=Gc({type:hV,selectors:[["homepage-wrapper"]],decls:3,vars:3,consts:[["href","https://fonts.googleapis.com/css2?family=Google+Material+Icons:wght@400;500;700","rel","stylesheet"],["class","flex-kids-y pos-fill bg-off-main overflow overflow-on-print-media",3,"settings-open","show-hidden-settings",4,"ngIf"],[1,"flex-kids-y","pos-fill","bg-off-main","overflow","overflow-on-print-media"],[1,"grid-header","padded-left","padded-s-right","flex-kids-x","align-items-center","justify-flex-end"],
["class","announcement-banner carded",4,"ngIf","ngIfElse"],["noFeedbackMsg",""],[1,"hidden-settings",3,"submit"],["type","text","placeholder","Show Dashboard for user",2,"width","180px",3,"ngModel","ngModelOptions","ngModelChange"],["type","submit",1,"display-none"],["mat-icon-button","","matTooltip","Configure home page","aria-label","Configure home page",1,"gmat-button","large",3,"click"],["svgIcon","settings","size","large"],[1,"settings","bg-muted","border-bottom"],[1,"padded","margin-top"],[1,
"hidden-settings"],[1,"mat-elevation-z0",3,"change"],["aria-label","Alerts Above","matTooltip","Alerts Above","value","layout-a",3,"checked"],[1,"google-material-icons","rotate-icon"],["aria-label","Side-by-side","matTooltip","Side-by-side","value","layout-b",3,"checked"],["aria-label","Tab Layout","matTooltip","Tab Layout","value","layout-c",3,"checked"],["svgIcon","child-components-24px",1,"small"],[1,"mat-elevation-z0","bordered",3,"change"],["aria-label","true",1,"padded-s-x",3,"value","checked"],
["aria-label","false",1,"padded-s-x",3,"value","checked"],[3,"submit"],[1,"flex-kids-x","gap","margin-bottom"],[1,"flex-1"],[1,"row"],["type","text",3,"ngModel","ngModelOptions","ngModelChange"],[1,"muted","type-xs"],["type","button","mat-button","","color","primary","class","xs display-block",3,"click",4,"ngFor","ngForOf"],["type","submit","mat-flat-button","",1,"gmat-button"],[1,"subtle-link","muted","margin-x",3,"href"],["type","button","mat-button","","color","warn","title","This will reset all your dashboard settings to the default",
1,"gmat-button","margin-left",3,"click"],["mat-icon-button","","color","primary","title","Refresh","aria-label","Refresh","type","button",1,"gmat-button","large",3,"click"],["svgIcon","refresh","size","large"],["cdkDropListGroup",""],["class","a",4,"ngIf"],[1,"w"],["class","carded bg-main margin-s-bottom",4,"ngIf"],[4,"ngIf"],["class","margin-top",4,"ngIf"],["class","carded bg-main","style","margin-bottom: 24px;","cdkDropList","",3,"cdkDropListDropped",4,"ngIf"],["class","margin-top",3,"assignedOnly",
4,"ngIf"],["class","t",4,"ngIf"],[1,"announcement-banner","carded"],[3,"innerHtml"],["mat-flat-button","","matTooltip","Every voice counts; only ~1000 people can see the homepage.",1,"gmat-button","small","margin-s-left",3,"click"],["mat-stroked-button","","matTooltip","Every voice counts; only ~1000 people can see the homepage.",1,"gmat-button","medium","plain-announcement-btn","margin-s-right",3,"click"],["type","button","mat-button","","color","primary",1,"xs","display-block",3,"click"],[1,"a"],
[1,"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&&(I(0,"link",0),Q(1,z_a,82,50,"article",1),S(2,"async"));a&2&&(z(1),F("ngIf",T(2,1,b.hackyPrefs.prefs$)))},
dependencies:[NT,dw,ew,uA,AK,zK,Mw,og,Fw,Gw,Lw,Jw,fV,gV,Jz,LB,bU,dU,GU,HU,FU,JU,LU,FHc,NU,OU,eV,QU,RU,yS,SU,IU,DU,UU,kw],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 vIc={"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 iV=function(){};iV.\u0275fac=function(a){return new (a||iV)};iV.\u0275mod=Ic({type:iV});iV.\u0275inj=rc({imports:[sw,dz,dz]});var jV=function(){};jV.\u0275fac=function(a){return new (a||jV)};jV.\u0275mod=Ic({type:jV});jV.\u0275inj=rc({imports:[tF,$w,iC,FS,JC,iV,cz,sx,SM,py,hJ,mO]});var kV=function(){};kV.\u0275fac=function(a){return new (a||kV)};kV.\u0275mod=Ic({type:kV});kV.\u0275inj=rc({imports:[tF,VM,DM,QM]});var lV=function(a){r.call(this,a)};U(lV,r);var mV=function(a){r.call(this,a)};U(mV,r);mV.prototype.getKindCase=function(){return Ci(this,nV)};mV.prototype.getStringValue=function(){return Xs(this,3,nV)};mV.prototype.setStringValue=function(a){return $n(this,3,nV,a)};var oV=function(a){r.call(this,a)};U(oV,r);oV.prototype.getValuesList=function(){return aj(this,mV,1)};oV.prototype.setValuesList=function(a){dj(this,1,a)};oV.prototype.setValues=function(a,b){Fs(this,1,mV,a,b)};
lV.prototype.toObject=function(){return pV(this)};var pV=function(a){if(null!=a)return t(a),a=Vj(a,1,mV),{fieldsMap:Ob(a,wIc)}},nV=[1,2,3,4,5,6];mV.prototype.toObject=function(){return wIc(this)};var wIc=function(a){if(null!=a)return t(a),{nullValue:p(at(a,1,nV)),numberValue:p(oo(a,2,nV)),stringValue:p(po(a,3,nV)),boolValue:p(Ys(a,4,nV)),structValue:pV(Sj(a,lV,5,nV)),listValue:xIc(Sj(a,oV,6,nV))}};oV.repeatedFields_=[1];oV.prototype.toObject=function(){return xIc(this)};
var xIc=function(a){if(null!=a)return t(a),{valuesList:Kb(a.getValuesList(),wIc)}};var yIc=function(a){r.call(this,a)};U(yIc,r);f=yIc.prototype;f.getRequest=function(){return V(this,1)};f.hasRequest=function(){return wk(this,1)};f.getResponse=function(){return V(this,2)};f.setResponse=function(a){return n(this,2,a)};f.toObject=function(){return zIc(this)};var zIc=function(a){if(null!=a)return t(a),{request:p(m(a,1)),response:p(m(a,2))}};var qV=function(a){r.call(this,a)};U(qV,r);qV.prototype.getDescription=function(){return V(this,4)};qV.prototype.setDescription=function(a){return n(this,4,a)};qV.prototype.hasDescription=function(){return wk(this,4)};qV.prototype.toObject=function(){return AIc(this)};var AIc=function(a){if(null!=a)return t(a),{trackName:p(m(a,1)),artistName:p(m(a,2)),albumName:p(m(a,3)),description:p(m(a,4)),categoryName:p(m(a,5))}};var rV=function(a){r.call(this,a)};U(rV,r);rV.prototype.getUrl=function(){return V(this,4)};rV.prototype.setUrl=function(a){return n(this,4,a)};rV.prototype.hasUrl=function(){return wk(this,4)};rV.prototype.toObject=function(){return BIc(this)};var BIc=function(a){if(null!=a)return t(a),{trackName:p(m(a,1)),artistName:p(m(a,2)),albumName:p(m(a,3)),url:p(m(a,4)),genre:p(m(a,5))}};var CIc=function(a){r.call(this,a)};U(CIc,r);CIc.repeatedFields_=[1];CIc.prototype.toObject=function(){return DIc(this)};var DIc=function(a){if(null!=a)return t(a),{tracksList:Kb(aj(a,rV,1),BIc)}};var EIc=function(a){r.call(this,a)};U(EIc,r);f=EIc.prototype;f.getRequest=function(){return Z(this,qV,1)};f.hasRequest=function(){return Dj(this,qV,1)};f.getResponse=function(){return Z(this,CIc,2)};f.setResponse=function(a){return Yi(this,CIc,2,a)};f.toObject=function(){return FIc(this)};var FIc=function(a){if(null!=a)return t(a),{request:AIc(a.getRequest()),response:DIc(a.getResponse())}};var GIc=function(a){r.call(this,a)};U(GIc,r);GIc.prototype.toObject=function(){return HIc(this)};var HIc=function(a){if(null!=a)return t(a),{}};var sV=function(a){r.call(this,a)};U(sV,r);sV.prototype.getUrl=function(){return V(this,4)};sV.prototype.setUrl=function(a){return n(this,4,a)};sV.prototype.hasUrl=function(){return wk(this,4)};sV.prototype.toObject=function(){return IIc(this)};var IIc=function(a){if(null!=a)return t(a),{trackName:p(m(a,1)),artistName:p(m(a,2)),albumName:p(m(a,3)),url:p(m(a,4)),isRadio:p(m(a,5))}};var JIc=function(a){r.call(this,a)};U(JIc,r);JIc.prototype.toObject=function(){return KIc(this)};var KIc=function(a){if(null!=a)return t(a),{}};var LIc=function(a){r.call(this,a)};U(LIc,r);f=LIc.prototype;f.getRequest=function(){return Z(this,sV,1)};f.hasRequest=function(){return Dj(this,sV,1)};f.getResponse=function(){return Z(this,JIc,2)};f.setResponse=function(a){return Yi(this,JIc,2,a)};f.toObject=function(){return MIc(this)};var MIc=function(a){if(null!=a)return t(a),{request:IIc(a.getRequest()),response:KIc(a.getResponse())}};var NIc=function(a){r.call(this,a)};U(NIc,r);f=NIc.prototype;f.getTitle=function(){return V(this,1)};f.setTitle=function(a){return n(this,1,a)};f.getTime=function(){return V(this,2)};f.setTime=function(a){return n(this,2,a)};f.toObject=function(){return OIc(this)};var OIc=function(a){if(null!=a)return t(a),{title:p(m(a,1)),time:p(m(a,2))}};var PIc=function(a){r.call(this,a)};U(PIc,r);PIc.prototype.toObject=function(){return QIc(this)};var QIc=function(a){if(null!=a)return t(a),{}};var RIc=function(a){r.call(this,a)};U(RIc,r);f=RIc.prototype;f.getRequest=function(){return Z(this,NIc,1)};f.hasRequest=function(){return Dj(this,NIc,1)};f.getResponse=function(){return Z(this,PIc,2)};f.setResponse=function(a){return Yi(this,PIc,2,a)};f.toObject=function(){return SIc(this)};var SIc=function(a){if(null!=a)return t(a),{request:OIc(a.getRequest()),response:QIc(a.getResponse())}};var TIc=function(a){r.call(this,a)};U(TIc,r);TIc.prototype.toObject=function(){return UIc(this)};var UIc=function(a){if(null!=a)return t(a),{}};var VIc=function(a){r.call(this,a)};U(VIc,r);VIc.prototype.toObject=function(){return WIc(this)};var WIc=function(a){if(null!=a)return t(a),{}};var XIc=function(a){r.call(this,a)};U(XIc,r);f=XIc.prototype;f.getRequest=function(){return Z(this,TIc,1)};f.hasRequest=function(){return Dj(this,TIc,1)};f.getResponse=function(){return Z(this,VIc,2)};f.setResponse=function(a){return Yi(this,VIc,2,a)};f.toObject=function(){return YIc(this)};var YIc=function(a){if(null!=a)return t(a),{request:UIc(a.getRequest()),response:WIc(a.getResponse())}};var tV=function(a){r.call(this,a)};U(tV,r);tV.prototype.getNoAction=function(){return Sj(this,GIc,4,uV)};var uV=[1,2,3,4,5,6];tV.prototype.toObject=function(){return ZIc(this)};var ZIc=function(a){if(null!=a)return t(a),{findMusicTracks:FIc(Sj(a,EIc,1,uV)),play:MIc(Sj(a,LIc,2,uV)),stop:YIc(Sj(a,XIc,3,uV)),noAction:HIc(a.getNoAction()),setReminder:SIc(Sj(a,RIc,5,uV)),experimental:zIc(Sj(a,yIc,6,uV))}};var vV=function(a){r.call(this,a)};U(vV,r);vV.prototype.getAction=function(){return Z(this,tV,1)};vV.prototype.hasAction=function(){return Dj(this,tV,1)};vV.prototype.getCandidatesList=function(){return aj(this,tV,2)};vV.repeatedFields_=[2,3];vV.prototype.toObject=function(){return $Ic(this)};var $Ic=function(a){if(null!=a)return t(a),{action:ZIc(a.getAction()),candidatesList:Kb(a.getCandidatesList(),ZIc),rawCandidatesList:p(Ih(a,3))}};var wV=function(a){r.call(this,a)};U(wV,r);wV.prototype.getResultsList=function(){return aj(this,vV,1)};wV.repeatedFields_=[1];wV.prototype.toObject=function(){return aJc(this)};var aJc=function(a){if(null!=a)return t(a),{resultsList:Kb(a.getResultsList(),$Ic)}};var bJc=function(a){r.call(this,a)};U(bJc,r);bJc.prototype.toObject=function(){return cJc(this)};var cJc=function(a){if(null!=a)return t(a),a=Vj(a,1,OB),{payloadByIdMap:Ob(a,j5b)}};var dJc=function(a){r.call(this,a)};U(dJc,r);f=dJc.prototype;f.getType=function(){return W(this,1,0)};f.setType=function(a){return Pi(this,1,a)};f.getTitle=function(){return V(this,2)};f.setTitle=function(a){return mj(this,2,a)};f.toObject=function(){return eJc(this)};var eJc=function(a){if(null!=a)return t(a),{type:W(a,1,0),title:V(a,2)}};var fJc=function(a){r.call(this,a)};U(fJc,r);fJc.repeatedFields_=[1];fJc.prototype.toObject=function(){return gJc(this)};var gJc=function(a){if(null!=a)return t(a),{eventsList:Kb(aj(a,dJc,1),eJc)}};var hJc=function(a){r.call(this,a)};U(hJc,r);hJc.prototype.setKernelId=function(a){return n(this,1,a)};hJc.prototype.toObject=function(){return iJc(this)};var iJc=function(a){if(null!=a)return t(a),{kernelId:p(m(a,1))}};var jJc=function(a){r.call(this,a)};U(jJc,r);jJc.prototype.getAction=function(){return V(this,2)};jJc.prototype.getObservation=function(){return V(this,4)};jJc.prototype.toObject=function(){return kJc(this)};var kJc=function(a){if(null!=a)return t(a),{thought:V(a,1),action:V(a,2),actionInput:V(a,3),observation:V(a,4)}};var lJc=function(a){r.call(this,a)};U(lJc,r);lJc.prototype.getContent=function(){return V(this,1)};lJc.prototype.setContent=function(a){return mj(this,1,a)};lJc.prototype.toObject=function(){return mJc(this)};var mJc=function(a){if(null!=a)return t(a),{content:V(a,1),reasoning:p(m(a,2)),meet:p(ar(a,3))}};var nJc=function(a){r.call(this,a)};U(nJc,r);nJc.repeatedFields_=[1];nJc.prototype.toObject=function(){return oJc(this)};var oJc=function(a){if(null!=a)return t(a),{constraintsList:Kb(aj(a,lJc,1),mJc)}};var xV=function(a){r.call(this,a)};U(xV,r);xV.prototype.getScore=function(){return hj(this,1)};xV.prototype.setScore=function(a){nj(this,1,a)};xV.repeatedFields_=[2,3];xV.prototype.toObject=function(){return pJc(this)};var pJc=function(a){if(null!=a)return t(a),{score:hj(a,1),reportsList:Kb(aj(a,nJc,2),oJc),failureReasonsList:p(Ih(a,3))}};var yV=function(a){r.call(this,a)};U(yV,r);yV.prototype.getUrl=function(){return V(this,1)};yV.prototype.setUrl=function(a){return mj(this,1,a)};yV.prototype.getCategory=function(){return W(this,18,0)};yV.prototype.toObject=function(){return qJc(this)};
var qJc=function(a){if(null!=a)return t(a),{url:V(a,1),repo:V(a,2),license:V(a,3),filepath:V(a,20),wikipediaArticleTitle:V(a,4),bookTitle:V(a,5),bookVolumeId:p(m(a,6)),publicationDate:NB(Z(a,Ah,7)),naturalLanguageCode:V(a,8),noAttribution:Jj(a,9),gnewsArticleTitle:V(a,10),lamdaExampleId:V(a,11),meenaConversationId:V(a,12),podcastUtteranceId:V(a,13),amarnaId:V(a,14),arxivId:V(a,15),conversationId:V(a,16),goodallExampleId:V(a,19),geminiId:V(a,21),dataset:W(a,17,0),category:W(a,18,0)}};var rJc=function(a){r.call(this,a)};U(rJc,r);rJc.prototype.toObject=function(){return sJc(this)};var sJc=function(a){if(null!=a)return t(a),{segmentRecitationAction:W(a,1,0),startIndex:Gh(a,2),endIndex:Gh(a,3),docOccurrences:Gh(a,4),docAttribution:qJc(Z(a,yV,5)),displayAttributionMessage:V(a,6),attributionDataset:W(a,7,0),rawText:V(a,8)}};var tJc=function(a){r.call(this,a)};U(tJc,r);tJc.repeatedFields_=[1,2];tJc.prototype.toObject=function(){return uJc(this)};var uJc=function(a){if(null!=a)return t(a),{trainingSegmentResultsList:Kb(aj(a,rJc,1),sJc),dynamicSegmentResultsList:Kb(aj(a,rJc,2),sJc),recitationAction:W(a,3,0)}};var vJc=function(a){r.call(this,a)};U(vJc,r);vJc.prototype.getResult=function(){return Z(this,tJc,2)};vJc.prototype.toObject=function(){return wJc(this)};var wJc=function(a){if(null!=a)return t(a),{result:uJc(a.getResult())}};var xJc=function(a){r.call(this,a)};U(xJc,r);xJc.prototype.getText=function(){return V(this,1)};xJc.prototype.setText=function(a){return mj(this,1,a)};xJc.prototype.toObject=function(){return yJc(this)};var yJc=function(a){if(null!=a)return t(a),{text:V(a,1)}};var zJc=function(a){r.call(this,a)};U(zJc,r);var AJc=[2,3];zJc.prototype.toObject=function(){return BJc(this)};var BJc=function(a){if(null!=a)return t(a),{sensitiveClassifierType:p(kr(a,1)),perspectiveApiClassifierType:p(po(a,2,AJc)),expanderClassifierType:p(po(a,3,AJc))}};var zV=function(a){r.call(this,a)};U(zV,r);f=zV.prototype;f.getType=function(){return W(this,1,0)};f.setType=function(a){return Pi(this,1,a)};f.getValue=function(){return hj(this,2)};f.setValue=function(a){return nj(this,2,a)};f.toObject=function(){return CJc(this)};var CJc=function(a){if(null!=a)return t(a),{type:W(a,1,0),value:hj(a,2),supplementalScoreType:BJc(Z(a,zJc,3)),sourceModelId:V(a,4)}};var DJc=function(a){r.call(this,a)};U(DJc,r);f=DJc.prototype;f.getYear=function(){return Gh(this,1)};f.setYear=function(a){return Bb(this,1,a)};f.getMonth=function(){return Gh(this,2)};f.setMonth=function(a){return Bb(this,2,a)};f.getDay=function(){return Gh(this,3)};f.setDay=function(a){Bb(this,3,a)};f.getHours=function(){return Gh(this,4)};f.setHours=function(a){return Bb(this,4,a)};f.getMinutes=function(){return Gh(this,5)};f.setMinutes=function(a){return Bb(this,5,a)};
f.getSeconds=function(){return Gh(this,6)};f.setSeconds=function(a){return Bb(this,6,a)};f.getNanos=function(){return Gh(this,7)};f.setNanos=function(a){return Bb(this,7,a)};f.getTimeZone=function(){return Sj(this,Zi,9,EJc)};f.setTimeZone=function(a){return ho(this,9,EJc,a)};f.hasTimeZone=function(){return Qj(this,Zi,9,EJc)};var EJc=[8,9];DJc.prototype.toObject=function(){return FJc(this)};
var FJc=function(a){if(null!=a)return t(a),{year:Gh(a,1),month:Gh(a,2),day:Gh(a,3),hours:Gh(a,4),minutes:Gh(a,5),seconds:Gh(a,6),nanos:Gh(a,7),utcOffset:$t(Sj(a,Eh,8,EJc)),timeZone:fC(a.getTimeZone())}};var GJc=function(a){r.call(this,a)};U(GJc,r);GJc.prototype.toObject=function(){return HJc(this)};var HJc=function(a){if(null!=a)return t(a),{fulfillment:p(Os(a,1)),helpfulness:p(Os(a,2)),presentation:p(Os(a,3)),factuality:p(kr(a,4))}};var IJc=function(a){r.call(this,a)};U(IJc,r);f=IJc.prototype;f.getScore=function(){return W(this,1,0)};f.setScore=function(a){Pi(this,1,a)};f.getLeft=function(){return Z(this,DC,2)};f.getRight=function(){return Z(this,DC,3)};f.getType=function(){return W(this,4,0)};f.setType=function(a){return Pi(this,4,a)};f.toObject=function(){return JJc(this)};var JJc=function(a){if(null!=a)return t(a),{score:W(a,1,0),left:EC(a.getLeft()),right:EC(a.getRight()),type:W(a,4,0),scoreFp:hj(a,5)}};var KJc=function(a){r.call(this,a)};U(KJc,r);f=KJc.prototype;f.getQuery=function(){return V(this,1)};f.setQuery=function(a){return n(this,1,a)};f.clearQuery=function(){Js(this,1)};f.hasQuery=function(){return wk(this,1)};f.toObject=function(){return LJc(this)};var LJc=function(a){if(null!=a)return t(a),{query:p(m(a,1))}};var MJc=function(a){r.call(this,a)};U(MJc,r);f=MJc.prototype;f.getMethodName=function(){return V(this,2)};f.setParams=function(a){return Yi(this,lV,3,a)};f.clearParams=function(){Js(this,3)};f.getOutput=function(){return Z(this,lV,4)};f.toObject=function(){return NJc(this)};var NJc=function(a){if(null!=a)return t(a),{toolName:p(m(a,1)),methodName:p(m(a,2)),params:pV(Z(a,lV,3)),output:pV(a.getOutput()),executionError:p(m(a,5))}};var OJc=function(a){r.call(this,a)};U(OJc,r);OJc.repeatedFields_=[1];OJc.prototype.toObject=function(){return PJc(this)};var PJc=function(a){if(null!=a)return t(a),{executionsList:Kb(aj(a,MJc,1),NJc)}};var QJc=function(a){r.call(this,a)};U(QJc,r);QJc.prototype.getJsonPayload=function(){return V(this,2)};QJc.prototype.toObject=function(){return RJc(this)};var RJc=function(a){if(null!=a)return t(a),{toolName:p(m(a,1)),jsonPayload:p(m(a,2)),jsonError:p(m(a,3))}};var SJc=function(a){r.call(this,a)};U(SJc,r);SJc.prototype.getPythonPayload=function(){return V(this,1)};SJc.prototype.toObject=function(){return TJc(this)};var TJc=function(a){if(null!=a)return t(a),{pythonPayload:p(m(a,1))}};var UJc=function(a){r.call(this,a)};U(UJc,r);UJc.prototype.toObject=function(){return VJc(this)};var VJc=function(a){if(null!=a)return t(a),{model:p(m(a,1)),startAt:yt(Z(a,Ch,2)),endAt:yt(Z(a,Ch,3)),promptLen:p(Os(a,4)),outputLen:p(Os(a,5))}};var AV=function(a){r.call(this,a)};U(AV,r);AV.prototype.getLlmMetadataListList=function(){return aj(this,UJc,1)};AV.repeatedFields_=[1];AV.prototype.toObject=function(){return WJc(this)};var WJc=function(a){if(null!=a)return t(a),{llmMetadataListList:Kb(a.getLlmMetadataListList(),VJc)}};var BV=function(a){r.call(this,a)};U(BV,r);BV.prototype.getJsonPayload=function(){return Sj(this,QJc,1,XJc)};BV.prototype.getPythonPayload=function(){return Sj(this,SJc,2,XJc)};BV.prototype.getMetadata=function(){return Z(this,AV,4)};BV.prototype.setMetadata=function(a){Yi(this,AV,4,a)};var XJc=[1,2];BV.prototype.toObject=function(){return YJc(this)};var YJc=function(a){if(null!=a)return t(a),{jsonPayload:RJc(a.getJsonPayload()),pythonPayload:TJc(a.getPythonPayload()),trace:PJc(Z(a,OJc,3)),metadata:WJc(a.getMetadata())}};var ZJc=function(a){r.call(this,a)};U(ZJc,r);ZJc.repeatedFields_=[4];ZJc.prototype.toObject=function(){return $Jc(this)};var $Jc=function(a){if(null!=a)return t(a),{toolName:p(m(a,1)),toolInstruction:p(m(a,2)),toolLog:YJc(Z(a,BV,3)),retrievedToolNamesList:p(Ih(a,4))}};var aKc=function(a){r.call(this,a)};U(aKc,r);var bKc=[1,2];aKc.prototype.toObject=function(){return cKc(this)};var cKc=function(a){if(null!=a)return t(a),{respondToUser:LJc(Sj(a,KJc,1,bKc)),useToolInstruction:$Jc(Sj(a,ZJc,2,bKc)),plannerPrompt:p(m(a,3))}};var CV=function(a){r.call(this,a)};U(CV,r);CV.prototype.getLlmMetadataListList=function(){return aj(this,UJc,2)};CV.repeatedFields_=[2];CV.prototype.toObject=function(){return dKc(this)};var dKc=function(a){if(null!=a)return t(a),{thought:p(m(a,1)),llmMetadataListList:Kb(a.getLlmMetadataListList(),VJc)}};var eKc=function(a){r.call(this,a)};U(eKc,r);f=eKc.prototype;f.getType=function(){return W(this,1,0)};f.setType=function(a){return Pi(this,1,a)};f.getText=function(){return V(this,2)};f.setText=function(a){return mj(this,2,a)};f.toObject=function(){return fKc(this)};var fKc=function(a){if(null!=a)return t(a),{type:W(a,1,0),text:V(a,2)}};var gKc=function(a){r.call(this,a)};U(gKc,r);f=gKc.prototype;f.getType=function(){return W(this,1,0)};f.setType=function(a){return Pi(this,1,a)};f.getText=function(){return V(this,2)};f.setText=function(a){return mj(this,2,a)};f.toObject=function(){return hKc(this)};var hKc=function(a){if(null!=a)return t(a),{type:W(a,1,0),text:V(a,2)}};var iKc=function(a){r.call(this,a)};U(iKc,r);f=iKc.prototype;f.getMetadata=function(){return Z(this,CV,2)};f.setMetadata=function(a){Yi(this,CV,2,a)};f.getPrompt=function(){return Z(this,gKc,3)};f.setPrompt=function(a){return Yi(this,gKc,3,a)};f.toObject=function(){return jKc(this)};var jKc=function(a){if(null!=a)return t(a),{instruction:cKc(Z(a,aKc,1)),metadata:dKc(a.getMetadata()),prompt:hKc(a.getPrompt()),modelOutput:fKc(Z(a,eKc,4))}};var kKc=function(a){r.call(this,a)};U(kKc,r);kKc.prototype.toObject=function(){return lKc(this)};var lKc=function(a){if(null!=a)return t(a),{emptyResponseReason:p(m(a,1))}};var mKc=function(a){r.call(this,a)};U(mKc,r);mKc.prototype.toObject=function(){return nKc(this)};var nKc=function(a){if(null!=a)return t(a),{operationId:p(m(a,1)),toolName:p(m(a,2))}};var DV=function(a){r.call(this,a)};U(DV,r);DV.prototype.getError=function(){return V(this,1)};DV.prototype.setError=function(a){n(this,1,a)};DV.prototype.hasError=function(){return wk(this,1)};DV.prototype.toObject=function(){return oKc(this)};var oKc=function(a){if(null!=a)return t(a),{error:p(m(a,1))}};var pKc=function(a){r.call(this,a)};U(pKc,r);pKc.repeatedFields_=[1];pKc.prototype.toObject=function(){return qKc(this)};var qKc=function(a){if(null!=a)return t(a),{missingRequiredParamsList:p(Ih(a,1))}};var rKc=function(a){r.call(this,a)};U(rKc,r);rKc.prototype.setStatusCode=function(a){n(this,1,a)};var sKc=[2,3,4,5];rKc.prototype.toObject=function(){return tKc(this)};var tKc=function(a){if(null!=a)return t(a),{statusCode:p(kr(a,1)),missingRequiredInfoPayload:qKc(Sj(a,pKc,2,sKc)),emptyResponseInfoPayload:lKc(Sj(a,kKc,3,sKc)),invalidOperationIdErrorPayload:nKc(Sj(a,mKc,4,sKc)),miscToolRequestParsingErrorPayload:oKc(Sj(a,DV,5,sKc))}};var uKc=function(a){r.call(this,a)};U(uKc,r);f=uKc.prototype;f.getResult=function(){return V(this,3)};f.getStatus=function(){return Jj(this,1)};f.setStatus=function(a){return Lj(this,1,a)};f.hasStatus=function(){return Dk(this,1)};f.getError=function(){return V(this,2)};f.setError=function(a){n(this,2,a)};f.hasError=function(){return wk(this,2)};f.toObject=function(){return vKc(this)};
var vKc=function(a){if(null!=a)return t(a),{result:p(m(a,3)),status:p(ar(a,1)),error:p(m(a,2)),reactAgentStatus:tKc(Z(a,rKc,4))}};var EV=function(a){r.call(this,a)};U(EV,r);EV.prototype.getObservation=function(){return Z(this,uKc,3)};EV.prototype.toObject=function(){return FV(this)};var FV=function(a){if(null!=a)return t(a),{instructionAndMetadata:jKc(Z(a,iKc,1)),observation:vKc(a.getObservation())}};var GV=function(a){r.call(this,a)};U(GV,r);GV.prototype.getText=function(){return V(this,1)};GV.prototype.setText=function(a){return mj(this,1,a)};GV.prototype.getScoresList=function(){return aj(this,zV,2)};GV.prototype.getFeedbacksList=function(){return aj(this,HV,3)};var IV=function(a){r.call(this,a)};U(IV,r);f=IV.prototype;f.getText=function(){return V(this,1)};f.setText=function(a){return mj(this,1,a)};f.getSource=function(){return V(this,2)};f.setSource=function(a){return mj(this,2,a)};
f.getQuery=function(){return Z(this,GV,3)};f.setQuery=function(a){return Yi(this,GV,3,a)};f.clearQuery=function(){Js(this,3)};f.hasQuery=function(){return Dj(this,GV,3)};f.getFeedbacksList=function(){return aj(this,HV,4)};f.getUrl=function(){return V(this,5)};f.setUrl=function(a){return mj(this,5,a)};f.getResultType=function(){return V(this,10)};f.setResultType=function(a){n(this,10,a)};f.hasResultType=function(){return wk(this,10)};var HV=function(a){r.call(this,a)};U(HV,r);f=HV.prototype;
f.getCategory=function(){return W(this,10,0)};f.getNote=function(){return V(this,2)};f.hasNote=function(){return wk(this,2)};f.getCreateTime=function(){return Z(this,DJc,4)};f.getFeedbacksList=function(){return aj(this,HV,7)};f.getSearchResultsList=function(){return aj(this,IV,14)};f.getExecutionStepsList=function(){return aj(this,EV,17)};GV.repeatedFields_=[2,3];GV.prototype.toObject=function(){return wKc(this)};
var wKc=function(a){if(null!=a)return t(a),{text:V(a,1),scoresList:Kb(a.getScoresList(),CJc),feedbacksList:Kb(a.getFeedbacksList(),JV)}};IV.repeatedFields_=[4,9];IV.prototype.toObject=function(){return xKc(this)};var xKc=function(a){if(null!=a)return t(a),{text:V(a,1),source:V(a,2),query:wKc(a.getQuery()),feedbacksList:Kb(a.getFeedbacksList(),JV),url:V(a,5),sourceTitle:V(a,6),snippet:V(a,7),originalSnippet:V(a,8),nonpublicNamesList:p(Ih(a,9)),resultType:p(m(a,10))}};HV.repeatedFields_=[7,11,14,17];
HV.prototype.toObject=function(){return JV(this)};
var JV=function(a){if(null!=a)return t(a),{good:p(ar(a,1)),category:p(kr(a,10)),note:p(m(a,2)),giver:p(m(a,3)),giverPool:p(m(a,9)),createTime:FJc(a.getCreateTime()),rewrite:p(m(a,5)),cohortId:p(m(a,6)),feedbacksList:Kb(a.getFeedbacksList(),JV),sxsRating:JJc(Z(a,IJc,8)),badFeedbackReasonsList:p(Ih(a,11)),hasTimelyFact:p(ar(a,12)),rubricScores:HJc(Z(a,GJc,13)),searchResultsList:Kb(a.getSearchResultsList(),xKc),factual:p(ar(a,15)),containsPii:p(ar(a,16)),executionStepsList:Kb(a.getExecutionStepsList(),
FV),promptMakesSenseInContext:p(ar(a,18)),isCannedResponse:p(ar(a,19)),responseContainsNoFactualInfo:p(ar(a,20))}};var yKc=function(a){r.call(this,a)};U(yKc,r);yKc.prototype.getText=function(){return V(this,1)};yKc.prototype.setText=function(a){return n(this,1,a)};yKc.prototype.toObject=function(){return zKc(this)};var zKc=function(a){if(null!=a)return t(a),{text:p(m(a,1))}};var AKc=function(a){r.call(this,a)};U(AKc,r);f=AKc.prototype;f.getId=function(){return V(this,1)};f.setId=function(a){return n(this,1,a)};f.getValue=function(){return hj(this,2)};f.setValue=function(a){return Ns(this,2,a)};f.hasValue=function(){return null!=Gs(this,2)};f.toObject=function(){return BKc(this)};var BKc=function(a){if(null!=a)return t(a),{id:p(m(a,1)),value:p(Gs(a,2))}};var CKc=function(a){r.call(this,a)};U(CKc,r);CKc.prototype.getText=function(){return V(this,1)};CKc.prototype.setText=function(a){return n(this,1,a)};CKc.prototype.toObject=function(){return DKc(this)};var DKc=function(a){if(null!=a)return t(a),{text:p(m(a,1)),hintText:p(m(a,2))}};var EKc=function(a){r.call(this,a)};U(EKc,r);EKc.repeatedFields_=[1];EKc.prototype.toObject=function(){return FKc(this)};var FKc=function(a){if(null!=a)return t(a),{pairsList:Kb(aj(a,CKc,1),DKc)}};var KV=function(a){r.call(this,a)};U(KV,r);KV.prototype.getText=function(){return V(this,2)};KV.prototype.setText=function(a){return n(this,2,a)};KV.repeatedFields_=[1];KV.prototype.toObject=function(){return GKc(this)};var GKc=function(a){if(null!=a)return t(a),{sentencesList:Kb(aj(a,EKc,1),FKc),text:p(m(a,2)),translatedText:p(m(a,3))}};var LV=function(a){r.call(this,a)};U(LV,r);LV.prototype.getStyle=function(){return W(this,3,0)};LV.prototype.setStyle=function(a){return n(this,3,a)};LV.prototype.getVerbalizationStyle=function(){return W(this,4,0)};LV.repeatedFields_=[1];LV.prototype.toObject=function(){return HKc(this)};var HKc=function(a){if(null!=a)return t(a),{foreignLanguageHintsList:p(Ih(a,1)),style:p(kr(a,3)),verbalizationStyle:p(kr(a,4)),targetLanguage:p(m(a,5))}};var IKc=function(a){r.call(this,a,1)};U(IKc,r);var JKc={};IKc.prototype.toObject=function(){return KKc(this)};var KKc=function(a){if(null!=a){t(a);var b={};Nb(a,b,JKc);return b}};var LKc=function(a){r.call(this,a)};U(LKc,r);LKc.prototype.toObject=function(){return MKc(this)};var MKc=function(a){if(null!=a)return t(a),{level:p(kr(a,3))}};var NKc=function(a){r.call(this,a)};U(NKc,r);NKc.prototype.toObject=function(){return OKc(this)};var OKc=function(a){if(null!=a)return t(a),{incompleteAtStart:p(ar(a,1)),incompleteAtEnd:p(ar(a,2))}};var PKc=function(a){r.call(this,a)};U(PKc,r);PKc.prototype.toObject=function(){return QKc(this)};var QKc=function(a){if(null!=a)return t(a),{level:p(kr(a,1))}};var RKc=function(a){r.call(this,a)};U(RKc,r);RKc.prototype.getProminence=function(){return Z(this,PKc,2)};RKc.prototype.getPartialSentenceProsody=function(){return Z(this,NKc,5)};var SKc=[1,4];RKc.prototype.toObject=function(){return TKc(this)};
var TKc=function(a){if(null!=a)return t(a),{speechRate:p(oo(a,1,SKc)),speechRateEnum:p(at(a,4,SKc)),prominence:QKc(a.getProminence()),novelty:MKc(Z(a,LKc,3)),partialSentenceProsody:OKc(a.getPartialSentenceProsody()),f0Scale:p(Gs(a,6)),phonationMode:p(kr(a,7)),emotion:p(kr(a,8)),speakingStyle:p(kr(a,9))}};var UKc=function(a){r.call(this,a)};U(UKc,r);UKc.prototype.toObject=function(){return VKc(this)};var VKc=function(a){if(null!=a)return t(a),{cellId:p(m(a,1)),fprint:p(m(a,2))}};var MV=function(a){r.call(this,a)};U(MV,r);MV.prototype.toObject=function(){return WKc(this)};var WKc=function(a){if(null!=a)return t(a),{latitudeE7:p(Os(a,1)),longitudeE7:p(Os(a,2))}};var XKc=function(a){r.call(this,a)};U(XKc,r);XKc.prototype.toObject=function(){return YKc(this)};var YKc=function(a){if(null!=a)return t(a),{lo:WKc(Z(a,MV,1)),hi:WKc(Z(a,MV,2))}};var ZKc=function(a){r.call(this,a)};U(ZKc,r);f=ZKc.prototype;f.getType=function(){return W(this,1,0)};f.setType=function(a){return n(this,1,a)};f.hasType=function(){return fj(this,1)};f.getConfidence=function(){return Gh(this,2)};f.toObject=function(){return $Kc(this)};var $Kc=function(a){if(null!=a)return t(a),{type:p(kr(a,1)),confidence:p(Os(a,2))}};var aLc=function(a){r.call(this,a)};U(aLc,r);aLc.prototype.toObject=function(){return bLc(this)};var bLc=function(a){if(null!=a)return t(a),{fieldOfViewXDegrees:p(Gs(a,1)),fieldOfViewYDegrees:p(Gs(a,2)),screenWidthPixels:p(Os(a,3))}};var cLc=function(a){r.call(this,a)};U(cLc,r);cLc.prototype.toObject=function(){return dLc(this)};var dLc=function(a){if(null!=a)return t(a),{ppSupportingDays:p(Os(a,4)),ppSupportingWeeks:p(Os(a,5))}};var NV=function(a){r.call(this,a)};U(NV,r);NV.prototype.getRollDegrees=function(){return Gh(this,6)};NV.prototype.setRollDegrees=function(a){n(this,6,a)};NV.repeatedFields_=[11];NV.prototype.toObject=function(){return eLc(this)};
var eLc=function(a){if(null!=a)return t(a),{headingDegrees:p(Os(a,2)),bearingDegrees:p(Os(a,3)),bearingAccuracyDegrees:p(Os(a,12)),speedKph:p(Os(a,4)),speedAccuracyKph:p(Os(a,13)),tiltDegrees:p(Os(a,5)),rollDegrees:p(Os(a,6)),altitudeMetersFromGround:p(Gs(a,7)),fieldOfView:bLc(Z(a,aLc,8)),boardedTransitVehicleToken:p(m(a,9)),activityRecordList:Kb(aj(a,ZKc,11),$Kc),plmType:p(kr(a,14)),inference:p(kr(a,15)),manualEntry:p(kr(a,16)),weekSecondConfidence:p(Gs(a,17)),ipRangeConfidence:p(Gs(a,18)),carrierIpType:p(kr(a,
19)),adsConfidence:p(Gs(a,20)),viewportSearchOptions:p(kr(a,21)),deviceLocationRatio:p(Gs(a,10)),plmSourceLocationCount:p(Os(a,22)),personalizedLocationAttributes:dLc(Z(a,cLc,23))}};var fLc=function(a){r.call(this,a)};U(fLc,r);fLc.prototype.getConfidence=function(){return Qs(this,3)};fLc.prototype.toObject=function(){return gLc(this)};var gLc=function(a){if(null!=a)return t(a),{startOffsetSec:p(m(a,1)),durationSec:p(m(a,2)),confidence:p(Ps(a,3))}};var hLc=function(a){r.call(this,a)};U(hLc,r);hLc.prototype.getProminence=function(){return W(this,2,0)};hLc.prototype.toObject=function(){return iLc(this)};var iLc=function(a){if(null!=a)return t(a),{gconceptId:p(m(a,1)),prominence:W(a,2,0)}};var jLc=function(a){r.call(this,a)};U(jLc,r);f=jLc.prototype;f.getFeatureId=function(){return Z(this,UKc,1)};f.getScore=function(){return hj(this,3)};f.setScore=function(a){Ns(this,3,a)};f.getConfidence=function(){return W(this,4,0)};f.getSource=function(){return W(this,5,0)};f.setSource=function(a){return n(this,5,a)};f.hasSource=function(){return fj(this,5)};f.getSourceOrUndefined=function(){return wr(this,5)};jLc.repeatedFields_=[2];jLc.prototype.toObject=function(){return kLc(this)};
var kLc=function(a){if(null!=a)return t(a),{featureId:VKc(a.getFeatureId()),gconceptInstanceList:Kb(aj(a,hLc,2),iLc),score:p(Gs(a,3)),confidence:p(kr(a,4)),source:p(kr(a,5))}};var OV=function(a){r.call(this,a)};U(OV,r);OV.prototype.getType=function(){return W(this,1,0)};OV.prototype.setType=function(a){return n(this,1,a)};OV.prototype.hasType=function(){return fj(this,1)};OV.prototype.toObject=function(){return lLc(this)};var lLc=function(a){if(null!=a)return t(a),{type:p(kr(a,1)),cellId:p(Os(a,2)),locationAreaCode:p(Os(a,3)),mobileCountryCode:p(Os(a,4)),mobileNetworkCode:p(Os(a,5)),primaryScramblingCode:p(Os(a,6)),physicalCellId:p(Os(a,7)),trackingAreaCode:p(Os(a,8))}};var mLc=function(a){r.call(this,a)};U(mLc,r);mLc.prototype.toObject=function(){return nLc(this)};var nLc=function(a){if(null!=a)return t(a),{bssid:p(m(a,1)),levelDbm:p(Os(a,2))}};var PV=function(a){r.call(this,a)};U(PV,r);PV.prototype.getCell=function(){return Sj(this,OV,2,oLc)};PV.prototype.setCell=function(a){ho(this,2,oLc,a)};PV.prototype.hasConnected=function(){return Dk(this,3)};var oLc=[1,2];PV.prototype.toObject=function(){return pLc(this)};var pLc=function(a){if(null!=a)return t(a),{wifi:nLc(Sj(a,mLc,1,oLc)),cell:lLc(a.getCell()),connected:p(ar(a,3)),timestampMs:p(m(a,4))}};var QV=function(a){r.call(this,a)};U(QV,r);f=QV.prototype;f.getTimestamp=function(){return gj(this,3)};f.setTimestamp=function(a){return n(this,3,a)};f.hasTimestamp=function(){return Ok(this,3)};f.getLatlng=function(){return Z(this,MV,5)};f.clearRect=function(){return Js(this,14)};f.setRadius=function(a){return Ns(this,7,a)};f.getConfidence=function(){return Gh(this,8,100)};f.getFeatureId=function(){return Z(this,UKc,10)};f.getLevelFeatureId=function(){return Z(this,UKc,17)};
f.getProvenance=function(){return W(this,9,0)};f.setProvenance=function(a){return n(this,9,a)};f.getAttributes=function(){return Z(this,NV,19)};f.hasAttributes=function(){return Dj(this,NV,19)};QV.repeatedFields_=[21,22,23,24];QV.prototype.toObject=function(){return qLc(this)};
var qLc=function(a){if(null!=a)return t(a),{role:W(a,1,0),producer:W(a,2,0),timestamp:p(m(a,3)),loc:p(m(a,4)),latlng:WKc(a.getLatlng()),latlngSpan:WKc(Z(a,MV,6)),rect:YKc(Z(a,XKc,14)),radius:p(Gs(a,7)),confidence:Gh(a,8,100),featureId:VKc(a.getFeatureId()),mid:p(m(a,16)),levelFeatureId:VKc(a.getLevelFeatureId()),levelNumber:p(Gs(a,18)),language:p(m(a,11)),provenance:W(a,9,0),historicalRole:W(a,12,0),historicalProducer:W(a,13,0),historicalProminence:p(Os(a,15)),attributes:eLc(a.getAttributes()),diagnosticInfo:p(m(a,
20)),semanticList:p(Tk(a,21)),semanticPlaceList:Kb(aj(a,jLc,22),kLc),visibleNetworkList:Kb(aj(a,PV,23),pLc),presenceIntervalList:Kb(aj(a,fLc,24),gLc),permissionGranularity:p(kr(a,25))}};var rLc=function(a){r.call(this,a)};U(rLc,r);f=rLc.prototype;f.getType=function(){return V(this,1)};f.setType=function(a){return n(this,1,a)};f.hasType=function(){return wk(this,1)};f.getDomain=function(){return W(this,2,0)};f.setDomain=function(a){return n(this,2,a)};f.hasDomain=function(){return fj(this,2)};f.toObject=function(){return sLc(this)};var sLc=function(a){if(null!=a)return t(a),{type:p(m(a,1)),domain:p(kr(a,2)),confidenceScore:p(Gs(a,3)),semanticGender:p(kr(a,4))}};var tLc=function(a){r.call(this,a)};U(tLc,r);tLc.prototype.toObject=function(){return uLc(this)};var uLc=function(a){if(null!=a)return t(a),{semioticType:p(kr(a,1)),hintLevel:p(kr(a,3))}};var vLc=function(a){r.call(this,a)};U(vLc,r);vLc.prototype.getLocation=function(){return Z(this,QV,3)};vLc.repeatedFields_=[1,2,4,5];vLc.prototype.toObject=function(){return wLc(this)};var wLc=function(a){if(null!=a)return t(a),{semioticInfoList:Kb(aj(a,tLc,1),uLc),sourceInfoList:p(Tk(a,2)),location:qLc(a.getLocation()),knowledgeGraphMidsList:p(Ih(a,4)),namedEntitiesList:Kb(aj(a,rLc,5),sLc),textnormLevel:p(kr(a,7)),listInfo:p(kr(a,8))}};var RV=function(a){r.call(this,a)};U(RV,r);RV.prototype.getLabel=function(){return V(this,2)};RV.prototype.setLabel=function(a){return n(this,2,a)};RV.prototype.hasLabel=function(){return wk(this,2)};RV.prototype.toObject=function(){return xLc(this)};var xLc=function(a){if(null!=a)return t(a),{head:p(Os(a,1)),label:p(m(a,2))}};var yLc=function(a){r.call(this,a)};U(yLc,r);yLc.prototype.getSpelling=function(){return V(this,1)};yLc.repeatedFields_=[7,8];yLc.prototype.toObject=function(){return zLc(this)};var zLc=function(a){if(null!=a)return t(a),{spelling:p(m(a,1)),baseFormSpelling:p(m(a,2)),syntacticCategory:p(m(a,3)),partOfSpeech:p(m(a,4)),partOfSpeechConfidence:p(Gs(a,5)),dependencyData:xLc(Z(a,RV,6)),morphologyAttributesList:p(Tk(a,7)),morphophoneticAttributesList:p(Tk(a,8))}};var ALc=function(a){r.call(this,a)};U(ALc,r);ALc.prototype.toObject=function(){return BLc(this)};var BLc=function(a){if(null!=a)return t(a),{vuiId:p(m(a,1)),stageName:p(m(a,2))}};var CLc=function(a){r.call(this,a)};U(CLc,r);CLc.prototype.toObject=function(){return DLc(this)};var DLc=function(a){if(null!=a)return t(a),{performanceId:p(m(a,1)),textPolicy:p(kr(a,2)),obtainedWithVuiIdMapping:Jj(a,3,!1)}};var ELc=function(a){r.call(this,a)};U(ELc,r);ELc.prototype.toObject=function(){return FLc(this)};var FLc=function(a){if(null!=a)return t(a),{performanceSpec:DLc(Z(a,CLc,1))}};var GLc=function(a){r.call(this,a)};U(GLc,r);f=GLc.prototype;f.getType=function(){return W(this,1,0)};f.setType=function(a){return n(this,1,a)};f.hasType=function(){return fj(this,1)};f.getReference=function(){return V(this,2)};f.toObject=function(){return HLc(this)};var HLc=function(a){if(null!=a)return t(a),{type:W(a,1,0),reference:p(m(a,2))}};var SV=function(a){r.call(this,a)};U(SV,r);SV.prototype.getTargetList=function(){return aj(this,GLc,1)};SV.prototype.setTarget=function(a,b){return Fs(this,1,GLc,a,b)};SV.repeatedFields_=[1];SV.prototype.toObject=function(){return ILc(this)};var ILc=function(a){if(null!=a)return t(a),{targetList:Kb(a.getTargetList(),HLc)}};var TV=function(a){r.call(this,a)};U(TV,r);TV.prototype.getMorphing=function(){return Z(this,SV,1)};TV.prototype.getPerformanceOptions=function(){return Z(this,ELc,5)};TV.repeatedFields_=[3,4];TV.prototype.toObject=function(){return JLc(this)};var JLc=function(a){if(null!=a)return t(a),{morphing:ILc(a.getMorphing()),outputGain:hj(a,2,1),audioSourcesList:Kb(aj(a,ALc,3),BLc),performanceOptions:FLc(a.getPerformanceOptions()),redactionList:p(Tk(a,4))}};var KLc=function(a){r.call(this,a)};U(KLc,r);var UV=[1,2,3,4,5,6,7,8,9,10,11];KLc.prototype.toObject=function(){return LLc(this)};
var LLc=function(a){if(null!=a)return t(a),{commonVerbalizationStyle:p(at(a,1,UV)),punctuationVerbalizationStyle:p(at(a,2,UV)),letterSequenceStyle:p(at(a,3,UV)),digitsVerbalizationStyle:p(at(a,4,UV)),romanNumeralVerbalizationStyle:p(at(a,5,UV)),timeVerbalizationStyle:p(at(a,6,UV)),dateVerbalizationStyle:p(at(a,7,UV)),measureVerbalizationStyle:p(at(a,8,UV)),moneyVerbalizationStyle:p(at(a,9,UV)),emoticonEmojiVerbalizationStyle:p(at(a,10,UV)),telephoneVerbalizationStyle:p(at(a,11,UV))}};var MLc=function(a){r.call(this,a)};U(MLc,r);MLc.prototype.toObject=function(){return NLc(this)};var NLc=function(a){if(null!=a)return t(a),{language:p(m(a,1)),proficiency:p(kr(a,2))}};var OLc=function(a){r.call(this,a)};U(OLc,r);var PLc=[1,2,3,4];OLc.prototype.toObject=function(){return QLc(this)};var QLc=function(a){if(null!=a)return t(a),{speakerName:p(po(a,1,PLc)),supportedFeature:p(at(a,2,PLc)),languageProficiency:NLc(Sj(a,MLc,3,PLc)),gender:p(at(a,4,PLc))}};var RLc=function(a){r.call(this,a)};U(RLc,r);RLc.repeatedFields_=[1,2,5];var SLc=[3,4];RLc.prototype.toObject=function(){return TLc(this)};var TLc=function(a){if(null!=a)return t(a),{requiredAttributesList:Kb(aj(a,OLc,1),QLc),preferredAttributesList:Kb(aj(a,OLc,2),QLc),inferredAttributesList:Kb(aj(a,OLc,5),QLc),variant:p(Zs(a,3,SLc)),randomize:p(Ys(a,4,SLc))}};var ULc=function(a){r.call(this,a)};U(ULc,r);ULc.prototype.getAttributes=function(){return Sj(this,RLc,1,VLc)};ULc.prototype.hasAttributes=function(){return Qj(this,RLc,1,VLc)};var VLc=[1,3];ULc.prototype.toObject=function(){return WLc(this)};var WLc=function(a){if(null!=a)return t(a),{attributes:TLc(a.getAttributes()),voiceAlias:p(po(a,3,VLc)),canonicalVoiceName:p(m(a,2))}};var VV=function(a){r.call(this,a,9)};U(VV,r);VV.prototype.getCrossLingual=function(){return Z(this,LV,5)};VV.prototype.getVerbalizationStyle=function(){return Z(this,KLc,8)};var XLc={};VV.prototype.toObject=function(){return WV(this)};
var WV=function(a){if(null!=a){t(a);var b={semantics:wLc(Z(a,vLc,1)),syntax:zLc(Z(a,yLc,2)),prosody:TKc(Z(a,RKc,3)),synthesisParameters:JLc(Z(a,TV,4)),crossLingual:HKc(a.getCrossLingual()),voiceSelection:WLc(Z(a,ULc,7)),verbalizationStyle:LLc(a.getVerbalizationStyle()),clientExtensions:KKc(Z(a,IKc,6))};Nb(a,b,XLc);return b}};var XV=function(a){r.call(this,a,3)};U(XV,r);XV.prototype.getText=function(){return V(this,1)};XV.prototype.setText=function(a){return n(this,1,a)};XV.prototype.getAnnotation=function(){return Z(this,VV,2)};var YLc={};XV.prototype.toObject=function(){return ZLc(this)};var ZLc=function(a){if(null!=a){t(a);var b={text:p(m(a,1)),annotation:WV(a.getAnnotation())};Nb(a,b,YLc);return b}};var $Lc=function(a){r.call(this,a)};U($Lc,r);$Lc.prototype.hasFirst=function(){return Ek(this,1)};$Lc.prototype.getAnnotation=function(){return Z(this,VV,3)};$Lc.prototype.toObject=function(){return aMc(this)};var aMc=function(a){if(null!=a)return t(a),{first:p(Os(a,1)),last:p(Os(a,2)),annotation:WV(a.getAnnotation())}};var bMc=function(a){r.call(this,a)};U(bMc,r);bMc.prototype.toObject=function(){return cMc(this)};var cMc=function(a){if(null!=a)return t(a),{contentIndex:p(Os(a,1)),pieceIndex:p(Os(a,2)),byteIndex:p(Os(a,3)),timepointName:p(m(a,4))}};var dMc=function(a){r.call(this,a)};U(dMc,r);dMc.prototype.getSpelling=function(){return V(this,2)};dMc.prototype.getAnnotation=function(){return Z(this,VV,7)};var eMc=[4,5];dMc.prototype.toObject=function(){return fMc(this)};var fMc=function(a){if(null!=a)return t(a),{ownIndex:p(Os(a,1)),spelling:p(m(a,2)),wordId:p(m(a,3)),variantEnum:p(at(a,4,eMc)),variantId:p(po(a,5,eMc)),phonologyType:p(kr(a,8)),ttsPronunciation:p(m(a,6)),annotation:WV(a.getAnnotation())}};var gMc=function(a){r.call(this,a)};U(gMc,r);f=gMc.prototype;f.getText=function(){return V(this,1)};f.setText=function(a){return n(this,1,a)};f.getExpansion=function(){return V(this,2)};f.setExpansion=function(a){n(this,2,a)};f.toObject=function(){return hMc(this)};var hMc=function(a){if(null!=a)return t(a),{text:p(m(a,1)),expansion:p(m(a,2))}};var iMc=function(a){r.call(this,a)};U(iMc,r);iMc.prototype.getNumber=function(){return V(this,2)};iMc.prototype.toObject=function(){return jMc(this)};var jMc=function(a){if(null!=a)return t(a),{symbol:p(m(a,1)),number:p(m(a,2))}};var YV=function(a){r.call(this,a)};U(YV,r);YV.prototype.getType=function(){return V(this,2)};YV.prototype.setType=function(a){return n(this,2,a)};YV.prototype.hasType=function(){return wk(this,2)};YV.repeatedFields_=[1];YV.prototype.toObject=function(){return kMc(this)};var kMc=function(a){if(null!=a)return t(a),{unitsList:Kb(aj(a,iMc,1),jMc),type:p(m(a,2)),charge:p(ar(a,3))}};var lMc=function(a){r.call(this,a)};U(lMc,r);f=lMc.prototype;f.getText=function(){return V(this,1)};f.setText=function(a){return n(this,1,a)};f.getExpansion=function(){return V(this,2)};f.setExpansion=function(a){n(this,2,a)};f.toObject=function(){return mMc(this)};var mMc=function(a){if(null!=a)return t(a),{text:p(m(a,1)),expansion:p(m(a,2))}};var ZV=function(a){r.call(this,a)};U(ZV,r);ZV.prototype.getDay=function(){return Gh(this,2)};ZV.prototype.setDay=function(a){n(this,2,a)};ZV.prototype.getYear=function(){return Gh(this,5)};ZV.prototype.setYear=function(a){return n(this,5,a)};var nMc=[3,4],oMc=[8,9,10];ZV.prototype.toObject=function(){return pMc(this)};
var pMc=function(a){if(null!=a)return t(a),{weekday:p(Os(a,1)),day:p(Os(a,2)),monthNumber:p(Zs(a,3,nMc)),monthName:p(po(a,4,nMc)),year:p(Os(a,5)),calendar:p(kr(a,6)),era:p(m(a,7)),commonStyle:p(at(a,8,oMc)),specificStyle:p(at(a,9,oMc)),styleId:p(Zs(a,10,oMc))}};var $V=function(a){r.call(this,a)};U($V,r);$V.prototype.getStyle=function(){return W(this,2,0)};$V.prototype.setStyle=function(a){return n(this,2,a)};$V.repeatedFields_=[1];$V.prototype.toObject=function(){return qMc(this)};var qMc=function(a){if(null!=a)return t(a),{chunksList:p(Ih(a,1)),style:p(kr(a,2))}};var rMc=function(a){r.call(this,a)};U(rMc,r);f=rMc.prototype;f.getHours=function(){return Gh(this,1)};f.setHours=function(a){return n(this,1,a)};f.getMinutes=function(){return Gh(this,2)};f.setMinutes=function(a){return n(this,2,a)};f.getSeconds=function(){return Gh(this,3)};f.setSeconds=function(a){return n(this,3,a)};f.getMilliseconds=function(){return Gh(this,4)};f.setMilliseconds=function(a){return n(this,4,a)};var sMc=[5,6];rMc.prototype.toObject=function(){return tMc(this)};
var tMc=function(a){if(null!=a)return t(a),{hours:p(Os(a,1)),minutes:p(Os(a,2)),seconds:p(Os(a,3)),milliseconds:p(Os(a,4)),commonStyle:p(at(a,5,sMc)),styleId:p(Zs(a,6,sMc))}};var uMc=function(a){r.call(this,a)};U(uMc,r);f=uMc.prototype;f.getProtocol=function(){return V(this,1)};f.setProtocol=function(a){n(this,1,a)};f.getDomain=function(){return V(this,4)};f.setDomain=function(a){return n(this,4,a)};f.hasDomain=function(){return wk(this,4)};f.getPort=function(){return Gh(this,5)};f.setPort=function(a){return n(this,5,a)};f.hasPort=function(){return Ek(this,5)};f.getPath=function(){return V(this,6)};f.setPath=function(a){return n(this,6,a)};
f.hasPath=function(){return wk(this,6)};f.getQueryString=function(){return V(this,7)};f.setQueryString=function(a){n(this,7,a)};f.toObject=function(){return vMc(this)};var vMc=function(a){if(null!=a)return t(a),{protocol:p(m(a,1)),username:p(m(a,2)),password:p(m(a,3)),domain:p(m(a,4)),port:p(Os(a,5)),path:p(m(a,6)),queryString:p(m(a,7)),fragmentId:p(m(a,8))}};var wMc=function(a){r.call(this,a)};U(wMc,r);f=wMc.prototype;f.getText=function(){return V(this,1)};f.setText=function(a){return n(this,1,a)};f.getStyle=function(){return W(this,2,0)};f.setStyle=function(a){return n(this,2,a)};f.toObject=function(){return xMc(this)};var xMc=function(a){if(null!=a)return t(a),{text:p(m(a,1)),style:p(kr(a,2))}};var yMc=function(a){r.call(this,a)};U(yMc,r);yMc.prototype.toObject=function(){return zMc(this)};var zMc=function(a){if(null!=a)return t(a),{integerPart:p(m(a,1)),numerator:p(m(a,2)),denominator:p(m(a,3))}};var AMc=function(a){r.call(this,a)};U(AMc,r);f=AMc.prototype;f.getText=function(){return V(this,1)};f.setText=function(a){return n(this,1,a)};f.getStyle=function(){return W(this,2,0)};f.setStyle=function(a){return n(this,2,a)};f.toObject=function(){return BMc(this)};var BMc=function(a){if(null!=a)return t(a),{text:p(m(a,1)),style:p(kr(a,2))}};var aW=function(a){r.call(this,a)};U(aW,r);aW.prototype.getValueCase=function(){return Ci(this,CMc)};var CMc=[3,4];aW.prototype.toObject=function(){return DMc(this)};var DMc=function(a){if(null!=a)return t(a),{integerPart:p(m(a,1)),fractionalPart:p(m(a,2)),integer:p($s(a,3,CMc)),floatingPoint:p(oo(a,4,CMc)),minPrecision:p(Os(a,5)),maxPrecision:Gh(a,6,6),exponent:p(m(a,7)),quantity:p(m(a,8))}};var bW=function(a){r.call(this,a)};U(bW,r);bW.prototype.getValueCase=function(){return Ci(this,EMc)};bW.prototype.getDecimal=function(){return Sj(this,aW,1,EMc)};bW.prototype.getFraction=function(){return Sj(this,yMc,2,EMc)};var EMc=[1,2],FMc=[4,5,6];bW.prototype.toObject=function(){return GMc(this)};var GMc=function(a){if(null!=a)return t(a),{decimal:DMc(a.getDecimal()),fraction:zMc(a.getFraction()),unit:p(m(a,3)),commonStyle:p(at(a,4,FMc)),specificStyle:p(at(a,5,FMc)),styleId:p(Zs(a,6,FMc))}};var HMc=function(a){r.call(this,a)};U(HMc,r);HMc.prototype.getAmount=function(){return Z(this,aW,1)};var IMc=[4,5,6];HMc.prototype.toObject=function(){return JMc(this)};var JMc=function(a){if(null!=a)return t(a),{amount:DMc(a.getAmount()),currency:p(m(a,2)),commonStyle:p(at(a,4,IMc)),specificStyle:p(at(a,5,IMc)),styleId:p(Zs(a,6,IMc))}};var KMc=function(a){r.call(this,a)};U(KMc,r);KMc.prototype.toObject=function(){return LMc(this)};var LMc=function(a){if(null!=a)return t(a),{integer:p(m(a,2))}};var cW=function(a){r.call(this,a)};U(cW,r);cW.prototype.getType=function(){return W(this,3,0)};cW.prototype.setType=function(a){return n(this,3,a)};cW.prototype.hasType=function(){return fj(this,3)};cW.prototype.toObject=function(){return MMc(this)};var MMc=function(a){if(null!=a)return t(a),{strength:p(kr(a,1)),durationSeconds:p(Gs(a,2)),type:p(kr(a,3))}};var NMc=function(a){r.call(this,a)};U(NMc,r);NMc.prototype.getText=function(){return V(this,1)};NMc.prototype.setText=function(a){return n(this,1,a)};NMc.prototype.toObject=function(){return OMc(this)};var OMc=function(a){if(null!=a)return t(a),{text:p(m(a,1)),punctuationStyle:p(kr(a,2)),phraseBreak:MMc(Z(a,cW,3))}};var PMc=function(a){r.call(this,a)};U(PMc,r);f=PMc.prototype;f.getText=function(){return V(this,1)};f.setText=function(a){return n(this,1,a)};f.getStyle=function(){return W(this,2,0)};f.setStyle=function(a){return n(this,2,a)};f.toObject=function(){return QMc(this)};var QMc=function(a){if(null!=a)return t(a),{text:p(m(a,1)),style:p(kr(a,2))}};var RMc=function(a){r.call(this,a)};U(RMc,r);RMc.prototype.toObject=function(){return SMc(this)};var SMc=function(a){if(null!=a)return t(a),{graphemes:p(m(a,1)),chunkSize:p(Os(a,2))}};var TMc=function(a){r.call(this,a)};U(TMc,r);TMc.repeatedFields_=[2];TMc.prototype.toObject=function(){return UMc(this)};var UMc=function(a){if(null!=a)return t(a),{countryCode:p(m(a,1)),numberPartsList:p(Ih(a,2)),extension_3:p(m(a,3))}};var VMc=function(a){r.call(this,a)};U(VMc,r);f=VMc.prototype;f.getHours=function(){return Gh(this,1)};f.setHours=function(a){return n(this,1,a)};f.getMinutes=function(){return Gh(this,2)};f.setMinutes=function(a){return n(this,2,a)};f.getSeconds=function(){return Gh(this,3)};f.setSeconds=function(a){return n(this,3,a)};f.getZone=function(){return V(this,4)};var WMc=[5,6,7];VMc.prototype.toObject=function(){return XMc(this)};
var XMc=function(a){if(null!=a)return t(a),{hours:p(Os(a,1)),minutes:p(Os(a,2)),seconds:p(Os(a,3)),zone:p(m(a,4)),commonStyle:p(at(a,5,WMc)),specificStyle:p(at(a,6,WMc)),styleId:p(Zs(a,7,WMc))}};var YMc=function(a){r.call(this,a)};U(YMc,r);YMc.prototype.getText=function(){return V(this,1)};YMc.prototype.setText=function(a){return n(this,1,a)};YMc.prototype.toObject=function(){return ZMc(this)};var ZMc=function(a){if(null!=a)return t(a),{text:p(m(a,1))}};var $Mc=function(a){r.call(this,a)};U($Mc,r);f=$Mc.prototype;f.getAnnotation=function(){return Z(this,VV,4)};f.getVerbatim=function(){return Sj(this,YMc,102,dW)};f.getSpelling=function(){return Sj(this,RMc,103,dW)};f.getLetters=function(){return Sj(this,AMc,104,dW)};f.getAbbreviation=function(){return Sj(this,gMc,105,dW)};f.getNumber=function(){return Sj(this,aW,107,dW)};f.getOrdinal=function(){return Sj(this,KMc,108,dW)};f.setOrdinal=function(a){return ho(this,108,dW,a)};
f.getFraction=function(){return Sj(this,yMc,109,dW)};f.getTime=function(){return Sj(this,VMc,111,dW)};f.setTime=function(a){return ho(this,111,dW,a)};f.getDuration=function(){return Sj(this,rMc,112,dW)};f.getMeasure=function(){return Sj(this,bW,113,dW)};f.getDate=function(){return Sj(this,ZV,114,dW)};f.setDate=function(a){return ho(this,114,dW,a)};f.getTelephone=function(){return Sj(this,TMc,115,dW)};f.getMoney=function(){return Sj(this,HMc,116,dW)};
f.getElectronic=function(){return Sj(this,uMc,117,dW)};f.getEmoticonEmoji=function(){return Sj(this,wMc,118,dW)};f.getChemicalFormula=function(){return Sj(this,YV,119,dW)};f.getConnector=function(){return Sj(this,lMc,120,dW)};$Mc.repeatedFields_=[5];var dW=[100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120];$Mc.prototype.toObject=function(){return aNc(this)};
var aNc=function(a){if(null!=a)return t(a),{ownIndex:p(Os(a,1)),inputTextConnector:p(m(a,3)),inputText:p(m(a,2)),annotation:WV(a.getAnnotation()),verbalizedWordsList:Kb(aj(a,dMc,5),fMc),passthroughVerbalizedWords:p(ar(a,9)),tokenPrefix:p(m(a,6)),tokenSuffix:p(m(a,7)),originalStartPosition:cMc(Z(a,bMc,8)),word:p(po(a,100,dW)),punctuationOrPause:OMc(Sj(a,NMc,101,dW)),verbatim:ZMc(a.getVerbatim()),spelling:SMc(a.getSpelling()),letters:BMc(a.getLetters()),abbreviation:hMc(a.getAbbreviation()),romanNumeral:QMc(Sj(a,
PMc,106,dW)),number:DMc(a.getNumber()),ordinal:LMc(a.getOrdinal()),fraction:zMc(a.getFraction()),digits:qMc(Sj(a,$V,110,dW)),time:XMc(a.getTime()),duration:tMc(a.getDuration()),measure:GMc(a.getMeasure()),date:pMc(a.getDate()),telephone:UMc(a.getTelephone()),money:JMc(a.getMoney()),electronic:vMc(a.getElectronic()),emoticonEmoji:xMc(a.getEmoticonEmoji()),chemicalFormula:kMc(a.getChemicalFormula()),connector:mMc(a.getConnector())}};var bNc=function(a){r.call(this,a,5)};U(bNc,r);bNc.prototype.getAnnotation=function(){return Z(this,VV,2)};var cNc={};bNc.repeatedFields_=[1,3];bNc.prototype.toObject=function(){return dNc(this)};var dNc=function(a){if(null!=a){t(a);var b={piecesList:Kb(aj(a,$Mc,1),aNc),annotation:WV(a.getAnnotation()),spanAnnotationsList:Kb(aj(a,$Lc,3),aMc),attemptSentenceSplitting:p(ar(a,4))};Nb(a,b,cNc);return b}};var eW=function(a){r.call(this,a)};U(eW,r);eW.prototype.getUrl=function(){return V(this,1)};eW.prototype.setUrl=function(a){return n(this,1,a)};eW.prototype.hasUrl=function(){return wk(this,1)};eW.prototype.toObject=function(){return eNc(this)};var eNc=function(a){if(null!=a)return t(a),{url:p(m(a,1))}};var fNc=function(a){r.call(this,a)};U(fNc,r);f=fNc.prototype;f.getData=function(){return Gj(this,2)};f.setData=function(a){return n(this,2,Va(a,!1,!1))};f.clearData=function(){return Js(this,2)};f.setEncoding=function(a){return n(this,3,a)};f.toObject=function(){return gNc(this)};var gNc=function(a){if(null!=a)return t(a),{sampleRate:p(Os(a,1)),data:Pb(a.getData()),encoding:p(kr(a,3))}};var hNc=function(a){r.call(this,a)};U(hNc,r);var iNc=[1,2];hNc.prototype.toObject=function(){return jNc(this)};var jNc=function(a){if(null!=a)return t(a),{soundData:gNc(Sj(a,fNc,1,iNc)),externalAudio:eNc(Sj(a,eW,2,iNc))}};var kNc=function(a){r.call(this,a)};U(kNc,r);var lNc=[2,3,4];kNc.prototype.toObject=function(){return mNc(this)};var mNc=function(a){if(null!=a)return t(a),{ownIndex:p(Os(a,1)),utterance:dNc(Sj(a,bNc,2,lNc)),maybeMultiSentence:ZLc(Sj(a,XV,3,lNc)),sound:jNc(Sj(a,hNc,4,lNc))}};var nNc=function(a){r.call(this,a,3)};U(nNc,r);nNc.prototype.getAnnotation=function(){return Z(this,VV,2)};var oNc={};nNc.repeatedFields_=[1];nNc.prototype.toObject=function(){return pNc(this)};var pNc=function(a){if(null!=a){t(a);var b={contentsList:Kb(aj(a,kNc,1),mNc),annotation:WV(a.getAnnotation())};Nb(a,b,oNc);return b}};var qNc=function(a){r.call(this,a)};U(qNc,r);qNc.prototype.getNumber=function(){return W(this,4,0)};qNc.prototype.toObject=function(){return rNc(this)};var rNc=function(a){if(null!=a)return t(a),{pos:p(kr(a,1)),gender:p(kr(a,2)),animacy:p(kr(a,3)),number:p(kr(a,4))}};var fW=function(a){r.call(this,a)};U(fW,r);fW.prototype.getId=function(){return V(this,1)};fW.prototype.setId=function(a){return n(this,1,a)};fW.prototype.toObject=function(){return sNc(this)};var sNc=function(a){if(null!=a)return t(a),{id:p(m(a,1)),v:p(m(a,2)),t:p(kr(a,3))}};var gW=function(a){r.call(this,a)};U(gW,r);gW.prototype.getId=function(){return V(this,1)};gW.prototype.setId=function(a){return n(this,1,a)};gW.prototype.toObject=function(){return tNc(this)};var tNc=function(a){if(null!=a)return t(a),{id:p(m(a,1)),v:p(m(a,2))}};var hW=function(a){r.call(this,a)};U(hW,r);hW.prototype.getId=function(){return V(this,1)};hW.prototype.setId=function(a){return n(this,1,a)};hW.prototype.setP=function(a){return Fs(this,2,fW,a)};hW.prototype.setS=function(a){Fs(this,3,gW,a)};hW.repeatedFields_=[2,3,7];hW.prototype.toObject=function(){return uNc(this)};
var uNc=function(a){if(null!=a)return t(a),{id:p(m(a,1)),pList:Kb(aj(a,fW,2),sNc),sList:Kb(aj(a,gW,3),tNc),c:p(m(a,4)),syn:W(a,5,0),m:rNc(Z(a,qNc,6)),altList:p(Ih(a,7)),obs:p(ar(a,8)),languageOfOrigin:p(m(a,9))}};var vNc=function(a){r.call(this,a)};U(vNc,r);vNc.prototype.toObject=function(){return wNc(this)};var wNc=function(a){if(null!=a)return t(a),{incompleteAtStart:p(ar(a,1)),incompleteAtEnd:p(ar(a,2))}};var iW=function(a){r.call(this,a)};U(iW,r);iW.prototype.getNumber=function(){return W(this,2,0)};iW.prototype.toObject=function(){return jW(this)};var jW=function(a){if(null!=a)return t(a),{caseMarker:p(kr(a,1)),number:p(kr(a,2)),gender:p(kr(a,3)),declension:p(kr(a,4)),definiteness:p(kr(a,5)),animacy:p(kr(a,6))}};var xNc=function(a){r.call(this,a)};U(xNc,r);f=xNc.prototype;f.getNumber=function(){return V(this,1)};f.getName=function(){return V(this,3)};f.setName=function(a){return n(this,3,a)};f.hasName=function(){return wk(this,3)};f.getNameOrUndefined=function(){return dt(this,3)};f.getStructuredFeatures=function(){return Z(this,iW,9)};xNc.repeatedFields_=[8];xNc.prototype.toObject=function(){return yNc(this)};
var yNc=function(a){if(null!=a)return t(a),{number:p(m(a,1)),dependentName:p(m(a,2)),name:p(m(a,3)),premises:p(m(a,4)),subpremises:p(m(a,5)),morphosyntacticFeatures:p(m(a,6)),structuredFeatures:jW(a.getStructuredFeatures()),preserveOrder:Jj(a,7,!0),fieldOrderList:p(Ih(a,8))}};var zNc=function(a){r.call(this,a)};U(zNc,r);zNc.prototype.getStructuredFeatures=function(){return Z(this,iW,13)};zNc.repeatedFields_=[12];zNc.prototype.toObject=function(){return ANc(this)};
var ANc=function(a){if(null!=a)return t(a),{thoroughfare:yNc(Z(a,xNc,1)),dependentLocality:p(m(a,2)),locality:p(m(a,3)),subadminArea:p(m(a,4)),adminArea:p(m(a,5)),countryName:p(m(a,6)),postCode:p(m(a,7)),poBox:p(m(a,8)),morphosyntacticFeatures:p(m(a,9)),structuredFeatures:jW(a.getStructuredFeatures()),preserveOrder:Jj(a,10,!0),codeSwitch:p(m(a,11)),fieldOrderList:p(Ih(a,12))}};var BNc=function(a){r.call(this,a)};U(BNc,r);f=BNc.prototype;f.getText=function(){return V(this,1)};f.setText=function(a){return n(this,1,a)};f.getExpansion=function(){return V(this,5)};f.setExpansion=function(a){n(this,5,a)};f.getStructuredFeatures=function(){return Z(this,iW,4)};f.toObject=function(){return CNc(this)};
var CNc=function(a){if(null!=a)return t(a),{text:p(m(a,1)),expansion:p(m(a,5)),morphosyntacticFeatures:p(m(a,2)),structuredFeatures:jW(a.getStructuredFeatures()),codeSwitch:p(m(a,3))}};var kW=function(a){r.call(this,a)};U(kW,r);kW.prototype.getStructuredFeatures=function(){return Z(this,iW,6)};kW.repeatedFields_=[5];kW.prototype.toObject=function(){return DNc(this)};var DNc=function(a){if(null!=a)return t(a),{integer:p(m(a,1)),morphosyntacticFeatures:p(m(a,2)),structuredFeatures:jW(a.getStructuredFeatures()),preserveOrder:p(ar(a,3)),codeSwitch:p(m(a,4)),fieldOrderList:p(Ih(a,5))}};var ENc=function(a){r.call(this,a)};U(ENc,r);ENc.prototype.toObject=function(){return FNc(this)};var FNc=function(a){if(null!=a)return t(a),{symbol:p(m(a,1)),numUnits:p(m(a,2))}};var lW=function(a){r.call(this,a)};U(lW,r);lW.prototype.getType=function(){return V(this,2)};lW.prototype.setType=function(a){return n(this,2,a)};lW.prototype.hasType=function(){return wk(this,2)};lW.repeatedFields_=[1];lW.prototype.toObject=function(){return GNc(this)};var GNc=function(a){if(null!=a)return t(a),{unitList:Kb(aj(a,ENc,1),FNc),type:p(m(a,2)),charge:p(ar(a,3)),codeSwitch:p(m(a,4))}};var HNc=function(a){r.call(this,a)};U(HNc,r);f=HNc.prototype;f.getType=function(){return V(this,1)};f.setType=function(a){return n(this,1,a)};f.hasType=function(){return wk(this,1)};f.getStructuredFeatures=function(){return Z(this,iW,4)};f.toObject=function(){return INc(this)};var INc=function(a){if(null!=a)return t(a),{type:p(m(a,1)),morphosyntacticFeatures:p(m(a,2)),structuredFeatures:jW(a.getStructuredFeatures()),codeSwitch:p(m(a,3))}};var JNc=function(a){r.call(this,a)};U(JNc,r);f=JNc.prototype;f.getDay=function(){return V(this,2)};f.setDay=function(a){n(this,2,a)};f.getMonth=function(){return V(this,3)};f.setMonth=function(a){return n(this,3,a)};f.getYear=function(){return V(this,4)};f.setYear=function(a){return n(this,4,a)};f.getStyle=function(){return Gh(this,5)};f.setStyle=function(a){return n(this,5,a)};f.getText=function(){return V(this,6)};f.setText=function(a){return n(this,6,a)};
f.getStructuredFeatures=function(){return Z(this,iW,13)};JNc.repeatedFields_=[12];JNc.prototype.toObject=function(){return KNc(this)};
var KNc=function(a){if(null!=a)return t(a),{weekday:p(m(a,1)),day:p(m(a,2)),dayIndicator:p(m(a,14)),month:p(m(a,3)),monthIndicator:p(m(a,15)),year:p(m(a,4)),yearIndicator:p(m(a,16)),style:p(Os(a,5)),text:p(m(a,6)),shortYear:p(ar(a,7)),era:p(m(a,8)),morphosyntacticFeatures:p(m(a,9)),structuredFeatures:jW(a.getStructuredFeatures()),preserveOrder:p(ar(a,10)),codeSwitch:p(m(a,11)),fieldOrderList:p(Ih(a,12))}};var mW=function(a){r.call(this,a)};U(mW,r);mW.prototype.getStyle=function(){return Gh(this,6)};mW.prototype.setStyle=function(a){return n(this,6,a)};mW.prototype.getStructuredFeatures=function(){return Z(this,iW,11)};mW.repeatedFields_=[10];mW.prototype.toObject=function(){return LNc(this)};
var LNc=function(a){if(null!=a)return t(a),{negative:p(ar(a,1)),integerPart:p(m(a,2)),fractionalPart:p(m(a,3)),quantity:p(m(a,4)),exponent:p(m(a,5)),style:p(Os(a,6)),morphosyntacticFeatures:p(m(a,7)),structuredFeatures:jW(a.getStructuredFeatures()),preserveOrder:p(ar(a,8)),codeSwitch:p(m(a,9)),fieldOrderList:p(Ih(a,10))}};var MNc=function(a){r.call(this,a)};U(MNc,r);f=MNc.prototype;f.getProtocol=function(){return V(this,1)};f.setProtocol=function(a){n(this,1,a)};f.getDomain=function(){return V(this,4)};f.setDomain=function(a){return n(this,4,a)};f.hasDomain=function(){return wk(this,4)};f.getPort=function(){return Gh(this,5)};f.setPort=function(a){return n(this,5,a)};f.hasPort=function(){return Ek(this,5)};f.getPath=function(){return V(this,6)};f.setPath=function(a){return n(this,6,a)};
f.hasPath=function(){return wk(this,6)};f.getQueryString=function(){return V(this,7)};f.setQueryString=function(a){n(this,7,a)};f.getStructuredFeatures=function(){return Z(this,iW,13)};MNc.repeatedFields_=[12];MNc.prototype.toObject=function(){return NNc(this)};
var NNc=function(a){if(null!=a)return t(a),{protocol:p(m(a,1)),username:p(m(a,2)),password:p(m(a,3)),domain:p(m(a,4)),port:p(Os(a,5)),path:p(m(a,6)),queryString:p(m(a,7)),fragmentId:p(m(a,8)),morphosyntacticFeatures:p(m(a,9)),structuredFeatures:jW(a.getStructuredFeatures()),preserveOrder:p(ar(a,10)),codeSwitch:p(m(a,11)),fieldOrderList:p(Ih(a,12))}};var ONc=function(a){r.call(this,a)};U(ONc,r);f=ONc.prototype;f.getText=function(){return V(this,1)};f.setText=function(a){return n(this,1,a)};f.getType=function(){return W(this,3,0)};f.setType=function(a){return n(this,3,a)};f.hasType=function(){return fj(this,3)};f.toObject=function(){return PNc(this)};var PNc=function(a){if(null!=a)return t(a),{text:p(m(a,1)),occurrences:p(Os(a,2)),type:p(kr(a,3)),codeSwitch:p(m(a,4))}};var nW=function(a){r.call(this,a)};U(nW,r);nW.prototype.getStyle=function(){return Gh(this,4)};nW.prototype.setStyle=function(a){return n(this,4,a)};nW.prototype.getStructuredFeatures=function(){return Z(this,iW,10)};nW.repeatedFields_=[9];nW.prototype.toObject=function(){return QNc(this)};
var QNc=function(a){if(null!=a)return t(a),{integerPart:p(m(a,1)),numerator:p(m(a,2)),denominator:p(m(a,3)),style:p(Os(a,4)),morphosyntacticFeatures:p(m(a,5)),structuredFeatures:jW(a.getStructuredFeatures()),preserveOrder:p(ar(a,6)),codeSwitch:p(m(a,7)),negative:p(ar(a,8)),fieldOrderList:p(Ih(a,9))}};var RNc=function(a){r.call(this,a)};U(RNc,r);RNc.prototype.getId=function(){return V(this,1)};RNc.prototype.setId=function(a){return n(this,1,a)};RNc.prototype.toObject=function(){return SNc(this)};var SNc=function(a){if(null!=a)return t(a),{id:p(m(a,1)),variant:p(m(a,2)),tokenName:p(m(a,3)),pitchAccentPhraseStart:p(ar(a,4))}};var TNc=function(a){r.call(this,a)};U(TNc,r);f=TNc.prototype;f.getDecimal=function(){return Z(this,mW,1)};f.getFraction=function(){return Z(this,nW,2)};f.getCardinal=function(){return Z(this,kW,3)};f.getUnits=function(){return V(this,4)};f.getStyle=function(){return Gh(this,5)};f.setStyle=function(a){return n(this,5,a)};f.getStructuredFeatures=function(){return Z(this,iW,10)};TNc.repeatedFields_=[9];TNc.prototype.toObject=function(){return UNc(this)};
var UNc=function(a){if(null!=a)return t(a),{decimal:LNc(a.getDecimal()),fraction:QNc(a.getFraction()),cardinal:DNc(a.getCardinal()),units:p(m(a,4)),style:p(Os(a,5)),morphosyntacticFeatures:p(m(a,6)),structuredFeatures:jW(a.getStructuredFeatures()),preserveOrder:p(ar(a,7)),codeSwitch:p(m(a,8)),fieldOrderList:p(Ih(a,9))}};var oW=function(a){r.call(this,a)};U(oW,r);oW.prototype.getAmount=function(){return Z(this,mW,1)};oW.prototype.getStyle=function(){return Gh(this,4)};oW.prototype.setStyle=function(a){return n(this,4,a)};oW.prototype.getStructuredFeatures=function(){return Z(this,iW,9)};oW.repeatedFields_=[8];oW.prototype.toObject=function(){return VNc(this)};
var VNc=function(a){if(null!=a)return t(a),{amount:LNc(a.getAmount()),quantity:p(m(a,2)),stringQuantity:p(m(a,10)),currency:p(m(a,3)),style:p(Os(a,4)),morphosyntacticFeatures:p(m(a,5)),structuredFeatures:jW(a.getStructuredFeatures()),preserveOrder:p(ar(a,6)),codeSwitch:p(m(a,7)),fieldOrderList:p(Ih(a,8))}};var WNc=function(a){r.call(this,a)};U(WNc,r);WNc.prototype.getStructuredFeatures=function(){return Z(this,iW,6)};WNc.repeatedFields_=[5];WNc.prototype.toObject=function(){return XNc(this)};var XNc=function(a){if(null!=a)return t(a),{integer:p(m(a,1)),morphosyntacticFeatures:p(m(a,2)),structuredFeatures:jW(a.getStructuredFeatures()),preserveOrder:p(ar(a,3)),codeSwitch:p(m(a,4)),fieldOrderList:p(Ih(a,5)),definiteArticle:p(ar(a,7))}};var YNc=function(a){r.call(this,a)};U(YNc,r);YNc.prototype.toObject=function(){return ZNc(this)};var ZNc=function(a){if(null!=a)return t(a),{graphemes:p(m(a,1)),chunkSize:p(Os(a,2)),expressCapitalization:p(ar(a,3))}};var pW=function(a){r.call(this,a)};U(pW,r);pW.prototype.getStyle=function(){return Gh(this,4)};pW.prototype.setStyle=function(a){return n(this,4,a)};pW.prototype.getStructuredFeatures=function(){return Z(this,iW,9)};pW.repeatedFields_=[2,8];pW.prototype.toObject=function(){return $Nc(this)};
var $Nc=function(a){if(null!=a)return t(a),{countryCode:p(m(a,1)),numberPartList:p(Ih(a,2)),extension_3:p(m(a,3)),style:p(Os(a,4)),morphosyntacticFeatures:p(m(a,5)),structuredFeatures:jW(a.getStructuredFeatures()),preserveOrder:p(ar(a,6)),codeSwitch:p(m(a,7)),fieldOrderList:p(Ih(a,8))}};var aOc=function(a){r.call(this,a)};U(aOc,r);f=aOc.prototype;f.getHours=function(){return Gh(this,1)};f.setHours=function(a){return n(this,1,a)};f.getMinutes=function(){return Gh(this,2)};f.setMinutes=function(a){return n(this,2,a)};f.getSeconds=function(){return Gh(this,3)};f.setSeconds=function(a){return n(this,3,a)};f.getMilliseconds=function(){return Gh(this,8)};f.setMilliseconds=function(a){return n(this,8,a)};f.getStyle=function(){return Gh(this,6)};f.setStyle=function(a){return n(this,6,a)};
f.getZone=function(){return V(this,7)};f.getStructuredFeatures=function(){return Z(this,iW,13)};f.getDuration=function(){return Jj(this,14)};aOc.repeatedFields_=[12];aOc.prototype.toObject=function(){return bOc(this)};
var bOc=function(a){if(null!=a)return t(a),{hours:p(Os(a,1)),minutes:p(Os(a,2)),seconds:p(Os(a,3)),milliseconds:p(Os(a,8)),speakPeriod:p(ar(a,4)),suffix:p(m(a,5)),style:p(Os(a,6)),zone:p(m(a,7)),morphosyntacticFeatures:p(m(a,9)),structuredFeatures:jW(a.getStructuredFeatures()),preserveOrder:p(ar(a,10)),codeSwitch:p(m(a,11)),fieldOrderList:p(Ih(a,12)),duration:p(ar(a,14))}};var cOc=function(a){r.call(this,a)};U(cOc,r);cOc.prototype.toObject=function(){return dOc(this)};var dOc=function(a){if(null!=a)return t(a),{vuiId:p(m(a,1)),stageName:p(m(a,2))}};var eOc=function(a){r.call(this,a)};U(eOc,r);eOc.repeatedFields_=[1];eOc.prototype.toObject=function(){return fOc(this)};var fOc=function(a){if(null!=a)return t(a),{foreignLanguageHintList:p(Ih(a,1)),foreignLanguageOverride:p(ar(a,2))}};var gOc=function(a){r.call(this,a)};U(gOc,r);gOc.prototype.toObject=function(){return hOc(this)};var hOc=function(a){if(null!=a)return t(a),{arousal:p(Os(a,1)),valence:p(Os(a,2)),emotion:p(kr(a,3))}};var iOc=function(a){r.call(this,a)};U(iOc,r);iOc.prototype.toObject=function(){return jOc(this)};var jOc=function(a){if(null!=a)return t(a),{prominenceLevel:p(kr(a,1)),prominenceType:p(kr(a,2))}};var kOc=function(a){r.call(this,a)};U(kOc,r);kOc.prototype.getProminence=function(){return Z(this,iOc,4)};kOc.repeatedFields_=[9];kOc.prototype.toObject=function(){return lOc(this)};
var lOc=function(a){if(null!=a)return t(a),{containsAccent:p(ar(a,1)),containsNucleus:p(ar(a,2)),intonationType:p(kr(a,3)),prominence:jOc(a.getProminence()),containsPause:p(ar(a,5)),precedesPause:p(ar(a,6)),ratedProminence:p(Gs(a,7)),isExpressive:p(ar(a,8)),vuiProsodyStyleList:p(Ih(a,9)),emotionDimensions:hOc(Z(a,gOc,10)),speakingStyle:p(kr(a,11)),phonationMode:p(kr(a,12))}};var mOc=function(a){r.call(this,a)};U(mOc,r);mOc.prototype.toObject=function(){return nOc(this)};var nOc=function(a){if(null!=a)return t(a),{method:p(kr(a,1))}};var oOc=function(a){r.call(this,a)};U(oOc,r);oOc.prototype.getText=function(){return V(this,1)};oOc.prototype.setText=function(a){return n(this,1,a)};oOc.prototype.toObject=function(){return pOc(this)};var pOc=function(a){if(null!=a)return t(a),{text:p(m(a,1)),pronunciation:p(m(a,2))}};var qOc=function(a){r.call(this,a)};U(qOc,r);f=qOc.prototype;f.getTime=function(){return hj(this,1)};f.setTime=function(a){return Ns(this,1,a)};f.getValue=function(){return hj(this,2)};f.setValue=function(a){return Ns(this,2,a)};f.hasValue=function(){return null!=Gs(this,2)};f.toObject=function(){return rOc(this)};var rOc=function(a){if(null!=a)return t(a),{time:p(Gs(a,1)),value:p(Gs(a,2))}};var sOc=function(a){r.call(this,a)};U(sOc,r);sOc.prototype.getSampleList=function(){return aj(this,qOc,1)};sOc.repeatedFields_=[1];sOc.prototype.toObject=function(){return tOc(this)};var tOc=function(a){if(null!=a)return t(a),{sampleList:Kb(a.getSampleList(),rOc),timeAddressing:W(a,2,0)}};var uOc=function(a){r.call(this,a)};U(uOc,r);uOc.prototype.toObject=function(){return vOc(this)};var vOc=function(a){if(null!=a)return t(a),{mean:p(Gs(a,1)),deviation:hj(a,2,1)}};var wOc=function(a){r.call(this,a)};U(wOc,r);wOc.prototype.getSampleList=function(){return aj(this,qOc,1)};wOc.repeatedFields_=[1];wOc.prototype.toObject=function(){return xOc(this)};var xOc=function(a){if(null!=a)return t(a),{sampleList:Kb(a.getSampleList(),rOc),deviation:hj(a,2,1),timeAddressing:W(a,3,0)}};var yOc=function(a){r.call(this,a)};U(yOc,r);f=yOc.prototype;f.getItem=function(){return W(this,2,2)};f.setItem=function(a){return n(this,2,a)};f.getItemIndex=function(){return Gh(this,3,-1)};f.getInterval=function(){return W(this,4,0)};f.setInterval=function(a){return n(this,4,a)};f.clearInterval=function(){return Js(this,4)};f.getTransform=function(){return W(this,6,0)};f.setTransform=function(a){return n(this,6,a)};f.getMorphing=function(){return Z(this,SV,12)};yOc.repeatedFields_=[8];
yOc.prototype.toObject=function(){return zOc(this)};var zOc=function(a){if(null!=a)return t(a),{wordIndex:Gh(a,1,-1),item:W(a,2,2),itemIndex:Gh(a,3,-1),interval:W(a,4,0),spanId:Qs(a,5,0),transform:W(a,6,0),factor:p(kr(a,7)),operatorParamsList:Kb(aj(a,qOc,8),rOc),meanParams:vOc(Z(a,uOc,9)),piecewiseParams:xOc(Z(a,wOc,10)),copycatParams:tOc(Z(a,sOc,11)),morphing:ILc(a.getMorphing())}};var AOc=function(a){r.call(this,a)};U(AOc,r);AOc.prototype.toObject=function(){return BOc(this)};var BOc=function(a){if(null!=a)return t(a),{t:p(Gs(a,1)),v:p(Gs(a,2)),deviation:hj(a,3,1)}};var COc=function(a){r.call(this,a)};U(COc,r);COc.repeatedFields_=[1,5];COc.prototype.toObject=function(){return DOc(this)};var DOc=function(a){if(null!=a)return t(a),{f0TargetList:Kb(aj(a,AOc,1),BOc),f0Scale:p(Gs(a,2)),durScale:p(Gs(a,3)),wordsPerMinute:p(Os(a,4)),advancedList:Kb(aj(a,yOc,5),zOc),f0DeviationScaling:hj(a,6,1)}};var EOc=function(a){r.call(this,a,43)};U(EOc,r);f=EOc.prototype;f.getText=function(){return Xs(this,1,qW)};f.setText=function(a){return $n(this,1,qW,a)};f.getCardinal=function(){return Sj(this,kW,3,qW)};f.getOrdinal=function(){return Sj(this,WNc,4,qW)};f.setOrdinal=function(a){return ho(this,4,qW,a)};f.getDecimal=function(){return Sj(this,mW,5,qW)};f.getFraction=function(){return Sj(this,nW,6,qW)};f.getTime=function(){return Sj(this,aOc,7,qW)};f.setTime=function(a){return ho(this,7,qW,a)};
f.getMeasure=function(){return Sj(this,TNc,8,qW)};f.getDate=function(){return Sj(this,JNc,9,qW)};f.setDate=function(a){return ho(this,9,qW,a)};f.getAddress=function(){return Sj(this,zNc,10,qW)};f.getTelephone=function(){return Sj(this,pW,11,qW)};f.getMoney=function(){return Sj(this,oW,12,qW)};f.getElectronic=function(){return Sj(this,MNc,13,qW)};f.getChemicalFormula=function(){return Sj(this,lW,14,qW)};f.getLetters=function(){return Xs(this,18,qW)};f.getVerbatim=function(){return Xs(this,19,qW)};
f.getConnector=function(){return Sj(this,HNc,36,qW)};f.getAbbreviation=function(){return Sj(this,BNc,37,qW)};f.getEmoticonEmoji=function(){return Sj(this,ONc,41,qW)};f.getStructuredFeatures=function(){return Z(this,iW,28)};f.getLocation=function(){return Z(this,QV,23)};f.getCrossLingual=function(){return Z(this,eOc,27)};f.getSynthesizerSelection=function(){return Z(this,mOc,30)};f.getPrefix=function(){return V(this,33)};f.setPrefix=function(a){n(this,33,a)};var FOc={};EOc.repeatedFields_=[17,34,26];
var qW=[1,3,4,5,6,7,8,9,10,11,12,13,14,15,16,18,19,21,25,32,36,37,41];EOc.prototype.toObject=function(){return GOc(this)};
var GOc=function(a){if(null!=a){t(a);var b={text:p(po(a,1,qW)),cardinal:DNc(a.getCardinal()),ordinal:XNc(a.getOrdinal()),decimal:LNc(a.getDecimal()),fraction:QNc(a.getFraction()),digit:p(po(a,15,qW)),time:bOc(a.getTime()),measure:UNc(a.getMeasure()),date:KNc(a.getDate()),address:ANc(a.getAddress()),telephone:$Nc(a.getTelephone()),money:VNc(a.getMoney()),electronic:NNc(a.getElectronic()),chemicalFormula:GNc(a.getChemicalFormula()),words:p(po(a,16,qW)),letters:p(po(a,18,qW)),verbatim:p(po(a,19,qW)),
pause:p(oo(a,21,qW)),spell:ZNc(Sj(a,YNc,32,qW)),verbalInfo:pOc(Sj(a,oOc,25,qW)),connector:INc(a.getConnector()),abbreviation:CNc(a.getAbbreviation()),emoticonEmoji:PNc(a.getEmoticonEmoji()),wordSequenceList:Kb(aj(a,RNc,17),SNc),passthroughWordSequence:p(ar(a,42)),voicemod:DOc(Z(a,COc,20)),morphosyntacticFeatures:p(m(a,2)),structuredFeatures:jW(a.getStructuredFeatures()),prosodicFeatures:lOc(Z(a,kOc,22)),location:qLc(a.getLocation()),knowledgeGraphMidList:p(Ih(a,34)),conciseEmoji:p(ar(a,24)),audioSourceList:Kb(aj(a,
cOc,26),dOc),crossLingual:fOc(a.getCrossLingual()),foreignScript:p(m(a,39)),textnormLevel:p(kr(a,29)),synthesizerSelection:nOc(a.getSynthesizerSelection()),bleep:p(ar(a,31)),prefix:p(m(a,33)),suffix:p(m(a,35)),timepointName:p(m(a,38)),noCelebrity:p(ar(a,40))};Nb(a,b,FOc);return b}};var rW=function(a){r.call(this,a,15)};U(rW,r);f=rW.prototype;f.getEntryList=function(){return aj(this,hW,2)};f.getMorphing=function(){return Z(this,SV,6)};f.getSynthesizerSelection=function(){return Z(this,mOc,7)};f.getContext=function(){return Z(this,HOc,10)};f.getPerformanceOptions=function(){return Z(this,ELc,12)};f.getPartialSentenceProsody=function(){return Z(this,vNc,14)};var IOc={},HOc=function(a){r.call(this,a)};U(HOc,r);rW.repeatedFields_=[1,2];rW.prototype.toObject=function(){return JOc(this)};
var JOc=function(a){if(null!=a){t(a);var b={sayList:Kb(aj(a,EOc,1),GOc),entryList:Kb(a.getEntryList(),uNc),morphing:ILc(a.getMorphing()),synthesizerSelection:nOc(a.getSynthesizerSelection()),outputGain:hj(a,8,1),automaticSentenceSplitting:Jj(a,9,!0),context:KOc(a.getContext()),messageTemplateId:p(m(a,11)),performanceOptions:FLc(a.getPerformanceOptions()),bowdlerize:p(ar(a,13)),partialSentenceProsody:wNc(a.getPartialSentenceProsody())};Nb(a,b,IOc);return b}};HOc.repeatedFields_=[1,2];
HOc.prototype.toObject=function(){return KOc(this)};var KOc=function(a){if(null!=a)return t(a),{previousSentenceList:Kb(aj(a,rW,1),JOc),nextSentenceList:Kb(aj(a,rW,2),JOc)}};var LOc=function(a){r.call(this,a,3)};U(LOc,r);var MOc={};LOc.repeatedFields_=[1];LOc.prototype.toObject=function(){return NOc(this)};var NOc=function(a){if(null!=a){t(a);var b={sentenceList:Kb(aj(a,rW,1),JOc),lucid:pNc(Z(a,nNc,2))};Nb(a,b,MOc);return b}};var sW=function(a){r.call(this,a)};U(sW,r);f=sW.prototype;f.getText=function(){return V(this,1)};f.setText=function(a){return n(this,1,a)};f.setScore=function(a){Fs(this,2,AKc,a)};f.getAuthor=function(){return V(this,6)};f.setAuthor=function(a){n(this,6,a)};f.getPinned=function(){return Jj(this,7,!1)};f.getType=function(){return W(this,8,1)};f.setType=function(a){return n(this,8,a)};f.hasType=function(){return fj(this,8)};f.getSource=function(){return V(this,11)};
f.setSource=function(a){return n(this,11,a)};f.hasSource=function(){return wk(this,11)};f.getSourceOrUndefined=function(){return dt(this,11)};f.getDeliberationsList=function(){return aj(this,tW,14)};var tW=function(a){r.call(this,a)};U(tW,r);f=tW.prototype;f.getQuery=function(){return Z(this,sW,1)};f.setQuery=function(a){return Yi(this,sW,1,a)};f.clearQuery=function(){Js(this,1)};f.hasQuery=function(){return Dj(this,sW,1)};f.getResponse=function(){return Z(this,sW,2)};
f.setResponse=function(a){return Yi(this,sW,2,a)};f.getCandidatesList=function(){return aj(this,sW,7)};sW.repeatedFields_=[2,4,14];sW.prototype.toObject=function(){return uW(this)};
var uW=function(a){if(null!=a)return t(a),{src:p(m(a,9)),tgt:p(m(a,10)),text:p(m(a,1)),scoreList:Kb(aj(a,AKc,2),BKc),creationTime:yt(Z(a,Ch,3)),followUpsList:Kb(aj(a,yKc,4),zKc),translationHint:GKc(Z(a,KV,5)),author:p(m(a,6)),pinned:Jj(a,7,!1),type:W(a,8,1),source:p(m(a,11)),lmPrefix:p(m(a,12)),lmPrefixTokens:p(m(a,13)),deliberationsList:Kb(a.getDeliberationsList(),OOc),ttsMarkup:NOc(Z(a,LOc,15)),prewritten:p(ar(a,16)),fallback:p(ar(a,17))}};tW.repeatedFields_=[7];tW.prototype.toObject=function(){return OOc(this)};
var OOc=function(a){if(null!=a)return t(a),{query:uW(a.getQuery()),modifiedQuery:uW(Z(a,sW,4)),loadingNote:uW(Z(a,sW,5)),response:uW(a.getResponse()),completeNote:uW(Z(a,sW,6)),tool:p(m(a,3)),candidatesList:Kb(a.getCandidatesList(),uW)}};var vW=function(a){r.call(this,a)};U(vW,r);f=vW.prototype;f.getText=function(){return Xs(this,1,wW)};f.setText=function(a){return $n(this,1,wW,a)};f.getAction=function(){return Sj(this,tV,6,wW)};f.hasAction=function(){return Qj(this,tV,6,wW)};f.getNoAction=function(){return Sj(this,GIc,7,wW)};f.getScoresList=function(){return aj(this,zV,2)};f.getDeliberationsList=function(){return aj(this,tW,3)};f.getFeedbacksList=function(){return aj(this,HV,8)};f.getTagsList=function(){return Ih(this,11)};
f.getTags=function(a){return Us(this,11,a)};f.getToolLogsList=function(){return aj(this,BV,13)};f.getExecutionStepsList=function(){return aj(this,EV,15)};vW.repeatedFields_=[2,3,8,14,11,13,15];var wW=[1,6,7];vW.prototype.toObject=function(){return POc(this)};
var POc=function(a){if(null!=a)return t(a),{text:p(po(a,1,wW)),action:ZIc(a.getAction()),noAction:HIc(a.getNoAction()),completeness:nPb(Z(a,mPb,16)),scoresList:Kb(a.getScoresList(),CJc),deliberationsList:Kb(a.getDeliberationsList(),OOc),prewritten:p(ar(a,4)),fallback:p(ar(a,5)),feedbacksList:Kb(a.getFeedbacksList(),JV),rewritesList:Kb(aj(a,xJc,14),yJc),reward:p(Gs(a,9)),recitation:wJc(Z(a,vJc,10)),tagsList:p(Ih(a,11)),detectedLanguage:p(m(a,12)),toolLogsList:Kb(a.getToolLogsList(),YJc),executionStepsList:Kb(a.getExecutionStepsList(),
FV)}};var QOc=function(a){r.call(this,a)};U(QOc,r);QOc.prototype.getInstructionEval=function(){return Z(this,xV,2)};QOc.prototype.toObject=function(){return ROc(this)};var ROc=function(a){if(null!=a)return t(a),{responseCandidate:POc(Z(a,vW,1)),instructionEval:pJc(a.getInstructionEval())}};var SOc=function(a){r.call(this,a)};U(SOc,r);var TOc=[2,3];SOc.prototype.toObject=function(){return UOc(this)};var UOc=function(a){if(null!=a)return t(a),{traceId:Rs(a,1),react:kJc(Sj(a,jJc,2,TOc)),selfFix:ROc(Sj(a,QOc,3,TOc)),hidden:Jj(a,5)}};var VOc=function(a){r.call(this,a)};U(VOc,r);VOc.prototype.hasNext=function(){return Dj(this,hJc,1)};VOc.repeatedFields_=[2];VOc.prototype.toObject=function(){return WOc(this)};var WOc=function(a){if(null!=a)return t(a),{next:iJc(Z(a,hJc,1)),stepsList:Kb(aj(a,SOc,2),UOc)}};var XOc=function(a){r.call(this,a)};U(XOc,r);XOc.prototype.getText=function(){return V(this,1)};XOc.prototype.setText=function(a){return mj(this,1,a)};XOc.prototype.toObject=function(){return YOc(this)};var YOc=function(a){if(null!=a)return t(a),{text:V(a,1),characterName:V(a,2)}};var xW=function(a){r.call(this,a)};U(xW,r);xW.prototype.getQuery=function(){return V(this,1)};xW.prototype.setQuery=function(a){return mj(this,1,a)};xW.prototype.clearQuery=function(){Js(this,1)};xW.prototype.toObject=function(){return ZOc(this)};var ZOc=function(a){if(null!=a)return t(a),{query:V(a,1),answer:V(a,2)}};var $Oc=function(a){r.call(this,a)};U($Oc,r);$Oc.prototype.getFactsList=function(){return aj(this,xW,1)};$Oc.repeatedFields_=[1];$Oc.prototype.toObject=function(){return aPc(this)};var aPc=function(a){if(null!=a)return t(a),{factsList:Kb(a.getFactsList(),ZOc)}};var yW=function(a){r.call(this,a)};U(yW,r);yW.prototype.getLabel=function(){return W(this,3,0)};yW.prototype.setLabel=function(a){return n(this,3,a)};yW.prototype.hasLabel=function(){return fj(this,3)};yW.prototype.toObject=function(){return bPc(this)};var bPc=function(a){if(null!=a)return t(a),{entailScore:p(Gs(a,1)),contradictScore:p(Gs(a,2)),label:p(kr(a,3))}};var cPc=function(a){r.call(this,a)};U(cPc,r);f=cPc.prototype;f.getUrl=function(){return V(this,3)};f.setUrl=function(a){return n(this,3,a)};f.hasUrl=function(){return wk(this,3)};f.getTitle=function(){return V(this,4)};f.setTitle=function(a){return n(this,4,a)};f.getOrigin=function(){return W(this,5,0)};f.setOrigin=function(a){return n(this,5,a)};f.toObject=function(){return dPc(this)};
var dPc=function(a){if(null!=a)return t(a),{searchQuery:p(m(a,1)),searchResult:p(m(a,2)),url:p(m(a,3)),title:p(m(a,4)),origin:p(kr(a,5))}};var ePc=function(a){r.call(this,a)};U(ePc,r);f=ePc.prototype;f.getSource=function(){return Z(this,cPc,1)};f.setSource=function(a){return Yi(this,cPc,1,a)};f.hasSource=function(){return Dj(this,cPc,1)};f.getResult=function(){return Z(this,yW,2)};f.toObject=function(){return fPc(this)};var fPc=function(a){if(null!=a)return t(a),{source:dPc(a.getSource()),result:bPc(a.getResult())}};var gPc=function(a){r.call(this,a)};U(gPc,r);gPc.prototype.toObject=function(){return hPc(this)};var hPc=function(a){if(null!=a)return t(a),{startIndex:p(Os(a,1)),endIndex:p(Os(a,2))}};var iPc=function(a){r.call(this,a)};U(iPc,r);f=iPc.prototype;f.getScore=function(){return hj(this,1)};f.setScore=function(a){Ns(this,1,a)};f.getLabel=function(){return W(this,2,0)};f.setLabel=function(a){return n(this,2,a)};f.hasLabel=function(){return fj(this,2)};f.toObject=function(){return jPc(this)};var jPc=function(a){if(null!=a)return t(a),{score:p(Gs(a,1)),label:p(kr(a,2))}};var kPc=function(a){r.call(this,a)};U(kPc,r);f=kPc.prototype;f.getText=function(){return V(this,1)};f.setText=function(a){return n(this,1,a)};f.getInterval=function(){return Z(this,gPc,2)};f.setInterval=function(a){return Yi(this,gPc,2,a)};f.clearInterval=function(){return Js(this,2)};f.setSources=function(a){Fs(this,3,ePc,a)};kPc.repeatedFields_=[3];kPc.prototype.toObject=function(){return lPc(this)};
var lPc=function(a){if(null!=a)return t(a),{text:p(m(a,1)),interval:hPc(a.getInterval()),sourcesList:Kb(aj(a,ePc,3),fPc),requiresAttribution:jPc(Z(a,iPc,5))}};var mPc=function(a){r.call(this,a)};U(mPc,r);mPc.repeatedFields_=[1];mPc.prototype.toObject=function(){return nPc(this)};var nPc=function(a){if(null!=a)return t(a),{corroboratedSpansList:Kb(aj(a,kPc,1),lPc)}};var oPc=function(a){r.call(this,a)};U(oPc,r);oPc.prototype.toObject=function(){return pPc(this)};var pPc=function(a){if(null!=a)return t(a),{sentenceCoverage:hj(a,1),attributionResponse:nPc(Z(a,mPc,2))}};var qPc=function(a){r.call(this,a)};U(qPc,r);f=qPc.prototype;f.getName=function(){return V(this,1)};f.setName=function(a){return mj(this,1,a)};f.getVersion=function(){return V(this,2)};f.setVersion=function(a){return mj(this,2,a)};f.toObject=function(){return rPc(this)};var rPc=function(a){if(null!=a)return t(a),{name:V(a,1),version:V(a,2),split:W(a,3,0)}};var zW=function(a){r.call(this,a)};U(zW,r);f=zW.prototype;f.getValuesList=function(){return Hs(this,1)};f.setValuesList=function(a){tb(this,1,a,qba)};f.getValues=function(a){return PJb(this,1,a)};f.setValues=function(a,b){xb(this,1,a,pba(b),Hs)};f.getText=function(){return V(this,6)};f.setText=function(a){return n(this,6,a)};zW.repeatedFields_=[1];zW.prototype.toObject=function(){return sPc(this)};
var sPc=function(a){if(null!=a)return t(a),{valuesList:p(Hs(a,1)),embedderFingerprint:Rs(a,4),embedderKernelId:V(a,5),text:p(m(a,6))}};var AW=function(a){r.call(this,a)};U(AW,r);AW.prototype.getValueCase=function(){return Ci(this,tPc)};AW.prototype.getId=function(){return V(this,1)};AW.prototype.setId=function(a){return mj(this,1,a)};var tPc=[2];AW.prototype.toObject=function(){return uPc(this)};var uPc=function(a){if(null!=a)return t(a),{id:V(a,1),pb_boolean:p(Ys(a,2,tPc))}};var vPc=function(a){r.call(this,a)};U(vPc,r);vPc.prototype.toObject=function(){return wPc(this)};var wPc=function(a){if(null!=a)return t(a),{words:p(Ps(a,1)),sentences:p(Ps(a,2)),lines:p(Ps(a,3)),paragraphs:p(Ps(a,4))}};var xPc=function(a){r.call(this,a)};U(xPc,r);xPc.prototype.getResult=function(){return V(this,2)};xPc.prototype.toObject=function(){return yPc(this)};var yPc=function(a){if(null!=a)return t(a),{invocation:V(a,1),result:V(a,2),step:UOc(Z(a,SOc,3))}};var BW=function(a){r.call(this,a)};U(BW,r);f=BW.prototype;f.getText=function(){return V(this,1)};f.setText=function(a){return mj(this,1,a)};f.getAuthor=function(){return V(this,2)};f.setAuthor=function(a){mj(this,2,a)};f.getScoresList=function(){return aj(this,zV,4)};f.getActionsMetadata=function(){return Z(this,wV,12)};f.getEmbeddingsList=function(){return aj(this,zW,15)};f.getCreateTime=function(){return Z(this,DJc,19)};f.getSearchResultsList=function(){return aj(this,IV,24)};
f.getFeedbacksList=function(){return aj(this,HV,25)};f.getExecutionStepsList=function(){return aj(this,EV,28)};f.getStats=function(){return Z(this,vPc,29)};f.getToolLogsList=function(){return aj(this,BV,30)};BW.repeatedFields_=[4,15,16,24,25,27,28,30];BW.prototype.toObject=function(){return zPc(this)};
var zPc=function(a){if(null!=a)return t(a),{text:V(a,1),author:V(a,2),recipient:V(a,3),scoresList:Kb(a.getScoresList(),CJc),sensible:p(ar(a,5)),specific:p(ar(a,6)),interesting:p(ar(a,7)),safe:p(ar(a,8)),policyOk:p(ar(a,20)),goodResearch:p(ar(a,9)),assumedInfo:p(ar(a,10)),procrastinative:p(ar(a,11)),actionsMetadata:aJc(a.getActionsMetadata()),acceptanceScoreBad:p(ar(a,13)),researchNeeded:p(ar(a,14)),embeddingsList:Kb(a.getEmbeddingsList(),sPc),ratingsList:Kb(aj(a,AW,16),uPc),prematureFarewell:p(ar(a,
17)),reward:p(Gs(a,18)),createTime:FJc(a.getCreateTime()),renderedHtml:p(m(a,21)),traceId:p(m(a,22)),searchResultsList:Kb(a.getSearchResultsList(),xKc),feedbacksList:Kb(a.getFeedbacksList(),JV),viewPermission:p(kr(a,26)),toolsList:Kb(aj(a,xPc,27),yPc),executionStepsList:Kb(a.getExecutionStepsList(),FV),stats:wPc(a.getStats()),toolLogsList:Kb(a.getToolLogsList(),YJc)}};var CW=function(a){r.call(this,a)};U(CW,r);CW.prototype.getMessagesList=function(){return aj(this,BW,1)};CW.prototype.setMessagesList=function(a){return dj(this,1,a)};CW.repeatedFields_=[1];CW.prototype.toObject=function(){return APc(this)};var APc=function(a){if(null!=a)return t(a),{messagesList:Kb(a.getMessagesList(),zPc)}};var DW=function(a){r.call(this,a)};U(DW,r);DW.prototype.getTimestamp=function(){return Z(this,Ch,5)};DW.prototype.setTimestamp=function(a){return Yi(this,Ch,5,a)};DW.prototype.hasTimestamp=function(){return Dj(this,Ch,5)};DW.prototype.toObject=function(){return BPc(this)};var BPc=function(a){if(null!=a)return t(a),{descriptiveLocation:p(m(a,1)),descriptiveTimestamp:p(m(a,2)),city:p(m(a,3)),country:p(m(a,4)),timestamp:yt(a.getTimestamp()),timezone:p(m(a,6)),commonName:p(m(a,7))}};var CPc=function(a){r.call(this,a)};U(CPc,r);CPc.prototype.toObject=function(){return DPc(this)};var DPc=function(a){if(null!=a)return t(a),{inputsSchemaId:p(m(a,1)),targetsSchemaId:p(m(a,2)),inputsText:p(m(a,3)),fullSequenceText:p(m(a,4))}};var EW=function(a){r.call(this,a)};U(EW,r);EW.prototype.getText=function(){return V(this,1)};EW.prototype.setText=function(a){return n(this,1,a)};EW.prototype.toObject=function(){return EPc(this)};var EPc=function(a){if(null!=a)return t(a),{text:p(m(a,1))}};var FPc=function(a){r.call(this,a)};U(FPc,r);FPc.repeatedFields_=[1];FPc.prototype.toObject=function(){return GPc(this)};var GPc=function(a){if(null!=a)return t(a),{userFactsList:Kb(aj(a,EW,1),EPc)}};var HPc=function(a){r.call(this,a)};U(HPc,r);HPc.prototype.getReason=function(){return V(this,2)};HPc.prototype.setReason=function(a){mj(this,2,a)};HPc.prototype.toObject=function(){return IPc(this)};var IPc=function(a){if(null!=a)return t(a),{fallbackCategory:W(a,1,0),reason:V(a,2),takedownRegex:p(m(a,3)),classifierRuleMatch:p(m(a,4))}};var FW=function(a){r.call(this,a)};U(FW,r);FW.prototype.getContent=function(){return V(this,3)};FW.prototype.setContent=function(a){return mj(this,3,a)};FW.repeatedFields_=[6];FW.prototype.toObject=function(){return JPc(this)};var JPc=function(a){if(null!=a)return t(a),{depotPath:V(a,1),changelist:Gh(a,2),content:V(a,3),firstTokenIndex:Gh(a,4),numTokens:Gh(a,5),headingsList:p(Ih(a,6))}};var KPc=function(a){r.call(this,a)};U(KPc,r);f=KPc.prototype;f.getText=function(){return Xs(this,1,GW)};f.setText=function(a){return $n(this,1,GW,a)};f.getAction=function(){return Sj(this,tV,2,GW)};f.hasAction=function(){return Qj(this,tV,2,GW)};f.getNoAction=function(){return Sj(this,GIc,3,GW)};var GW=[1,2,3,4];KPc.prototype.toObject=function(){return LPc(this)};var LPc=function(a){if(null!=a)return t(a),{text:p(po(a,1,GW)),intValue:p(Zs(a,4,GW)),action:ZIc(a.getAction()),noAction:HIc(a.getNoAction())}};var MPc=function(a){r.call(this,a)};U(MPc,r);MPc.repeatedFields_=[2,3];MPc.prototype.toObject=function(){return NPc(this)};var NPc=function(a){if(null!=a)return t(a),{ocrText:p(m(a,1)),wholeImageEntitiesList:p(Ih(a,2)),imageRegionEntitiesList:p(Ih(a,3))}};var OPc=function(a){r.call(this,a)};U(OPc,r);OPc.prototype.toObject=function(){return PPc(this)};var PPc=function(a){if(null!=a)return t(a),{paliText:p(m(a,1))}};var QPc=function(a){r.call(this,a)};U(QPc,r);QPc.prototype.toObject=function(){return RPc(this)};var RPc=function(a){if(null!=a)return t(a),{lensResult:NPc(Z(a,MPc,1)),paliResult:PPc(Z(a,OPc,2))}};var HW=function(a){r.call(this,a)};U(HW,r);HW.prototype.getText=function(){return V(this,1)};HW.prototype.setText=function(a){return mj(this,1,a)};HW.prototype.getScoresList=function(){return aj(this,zV,2)};HW.repeatedFields_=[2];HW.prototype.toObject=function(){return SPc(this)};var SPc=function(a){if(null!=a)return t(a),{text:V(a,1),scoresList:Kb(a.getScoresList(),CJc)}};var IW=function(a){r.call(this,a)};U(IW,r);IW.prototype.getCode=function(){return V(this,1)};IW.prototype.setCode=function(a){return mj(this,1,a)};IW.prototype.getOutput=function(){return V(this,2)};IW.prototype.toObject=function(){return TPc(this)};var TPc=function(a){if(null!=a)return t(a),{code:V(a,1),output:p(m(a,2)),errorOutput:p(m(a,3)),exitCode:p(Os(a,4))}};var UPc=function(a){r.call(this,a)};U(UPc,r);UPc.prototype.setTimeout=function(a){return Yi(this,Eh,1,a)};UPc.prototype.clearTimeout=function(){return Js(this,1)};UPc.prototype.toObject=function(){return VPc(this)};
var VPc=function(a){if(null!=a){t(a);var b=$t(Z(a,Eh,1)),c=p(Gs(a,2)),d=p(Os(a,3)),e=p(Gs(a,4)),g=p(Os(a,5)),h=p(Gs(a,6));var l=sb(a,7,Gba);return{timeout:b,samplingTemperature:c,samplingTopK:d,samplingTopP:e,samplingMaxDecodingSteps:g,controlledDecodingAlphaSafety:h,experimentalSaxExtraInputsMap:Ob(l),imageModelName:p(m(a,8)),randomSeed:p(Os(a,9))}}};var JW=function(a){r.call(this,a)};U(JW,r);JW.prototype.getPrompt=function(){return V(this,1)};JW.prototype.setPrompt=function(a){return n(this,1,a)};JW.prototype.setInput=function(a){return Yi(this,lV,2,a)};JW.prototype.toObject=function(){return WPc(this)};var WPc=function(a){if(null!=a)return t(a),{prompt:p(m(a,1)),input:pV(Z(a,lV,2))}};var XPc=function(a){r.call(this,a)};U(XPc,r);f=XPc.prototype;f.getName=function(){return V(this,1)};f.setName=function(a){return n(this,1,a)};f.hasName=function(){return wk(this,1)};f.getNameOrUndefined=function(){return dt(this,1)};f.getDescription=function(){return V(this,2)};f.setDescription=function(a){return n(this,2,a)};f.hasDescription=function(){return wk(this,2)};f.setDisabled=function(a){Lj(this,3,a)};f.getSchema=function(){return Z(this,lV,5)};XPc.repeatedFields_=[4];
XPc.prototype.toObject=function(){return YPc(this)};var YPc=function(a){if(null!=a)return t(a),{name:p(m(a,1)),description:p(m(a,2)),disabled:p(ar(a,3)),demonstrationsList:Kb(aj(a,JW,4),WPc),schema:pV(a.getSchema())}};var KW=function(a){r.call(this,a)};U(KW,r);KW.repeatedFields_=[3];KW.prototype.toObject=function(){return ZPc(this)};var ZPc=function(a){if(null!=a)return t(a),{toolSpecsList:Kb(aj(a,XPc,3),YPc)}};var $Pc=function(a){r.call(this,a)};U($Pc,r);$Pc.prototype.getFactsList=function(){return aj(this,EW,1)};$Pc.repeatedFields_=[1];$Pc.prototype.toObject=function(){return aQc(this)};var aQc=function(a){if(null!=a)return t(a),{factsList:Kb(a.getFactsList(),EPc)}};var LW=function(a){r.call(this,a)};U(LW,r);LW.prototype.getQuery=function(){return V(this,1)};LW.prototype.setQuery=function(a){return mj(this,1,a)};LW.prototype.clearQuery=function(){Js(this,1)};LW.prototype.toObject=function(){return bQc(this)};var bQc=function(a){if(null!=a)return t(a),{query:V(a,1),answer:V(a,2)}};var cQc=function(a){r.call(this,a)};U(cQc,r);cQc.prototype.getFactsList=function(){return aj(this,LW,1)};cQc.repeatedFields_=[1];cQc.prototype.toObject=function(){return dQc(this)};var dQc=function(a){if(null!=a)return t(a),{factsList:Kb(a.getFactsList(),bQc)}};var eQc=function(a){r.call(this,a)};U(eQc,r);eQc.prototype.toObject=function(){return fQc(this)};var fQc=function(a){if(null!=a)return t(a),{videoId:V(a,1),videoTitle:V(a,2),channelId:V(a,3),channelTitle:V(a,4),keywords:V(a,5)}};var gQc=function(a){r.call(this,a)};U(gQc,r);gQc.repeatedFields_=[1];gQc.prototype.toObject=function(){return hQc(this)};var hQc=function(a){if(null!=a)return t(a),{videosList:Kb(aj(a,eQc,1),fQc)}};var iQc=function(a){r.call(this,a)};U(iQc,r);f=iQc.prototype;f.getUrl=function(){return V(this,1)};f.setUrl=function(a){return mj(this,1,a)};f.getTitle=function(){return V(this,2)};f.setTitle=function(a){return mj(this,2,a)};f.toObject=function(){return jQc(this)};var jQc=function(a){if(null!=a)return t(a),{url:V(a,1),title:V(a,2),minimalTextContent:V(a,3)}};var kQc=function(a){r.call(this,a)};U(kQc,r);kQc.prototype.toObject=function(){return lQc(this)};
var lQc=function(a){if(null!=a)return t(a),{statelessApi:Jj(a,1,!0),statefulApi:Jj(a,2,!1),asrCorrection:Jj(a,3,!1),authorFeatures:Jj(a,4,!1),topicFeatures:Jj(a,5,!1),yourPersonaFeatures:Jj(a,6,!1),theirPersonaFeatures:Jj(a,7,!1),maxPersonaFeatures:Gh(a,8,0),knowledgeFeatures:Jj(a,9,!1),maxAuthors:Gh(a,10,0),includeFeature:Jj(a,11,!1),featureEncodingFramework:p(ar(a,12)),emotionFeatures:p(ar(a,13)),salientTermFeatures:p(ar(a,14)),personaStatementFeatures:p(ar(a,15)),questionFeatures:p(ar(a,16)),responseLengthFeatures:p(ar(a,
17)),conversationLocationFeatures:p(ar(a,18)),conversationBackgroundFeatures:p(ar(a,19)),futureFeatures:p(ar(a,20))}};var mQc=function(a){r.call(this,a)};U(mQc,r);mQc.prototype.toObject=function(){return nQc(this)};var nQc=function(a){if(null!=a)return t(a),{topic:p(kr(a,1)),persona:p(kr(a,2))}};var oQc=function(a){r.call(this,a)};U(oQc,r);oQc.prototype.getTarget=function(){return Z(this,sW,1)};oQc.prototype.setTarget=function(a){return Yi(this,sW,1,a)};oQc.prototype.toObject=function(){return pQc(this)};var pQc=function(a){if(null!=a)return t(a),{target:uW(a.getTarget()),threshold:p(Gs(a,2)),boost:p(ar(a,3))}};var qQc=function(a){r.call(this,a)};U(qQc,r);qQc.prototype.toObject=function(){return rQc(this)};var rQc=function(a){if(null!=a)return t(a),{enableSearchApi:p(ar(a,1)),enableHci:p(ar(a,7)),enableAssistant:p(ar(a,2)),enablePeregrine:p(ar(a,3)),disableCannedSearchResults:p(ar(a,8)),timeoutSeconds:p(Gs(a,4)),apiTypeName:p(m(a,5)),modelId:V(a,6,"google-text")}};var sQc=function(a){r.call(this,a)};U(sQc,r);sQc.repeatedFields_=[4];sQc.prototype.toObject=function(){return tQc(this)};var tQc=function(a){if(null!=a)return t(a),{fetchStarburst:p(ar(a,1)),fetchNniq:p(ar(a,2)),filterUnsafe:p(ar(a,3)),fetchEmbKeysList:p(Ih(a,4))}};var uQc=function(a){r.call(this,a)};U(uQc,r);uQc.repeatedFields_=[2,3];uQc.prototype.toObject=function(){return vQc(this)};var vQc=function(a){if(null!=a)return t(a),{stripUrls:p(ar(a,1)),srcsList:p(Ih(a,2)),tgtsList:p(Ih(a,3))}};var wQc=function(a){r.call(this,a)};U(wQc,r);wQc.prototype.toObject=function(){return xQc(this)};var xQc=function(a){if(null!=a)return t(a),a=sb(a,1,kb),{thumbsDownReasonOverridesMap:Ob(a)}};var MW=function(a){r.call(this,a)};U(MW,r);MW.prototype.getAddress=function(){return V(this,2)};MW.prototype.getType=function(){return W(this,4,0)};MW.prototype.setType=function(a){return n(this,4,a)};MW.prototype.hasType=function(){return fj(this,4)};MW.repeatedFields_=[5,6];MW.prototype.toObject=function(){return yQc(this)};var yQc=function(a){if(null!=a)return t(a),{hostingService:p(m(a,1)),address:p(m(a,2)),replicas:p(Os(a,3)),type:p(kr(a,4)),addressesList:p(Ih(a,5)),weightsList:p(Hs(a,6))}};var NW=function(a){r.call(this,a)};U(NW,r);NW.prototype.getAuthor=function(){return V(this,1)};NW.prototype.setAuthor=function(a){n(this,1,a)};NW.repeatedFields_=[2];NW.prototype.toObject=function(){return zQc(this)};var zQc=function(a){if(null!=a)return t(a),{author:p(m(a,1)),statementsList:Kb(aj(a,sW,2),uW)}};var AQc=function(a){r.call(this,a)};U(AQc,r);AQc.prototype.getId=function(){return V(this,1)};AQc.prototype.setId=function(a){return mj(this,1,a)};AQc.prototype.toObject=function(){return BQc(this)};var BQc=function(a){if(null!=a)return t(a),{id:V(a,1)}};var CQc=function(a){r.call(this,a)};U(CQc,r);CQc.prototype.toObject=function(){return DQc(this)};var DQc=function(a){if(null!=a)return t(a),{spansBefore:Gh(a,1,0),spansAfter:Gh(a,2,0),separator:V(a,3," ")}};var OW=function(a){r.call(this,a)};U(OW,r);OW.prototype.getResultType=function(){return W(this,4,2)};OW.prototype.setResultType=function(a){n(this,4,a)};OW.prototype.hasResultType=function(){return fj(this,4)};OW.prototype.toObject=function(){return EQc(this)};var EQc=function(a){if(null!=a)return t(a),{retrievalCorpusId:BQc(Z(a,AQc,1)),timeoutSeconds:hj(a,2,5),apiTypeName:p(m(a,3)),resultType:W(a,4,2),modelId:V(a,5,"retrieval-text"),topN:Gh(a,6,3),contextOptions:DQc(Z(a,CQc,7))}};var FQc=function(a){r.call(this,a)};U(FQc,r);FQc.prototype.getGoogleTextConfig=function(){return Sj(this,qQc,1,GQc)};FQc.prototype.getRetrievalTextConfig=function(){return Sj(this,OW,2,GQc)};var GQc=[1,2];FQc.prototype.toObject=function(){return HQc(this)};var HQc=function(a){if(null!=a)return t(a),{googleTextConfig:rQc(a.getGoogleTextConfig()),retrievalTextConfig:EQc(a.getRetrievalTextConfig())}};var IQc=function(a){r.call(this,a)};U(IQc,r);IQc.repeatedFields_=[3,4];IQc.prototype.toObject=function(){return JQc(this)};var JQc=function(a){if(null!=a)return t(a),{matchRegex:p(m(a,1)),onMatch:p(kr(a,2)),onMatchScoreBonus:p(Gs(a,9)),srcsList:p(Ih(a,3)),tgtsList:p(Ih(a,4)),validateUrls:p(ar(a,5)),onInvalidUrl:p(kr(a,6)),urlRepeatPenalty:p(Gs(a,7)),wrongUrlPenalty:p(Gs(a,8)),removeUrls:p(ar(a,10))}};var KQc=function(a){r.call(this,a)};U(KQc,r);KQc.prototype.toObject=function(){return LQc(this)};var LQc=function(a){if(null!=a)return t(a),{deadlineMs:p(Os(a,1)),maxResultsPerQuery:p(Os(a,2)),maxTotalResults:p(Os(a,3)),maxThreads:p(Os(a,4)),topNResultsForPeregrine:p(Os(a,5)),superroot:p(m(a,6)),returnEarlyForNonorganicResults:p(ar(a,7))}};var PW=function(a){r.call(this,a)};U(PW,r);PW.prototype.getGoogleTextConfig=function(){return Z(this,qQc,18)};PW.prototype.getRetrievalTextConfig=function(){return Z(this,OW,20)};PW.repeatedFields_=[21];PW.prototype.toObject=function(){return MQc(this)};
var MQc=function(a){if(null!=a)return t(a),{baseModelId:p(m(a,1)),researchModelId:p(m(a,2)),researchModelThreads:p(Os(a,14)),researchModelTimeoutSeconds:p(Gs(a,15)),researchModelBatchSize:p(Os(a,16)),searchModelId:p(m(a,9)),searchModelThreads:p(Os(a,10)),searchModelTimeoutSeconds:p(Gs(a,11)),searchModelBatchSize:p(Os(a,17)),maxQueriesPerBaseMessage:p(Os(a,26)),maxSearchResultsPerQuery:p(Os(a,12)),maxTotalSearchResults:p(Os(a,13)),meenaToToolSuffix:p(m(a,3)),outputPostprocConfig:JQc(Z(a,IQc,4)),baseMessagesUsed:p(Os(a,
5)),reasoningWorkerThreads:p(Os(a,6)),useMultibaseReasoning:p(ar(a,7)),skipReasoningForEmptyBase:p(ar(a,8)),googleTextConfig:rQc(a.getGoogleTextConfig()),retrievalTextConfig:EQc(a.getRetrievalTextConfig()),researchTriggerThreshold:hj(a,19,.5),apiConfigsList:Kb(aj(a,FQc,21),HQc),enableNoBaseReverseSearch:p(ar(a,22)),baseModelTimeoutSeconds:p(Gs(a,23)),enableFilterUnseenYearQueryForRecentNew:p(ar(a,24)),disableFinalResponseGeneration:p(ar(a,25)),enableWorldfactsRetrieval:p(ar(a,27)),worldfactsConfig:LQc(Z(a,
KQc,28)),enablePromptEnsemble:p(ar(a,29))}};var NQc=function(a){r.call(this,a)};U(NQc,r);NQc.prototype.toObject=function(){return OQc(this)};var OQc=function(a){if(null!=a)return t(a),{toxicityThreshold:p(Gs(a,1))}};var PQc=function(a){r.call(this,a)};U(PQc,r);PQc.prototype.toObject=function(){return QQc(this)};var QQc=function(a){if(null!=a)return t(a),{highThreshold:p(Gs(a,1)),mediumThreshold:p(Gs(a,2)),lowThreshold:p(Gs(a,3)),lowestThreshold:p(Gs(a,4))}};var RQc=function(a){r.call(this,a)};U(RQc,r);RQc.prototype.toObject=function(){return SQc(this)};var SQc=function(a){if(null!=a)return t(a),{modelName:p(m(a,1)),threshold:p(Gs(a,2)),severityThresholds:QQc(Z(a,PQc,3))}};var TQc=function(a){r.call(this,a)};U(TQc,r);TQc.prototype.toObject=function(){return UQc(this)};var UQc=function(a){if(null!=a)return t(a),{pornScoreThreshold:p(Gs(a,1)),vulgarScoreThreshold:p(Gs(a,2)),offensiveScoreThreshold:p(Gs(a,3)),violenceScoreThreshold:p(Gs(a,4)),medicalScoreThreshold:p(Gs(a,5)),spoofScoreThreshold:p(Gs(a,6)),enableCsai:p(ar(a,7)),enableFringe:p(ar(a,8))}};var QW=function(a){r.call(this,a)};U(QW,r);QW.repeatedFields_=[13,6,7,12];QW.prototype.toObject=function(){return VQc(this)};
var VQc=function(a){if(null!=a)return t(a),{safesearchFilteringEnabled:p(ar(a,1)),commentAnalyzerFilteringEnabled:p(ar(a,3)),sensitiveTopicFilteringEnabled:p(ar(a,5)),assistantSensitiveFilteringEnabled:p(ar(a,9)),meenaSafetyModelEnabled:p(ar(a,10)),allowedBlocklistVersionsList:p(Ih(a,13)),expanderSensitiveCategoriesList:p(Ih(a,6)),petacatSensitiveCategoriesList:p(Ih(a,7)),petacatScoreThreshold:p(Gs(a,8)),safesearchThresholds:UQc(Z(a,TQc,2)),commentAnalyzerThresholds:OQc(Z(a,NQc,4)),meenaSafetyConfig:SQc(Z(a,
RQc,11)),safetyContributorsList:p(Tk(a,12)),chunkSizeChars:p(Os(a,14))}};var WQc=function(a){r.call(this,a)};U(WQc,r);WQc.repeatedFields_=[4];WQc.prototype.toObject=function(){return XQc(this)};var XQc=function(a){if(null!=a)return t(a),{speakerName:p(m(a,1)),modelId:p(m(a,2)),role:p(kr(a,3)),alternateNamesList:p(Ih(a,4))}};var YQc=function(a){r.call(this,a)};U(YQc,r);YQc.prototype.toObject=function(){return ZQc(this)};var ZQc=function(a){if(null!=a)return t(a),{jointProbCoeff:hj(a,1,1),probGivenContextCoeff:hj(a,2,1),probGivenAsrCoeff:hj(a,3,1),rerankScoreScalingFactor:hj(a,4,1)}};var $Qc=function(a){r.call(this,a)};U($Qc,r);f=$Qc.prototype;f.getId=function(){return V(this,1)};f.setId=function(a){return n(this,1,a)};f.getDescription=function(){return V(this,2)};f.setDescription=function(a){return n(this,2,a)};f.hasDescription=function(){return wk(this,2)};f.getCapabilities=function(){return Z(this,kQc,33)};f.getPreamble=function(){return Us(this,48)};f.getPrefix=function(){return V(this,65)};f.setPrefix=function(a){n(this,65,a)};
f.getGoogleTextConfig=function(){return Z(this,qQc,77)};f.setKernelId=function(a){return n(this,106,a)};$Qc.repeatedFields_=[8,28,30,46,48,49,63,68];$Qc.prototype.toObject=function(){return aRc(this)};
var aRc=function(a){if(null!=a){t(a);var b=p(m(a,1)),c=p(m(a,2));var d=sb(a,3,kb);d=Ob(d);var e=sb(a,4,kb);e=Ob(e);var g=p(ar(a,5)),h=yQc(Z(a,MW,6)),l=p(ar(a,7)),q=p(Ih(a,8)),x=p(m(a,37)),A=VQc(Z(a,QW,9)),B=VQc(Z(a,QW,16)),K=VQc(Z(a,QW,17)),N=p(m(a,59)),P=p(ar(a,10)),Y=p(kr(a,11)),X=p(ar(a,12)),ka=p(ar(a,18)),ma=p(ar(a,15)),za=p(ar(a,13)),Ba=V(a,14,"cortex-v1"),Ma=p(ar(a,19)),Sa=p(ar(a,20)),Ua=p(Os(a,21)),Lb=p(Gs(a,55)),qb=p(ar(a,51)),Ya=p(kr(a,22)),wa=p(m(a,23)),Ka=p(Gs(a,24)),Na=zQc(Z(a,NW,25)),
fb=zQc(Z(a,NW,26)),bb=p(m(a,27)),Tc=p(Ih(a,28)),hb=p(m(a,29)),yb=Kb(aj(a,oQc,30),pQc),$a=p(Os(a,31)),Fb=nQc(Z(a,mQc,32)),jb=lQc(a.getCapabilities()),Mb=Jj(a,34,!1),jc=V(a,35,"tina"),Dc=Jj(a,36,!1),Uc=p(m(a,38)),ff=ZQc(Z(a,YQc,39)),Fd=Jj(a,40,!1),oe=Jj(a,41,!1),Ki=p(Gs(a,42)),EU=p(Os(a,43)),So=p(m(a,44)),ig=p(ar(a,45)),wD=p(Ih(a,46)),eBa=p(ar(a,47)),To=p(m(a,83)),gr=W(a,86,9),ay=p(Ih(a,48)),Jk=Kb(aj(a,sW,49),uW),Jka=p(ar(a,50)),pbd=p(kr(a,52)),qbd=p(ar(a,53)),rbd=p(ar(a,54)),sbd=p(m(a,56)),tbd=p(ar(a,
57)),ubd=p(Gs(a,58)),vbd=p(m(a,60)),wbd=p(ar(a,61)),xbd=p(ar(a,62)),ybd=p(Tk(a,63)),zbd=p(ar(a,64)),Abd=p(m(a,65)),Bbd=p(m(a,66)),Cbd=p(m(a,67)),Dbd=Kb(aj(a,WQc,68),XQc),Ebd=p(ar(a,69)),Fbd=p(m(a,70)),Gbd=p(Gs(a,71)),Hbd=p(Gs(a,72)),Ibd=p(Gs(a,73)),Jbd=Gh(a,74,1),Kbd=hj(a,87,10),Lbd=p(ar(a,75)),Mbd=p(m(a,76)),Nbd=rQc(a.getGoogleTextConfig()),Obd=p(Gs(a,78)),Pbd=p(Os(a,79)),Qbd=vQc(Z(a,uQc,80)),Rbd=MQc(Z(a,PW,81)),Sbd=p(ar(a,82)),Tbd=p(Gs(a,84)),Ubd=p(Gs(a,90)),Vbd=p(Gs(a,91)),Wbd=p(Gs(a,92)),Xbd=
p(Gs(a,98)),Ybd=xQc(Z(a,wQc,85));var STa=sb(a,88,Eba);STa=Ob(STa);var Zbd=sb(a,89,Gba);return{id:b,description:c,propertiesMap:d,hparamsMap:e,enabled:g,modelHostingInfo:h,display:l,subIdsList:q,safeModelId:x,safetyParameters:A,safetyParametersResponseOverride:B,safetyParametersContextOverride:K,safetyResetText:N,rulesDisabled:P,unsafeContextSwitchMethod:Y,forceCrossTurnRepetitionRules:X,forumPatternFilterEnabled:ka,forceEnableSafety:ma,cortexEnabled:za,cortexModelId:Ba,conditionalGeneration:Ma,dynamicSampling:Sa,
samplingKeepTopK:Ua,samplingKeepTopP:Lb,beamSearch:qb,cortexRequestType:Ya,cortexPositiveClassName:wa,samplingTemperature:Ka,modelPersona:Na,userPersona:fb,topic:bb,filteringExemptSubstringsList:Tc,futureRerankModelId:hb,futureTargetsList:yb,maxPersonaStatements:$a,featureEncodings:Fb,capabilities:jb,asrCorrectionEnabled:Mb,tinaModelId:jc,appDefault:Dc,tinaRerankModelId:Uc,tinaRerankCoefficients:ff,syntheticChattyStart:Fd,deleteChatbotName:oe,verbosity:Ki,vocabSize:EU,wordVocabPath:So,forceWordVocabConstraint:ig,
stripSubstringsList:wD,generateTts:eBa,ttsVoiceName:To,ttsAudioEncoding:gr,preambleList:ay,messagesPreambleList:Jk,assistantMeenaIntegration:Jka,lmContextFormat:pbd,dialogRanking:qbd,delimitedLm:rbd,scoringModelId:sbd,stripTerminators:tbd,filterThreshold:ubd,responseSeparator:vbd,reasoning:wbd,randomFinalRank:xbd,combinedScoresList:ybd,useAdsScore:zbd,prefix:Abd,maxContextTurns:Bbd,lmPrefixMax:Cbd,speakersList:Dbd,multiauthorEnabled:Ebd,taskMarker:Fbd,specific:Gbd,sensible:Hbd,interesting:Ibd,retries:Jbd,
chatDeadlineSecs:Kbd,scoreIndicesV2Enabled:Lbd,maxReasoningSteps:Mbd,googleTextConfig:Nbd,researchTemperature:Obd,researchEveryNSteps:Pbd,inputPreprocConfig:Qbd,reasoningConfig:Rbd,disablePrivacyServiceFiltering:Sbd,maxUnsafeScore:Tbd,maxSociallyInappropriateScore:Ubd,maxControversialOpinionScore:Vbd,maxHarmfulToUserScore:Wbd,maxEarBadScore:Xbd,messageAnnotationConfig:Ybd,scoreFormatMap:STa,finalRankWeightsMap:Ob(Zbd),enableApiSyntaxChecking:p(ar(a,93)),includeHistoricalApisInContext:p(ar(a,94)),
removeForumSpecific:p(ar(a,95)),useTicketingDiscScore:p(ar(a,96)),maxPrematureFarewellScore:p(Gs(a,97)),imageSignalConfig:tQc(Z(a,sQc,99)),forScoring:p(ar(a,100)),rankingAlgorithm:p(kr(a,101)),basicRankingEnabled:p(ar(a,102)),basicModelId:V(a,103,"multilamda-basic-v1"),alsoReturnResponseScore:p(ar(a,104)),discriminatorModelId:p(m(a,105)),kernelId:p(m(a,106)),predictsTaskmasterApis:p(ar(a,107)),maxNumRetriesForEmptyResponse:p(Os(a,108)),isMultilamda:p(ar(a,109))}}};var RW=function(a){r.call(this,a)};U(RW,r);RW.prototype.getExecutionStepsList=function(){return aj(this,EV,2)};RW.repeatedFields_=[2];RW.prototype.toObject=function(){return bRc(this)};var bRc=function(a){if(null!=a)return t(a),{userQuery:p(m(a,1)),executionStepsList:Kb(a.getExecutionStepsList(),FV),systemResponse:p(m(a,3))}};var cRc=function(a){r.call(this,a)};U(cRc,r);f=cRc.prototype;f.getType=function(){return W(this,1,0)};f.setType=function(a){return n(this,1,a)};f.hasType=function(){return fj(this,1)};f.getStringValue=function(){return V(this,2)};f.setStringValue=function(a){return n(this,2,a)};f.toObject=function(){return dRc(this)};var dRc=function(a){if(null!=a)return t(a),{type:p(kr(a,1)),stringValue:p(m(a,2))}};var eRc=function(a){r.call(this,a)};U(eRc,r);eRc.prototype.toObject=function(){return fRc(this)};var fRc=function(a){if(null!=a)return t(a),a=Vj(a,1,cRc),{variableMap:Ob(a,dRc)}};var gRc=function(a){r.call(this,a)};U(gRc,r);gRc.repeatedFields_=[2];gRc.prototype.toObject=function(){return hRc(this)};var hRc=function(a){if(null!=a)return t(a),{currentTurn:bRc(Z(a,RW,1)),pastTurnsList:Kb(aj(a,RW,2),bRc),variableStore:fRc(Z(a,eRc,3)),referencedContent:AQb(Z(a,zQb,4))}};var iRc=function(a){r.call(this,a)};U(iRc,r);iRc.prototype.getState=function(){return Z(this,gRc,1)};iRc.prototype.toObject=function(){return jRc(this)};var jRc=function(a){if(null!=a)return t(a),{state:hRc(a.getState())}};var kRc=function(a){r.call(this,a)};U(kRc,r);kRc.prototype.toObject=function(){return lRc(this)};var lRc=function(a){if(null!=a)return t(a),{toolInstruction:p(m(a,1)),operationId:p(m(a,2)),rawToolResponse:p(m(a,3)),summarizedToolResponse:p(m(a,4))}};var mRc=function(a){r.call(this,a)};U(mRc,r);mRc.prototype.getDisplayName=function(){return V(this,1)};mRc.prototype.setDisplayName=function(a){return n(this,1,a)};mRc.prototype.toObject=function(){return nRc(this)};var nRc=function(a){if(null!=a)return t(a),{displayName:p(m(a,1)),logoUri:p(m(a,2)),displayDescription:p(m(a,3))}};var oRc=function(a){r.call(this,a)};U(oRc,r);f=oRc.prototype;f.getName=function(){return V(this,1)};f.setName=function(a){return n(this,1,a)};f.hasName=function(){return wk(this,1)};f.getNameOrUndefined=function(){return dt(this,1)};f.getLocation=function(){return W(this,2,0)};f.toObject=function(){return pRc(this)};var pRc=function(a){if(null!=a)return t(a),{name:p(m(a,1)),httpName:p(m(a,6)),location:p(kr(a,2))}};var qRc=function(a){r.call(this,a)};U(qRc,r);f=qRc.prototype;f.setStatusCode=function(a){n(this,1,a)};f.getDescription=function(){return V(this,2)};f.setDescription=function(a){return n(this,2,a)};f.hasDescription=function(){return wk(this,2)};f.toObject=function(){return rRc(this)};var rRc=function(a){if(null!=a)return t(a),{statusCode:p(m(a,1)),description:p(m(a,2))}};var sRc=function(a){r.call(this,a)};U(sRc,r);f=sRc.prototype;f.getName=function(){return V(this,1)};f.setName=function(a){return n(this,1,a)};f.hasName=function(){return wk(this,1)};f.getNameOrUndefined=function(){return dt(this,1)};f.getLocation=function(){return W(this,2,0)};f.toObject=function(){return tRc(this)};var tRc=function(a){if(null!=a)return t(a),{name:p(m(a,1)),location:p(kr(a,2)),keyId:p(m(a,3))}};var uRc=function(a){r.call(this,a)};U(uRc,r);uRc.prototype.toObject=function(){return vRc(this)};var vRc=function(a){if(null!=a)return t(a),{usernameId:p(m(a,1)),passwordId:p(m(a,2))}};var wRc=function(a){r.call(this,a)};U(wRc,r);wRc.prototype.toObject=function(){return xRc(this)};var xRc=function(a){if(null!=a)return t(a),{tokenId:p(m(a,1))}};var yRc=function(a){r.call(this,a)};U(yRc,r);yRc.prototype.toObject=function(){return zRc(this)};var zRc=function(a){if(null!=a)return t(a),{}};var ARc=function(a){r.call(this,a)};U(ARc,r);ARc.prototype.toObject=function(){return BRc(this)};var BRc=function(a){if(null!=a)return t(a),{}};var SW=function(a){r.call(this,a)};U(SW,r);SW.prototype.getName=function(){return V(this,1)};SW.prototype.setName=function(a){return n(this,1,a)};SW.prototype.hasName=function(){return wk(this,1)};SW.prototype.getNameOrUndefined=function(){return dt(this,1)};var CRc=[2,3,4,5,6];SW.prototype.toObject=function(){return DRc(this)};
var DRc=function(a){if(null!=a)return t(a),{name:p(m(a,1)),noAuth:zRc(Sj(a,yRc,2,CRc)),basicAuth:vRc(Sj(a,uRc,3,CRc)),bearerAuth:xRc(Sj(a,wRc,4,CRc)),apiKeyAuth:tRc(Sj(a,sRc,5,CRc)),oauth2:BRc(Sj(a,ARc,6,CRc))}};var ERc=function(a){r.call(this,a)};U(ERc,r);ERc.repeatedFields_=[1];ERc.prototype.toObject=function(){return FRc(this)};var FRc=function(a){if(null!=a)return t(a),{allOfList:Kb(aj(a,SW,1),DRc)}};var GRc=function(a){r.call(this,a)};U(GRc,r);GRc.repeatedFields_=[1];GRc.prototype.toObject=function(){return HRc(this)};var HRc=function(a){if(null!=a)return t(a),{anyOfList:Kb(aj(a,ERc,1),FRc)}};var IRc=function(a){r.call(this,a)};U(IRc,r);f=IRc.prototype;f.getUrl=function(){return V(this,1)};f.setUrl=function(a){return n(this,1,a)};f.hasUrl=function(){return wk(this,1)};f.getPath=function(){return V(this,2)};f.setPath=function(a){return n(this,2,a)};f.hasPath=function(){return wk(this,2)};f.getParametersList=function(){return aj(this,oRc,4)};f.setParameters=function(a,b){return Fs(this,4,oRc,a,b)};IRc.repeatedFields_=[4];IRc.prototype.toObject=function(){return JRc(this)};
var JRc=function(a){if(null!=a){t(a);var b=p(m(a,1)),c=p(m(a,2)),d=p(kr(a,3)),e=Kb(a.getParametersList(),pRc);var g=Vj(a,6,qRc);return{url:b,path:c,method:d,parametersList:e,responsesMap:Ob(g,rRc),securityModel:HRc(Z(a,GRc,7))}}};var KRc=function(a){r.call(this,a)};U(KRc,r);var LRc=[1];KRc.prototype.toObject=function(){return MRc(this)};var MRc=function(a){if(null!=a)return t(a),{httpInvocationSpec:JRc(Sj(a,IRc,1,LRc))}};var NRc=function(a){r.call(this,a)};U(NRc,r);NRc.prototype.toObject=function(){return ORc(this)};var ORc=function(a){if(null!=a)return t(a),{}};var PRc=function(a){r.call(this,a)};U(PRc,r);PRc.prototype.getEnumValues=function(a){return Ss(this,2,a)};PRc.repeatedFields_=[2];PRc.prototype.toObject=function(){return QRc(this)};var QRc=function(a){if(null!=a)return t(a),{defaultValue:p(Os(a,1)),enumValuesList:p(Fh(a,2)),minimum:p(Os(a,3)),maximum:p(Os(a,4)),exclusiveMinimum:p(ar(a,5)),multipleOf:p(Os(a,6))}};var RRc=function(a){r.call(this,a)};U(RRc,r);RRc.prototype.getEnumValues=function(a){return PJb(this,2,a)};RRc.repeatedFields_=[2];RRc.prototype.toObject=function(){return SRc(this)};var SRc=function(a){if(null!=a)return t(a),{defaultValue:p(Gs(a,1)),enumValuesList:p(Hs(a,2)),minimum:p(Gs(a,3)),maximum:p(Gs(a,4)),exclusiveMinimum:p(ar(a,5)),multipleOf:p(Gs(a,6))}};var TRc=function(a){r.call(this,a)};U(TRc,r);TRc.repeatedFields_=[2];TRc.prototype.toObject=function(){return URc(this)};var URc=function(a){if(null!=a)return t(a),{defaultValue:p(m(a,1)),possibleValuesList:p(Ih(a,2)),minLength:p(Os(a,3)),maxLength:p(Os(a,4))}};var VRc=function(a){r.call(this,a)};U(VRc,r);f=VRc.prototype;f.getName=function(){return V(this,1)};f.setName=function(a){return n(this,1,a)};f.hasName=function(){return wk(this,1)};f.getNameOrUndefined=function(){return dt(this,1)};f.getSchema=function(){return Z(this,TW,2)};f.getDescription=function(){return V(this,4)};f.setDescription=function(a){return n(this,4,a)};f.hasDescription=function(){return wk(this,4)};var WRc=function(a){r.call(this,a)};U(WRc,r);
WRc.prototype.setProperties=function(a,b){return Fs(this,1,VRc,a,b)};var XRc=function(a){r.call(this,a)};U(XRc,r);XRc.prototype.getItems=function(){return Z(this,TW,1)};var TW=function(a){r.call(this,a)};U(TW,r);TW.prototype.getType=function(){return W(this,1,0)};TW.prototype.setType=function(a){return n(this,1,a)};TW.prototype.hasType=function(){return fj(this,1)};VRc.prototype.toObject=function(){return YRc(this)};
var YRc=function(a){if(null!=a)return t(a),{name:p(m(a,1)),schema:ZRc(a.getSchema()),isRequired:p(ar(a,3)),description:p(m(a,4))}};WRc.repeatedFields_=[1];WRc.prototype.toObject=function(){return $Rc(this)};var $Rc=function(a){if(null!=a)return t(a),{propertiesList:Kb(aj(a,VRc,1),YRc)}};XRc.prototype.toObject=function(){return aSc(this)};var aSc=function(a){if(null!=a)return t(a),{items:ZRc(a.getItems()),uniqueItems:p(ar(a,2)),minLength:p(Os(a,3)),maxLength:p(Os(a,4))}},UW=[2,3,4,5,6,7];
TW.prototype.toObject=function(){return ZRc(this)};var ZRc=function(a){if(null!=a)return t(a),{type:p(kr(a,1)),stringSchema:URc(Sj(a,TRc,2,UW)),integerSchema:QRc(Sj(a,PRc,3,UW)),numberSchema:SRc(Sj(a,RRc,4,UW)),booleanSchema:ORc(Sj(a,NRc,5,UW)),arraySchema:aSc(Sj(a,XRc,6,UW)),objectSchema:$Rc(Sj(a,WRc,7,UW))}};var bSc=function(a){r.call(this,a)};U(bSc,r);f=bSc.prototype;f.getName=function(){return V(this,1)};f.setName=function(a){return n(this,1,a)};f.hasName=function(){return wk(this,1)};f.getNameOrUndefined=function(){return dt(this,1)};f.getSchema=function(){return Z(this,TW,2)};f.getDescription=function(){return V(this,3)};f.setDescription=function(a){return n(this,3,a)};f.hasDescription=function(){return wk(this,3)};f.getValue=function(){return V(this,5)};f.setValue=function(a){return n(this,5,a)};
f.hasValue=function(){return wk(this,5)};f.toObject=function(){return cSc(this)};var cSc=function(a){if(null!=a)return t(a),{name:p(m(a,1)),schema:ZRc(a.getSchema()),description:p(m(a,3)),isRequired:p(ar(a,4)),value:p(m(a,5))}};var dSc=function(a){r.call(this,a)};U(dSc,r);dSc.prototype.toObject=function(){return eSc(this)};var eSc=function(a){if(null!=a)return t(a),{}};var VW=function(a){r.call(this,a)};U(VW,r);VW.prototype.getQuery=function(){return V(this,1)};VW.prototype.setQuery=function(a){return n(this,1,a)};VW.prototype.clearQuery=function(){Js(this,1)};VW.prototype.hasQuery=function(){return wk(this,1)};var GQ=function(a){r.call(this,a)};U(GQ,r);f=GQ.prototype;f.getDescription=function(){return V(this,2)};f.setDescription=function(a){return n(this,2,a)};f.hasDescription=function(){return wk(this,2)};f.getParametersList=function(){return aj(this,bSc,3)};
f.setParameters=function(a,b){return Fs(this,3,bSc,a,b)};f.getResponse=function(){return Z(this,dSc,4)};f.setResponse=function(a){return Yi(this,dSc,4,a)};VW.prototype.toObject=function(){return fSc(this)};var fSc=function(a){if(null!=a)return t(a),{query:p(m(a,1)),operation:gSc(Z(a,GQ,2))}};GQ.repeatedFields_=[3,5];GQ.prototype.toObject=function(){return gSc(this)};
var gSc=function(a){if(null!=a)return t(a),{operationId:p(m(a,1)),description:p(m(a,2)),parametersList:Kb(a.getParametersList(),cSc),response:eSc(a.getResponse()),examplesList:Kb(aj(a,VW,5),fSc),operationResponseTemplate:p(m(a,6)),invocationSpec:MRc(Z(a,KRc,7))}};var hSc=function(a){r.call(this,a)};U(hSc,r);hSc.prototype.toObject=function(){return iSc(this)};var iSc=function(a){if(null!=a)return t(a),{operationId:p(m(a,1)),injaTemplate:p(m(a,2))}};var WW=function(a){r.call(this,a)};U(WW,r);WW.prototype.getQuery=function(){return V(this,1)};WW.prototype.setQuery=function(a){return n(this,1,a)};WW.prototype.clearQuery=function(){Js(this,1)};WW.prototype.hasQuery=function(){return wk(this,1)};WW.repeatedFields_=[2,3];WW.prototype.toObject=function(){return jSc(this)};var jSc=function(a){if(null!=a)return t(a),{query:p(m(a,1)),currentStepsList:Kb(aj(a,EV,2),FV),previousDialogTurnsList:Kb(aj(a,RW,3),bRc),includeInPlannerErrorPrompt:p(ar(a,4))}};var kSc=function(a){r.call(this,a)};U(kSc,r);kSc.repeatedFields_=[1];kSc.prototype.toObject=function(){return lSc(this)};var lSc=function(a){if(null!=a)return t(a),{allowedCountriesList:p(Ih(a,1))}};var mSc=function(a){r.call(this,a)};U(mSc,r);mSc.repeatedFields_=[4];mSc.prototype.toObject=function(){return nSc(this)};var nSc=function(a){if(null!=a)return t(a),{toolInstruction:p(m(a,1)),thought:p(m(a,2)),operationRequest:V(a,3,"{}"),parametersMentionedList:p(Ih(a,4))}};var XW=function(a){r.call(this,a)};U(XW,r);f=XW.prototype;f.getName=function(){return V(this,1)};f.setName=function(a){return n(this,1,a)};f.hasName=function(){return wk(this,1)};f.getNameOrUndefined=function(){return dt(this,1)};f.getDescription=function(){return V(this,2)};f.setDescription=function(a){return n(this,2,a)};f.hasDescription=function(){return wk(this,2)};f.getPlannerExamplesList=function(){return aj(this,WW,6)};f.getRestrictions=function(){return Z(this,kSc,11)};
XW.repeatedFields_=[3,5,6,7,9];XW.prototype.toObject=function(){return oSc(this)};var oSc=function(a){if(null!=a)return t(a),{name:p(m(a,1)),description:p(m(a,2)),operationsList:Kb(aj(a,GQ,3),gSc),schemaYaml:p(m(a,4)),formattedExamplesList:Kb(aj(a,mSc,5),nSc),plannerExamplesList:Kb(a.getPlannerExamplesList(),jSc),responseSummarizationExamplesList:Kb(aj(a,kRc,7),lRc),operationResponseTemplatesList:Kb(aj(a,hSc,9),iSc),launchStatus:W(a,8,1),displayProperties:nRc(Z(a,mRc,10)),restrictions:lSc(a.getRestrictions())}};var YW=function(a){r.call(this,a)};U(YW,r);YW.prototype.getPlannerExamplesList=function(){return aj(this,WW,1)};YW.prototype.getToolManifestsList=function(){return aj(this,XW,2)};YW.repeatedFields_=[1,2];YW.prototype.toObject=function(){return pSc(this)};var pSc=function(a){if(null!=a)return t(a),{plannerExamplesList:Kb(a.getPlannerExamplesList(),jSc),toolManifestsList:Kb(a.getToolManifestsList(),oSc)}};var ZW=function(a){r.call(this,a)};U(ZW,r);ZW.prototype.getState=function(){return Z(this,gRc,2)};ZW.prototype.getToolManifestsList=function(){return aj(this,XW,3)};ZW.repeatedFields_=[3];ZW.prototype.toObject=function(){return qSc(this)};var qSc=function(a){if(null!=a)return t(a),{currentInput:p(m(a,1)),state:hRc(a.getState()),toolManifestsList:Kb(a.getToolManifestsList(),oSc),retrievalResult:pSc(Z(a,YW,4))}};var rSc=function(a){r.call(this,a)};U(rSc,r);rSc.repeatedFields_=[3];rSc.prototype.toObject=function(){return sSc(this)};var sSc=function(a){if(null!=a)return t(a),{inputToolInstruction:p(m(a,1)),toolManifest:oSc(Z(a,XW,2)),allParametersList:p(Ih(a,3)),inputOperationId:p(m(a,4)),toolResponse:p(m(a,5))}};var tSc=function(a){r.call(this,a)};U(tSc,r);tSc.repeatedFields_=[3];var uSc=[1,2,5];tSc.prototype.toObject=function(){return vSc(this)};var vSc=function(a){if(null!=a)return t(a),{plannerMetadata:qSc(Sj(a,ZW,1,uSc)),toolAgentMetadata:sSc(Sj(a,rSc,2,uSc)),finalAnswerMetadata:jRc(Sj(a,iRc,5,uSc)),supportedToolsList:p(Ih(a,3)),planningStepsCount:Gh(a,4)}};var $W=function(a){r.call(this,a)};U($W,r);f=$W.prototype;f.getId=function(){return V(this,11)};f.setId=function(a){return mj(this,11,a)};f.getPreamble=function(){return Z(this,CW,1)};f.getActionsMetadata=function(){return Z(this,wV,14)};f.getDebugInfo=function(){return Z(this,bJc,6)};f.getSearchResultsList=function(){return aj(this,IV,9)};f.getPrompt=function(){return V(this,12)};f.setPrompt=function(a){return mj(this,12,a)};f.getEmbeddingsList=function(){return aj(this,zW,17)};
f.setKernelId=function(a){return mj(this,23,a)};f.getFeedbacksList=function(){return aj(this,HV,28)};f.getTagsList=function(){return Ih(this,34)};f.getTags=function(a){return Us(this,34,a)};f.getSessionState=function(){return Z(this,KW,45)};f.setSessionState=function(a){Yi(this,KW,45,a)};f.hasSessionState=function(){return Dj(this,KW,45)};f.getInstructionEval=function(){return Z(this,xV,51)};f.getCategory=function(){return Us(this,57)};$W.repeatedFields_=[5,27,8,9,17,25,28,33,34,36,41,52,54,56,57];
$W.prototype.toObject=function(){return wSc(this)};
var wSc=function(a){if(null!=a)return t(a),{id:V(a,11),split:V(a,16),preamble:APc(a.getPreamble()),conversation:APc(Z(a,CW,2)),animaEvents:gJc(Z(a,fJc,30)),worldFacts:dQc(Z(a,cQc,3)),characterFacts:aPc(Z(a,$Oc,4)),userFacts:aQc(Z(a,$Pc,29)),imageFacts:RPc(Z(a,QPc,50)),descriptiveContext:BPc(Z(a,DW,37)),codeGenerationMetadata:lPb(Z(a,kPb,59)),codeExecutionMetadata:ePb(Z(a,zu,60)),workspaceMetadata:JQb(Z(a,IQb,55)),reagentMetadata:vSc(Z(a,tSc,49)),actionsMetadata:aJc(a.getActionsMetadata()),characterBackstory:YOc(Z(a,
XOc,10)),ratedResponse:LPc(Z(a,KPc,18)),goldenResponse:LPc(Z(a,KPc,15)),responseCandidatesList:Kb(aj(a,vW,5),POc),filteredOutResponseCandidatesList:Kb(aj(a,vW,27),POc),debugInfo:cJc(a.getDebugInfo()),consistencyToken:Pb(Gj(a,7)),searchQueriesList:Kb(aj(a,GV,8),wKc),searchResultsList:Kb(a.getSearchResultsList(),xKc),prompt:V(a,12),sourceModel:aRc(Z(a,$Qc,13)),detectedLanguage:p(m(a,58)),embeddingsList:Kb(a.getEmbeddingsList(),sPc),extractedMemory:GPc(Z(a,FPc,19)),g3doc:JPc(Z(a,FW,20)),sessionId:V(a,
21),momaGlossary:jQc(Z(a,iQc,22)),kernelId:V(a,23),servingOptions:VPc(Z(a,UPc,24)),pythonProgramsList:Kb(aj(a,IW,25),TPc),cohortId:p(m(a,26)),feedbacksList:Kb(a.getFeedbacksList(),JV),pageViews:p(m(a,31)),viewPermission:p(kr(a,32)),vssResultsList:Kb(aj(a,IV,33),xKc),tagsList:p(Ih(a,34)),youtubeRecsResult:hQc(Z(a,gQc,35)),imageSearchQueriesList:Kb(aj(a,HW,36),SPc),chain:WOc(Z(a,VOc,38)),probe:Jj(a,40),collectionsList:Kb(aj(a,qPc,41),rPc),encodingResult:DPc(Z(a,CPc,42)),toolInput:pV(Z(a,lV,43)),toolOutput:wIc(Z(a,
mV,44)),sessionState:ZPc(a.getSessionState()),args:xIc(Z(a,oV,47)),kwargs:pV(Z(a,lV,48)),instructionEval:pJc(a.getInstructionEval()),fallbackReasonsList:Kb(aj(a,HPc,52),IPc),toolExecution:NJc(Z(a,MJc,53)),promptsList:Kb(aj(a,gKc,54),hKc),modelOutputsList:Kb(aj(a,eKc,56),fKc),categoryList:p(Ih(a,57)),cocoaAttribution:pPc(Z(a,oPc,61))}};var aX=function(a){r.call(this,a,0,aX.messageId)};U(aX,r);aX.prototype.getExample=function(){return Z(this,$W,1)};aX.prototype.setExample=function(a){return Yi(this,$W,1,a)};aX.prototype.toObject=function(){if(null!=this){t(this);var a={example:wSc(this.getExample()),traceId:p(m(this,2))}}else a=void 0;return a};aX.messageId="b.GenerateResponse";var bX=function(a){this.executor=a};bX.prototype.generate=function(a){return this.executor.post({url:"/action/lamda/generate",body:a,responseConstructor:aX})};bX.\u0275fac=function(a){return new (a||bX)(u(MC))};bX.\u0275prov=qc({token:bX,factory:bX.\u0275fac,providedIn:"root"});var cX=function(a){r.call(this,a)};U(cX,r);cX.prototype.setKernelId=function(a){return mj(this,1,a)};cX.prototype.getExample=function(){return Z(this,$W,2)};cX.prototype.setExample=function(a){return Yi(this,$W,2,a)};cX.prototype.toObject=function(){if(null!=this){t(this);var a={kernelId:V(this,1),example:wSc(this.getExample()),disableLogging:p(ar(this,3)),disableDebugInfo:p(ar(this,4))}}else a=void 0;return a};var dX=function(a,b,c){var d=this;this.issueFridge=a;this.eventsForIssueFridge=b;this.lambdaApi=c;this.summarizeCommentThread=nza(function(e){var g,h,l,q,x,A,B,K,N,P,Y;return he(function(X){if(1==X.nextAddress)return X.yield(xSc(d,e),2);if(3!=X.nextAddress){g=X.yieldResult;if(!g)return X.return(void 0);var ka=(new cX).setKernelId("moma");ka=Lj(ka,3,!0);ka=Lj(ka,4,!0);var ma=ka.setExample;var za=new $W;var Ba=(new CW).setMessagesList([(new BW).setText("Please provide a brief summary the following conversation using 3 lines. \n\n"+
[g.description].concat(Vc(g.comments)).join("\n"))]);za=Yi(za,CW,2,Ba);h=ma.call(ka,za);return X.yield(d.lambdaApi.generate(h),3)}l=X.yieldResult;A=null==(q=l.getExample())?void 0:null==(x=aj(q,vW,5)[0])?void 0:x.getText().replace(/\\n/,"\n");N=k(null!=(K=null==(B=A)?void 0:B.split("\n\n"))?K:[]);N.next();Y=P=N.next().value;return X.return(Y||A)})})},xSc=function(a,b){var c,d,e,g,h,l,q,x,A;return he(function(B){if(1==B.nextAddress)return B.yield(Promise.all([(0,E.firstValueFrom)(a.issueFridge.watch(b,
{trustUncertainMemory:!0})),(0,E.firstValueFrom)(a.eventsForIssueFridge.watch(b,{trustUncertainMemory:!0}))]),2);c=B.yieldResult;d=k(c);e=d.next().value;g=d.next().value;h=e;l=g;if(!h||!l)return B.return(void 0);q=l.events;x=q.filter(function(K){return K.userPerformingAction.includes("@google.com")}).filter(function(K){return K.unlinkifiedComment}).map(function(K){return K.userPerformingAction.split("@")[0]+": "+K.unlinkifiedComment}).filter(pi);A=q[0].userPerformingAction.includes("@google.com")&&
q[0].unlinkifiedComment||void 0;return B.return({title:h.snapshot[0].title,description:A,comments:x})})};dX.\u0275fac=function(a){return new (a||dX)(u(lH),u(SE),u(bX))};dX.\u0275prov=qc({token:dX,factory:dX.\u0275fac,providedIn:"root"});var eX=function(){this.roundCorners=this.showDividers=!1};eX.\u0275fac=function(a){return new (a||eX)};
eX.\u0275cmp=Gc({type:eX,selectors:[["b-button-group"]],hostVars:4,hostBindings:function(a,b){a&2&&qf("show-dividers",b.showDividers)("round-corners",b.roundCorners)},inputs:{showDividers:"showDividers",roundCorners:"roundCorners"},ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(xf(),yf(0))},styles:["[_nghost-%COMP%]{display:flex;flex-wrap:nowrap}.show-dividers[_nghost-%COMP%]     button.gmat-button:not(:last-of-type), .show-dividers[_nghost-%COMP%]     :not(:last-child) button.gmat-button{border-right:1px solid #dadce0}.show-dividers[_nghost-%COMP%]     button.gmat-button:not(:first-of-type), .show-dividers[_nghost-%COMP%]     :not(:first-child) button.gmat-button{border-left:1px solid #dadce0}[_nghost-%COMP%]    >:not(:last-child){margin-right:0}[_nghost-%COMP%]    >:not(:first-child){margin-left:0}[_nghost-%COMP%]:not(.round-corners)     button.gmat-button:not(:last-of-type), [_nghost-%COMP%]:not(.round-corners)     :not(:last-child) button.gmat-button{margin-right:-1px;border-top-right-radius:0 !important;border-bottom-right-radius:0 !important}[_nghost-%COMP%]:not(.round-corners)     button.gmat-button:not(:first-of-type), [_nghost-%COMP%]:not(.round-corners)     :not(:first-child) button.gmat-button{border-top-left-radius:0 !important;border-bottom-left-radius:0 !important}[_nghost-%COMP%]:not(.round-corners)     button.gmat-button:hover{z-index:2}[_nghost-%COMP%]:not(.round-corners)     button.gmat-button:focus{z-index:3}/*# sourceMappingURL=button-group.css.map */"],changeDetection:0});var fX=function(a,b){this.constants=a;this.activeSession=b;this.STATUS_FULL_TEXT=IE;this.ISSUE_TYPES_PROTO=kic;this.STATUSES_PROTO=jic;this.SEVERITIES_VALUES=pic;this.PRIORITES_VALUES=mic;this.enableBulkEstimatedEffortOption=!1;this.onBulkEdit=new Gv;this.onQuickBulkEdit=new Gv;this.onBulkEditIssueRelation=new Gv;this.onBulkMarkIssueRead=new Gv;this.isAnonymous=this.activeSession.isAnonymous();this.enableBulkEditUi=UD(this.activeSession,"enableBulkEditUi")};fX.prototype.bulkEdit=function(a){this.onBulkEdit.emit(a)};
fX.prototype.quickBulkEdit=function(a,b){this.onQuickBulkEdit.emit({field:a,newValue:b})};fX.prototype.bulkEditIssueRelation=function(a,b){this.onBulkEditIssueRelation.emit({issueRelation:a,isMarking:void 0===b?!0:b})};fX.prototype.bulkMarkIssueRead=function(){this.onBulkMarkIssueRead.emit()};fX.\u0275fac=function(a){return new (a||fX)(C(BI),C(gs))};
fX.\u0275cmp=Gc({type:fX,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&&(G(0,"b-button-group"),Q(1,A_a,4,2,"button",0),G(2,"button",1),M("click",function(){return b.bulkMarkIssueRead()}),R(3),H(),Q(4,B_a,4,2,"button",0),Q(5,C_a,4,2,"button",0),H(),G(6,"mat-menu",null,2)(8,"button",3),M("click",function(){return b.bulkEdit("ASSIGNEE")}),R(9,"Assignee"),H(),G(10,"button",3),M("click",function(){return b.bulkEdit("COMPONENT")}),
R(11,"Component"),H(),G(12,"button",4),R(13,"Priority"),H(),G(14,"button",4),R(15,"Severity"),H(),G(16,"button",4),R(17,"Status"),H(),G(18,"button",4),R(19,"Type"),H(),G(20,"button",3),M("click",function(){return b.bulkEdit("VERIFIER")}),R(21,"Verifier"),H(),G(22,"button",3),M("click",function(){return b.bulkEdit("REPORTER")}),R(23,"Reporter"),H(),G(24,"button",3),M("click",function(){return b.bulkEdit("CHANGELIST")}),R(25,"Changelist"),H(),G(26,"button",3),M("click",function(){return b.bulkEdit("CUSTOM_FIELDS")}),
R(27,"Custom Fields"),H(),G(28,"button",4),R(29," Archival state "),H(),G(30,"button",3),M("click",function(){return b.bulkEdit("FOUND_IN")}),R(31,"Found In"),H(),G(32,"button",3),M("click",function(){return b.bulkEdit("SLO_START_TIME")}),R(33,"SLO Start Time"),H(),Q(34,D_a,2,0,"button",5),G(35,"button",3),M("click",function(){return b.bulkEdit("VERIFIED_IN")}),R(36,"Verified In"),H(),G(37,"button",3),M("click",function(){return b.bulkEdit("TARGETED_TO")}),R(38,"Targeted To"),H(),G(39,"button",4),
R(40,"In Prod"),H(),I(41,"mat-divider"),G(42,"button",3),M("click",function(){return b.bulkEdit("COMMENT")}),R(43,"Add Comment"),H()(),G(44,"mat-menu",null,6),Q(46,E_a,2,1,"button",7),H(),G(47,"mat-menu",null,8),Q(49,F_a,2,1,"button",7),H(),G(50,"mat-menu",null,9),Q(52,G_a,2,1,"button",7),H(),G(53,"mat-menu",null,10),Q(55,H_a,2,2,"button",11),H(),G(56,"mat-menu",null,12)(58,"button",3),M("click",function(){return b.quickBulkEdit("IS_ARCHIVED",!0)}),R(59,"Archive"),H(),G(60,"button",3),M("click",function(){return b.quickBulkEdit("IS_ARCHIVED",
!1)}),R(61,"Unarchive"),H()(),G(62,"mat-menu",null,13)(64,"button",3),M("click",function(){return b.quickBulkEdit("IN_PROD",!0)}),R(65,"In Prod"),H(),G(66,"button",3),M("click",function(){return b.quickBulkEdit("IN_PROD",!1)}),R(67,"Not in Prod"),H()(),G(68,"mat-menu",null,14)(70,"button",3),M("click",function(){return b.bulkEditIssueRelation("BLOCKED_BY",!0)}),R(71,"Mark as Blocked By"),H(),G(72,"button",3),M("click",function(){return b.bulkEditIssueRelation("BLOCKING",!0)}),R(73,"Mark as Blocking"),
H(),G(74,"button",3),M("click",function(){return b.bulkEditIssueRelation("PARENT",!0)}),R(75,"Add Parent"),H(),G(76,"button",3),M("click",function(){return b.bulkEditIssueRelation("DUPLICATE")}),R(77,"Duplicate"),H(),G(78,"button",3),M("click",function(){return b.bulkEditIssueRelation("BLOCKED_BY",!1)}),R(79,"Unmark as Blocked By"),H(),G(80,"button",3),M("click",function(){return b.bulkEditIssueRelation("BLOCKING",!1)}),R(81,"Unmark as Blocking"),H(),G(82,"button",3),M("click",function(){return b.bulkEditIssueRelation("PARENT",
!1)}),R(83,"Remove Parent"),H()(),G(84,"mat-menu",null,15)(86,"button",3),M("click",function(){return b.quickBulkEdit("CC",!0)}),R(87,"CC me"),H(),G(88,"button",3),M("click",function(){return b.quickBulkEdit("CC",!1)}),R(89,"Un-CC me"),H(),G(90,"button",3),M("click",function(){return b.bulkEdit("CC")}),R(91,"Edit CC"),H()());if(a&2){var c=Cf(45),d=Cf(48),e=Cf(51),g=Cf(54),h=Cf(57),l=Cf(63);z(1);F("ngIf",b.enableBulkEditUi);z(1);F("disabled",b.isAnonymous);z(1);Df(" ",b.readStatePrompt," ");z(1);F("ngIf",
b.enableBulkEditUi);z(1);F("ngIf",b.enableBulkEditUi);z(7);F("matMenuTriggerFor",c);z(2);F("matMenuTriggerFor",d);z(2);F("matMenuTriggerFor",e);z(2);F("matMenuTriggerFor",g);z(10);F("matMenuTriggerFor",h);z(6);F("ngIf",b.enableBulkEstimatedEffortOption);z(5);F("matMenuTriggerFor",l);z(7);F("ngForOf",b.PRIORITES_VALUES);z(3);F("ngForOf",b.SEVERITIES_VALUES);z(3);F("ngForOf",b.STATUSES_PROTO);z(3);F("ngForOf",b.ISSUE_TYPES_PROTO)}},dependencies:[DB,BB,CB,dw,ew,AM,eX,Jz,tL,LB],encapsulation:2,changeDetection:0});var gX=function(a){this.activeSession=a;this.showFlagIssuesAsSpam=this.showExportCsv=!1;this.exportCsvClicked=new Gv;this.flagAsSpamClicked=new Gv;this.isAnonymous=this.activeSession.isAnonymous()};gX.\u0275fac=function(a){return new (a||gX)(C(gs))};
gX.\u0275cmp=Gc({type:gX,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&&
Q(0,K_a,9,4,"ng-container",0);a&2&&F("ngIf",b.showExportCsv||b.showFlagIssuesAsSpam)},dependencies:[DB,BB,CB,ew,AM,Jz],encapsulation:2,changeDetection:0});var hX=function(){};hX.\u0275fac=function(a){return new (a||hX)};hX.\u0275mod=Ic({type:hX});hX.\u0275inj=rc({imports:[tF]});var iX=function(){};iX.\u0275fac=function(a){return new (a||iX)};iX.\u0275mod=Ic({type:iX});iX.\u0275inj=rc({imports:[EB,tF,WM,hX,iC,FS,JC]});var jX=function(a,b,c){var d=this;this.activeSession=a;this.connectionChecker=b;this.ssoInterceptorState=c;this.notifyUserAndWaitForGoodConnection$=new E.Observable(function(e){d.ssoInterceptorState.showRefreshSso$.next(!0);var g=d.watchForRestoredConnection$.subscribe(e),h=new E.ReplaySubject(1);d.watchForRestoredConnection$.pipe(Te(h)).subscribe(function(){d.ssoInterceptorState.showRefreshSso$.next(!1)});return function(){h.next();g.unsubscribe()}});this.watchForRestoredConnection$=(0,E.fromEvent)(window,
"focus").pipe(Se(function(){return d.connectionChecker.ok$}),ye(function(e){return e}),Ge(),D(function(){}),Oe())};jX.prototype.intercept=function(a,b){return UD(this.activeSession,"enableRefreshSsoPopup")&&a.url&&a.url.startsWith("action/")?ySc(this,b,a):b.handle(a)};
var ySc=function(a,b,c){return new E.Observable(function(d){var e=b.handle(c).subscribe({next:function(h){d.next(h)},complete:function(){d.complete()},error:function(h){zSc(a,b,c,h).pipe(Te(g)).subscribe(d)}}),g=new E.ReplaySubject(1);return function(){g.next();e.unsubscribe()}})},zSc=function(a,b,c,d){return 403===d.status||404===d.status||429===d.status?(0,E.throwError)(d):a.connectionChecker.ok$.pipe(Se(function(e){return e?(0,E.throwError)(d):a.notifyUserAndWaitForGoodConnection$.pipe(Se(function(){return b.handle(c)}))}))};
jX.\u0275fac=function(a){return new (a||jX)(u(gs),u(kX),u(lX))};jX.\u0275prov=qc({token:jX,factory:jX.\u0275fac,providedIn:"root"});var lX=function(){this.showRefreshSso$=new E.BehaviorSubject(!1)};lX.\u0275fac=function(a){return new (a||lX)};lX.\u0275prov=qc({token:lX,factory:lX.\u0275fac,providedIn:"root"});
var kX=function(a){var b=this;this.ngZone=a;this.ok$=new E.Observable(function(c){var d=qh("action/yes",function(){b.ngZone.run(function(){d.isSuccess()?c.next("yes"===d.getResponseText()):c.next(!1);c.complete()})});return function(){d.dispose()}})};kX.\u0275fac=function(a){return new (a||kX)(u(We))};kX.\u0275prov=qc({token:kX,factory:kX.\u0275fac,providedIn:"root"});var ASc={provide:iWb,useClass:jX,multi:!0};var BSc=function(a,b){return[a,b]},CSc=[[["b-callout-body"]],[["b-callout-actions"]]],mX=function(){this.messageType="info";this.format="default"};mX.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"}};mX.\u0275fac=function(a){return new (a||mX)};
mX.\u0275cmp=Gc({type:mX,selectors:[["b-callout"]],hostVars:5,hostBindings:function(a,b){a&2&&rf(Kf(2,BSc,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&&(xf(CSc),G(0,"div",0),I(1,"mat-icon",1),G(2,"div",2),yf(3),H(),G(4,"div",3),yf(5,1),H()());a&2&&(z(1),
F("svgIcon",b.getIconName()))},dependencies:[uA],styles:["[_nghost-%COMP%]{display:block;border-radius:8px;color:#3c4043;color:var(--c800);padding:4px}[_nghost-%COMP%]     .mat-button{min-height:28px;line-height:28px;padding:0px 8px}.app[_nghost-%COMP%]{border-radius:0;padding-left:24px}.app[_nghost-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin-left:0;margin-right:10px}.content[_ngcontent-%COMP%]{flex-grow:1}mat-icon[_ngcontent-%COMP%]{margin-left:8px;margin-right:4px}.callout[_ngcontent-%COMP%]{display:flex;align-items:center;min-height:36px}.info[_nghost-%COMP%]{background-color:#e8f0fe;background-color:var(--primary-c50)}.info[_nghost-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#1a73e8;color:var(--text-primary)}.info[_nghost-%COMP%]    .mat-button, .info[_nghost-%COMP%]    .mat-stroked-button, .info[_nghost-%COMP%]    .mat-icon-button{color:#1a73e8;color:var(--link)}.info[_nghost-%COMP%]    .mat-flat-button, .info[_nghost-%COMP%]    .mat-raised-button{background-color:#1a73e8;background-color:var(--primary-btn-bg);color:#fff;color:var(--text-inverse)}.archived[_nghost-%COMP%], .caution[_nghost-%COMP%]{background-color:#feefc3;background-color:var(--warn-c50);border-color:#fbbc04;border-color:var(--warn-gfx-muted)}.archived[_nghost-%COMP%]   mat-icon[_ngcontent-%COMP%], .caution[_nghost-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#e37400;color:var(--warn-gfx)}.archived[_nghost-%COMP%]    .mat-button, .archived[_nghost-%COMP%]    .mat-stroked-button, .archived[_nghost-%COMP%]    .mat-icon-button, .caution[_nghost-%COMP%]    .mat-button, .caution[_nghost-%COMP%]    .mat-stroked-button, .caution[_nghost-%COMP%]    .mat-icon-button{color:rgba(0,0,0,.7);color:var(--text-warn)}.archived[_nghost-%COMP%]    .mat-flat-button, .archived[_nghost-%COMP%]    .mat-raised-button, .caution[_nghost-%COMP%]    .mat-flat-button, .caution[_nghost-%COMP%]    .mat-raised-button{background-color:#e37400;background-color:var(--warn-gfx);color:#fff;color:var(--text-inverse)}.error[_nghost-%COMP%]{background-color:#fef4f3;background-color:var(--bad-bg-pale);border-color:#f6aea9;border-color:var(--bad-gfx-muted)}.error[_nghost-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#c5221f;color:var(--bad-gfx)}.error[_nghost-%COMP%]    .mat-button, .error[_nghost-%COMP%]    .mat-stroked-button, .error[_nghost-%COMP%]    .mat-icon-button{color:#c5221f;color:var(--bad-link)}.error[_nghost-%COMP%]    .mat-flat-button, .error[_nghost-%COMP%]    .mat-raised-button{background-color:#a50e0e;background-color:var(--bad-bg-inverse);color:#fff;color:var(--text-inverse)}.success[_nghost-%COMP%]{background-color:#eafaef;background-color:var(--good-bg-pale);border-color:#1e8e3e;border-color:var(--good-gfx)}.success[_nghost-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#1e8e3e;color:var(--good-gfx)}.success[_nghost-%COMP%]    .mat-button, .success[_nghost-%COMP%]    .mat-stroked-button, .success[_nghost-%COMP%]    .mat-icon-button{color:#1e8e3e;color:var(--good-link)}.success[_nghost-%COMP%]    .mat-flat-button, .success[_nghost-%COMP%]    .mat-raised-button{background-color:#34a853;background-color:var(--good);color:#fff;color:var(--text-inverse)}/*# sourceMappingURL=callout.css.map */"]});
var nX=function(){};nX.\u0275fac=function(a){return new (a||nX)};nX.\u0275dir=Kc({type:nX,selectors:[["b-callout-body"],["b-callout-actions"]]});var DSc=function(a,b){this.activeSession=a;this.isAnonymous=this.activeSession.isAnonymous();this.showRefreshSsoMessage$=b.showRefreshSso$};DSc.\u0275fac=function(a){return new (a||DSc)(C(gs),C(lX))};
DSc.\u0275cmp=Gc({type:DSc,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&&(Q(0,Q_a,7,4,"b-callout",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.showRefreshSsoMessage$))},dependencies:[ew,mX,nX,Jz,kw],encapsulation:2,changeDetection:0});var ESc=function(a,b,c){var d=this;this.session=a;this.principalTypes=b;this.cdr=c;this.showHiringBanner=!1;UD(this.session,"weAreHiring")&&LI(this.principalTypes,this.session.getUserEmail(),!0).then(function(e){d.showHiringBanner="UNRESTRICTED_GOOGLER"===e.detailedUserType;d.cdr.detectChanges()}).catch(function(){})};ESc.\u0275fac=function(a){return new (a||ESc)(C(gs),C(KI),C(cH,2))};
ESc.\u0275cmp=Gc({type:ESc,selectors:[["b-hiring-banner"]],features:[Gf([cH])],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&&Q(0,R_a,2,0,"a",0);a&2&&F("ngIf",b.showHiringBanner)},dependencies:[ew],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 oX=function(){};oX.\u0275fac=function(a){return new (a||oX)};oX.\u0275mod=Ic({type:oX});oX.\u0275inj=rc({imports:[tF]});var pX=function(a){this.hotkeys=a};pX.prototype.ngOnInit=function(){this.hotkeys.pause()};pX.prototype.ngOnDestroy=function(){this.hotkeys.unpause()};pX.\u0275fac=function(a){return new (a||pX)(C(CL))};
pX.\u0275cmp=Gc({type:pX,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&&(G(0,"h1",0),R(1,"Keyboard shortcuts"),H(),G(2,"mat-dialog-content")(3,"table"),Q(4,T_a,6,2,"thead",1),H()(),G(5,"mat-dialog-actions")(6,"button",2),R(7,"Close"),H()());
a&2&&(z(4),F("ngForOf",Enc(b.hotkeys)))},dependencies:[dw,Jz,Xz,Yz,Zz,$z],encapsulation:2});var qX=function(){};qX.\u0275fac=function(a){return new (a||qX)};qX.\u0275mod=Ic({type:qX});qX.\u0275inj=rc({imports:[tF,iC,aA]});var U_a=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.sloStartTime=this.sloStatus=this.position=this.effort=null;this.signals=[]};var rX=function(a,b,c){this.internalIssues=a;this.params=b;this.numTotalResults=c;this.numPages=Math.ceil(c/b.resultsPerPage);this.startIndex=(b.page-1)*b.resultsPerPage+1;this.endIndex=Math.min(this.startIndex+b.resultsPerPage-1,c);a=b.sortColumns;var d;!(d=0===a.length)&&(d=1===a.length)&&(a=a[0],d="ISSUE_ID"===a.fieldId.type&&"DESCENDING"===a.direction?!0:"CREATED_TIME"===a.fieldId.type?!0:"MODIFIED_TIME"===a.fieldId.type?!0:"POSITION"===a.fieldId.type?!0:!1);this.isPreSort=d;this.totalText=this.getTotalText(c,
b.page,b.resultsPerPage,this.isPreSort);this.numResults=c;this.changed$=new E.BehaviorSubject(this)},FSc=function(a,b){var c=b.positionMap||{},d=b.issues.map(function(e){var g=W_a(e,b.componentMap[oa(e.snapshot).componentId||0]);c&&c[e.issueId]&&(g.position=c[e.issueId]);return g});return new rX(d,a,b.numTotalResults)},GSc=function(a,b){var c=b.issuesWithSignals.map(function(d){var e,g=W_a(d.issue,null!=(e=b.components[oa(d.issue.snapshot).componentId||0])?e:null);g.signals=d.signals;return g});return new rX(c,
a,b.numTotalResults)};rX.prototype.hasPreviousPage=function(){return 1<this.params.page};rX.prototype.hasNextPage=function(){return this.params.page<this.numPages};var sX=function(a,b){var c=a.issues.findIndex(function(d){return d.issueId===b});return-1!==c?c+a.startIndex:-1};rX.prototype.getIssueIdFromIndex=function(a){if(a>=this.startIndex&&a<=this.endIndex&&(a-=this.startIndex,a<this.issues.length))return this.issues[a].issueId};
var HSc=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=sX(a,c.issueId);-1!==e&&(e-=a.startIndex,V_a(a.issues[e],c,d),a.issues[e].selected=!1)}a.changed$.next(a)},ISc=function(a,b,c,d){b=sX(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)};rX.prototype.clone=function(){var a=new rX(this.internalIssues,this.params,this.numTotalResults);a.changed$.next(a);return a};rX.prototype.getTotalText=function(a,b,c,d){return a<=b*c?a.toString():d?"many":a.toString()};hh.Object.defineProperties(rX.prototype,{issues:{configurable:!0,enumerable:!0,get:function(){return this.internalIssues},set:function(a){this.internalIssues=a;this.changed$.next(this)}}});var JSc=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};
JSc.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?GSc(a.params,e):FSc(a.params,e));return a.searchResultsPage},function(e){return Promise.reject(e)})};
var KSc=function(a){return a.searchResultsPage?a.searchResultsPage.hasNextPage():!0};var tX=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},NSc=function(a,b){var c=Ol();LSc(b.page)?(MSc(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},PSc=function(a){var b=
Ol(),c=null;a.currentResultsFetcher_?c=a.currentResultsFetcher_.params:c=OSc(a);c?(MSc(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},uX=function(a){a.currentResultsFetcher_=null;a.nextResultsFetcher_=null;a.previousResultsFetcher_=null;a.focusedIssueIndex_=-1},QSc=function(a,b){var c=Ol();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=Nh(a.currentResultsFetcher_.params);e.page=d;MSc(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},RSc=function(a){a.currentResultsFetcher_?
a.currentResultsFetcher_.fetchIssues().then(function(b){b.getIssueIdFromIndex&&(a.focusedIssueIndex_=b.endIndex>=b.startIndex?b.startIndex:-1)}).catch(function(b){zh("unexpected error fetching:",b)}):a.focusedIssueIndex_=-1},OSc=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 Ck(new yk(b.fieldId),b.direction)}));return a}return null},
SSc=function(a,b,c){b=Nh(b);b.page=c;return new JSc(a.issueApi,a.hotlistApi,a.needsAttentionApi,a.paths,b)},TSc=function(a,b){a.currentResultsFetcher_||(a.currentResultsFetcher_=SSc(a,b,b.page),a.currentResultsFetcher_.fetchIssues().catch(function(c){zh("unexpected error fetching:",c)}));!a.previousResultsFetcher_&&1<b.page&&(a.previousResultsFetcher_=SSc(a,b,b.page-1),a.previousResultsFetcher_.fetchIssues().catch(function(c){zh("unexpected error fetching:",c)}));!a.nextResultsFetcher_&&KSc(a.currentResultsFetcher_)&&
(a.nextResultsFetcher_=SSc(a,b,b.page+1),a.nextResultsFetcher_.fetchIssues().catch(function(c){zh("unexpected error fetching:",c)}))},MSc=function(a,b){b.page=Rh(b.page);if(!b.resultsPerPage||isNaN(b.resultsPerPage))throw Error("Vd");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&&Mh(b.sortColumns,c.sortColumns)&&b.resultsPerPage===c.resultsPerPage&&Mh(b.trackerIds,c.trackerIds)?a.currentResultsFetcher_.params.returnUrl=b.returnUrl:uX(a)}TSc(a,b);b=JSON.stringify(a.currentResultsFetcher_.params);a.$window.sessionStorage.setItem("buganizer.searchParams",
b)},LSc=function(a){var b=Rh(""+a);return isNaN(b)||b!=Number(a)||1>b||2147483647<b?!1:!0};tX.\u0275fac=function(a){return new (a||tX)(u(VD),u(kE),u(GG),u(hU),u(vG))};tX.\u0275prov=qc({token:tX,factory:tX.\u0275fac,providedIn:"root"});var vX=function(a,b,c,d){WD.call(this);var e=this;this.paramsService=a;this.issueFetchResponseFridge=b;this.pageTitle=c;this.issuePermissionService=d;this.handlers$=this.paramsService.routeParams$.pipe(Fe(Mh),Se(function(g){return e.onRouteParamsChanged(g)}));this.init=function(){e.subscriptions.add(e.handlers$.subscribe(function(){}))};this.initOnce=mza(this.init)};U(vX,WD);vX.\u0275dir=WD.\u0275dir;vX.prototype.onRouteParamsChanged=function(a){return a.issueId?USc(this,a.issueId):(0,E.of)()};
var USc=function(a,b){return(0,E.combineLatest)([pH(a.issueFetchResponseFridge,b),a.issuePermissionService.accessLevel$]).pipe(Re([]),D(function(c){c=k(c);var d=c.next().value;c=c.next().value;var e;if(d=null==(e=null==d?void 0:d.issue)?void 0:e.snapshot[0].title){e=d+" ["+b+"]";if(c){a:switch(c){case "EXTERNAL_PARTNER":c="Visible to Partners";break a;case "EXTERNAL_PUBLIC":c="Visible to Public";break a;default:c=""}c&&(e=e+" - "+c)}a.pageTitle.setTitle(e)}else a.pageTitle.setTitle("View issue")}))};
vX.\u0275fac=function(a){return new (a||vX)(u(QI),u(oH),u(TU),u($I))};vX.\u0275prov=qc({token:vX,factory:vX.\u0275fac,providedIn:"root"});var wX=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(VSc(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(),
b.setImage());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);VSc(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();this.setImage();WSc(this)};wX.prototype.start=function(){this.parentElement.appendChild(this.element);requestAnimationFrame(this.animate)};
wX.prototype.stop=function(){this.state=2;this.setImage();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 WSc=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)}};
wX.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};wX.prototype.setImage=function(){this.element.src=1===this.state?"https://www.gstatic.com/buganizer/img/v0/logo.svg":"https://www.gstatic.com/buganizer/img/v0/bug-move.svg"};
var VSc=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};wX.prototype.transform=function(){this.element.style.transform="translate("+this.x+"px,"+this.y+"px) rotate("+(this.direction+90)%360+"deg) scaleX("+this.flip};var XSc=function(a){this.element=a;this.bugs=[]};XSc.prototype.start=function(){for(var a=this,b=0;3>b;b++)YSc(this);this.intervalSubscription=(0,E.interval)(1E4).subscribe(function(){YSc(a);10<=a.bugs.length&&a.intervalSubscription&&a.intervalSubscription.unsubscribe()})};XSc.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 YSc=function(a){var b=new wX(a.element);b.start();a.bugs.push(b)};var xX=function(a,b,c,d){var e=this;this.ngZone=a;this.userPreferencesManager=b;this.snackBar=c;this.destroyed$=new E.ReplaySubject(1);this.active$=new E.BehaviorSubject(!0);this.lastTimeoutResetTimestamp=Number.NEGATIVE_INFINITY;this.bugAnimation=new XSc(d.nativeElement);this.active$.pipe(Te(this.destroyed$),Fe()).subscribe(function(g){g?ZSc(e):$Sc(e)})};xX.prototype.ngOnInit=function(){"visible"===document.visibilityState&&aTc(this)};xX.prototype.ngOnDestroy=function(){this.destroyed$.next()};
var aTc=function(a){a.timeoutId=setTimeout(function(){a.active$.next(!1)},18E4)};xX.prototype.onUserEvent=function(){var a=Date.now();a<this.lastTimeoutResetTimestamp+1E4||(this.lastTimeoutResetTimestamp=a,this.active$.next(!0),clearTimeout(this.timeoutId),aTc(this))};xX.prototype.onVisibilityChange=function(){this.onUserEvent();switch(document.visibilityState){case "hidden":clearTimeout(this.timeoutId),this.lastTimeoutResetTimestamp=Number.NEGATIVE_INFINITY}};
var $Sc=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()})},ZSc=function(a){a.ngZone.runOutsideAngular(function(){a.bugAnimation.stop()})};
xX.\u0275fac=function(a){return new (a||xX)(C(We),C(uI),C(AF),C(vd))};
xX.\u0275cmp=Gc({type:xX,selectors:[["bug-screensaver"]],hostBindings:function(a,b){a&1&&M("click",function(){return b.onUserEvent()},!1,yd)("keydown",function(){return b.onUserEvent()},!1,yd)("mousemove",function(){return b.onUserEvent()},!1,yd)("wheel",function(){return b.onUserEvent()},!1,yd)("touchstart",function(){return b.onUserEvent()},!1,yd)("focus",function(){return b.onUserEvent()},!1,yd)("visibilitychange",function(){return b.onVisibilityChange()},!1,Sfa)},decls:0,vars:0,template:function(){},
encapsulation:2});var bTc=function(a,b){var c=b.isInternalSession();this.isEnabled$=a.bugScreensaverSubject$.pipe(D(function(d){return(d.enableBugScreensaver||!1)&&c}))};bTc.\u0275fac=function(a){return new (a||bTc)(C(uI),C(gs))};bTc.\u0275cmp=Gc({type:bTc,selectors:[["bug-screensaver-manager"]],decls:2,vars:3,consts:[[4,"ngIf"]],template:function(a,b){a&1&&(Q(0,X_a,1,0,"bug-screensaver",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.isEnabled$))},dependencies:[ew,xX,kw],encapsulation:2});var yX=function(){};yX.\u0275fac=function(a){return new (a||yX)};yX.\u0275mod=Ic({type:yX});yX.\u0275inj=rc({imports:[tF]});var zX=function(){};zX.\u0275fac=function(a){return new (a||zX)};zX.\u0275mod=Ic({type:zX});zX.\u0275inj=rc({imports:[tF,zF,aS,yX]});var cTc=function(a){this.currentTracker=a;this.trackerName$=this.currentTracker.tracker$.pipe(D(function(b){var c;return null!=(c=null==b?void 0:b.name)?c:""}));this.trackerLogo$=this.currentTracker.tracker$.pipe(D(function(b){var c,d;return null!=(d=null==b?void 0:null==(c=b.branding)?void 0:c.logoUrl)?d:""}));this.trackerCoc$=this.currentTracker.tracker$.pipe(D(function(b){var c,d;return null!=(d=null==b?void 0:null==(c=b.branding)?void 0:c.cocUrl)?d:""}))};
cTc.\u0275fac=function(a){return new (a||cTc)(C(lK))};
cTc.\u0275cmp=Gc({type:cTc,selectors:[["b-footer"]],decls:2,vars:3,consts:[[4,"ngIf"],["alt","",1,"logo",3,"src"],[1,"title"],[1,"padded-s-sides"],["href","https://policies.google.com/privacy","target","_blank"],["href","https://policies.google.com/terms","target","_blank"],["id","code-of-conduct","target","_blank",3,"href"]],template:function(a,b){a&1&&(Q(0,Z_a,17,9,"footer",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.currentTracker.inTracker$))},dependencies:[ew,kw],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 AX=function(){};AX.\u0275fac=function(a){return new (a||AX)};AX.\u0275mod=Ic({type:AX});AX.\u0275inj=rc({imports:[tF]});var dTc=function(){};dTc.\u0275fac=function(a){return new (a||dTc)};dTc.\u0275cmp=Gc({type:dTc,selectors:[["b-ng2-router-outlet"]],decls:1,vars:0,template:function(a){a&1&&I(0,"router-outlet")},dependencies:[eG],encapsulation:2});var eTc=function(){};eTc.\u0275fac=function(a){return new (a||eTc)};eTc.\u0275cmp=Gc({type:eTc,selectors:[["b-router-outlet"]],decls:1,vars:0,template:function(a){a&1&&I(0,"b-ng2-router-outlet")},dependencies:[dTc],encapsulation:2});var BX=function(){};BX.\u0275fac=function(a){return new (a||BX)};BX.\u0275mod=Ic({type:BX});BX.\u0275inj=rc({imports:[tF,tG]});var CX=function(a,b,c){WD.call(this);var d=this;this.paramsService=b;this.issueFetchResponseFridge=c;this.componentIdOverride$=new E.BehaviorSubject(null);this.hotlistIdOverride$=new E.BehaviorSubject(null);this.routeIssueId$=this.paramsService.issueId$;this.routeComponentId$=Tic(this.paramsService,"componentId").pipe(Fe());this.routeHotlistId$=Tic(this.paramsService,"hotlistId").pipe(Fe());this.issueId$=this.routeIssueId$.pipe(D(a0a),Pe({refCount:!0,bufferSize:1}));this.componentIdFromIssueId$=this.issueId$.pipe(Se(function(e){return e?
pH(d.issueFetchResponseFridge,e):(0,E.of)(void 0)}),D(function(e){var g;return null==e?void 0:null==(g=e.issue)?void 0:g.snapshot[0].componentId}));this.componentId$=(0,E.combineLatest)([this.componentIdOverride$,this.routeComponentId$,this.componentIdFromIssueId$]).pipe(D(function(e){var g=k(e);e=g.next().value;var h=g.next().value;g=g.next().value;return e||h||g}),D($_a),Fe(),Pe({refCount:!0,bufferSize:1}));this.hotlistId$=(0,E.combineLatest)([this.hotlistIdOverride$,this.routeHotlistId$]).pipe(D(function(e){var g=
k(e);e=g.next().value;g=g.next().value;return e||g}),D($_a),Fe(),Pe({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){Pm("dimension4",e)}))};U(CX,WD);CX.\u0275dir=WD.\u0275dir;CX.prototype.getComponentId=function(){return this.componentId$};CX.prototype.getIssueId=function(){return this.issueId$};CX.prototype.getHotlistId=function(){return this.hotlistId$};
CX.\u0275fac=function(a){return new (a||CX)(u(fH),u(QI),u(oH))};CX.\u0275prov=qc({token:CX,factory:CX.\u0275fac,providedIn:"root"});var DX=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(Se(function(g){return g?e.componentFridge.watch(g):(0,E.of)(void 0)}),D(function(g){return g&&!g.archived?g:void 0}));this.visibleOptions$=(0,E.combineLatest)([this.currentTracker.tracker$,this.component$,this.context.getIssueId(),this.context.getHotlistId()]).pipe(Ee(0),D(function(g){var h=k(g);
g=h.next().value;var l=h.next().value,q=h.next().value;h=h.next().value;return fTc(e,null!=g?g:void 0,l,q,h)}));this.buttonLabel$=this.visibleOptions$.pipe(D(function(g){return g.length?"Create":"Create Issue"}));this.buttonIcon$=this.currentTracker.tracker$.pipe(D(function(g){var h;return"OPEN_SOURCE"===(null==g?void 0:null==(h=g.branding)?void 0:h.theme)?"create-open-source-36px":"create-color-36px"}))};DX.prototype.ngOnInit=function(){};DX.prototype.trackClick=function(a){Om("create","click",a)};
var fTc=function(a,b,c,d,e){var g=new Map;b=b&&c&&!Nl(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(Vc(g.entries())).map(function(l){var q=k(l);l=q.next().value;q=q.next().value;return{name:ZAa(l),path:q}})};DX.\u0275fac=function(a){return new (a||DX)(C(vG),C(CX),C(lK),C(eF))};
DX.\u0275cmp=Gc({type:DX,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&&(Q(0,d0a,3,3,"ng-container",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.visibleOptions$))},dependencies:[ew,UN,kw],encapsulation:2,changeDetection:0});var ip=function(a){r.call(this,a)};U(ip,r);f=ip.prototype;f.getHotlistId=function(){return yi(this,no(this,hp,1))};f.setHotlistId=function(a){$n(this,1,hp,a)};f.getName=function(){return V(this,2)};f.setName=function(a){return n(this,2,a)};f.hasName=function(){return wk(this,2)};f.getNameOrUndefined=function(){return dt(this,2)};f.getDescription=function(){return V(this,3)};f.setDescription=function(a){return n(this,3,a)};f.hasDescription=function(){return wk(this,3)};var hp=[1,4];
ip.prototype.toObject=function(){return gTc(this)};var gTc=function(a){if(null!=a)return t(a),{hotlistId:p(mo(a,no(a,hp,1))),savedSearchId:p(mo(a,no(a,hp,4))),name:p(m(a,2)),description:p(m(a,3))}};var EX=function(a){r.call(this,a,0,EX.messageId)};U(EX,r);f=EX.prototype;f.getBookmarkGroupId=function(){return yi(this,1)};f.setBookmarkGroupId=function(a){n(this,1,a)};f.getName=function(){return V(this,2)};f.setName=function(a){return n(this,2,a)};f.hasName=function(){return wk(this,2)};f.getNameOrUndefined=function(){return dt(this,2)};f.getDescription=function(){return V(this,3)};f.setDescription=function(a){return n(this,3,a)};f.hasDescription=function(){return wk(this,3)};
f.getArchived=function(){return Jj(this,5)};f.setArchived=function(a){Lj(this,5,a)};f.getItemList=function(){return aj(this,ip,6)};f.setItemList=function(a){dj(this,6,a)};f.addItem=function(a,b){return jo(this,6,ip,a,b)};f.setItem=function(a,b){return Fs(this,6,ip,a,b)};f.getItemCount=function(){return Es(this,ip,6)};f.getAdminUsersList=function(){return aj(this,gi,9)};f.setAdminUsersList=function(a){dj(this,9,a)};EX.repeatedFields_=[6,9];EX.prototype.toObject=function(){return hTc(this)};
var hTc=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(ar(a,5)),itemList:Kb(a.getItemList(),gTc),adminUsersList:Kb(a.getAdminUsersList(),WC)}};EX.messageId="b.BookmarkGroup";var FX=function(a){r.call(this,a,0,FX.messageId)};U(FX,r);FX.prototype.getBookmarkGroupsList=function(){return aj(this,EX,1)};FX.repeatedFields_=[1];FX.prototype.toObject=function(){if(null!=this){t(this);var a={bookmarkGroupsList:Kb(this.getBookmarkGroupsList(),hTc)}}else a=void 0;return a};FX.messageId="b.BookmarkGroupListResponse";var GX=function(a){this.executor=a};GX.prototype.get=function(a){return this.executor.get({url:"action/bookmark_groups/"+a,responseConstructor:EX}).then(h0a).then(e0a)};GX.prototype.query=function(a){return this.executor.get({url:"action/bookmark_groups",options:{params:{q:a}},responseConstructor:FX}).then(j0a).then(f0a)};GX.prototype.create=function(a){var b=new EX;b.setName(a.name);a.description&&b.setDescription(a.description);return this.executor.post({url:"action/bookmark_groups",body:b,responseConstructor:EX}).then(h0a).then(e0a)};
GX.prototype.update=function(a){var b=new EX;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(i0a));var d;b.setAdminUsersList((null!=(d=a.adminUsers)?d:[]).map(hi));return this.executor.post({url:"action/bookmark_groups/"+a.bookmarkGroupId,body:b,responseConstructor:EX}).then(h0a).then(e0a)};GX.\u0275fac=function(a){return new (a||GX)(u(MC))};
GX.\u0275prov=qc({token:GX,factory:GX.\u0275fac,providedIn:"root"});var HX=function(a,b){this.router=a;this.location=b},frb=function(a){var b=a.location.url();Rr(a.router,"/",{skipLocationChange:!0}).then(function(){return Rr(a.router,b,{skipLocationChange:!0})})};HX.\u0275fac=function(a){return new (a||HX)(u(nG),u(uG))};HX.\u0275prov=qc({token:HX,factory:HX.\u0275fac,providedIn:"root"});var IX=function(a,b,c,d,e,g,h,l,q,x){WD.call(this);var A=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=x;this.sidebarData={hotlists:[],bookmarkGroups:[],archivedHotlists:[],archivedBookmarkGroups:[],userSearches:[]};this.userSavedSearches=[];this.userHotlists=[];iTc(this);jTc(this);this.fetchUserHotlists();a=function(){iTc(A)};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(){jTc(A)}));a=function(){A.fetchUserHotlists()};this.subscriptions.add(this.appEvents.hotlistCreated.subscribe(a));this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(a))};U(IX,WD);IX.\u0275dir=WD.\u0275dir;
var iTc=function(a){a.userApi.getUserSidebar().then(function(b){a.sidebarData.hotlists=kTc(a,b.hotlists);a.sidebarData.bookmarkGroups=lTc(a,b.bookmarkGroups);a.sidebarData.archivedHotlists=kTc(a,b.archivedHotlists);a.sidebarData.archivedBookmarkGroups=lTc(a,b.archivedBookmarkGroups);a.appEvents.sidebarUpdated.next()}).catch(function(b){a.errorHandler.errorHandler(null,b)})},jTc=function(a){a.userApi.getUserSavedSearches().then(function(b){b=mTc(a,b);a.sidebarData.userSearches=b;yaa(a.userSavedSearches);
Aaa(a.userSavedSearches,b);a.appEvents.sidebarUpdated.next()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};IX.prototype.fetchUserHotlists=function(){var a=this;this.userApi.getUserHotlists().then(function(b){nTc(a,b);a.appEvents.sidebarUpdated.next()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
var kTc=function(a,b){return(b||[]).map(function(c){return oTc(a.sidebarItemFactory,c)}).sort(function(c,d){return c.name.localeCompare(d.name)})},lTc=function(a,b){return(b||[]).map(function(c){var d=a.sidebarItemFactory;return new pTc(c,d.activeSession,d.analytics,d.userApi,d.bookmarkGroupsApi,d.butterBar,d.paths,d.userPreferencesManager,d.errorHandler,d,d.confirmationDialogService,d.appEvents)})},mTc=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 qTc(a.sidebarItemFactory,c)})},nTc=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 oTc(a.sidebarItemFactory,c)});yaa(a.userHotlists);Aaa(a.userHotlists,b)};
IX.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||(uX(this.issuePagination),Qec(this.paths,a)&&frb(this.reloadService),this.bLocation.url(a),b.preventDefault(),b.stopPropagation())};IX.\u0275fac=function(a){return new (a||IX)(u(HX),u(gs),u(OG),u(GF),u(uG),u(vG),u(tX),u(JX),u(KF),u(gH))};
IX.\u0275prov=qc({token:IX,factory:IX.\u0275fac,providedIn:"root"});var KX=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()};KX.prototype.isEditable=function(){return rTc(this)};KX.prototype.isSelected=function(){return Pec(this.paths,this.href)};
KX.prototype.isUnstarable=function(){return!rTc(this)&&this.starred};
var rTc=function(a){return a.adminUsers.some(function(b){return b.emailAddress===a.userEmail})},sTc=function(a,b){var c=vI(a.userPreferencesManager).homepagePreferences;return(null==c?void 0:c.resourceId)===a.id&&c.resourceType===b},tTc=function(a,b){DF(a.butterBar,"Updating homepage...",0);bic(a.userPreferencesManager,{resourceType:b,resourceId:a.id}).pipe(Ge()).subscribe(function(){DF(a.butterBar,"Homepage updated")})},uTc=function(a,b,c,d,e,g,h,l,q,x,A,B){KX.call(this,a,b,c,d,e,h,l,q);this.hotlistApi=
g;this.errorHandler=x;this.confirmationDialogService=A;this.appEvents=B;this.href=l.viewHotlist(a.id);this.type="HOTLIST"};U(uTc,KX);f=uTc.prototype;f.isPreferredHomepage=function(){return sTc(this,"HOTLIST")};f.setAsPreferredHomepage=function(){tTc(this,"HOTLIST")};
f.archive=function(){var a=this;DF(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});DF(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;DF(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});DF(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:fn("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;DF(this.butterBar,"Unstarring hotlist ID "+this.id+"...");this.userApi.deleteFavorite({resourceType:"HOTLIST",resourceId:this.id}).then(function(){DF(a.butterBar,"Unstarred hotlist ID "+a.id);a.appEvents.hotlistChanged.next()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};var LX=function(a,b,c,d,e,g,h,l){KX.call(this,a,b,c,d,e,g,h,l);this.href=h.viewSavedSearch(a.id);this.type="SAVED_SEARCH"};U(LX,KX);LX.prototype.isUnstarable=function(){return!1};
LX.prototype.unstar=function(){};LX.prototype.isPreferredHomepage=function(){return sTc(this,"SAVED_SEARCH")};LX.prototype.setAsPreferredHomepage=function(){tTc(this,"SAVED_SEARCH")};
var pTc=function(a,b,c,d,e,g,h,l,q,x,A,B){KX.call(this,a,b,c,d,e,g,h,l);this.errorHandler=q;this.sidebarItemFactory=x;this.confirmationDialogService=A;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(oTc(this.sidebarItemFactory,b));break;case "SAVED_SEARCH":this.items.push(qTc(this.sidebarItemFactory,b))}this.items.sort(function(K,N){return K.name.localeCompare(N.name)})};U(pTc,KX);f=pTc.prototype;
f.isPreferredHomepage=function(){return sTc(this,"BOOKMARK_GROUP")};f.setAsPreferredHomepage=function(){tTc(this,"BOOKMARK_GROUP")};
f.archive=function(){var a=this;DF(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});DF(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;DF(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});DF(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:fn("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;DF(this.butterBar,"Unstarring bookmark group ID "+this.id+"...");this.userApi.deleteFavorite({resourceType:"BOOKMARK_GROUP",resourceId:this.id}).then(function(){DF(a.butterBar,"Unstarred bookmark group ID "+a.id);a.appEvents.bookmarkGroupModified.next()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
var JX=function(a,b,c,d,e,g,h,l,q,x,A){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=x;this.appEvents=A},oTc=function(a,b){return new uTc(b,a.activeSession,a.analytics,a.userApi,a.bookmarkGroupsApi,a.hotlistApi,a.butterBar,a.paths,a.userPreferencesManager,a.errorHandler,a.confirmationDialogService,a.appEvents)},qTc=function(a,b){return new LX(b,
a.activeSession,a.analytics,a.userApi,a.bookmarkGroupsApi,a.butterBar,a.paths,a.userPreferencesManager)};JX.\u0275fac=function(a){return new (a||JX)(u(gs),u(OG),u(GX),u(GG),u(GF),u(vG),u(gH),u(CF),u(uI),u(oI),u(KF))};JX.\u0275prov=qc({token:JX,factory:JX.\u0275fac,providedIn:"root"});var MX=function(a){this.prefs=a;this.expanded=!0;this.content=this.header=null};MX.prototype.ngOnInit=function(){this.prefKey&&(this.expanded=!dic(this.prefs,this.prefKey))};MX.prototype.onClick=function(){var a=this,b,c;return he(function(d){b=!a.expanded;a.expanded=b;if(!a.prefKey)return d.jumpTo(0);c={};return d.yield((0,E.firstValueFrom)(cic(a.prefs,(c[a.prefKey]=!b,c))),0)})};MX.\u0275fac=function(a){return new (a||MX)(C(uI))};
MX.\u0275cmp=Gc({type:MX,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&&(G(0,"div",0),M("click",function(){return b.onClick()})("keydown.enter",function(c){b.onClick();return c.stopPropagation()})("keydown.space",function(c){b.onClick();return c.preventDefault()}),
Q(1,k0a,1,0,"ng-container",1),H(),Q(2,m0a,2,1,"ng-container",2));a&2&&(qf("opened",b.expanded)("closed",!b.expanded),gf("aria-expanded",b.expanded),z(1),F("ngTemplateOutlet",b.header),z(1),F("ngIf",b.expanded))},dependencies:[ew,jw],encapsulation:2});var NX=function(a,b,c,d){this.location=a;this.analytics=b;this.paths=c;this.sidebar=d;this.bookmarkGroups=[];this.hotlists=[]};f=NX.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)};NX.\u0275fac=function(a){return new (a||NX)(C(uG),C(gH),C(vG),C(IX))};
NX.\u0275cmp=Gc({type:NX,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&&Q(0,C0a,7,2,"div",0);a&2&&F("ngIf",b.hotlists.length||b.bookmarkGroups.length)},dependencies:[dw,ew,uA,Jz,DB,BB,CB,AB,MX],encapsulation:2,changeDetection:0});var OX=function(){this.admins=[]};OX.prototype.ngOnInit=function(){this.url="bookmark-groups/"+this.bookmarkGroup.bookmarkGroupId;this.admins=bi(this.bookmarkGroup.adminUsers)};OX.\u0275fac=function(a){return new (a||OX)};
OX.\u0275cmp=Gc({type:OX,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&&(G(0,"div",0)(1,"div",1)(2,"div",2)(3,"h3")(4,"a",3),R(5),H()(),G(6,"ul")(7,"li"),R(8),H(),G(9,"li"),R(10),H()(),G(11,"div")(12,"p"),R(13),H()()()()());a&2&&(z(4),F("href",b.url,
Md),z(1),Ef(b.bookmarkGroup.name),z(3),Df("ID: ",b.bookmarkGroup.bookmarkGroupId,""),z(2),Ff("",1===b.admins.length?"Admin":"Admins",": ",b.admins.join(", "),""),z(3),Ef(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 vTc=["searchBox"],PX=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 Gv;this.lastProcessedIndex=-1;this.nextRequestIndex=0;this.favoriteBookmarkGroups=new Set;this.favoriteHotlists=new Set;this.query="";this.matches=[];this.currentUserEmail=b.getUserEmail()};
PX.prototype.ngOnInit=function(){this.allowStarring&&wTc(this)};
var wTc=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=PX.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(Vc(e),Vc(g));a.lastProcessedIndex=b;a.cdr.detectChanges()}})}else this.lastProcessedIndex=b};f.shouldShowStar=function(a){return this.allowStarring&&!bi(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();wTc(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))};
PX.\u0275fac=function(a){return new (a||PX)(C(cH,2),C(gs),C(OG),C(GX),C(GG),C(vG),C(gH),C(GF),C(KF))};
PX.\u0275cmp=Gc({type:PX,selectors:[["b-hotlist-search"]],viewQuery:function(a,b){a&1&&(Uf(vTc,5),Uf(zO,5));if(a&2){var c;Tf(c=Wf())&&(b.searchBoxEl=c.first);Tf(c=Wf())&&(b.autocomplete=c.first)}},hostAttrs:[1,"'bv2-hotlist-search'"],inputs:{showGroups:"showGroups",showHotlists:"showHotlists",allowStarring:"allowStarring",focusOnInit:"focusOnInit"},outputs:{itemSelect:"itemSelect"},features:[Gf([cH])],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&&(G(0,"div",0)(1,"input",1,2),M("ngModelChange",function(d){return b.query=d})("ngModelChange",function(){return b.onQueryChange()})("keydown.space",function(d){var e;if(null==(e=b.autocomplete)?0:e.activeOption)b.toggleStar(b.autocomplete.activeOption.value),
d.preventDefault(),d.stopPropagation()}),H(),Q(3,D0a,1,0,"b-spinner",3),G(4,"mat-autocomplete",4,5),M("optionSelected",function(d){b.itemSelect.emit(d.option.value)}),Q(6,H0a,9,8,"mat-option",6),H(),G(7,"div",7),R(8,' e.g., "foo bar admin:user@google.com" '),I(9,"br"),R(10,' or "foo bar admin:group@google.com" '),I(11,"br"),R(12," Only identities directly listed as Admins can be searched. "),H()());if(a&2){var c=Cf(5);z(1);F("ngModel",b.query)("matAutocomplete",c);gf("autofocus",b.focusOnInit)("aria-label",
"Add query for searching "+(b.showGroups?"bookmark groups":"hotlists"));z(2);F("ngIf",b.isLoading());z(3);F("ngForOf",b.matches)}},dependencies:[dw,ew,OX,MS,qJ,vJ,sL,RS,og,Fw,Lw,AO,zO,Lz],encapsulation:2});var xTc=[[["xap-dialog-layout-title"]],[["xap-dialog-layout-subtitle"]],[["xap-dialog-layout-content"]],[["xap-dialog-layout-actions"]]],yTc=function(){};yTc.\u0275fac=function(a){return new (a||yTc)};yTc.\u0275dir=Kc({type:yTc,selectors:[["xap-dialog-layout-subtitle"]]});var QX=function(a,b,c){this.el=a;this.cdRef=b;this.ngZone=c;this.destroyed=new E.ReplaySubject;this.internalScrollable=!1;this.internalScrollPosition="bottom"};
QX.prototype.ngOnInit=function(){var a=this;this.internalScrollPosition=this.getScrollPosition(this.el.nativeElement);this.ngZone.runOutsideAngular(function(){zTc(a).subscribe(function(b){a.ngZone.run(function(){a.internalScrollable=b;a.cdRef.markForCheck();a.cdRef.detectChanges()})});ATc(a).subscribe(function(b){a.ngZone.run(function(){a.internalScrollPosition=b;a.cdRef.markForCheck();a.cdRef.detectChanges()})})})};QX.prototype.ngOnDestroy=function(){this.destroyed.next();this.destroyed.complete()};
var zTc=function(a){if(!window.ResizeObserver)return(0,E.of)(BTc(a.el.nativeElement));var b;return(0,E.fromEventPattern)(function(c){b=new ResizeObserver(function(){c(BTc(a.el.nativeElement))});b.observe(a.el.nativeElement)},function(){b.disconnect()}).pipe(Fe(),Te(a.destroyed))},ATc=function(a){return(0,E.fromEvent)(a.el.nativeElement,"scroll").pipe(I0a(),D(function(){return a.getScrollPosition(a.el.nativeElement)}),Fe(),Te(a.destroyed))},BTc=function(a){return a.offsetHeight+a.scrollTop<=a.scrollHeight};
QX.prototype.getScrollPosition=function(a){return 0===a.scrollTop?"top":a.offsetHeight+a.scrollTop>=a.scrollHeight?"bottom":"center"};hh.Object.defineProperties(QX.prototype,{scrollable:{configurable:!0,enumerable:!0,get:function(){return this.internalScrollable}},scrollPosition:{configurable:!0,enumerable:!0,get:function(){return this.internalScrollPosition}}});QX.\u0275fac=function(a){return new (a||QX)(C(vd),C(Yv),C(We))};
QX.\u0275dir=Kc({type:QX,selectors:[["xap-dialog-layout-content"]],hostAttrs:[1,"xap-dialog-layout-content"],hostVars:6,hostBindings:function(a,b){a&2&&qf("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 RX=function(){};RX.\u0275fac=function(a){return new (a||RX)};
RX.\u0275cmp=Gc({type:RX,selectors:[["xap-dialog-layout"]],contentQueries:function(a,b,c){a&1&&Vf(c,yTc,4);if(a&2){var d;Tf(d=Wf())&&(b.subtitle=d)}},hostAttrs:[1,"xap-dialog-layout"],hostVars:2,hostBindings:function(a,b){a&2&&qf("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&&(xf(xTc),
G(0,"header",0),yf(1),yf(2,1),H(),yf(3,2),yf(4,3))},styles:[".xap-dialog-layout{display:block;padding:24px 24px 8px;overflow-x:hidden}xap-dialog-layout-title{display:block;padding:0}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 CTc=Mg({opacity:0}),DTc=Mg({opacity:1}),ETc=Kg("dialogContainer",[Ng("void, hidden",CTc),Ng("visible",DTc),Og("void => *, * => visible",Lg("200ms cubic-bezier(0.0,0.0,0.2,1)",DTc)),Og("* => void, * => hidden",Lg("200ms cubic-bezier(0.4,0.0,0.2,1)",CTc))]);var FTc=new Rc("XAP_IDCO"),SX=function(a){this._isDisposed=!1;this.options=a;this.animationState="hidden"};U(SX,ox);SX.prototype.ngAfterViewInit=function(){};SX.prototype.attachComponentPortal=function(a){return this.portalOutlet.attachComponentPortal(a)};SX.prototype.attachTemplatePortal=function(a){return this.portalOutlet.attachTemplatePortal(a)};SX.\u0275fac=function(a){return new (a||SX)(C(FTc))};
SX.\u0275cmp=Gc({type:SX,selectors:[["xap-inline-dialog-container"]],viewQuery:function(a,b){a&1&&Uf(rx,7);if(a&2){var c;Tf(c=Wf())&&(b.portalOutlet=c.first)}},hostAttrs:["role","dialog",1,"xap-inline-dialog-container","gmat-body-2"],hostVars:3,hostBindings:function(a,b){a&2&&(gf("aria-label",b.options.dialogLabel)("tabindex",b.options.dialogTabIndex),xka("@dialogContainer",b.animationState))},features:[bf],decls:2,vars:0,consts:[["cdkPortalOutlet",""],["cdkFocusInitial","","tabindex","0"]],template:function(a){a&
1&&(G(0,"div"),Q(1,J0a,1,0,"ng-template",0),H())},dependencies:[rx],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:[ETc]},changeDetection:0});var GTc=[{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}],HTc={minWidth:220,maxWidth:420,minHeight:64,maxHeight:420},TX=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=HTc;this.triggerDescription="Press space for more information.";this.disableAutoFocusInternal=!1;this.scrollStrategy="close";this.stackLocation=0;this.beforeOpened=new Gv;this.opened=new Gv;this.closed=new Gv;this.destroyed=new E.ReplaySubject;this.openStatusChange=new E.BehaviorSubject(!1);this.openings=this.openStatusChange.pipe(ye(function(x){return x&&!q.disabled}));
this.elementFocusedBeforeDialogWasOpened=void 0;ITc(this,c.nativeElement);this.attachKeyboardCloseEventListeners(c.nativeElement);JTc(this,c.nativeElement)};TX.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)};
TX.prototype.ngOnDestroy=function(){this.closeDialog();this.openStatusChange.complete();this.destroyed.next();this.destroyed.complete();this.overlayRef&&this.overlayRef.dispose()};
var ITc=function(a,b){a.ngZone.runOutsideAngular(function(){(0,E.fromEvent)(b,"keydown").pipe(Te(a.destroyed)).subscribe(function(c){switch(c.keyCode){case 13:a.openDialog();c.preventDefault();break;case 32:c.preventDefault()}});(0,E.fromEvent)(b,"keyup").pipe(Te(a.destroyed)).subscribe(function(c){switch(c.keyCode){case 32:a.openDialog()}})})},JTc=function(a,b){a.ngZone.runOutsideAngular(function(){(0,E.fromEvent)(b,"focus").pipe(ye(function(){return 0<a.beforeOpened.observers.length}),Te(a.destroyed)).subscribe(function(){a.ngZone.run(function(){a.beforeOpened.emit()})})})};
f=TX.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=KTc(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),nVb(this.focusTrap),this.disableAutoFocus||this.focusInitialElement())};f.focusInitialElement=function(){this.focusTrap&&oVb(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 Vy(Zy(this.overlay.position(),null!=(b=this.attachedTo)?b:this.elementRef),a).setOrigin(null!=(c=this.attachedTo)?c:this.elementRef)};
var LTc=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()}},KTc=function(a){var b=Ze({parent:a.injector,providers:[{provide:FTc,useValue:{dialogLabel:a.dialogLabel,dialogTabIndex:a.dialogTabIndex}}]});b=new mx(SX,null,b);null==a.overlayRef&&(a.overlayRef=a.overlay.create(a.createOverlayConfig(GTc)));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)};
hh.Object.defineProperties(TX.prototype,{dialog:{configurable:!0,enumerable:!0,set:function(a){a&&(this.portal=a instanceof Qf?new nx(a,this.viewContainerRef):new mx(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=xg(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}}}});TX.\u0275fac=function(a){return new (a||TX)(C(We),C($y),C(vd),C(Rf),C(Document),C(ty),C(qy),C(bv))};
TX.\u0275dir=Kc({type:TX,hostVars:1,hostBindings:function(a,b){a&2&&gf("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 UX=function(a,b,c,d,e,g,h,l){TX.call(this,a,b,c,d,e,g,h,l);this.attachMouseEventListeners(c.nativeElement)};U(UX,TX);f=UX.prototype;f.ngOnInit=function(){TX.prototype.ngOnInit.call(this);this.listenForOpenEvents()};f.listenForOpenEvents=function(){var a=this;this.openStatusChange.pipe(Te(this.destroyed)).subscribe(function(b){b?a.openDialog():a.closeDialog()});this.openings.pipe(ye(function(b){return b&&0<a.beforeOpened.observers.length}),wja(function(){return a.openStatusChange.pipe(ye(function(b){return!b}))}))};
f.attachMouseEventListeners=function(a){var b=this;this.ngZone.runOutsideAngular(function(){(0,E.fromEvent)(a,"mouseenter").pipe(Te(b.destroyed)).subscribe(function(){b.ngZone.run(function(){b.beforeOpened.emit()})});(0,E.fromEvent)(a,"click").pipe(Te(b.destroyed)).subscribe(function(d){d.target.closest("[xapInlineDialogClose]")?b.closingDialog():b.openingDialog()});var c;null==(c=b.overlayRef)||c.backdropClick().pipe(Te(b.destroyed)).subscribe(function(){b.closingDialog()})})};
f.attachKeyboardCloseEventListeners=function(a){var b=this;this.ngZone.runOutsideAngular(function(){(0,E.fromEvent)(a,"keyup").pipe(Te(b.destroyed)).subscribe(function(c){var d=c.target;switch(c.keyCode){case 27:b.closingDialog();break;case 32:d.closest("[xapInlineDialogClose]")&&b.closingDialog()}});(0,E.fromEvent)(a,"keydown").pipe(Te(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 Sy(Object.assign({},this.overlayDimensions,{positionStrategy:TX.prototype.createPositionStrategy.call(this,a),scrollStrategy:LTc(this),hasBackdrop:!0,backdropClass:"cdk-overlay-transparent-backdrop",panelClass:this.panelClassInternal}))};
UX.\u0275fac=function(a){return new (a||UX)(C(We),C($y),C(vd),C(Rf),C(fh),C(ty),C(qy),C(bv))};UX.\u0275dir=Kc({type:UX,selectors:[["","xapInlineDialogClick",""]],hostAttrs:[1,"xap-inline-dialog-click"],inputs:{dialog:["xapInlineDialogClick","dialog"],disabled:["xapInlineDialogDisabled","disabled"]},exportAs:["xapInlineDialogClick"],features:[bf]});var MTc=["*"],NTc=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}"},OTc=function(){this.disabled=!1};OTc.\u0275fac=function(a){return new (a||OTc)};
OTc.\u0275cmp=Gc({type:OTc,selectors:[["xap-text-trigger"]],hostAttrs:["role","button"],hostVars:3,hostBindings:function(a,b){a&2&&(gf("tabindex",b.disabled?-1:0),qf("xap-text-trigger",!b.disabled))},inputs:{disabled:["xapInlineDialogDisabled","disabled"]},ngContentSelectors:MTc,decls:1,vars:0,template:function(a){a&1&&(xf(),yf(0))},styles:[NTc()],encapsulation:2});var VX=function(){this.disabled=!1};VX.\u0275fac=function(a){return new (a||VX)};
VX.\u0275cmp=Gc({type:VX,selectors:[["xap-icon-trigger"]],hostAttrs:["role","button","tabindex","0",1,"xap-icon-trigger"],inputs:{disabled:["xapInlineDialogDisabled","disabled"]},ngContentSelectors:MTc,decls:1,vars:0,template:function(a){a&1&&(xf(),yf(0))},styles:[NTc()],encapsulation:2});var WX=function(){this.allowStarring=this.showHotlists=this.showGroups=!0;this.ariaLabel="";this.itemSelect=new Gv};WX.\u0275fac=function(a){return new (a||WX)};
WX.\u0275cmp=Gc({type:WX,selectors:[["b-hotlist-search-popup"]],viewQuery:function(a,b){a&1&&Uf(UX,5);if(a&2){var c;Tf(c=Wf())&&(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&&(G(0,"xap-icon-trigger",0),I(1,"mat-icon",1),H(),Q(2,K0a,3,4,"ng-template",null,2,Zf));if(a&2){var c=Cf(3);F("xapInlineDialogClick",c);gf("aria-label",b.ariaLabel)}},dependencies:[uA,RX,QX,LB,UX,VX,PX],styles:["xap-dialog-layout[_ngcontent-%COMP%] { padding: 16px; }","xap-dialog-layout-content[_ngcontent-%COMP%] { padding: 0; }"]});var XX=function(a,b,c,d){this.location=a;this.analytics=b;this.paths=c;this.sidebar=d;this.bookmarkGroups=[]};XX.prototype.handleBookmarkGroupOpen=function(a){this.analytics.trackEvent("sidebarBookmarkGroups","open");this.location.url(this.paths.viewBookmarkGroup(a))};XX.prototype.handleBookmarkGroupDashboard=function(a){this.analytics.trackEvent("sidebarBookmarkGroups","dashboard");this.location.url(this.paths.dashboard(a))};XX.prototype.editBookmarkGroup=function(a){this.location.url(this.paths.editBookmarkGroup(a))};
XX.prototype.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};XX.\u0275fac=function(a){return new (a||XX)(C(uG),C(gH),C(vG),C(IX))};
XX.\u0275cmp=Gc({type:XX,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&&(G(0,"div",0),I(1,"hr"),G(2,"sidebar-zippy",1),Q(3,L0a,3,1,"ng-template",null,2,Zf),Q(5,$0a,1,1,"ng-template",null,3,Zf),H()());if(a&2){var b=Cf(4),c=Cf(6);z(2);F("header",b)("content",c)}},dependencies:[dw,ew,uA,WX,Jz,DB,BB,CB,AB,MX],encapsulation:2,changeDetection:0});var YX=function(a,b,c,d,e){this.location=a;this.analytics=c;this.sidebar=d;this.paths=e;this.userEmail=b.getUserEmail()};YX.prototype.getUserEmail=function(){return this.userEmail};YX.prototype.openEditHotlist=function(a){this.location.url(this.paths.editHotlist(a))};YX.prototype.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};YX.\u0275fac=function(a){return new (a||YX)(C(uG),C(gs),C(gH),C(IX),C(vG))};
YX.\u0275cmp=Gc({type:YX,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&&(G(0,"div",0),I(1,"hr"),G(2,"sidebar-zippy",1),Q(3,a1a,3,1,"ng-template",null,2,Zf),Q(5,h1a,1,1,"ng-template",null,3,Zf),H()());if(a&2){var b=Cf(4),c=Cf(6);z(2);F("header",b)("content",c)}},dependencies:[dw,ew,uA,WX,Jz,DB,BB,CB,AB,MX],encapsulation:2,changeDetection:0});var ZX=function(a,b,c,d,e,g,h,l,q,x){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=x;this.searches=[]};ZX.prototype.isSelected=function(a){return Pec(this.paths,a.href)};ZX.prototype.openEditSavedSearch=function(a){this.location.url(this.paths.editSavedSearch(a))};
var k1a=function(a,b){a.confirmationDialogService.open({title:"Deleting saved search: "+b.name,content:fn("Are you sure you want to delete this search?"),onConfirm:function(){PTc(a,b)}})},PTc=function(a,b){var c=b.id;DF(a.butterBar,'Deleting saved search "'+b.name+'"...');a.savedSearchApi.delete(c).then(function(){a.appEvents.savedSearchModified.next({savedSearchId:c,action:"delete"});DF(a.butterBar,'Deleted saved search "'+b.name+'".');a.analytics.trackEvent("sidebarSavedSearches","deleted");a.cdr.detectChanges()}).catch(function(d){a.errorHandler.errorHandler(null,
d)})};ZX.prototype.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};ZX.\u0275fac=function(a){return new (a||ZX)(C(cH,2),C(uG),C(BS),C(vG),C(CF),C(gH),C(IX),C(GF),C(oI),C(KF))};
ZX.\u0275cmp=Gc({type:ZX,selectors:[["sidebar-saved-searches"]],inputs:{searches:"searches"},features:[Gf([cH])],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&&(G(0,"div",0),I(1,"hr"),G(2,"sidebar-zippy",1),Q(3,i1a,2,0,"ng-template",null,2,Zf),Q(5,o1a,1,1,"ng-template",null,3,Zf),H()());if(a&
2){var b=Cf(4),c=Cf(6);z(2);F("header",b)("content",c)}},dependencies:[dw,ew,uA,Jz,DB,BB,CB,AB,MX],encapsulation:2,changeDetection:0});var QTc=/^\s*hotlistid:(\d+)\s*$/i,RTc=/(?:\s|^)componentid:(\d+)\s*/i,STc=/^\s*savedsearchid:(\d+)\s*$/i,$X=function(a,b,c,d){WD.call(this);var e=this;this.$log=a;this.currentTracker=b;this.contextSensitiveRegistry=c;this.analytics=d;this.currentQuery="";this.currentTrackerScope=[];this.queryState$=new E.BehaviorSubject({query:"",cursorPosition:void 0,setViaInteraction:!1});this.currentTrackerIdList$=this.currentTracker.trackerId$.pipe(D(function(g){return g?[g]:[]}));this.selectedTrackerIds$=new E.Subject;
this.trackerScope$=(0,E.merge)(this.currentTrackerIdList$,this.selectedTrackerIds$);this.searchHandlerStack=[];this.searchTriggered$=new E.Subject;this.subscriptions.add(this.queryState$.pipe(Te(this.destroyed$)).subscribe(function(g){e.currentQuery=g.query;(g=e.currentQuery.match(RTc))?e.contextSensitiveRegistry.componentIdOverride$.next(Number(g[1])):e.contextSensitiveRegistry.componentIdOverride$.next(null);(g=e.currentQuery.match(QTc))?e.contextSensitiveRegistry.hotlistIdOverride$.next(Number(g[1])):
e.contextSensitiveRegistry.hotlistIdOverride$.next(null)}));this.subscriptions.add(this.trackerScope$.pipe(Te(this.destroyed$)).subscribe(function(g){e.currentTrackerScope=g}))};U($X,WD);$X.\u0275dir=WD.\u0275dir;$X.prototype.clear=function(){aY(this,"")};var aY=function(a,b){a.queryState$.next({query:b,cursorPosition:void 0,setViaInteraction:!1})},TTc=function(a){return"assignee:"+a+" status:open"};$X.prototype.getStarred=function(){return"star:true"};
$X.prototype.isStarred=function(){return this.currentQuery===this.getStarred()};$X.prototype.getVoted=function(){return"vote:true"};var E1a=function(a){return a.currentQuery===a.getVoted()},UTc=function(a){return"verifier:"+a+" status:open | status:fixed"},VTc=function(a){return(a=a.currentQuery.match(QTc))?Number(a[1]):0},WTc=function(a){return(a=a.currentQuery.match(STc))?Number(a[1]):0};$X.prototype.track=function(a,b,c){this.analytics.trackEvent("global-search",a,b,c)};
var XTc=function(a,b){a.searchHandlerStack.push(b);return function(){ra(a.searchHandlerStack,b)}};$X.\u0275fac=function(a){return new (a||$X)(u(FF),u(lK),u(CX),u(gH))};$X.\u0275prov=qc({token:$X,factory:$X.\u0275fac,providedIn:"root"});var YTc=0,ZTc=kh(function(){}),bY=function(a,b,c,d,e){var g=ZTc.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=YTc++;g._isInitialized=!1;g._interactivityChecker=Ac(cx);g._document=Ac(fh);return g};U(bY,ZTc);f=bY.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()}IXb(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){IXb(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()};
hh.Object.defineProperties(bY.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=xg(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=xg(a)}}});bY.\u0275fac=function(a){return new (a||bY)(C(We),C(vd),C(qy),C(fv),C(ev,8))};
bY.\u0275dir=Kc({type:bY,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(a,b){a&2&&qf("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:[bf]});var cY=function(a,b,c,d,e,g,h,l,q,x,A,B){var K=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=x;this.needsAttentionApi=A;this.currentTracker=B;this.EXPERIMENTAL_HOMEPAGE="EXPERIMENTAL_HOMEPAGE";this.needsAttentionIssueCount$=new E.Subject;this.experimentalHomepagePath=Xl("dash",{params:void 0});this.enableHomepageVariantA=UD(this.activeSession,"enableHomepageVariantA");
this.enabledVotedNav=UD(this.activeSession,"enableUpvotedInNav")&&this.activeSession.isInternalSession();this.votedPath=this.paths.listIssues({q:this.appSearchState.getVoted()});this.recentlyViewedPath=$Tc(this)?"recent":void 0;this.showNeedsAttentionUI=UD(this.activeSession,"showNeedsAttentionUI")&&this.activeSession.isInternalSession()&&!this.currentTracker.inTracker;this.destroyed$=new Gv;this.hasPreferredHomepage$=this.userPreferencesManager.preferences$.pipe(D(function(N){N=(N||TD).homepagePreferences;
return!(!N||!N.resourceType)}),Fe());this.isHomepageNeedsAttention$=this.userPreferencesManager.preferences$.pipe(D(function(N){N=(N||TD).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:TTc(this.userEmail)});this.starredPath=e.listIssues({q:d.getStarred()});this.ccdPath=e.listIssues({q:"cc:"+
this.userEmail});this.verifiedPath=e.listIssues({q:UTc(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;UD(b,"runQueryForSidebarIssueCount")&&setTimeout(function(){K.userPreferencesManager.needsAttentionPreferences$.pipe(Te(K.destroyed$)).subscribe(function(N){var P=
bmc(K.currentTracker),Y;K.needsAttentionApi.listIssues(null,P,null!=(Y=N.selectedSignals)?Y:[])})},1E3)};cY.prototype.ngOnInit=function(){var a=this;this.hasPreferredHomepage$.pipe(Te(this.destroyed$)).subscribe(function(){setTimeout(function(){a.cdr.detectChanges()})})};cY.prototype.ngOnDestroy=function(){this.destroyed$.next()};
var C1a=function(a){DF(a.butterBar,"Updating homepage...",0);a.userPreferencesManager.clearHomepagePreferences().pipe(Te(a.destroyed$)).subscribe(function(){DF(a.butterBar,"Homepage updated")})},t1a=function(a,b){DF(a.butterBar,"Updating homepage...",0);bic(a.userPreferencesManager,{resourceType:b}).subscribe(function(){DF(a.butterBar,"Homepage updated")})};cY.prototype.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};
var $Tc=function(a){var b=UD(a.activeSession,"enableRecentlyViewedInNav");a=0<Array.from(a.issueLru.viewed.keys()).length;return b&&a};cY.\u0275fac=function(a){return new (a||cY)(C(cH,2),C(gs),C(CF),C($X),C(vG),C(uI),C(IX),C(Aw),C(MU),C(KF),C(hU),C(lK))};
cY.\u0275cmp=Gc({type:cY,selectors:[["b-sidebar"]],features:[Gf([cH])],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&&(G(0,"div",0),I(1,"b-create-issue-button"),H(),G(2,"div",1)(3,"div",2)(4,"ul",3),Q(5,v1a,10,4,"ng-container",4),Q(6,A1a,12,10,"li",5),G(7,"li",6)(8,"a",7),M("click",function(c){return b.onAnchorClick(b.assignedPath,c)}),I(9,"mat-icon",8),R(10," Assigned to me "),H(),Q(11,B1a,3,1,"ng-container",4),S(12,"async"),G(13,"mat-menu",null,9),Q(15,D1a,
2,0,"ng-template",10),H()(),G(16,"li")(17,"a",7),M("click",function(c){return b.onAnchorClick(b.starredPath,c)}),I(18,"mat-icon",11),R(19," Starred by me "),H()(),G(20,"li")(21,"a",7),M("click",function(c){return b.onAnchorClick(b.ccdPath,c)}),I(22,"mat-icon",12),R(23," CC'd to me "),H()(),G(24,"li")(25,"a",7),M("click",function(c){return b.onAnchorClick(b.reportedPath,c)}),I(26,"mat-icon",13),R(27," Reported by me "),H()(),Q(28,F1a,4,3,"li",14),G(29,"li")(30,"a",7),M("click",function(c){return b.onAnchorClick(b.verifiedPath,
c)}),I(31,"mat-icon",15),R(32," To be verified "),H()(),Q(33,G1a,4,3,"li",14),H(),I(34,"sidebar-bookmark-groups",16)(35,"sidebar-saved-searches",17)(36,"sidebar-hotlists",18)(37,"sidebar-archived",19)(38,"hr"),G(39,"div",20)(40,"a",21),R(41," Create hotlist "),H()(),G(42,"div",20)(43,"a",21),R(44," Create bookmark group "),H()(),G(45,"div",20)(46,"a",21),R(47," Browse components "),H()()()());a&2&&(z(5),F("ngIf",b.enableHomepageVariantA),z(1),F("ngIf",b.showNeedsAttentionUI),z(1),qf("selected",b.appSearchState.currentQuery===
TTc(b.userEmail)),z(1),F("href",b.assignedPath,Md),z(3),F("ngIf",T(12,28,b.hasPreferredHomepage$)),z(5),qf("selected",b.appSearchState.isStarred()),z(1),F("href",b.starredPath,Md),z(3),qf("selected",b.appSearchState.currentQuery==="cc:"+b.userEmail),z(1),F("href",b.ccdPath,Md),z(3),qf("selected",b.appSearchState.currentQuery==="reporter:"+b.userEmail),z(1),F("href",b.reportedPath,Md),z(3),F("ngIf",b.enabledVotedNav),z(1),qf("selected",b.appSearchState.currentQuery===UTc(b.userEmail)),z(1),F("href",
b.verifiedPath,Md),z(3),F("ngIf",b.recentlyViewedPath),z(1),F("bookmarkGroups",b.sidebarData.bookmarkGroups),z(1),F("searches",b.sidebarData.userSearches),z(1),F("hotlists",b.sidebarData.hotlists),z(1),F("hotlists",b.sidebarData.archivedHotlists)("bookmarkGroups",b.sidebarData.archivedBookmarkGroups),z(3),F("href",b.createHotlistPath,Md),z(3),F("href",b.createBookmarkGroupPath,Md),z(3),F("href",b.componentsPath,Md))},dependencies:[DX,ew,uA,Jz,DB,BB,CB,AB,bY,NX,XX,YX,ZX,kw],encapsulation:2});var dY=function(){};dY.\u0275fac=function(a){return new (a||dY)};dY.\u0275mod=Ic({type:dY});dY.\u0275inj=rc({imports:[tF]});var eY=function(){};eY.\u0275fac=function(a){return new (a||eY)};eY.\u0275mod=Ic({type:eY});eY.\u0275inj=rc({imports:[sw]});var fY=function(a,b,c,d,e,g,h,l){TX.call(this,a,b,c,d,e,g,h,l);this.hoverDelayMs=500;this.activity=new E.Subject;this.attachMouseEventListeners(c.nativeElement)};U(fY,TX);f=fY.prototype;f.ngOnInit=function(){TX.prototype.ngOnInit.call(this);this.listenForOpenEvents(this.hoverDelayMs)};
f.listenForOpenEvents=function(a){var b=this,c=this.openStatusChange.pipe(Gia(function(){return b.activity.pipe(De(a))}));c.pipe(Te(this.destroyed)).subscribe(function(d){d?b.openDialog():b.closeDialog()});this.openings.pipe(ye(function(d){return d&&0<b.beforeOpened.observers.length}),wja(function(){return c.pipe(ye(function(d){return!d}))}),Te(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),Te(this.destroyed)).subscribe(function(){a.matches(":hover")||b.viewContainerRef.element.nativeElement.matches(":hover")?b.openingDialog():b.closingDialog()});this.ngZone.runOutsideAngular(function(){(0,E.fromEvent)(a,"mouseenter").pipe(Te(b.destroyed)).subscribe(function(){b.openingDialog()});(0,E.fromEvent)(a,"click").pipe(Te(b.destroyed)).subscribe(function(){b.openingDialog();
b.openDialog()});(0,E.fromEvent)(a,"mouseleave").pipe(Te(b.destroyed)).subscribe(function(){b.closingDialog()});(0,E.fromEvent)(a,"mousemove").pipe(Te(b.destroyed)).subscribe(function(){b.activity.next()})})};f.attachKeyboardCloseEventListeners=function(a){var b=this;this.ngZone.runOutsideAngular(function(){(0,E.fromEvent)(a,"keydown").pipe(Te(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 Sy(Object.assign({},this.overlayDimensions,{positionStrategy:TX.prototype.createPositionStrategy.call(this,a),scrollStrategy:LTc(this),panelClass:this.panelClassInternal}))};fY.\u0275fac=function(a){return new (a||fY)(C(We),C($y),C(vd),C(Rf),C(fh),C(ty),C(qy),C(bv))};
fY.\u0275dir=Kc({type:fY,selectors:[["","xapInlineDialog",""]],hostAttrs:[1,"xap-inline-dialog"],inputs:{dialog:["xapInlineDialog","dialog"],disabled:["xapInlineDialogDisabled","disabled"],hoverDelayMs:"hoverDelayMs"},exportAs:["xapInlineDialog"],features:[bf]});[].concat(Vc([fY,UX,VX,OTc]),[SX]);var gY=function(){};gY.\u0275fac=function(a){return new (a||gY)};gY.\u0275mod=Ic({type:gY});gY.\u0275inj=rc({imports:[py,sw,cz,sx]});var hY=function(){};hY.\u0275fac=function(a){return new (a||hY)};hY.\u0275mod=Ic({type:hY});hY.\u0275inj=rc({imports:[tF,dY,XS,DM,ZM,ZS,eY,JC,$w,gY,BO]});var iY=function(){};iY.\u0275fac=function(a){return new (a||iY)};iY.\u0275mod=Ic({type:iY});iY.\u0275inj=rc({imports:[tF,VN]});var jY=function(){};jY.\u0275fac=function(a){return new (a||jY)};jY.\u0275mod=Ic({type:jY});jY.\u0275inj=rc({imports:[py,dz,dz]});var kY=function(){};kY.\u0275fac=function(a){return new (a||kY)};kY.\u0275mod=Ic({type:kY});kY.\u0275inj=rc({imports:[iY,tF,hY,iC,EB,jY,jC]});var lY=function(){};lY.\u0275fac=function(a){return new (a||lY)};lY.\u0275prov=qc({token:lY,factory:lY.\u0275fac,providedIn:"root"});var mY=function(a){this.executor=a};U(mY,lY);mY.\u0275fac=function(a){return new (a||mY)(u(LC))};mY.\u0275prov=qc({token:mY,factory:mY.\u0275fac,providedIn:"root"});var nY=function(a,b){WD.call(this);this.dialogRef=a;this.tosApi=b;this.ackChecked=!1};U(nY,WD);nY.\u0275dir=WD.\u0275dir;nY.prototype.accept=function(){var a=this;this.tosApi.executor.post({url:"action/terms_ack",body:null,responseConstructor:null}).pipe(Te(this.destroyed$)).subscribe(function(){a.dialogRef.close()})};nY.\u0275fac=function(a){return new (a||nY)(C(Tz),C(lY))};
nY.\u0275cmp=Gc({type:nY,selectors:[["b-terms-of-service-dialog"]],features:[bf],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&&(G(0,"h1",0),R(1,"Google IssueTracker Terms of Service"),H(),G(2,"mat-dialog-content")(3,"div",1)(4,"mat-checkbox",
2),M("ngModelChange",function(c){return b.ackChecked=c}),H(),G(5,"span"),R(6," I acknowledge and agree to the "),G(7,"a",3),R(8,"Google Terms of Service"),H(),R(9," and the "),G(10,"a",4),R(11,"Google IssueTracker Conduct Policy"),H(),R(12,". "),H()()(),G(13,"mat-dialog-actions")(14,"button",5),M("click",function(){return b.accept()}),R(15," OK "),H()());a&2&&(z(4),F("ngModel",b.ackChecked),z(10),F("disabled",!b.ackChecked))},dependencies:[Fw,Lw,Jz,vN,Yz,Zz,$z],styles:[".b-tos-content[_ngcontent-%COMP%]{padding-top:1em}.b-tos-content[_ngcontent-%COMP%]   mat-checkbox[_ngcontent-%COMP%]{padding-right:8px}"]});var oY=function(a,b){WD.call(this);this.activeSession=a;this.matDialogService=b};U(oY,WD);oY.\u0275dir=WD.\u0275dir;oY.prototype.ngOnInit=function(){this.activeSession.getMustAcknowledgeTerms()&&Rz(this.matDialogService.open(nY,{width:"400px",disableClose:!0})).pipe(Te(this.destroyed$))};oY.\u0275fac=function(a){return new (a||oY)(C(gs),C(Wz))};oY.\u0275cmp=Gc({type:oY,selectors:[["b-terms-of-service"]],features:[bf],decls:0,vars:0,template:function(){},encapsulation:2});var pY=function(){};pY.\u0275fac=function(a){return new (a||pY)};pY.\u0275mod=Ic({type:pY});pY.\u0275inj=rc({imports:[$w,tF,iC,$N,aA]});var qY=function(){};qY.\u0275fac=function(a){return new (a||qY)};qY.\u0275mod=Ic({type:qY});qY.\u0275inj=rc({imports:[tF,pY]});var J1a=0;var aUc=Fya("blinkers-activated"),bUc=Lm("blinkers-activated"),cUc=K1a("debug-dom-mutation","var(--c400)"),dUc=K1a("debug-ng-zone","var(--red-400)"),eUc=K1a("debug-xhr","var(--green-500)",1200),fUc=function(a,b,c){b=void 0===b?"#ccc":b;c=void 0===c?400:c;J1a++;var d=156;d+=12*(J1a-1);return function(e,g){g=void 0===g?b:g;var h,l=null!=(h=document.getElementById(a))?h:H1a(a,d);l.style.transition="opacity "+c+"ms";l.style.backgroundColor=g;l.style.opacity=e?"1":"0"}}("active-user","var(--yellow-500)"),
rY=function(a,b){this.activityMonitor=a;this.userActivity=b;this.destroyed$=new E.Subject;this.publicApi={isEnabled:this.isEnabled.bind(this),enable:this.enable.bind(this),disable:this.disable.bind(this)};this.isEnabled()&&gUc(this)};rY.prototype.ngOnDestroy=function(){this.destroyed$.next();this.activityMonitor.domObserver.disconnect()};rY.prototype.isEnabled=function(){return bUc()};rY.prototype.enable=function(){this.isEnabled()||(aUc(!0),gUc(this))};
rY.prototype.disable=function(){aUc(!1);this.destroyed$.next();this.activityMonitor.domObserver.disconnect()};var gUc=function(a){a.activityMonitor.dom$.pipe(Te(a.destroyed$)).subscribe(function(){return void cUc()});Hfc(a.activityMonitor);a.activityMonitor.cdr$.pipe(Te(a.destroyed$)).subscribe(function(){return void dUc()});a.activityMonitor.xhr$.pipe(Te(a.destroyed$)).subscribe(function(){return void eUc()});a.userActivity.active$.pipe(Te(a.destroyed$)).subscribe(function(b){return void fUc(b)})};
rY.\u0275fac=function(a){return new (a||rY)(u(bH),u(dH))};rY.\u0275prov=qc({token:rY,factory:rY.\u0275fac,providedIn:"root"});var sY=function(a,b,c,d,e,g,h,l,q,x,A,B){var K=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=x;this.changelistFridge=A;this.aggregatedIssueMetadataFridge=B;this.getCurrentIssueId=function(){var N;return null==(N=K.routeParamsService.routeParams$.value)?void 0:N.issueId};this.getCurrentIssue=function(){var N=K.getCurrentIssueId();if(null!=
N)return K.issueFridge.memory.getData(N)};this.getCurrentIssueEvents=function(){var N=K.getCurrentIssueId();if(null!=N)return K.eventsForIssueFridge.memory.getData(N)}};
sY.prototype.install=function(){if(this.activeSession.isInternalSession()){var a=this;this.window.bedbug={ngZone:this.ngZone,appEvents:this.appEvents,requestKeeper:Ffc,activeSession:this.activeSession,blinkers:this.buganizerBlinkers.publicApi,toggleDebugLogging:ufc("debug-logging"),toggleOptOutExperiments:ufc("opt-out-experiments"),currentUser:this.currentUser,fridges:{issueFridge:this.issueFridge,eventsForIssueFridge:this.eventsForIssueFridge,customFieldFridge:this.customFieldFridge,changelistFridge:this.changelistFridge,
aggregatedIssueMetadataFridge:this.aggregatedIssueMetadataFridge},get initialSession(){return ml()},get prefs(){return ml().userPreferences},get currentIssue(){return a.getCurrentIssue()},get currentIssueEvents(){return a.getCurrentIssueEvents()},get flags(){return ml().config.enabledFlags}}}};sY.\u0275fac=function(a){return new (a||sY)(u(gs),u(KF),u(We),u(VD),u(rY),u(QH),u(QI),u(lH),u(SE),u(PF),u(ZE),u(YE))};sY.\u0275prov=qc({token:sY,factory:sY.\u0275fac,providedIn:"root"});var hUc=function(a){this.delegate_=a};hUc.prototype.getDelegate=function(){return this.delegate_};var iUc=function(a,b){this.delegate_=a;this.currentTarget_=b;this.target_=null};U(iUc,hUc);iUc.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=jUc(b,a.pop());return this.target_=b};iUc.prototype.getType=function(){return this.getDelegate().xa};var kUc=function(a){this.delegate_=a};U(kUc,hUc);f=kUc.prototype;f.listen=function(a,b,c,d){var e=this;return this.getDelegate().za(a,function(g){return b.call(d||ba,new iUc(g,e))},c)};f.listenOnce=function(){throw Error("Wd");};f.unlisten=function(){throw Error("Wd");};f.unlistenByKey=function(){throw Error("Wd");};f.dispatchEvent=function(){throw Error("Wd");};f.removeAllListeners=function(){throw Error("Wd");};f.getParentEventTarget=function(){throw Error("Wd");};
f.fireListeners=function(){throw Error("Wd");};f.getListener=function(){throw Error("Wd");};f.hasListener=function(){throw Error("Wd");};kUc.prototype[O_b]=!0;var tY=function(a){this.delegate_=a};U(tY,kUc);tY.prototype.getHeight=function(){return this.getDelegate().pa()};tY.prototype.setPageTitle=function(){this.getDelegate().pb(void 0)};tY.prototype.setBackgroundColor=function(a){this.getDelegate().pd(a)};tY.prototype.getBackgroundColor=function(){return this.getDelegate().pn()};var lUc=function(a,b){this.delegate_=a;this.wrapperConstructor_=b||null};U(lUc,hUc);lUc.prototype.then=function(a,b,c){var d;a&&(d=mUc(this,a));this.getDelegate().aa(d,b,c)};var mUc=function(a,b){var c=a.wrapperConstructor_;return c?function(d){b.call(this,new c(d))}:b};var uY=function(a){this.delegate_=a||gbar.a;this.gapiPromise_=this.barPromise_=null};U(uY,hUc);uY.prototype.getGapi=function(){this.gapiPromise_||(this.gapiPromise_=new lUc(this.getDelegate().bh()));return this.gapiPromise_};uY.getInstance=function(){if(uY.instance_&&uY.hasOwnProperty("instance_"))var a=uY.instance_;else a=new uY,uY.instance_=a;return a};var vY=function(a,b){WD.call(this);this.router=a;this.window=b};U(vY,WD);vY.\u0275dir=WD.\u0275dir;vY.prototype.start=function(){var a=this;return(new Promise(function(b,c){var d=uY.getInstance();d.barPromise_||(d.barPromise_=new lUc(d.getDelegate().bf(),tY));d.barPromise_.then(b,c)})).then(function(b){nUc(a,b)})};var nUc=function(a,b){a.router.events.pipe(ye(aza),Te(a.destroyed$)).subscribe(function(){b.getDelegate().pl(a.window.location.href)})};
vY.\u0275fac=function(a){return new (a||vY)(u(nG),u(VD))};vY.\u0275prov=qc({token:vY,factory:vY.\u0275fac,providedIn:"root"});var wY=function(a,b,c){WD.call(this);var d=this;this.paramsService=a;this.issueFetchResponseFridge=b;this.eventsForIssueFridge=c;this.handlers$=this.paramsService.routeParams$.pipe(Fe(Mh),Se(function(e){return d.onRouteParamsChanged(e)}));this.init=function(){d.subscriptions.add(d.handlers$.subscribe(function(){}))};this.initOnce=mza(this.init)};U(wY,WD);wY.\u0275dir=WD.\u0275dir;
wY.prototype.onRouteParamsChanged=function(a){var b=this,c,d;return he(function(e){if(1==e.nextAddress){c={trustUncertainMemory:!0};if(!a.issueId)return e.jumpTo(2);d=a.issueId;return e.yield(Promise.all([qH(b.issueFetchResponseFridge,d,c),b.eventsForIssueFridge.poke(d,c)]),3)}return e.return()})};wY.\u0275fac=function(a){return new (a||wY)(u(QI),u(oH),u(SE))};wY.\u0275prov=qc({token:wY,factory:wY.\u0275fac,providedIn:"root"});var xY=function(a){WD.call(this);var b=this;this.scrollTimingMap=new Map;a.routeChangeSuccess.pipe(Te(this.destroyed$)).subscribe(function(){b.scrollTimingMap.clear()})};U(xY,WD);xY.\u0275dir=WD.\u0275dir;xY.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)};xY.\u0275fac=function(a){return new (a||xY)(u(fH))};
xY.\u0275prov=qc({token:xY,factory:xY.\u0275fac,providedIn:"root"});var yY=function(a,b,c,d,e,g,h,l,q,x,A,B,K,N,P,Y,X,ka,ma,za,Ba,Ma,Sa){WD.call(this);var Ua=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=K;this.matDialogService=N;this.renderer=X;this.announcement=this.dismissedMessageId=null;this.matSidebarWidth=220;this.isAnonymous=this.activeSession.isAnonymous();this.sidebarDragSaver=this.sidebarDragOffset=null;Ma.install();Sa.install();
Efc(A);this.subscriptions.add(x.onClickAppMenuIcon.subscribe(function(){Ua.matSidebarWidth=185>Ua.matSidebarWidth?"open":0}));h.homepagePreferences$.pipe(Te(this.destroyed$)).subscribe(function(bb){P.homepagePreferences=bb});this.densityClass="d-comfort";this.renderer.addClass(document.body,this.densityClass);this.userPrefs.themePreferences$.pipe(Te(this.destroyed$)).subscribe(function(bb){bb=R1a(bb.density);bb!==Ua.densityClass&&(Ua.renderer.addClass(document.body,bb),Ua.renderer.removeClass(document.body,
Ua.densityClass),Ua.densityClass=bb)});this.subscriptions.add(XTc(q,function(bb){Ua.doSearch(bb)}));var Lb=g.createIssue(),qb=g.listIssues({q:TTc(d.getUserEmail())}),Ya=g.listIssues({q:"cc:"+d.getUserEmail()}),wa=g.listIssues({q:UTc(d.getUserEmail())}),Ka=g.listIssues({q:"reporter:"+d.getUserEmail()}),Na=g.listIssues({q:q.getStarred()}),fb=g.listIssues({q:q.getVoted()});this.subscriptions.add(DL(this.hotkeys,{title:"General",hotkeys:[{keys:["/","F3"],displayAs:"/ or F3",description:"Search",onPress:function(){var bb=
document.querySelector(".search-box-container .search-box");null==bb||bb.focus();null==bb||bb.select()}},{keys:[vn("2"),tFa()],displayAs:"@ or Alt+Shift+f",description:"Send feedback",onPress:function(){Ua.startFeedback()}},{keys:["c"],displayAs:"c",description:"Create issue",onPress:function(){a.url(Lb)}},{keys:[wn("g","n")],displayAs:"g then n",description:'Go to "Needs attention"',onPress:function(){a.url(g.needsAttention())}},{keys:[wn("g","a")],displayAs:"g then a",description:'Go to "Assigned to me"',
onPress:function(){a.url(qb)}},{keys:[wn("g","c")],displayAs:"g then c",description:'Go to "CC\'d to me"',onPress:function(){a.url(Ya)}},{keys:[wn("g","r")],displayAs:"g then r",description:'Go to "Reported by me"',onPress:function(){a.url(Ka)}},{keys:[wn("g","s")],displayAs:"g then s",description:'Go to "Starred by me"',onPress:function(){a.url(Na)}},{keys:[wn("g","1")],displayAs:"g then 1",description:'Go to "Upvoted by me"',onPress:function(){a.url(fb)}},{keys:[wn("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(bb){if(0===bb&&20<Ua.sidebarDragPosition||1===bb&&!(20<Ua.sidebarDragPosition))20<Ua.sidebarDragPosition?oUc(Ua,20,1):oUc(Ua,Ua.lastOpenPosition,
1);Ua.matSidebarWidth=0===bb?0:"open"}},{keys:["?",sFa("F1")],displayAs:"? or Ctrl+F1",description:"Display the keyboard shortcuts pop-up",onPress:function(){Ua.matDialogService.open(pX,{minWidth:512})}}]}));this.lastOpenPosition=this.sidebarDragPosition=220;this.announcement=this.activeSession.getAnnouncement();this.userPrefs.preferences$.pipe(Ge(),Te(this.destroyed$)).subscribe(function(bb){Ua.dismissedMessageId=bb.bannerMessageId||"";bb=(bb.layoutPreferences||{}).leftSidebarWidth;Ua.matSidebarWidth=
bb||220;if(void 0===bb)Ua.sidebarDragPosition=220;else if(90>bb)Ua.sidebarDragPosition=20;else{if(220<bb){var Tc=pUc();bb>Tc&&(bb=Tc)}185>bb&&(bb=185);Ua.sidebarDragPosition=bb}});(0,E.fromEvent)(document,"mouseup",{capture:!0}).pipe(Te(this.destroyed$)).subscribe(function(){Ua.sidebarDragOffset&&(Ua.sidebarDragOffset=null,oUc(Ua,Ua.sidebarDragPosition,1))});(0,E.fromEvent)(P,"resize").pipe(Te(this.destroyed$)).subscribe(function(){if(220<Ua.sidebarDragPosition){var bb=pUc();Ua.sidebarDragPosition>
bb&&oUc(Ua,bb,3E3)}});this.ngZone.runOutsideAngular(function(){(0,E.fromEvent)(document,"mousemove").pipe(Te(Ua.destroyed$)).subscribe(function(bb){if(Ua.sidebarDragOffset){bb=bb.pageX-Ua.sidebarDragOffset;if(90>bb)bb=20;else if(185>bb)bb=185;else{var Tc=pUc();bb>Tc&&(bb=Tc)}oUc(Ua,bb,0)}})});ka.start();Mm()&&(null!=xfc&&xfc.disconnect(),xfc=new Qm.PerformanceObserver(Sya),xfc.observe({entryTypes:["measure"]}));setTimeout(L1a,6E4);ma.start();za.initOnce();Ba.initOnce();P.emergencyBugjugglerWorkaround=
{session:d,issueComments:Y}};U(yY,WD);yY.\u0275dir=WD.\u0275dir;yY.prototype.startDragging=function(a){this.sidebarDragOffset=a.pageX-this.sidebarDragPosition;a.preventDefault()};yY.prototype.isDragging=function(){return null!==this.sidebarDragOffset};
var pUc=function(){var a=window.innerWidth;return 1075<=a?a-855:220},P1a=function(a,b){a.userPrefs.layoutPreferences$.pipe(Se(function(c){return a.userPrefs.save({layoutPreferences:Object.assign({},c,{leftSidebarWidth:b})})})).pipe(Ge(),Te(a.destroyed$)).subscribe()},oUc=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(){P1a(a,20===a.sidebarDragPosition?
0:a.sidebarDragPosition);a.sidebarDragSaver=null},c).catch(function(){}))};yY.prototype.doSearch=function(a){a=this.paths.listIssues({q:a});var b=Qec(this.paths,a);uX(this.issuePagination);b&&frb(this.reloadService);this.bLocation.url(a)};var M1a=function(a){null!==a.announcement&&(a.dismissedMessageId=a.announcement.messageId,a.userPrefs.save({bannerMessageId:a.dismissedMessageId}).pipe(Ge(),Te(a.destroyed$)).subscribe())};yY.prototype.startFeedback=function(){this.userFeedback.startFeedback()};
yY.\u0275fac=function(a){return new (a||yY)(C(uG),C(HX),C(lF),C(gs),C(CL),C(vG),C(uI),C(tX),C($X),C(KF),C(aH),C(rP),C(We),C(Wz),C(VD),C(NH),C(fv),C(vY),C(xY),C(vX),C(wY),C(sY),C(dH))};
yY.\u0275cmp=Gc({type:yY,selectors:[["app-root"]],features:[bf],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&&(I(0,"b-hiring-banner")(1,"b-terms-of-service"),Q(2,O1a,4,2,"div",0),I(3,"b-sso-expired-callout-outlet"),G(4,"div",1),Q(5,Q1a,2,2,"b-resizable-sidebar",2),G(6,"div",3),I(7,"b-router-outlet"),H()(),I(8,"b-footer")(9,"bug-screensaver-manager"));if(a&2){z(2);var c;a=b.announcement;a=void 0===a?b.announcement:a;if(null!=(c=a)&&c.message){var d;
c=0<(null==(d=a.tags)?void 0:d.length)?!1:a.dismissible?null==b.dismissedMessageId?!1:a.messageId!==b.dismissedMessageId:!0}else c=!1;F("ngIf",c);z(3);F("ngIf",!b.isAnonymous)}},dependencies:function(){return[ew,eTc,XN,cY,oY,ESc,bTc,cTc,DSc]},encapsulation:2});var zY=function(){};zY.\u0275fac=function(a){return new (a||zY)};zY.\u0275mod=Ic({type:zY});zY.\u0275inj=rc({imports:[tF,BX,ZN,kY,qY,oX,zX,AX,yX,iC,qX]});var AY=function(){};AY.\u0275fac=function(a){return new (a||AY)};AY.\u0275mod=Ic({type:AY});AY.\u0275inj=rc({imports:[tF]});var qUc=Object.assign({},new EZb,{backdropClass:"gmat-dialog-backdrop",panelClass:"gmat-dialog-panel",hasBackdrop:!0}),BY=function(){};BY.\u0275fac=function(a){return new (a||BY)};BY.\u0275mod=Ic({type:BY});BY.\u0275inj=rc({providers:[{provide:FZb,useValue:qUc}],imports:[aA,aA]});var CY=function(){};CY.\u0275fac=function(a){return new (a||CY)};CY.\u0275mod=Ic({type:CY});CY.\u0275inj=rc({imports:[tF,BY,iC,aA,YM,aS,hX,AY]});var rUc=function(a,b,c,d){dx.call(this,a,b,c,d,!0);var e=this;this.escapeSubject$=new E.Subject;this.startAnchorListener=function(){e.escapeSubject$.next(0);return!0};this.endAnchorListener=function(){e.escapeSubject$.next(1);return!0};nVb(this)};U(rUc,dx);var DY=function(a,b,c){this.checker=a;this.ngZone=b;this.document=c};DY.prototype.create=function(a){return new rUc(a,this.checker,this.ngZone,this.document)};DY.\u0275fac=function(a){return new (a||DY)(u(cx),u(We),u(fh))};
DY.\u0275prov=qc({token:DY,factory:DY.\u0275fac,providedIn:"root"});var sUc=["content"],EY=function(a){WD.call(this);this.focusEscapeNotifierFactory=a;this.trapFocus=this.required=!1;this.renderPanel=this.noneButtonEnabled=this.todayButtonEnabled=!0;this.dateChange=new Gv;this.cancelClicked=new Gv;this.saveClicked=new Gv;this.dateSelectionChange=new Gv;this.focusEscaped=new Gv};U(EY,WD);EY.\u0275dir=WD.\u0275dir;
EY.prototype.ngAfterViewInit=function(){var a=this;setTimeout(function(){S1a(a,a.date);a.calendar._getCurrentViewComponent()._focusActiveCell(!1)});this.focusEscapeNotifier=this.focusEscapeNotifierFactory.create(this.content.nativeElement);this.focusEscapeNotifier.escapeSubject$.pipe(Te(this.destroyed$)).subscribe(function(b){if(a.trapFocus)if(0===b){var c;null==(c=a.focusEscapeNotifier)||lVb(c)}else{var d;null==(d=a.focusEscapeNotifier)||mVb(d)}else a.focusEscaped.emit(b)})};
var S1a=function(a,b){if(b=b instanceof $m?b:Pza(b))a.calendar.activeDate=b};EY.\u0275fac=function(a){return new (a||EY)(C(DY))};
EY.\u0275cmp=Gc({type:EY,selectors:[["b-date-time-picker-content"]],viewQuery:function(a,b){a&1&&(Uf(Iz,7),Uf(sUc,7));if(a&2){var c;Tf(c=Wf())&&(b.calendar=c.first);Tf(c=Wf())&&(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:[bf],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&&(xf(),G(0,"div",null,0)(2,"div",1),yf(3),H(),G(4,"mat-calendar",2),M("selectedChange",function(c){b.date=c;b.dateSelectionChange.emit(c)}),S(5,"toDateTime"),S(6,"toDateTime"),H(),G(7,"div",3),Q(8,V1a,4,2,"div",4),G(9,"div",5)(10,"button",6),M("click",function(){return b.cancelClicked.emit()}),R(11,"Cancel"),H(),G(12,"button",7),M("click",function(){b.dateChange.emit(b.date);return b.saveClicked.emit()}),R(13,"Save"),H()()()());a&2&&(qf("container",b.renderPanel),z(4),F("selected",
T(5,5,b.date))("startAt",T(6,7,b.date)),z(4),F("ngIf",b.todayButtonEnabled||b.noneButtonEnabled))},dependencies:function(){return[ew,Jz,Iz,tL,FY]},styles:[".b-optional-calendar-button-row[_ngcontent-%COMP%]{margin:0 1rem}.actions[_ngcontent-%COMP%]{text-align:end}.actions[_ngcontent-%COMP%]   div.b-optional-calendar-button-row[_ngcontent-%COMP%]{width:fit-content;margin:auto;align-content:center}.container[_ngcontent-%COMP%]{box-shadow:0px 1px 2px 0px rgba(0, 0, 0, 0.3), 0px 2px 6px 2px rgba(0, 0, 0, 0.15);padding:4px;border-radius:8px;background-color:#fff;background-color:var(--surface-default)}mat-calendar[_ngcontent-%COMP%]{width:288px;height:342px}/*# sourceMappingURL=date_time_picker_content.css.map */"]});
var FY=function(){};FY.prototype.transform=function(a){var b;return null!=(b=Pza(a))?b:void 0};FY.\u0275fac=function(a){return new (a||FY)};FY.\u0275pipe=Lc({name:"toDateTime",type:FY,pure:!0});var tUc=[{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"}],GY=function(a,b,c){WD.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 Gv;this.dateSelectionChange=new Gv;this.onClose=
new Gv;this.opened=!1;this.destroyed$.subscribe(function(){var e;null==(e=d.overlayRef)||e.dispose()})};U(GY,WD);f=GY.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 mx(EY),c;this.pickerContent=null==(c=this.overlayRef)?void 0:c.attach(b).instance;var d;null==(d=this.overlayRef)||d.updatePosition();setTimeout(function(){uUc(a)})};
f.getPositionStrategy=function(){return Vy(Wy(Xy(Zy(this.overlay.position(),this.element)),8),tUc)};f.getScrollStrategy=function(){return this.overlay.scrollStrategies.reposition()};
var uUc=function(a){if(a.pickerContent&&a.overlayRef){var b=(0,E.merge)(a.overlayRef._detachments,a.destroyed$);a.pickerContent.date=a.selected;a.pickerContent.required=a.required;a.pickerContent.trapFocus=!a.focusTrapHost;a.focusTrapHost&&a.pickerContent.focusEscaped.pipe(Te(b)).subscribe(function(){setTimeout(function(){return a.element.nativeElement.focus()})});a.pickerContent.dateChange.pipe(Te(b)).subscribe(function(c){a.selectedChange.emit(c)});a.pickerContent.dateSelectionChange.pipe(Te(b)).subscribe(function(c){a.dateSelectionChange.emit(c)});
(0,E.merge)(a.pickerContent.saveClicked,a.pickerContent.cancelClicked,a.overlayRef.backdropClick(),a.overlayRef.keydownEvents().pipe(ye(function(c){return"Escape"===c.code}))).pipe(Te(b)).subscribe(function(){a.close()})}};GY.\u0275fac=function(a){return new (a||GY)(C($y),C(vd),C(vd))};
GY.\u0275dir=Kc({type:GY,selectors:[["","bDateTimePickerToggle",""]],hostAttrs:["aria-haspopup","true"],hostVars:1,hostBindings:function(a,b){a&1&&M("click",function(c){b.openOnClick&&b.open();c.preventDefault();c.stopPropagation()})("keydown.enter",function(c){b.openOnEnter&&b.open();c.preventDefault();c.stopPropagation()})("keydown.tab",function(c){b.focusTrapHost&&b.pickerContent&&b.pickerContent.focusEscapeNotifier&&(mVb(b.pickerContent.focusEscapeNotifier),c.preventDefault())})("keydown.shift.tab",
function(c){b.focusTrapHost&&b.pickerContent&&b.pickerContent.focusEscapeNotifier&&(lVb(b.pickerContent.focusEscapeNotifier),c.preventDefault())});a&2&&gf("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:[bf]});var vUc=["pickerToggle"],HY=function(){this.customAriaLabelledBy=this.customFormId=void 0;this.required=!1;this.valueChange=new Gv};HY.\u0275fac=function(a){return new (a||HY)};
HY.\u0275cmp=Gc({type:HY,selectors:[["b-date-time-input"]],viewQuery:function(a,b){a&1&&Uf(vUc,7);if(a&2){var c;Tf(c=Wf())&&(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&&(G(0,"button",0,1),M("bDateTimePickerToggleSelectedChange",function(c){b.value=c;b.valueChange.emit(c)}),Q(2,W1a,1,1,"b-formatted-date-time",2),Q(3,X1a,2,0,"ng-container",3),H());a&2&&(F("id",b.customFormId)("bDateTimePickerToggleRequired",b.required)("bDateTimePickerToggleSelected",b.value)("bDateTimePickerToggleFocusTrapHost",
!1),gf("aria-labelledby",b.customAriaLabelledBy),z(2),F("ngIf",b.value),z(1),F("ngIf",!b.value))},dependencies:[GY,bK,Jz,ew],styles:["/*# sourceMappingURL=date_time_input.css.map */"]});var wUc=["filterInput"],IY=function(a){WD.call(this);this.dateFormatter=a;this.enumChoices=[];this.onSave=new Gv;this.valueMap=new Map;this.sortedValues=[];this.filterValue=null;this.currentSelectedDate=void 0};U(IY,WD);IY.\u0275dir=WD.\u0275dir;f=IY.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(Se(function(){return(0,E.timer)(0)}),Te(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 xUc=function(a){return a.filterValue&&"REPEATED_DATE"!==a.type?a.sortedValues.filter(function(b){return a.getDisplayString(b).includes(String(a.filterValue))}):a.sortedValues};
IY.prototype.addValue=function(){var a=this.filterValue;this.filterValue=null;a&&!this.valueMap.get(a)&&(this.valueMap.set(a,!0),yUc(this),this.onSave.emit({valueMap:this.valueMap,valueChanged:this.valueChanged()}))};IY.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})};
IY.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);yUc(this)};
var yUc=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)})},Z1a=function(a){return!!a.filterValue&&"REPEATED_ENUM"!==a.type&&"REPEATED_DATE"!==a.type};IY.prototype.getDisplayString=function(a){return"REPEATED_DATE"===this.type?this.dateFormatter.formatUserCalendar(Sh(a)):a};IY.prototype.getLabel=function(){return this.valueChanged()?"Changed":"Unchanged"};
IY.\u0275fac=function(a){return new (a||IY)(C(CI))};
IY.\u0275cmp=Gc({type:IY,selectors:[["b-bulk-repeated-field-picker"]],viewQuery:function(a,b){a&1&&(Uf(CB,5),Uf(wUc,5));if(a&2){var c;Tf(c=Wf())&&(b.trigger=c.first);Tf(c=Wf())&&(b.filterElement=c.first)}},inputs:{type:"type",originalValueMap:"originalValueMap",enumChoices:"enumChoices"},outputs:{onSave:"onSave"},features:[bf,Zc],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&&(G(0,"button",0)(1,"span"),R(2),H(),I(3,"b-icon",1),H(),G(4,"mat-menu",null,2),Q(6,Y1a,3,4,"div",3),I(7,"mat-divider"),G(8,"div",4),Q(9,$1a,2,3,"input",5),H(),Q(10,a2a,1,0,"mat-divider",6),Q(11,b2a,2,0,"div",7),Q(12,c2a,4,1,"div",6),H());if(a&2){var c=Cf(5);F("matMenuTriggerFor",c);z(2);Ef(b.getLabel());z(4);F("ngForOf",xUc(b));z(3);F("ngIf","REPEATED_DATE"!==
b.type);z(1);F("ngIf",Z1a(b));z(1);F("ngIf",Z1a(b));z(1);F("ngIf","REPEATED_DATE"===b.type)}},dependencies:[dw,ew,DB,BB,CB,tL,AM,Jz,vN,og,Fw,Lw,HY],styles:[".multi-edit-menuitem[_ngcontent-%COMP%]{padding:0 5px}.filter[_ngcontent-%COMP%]{padding:0 5px}/*# sourceMappingURL=bulk_repeated_field_picker.css.map */"]});var zUc=0,JY=function(a){this.changeDetectorRef=a;this.active=!1;this.id="b-list-option-"+zUc;zUc+=1};JY.prototype.setActiveStyles=function(){this.active=!0;this.changeDetectorRef.markForCheck()};JY.prototype.setInactiveStyles=function(){this.active=!1;this.changeDetectorRef.markForCheck()};JY.\u0275fac=function(a){return new (a||JY)(C(Yv))};
JY.\u0275dir=Kc({type:JY,selectors:[["","onedevListOption",""]],hostVars:3,hostBindings:function(a,b){a&2&&(wf("id",b.id),qf("active",b.active))},inputs:{option:"option"},exportAs:["onedevListOption"]});var KY=function(){};KY.\u0275fac=function(a){return new (a||KY)};KY.\u0275mod=Ic({type:KY});KY.\u0275inj=rc({});var e2a=function(){return{$implicit:void 0}},h2a=function(a){return{$implicit:a}},LY=function(a){this.includeEmptyOption=this.disabled=!1;this.valueChange=new Gv;this.selected=new Gv;this.destroyed$=new E.ReplaySubject(1);a&&this.handleKeydown(a.keydown$)};f=LY.prototype;f.ngOnInit=function(){};f.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete()};f.ngAfterViewInit=function(){this.keyManager=wy(vy(new Ay(this.viewOptions)))};f.ngOnChanges=function(a){a.value&&AUc(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 AUc=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),BUc(a))}};LY.prototype.clearActiveItem=function(){this.keyManager&&this.keyManager.activeItem&&this.keyManager.setActiveItem(-1)};
LY.prototype.handleKeydown=function(a){var b=this;a.pipe(Te(this.destroyed$)).subscribe(function(c){if(!b.disabled&&b.keyManager){var d=c.code;"ArrowUp"===d||"ArrowDown"===d?(c.preventDefault(),b.keyManager.onKeydown(c),BUc(b)):"Home"===d||"End"===d?(c.preventDefault(),"Home"===d?b.keyManager._setActiveItemByIndex(0,1):QXb(b.keyManager),BUc(b)):"Enter"!==d&&"Space"!==d||!b.keyManager.activeItem||(c.preventDefault(),b.select(b.keyManager.activeItem.option))}})};
var BUc=function(a){var b,c;if(a=null==(b=a.keyManager)?void 0:null==(c=b.activeItem)?void 0:c.id){var d;null==(d=document.getElementById(a))||d.scrollIntoView({block:"nearest"})}};LY.\u0275fac=function(a){return new (a||LY)(C(HL,8))};
LY.\u0275cmp=Gc({type:LY,selectors:[["onedev-selectable-list"]],viewQuery:function(a,b){a&1&&Uf(JY,5);if(a&2){var c;Tf(c=Wf())&&(b.viewOptions=c)}},hostAttrs:["role","listbox"],hostVars:3,hostBindings:function(a,b){a&1&&M("focus",function(){return AUc(b)})("blur",function(){return b.clearActiveItem()});a&2&&(a=b.keyManager&&b.keyManager.activeItem?b.keyManager.activeItem.id:void 0,gf("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:[Zc],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&&(Q(0,f2a,2,5,"div",0),Q(1,j2a,2,1,"ng-container",1),Q(2,p2a,3,2,"ng-template",null,2,Zf));a&2&&(F("ngIf",b.includeEmptyOption),z(1),F("ngForOf",b.options))},dependencies:[dw,ew,jw,JY],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 MY=function(){};var CUc=["trigger"],r2a=function(a){return{$implicit:a}},DUc=0,NY=function(a){this.includeEmptyOption=this.disabled=!1;this.label="";this.valueChange=new Gv;this.displayArrowIcon=!0;this.focused=this.required=this.openPopupOnInit=!1;this.contentId="onedev-single-select-"+DUc;this.onChange=function(){};this.onTouched=function(){};if(""===a||"true"===a||"required"===a)this.required=!0;DUc++};U(NY,MY);f=NY.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 EUc=function(a){var b="";a.label&&(b+=a.label+", ");a.required&&(b+="required, ");return b};NY.prototype.setDisabledState=function(a){this.disabled=a};hh.Object.defineProperties(NY.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.val},set:function(a){a!==this.val&&this.writeValue(a)}}});NY.\u0275fac=function(a){return new (a||NY)(od("required"))};
NY.\u0275cmp=Gc({type:NY,selectors:[["onedev-single-select"]],viewQuery:function(a,b){a&1&&Uf(CUc,7);if(a&2){var c;Tf(c=Wf())&&(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:[Gf([{provide:uw,useExisting:wc(function(){return NY}),
multi:!0},{provide:MY,useExisting:wc(function(){return NY}),multi:!0}]),bf],decls:13,vars:17,consts:[["onedevPopupPanelTrigger","",3,"onedevPopupPanelTriggerDisabled","disabled","onedevPopupPanelTriggerFor","focus","blur","click","closed"],["trigger","onedevPopupPanelTrigger"],[1,"cdk-visually-hidden"],[4,"ngIf","ngIfElse"],["optionTemplateOrTextLabel",""],["textLabel",""],["class","arrow-icon","xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",4,"ngIf"],["onedevKeyEventReceiver","",3,"relayOnly"],
["panel","onedevPopupPanel"],["tabindex","0",1,"single-select-panel",3,"value","includeEmptyOption","options","optionTemplate","label","valueChange","selected"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["emptyValue",""],["aria-label","empty"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",1,"arrow-icon"],["d","M7 10l5 5 5-5H7z"]],template:function(a,b){if(a&1){var c=v();G(0,"button",0,1);M("focus",function(){return b.focused=!0})("blur",function(){return b.focused=!1})("click",
function(){w(c);var g=Cf(1);return y(g.open())})("closed",function(){b.onTouched()});G(2,"span",2);R(3);H();Q(4,s2a,2,4,"ng-container",3);Q(5,v2a,1,2,"ng-template",null,4,Zf);Q(7,y2a,3,2,"ng-template",null,5,Zf);Q(9,z2a,2,0,"svg",6);H();G(10,"onedev-popup-panel",7,8)(12,"onedev-selectable-list",9);M("valueChange",function(g){return b.onSelectionChange(g)})("selected",function(){w(c);var g=Cf(1);return y(g.close())});H()()}if(a&2){var d=Cf(6),e=Cf(11);qf("active",b.isActive());F("onedevPopupPanelTriggerDisabled",
b.disabled)("disabled",b.disabled)("onedevPopupPanelTriggerFor",e);gf("id",b.contentId)("aria-labelledby",b.contentAriaLabelledBy());z(3);Ef(EUc(b));z(1);F("ngIf",b.valueTemplate)("ngIfElse",d);z(5);F("ngIf",b.displayArrowIcon);z(1);F("relayOnly",!0);z(2);F("value",b.value)("includeEmptyOption",b.includeEmptyOption)("options",b.options)("optionTemplate",b.optionTemplate)("label",b.label)}},dependencies:[ew,jw,HL,LY,IL,JL],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 G2a=function(){return[]},OY=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=OY.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(Rh(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],x=e[h],A=void 0,B=null==(A=q)?void 0:A.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;x=FUc(x);A=Array.from(l.keys()).concat(x);A=k(A);for(B=A.next();!B.done;B=A.next())B=B.value,x.includes(B)?l.has(B)||l.set(B,q||null):l.set(B,null);this.repeatedCustomFieldsMap.set(h,l)}else(!x&&void 0!==l||x&&!Mh(x,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),Nh(g))}this.customFields=Array.from(b.keys()).map(function(K){return a.get(K)}).filter(function(K){return K});
this.customFields=this.customFields.map(function(K){var N=b.get(K.customFieldId);K.hasMultipleValues=null===N;N?K=Object.assign(N,K):K.hasMultipleValues||"ENUM"!==K.type||(K.enumValue="");return K});c=k(this.customFields);for(d=c.next();!d.done;d=c.next())d=d.value,this.originalCustomFields.set(d.customFieldId,Nh(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 jp=function(a){return"bv2-custom-field-"+a.customFieldId+"-label"},FUc=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()}):[]},E2a=function(a){return a?Kh(a):null},I2a=function(a,b,c){for(var d=k(a.bulkEditOps),e=d.next();!e.done;e=d.next())e=e.value,e.actions=e.actions.filter(function(A){return A.customFieldValue.customFieldId!==
b});a.bulkEditOps=a.bulkEditOps.filter(function(A){return A.actions.length});if(c.valueChanged){d={};e=k(a.issues);for(var g=e.next();!g.done;d={$jscomp$loop$prop$issueValues$2349:d.$jscomp$loop$prop$issueValues$2349,$jscomp$loop$prop$action$2350:d.$jscomp$loop$prop$action$2350},g=e.next()){g=g.value;var h=Tca(g.customFieldValueMap,function(A){return A.customFieldId===b});d.$jscomp$loop$prop$issueValues$2349=FUc(h);c.valueMap.forEach(function(A){return function(B,K){B&&!A.$jscomp$loop$prop$issueValues$2349.includes(K)?
A.$jscomp$loop$prop$issueValues$2349.push(K):!1===B&&(A.$jscomp$loop$prop$issueValues$2349=A.$jscomp$loop$prop$issueValues$2349.filter(function(N){return N!==K}))}}(d));h=a.originalCustomFields.get(b).type;var l=[],q=[];"REPEATED_DATE"==h?l=d.$jscomp$loop$prop$issueValues$2349.map(function(A){return Lh(Sh(A))}):"REPEATED_NUMERIC"==h&&(q=d.$jscomp$loop$prop$issueValues$2349.map(function(A){return Number(A)}));var x=new Yh({customFieldId:b});switch(h){case "REPEATED_TEXT":x.repeatedTextValue={values:d.$jscomp$loop$prop$issueValues$2349};
break;case "REPEATED_DATE":x.repeatedDateValue={values:l};break;case "REPEATED_ENUM":x.repeatedEnumValue={values:d.$jscomp$loop$prop$issueValues$2349};break;case "REPEATED_NUMERIC":x.repeatedNumericValue={values:q}}d.$jscomp$loop$prop$action$2350={fieldName:"customField",customFieldValue:x,actionType:x.isEmpty()?"REMOVE":"ADD"};h=a.bulkEditOps.findIndex(function(A){return function(B){return B.actions.some(function(K){return Mh(A.$jscomp$loop$prop$action$2350,K)})}}(d));-1!==h?a.bulkEditOps[h].issueIds.push(g.issueId):
a.bulkEditOps.push({actions:[d.$jscomp$loop$prop$action$2350],issueIds:[g.issueId]})}}},GUc=function(a){var b=a.customFields.filter(function(l){return!l.type.includes("REPEATED")&&!Mh(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 Yh({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,ua(h)&&ua(l)&&h.length==l.length){for(var q=h.length,x=0;x<q;x++)if(h[x]!==l[x]){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})}};OY.\u0275fac=function(a){return new (a||OY)(C(Vz),C(Tz))};
OY.\u0275cmp=Gc({type:OY,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&&(G(0,"h2",0),R(1,"Update custom fields"),H(),G(2,"mat-dialog-content"),Q(3,A2a,2,0,"div",1),Q(4,M2a,8,6,"div",2),H(),G(5,"mat-dialog-actions")(6,"button",3),M("class",function(){return b.dialogRef.close()}),R(7,"Cancel"),H(),G(8,"button",4),M("click",
function(){GUc(b);b.bulkEditOps.length?b.dialogRef.close(b.bulkEditOps):b.dialogRef.close()}),R(9," Save "),H()());a&2&&(z(3),F("ngIf",0===b.customFields.length),z(1),F("ngForOf",b.customFields))},dependencies:[dw,ew,fw,gw,hw,Xz,Yz,Zz,$z,NY,IY,og,Nw,Fw,Lw,HY,Jz,LB],encapsulation:2});var HUc=/^[ \t\xA0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000]/,IUc=/^[\s\xA0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000]+/,JUc=function(a){this.patternParts_=[];this.dateTimeSymbols_=nA;"number"==typeof a?this.applyStandardPattern_(a):this.applyPattern_(a)};
JUc.prototype.applyPattern_=function(a){for(var b=!1,c="",d=0;d<a.length;d++){var e=a.charAt(d);if(HUc.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};JUc.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)};
JUc.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("Xd`"+g.text.charAt(0));}g=new KUc;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],x=d;if(null!=q.text.match(HUc)){if(q=c[0],LUc(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(x&&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;x=h;var A=c[0],B=0;for(l=x;l<this.patternParts_.length;l++){var K=this.patternParts_[l],N=K.count;if(0===N)break;if(l==x&&(N-=B,B++,0==N)){l=0;break a}var P=l>x&&K.numeric,Y=c[0];if(!MUc(this,q,c,K,N,g,!1)||P&&c[0]-Y<N)l=x-1,c[0]=A}l-=x}if(0>=l)return 0;h+=
l-1}else if(!MUc(this,a,c,this.patternParts_[h],0,g,d))return 0}a:{a=e;if(null==b)throw Error("Yd");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=i_b(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&&(a=b.getTimezoneOffset(),b.setTime(b.getTime()+6E4*(g.tzOffset-a)));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 MUc=function(a,b,c,d,e,g,h){LUc(b,c);if(d.numeric&&0<e&&c[0]+e>b.length)return!1;switch(d.text.charAt(0)){case "G":return PY(b,c,[a.dateTimeSymbols_.ERAS],function(l){return g.era=l}),!0;case "M":case "L":return NUc(a,b,c,e,d,g);case "E":return PY(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=PY(b,c,a,function(l){return g.dayPeriodIndex=
l},h),g.dayPeriodName=e[g.dayPeriodIndex],h?b:!0;case "a":return b=PY(b,c,[a.dateTimeSymbols_.AMPMS],function(l){return g.ampm=l},h),h?b:!0;case "y":return OUc(a,b,c,d,e,g);case "Q":return PY(b,c,[a.dateTimeSymbols_.QUARTERS,a.dateTimeSymbols_.SHORTQUARTERS],function(l){g.month=3*l;g.day=1});case "d":return PUc(a,b,c,d,e,function(l){g.day=l}),!0;case "S":return QUc(a,b,c,e,g);case "h":case "K":case "H":case "k":return b=PUc(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=PUc(a,b,c,d,e,function(l){g.minutes=l},h),h?b:!0;case "s":return PUc(a,b,c,d,e,function(l){g.seconds=l}),!0;case "z":case "Z":case "v":return RUc(a,b,c,g);default:return!1}},OUc=function(a,b,c,d,e,g){var h=c[0];e=QY(a,b,c,e);null===e&&(e=QY(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},NUc=function(a,b,c,d,e,g){return e.numeric&&PUc(a,
b,c,e,d,function(h){g.month=h-1})?!0:PY(b,c,[a.dateTimeSymbols_.MONTHS,a.dateTimeSymbols_.STANDALONEMONTHS,a.dateTimeSymbols_.SHORTMONTHS,a.dateTimeSymbols_.STANDALONESHORTMONTHS],function(h){g.month=h})},QUc=function(a,b,c,d,e){var g=c[0];a=QY(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},RUc=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=QY(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=QY(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},PUc=function(a,b,c,d,e,g,h){h=h||!1;var l=c[0];a=QY(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},PY=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,x=0,A=null,B=a.substring(g[0]).toLowerCase(),K=0;K<l.length;K++){var N=
l[K].toLowerCase();if(q&&0==N.indexOf(B)){x=B.length;A=K;break}l[K].length>x&&0==B.indexOf(N)&&(x=l[K].length,A=K)}null!==A&&(g[0]+=x);g=A;if(null!==g)return d(g),!0}return!1},LUc=function(a,b){(a=a.substring(b[0]).match(IUc))&&(b[0]+=a[0].length)},QY=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)},KUc=function(){};KUc.prototype.ambiguousYear=!1;var lZb=Array(31).fill(0).map(function(a,b){return""+(b+1)}),RY=function(){var a=ez.apply(this,arguments)||this;a.locale=nA;return a};U(RY,ez);f=RY.prototype;f.setLocale=function(){throw Error("Zd");};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 kZb=function(a,b){switch(b){case "long":return a.locale.WEEKDAYS;case "narrow":return a.locale.NARROWWEEKDAYS;default:return a.locale.SHORTWEEKDAYS}};
RY.prototype.getFirstDayOfWeek=function(){return(this.locale.FIRSTDAYOFWEEK+1)%7};RY.prototype.clone=function(a){return a.clone()};var Ez=function(a,b,c){return new $m(a,b,c)};RY.prototype.parse=function(a,b){if(""===a)return null;b=new JUc(a.match(/\d{3,}/)?b:b.replace("yyyy","yy"));var c=new $m(new Date(a));b.parse(a,c);return c};RY.prototype.format=function(a,b){if(!this.isValid(a))throw Error("$d");return(new pA(b)).format(a)};
var Cz=function(a,b){a=a.clone();a.add(new oA(b));return a},Dz=function(a,b){a=a.clone();a.add(new oA(0,b));return a},Bz=function(a,b){a=a.clone();a.add(new oA(0,0,b));return a},xYb=function(a){return a instanceof $m};RY.prototype.isValid=function(a){return!isNaN(a.getTime())};RY.prototype.invalid=function(){return new $m(NaN)};RY.prototype.sameDate=function(a,b){return a&&b?(new Jh(a)).equals(b):!1};RY.\u0275fac=function(){var a;return function(b){return(a||(a=td(RY)))(b||RY)}}();
RY.\u0275prov=qc({token:RY,factory:RY.\u0275fac});var SUc={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"},SY=SUc;SY=SUc;var TY=nA.DATEFORMATS[3];TY=TY.replace(/yyyy/,"yy").replace(/yy/,"yyyy");"M/d/yyyy"===TY&&(TY="MM/dd/yyyy");var TUc={parse:{dateInput:TY},display:{dateInput:TY,monthYearLabel:SY.YEAR_MONTH_ABBR,dateA11yLabel:SY.MONTH_DAY_YEAR_MEDIUM,monthYearA11yLabel:SY.YEAR_MONTH_FULL}};var UY=function(){};UY.\u0275fac=function(a){return new (a||UY)};UY.\u0275mod=Ic({type:UY});UY.\u0275inj=rc({providers:[{provide:ez,useClass:RY},{provide:hz,useValue:TUc}],imports:[tF,iC,IC,FS,py]});var VY=function(){};VY.\u0275fac=function(a){return new (a||VY)};VY.\u0275mod=Ic({type:VY});VY.\u0275inj=rc({imports:[UY,CM,iC,tF]});var WY=function(){};WY.\u0275fac=function(a){return new (a||WY)};WY.\u0275mod=Ic({type:WY});WY.\u0275inj=rc({imports:[tF,EB,FS,IS,WM,iC,mA,$N,$w,VY]});var XY=function(){};XY.\u0275fac=function(a){return new (a||XY)};XY.\u0275mod=Ic({type:XY});XY.\u0275inj=rc({imports:[sw]});var YY=function(){};YY.\u0275fac=function(a){return new (a||YY)};YY.\u0275mod=Ic({type:YY});YY.\u0275inj=rc({imports:[sw,iC,KY]});var ZY=function(){};ZY.\u0275fac=function(a){return new (a||ZY)};ZY.\u0275mod=Ic({type:ZY});ZY.\u0275inj=rc({imports:[sw,MB,iC,$w,XY,YY,KL]});var $Y=function(){};$Y.\u0275fac=function(a){return new (a||$Y)};$Y.\u0275mod=Ic({type:$Y});$Y.\u0275inj=rc({imports:[tF,aA,ZY,WY,$w,VY,iC,JC]});var aZ=function(){};aZ.\u0275fac=function(a){return new (a||aZ)};aZ.\u0275mod=Ic({type:aZ});aZ.\u0275inj=rc({imports:[tF,CM,$N,iC,aA,MM,kO,ZM,tO]});var UUc=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"]]),VUc=new Map([["ENABLED","Enabled"],["DISABLED","Disabled"]]),P2a=new Map([["BUGANIZER_DEFAULT","Default (10 years)"],["CUSTOM_PERIOD","Custom Period"],["INDEFINITE_RETENTION","Indefinite"]]),Q2a=new Map([["BUGANIZER_DEFAULT",
"Default (60 days)"],["CUSTOM_PERIOD","Custom Period"],["INDEFINITE_RETENTION","Match Issue Retention"]]),bZ=function(a,b){this.$log=a;this.sessionIsInternal=b.isInternalSession()};bZ.\u0275fac=function(a){return new (a||bZ)(u(FF),u(gs))};bZ.\u0275prov=qc({token:bZ,factory:bZ.\u0275fac,providedIn:"root"});var S2a=new Map([["SLO_SOURCE_UNSPECIFIED","--"],["USER","User"],["BUGSCOPE","Bugscope"]]);var cZ=function(a,b){WD.call(this);this.componentFridge=a;this.activeSession=b;this.providedComponentId$=new E.ReplaySubject(1);this.component$=this.providedComponentId$.pipe(Se(this.componentFridge.watch),Pe({refCount:!0,bufferSize:1}));this.init=new E.ReplaySubject(1);this.isAnonymous=this.activeSession.isAnonymous()};U(cZ,WD);cZ.\u0275dir=WD.\u0275dir;
cZ.prototype.ngOnInit=function(){var a=this;this.providedComponentId$.next(this.componentId);this.recentIssuesUrl=Yl({q:"status:open componentid:"+this.componentId,s:"created_time:desc"});this.createIssueUrl=Xl("issues/new",{params:void 0})+"?component="+this.componentId;this.viewComponentUrl=owa(this.componentId,"basic");this.component$.pipe(Ge(),Te(this.destroyed$)).subscribe(function(){a.init.next()})};cZ.\u0275fac=function(a){return new (a||cZ)(C(eF),C(gs))};
cZ.\u0275cmp=Gc({type:cZ,selectors:[["b-component-card"]],inputs:{componentId:"componentId"},outputs:{init:"init"},features:[bf],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&&(G(0,"div",0)(1,"div",1),Q(2,W2a,16,8,"ng-container",2),S(3,"async"),H()());a&2&&(z(2),F("ngIf",T(3,1,b.component$)))},
dependencies:[ew,hO,kw],styles:["[_nghost-%COMP%]{max-width:400px}ul[_ngcontent-%COMP%]{list-style-type:none;padding:0}"]});var dZ=function(){this.changes=new E.Subject;this.itemsPerPageLabel="Items per page:";this.nextPageLabel="Next page";this.previousPageLabel="Previous page";this.firstPageLabel="First page";this.lastPageLabel="Last page";this.getRangeLabel=function(a,b,c){if(0==c||0==b)return"0 of "+c;c=Math.max(c,0);a*=b;return a+1+" \u2013 "+(a<c?Math.min(a+b,c):a+b)+" of "+c}};dZ.\u0275fac=function(a){return new (a||dZ)};dZ.\u0275prov=qc({token:dZ,factory:dZ.\u0275fac,providedIn:"root"});
var WUc={provide:dZ,deps:[[new $u,new av,dZ]],useFactory:function(a){return a||new dZ}};new Rc("MAT_PAGINATOR_DEFAULT_OPTIONS");
var XUc=kh(Moa(function(){})),eZ=function(a,b,c){var d=XUc.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 Gv;d._intlChanges=a.changes.subscribe(function(){return d._changeDetectorRef.markForCheck()});if(c){var e=c.pageSize,g=c.pageSizeOptions,h=c.hidePageSize;c=c.showFirstLastButtons;null!=e&&(d._pageSize=e);null!=g&&(d._pageSizeOptions=g);null!=h&&(d._hidePageSize=h);null!=
c&&(d._showFirstLastButtons=c)}return d};U(eZ,XUc);f=eZ.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})};
hh.Object.defineProperties(eZ.prototype,{pageIndex:{configurable:!0,enumerable:!0,get:function(){return this._pageIndex},set:function(a){this._pageIndex=Math.max(Ag(a),0);this._changeDetectorRef.markForCheck()}},length:{configurable:!0,enumerable:!0,get:function(){return this._length},set:function(a){this._length=Ag(a);this._changeDetectorRef.markForCheck()}},pageSize:{configurable:!0,enumerable:!0,get:function(){return this._pageSize},set:function(a){this._pageSize=Math.max(Ag(a),0);this._updateDisplayedPageSizeOptions()}},
pageSizeOptions:{configurable:!0,enumerable:!0,get:function(){return this._pageSizeOptions},set:function(a){this._pageSizeOptions=(a||[]).map(function(b){return Ag(b)});this._updateDisplayedPageSizeOptions()}},hidePageSize:{configurable:!0,enumerable:!0,get:function(){return this._hidePageSize},set:function(a){this._hidePageSize=xg(a)}},showFirstLastButtons:{configurable:!0,enumerable:!0,get:function(){return this._showFirstLastButtons},set:function(a){this._showFirstLastButtons=xg(a)}}});
eZ.\u0275fac=function(){zd()};eZ.\u0275dir=Kc({type:eZ,inputs:{color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",selectConfig:"selectConfig"},outputs:{page:"page"},features:[bf]});var YUc=new Rc("MAT_LEGACY_PAGINATOR_DEFAULT_OPTIONS"),fZ=function(a,b,c){a=eZ.call(this,a,b,c)||this;c&&null!=c.formFieldAppearance&&(a._formFieldAppearance=c.formFieldAppearance);return a};U(fZ,eZ);fZ.\u0275dir=eZ.\u0275dir;fZ.\u0275fac=function(a){return new (a||fZ)(C(dZ),C(Yv),C(YUc,8))};
fZ.\u0275cmp=Gc({type:fZ,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[bf],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&&(G(0,"div",0)(1,"div",1),Q(2,$2a,5,3,"div",2),G(3,"div",3)(4,"div",4),R(5),H(),Q(6,a3a,3,5,"button",5),G(7,"button",6),M("click",function(){if(b.hasPreviousPage()){var c=b.pageIndex;--b.pageIndex;b._emitPageEvent(c)}}),jd(),G(8,"svg",7),I(9,"path",8),H()(),kd(),G(10,"button",9),M("click",function(){return b.nextPage()}),jd(),G(11,"svg",7),I(12,"path",10),H()(),Q(13,b3a,3,5,"button",11),H()()());a&2&&(z(2),F("ngIf",!b.hidePageSize),z(3),Df(" ",b._intl.getRangeLabel(b.pageIndex,
b.pageSize,b.length)," "),z(1),F("ngIf",b.showFirstLastButtons),z(1),F("matTooltip",b._intl.previousPageLabel)("matTooltipDisabled",b._previousButtonsDisabled())("matTooltipPosition","above")("disabled",b._previousButtonsDisabled()),gf("aria-label",b._intl.previousPageLabel),z(3),F("matTooltip",b._intl.nextPageLabel)("matTooltipDisabled",b._nextButtonsDisabled())("matTooltipPosition","above")("disabled",b._nextButtonsDisabled()),gf("aria-label",b._intl.nextPageLabel),z(3),F("ngIf",b.showFirstLastButtons))},
dependencies:[dw,ew,Jz,iA,cO,Lz,LB],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 gZ=function(a){this.paths=a;this.children=[];this.onVisit=new Gv;this.pageSize=25;this.pageSizeOptions=[10,25,100];this.childrenOnPage=[]};gZ.prototype.ngOnInit=function(){this.childrenOnPage=this.children.slice(0,this.pageSize)};gZ.\u0275fac=function(a){return new (a||gZ)(C(vG))};
gZ.\u0275cmp=Gc({type:gZ,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&&(Q(0,c3a,1,3,"mat-paginator",0),G(1,"ul",1),Q(2,
d3a,6,4,"li",2),H());a&2&&(F("ngIf",b.children.length>b.pageSize),z(2),F("ngForOf",b.childrenOnPage))},dependencies:[dw,ew,qJ,vJ,cZ,fZ],encapsulation:2});var hZ=function(){};hZ.\u0275fac=function(a){return new (a||hZ)};hZ.\u0275mod=Ic({type:hZ});hZ.\u0275inj=rc({imports:[tF,mO]});var iZ=function(){};iZ.\u0275fac=function(a){return new (a||iZ)};iZ.\u0275mod=Ic({type:iZ});iZ.\u0275inj=rc({providers:[WUc],imports:[sw,iC,dO,JC,dz]});var jZ=function(){};jZ.\u0275fac=function(a){return new (a||jZ)};jZ.\u0275mod=Ic({type:jZ});jZ.\u0275inj=rc({imports:[tF,DM,hZ,iZ]});var kZ=function(){this.shouldShowCopyIssueShortLinks=!1;this.shortLinkPrefix="b/";this.onClickCopyIssueIds=new Gv;this.onClickCopyIssueShortLinks=new Gv;this.onClickCopyAsIssueSearch=new Gv};kZ.\u0275fac=function(a){return new (a||kZ)};
kZ.\u0275cmp=Gc({type:kZ,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&&(G(0,"b-button-group")(1,"button",0),M("click",function(){return b.onClickCopyIssueIds.emit()}),I(2,"b-icon",1),H(),G(3,"button",2),I(4,"b-icon",3),H(),G(5,"mat-menu",null,4),Q(7,e3a,2,1,"button",5),G(8,"button",6),M("click",function(){return b.onClickCopyAsIssueSearch.emit()}),
R(9," Copy as issue search "),H()()());if(a&2){var c=Cf(6);z(3);F("matMenuTriggerFor",c);z(4);F("ngIf",b.shouldShowCopyIssueShortLinks)}},dependencies:[ew,DB,BB,CB,Jz,eX,AM],encapsulation:2,changeDetection:0});new Rc("xap-clipboard-snackbar-options");var lZ=function(){};lZ.\u0275fac=function(a){return new (a||lZ)};lZ.\u0275mod=Ic({type:lZ});lZ.\u0275inj=rc({imports:[sw,iC,MB,zF]});var mZ=function(){};mZ.\u0275fac=function(a){return new (a||mZ)};mZ.\u0275mod=Ic({type:mZ});mZ.\u0275inj=rc({imports:[tF,EB,iC,hX,WM,lZ]});var nZ=function(a,b,c,d,e){this.clipboard=a;this.analytics=c;this.butterBar=d;this.window=e;this.shortLinkPrefix=FFa(b)?"b/":"b-qa/"},b7a=function(a,b){a.clipboard.copy(b.join(", "));DF(a.butterBar,"Issue IDs copied.",2E3);a.analytics.trackEvent(Jn.LIST_ISSUES,"copyIssueId","IDs")},c7a=function(a,b){a.clipboard.copy(b.map(function(c){return a.shortLinkPrefix+c}).join(", "));DF(a.butterBar,"'"+a.shortLinkPrefix+"' links copied.",2E3);a.analytics.trackEvent(Jn.LIST_ISSUES,"copyIssueId","b/ links")},
d7a=function(a,b){b=Yl({q:"id:("+b.join("|")+")"});a.clipboard.copy(a.window.location.origin+"/"+b);DF(a.butterBar,"Issue search link copied.",2E3);a.analytics.trackEvent(Jn.LIST_ISSUES,"copyIssueId","Issue search link")};nZ.\u0275fac=function(a){return new (a||nZ)(u(LL),u(gs),u(gH),u(CF),u(VD))};nZ.\u0275prov=qc({token:nZ,factory:nZ.\u0275fac,providedIn:"root"});var oZ=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)};oZ.prototype.onInput=function(){this.resize(this.el.nativeElement.value)};
oZ.prototype.ngOnDestroy=function(){document.body.removeChild(this.shadowInput)};oZ.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"};oZ.\u0275fac=function(a){return new (a||oZ)(C(vd))};
oZ.\u0275dir=Kc({type:oZ,selectors:[["","b-adaptive-width-input",""]],hostBindings:function(a,b){a&1&&M("input",function(){return b.onInput()})},inputs:{minWidth:"minWidth",maxWidth:"maxWidth"}});var pZ=function(){};pZ.\u0275fac=function(a){return new (a||pZ)};pZ.\u0275mod=Ic({type:pZ});pZ.\u0275inj=rc({});var qZ=function(a){this.currentTracker=a;this.componentPath=[];this.isArchived=!1;this.label="Component";this.openTab=""};hh.Object.defineProperties(qZ.prototype,{componentPathInfo:{configurable:!0,enumerable:!0,set:function(a){a=Kr(this.currentTracker,a);this.componentPath="settings"===this.componentPathsLinkTo?mp(a,twa):mp(a)}}});qZ.\u0275fac=function(a){return new (a||qZ)(C(lK))};
qZ.\u0275cmp=Gc({type:qZ,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&&(G(0,"div",0)(1,"p",1),R(2),H(),G(3,"span",2),Q(4,f3a,6,4,"span",3),Q(5,g3a,2,0,"span",4),H()());a&2&&(z(2),Df("",b.label,":"),z(2),F("ngForOf",b.componentPath),z(1),F("ngIf",b.isArchived))},dependencies:[dw,ew,qJ,vJ,cZ,TM],encapsulation:2});var rZ=function(){};rZ.\u0275fac=function(a){return new (a||rZ)};rZ.\u0275mod=Ic({type:rZ});rZ.\u0275inj=rc({imports:[tF,DM,hZ,UM]});var sZ=function(){};sZ.\u0275fac=function(a){return new (a||sZ)};sZ.\u0275mod=Ic({type:sZ});sZ.\u0275inj=rc({imports:[tF,$w,iC,$N,aA,mO]});var ZUc=function(a,b,c){this.componentActions=a;this.errorHandler=b;this.cdr=c};ZUc.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 tZ=function(a,b){a.selectedId&&$Uc(a,a.selectedId);a.selectedId=b;if(a=aVc(a.selectedId))a.focus(),a.setAttribute("aria-selected","true")},uZ=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},bVc=function(a){return!a.selectedId||1>a.selectedId?-1:a.components.findIndex(function(b){return b.componentId==a.selectedId})},$Uc=function(a,b){b&&(a=aVc(a.selectedId))&&a.setAttribute("aria-selected",
"false")},aVc=function(a){return a?document.getElementById("component-"+a):null},cVc=function(a){for(a=a.target;;){if(!a)return!1;if("A"===a.tagName)return!0;a=a.parentNode}};var j3a=function(a){return{q:a}},vZ=function(a,b,c,d){ZUc.call(this,a,c,d);this.paths=b;this.includeArchived=!1;this.childClosed=new Gv;this.selectedId=null};U(vZ,ZUc);vZ.prototype.ngOnInit=function(){};vZ.prototype.ngOnDestroy=function(){this.parentComponent.focusOnChildren=void 0};vZ.prototype.ngOnChanges=function(a){a.components&&dVc(this)};vZ.prototype.onSubtreeChildClosed=function(a){this.selectedId=a;tZ(this,a);this.rootController.selectionChanged(this,a)};
var dVc=function(a){a.parentComponent.focusOnChildren||(a.parentComponent.focusOnChildren=function(){return a.selectNext()})};f=vZ.prototype;
f.selectNext=function(){if(this.components)if(this.selectedId){var a=bVc(this),b=this.components[a];b.showChildren&&b.focusOnChildren&&!b.noChildren?($Uc(this,this.selectedId),this.selectedId=null,b.focusOnChildren()):a+1!=this.components.length&&(tZ(this,this.components[a+1].componentId),this.rootController.selectionChanged(this,this.selectedId))}else tZ(this,this.components[0].componentId),this.rootController.selectionChanged(this,this.selectedId)};
f.selectPrevious=function(){var a=bVc(this);0==a?(this.selectedId=null,this.childClosed.emit(this.parentComponent.componentId)):(tZ(this,this.components[a-1].componentId),this.rootController.selectionChanged(this,this.selectedId))};f.closeSubtree=function(){if(this.selectedId){var a=uZ(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=uZ(this);a&&this.showChildren(a)};f.setSelected=function(a,b){cVc(b)||(tZ(this,a),this.rootController.selectionChanged(this,a),b.preventDefault(),b.stopPropagation())};f.toggleChildrenForSelectedId=function(){var a=uZ(this);a&&(a.showChildren?(a.showChildren=!1,this.cdr.detectChanges()):this.showChildren(a))};vZ.\u0275fac=function(a){return new (a||vZ)(C(FT),C(vG),C(GF),C(cH,2))};
vZ.\u0275cmp=Gc({type:vZ,selectors:[["component-subtree-list"]],inputs:{parentComponent:"parentComponent",rootController:"rootController",components:"components",includeArchived:"includeArchived"},outputs:{childClosed:"childClosed"},features:[Gf([cH]),bf,Zc],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&&(G(0,"ol",0),Q(1,r3a,19,12,"li",1),H());a&2&&(z(1),F("ngForOf",b.components))},dependencies:[dw,ew,uA,LB,Kz,sL,hO,oK,vZ],encapsulation:2});var u3a=function(a){return{q:a}},wZ=function(a,b,c,d,e,g){ZUc.call(this,a,d,g);this.paths=b;this.selectedId=null;this.includeArchived=!1;this.init=new Gv;this.subscriptions=new E.Subscription;this.destroyed$=new E.ReplaySubject(1);this.scrollArea=e.nativeElement.parentElement;this.registerKeys(c)};U(wZ,ZUc);f=wZ.prototype;
f.ngOnInit=function(){var a=this;this.rootController=this;(0,E.timer)(0).pipe(Te(this.destroyed$)).subscribe(function(){eVc(a)&&!a.selectedId&&tZ(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&&fVc(this)};f.onSubtreeChildClosed=function(a){var b=this;tZ(this,a);this.focusedController=void 0;(0,E.timer)(0).pipe(Te(this.destroyed$)).subscribe(function(){xZ(b)})};
f.fireSelectionEvent=function(a){var b=aVc(a);b&&b.click();xZ(this,a)};var fVc=function(a){(0,E.timer)(0).pipe(Te(a.destroyed$)).subscribe(function(){eVc(a)&&!a.selectedId&&tZ(a,a.components[0].componentId)})};f=wZ.prototype;f.selectionChanged=function(a,b){b&&xZ(this,b);a!==this.focusedController&&(this.focusedController&&(b=this.focusedController,b.selectedId&&$Uc(b,b.selectedId),b.selectedId=null),this.focusedController=a||void 0)};
f.setSelected=function(a,b){cVc(b)||(tZ(this,a),this.selectionChanged(null),xZ(this),b.preventDefault(),b.stopPropagation())};
f.registerKeys=function(a){var b=this;this.subscriptions.add(DL(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=uZ(this);a&&this.showChildren(a)}};
f.toggleChildrenForSelectedId=function(){this.focusedController&&this.focusedController.toggleChildrenForSelectedId();var a=uZ(this);a&&(a.showChildren?(a.showChildren=!1,this.cdr.detectChanges()):this.showChildren(a))};f.closeSubtree=function(){this.focusedController?this.focusedController.closeSubtree():this.selectedId&&(uZ(this).showChildren=!1,this.cdr.detectChanges())};
f.selectPrevious=function(){if(this.focusedController)this.focusedController.selectPrevious();else{var a=bVc(this);eVc(this)&&1<=a&&(tZ(this,this.components[a-1].componentId),xZ(this))}};
f.selectNext=function(){if(eVc(this))if(this.focusedController)this.focusedController.selectNext();else if(this.selectedId){var a=bVc(this),b=this.components[a];b.showChildren&&b.focusOnChildren&&!b.noChildren?($Uc(this,this.selectedId),this.selectedId=null,b.focusOnChildren()):a+1!=this.components.length&&(tZ(this,this.components[a+1].componentId),xZ(this))}else tZ(this,this.components[0].componentId),xZ(this)};
var xZ=function(a,b){var c=gVc(a.scrollArea),d=c+a.scrollArea.offsetHeight;if(a=aVc(b||a.selectedId)){b=gVc(a);var e=b+a.offsetHeight;b<c?a.scrollIntoView(!1):e>d&&a.scrollIntoView(!0)}},gVc=function(a){for(var b=0;a&&a instanceof HTMLElement;)b+=a.offsetTop,a=a.offsetParent;return b},eVc=function(a){return!!(a.components&&0<a.components.length)};wZ.\u0275fac=function(a){return new (a||wZ)(C(FT),C(vG),C(CL),C(GF),C(vd),C(cH,2))};
wZ.\u0275cmp=Gc({type:wZ,selectors:[["component-tree-list"]],inputs:{components:"components",includeArchived:"includeArchived"},outputs:{init:"init"},features:[Gf([cH]),bf,Zc],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&&(G(0,"ol",0),Q(1,C3a,19,12,"li",1),H());a&2&&(z(1),F("ngForOf",b.components))},dependencies:[dw,ew,uA,LB,Kz,sL,hO,oK,vZ],encapsulation:2});var yZ=function(){};yZ.\u0275fac=function(a){return new (a||yZ)};yZ.\u0275mod=Ic({type:yZ});yZ.\u0275inj=rc({imports:[tF,JC,iC,ZM,mO,SM]});var hVc=0,zZ=function(){this.id="b-slide-toggle-"+ ++hVc;this.ariaLabel=this.label="";this.labelPosition="before";this.model=!1;this.tooltip=void 0;this.disabled=!1;this.modelChange=new Gv};zZ.\u0275fac=function(a){return new (a||zZ)};
zZ.\u0275cmp=Gc({type:zZ,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&&(G(0,"mat-slide-toggle",0),M("change",function(d){b.model=d.checked;b.modelChange.emit(d.checked)}),
R(1),H());if(a&2){var c;F("id",b.id)("disabled",b.disabled)("checked",b.model)("aria-label",b.ariaLabel||b.label)("matTooltip",null!==(c=b.tooltip)&&void 0!==c?c:"")("labelPosition",b.label?b.labelPosition:"after");z(1);Ef(b.label)}},dependencies:[xS,LB],styles:["mat-slide-toggle[_ngcontent-%COMP%] { vertical-align: middle; }"],changeDetection:0});var AZ=function(){};AZ.\u0275fac=function(a){return new (a||AZ)};AZ.\u0275mod=Ic({type:AZ});AZ.\u0275inj=rc({imports:[eT,JC]});var iVc=["spanElement"],BZ=function(){this.modelValue="";this.maxWidth=0;this.disabled=!1;this.displayString=""};BZ.prototype.ngOnChanges=function(a){if(a.modelValue||a.disabled)this.displayString=this.modelValue||""};BZ.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)+"...")};
BZ.prototype.getTooltip=function(){return this.displayString!==this.modelValue?this.modelValue:""};BZ.\u0275fac=function(a){return new (a||BZ)};
BZ.\u0275cmp=Gc({type:BZ,selectors:[["b-truncated-span"]],viewQuery:function(a,b){a&1&&Uf(iVc,5);if(a&2){var c;Tf(c=Wf())&&(b.spanElement=c.first)}},inputs:{modelValue:"modelValue",maxWidth:"maxWidth",disabled:"disabled"},features:[Zc],decls:2,vars:2,consts:[[3,"matTooltip","innerHtml"],["spanElement",""]],template:function(a,b){a&1&&I(0,"span",0,1);a&2&&F("matTooltip",b.getTooltip())("innerHtml",b.displayString,Ld)},dependencies:[LB],encapsulation:2});var CZ=function(){};CZ.\u0275fac=function(a){return new (a||CZ)};CZ.\u0275mod=Ic({type:CZ});CZ.\u0275inj=rc({imports:[tF,JC]});var jVc=["popupField"],kVc=["fieldContent"],lVc=["popupOverlay"],mVc=["overlayContent"],Z3a=function(a,b){return{"bv2-disabled":a,"bv2-readonly":b}},nVc=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"}],DZ=function(a,b,c,d,e,g,h,l){WD.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=IE;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 Gv;this.disabled=this.readonly=!1;this.tooltip="";this.showAvailability=this.truncate=!1;this.enableTeamAnnotations=g.isInternalSession()};U(DZ,WD);DZ.\u0275dir=WD.\u0275dir;f=DZ.prototype;
f.ngOnInit=function(){var a=this;this.enableWaldoAvailability=UD(this.activeSession,"enableWaldoAvailability")&&this.activeSession.isInternalSession()&&this.showAvailability;this.subscriptions.add(this.appEvents.openEditField.subscribe(function(b){b!==a&&a.isActive&&(a.isActive=!1,oVc(a),a.cdr.detectChanges())}));this.subscriptions.add(zic(this.dateFormatter,function(){pVc(a);a.cdr.detectChanges()}));this.destroyed$.subscribe(function(){oVc(a)})};
f.ngOnDestroy=function(){WD.prototype.ngOnDestroy.call(this);this.overlayRef&&this.overlayRef.dispose()};f.ngOnChanges=function(a){["value","type","displayValueOverride","choices"].some(function(b){return b in a})&&pVc(this)};f.ngAfterViewInit=function(){this.popupField&&(this.overlayRef=this.overlay.create({positionStrategy:this.getPositionStrategy(),scrollStrategy:this.overlay.scrollStrategies.reposition()}))};
f.getPositionStrategy=function(){return Vy(Wy(Xy(Zy(this.overlay.position(),this.fieldContent).setOrigin(this.fieldContent),!1),5),nVc)};f.convertIssueStatusStrToTag=function(a){return jj[a]};
var oVc=function(a){var b;(null==(b=a.overlayRef)?0:b.hasAttached())&&a.overlayRef.detach()},k4a=function(a,b){if(!a.autocompleteActive)switch(b.keyCode){case 13:b.stopPropagation();q4a(a);break;case 27:b.stopPropagation(),np(a,b,!1,!0)}},i4a=function(a,b){if(!a.autocompleteActive)switch(b.keyCode){case 13:if(b.ctrlKey||b.metaKey)b.stopPropagation(),q4a(a);break;case 27:b.stopPropagation(),np(a,b,!1,!0)}},V3a=function(a,b){switch(b.keyCode){case 13:case 32:b.stopPropagation();b.preventDefault();np(a,
b,!0,!1);break;case 27:b.stopPropagation(),np(a,b,!1,!0)}},np=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,oVc(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?Kh(c):null),"ENUM"===
a.type&&a.enumMenuTrigger.openMenu(),"ENUM"!==a.type){qVc(a);var g=a.element.nativeElement;(0,E.fromEvent)(document,"click").pipe(ye(function(h){return!g.contains(h.target)}),Ge(),Te(a.overlayRef._detachments),Te(a.destroyed$)).subscribe(function(){np(a,null,!1,!1)})}null==b||b.stopPropagation();a.cdr.detectChanges()}};DZ.prototype.schedule=function(a){var b=E.asyncScheduler.schedule(a);this.destroyed$.subscribe(function(){b.unsubscribe()})};
DZ.prototype.getDisplayValue=function(a){return null===this.displayValue?a:this.displayValue};
var pVc=function(a){var b=a.value;switch(a.type){case "ENUM":if("Type"===a.title&&b&&xic.has(b)){a.displayValue=Cua(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(Kh(b)):a.displayValue=null;a.readonlyTooltip=null;break;default:a.displayValueOverride?
a.displayValue=a.displayValueOverride:a.displayValue=b?String(b):null,a.readonlyTooltip=null}};DZ.prototype.setFieldValue=function(a){this.disabled||this.readonly||("DATE"===this.type&&a&&(a=Lh(a)),"NUMERIC"===this.type&&""===a&&(a=null),Mh(this.value,a)?"ENUM"===this.type&&np(this,null,!1,!0):(np(this,null,!1,!0),this.value=a,this.valueChange.emit(this.value)))};
var q4a=function(a){if(void 0===a.type)throw Error("ae");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("be");default:rh(a.type,"FieldType")}};
DZ.prototype.clearFieldValue=function(){this.value=null;this.valueChange.emit(this.value);np(this,null,!1,!0)};var qVc=function(a){oVc(a);var b=a.overlayRef.attach(new nx(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()})};
DZ.prototype.getTooltip=function(){return this.readonly?this.readonlyTooltip||"":this.tooltip?this.tooltip:this.title?"Set "+this.title:""};DZ.prototype.isBoolean=function(){return"BOOL"===this.type};DZ.prototype.getPriority=function(a){return"string"===typeof a?a.toLowerCase():""};DZ.\u0275fac=function(a){return new (a||DZ)(C(cH,2),C(vd),C($y),C(Rf),C(CI),C(gs),C(BI),C(KF))};
DZ.\u0275cmp=Gc({type:DZ,selectors:[["b-edit-field"]],viewQuery:function(a,b){a&1&&(Uf(CB,5),Uf(jVc,5),Uf(kVc,5),Uf(lVc,5),Uf(mVc,5));if(a&2){var c;Tf(c=Wf())&&(b.enumMenuTrigger=c.first);Tf(c=Wf())&&(b.popupField=c.first);Tf(c=Wf())&&(b.fieldContent=c.first);Tf(c=Wf())&&(b.popupOverlay=c.first);Tf(c=Wf())&&(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:[Gf([cH]),bf,Zc],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&&(G(0,"div")(1,"div",0),Q(2,X3a,7,14,"div",1),Q(3,$3a,3,13,"div",2),Q(4,b4a,2,1,"ng-container",3),I(5,"div",4),H(),G(6,"mat-menu",null,5),Q(8,e4a,2,2,"ng-template",6),H(),Q(9,s4a,6,7,"ng-template",null,7,Zf),H());a&2&&(z(1),qf("active",b.isActive&&!b.readonly&&!b.disabled),z(1),F("ngIf","BOOL"!==b.type),z(1),F("ngIf",b.isBoolean(b.value)),z(1),F("ngIf",b.isUser))},dependencies:[jI,cw,dw,ew,jw,fw,gw,hw,uA,sR,EY,og,Fw,Lw,Jz,DB,BB,CB,AB,LB,zZ,RJ,BZ,WJ,
sO,lw],styles:[".bv2-issue-metadata-field-edit[_ngcontent-%COMP%] { position: relative; }"]});var rVc={ENUM:"ENUM",BOOL:"BOOL",DATE:"DATE",TEXT:"TEXT",NUMERIC:"NUMERIC"},EZ=function(){};EZ.\u0275fac=function(a){return new (a||EZ)};EZ.\u0275mod=Ic({type:EZ});EZ.\u0275inj=rc({imports:[qO,aS,tF,tR,UY,$w,iC,EB,JC,AZ,MM,hJ,CZ,tO]});var sVc=0,FZ=function(a){this.elementRef=a;this.titleWhenExpanded=this.titleWhenCollapsed="";this.isExpanded=!1;this.iconName="";this.hasCompactTitleBar=!1;this.headerId="b-collapsible-panel-header-"+sVc;this.id="b-collapsible-panel-"+sVc;sVc++};FZ.prototype.toggleExpansion=function(){var a=this;this.isExpanded||setTimeout(function(){return a.elementRef.nativeElement.scrollIntoView({behavior:"smooth",block:"nearest"})},200);this.isExpanded=!this.isExpanded};
hh.Object.defineProperties(FZ.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"}}});FZ.\u0275fac=function(a){return new (a||FZ)(C(vd))};
FZ.\u0275cmp=Gc({type:FZ,selectors:[["collapsible-panel"],["b-collapsible-panel"]],inputs:{titleWhenCollapsed:"titleWhenCollapsed",titleWhenExpanded:"titleWhenExpanded",isExpanded:"isExpanded",iconName:"iconName",hasCompactTitleBar:"hasCompactTitleBar",title:"title"},ngContentSelectors:["*"],decls:8,vars:12,consts:[[1,"collapsible-panel"],["aria-label","collapsible panel",1,"title-bar","unstyled-button",3,"click","mouseup"],["size","small","class","icon",3,"name",4,"ngIf"],["class","title",4,"ngIf"],
["class","horizontal-line",4,"ngIf"],["svgIcon","arrow-down",1,"icon-s"],["role","region",1,"content"],["size","small",1,"icon",3,"name"],[1,"title"],[1,"horizontal-line"]],template:function(a,b){a&1&&(xf(),G(0,"div",0)(1,"button",1),M("click",function(){return b.toggleExpansion()})("mouseup",function(){b.elementRef.nativeElement.querySelector(".title-bar").blur()}),Q(2,u4a,1,1,"b-icon",2),Q(3,v4a,2,1,"span",3),Q(4,w4a,2,0,"div",4),I(5,"mat-icon",5),H(),G(6,"div",6),yf(7),H()());a&2&&(z(1),qf("compact",
b.hasCompactTitleBar),gf("id",b.headerId)("aria-expanded",b.isExpanded)("aria-controls",b.id),z(1),F("ngIf",b.iconName),z(1),F("ngIf",!b.hasCompactTitleBar||!b.isExpanded),z(1),F("ngIf",b.hasCompactTitleBar),z(1),F("@expandCollapseIcon",b.expandedState),z(1),F("@expandCollapseContent",b.expandedState),gf("id",b.id)("aria-labelledby",b.headerId))},dependencies:[ew,uA,AM],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:[Kg("expandCollapseContent",[Ng("expanded",Mg({height:"*",visibility:"visible"})),Ng("collapsed",Mg({height:"0",visibility:"hidden"})),Og("expanded <=> collapsed",[Lg("200ms")])]),Kg("expandCollapseIcon",[Ng("expanded",Mg({transform:"rotate(-180deg)"})),Ng("collapsed",Mg({transform:"*"})),Og("expanded <=> collapsed",[Lg("200ms")])])]}});var GZ=function(){};GZ.\u0275fac=function(a){return new (a||GZ)};GZ.\u0275mod=Ic({type:GZ});GZ.\u0275inj=rc({imports:[tF,WM]});var tVc=["addLink"],uVc=["showFewer"],vVc=["showMore"],wVc=["removeButton"],xVc=["userChip"],y4a=function(a,b){return{item:a,$index:b}},yVc=[[["",8,"title-action"]],[["",8,"value-action"]]],zVc=[Object.assign({},pp("start","bottom"),qp("start","top"),{offsetY:8}),Object.assign({},pp("center","bottom"),qp("center","top"),{offsetY:8}),Object.assign({},pp("end","bottom"),qp("end","top"),{offsetY:8}),Object.assign({},pp("start","top"),qp("start","bottom"),{offsetY:-8}),Object.assign({},pp("end","top"),
qp("end","bottom"),{offsetY:-8})],HZ=function(a,b,c,d){WD.call(this);this.cdr=a;this.dateFormatter=b;this.analytics=c;this.OVERLAY_POSITION_LIST=zVc;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 Gv;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.toggleAccessLimits=new Gv;this.teamId=this.invalidMessage="";this.isString=Oh;this.enableTeamAnnotations=d.isInternalSession();this.environmentType=d.getEnvironmentType()};U(HZ,WD);HZ.\u0275dir=WD.\u0275dir;
HZ.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=ei(b);c&&this.userMap.set(c,Nh(b))}};HZ.prototype.ngOnInit=function(){E4a(this)};HZ.prototype.ngAfterViewInit=function(){var a=this,b;null==(b=this.userChips)||b.changes.subscribe(function(){a.cdr.detectChanges()})};
var E4a=function(a){a.sortedEnumChoices=[].concat(Vc(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})},F4a=function(a){var b=a.values||[],c=[].concat(Vc(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})};
HZ.prototype.isCustomField=function(){return["REPEATED_TEXT","REPEATED_DATE","REPEATED_ENUM","REPEATED_NUMERIC"].includes(this.type)};
HZ.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()}})};
HZ.prototype.addItems=function(a){var b=[];this.values=this.values||[];if(a)if("REPEATED_DATE"===this.type){var c=Lh(a);this.preventDuplicates&&this.values.find(function(g){return Mh(g,c)})||b.push(c)}else if("REPEATED_NUMERIC"===this.type&&rqa(this.values)&&rqa(b))a=Number(a),this.preventDuplicates&&this.values.includes(a)||b.push(a);else if(Ph(this.values)&&Ph(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=n5a(d));e&&!this.values.includes(e)&&b.push(e)}}this.isDefaultOrAllowedValues&&"REPEATED_DATE"!==this.type||j5a(this,!0);0!==b.length&&(this.values=[].concat(Vc(this.values),Vc(b)),this.valuesChange.emit({values:this.values,added:b}))};HZ.prototype.onDrop=function(a){qn(this.values,a.previousIndex,a.currentIndex);this.valuesChange.emit({values:this.values})};
var j5a=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()},op=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()})};HZ.prototype.getDisplayValues=function(){var a=this;return this.values&&"REPEATED_DATE"===this.type?this.values.map(function(b){return a.dateFormatter.formatUserCalendar(Kh(b))}):this.values&&"TEAM"===this.type?this.values:this.values&&"WORKSPACES"===this.type?this.values:this.displayValuesOverride||(this.values||[]).map(function(b){return Oh(b)?b:qqa(b)?""+b:a.dateFormatter.formatUserCalendar(Kh(b))})};
var i5a=function(a,b,c){var d,e,g;return he(function(h){if(1==h.nextAddress)return a.inputValidator?h.yield(a.inputValidator(b.value.input),3):h.jumpTo(2);2!=h.nextAddress&&(a.invalidMessage=h.yieldResult,a.cdr.detectChanges());if(!b.valid||a.invalidMessage)return h.return();d=b.value.input;null==(e=b)||e.reset();null==(g=c.querySelector("input"))||g.focus();a.addItems(d);me(h)})};f=HZ.prototype;f.trackClick=function(a){this.analytics.trackEvent(Jn.LINK_FIELD,"click",a)};f.getUser=function(a){return this.userMap.get(a)};
f.schedule=function(a){this.subscriptions.add(E.asyncScheduler.schedule(a))};f.trackByIndex=function(a){return a};f.getTaskFlowLink=function(a){switch(this.environmentType){case "NIGHTLY":case "PROD":var b="https://taskflow.corp.google.com/workspaces";break;default:b="https://taskflow-autopush.corp.google.com/workspaces"}return b+"/"+a.workspaceId+"/work_item/b/"+a.issueId+"?edit=b/"+a.issueId};f.asNumber=function(a){return Number(a)};
f.getAriaLabel=function(){if(!this.values||0===this.values.length)return this.title+" is empty";var a=this.title+" has "+this.values.length+" ";switch(this.type){case "USERCHIP":a+="user";break;case "REPEATED_DATE":a+="date";break;default:a+="item"}1<this.values.length&&(a+="s");return a};HZ.\u0275fac=function(a){return new (a||HZ)(C(cH,2),C(CI),C(gH),C(gs))};
HZ.\u0275cmp=Gc({type:HZ,selectors:[["b-list-field"]],viewQuery:function(a,b){a&1&&(Uf(tVc,5),Uf(uVc,5),Uf(vVc,5),Uf(wVc,5),Uf(xVc,5),Uf(CB,5),Uf(UX,5));if(a&2){var c;Tf(c=Wf())&&(b.addLinkEl=c.first);Tf(c=Wf())&&(b.showFewer=c.first);Tf(c=Wf())&&(b.showMore=c.first);Tf(c=Wf())&&(b.removeButtons=c);Tf(c=Wf())&&(b.userChips=c);Tf(c=Wf())&&(b.menuTriggers=c);Tf(c=Wf())&&(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",toggleAccessLimits:"toggleAccessLimits"},
features:[Gf([cH]),bf,Zc],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",""],["tabindex","0","aria-label","Open issue access dialog.","class","issue-metadata-field-edit-icon","size","small","name","edit_24px",3,"click",4,"ngIf","ngIfElse"],["removeIcon",
""],[1,"float-clear"],[3,"changelistId"],["target","_blank",1,"bv2-metadata-link",3,"href"],[3,"teamId","componentId"],["target","_blank",1,"bv2-metadata-link",3,"href","click"],["class","list-field-user-container",4,"ngIf"],[3,"maxWidth","modelValue","disabled"],[1,"list-field-user-container"],[3,"user","email","teamId","enableSmallChip","enableGroupIcon",4,"ngIf"],[3,"email",4,"ngIf"],[3,"user","email","teamId","enableSmallChip","enableGroupIcon"],["userChip",""],[3,"email"],["tabindex","0","aria-label",
"Open issue access dialog.","size","small","name","edit_24px",1,"issue-metadata-field-edit-icon",3,"click"],["class","bv2-remove-icon bv2-remove-item keep-focus-ring",3,"disabled","matTooltip","click",4,"ngIf"],[1,"bv2-remove-icon","bv2-remove-item","keep-focus-ring",3,"disabled","matTooltip","click"],["removeButton",""],["class","bv2-metadata-tool bv2-metadata-link","tabindex","0","role","button",3,"matTooltip","click","keydown.enter","keydown.space",4,"ngIf"],["tabindex","0","role","button",1,"bv2-metadata-tool",
"bv2-metadata-link",3,"matTooltip","click","keydown.enter","keydown.space"],["showFewer",""],[1,"bv2-metadata-tool"],["tabindex","0","role","button",1,"bv2-metadata-link",3,"matTooltip","click","keydown.enter","keydown.space"],["showMore",""],["mat-menu-item","","type","button","role","menuitemcheckbox",3,"disabled","b-menu-item-checked","click",4,"ngFor","ngForOf","ngForTrackBy"],["mat-menu-item","","type","button","role","menuitemcheckbox",3,"disabled","click"],[1,"b-menu-item-check-mark"],["svgIcon",
"done",1,"icon-s"],[3,"ngSubmit"],["textPopupForm","ngForm","formEl",""],["type","text","name","input","ngModel","","required","","aria-expanded","true","autofocus","",3,"bContactAutocomplete",4,"ngIf"],["name","input","ngModel","","required","","step","any","aria-expanded","true","autofocus","",3,"type",4,"ngIf"],[1,"bv2-list-field-addition-dialog-buttons"],["mat-flat-button","","type","submit",1,"gmat-button","medium","field-popup-button",3,"disabled"],["svgIcon","done"],["mat-stroked-button","",
"type","button",1,"gmat-button","medium","field-popup-button",3,"click"],["svgIcon","close"],["type","text","name","input","ngModel","","required","","aria-expanded","true","autofocus","",3,"bContactAutocomplete"],["name","input","ngModel","","required","","step","any","aria-expanded","true","autofocus","",3,"type"],[3,"required","renderPanel","dateChange","cancelClicked"]],template:function(a,b){a&1&&(xf(yVc),G(0,"div",0)(1,"div",1)(2,"div",2),Q(3,x4a,2,1,"label",3),yf(4),H(),G(5,"div",4),M("cdkDropListDropped",
function(c){return b.onDrop(c)}),Q(6,A4a,3,7,"collapsible-panel",5),Q(7,D4a,4,4,"ng-container",3),G(8,"div",6,7),Q(10,J4a,4,3,"ng-container",8),yf(11,1),H()()(),Q(12,$4a,1,1,"ng-template",null,9,Zf),Q(14,c5a,2,2,"ng-template",null,10,Zf),G(16,"mat-menu",null,11),Q(18,e5a,1,2,"ng-template",12),H(),Q(19,k5a,13,6,"ng-template",null,13,Zf),Q(21,l5a,1,2,"ng-template",null,14,Zf),H());a&2&&(qf("empty-list-field-indication",!(null==b.values?0:b.values.length))("active",b.isActive&&!b.listFieldDisabled&&
!b.readonly),z(1),qf("bv2-disabled",b.listFieldDisabled)("bv2-readonly",b.readonly),F("matTooltip",b.tooltip)("matTooltipPosition","left"),gf("aria-label",b.getAriaLabel()),z(2),F("ngIf",b.title),z(2),qf("draggable",(null==b.values?null:b.values.length)&&b.isDefaultOrAllowedValues),F("cdkDropListDisabled",!b.isDefaultOrAllowedValues),z(1),F("ngIf",b.isCollapsible),z(1),F("ngIf",!b.isCollapsible),z(3),F("ngIf",!b.readonly&&b.additionAllowed))},dependencies:[dw,ew,jw,fw,gw,hw,uA,AM,fA,mL,EY,Mw,og,Fw,
Gw,Ww,Lw,Jw,Jz,LB,RJ,BZ,sO,AK,yK,RX,QX,UX,DB,BB,CB,AB,sR,FZ,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}b-icon[_ngcontent-%COMP%]{margin-bottom:4px}[_nghost-%COMP%]     .bv2-field-user-action-footer span{width:max-content;display:flex}"]});
var AVc={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"},IZ=function(){};IZ.\u0275fac=function(a){return new (a||IZ)};IZ.\u0275mod=Ic({type:IZ});IZ.\u0275inj=rc({imports:[tF,WM,mA,DS,UY,$w,iC,JC,MM,QM,CZ,tO,BK,eY,gY,EB,tR,GZ,gY,RM]});var p5a=function(){return[]},JZ=function(){this.disabled=this.readonly=!1;this.save=new Gv},BVc=function(a){return a.issue.customFieldMap[a.field.customFieldId]};JZ.prototype.getDisplayValue=function(){var a,b,c=null!=(b=null==(a=BVc(this).displayValues)?void 0:a[0])?b:null;"0.0"===c&&(c="0");return c};JZ.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 o5a=function(a){return(a=BVc(a).getValue())&&void 0===a.values?a:null},r5a=function(a){return(a=BVc(a).getValue())&&void 0!==a.values?a.values:null};hh.Object.defineProperties(JZ.prototype,{isShared:{configurable:!0,enumerable:!0,get:function(){return this.field.shared}}});JZ.\u0275fac=function(a){return new (a||JZ)};
JZ.\u0275cmp=Gc({type:JZ,selectors:[["b-custom-field-editor"]],viewQuery:function(a,b){a&1&&Uf(DZ,5);if(a&2){var c;Tf(c=Wf())&&(b.editField=c.first)}},hostVars:2,hostBindings:function(a,b){a&2&&qf("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&&Q(0,t5a,3,2,"ng-container",0);
a&2&&F("ngIf",BVc(b))},dependencies:[ew,HZ,DZ],encapsulation:2});var KZ=function(){};KZ.\u0275fac=function(a){return new (a||KZ)};KZ.\u0275mod=Ic({type:KZ});KZ.\u0275inj=rc({imports:[tF,IZ,EZ]});var LZ=function(){this.customFields=this.selectedComponent=null;this.fieldSelected=new Gv;this.filter=function(){return!0}};LZ.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};LZ.\u0275fac=function(a){return new (a||LZ)};
LZ.\u0275cmp=Gc({type:LZ,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&&(G(0,"div",0)(1,"div",1),R(2," First, select a component that contains the custom field. "),H(),G(3,"b-team-component-picker",2),M("selectedComponentChange",function(c){return b.onComponentSelect(null!==c&&void 0!==c?c:null)}),H(),Q(4,y5a,4,3,"div",3),H());a&2&&(z(3),F("selectedComponent",b.selectedComponent)("placeholder","Choose Component")("isRequired",!0),z(1),F("ngIf",b.selectedComponent))},dependencies:[dw,ew,iA,hA,cO,Lz,
LT],encapsulation:2});var MZ=function(){};MZ.\u0275fac=function(a){return new (a||MZ)};MZ.\u0275mod=Ic({type:MZ});MZ.\u0275inj=rc({imports:[tF,dO,jV]});var CVc=function(a){return{value:a}},NZ=function(){this.isNonemptyJsonDateValue=eqa};NZ.prototype.toDate=function(a){return Kh(a)};NZ.\u0275fac=function(a){return new (a||NZ)};
NZ.\u0275cmp=Gc({type:NZ,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&&(G(0,"span",0),Q(1,z5a,1,0,"ng-container",1),H(),Q(2,A5a,0,0,"ng-template",null,2,Zf),Q(4,N5a,8,8,"ng-template",null,3,Zf));if(a&2){var c=Cf(5);z(1);F("ngTemplateOutlet",
null==b.customFieldValue?null:c)("ngTemplateOutletContext",Jf(2,CVc,b.customFieldValue))}},dependencies:[dw,ew,jw,bK],encapsulation:2});var OZ=function(){};OZ.\u0275fac=function(a){return new (a||OZ)};OZ.\u0275mod=Ic({type:OZ});OZ.\u0275inj=rc({imports:[tF,CM]});var FVc=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 PI;this.selectedVerifiersStatus=this.selectedAssigneesStatus="ISSUE_SELECTION_STATUS_UNSPECIFIED";DVc(this,b);EVc(this,b)},DVc=function(a,b){var c=b[0],d=xl[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},GVc=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||en(c)})?b?"MULTIPLE":"IDENTICAL_EMAILS":"POSSIBLY_MULTIPLE"},EVc=function(a,b){var c=
b.map(function(d){return d.assigneeEmail});b=b.map(function(d){return d.verifierEmail});a.selectedAssigneesStatus=GVc(c);a.selectedVerifiersStatus=GVc(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])};
FVc.prototype.clearAssignee=function(){this.commonAssignee="";this.selectedAssigneesStatus="ISSUE_SELECTION_STATUS_UNSPECIFIED";this.overwriteAssignee=!0;v6a(this)};FVc.prototype.clearVerifier=function(){this.commonVerifier="";this.selectedVerifiersStatus="ISSUE_SELECTION_STATUS_UNSPECIFIED";this.overwriteVerifier=!0};
var vp=function(a){return a.origIssues.every(function(b){return!!b.verifierEmail})},r6a=function(a,b){(a.origCommonIssueState=b)?("NEW"===b.status?HVc(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||HVc(a.selectedAssigneesStatus)||(a.commonAssignee=a.lastCommonAssignee?
a.lastCommonAssignee:a.userEmail),HVc(a.selectedVerifiersStatus)||a.commonVerifier||"VERIFIED"!==b.status||(a.commonVerifier=a.userEmail)),a.issueState=a.origCommonIssueState):a.issueState=void 0},HVc=function(a){return"MULTIPLE"===a||"POSSIBLY_MULTIPLE"===a},v6a=function(a){var b=xl.NEW,c=xl.ASSIGNED;a.issueState===b&&a.commonAssignee?a.issueState=a.origCommonIssueState===b?c:a.origCommonIssueState:a.commonAssignee||a.issueState&&!Obc.has(a.issueState)||(a.issueState=b)},IVc=function(a){var b=a.issueState;
return b?a.origIssues.some(function(c){return b.status!==c.status}):!1},G6a=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);IVc(a)&&b.set("status",a.issueState.status);a.comment.value&&b.set("comment",a.comment.value);return b};var JVc=function(a){this.uploadUrl_=a};JVc.prototype.getUploadUrl=function(){return this.uploadUrl_};var KVc=function(){yo.call(this)};ts(KVc,yo);var PZ=function(a){DA.call(this,a)};ts(PZ,DA);var QZ=function(a){DA.call(this,a)};ts(QZ,DA);var LVc=function(a,b){this.name_=a;this.inputElement_=b};LVc.prototype.getName=function(){return this.name_};var MVc=function(){this.maxChunkSize_=1073741824;this.retryOnHttpClientErrorEnabled_=!1};var RZ=function(){yo.call(this);this.name_="closure_frame"+NVc++;this.iframesForDisposal_=[];OVc[this.name_]=this},SZ;ts(RZ,yo);var OVc={},NVc=0,PVc=function(a,b){var c=Bo(a);F7b(b,function(d,e){Array.isArray(d)||(d=[d]);pa(d,function(g){g=c.createDom("INPUT",{type:"hidden",name:e,value:g});a.appendChild(g)})})};f=RZ.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("ce");this.lastUri_=a=new Do(a);b=b?b.toUpperCase():"GET";c&&P7b(a);SZ||(SZ=m0b("FORM"),SZ.acceptCharset="utf-8",c=SZ.style,c.position="absolute",c.visibility="hidden",c.top=c.left="-10px",c.width=c.height="10px",c.overflow="hidden",document.body.appendChild(SZ));this.form_=SZ;"GET"==b&&PVc(this.form_,a.queryData_);d&&PVc(this.form_,d);jRb(this.form_,Ig(a.toString()));this.form_.method=b;QVc(this);RVc(this)};
f.abort=function(a){if(this.active_){var b=SVc(this);if(b)if(FA(b))b.removeAllListeners(void 0);else if(b=Z_b(b)){var c=0,d;for(d in b.listeners)for(var e=b.listeners[d].concat(),g=0;g<e.length;++g)JA(e[g])&&++c}this.success_=this.active_=this.complete_=!1;this.lastErrorCode_=a||7;this.dispatchEvent("abort");TVc(this)}};
f.disposeInternal=function(){this.active_&&this.abort();RZ.superClass_.disposeInternal.call(this);this.iframe_&&UVc(this);RVc(this);delete this.errorChecker_;this.lastUri_=this.lastContent_=this.form_=null;this.lastErrorCode_=0;delete OVc[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 W1b(this.lastContent_)};
f.getLastUri=function(){return this.lastUri_};f.getLastErrorCode=function(){return this.lastErrorCode_};f.getLastError=function(){return c2b(this.lastErrorCode_)};
var QVc=function(a){a.active_=!0;a.complete_=!1;a.lastErrorCode_=0;a.iframeName_=a.name_+"_"+(a.nextIframeId_++).toString(36);a.iframe_=Bo(a.form_).createDom("IFRAME",{name:a.iframeName_,id:a.iframeName_});vs&&7>Number(cJb)&&jRb(a.iframe_,Ig($b(Gn('javascript:""'))));var b=a.iframe_.style;b.visibility="hidden";b.width=b.height="10px";b.display="none";ys?b.marginTop=b.marginLeft="-10px":(b.position="absolute",b.top=b.left="-10px");Bo(a.form_).document_.body.appendChild(a.iframe_);b=a.iframeName_+"_inner";
var c=q0b(a.iframe_);if(document.baseURI){var d=gp(b);d=Dg('<head><base href="'+gp(document.baseURI)+'"></head><body><iframe id="'+d+'" name="'+d+'"></iframe>')}else d=gp(b),d=Dg('<body><iframe id="'+d+'" name="'+d+'"></iframe>');c.write(gk(d));zo(c.getElementById(b),"load",a.onIframeLoaded_,!1,a);d=NA("TEXTAREA",a.form_);for(var e=0,g=d.length;e<g;e++){var h=d[e].value,l=[];v0b(d[e],l,!1);l.join("")!=h&&(r0b(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=NA("SELECT",a.form_);g=NA("SELECT",d);h=0;for(l=e.length;h<l;h++)for(var q=NA("OPTION",e[h]),x=NA("OPTION",g[h]),A=0,B=q.length;A<B;A++)x[A].selected=q[A].selected;e=NA("INPUT",a.form_);g=NA("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(),xs&&Wn(a.testForFirefoxSilentError_,250,a)}catch(K){IA(c.getElementById(b),"load",a.onIframeLoaded_,!1,a),c.close(),a.handleError_(2)}};
RZ.prototype.onIframeLoaded_=function(){IA(SVc(this),"load",this.onIframeLoaded_,!1,this);try{var a=this.iframe_?q0b(SVc(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"),TVc(this))}catch(e){this.handleError_(1)}};
RZ.prototype.handleError_=function(a){this.errorHandled_||(this.active_=this.success_=!1,this.complete_=!0,this.lastErrorCode_=a,this.dispatchEvent("complete"),this.dispatchEvent("error"),TVc(this),this.errorHandled_=!0)};
var TVc=function(a){UVc(a);RVc(a);a.form_=null;a.dispatchEvent("ready")},UVc=function(a){var b=a.iframe_;b&&(b.onreadystatechange=null,b.onload=null,b.onerror=null,a.iframesForDisposal_.push(b));a.iframeDisposalTimer_&&(Xn(a.iframeDisposalTimer_),a.iframeDisposalTimer_=null);xs?a.iframeDisposalTimer_=Wn(a.disposeIframes_,2E3,a):a.disposeIframes_();a.iframe_=null;a.iframeName_=null};
RZ.prototype.disposeIframes_=function(){this.iframeDisposalTimer_&&(Xn(this.iframeDisposalTimer_),this.iframeDisposalTimer_=null);for(;0!=this.iframesForDisposal_.length;){var a=this.iframesForDisposal_.pop();RA(a)}};var RVc=function(a){a.form_&&a.form_==SZ&&p0b(a.form_)},SVc=function(a){return a.iframe_?q0b(a.iframe_).getElementById(a.iframeName_+"_inner"):null};
RZ.prototype.testForFirefoxSilentError_=function(){if(this.active_){var a=this.iframe_?q0b(SVc(this)):null;a&&!NIb(a,"documentUri")?(IA(SVc(this),"load",this.onIframeLoaded_,!1,this),navigator.onLine?this.handleError_(3):this.handleError_(9)):Wn(this.testForFirefoxSilentError_,250,this)}};var VVc=function(a,b,c,d,e){yo.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 Do(a);uC(a,"upload_protocol","multipart");this.url_=a.toString();this.request_=new RZ;this.state_="Ready";this.errorDescription_=
null;this.eventHandler_=new bq(this);CA(this,this.eventHandler_);this.eventHandler_.listen(this.request_,"success",this.onTransferSuccess_);this.eventHandler_.listen(this.request_,"error",this.onTransferError_)};U(VVc,KVc);f=VVc.prototype;f.run=function(){this.state_="Transferring";var a=this.request_,b=this.form_;if(a.active_)throw Error("ce");var c=new Do(this.url_||b.action);a.lastUri_=c;a.form_=b;jRb(a.form_,c.toString());QVc(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 PZ("q"))};f.pause=function(){};f.unpause=function(){};f.onTransferSuccess_=function(){this.state_="Complete";this.dispatchEvent(new PZ("n"))};
f.onTransferError_=function(){this.errorDescription_="Transfer failed.";this.state_="Error";this.dispatchEvent(new PZ("p"))};var YVc=function(a,b){void 0!==a.name?(this.name=a.name,this.code=WVc[a.name]):(this.code=a=a.code,this.name=XVc(a));aa.call(this,nRb("%s %s",this.name,b))};ts(YVc,aa);
var XVc=function(a){var b=Sca(WVc,function(c){return a==c});if(void 0===b)throw Error("de`"+a);return b},TZ={},WVc=(TZ.AbortError=3,TZ.EncodingError=5,TZ.InvalidModificationError=9,TZ.InvalidStateError=7,TZ.NotFoundError=1,TZ.NotReadableError=4,TZ.NoModificationAllowedError=6,TZ.PathExistsError=12,TZ.QuotaExceededError=10,TZ.SecurityError=2,TZ.SyntaxError=8,TZ.TypeMismatchError=11,TZ);var ZVc=function(a,b){DA.call(this,a.type,b);this.event_=a};ts(ZVc,DA);var $Vc=function(a,b,c){void 0===c&&(c=a.size);return a.slice?a.slice(b,c):null};var P5a=new WeakMap,O5a=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")};rp(function(){if(!ba.Blob)return!1;var a=new Uint8Array(100);try{var b=new Blob([a])}catch(c){return!1}return 100!=b.size?!1:!0});var aWc=rp(function(){if(!ba.Blob)return!1;var a=new Uint8Array(100);try{var b=new Blob([a])}catch(c){return!1}return null===$Vc(b,0,1)?!1:!0});var bWc=function(){yo.call(this);this.reader_=new FileReader;this.reader_.onloadstart=rs(this.dispatchProgressEvent_,this);this.reader_.onprogress=rs(this.dispatchProgressEvent_,this);this.reader_.onload=rs(this.dispatchProgressEvent_,this);this.reader_.onabort=rs(this.dispatchProgressEvent_,this);this.reader_.onerror=rs(this.dispatchProgressEvent_,this);this.reader_.onloadend=rs(this.dispatchProgressEvent_,this)};ts(bWc,yo);f=bWc.prototype;
f.abort=function(){try{this.reader_.abort()}catch(a){throw new YVc(a,"aborting read");}};f.getReadyState=function(){return this.reader_.readyState};f.getResult=function(){return this.reader_.result};f.getError=function(){return this.reader_.error&&new YVc(this.reader_.error,"reading file")};f.dispatchProgressEvent_=function(a){this.dispatchEvent(new ZVc(a,this))};f.disposeInternal=function(){bWc.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 cWc=function(a){var b=new IM;a.listen("loadend",ss(function(c,d){var e=d.getResult(),g=d.getError();null==e||g?c.errback(g):c.callback(e);d.dispose()},b,a));return b};var UZ=function(){fB.call(this)};U(UZ,fB);UZ.prototype.createXhr=function(){var a=fB.prototype.createXhr.call(this);a.upload&&(a.upload.onprogress=rs(this.onProgress_,this));return a};UZ.prototype.onProgress_=function(a){this.dispatchEvent(a)};var dWc=function(){this.attempt_=-1;this.delayCallId_=null;this.maxDelayMs_=6E4;this.maxAttempts_=-1},fWc=function(a,b){var c=a.attempt_+1;if(0<a.maxAttempts_&&c>a.maxAttempts_)return!1;0==c?b():a.delayCallId_=Wn(function(){a.delayCallId_=null;b()},eWc(a),a);a.attempt_=c;return!0};dWc.prototype.reset=function(){this.delayCallId_&&Xn(this.delayCallId_);this.attempt_=-1};var eWc=function(a){var b=250*Math.pow(2,a.attempt_);0<=a.maxDelayMs_&&(b=Math.min(b,a.maxDelayMs_));return b};var R5a=["Content-Length","Content-Type","Content-Encoding","Transfer-Encoding"];var gWc=function(a){yo.call(this);a=a||new MVc;this.request_=this.state_=null;this.withCredentials_=!1;this.transferHandle_=null;this.offset_=this.bytesTransferred_=0;this.retryIterator_=new dWc;this.retryIterator_.maxAttempts_=6;this.retryIterator_.maxDelayMs_=6E4;this.errorDescription_=null;this.eventHandler_=new bq(this);CA(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};ts(gWc,KVc);f=gWc.prototype;f.run=function(){VZ(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 UZ,a.withCredentials_=this.withCredentials_,a.send(this.transferHandle_.getUploadUrl(),"POST","",{"X-Goog-Upload-Command":"cancel"});this.state_="Cancel";this.bytesTransferred_=0;this.dispatchEvent(new PZ("q"))}};
f.pause=function(){this.pauseRequested_=!0};f.unpause=function(){this.pauseRequested_=!1;"Paused"===this.state_&&(this.state_=this.stateAfterUnpausing_,this.stateAfterUnpausing_=null,hWc(this))};
var VZ=function(a){var b=a.state_;a.pauseRequested_?(a.pauseRequested_=!1,a.stateAfterUnpausing_=b,a.state_="Paused"):fWc(a.retryIterator_,function(){return hWc(a)})||WZ(a,"Transfer encountered too many consecutive failures.")},hWc=function(a){switch(a.state_){case "Start":a.start_();break;case "Upload":var b=a.transferHandle_.getUploadUrl(),c=a.blob_.size;if(aWc()){var d=a.chunkSize_;var e=a.offset_+d>=c;c=$Vc(a.blob_,a.offset_,e?c:a.offset_+d)}else a.offset_=0,c=a.blob_,e=!0;a.request_=new UZ;a.request_.withCredentials_=
a.withCredentials_;a.eventHandler_.removeAll();a.eventHandler_.listen(a.request_,"progress",a.onUploadProgress_);d=rs(a.onUploadComplete_,a,a.offset_+c.size,e);a.eventHandler_.listen(a.request_,"complete",d);a.lastCommandResponseCode_=null;a.dispatchEvent(new QZ("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("ee");}},WZ=function(a,
b){a.state_="Error";a.errorDescription_=b;a.dispatchEvent(new PZ("p"))};f=gWc.prototype;
f.start_=function(){this.request_=new UZ;var a=Wb(this.headers_);null!=this.blob_.size&&(a["Content-Length"]=this.blob_.size);a=S5a(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 QZ("s"))};
f.onStartComplete_=function(a){var b=a.target;this.lastCommandResponseCode_=b.getStatus();this.dispatchEvent(new QZ("t"));if(iWc(b))jWc(this,b);else if(kWc(b)){a=sp(a.target.getAllResponseHeaders());for(var c in a)Th(c.toLowerCase(),"x-goog-upload-header-");this.dispatchEvent(new PZ("o"));c=tp(a,"X-Goog-Upload-URL");a=(a=tp(a,"X-Goog-Upload-Chunk-Granularity"))?parseInt(a,10):1;void 0===c||isNaN(a)||0>=a?WZ(this,"Server returned invalid headers."):(this.chunkSize_=Math.floor(this.maxChunkSize_/a)*
a,this.transferHandle_=new JVc(c),this.dispatchEvent(new PZ("r")),this.state_="Upload",this.retryIterator_.reset(),VZ(this))}else VZ(this)};f.onUploadProgress_=function(a){this.bytesTransferred_=this.offset_+a.loaded;this.dispatchEvent(new PZ("m"))};
f.onUploadComplete_=function(a,b,c){var d=this,e,g;return he(function(h){switch(h.nextAddress){case 1:e=c.target;d.lastCommandResponseCode_=e.getStatus();d.dispatchEvent(new QZ("t"));if(d.retryOnHttpClientErrorEnabled_?lWc(e)||404==e.getStatus():iWc(e))return d.bytesTransferred_=a,jWc(d,e),h.return();if(kWc(e)){h.jumpTo(2);break}if(!(g=d.detectCorruptedBlobEnabled_)){h.jumpTo(3);break}return h.yield(mWc(d),4);case 4:g=h.yieldResult;case 3:if(g)return WZ(d,"Blob has been modified or corrupted."),h.return();
d.requireUploadRequestModification_=400==e.getStatus();d.state_="Query";VZ(d);return h.return();case 2:if(b)return WZ(d,"Got a non-final success response after issuing a finalize command."),h.return();d.bytesTransferred_=a;d.offset_=a;d.retryIterator_.reset();VZ(d);return h.return()}})};
f.query_=function(){this.request_=new UZ;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 QZ("s"))};
f.onQueryComplete_=function(a){var b=a.target;this.lastCommandResponseCode_=b.getStatus();this.dispatchEvent(new QZ("t"));iWc(b)?(200===b.getStatus()&&(this.bytesTransferred_=this.blob_.size),jWc(this,b)):kWc(b)?(a=sp(a.target.getAllResponseHeaders()),a=parseInt(tp(a,"X-Goog-Upload-Size-Received"),10),isNaN(a)?WZ(this,"Server did not respond with current offset."):a<this.offset_?WZ(this,"Server lost bytes! Expected an offset of at least "+this.offset_+", but got an offset of "+a+"."):this.requireUploadRequestModification_&&
this.offset_===a?WZ(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",VZ(this))):VZ(this)};
var jWc=function(a,b){a.responseCode_=b.getStatus();var c=sp(b.getAllResponseHeaders());a.responseHeaders_=T5a(c);a.responseText_=b.getResponseText();a.state_="Response received";a.dispatchEvent(new PZ("n"))},kWc=function(a){var b=a.getStatus();a=sp(a.getAllResponseHeaders());a=tp(a,"X-Goog-Upload-Status");return 200===b&&"active"===a},lWc=function(a){a=sp(a.getAllResponseHeaders());return"final"===tp(a,"X-Goog-Upload-Status")},iWc=function(a){if(lWc(a))return!0;a=a.getStatus();return 400<=a&&500>
a},mWc=function(a){var b;return he(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);ie(c,2);if(b=$Vc(a.blob_,0,1)){var d=c.yield,e=new bWc,g=cWc(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_);le(c);return c.return(!0)})};var nWc=function(a,b,c,d,e,g){yo.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 Jh;this.boundary_="uploader-"+rRb()+"-"+a.toIsoString();this.transferRequest_=null;this.bytesTransferred_=0;this.responseText_=this.responseHeaders_=this.responseCode_=null;this.state_="Ready";this.errorDescription_=null;this.eventHandler_=new bq(this);CA(this,this.eventHandler_)};U(nWc,KVc);f=nWc.prototype;
f.run=function(){var a=Wb(this.headers_);null!=this.payload_.length&&(a["Content-Length"]=this.payload_.length);a=S5a(a);a["X-Goog-Upload-Protocol"]="multipart";a["Content-Type"]="multipart/related; boundary="+this.boundary_;this.state_="Transferring";this.transferRequest_=new UZ;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 PZ("q")))};f.pause=function(){};f.unpause=function(){};
f.onTransferProgress_=function(a){this.bytesTransferred_=Math.max(0,a.loaded-this.metadataOverhead_);this.dispatchEvent(new PZ("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 PZ("p"))):(this.responseCode_=b,a=a.target,b=sp(a.getAllResponseHeaders()),this.responseHeaders_=T5a(b),this.responseText_=a.getResponseText(),this.state_="Complete",this.dispatchEvent(new PZ("n")))};var oWc=function(){},pWc=function(a,b,c,d,e){e=void 0===e?!1:e;if(c instanceof LVc)return new VVc(a,"POST",b,c.inputElement_,d);if("string"===typeof c||c instanceof String)return new nWc(a,"POST",b,c,d);var g=new gWc(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 qWc=new Rc("ScottyUploaderConfigFactory"),rWc=new Rc("ScottyUploader",{factory:function(){return new oWc}}),XZ=function(a,b){this.uploader=a;this.configFactory=b;this.internalTransferStatus=new E.Subject;this.transferStatus=CSb(this.internalTransferStatus)};
XZ.prototype.upload=function(a,b){var c=this;b=void 0===b?this.configFactory.create(a):b;a=pWc(b.url,b.headers||{},a,b.metadata||"",!!b.withCredentials);this.transferSubscription&&!b.allowSimultaneousUpload&&this.transferSubscription.unsubscribe();this.transferSubscription=(0,E.merge)((0,E.fromEvent)(a,"o"),(0,E.fromEvent)(a,"m"),(0,E.fromEvent)(a,"r"),(0,E.fromEvent)(a,"p"),(0,E.fromEvent)(a,"n"),(0,E.fromEvent)(a,"q")).pipe(Te((0,E.fromEvent)(a,"n").pipe(Ee(0)))).subscribe(function(d){c.internalTransferStatus.next(d)});
a.run()};XZ.\u0275fac=function(a){return new (a||XZ)(u(rWc),u(qWc))};XZ.\u0275prov=qc({token:XZ,factory:XZ.\u0275fac});var sWc=function(a){this.name_=a;this.files_=[];this.directories_=[];this.directoryMap_={}};sWc.prototype.getDirectory=function(a){return this.directoryMap_[a]};sWc.prototype.getName=function(){return this.name_};var uWc=function(a,b,c){b=void 0===b?"single_file":b;c=void 0===c?[]:c;yo.call(this);this.overlayTarget_=a;this.parentOverlay_=null!=a?a.parentNode:On(document,"scotty-overlay-parent");this.selectorType_=b;this.acceptTypes_=c;this.overlay_=tWc(this,this.overlayTarget_,this.selectorType_,this.acceptTypes_)};U(uWc,yo);
var tWc=function(a,b,c,d){var e=document.createElement("input");e.setAttribute("type","file");e.setAttribute("name","Filedata");zo(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),iq(e,new fq(b.offsetLeft,b.offsetTop)),e;a.parentOverlay_.appendChild(e);return e};uWc.prototype.click=function(){this.overlay_.click()};
uWc.prototype.onFilesSelected_=function(a){a:{try{var b=void 0!==(new XMLHttpRequest).upload;break a}catch(x){}b=!1}if(b){a=a.target.files;b=[];if("single_directory"===this.selectorType_&&(ys||ws)){b=new sWc("");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 sWc(l),g.directoryMap_[l.getName()]=
l,g.directories_.push(l));g=q}b=b.directories_}this.dispatchEvent(new vWc(a,b,null))}else a=a.target.value,a.match(/^c:\\fakepath\\/i)&&(a=a.substring(12)),this.dispatchEvent(new vWc([],[],new LVc(a,this.overlay_)));this.parentOverlay_.removeChild(this.overlay_);this.overlay_=tWc(this,this.overlayTarget_,this.selectorType_,this.acceptTypes_)};
var wWc={SINGLE_FILE_SELECTION:"single_file",MULTIPLE_FILE_SELECTION:"multiple_file",SINGLE_DIRECTORY_SELECTION:"single_directory"},vWc=function(a,b){DA.call(this,"y");this.files=a;this.directories=b};U(vWc,DA);var YZ=function(a,b){this.elementRef=a;this.ngZone=b;this.destroyed=new E.ReplaySubject(1);this.supportedFileExtensions=null;this.fileExtensionRejected=new Gv;this.maxFileSize=null;this.fileSizeRejected=new Gv;this.fileSelected=new Gv;this.fileNameLengthRejected=new Gv};
YZ.prototype.ngAfterViewInit=function(){var a=this;this.getOverlay().pipe(Se(function(b){return(0,E.merge)((0,E.fromEvent)(b,"u"),(0,E.fromEvent)(b,"y"))}),Te(this.destroyed)).subscribe(function(b){a.ngZone.run(function(){a:{if(a.supportedFileExtensions){var c=k(b.files);for(var d=c.next();!d.done;d=c.next()){var e=a.supportedFileExtensions,g=e.includes;d=d.value.name;var h=d.lastIndexOf(".");if(!g.call(e,-1!==h?d.substr(h+1).toLowerCase():"")){c=!1;break a}}}c=!0}if(c){a:{if(a.maxFileSize)for(c=
k(b.files),e=c.next();!e.done;e=c.next())if(e.value.size>a.maxFileSize){c=!1;break a}c=!0}if(c){a:{if(a.maxFileNameLength)for(c=k(b.files),e=c.next();!e.done;e=c.next())if(e.value.name.length>a.maxFileNameLength){c=!1;break a}c=!0}c?a.fileSelected.emit(b):a.fileNameLengthRejected.emit(b)}else a.fileSizeRejected.emit(b)}else a.fileExtensionRejected.emit(b)})});this.getOverlay().subscribe(function(b){(0,E.fromEvent)(b,"w").subscribe(function(){a.ngZone.run(function(){})})});this.getOverlay().subscribe(function(b){(0,E.fromEvent)(b,
"x").subscribe(function(){a.ngZone.run(function(){})})})};YZ.prototype.ngOnDestroy=function(){this.destroyed.next(!0);this.destroyed.complete()};YZ.\u0275fac=function(a){return new (a||YZ)(C(vd),C(We))};YZ.\u0275dir=Kc({type:YZ,inputs:{supportedFileExtensions:"supportedFileExtensions",maxFileSize:"maxFileSize",maxFileNameLength:"maxFileNameLength"},outputs:{fileExtensionRejected:"fileExtensionRejected",fileSizeRejected:"fileSizeRejected",fileSelected:"fileSelected",fileNameLengthRejected:"fileNameLengthRejected"}});var ZZ=function(a,b){YZ.call(this,a,b);this.overlay=this.fileSelectorOverlay=null};U(ZZ,YZ);
ZZ.prototype.getOverlay=function(){var a=this;this.overlay||(this.overlay=this.ngZone.runOutsideAngular(function(){return(0,E.merge)((0,E.fromEvent)(a.elementRef.nativeElement,"mouseover"),(0,E.fromEvent)(a.elementRef.nativeElement,"focus")).pipe(Je(),Te(a.destroyed),D(function(){a.fileSelectorOverlay=new uWc(a.elementRef.nativeElement,a.selectorType,xWc(a));a.fileSelectorOverlay.overlay_.style.display="none";return a.fileSelectorOverlay}),Pe(1))}));return this.overlay};
ZZ.prototype.onClick=function(){this.fileSelectorOverlay&&this.fileSelectorOverlay.click()};var xWc=function(a){return(a.supportedFileExtensions||[]).map(function(b){return"."+b})};ZZ.\u0275fac=function(a){return new (a||ZZ)(C(vd),C(We))};ZZ.\u0275dir=Kc({type:ZZ,hostBindings:function(a,b){a&1&&M("click",function(){return b.onClick()})},inputs:{selectorType:"selectorType"},features:[bf]});var $Z=function(a,b,c){ZZ.call(this,a,b);this.uploader=c;this.disableAutoUploadInternal=!1};U($Z,ZZ);
$Z.prototype.ngOnInit=function(){var a=this;this.fileSelected.pipe(Te(this.destroyed),ye(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)}})};hh.Object.defineProperties($Z.prototype,{disableAutoUpload:{configurable:!0,enumerable:!0,get:function(){return this.disableAutoUploadInternal},set:function(a){this.disableAutoUploadInternal=xg(a)}}});
$Z.\u0275fac=function(a){return new (a||$Z)(C(vd),C(We),C(XZ,8))};$Z.\u0275dir=Kc({type:$Z,selectors:[["","xapUploaderTrigger",""],["","xapScottyUploaderTrigger",""]],inputs:{disableAutoUpload:"disableAutoUpload"},features:[bf]});var a_=function(){this.SelectorType=wWc;this.includeTextLabel=this.disabled=!1;this.onSelect=new Gv},U5a=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)}};a_.\u0275fac=function(a){return new (a||a_)};
a_.\u0275cmp=Gc({type:a_,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&&(G(0,"div",0),Q(1,V5a,2,3,"button",1),H(),Q(2,W5a,3,3,"ng-template",null,2,Zf));if(a&2){var c=Cf(3);z(1);F("ngIf",!b.includeTextLabel)("ngIfElse",c)}},dependencies:[ew,uA,Jz,LB,
$Z],encapsulation:2});var yWc=function(a,b){Lic.call(this,a.size,a.name);var c=this;this.destroyed$=new E.Subject;this.onTransferEventUpdate=function(d){var e=d.target;c.transfer=e;switch(d.type){case "m":case "o":case "r":c.state=1;c.transferredBytes=e.getBytesTransferred()||0;break;case "p":c.handleError(e);break;case "n":c.transferredBytes=e.getBytesTransferred()||0;(d=e.getResponseCode())&&200!=d?c.handleError(e):(d=e.getResponseText())?(c.state=2,c.blobRef=JSON.parse(d).encryptedMedia):c.handleError(e);c.unsubscribe();
break;case "q":c.state=4;c.transferredBytes=e.getBytesTransferred()||0;break;default:c.transferredBytes=e.getBytesTransferred()||0}};b.pipe(Te(this.destroyed$)).subscribe(function(d){c.onTransferEventUpdate(d)})};U(yWc,Lic);yWc.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.")};
yWc.prototype.cancel=function(){var a,b;null==(a=this.transfer)||null==(b=a.cancel)||b.call(a);this.unsubscribe()};yWc.prototype.unsubscribe=function(){this.destroyed$.next();this.destroyed$.complete()};var b_=function(a){this.activeSession=a};
b_.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=Kaa(c);a=iBa(a.name)?a.name:b;return{url:uC(Q7b().setPath("/upload/"),"authuser",this.activeSession.getSessionIdentifier()).toString(),headers:{"X-Bv2-Encoded-Upload-File-Name":b,
"X-Goog-Upload-File-Name":a},withCredentials:!0}};b_.\u0275fac=function(a){return new (a||b_)(u(gs))};b_.\u0275prov=qc({token:b_,factory:b_.\u0275fac,providedIn:"root"});var c_=function(a,b){this.uploader=a;this.uploaderConfigFactory=b};c_.prototype.create=function(){return new XZ(this.uploader,this.uploaderConfigFactory)};c_.\u0275fac=function(a){return new (a||c_)(u(rWc),u(b_))};c_.\u0275prov=qc({token:c_,factory:c_.\u0275fac,providedIn:"root"});var $5a=function(a){return{"attachment-error":a}},d_=function(a){WD.call(this);this.scottyUploaderFactory=a;this.uploads=[];this.onUploadCancel=new Gv;this.onUploadComplete=new Gv;this.uploadStates=Mic};U(d_,WD);d_.\u0275dir=WD.\u0275dir;d_.prototype.ngOnDestroy=function(){WD.prototype.ngOnDestroy.call(this);for(var a=k(this.uploads),b=a.next();!b.done;b=a.next())b.value.cancel()};
d_.prototype.upload=function(a){var b=this,c=this.scottyUploaderFactory.create();c.upload(a);a=new yWc(a,c.transferStatus);c.transferStatus.pipe(Te(this.destroyed$)).subscribe(function(d){"n"===d.type&&b.onUploadComplete.emit()});return a};d_.prototype.cancel=function(a){a.cancel();this.onUploadCancel.emit(a)};d_.\u0275fac=function(a){return new (a||d_)(C(c_))};
d_.\u0275cmp=Gc({type:d_,selectors:[["b-attachment-uploader"]],inputs:{uploads:"uploads"},outputs:{onUploadCancel:"onUploadCancel",onUploadComplete:"onUploadComplete"},features:[bf],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&&Q(0,b6a,2,1,"div",0);a&2&&F("ngIf",0<b.uploads.length)},dependencies:[cw,dw,ew,uA,LB,qjc],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 zWc=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 AWc=function(a){Lic.call(this,a.size,a.name);this.attachment=a};U(AWc,Lic);
var BWc=function(a,b){a.attachment.encryptedBlobId?(a.state=1,Eic(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=Ql(c)?Rl(c):"Error while uploading."})):(a.state=3,a.errorMessage="Error while uploading.")};var e_=function(a){this.id_=a;this.opts={}};f=e_.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=Tb(this.opts,function(c){return null!==c});a=Ub(a)?null:a;a=[this.id_,this.label_,a];var b=waa(a,LQb);return a=a.slice(0,b+1)};
f.toString=function(){var a=this.toArray();return"("+KIb(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 f_=function(a){e_.call(this,a||"all")};ts(f_,e_);var CWc=function(){var a=(new f_("all")).setOwnedByMe(!0);a.opts.drdis=!0;a.opts.includeFolders=!0;a.opts.sortKey=7;a.opts.ff=!0;return a};f=f_.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){f_.superClass_.setLabel.call(this,a);return this};
f.setQuery=function(a){f_.superClass_.setQuery.call(this,a);return this};f.setParent=function(a){f_.superClass_.setParent.call(this,a);return this};var DWc=function(){e_.call(this,"image-search")};U(DWc,e_);f=DWc.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){e_.prototype.setLabel.call(this,a);return this};f.setQuery=function(a){e_.prototype.setQuery.call(this,a);return this};f.setParent=function(a){e_.prototype.setParent.call(this,a);return this};var g_=function(){e_.call(this,"maps")};U(g_,e_);g_.prototype.setMode=function(a){this.opts.mode=a;return this};g_.prototype.setLabel=function(a){e_.prototype.setLabel.call(this,a);return this};g_.prototype.setQuery=function(a){e_.prototype.setQuery.call(this,a);return this};g_.prototype.setParent=function(a){e_.prototype.setParent.call(this,a);return this};var EWc=function(){e_.call(this,"photos")};U(EWc,e_);f=EWc.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){e_.prototype.setLabel.call(this,a);return this};f.setQuery=function(a){e_.prototype.setQuery.call(this,a);return this};f.setParent=function(a){e_.prototype.setParent.call(this,a);return this};f.removeDuplicates=function(){this.opts.rdv=!0;return this};var h_=function(){e_.call(this,"url")};U(h_,e_);h_.prototype.setType=function(a){this.opts.type=a;return this};h_.prototype.setLabel=function(a){e_.prototype.setLabel.call(this,a);return this};h_.prototype.setQuery=function(a){e_.prototype.setQuery.call(this,a);return this};h_.prototype.setParent=function(a){e_.prototype.setParent.call(this,a);return this};var FWc=function(){e_.call(this,"video-search")};U(FWc,e_);FWc.prototype.setLabel=function(a){e_.prototype.setLabel.call(this,a);return this};FWc.prototype.setQuery=function(a){e_.prototype.setQuery.call(this,a);return this};FWc.prototype.setParent=function(a){e_.prototype.setParent.call(this,a);return this};var GWc=function(){e_.call(this,"web")};U(GWc,e_);GWc.prototype.setLabel=function(a){e_.prototype.setLabel.call(this,a);return this};GWc.prototype.setQuery=function(a){e_.prototype.setQuery.call(this,a);return this};GWc.prototype.setParent=function(a){e_.prototype.setParent.call(this,a);return this};var i_=function(){this.root_=void 0;this.items_=[];this.opts={}},HWc=function(a){switch(a){case "image-search":return new DWc;case "maps":return new g_;case "photos":return new EWc;case "url":return new h_;case "video-search":return new FWc;case "web":return new GWc}return new e_(a)};i_.prototype.addView=function(a){this.items_.push("string"===typeof a?HWc(a):a);return this};
var IWc=function(a){return"("+KIb(a.items_,function(b){return b.toString()}).join(",")+")"},JWc=function(a){a=Tb(a.opts,function(b){return null!==b});return(a=Ub(a)?null:a)?JSON.stringify(Oca(a,function(b){return b.toString()})):""};i_.prototype.toString=function(){if(this.root_){var a=["{root:",this.root_.toString(),",items:",IWc(this)],b=JWc(this);b&&(a.push(",options:"),a.push(b));a.push("}");return a.join("")}return IWc(this)};
i_.prototype.toObject=function(){var a=KIb(this.items_,function(b){return b instanceof i_?b.toObject():b.toArray()});return this.root_?{root:this.root_.toArray(),items:a,options:this.getOptions()}:a};i_.prototype.getOptions=function(){return Wb(this.opts)};var KWc=function(a){this.basePickerUrl_=a||"https://docs.google.com/picker";this.nav_=new i_};f=KWc.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 LWc=function(a){KWc.call(this,a)};ts(LWc,KWc);var j_=function(a){yo.call(this);this.dom_=a||Bo();this.rightToLeft_=MWc;this.id_=null;this.inDocument_=!1;this.element_=null;this.googUiComponentHandler_=void 0;this.childIndex_=this.children_=this.parent_=null};ts(j_,yo);j_.prototype.idGenerator_=Zp.getInstance();var MWc=!1;f=j_.prototype;f.getId=function(){return this.id_||(this.id_=Np(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 bq(this));return this.googUiComponentHandler_};
f.setParent=function(a){if(this==a)throw Error("fe");if(a&&this.parent_&&this.id_&&jUc(this.parent_,this.id_)&&this.parent_!=a)throw Error("fe");this.parent_=a;j_.superClass_.setParentEventTarget.call(this,a)};f.getParent=function(){return this.parent_};f.setParentEventTarget=function(a){if(this.parent_&&this.parent_!=a)throw Error("ge");j_.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("he");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;NWc(this,function(a){!a.inDocument_&&a.getElement()&&a.enterDocument()})};
f.exitDocument=function(){NWc(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_);NWc(this,function(a){a.dispose()});this.element_&&RA(this.element_);this.parent_=this.element_=this.childIndex_=this.children_=null;j_.superClass_.disposeInternal.call(this)};
f.addChild=function(){var a=this.children_?this.children_.length:0;if((void 0).inDocument_&&!this.inDocument_)throw Error("he");if(0>a||a>(this.children_?this.children_.length:0))throw Error("ie");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;ra(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);Caa(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_=lR(this.inDocument_?this.element_:this.dom_.document_.body));return this.rightToLeft_};f.hasChildren=function(){return!!this.children_&&0!=this.children_.length};var jUc=function(a,b){return a.childIndex_&&b?Vca(a.childIndex_,b)||null:null},NWc=function(a,b){a.children_&&a.children_.forEach(b,void 0)};
j_.prototype.removeChild=function(a,b){if(a){var c="string"===typeof a?a:a.getId();a=jUc(this,c);c&&a&&(Vb(this.childIndex_,c),ra(this.children_,a),b&&(a.exitDocument(),a.element_&&RA(a.element_)),a.setParent(null))}if(!a)throw Error("je");return a};j_.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};ts(d6a,c6a);var OWc=function(a){c6a.call(this,"visibility");this.visible=a};ts(OWc,c6a);var PWc=Fn(Gn("//www-onepick-opensocial.googleusercontent.com/gadgets/js/rpc.js?c=1&container=onepick")),QWc=Fn(Gn("//apis.google.com/js/rpc.js")),f6a=null;var RWc=function(a){yo.call(this);this.element_=a;a=vs?"focusout":"blur";this.listenKeyIn_=zo(this.element_,vs?"focusin":"focus",this,!vs);this.listenKeyOut_=zo(this.element_,a,this,!vs)};ts(RWc,yo);RWc.prototype.handleEvent=function(a){var b=new EA(a.event_);b.type="focusin"==a.type||"focus"==a.type?"focusin":"focusout";this.dispatchEvent(b)};RWc.prototype.disposeInternal=function(){RWc.superClass_.disposeInternal.call(this);JA(this.listenKeyIn_);JA(this.listenKeyOut_);delete this.element_};var SWc=new Map;SWc.set("application/vnd.google-apps.document","application/vnd.google-gsuite.document-blob");SWc.set("application/vnd.google-apps.spreadsheet","application/vnd.google-gsuite.spreadsheet-blob");SWc.set("application/vnd.google-apps.presentation","application/vnd.google-gsuite.presentation-blob");var TWc=new Set;TWc.add("application/vnd.google-apps.kix");TWc.add("application/vnd.google-apps.ritz");TWc.add("application/vnd.google-apps.punch");var cXc=function(a,b,c){var d=c&&V(c,1);if(c){var e=V(c,3);e=e&&JSON.parse(e)||{};c={0:V(c,1),1:c.getLabel(),2:e}}else c={};switch(a[0].getId().getSourceId()){case 13:return UWc(a,b,d,c);case 3:return VWc(a,b,d,c);case 10:return WWc(a,b,d,c);case 12:return XWc(a,b);case 2:return YWc(a,b,d,c);case 5:return ZWc(a,b,d,c);case 9:return $Wc(a,b,d,c);case 6:return aXc(a,b,d,c);case 1:return Dj(a[0],xNb,26)?bXc(a,b,d,c):WWc(a,b,d,c);default:return{}}},aXc=function(a,b,c,d){a=a.map(function(e){return{id:e.getId().getId(),
serviceId:"youtube",name:e.getName(),description:e.getDescription(),type:k_(e),lastEditedUtc:Z(e,Ch,16).toDate().getTime(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",url:e.getUrl(),embedUrl:V(e,13),thumbnails:l_(ku(e))}});return{action:b,docs:a,viewToken:d,view:c||"youtube",v2Translated:!0}},YWc=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:k_(g),lastEditedUtc:g.getLastModifiedTimestamp().toDate().getTime(),
url:g.getUrl(),sizeBytes:Rs(g,23),description:g.getDescription(),iconUrl:g.getIconUrl(),thumbnails:l_(ku(g)),isShared:lu(g).getShared(),downloadUrl:V(lu(g),10),embedUrl:V(g,13),copyable:Jj(lu(g),9),resourceKey:lu(g).getResourceKey()};Jj(lu(g),12)&&(h.uploadState="success");if(lu(g).hasVideoMetadata()){g=lu(g).getVideoMetadata();var l=g.getDuration().getSeconds()+g.getDuration().getNanos()/1E9;h.duration=l;h.aspectRatio=hj(g,1)}return h});return{action:b,docs:e,viewToken:d,view:c||"all",extraUserInputs:dXc(a),
v2Translated:!0}},ZWc=function(a,b,c,d){a=a.map(function(e){var g=Z(Z(e,aOb,15),au,1);jo(e,10,au,g);return{id:e.getId().getId(),serviceId:"web",mimeType:e.getMimeType(),name:e.getName(),type:k_(e),url:e.getUrl(),description:e.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:l_(ku(e))}});return{action:b,docs:a,viewToken:d,view:c||"image-search",v2Translated:!0}},$Wc=function(a,b,c,d){a=a.map(function(e){return{serviceId:"url",name:ku(e)[0].getUrl().split("/").pop(),
type:k_(e),mimeType:e.getMimeType(),url:e.getUrl(),description:e.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:l_(ku(e))}});return{action:b,docs:a,viewToken:d,view:c||"url",v2Translated:!0}},bXc=function(a,b,c,d){a=a.map(function(e){return{id:e.getId().getId(),serviceId:"picasa",name:e.getName(),type:k_(e),description:e.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:l_(ku(e))}});
return{action:b,docs:a,viewToken:d,view:c||"webcam",v2Translated:!0}},WWc=function(a,b,c,d){return{action:b,docs:a.map(eXc),viewToken:d,view:fXc(c||"upload",a),extraUserInputs:dXc(a),v2Translated:!0}},fXc=function(a,b){return b.some(function(c){var d;return 9===(null==(d=Z(c,hu,30))?void 0:d.getAgentId())})?a+"/gmailphotos":a},VWc=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:k_(g),lastEditedUtc:g.getLastModifiedTimestamp().toDate().getTime(),
url:g.getUrl(),sizeBytes:Rs(g,23),description:g.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:l_(ku(g)),mediaKey:g.getId().getId(),parentId:g.getParentId()},l;if(g=null==(l=Z(g,JNb,18))?void 0:Z(l,fu,3))h.latitude=g.getLatitude(),h.longitude=g.getLongitude();return h});return{action:b,docs:e,viewToken:d,view:c||"photos",extraUserInputs:dXc(a),v2Translated:!0}},UWc=function(a,b,c,d){a=a.map(function(e){return{id:e.getId().getId(),serviceId:"et",
name:ku(e)[0].getUrl().split("/").pop(),description:e.getDescription(),type:"et",iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:l_(ku(e),"etjpg")}});return{action:b,docs:a,viewToken:d,view:c||"et",v2Translated:!0}},XWc=function(a,b){a=a.map(function(c){var d=Z(c,eu,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}},l_=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}})},dXc=function(a){return{isAttachment:a.some(function(b){return Jj(b,31)})}},eXc=function(a){var b={id:a.getId().getId(),serviceId:gXc(a),mimeType:a.getMimeType(),name:a.getName(),type:k_(a),sizeBytes:Rs(a,
23),description:a.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:l_(ku(a)),isNew:!0},c=Z(a,hu,30);if(c){b.dataUrl=V(c,1)||null;a:{var d=Z(a,hu,30);switch(d.getAgentId()){case 9:d=Sj(d,QNb,2,iu);d={remoteRefs:d&&V(d,1)};break a;case 10:case 15:d=Sj(d,gu,4,iu);var e=ku(a);d={photo_id:d&&d.getPhotoId(),media_key:a.getId().getId(),media_type:1===a.getType()?1:2,image_url:e&&e[0].getUrl(),width:e&&String(e[0].getWidth()),height:e&&String(e[0].getHeight())};
break a}d=null}b.uploadMetadata=d}(d=c&&Sj(c,gu,4,iu))&&(b.id=d.getPhotoId());(d=c&&Sj(c,SNb,5,iu))&&(b.contentId=V(d,1));(d=c&&Sj(c,NNb,6,iu))&&(b.contentId=V(d,1));1===(null==c?void 0:c.getAgentId())&&(b.mediaKey=a.getId().getId());return b},gXc=function(a){var b;switch((null==(b=Z(a,hu,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},
k_=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 hXc=function(a){this.obj_=a};f=hXc.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 iXc=function(a){this.obj_=a||{}};f=iXc.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 jXc=function(a){a.obj_.attributes=a.obj_.attributes||{};return new hXc(a.obj_.attributes)},yAc=function(a){return(a=a.obj_.timeout)?a:null};var kXc=function(){iXc.apply(this,arguments)};U(kXc,iXc);var lXc=Fn(Gn("https://apis.google.com/js/api.js")),pXc=function(a,b){var c=!1,d=mXc(a,b).then(function(g){c=!0;return g}),e=f1b(5E3).then(function(){return c?mXc(a,b):nXc(b).then(function(g){return oXc(g,a)})});return S0b([d,e])},mXc=function(a,b){return qXc(b).then(function(c){return oXc(c,a)})},oXc=function(a,b){var c=Th(b,"gapi.")?b.slice(5):b;return a[c]?M0b(a[c]):new VA(function(d,e){var g=Wn(function(){e(Error("ke"))},3E4);a.load(b,{callback:function(){Xn(g);d(a[c])},onerror:function(h){Xn(g);
e(h)}})})},qXc=function(a){return a.gapi&&a.gapi.load?M0b(a.gapi):nXc(a)},nXc=function(a){return bHa(lXc,{document:a.document}).then(function(){return a.gapi})},rXc=function(){};rXc.prototype.load=function(a,b){b=void 0===b?window:b;var c=Date.now();return pXc(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 sXc=function(){BA.call(this);this.gapiLoader_=new rXc;this.origin_=null;this.gapiPickerIframeResolver_=U0b();this.gapiIframesResolver_=U0b();this.gapiIframesResolver_.promise.then(null,function(){});this.gapiPickerIframeResolver_.promise.then(null,function(){});this.hostMessageHandlerInternal_={}};U(sXc,BA);
var tXc=function(a,b){var c=uo("gapi.iframes",b);return c?(a=Date.now(),M0b({library:c,loadStartMs:a,loadEndMs:a})):a.gapiLoader_.load("gapi.iframes",b)},uXc=function(a,b,c,d,e,g){var h=!0;h=void 0===h?!1:h;tXc(a,QA(b.ownerDocument)).then(function(l){var q=l.library;a.gapiIframesResolver_.resolve(q);l=a.gapiPickerIframeResolver_;var x=l.resolve,A=h;A=void 0===A?!1:A;var B={};B["host-message-handler"]=c;a.hostMessageHandlerInternal_=B;var K=wC(d);K=wC(K);K=rC(new Do,K.scheme_).setDomain(K.getDomain()).setPort(K.getPort()).toString();
a.origin_=K;K=(new kXc).setUrl(d);K.obj_.where=b;K.obj_.allowPost=A;K.obj_.messageHandlers=B;A=uo("makeWhiteListIframesFilter",q)([a.origin_]);K.obj_.messageHandlersFilter=A;null!=e&&K.setId(e);null!=g&&(K.obj_.rpctoken=g);jXc(K).setStyle({display:"block","min-width":"100%",width:"1px"}).setHeight("100%");jXc(K).value().allow="camera 'src' "+a.origin_;q=q.getContext().openChild(K.value());x.call(l,q)},function(l){a.gapiIframesResolver_.reject(l);a.gapiPickerIframeResolver_.reject(l)});return a.gapiPickerIframeResolver_.promise},
vXc=function(a,b){return R0b([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,uo("makeWhiteListIframesFilter",c)([a.origin_])):N0b(Error("le"))})};sXc.prototype.disposeInternal=function(){wXc(this);BA.prototype.disposeInternal.call(this)};var wXc=function(a){a.gapiPickerIframeResolver_.promise.then(function(b){b&&(b.unregister("host-message-handler"),delete a.hostMessageHandlerInternal_["host-message-handler"])})};var xXc=function(){this.nextId_=0};xXc.prototype.getUniqueId=function(){return":"+(this.nextId_++).toString(36)};var zXc=function(a,b){switch(a.action){case "select-contacts":a=yXc(a.contacts);break;case "visibility":a=a.visible;a=(new xu).setCommand(7).setVisible(a);var c={};c["iframe-command"]=a.serialize();a=c;break;default:a=null}return a?vXc(b,a):M0b()},yXc=function(a){if(!a||0==a.length)return null;var b=new xu;b.setCommand(11);var c=new xXc;a.forEach(function(d){if(d.email){var e=(new ju).setName(d.name?d.name:d.email);d=(new eu).addEmail(d.email);e=Yi(e,eu,27,d).setId((new Zt).setId(c.getUniqueId()).setSourceId(12))}else e=
null;e&&b.addItem(e)});a={};a["iframe-command"]=b.serialize();return a};var m_=function(a,b,c){yo.call(this);this.target=a;this.handle=b||a;this.limits=c||new gR(NaN,NaN,NaN,NaN);this.document_=MA(a);this.eventHandler_=new bq(this);CA(this,this.eventHandler_);this.deltaY=this.deltaX=this.startY=this.startX=this.screenY=this.screenX=this.clientY=this.clientX=0;this.dragging_=!1;zo(this.handle,["touchstart","mousedown"],this.startDrag,!1,this);this.useSetCapture_=AXc};ts(m_,yo);
var AXc=ba.document&&ba.document.documentElement&&!!ba.document.documentElement.setCapture&&!!ba.document.releaseCapture;f=m_.prototype;f.getHandler=function(){return this.eventHandler_};f.disposeInternal=function(){m_.superClass_.disposeInternal.call(this);IA(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||Yp&&a.ctrlKey))this.dispatchEvent("earlycancel");else if(this.dispatchEvent(new n_("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(QA(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=PA(Bo(this.document_).document_)}};
f.endDrag=function(a,b){this.eventHandler_.removeAll();this.useSetCapture_&&this.document_.releaseCapture();this.dragging_?(this.dragging_=!1,this.dispatchEvent(new n_("end",this,a.clientX,a.clientY,a,BXc(this,this.deltaX),CXc(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 n_("start",this,a.clientX,a.clientY,a)))this.dragging_=!0;else{this.isDisposed()||this.endDrag(a);return}}c=DXc(this,b,c);b=c.x;c=c.y;this.dragging_&&this.dispatchEvent(new n_("beforedrag",this,a.clientX,a.clientY,
a,b,c))&&(EXc(this,a,b,c),a.preventDefault())};var DXc=function(a,b,c){var d=PA(Bo(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 fq(BXc(a,a.deltaX),CXc(a,a.deltaY))};m_.prototype.onScroll_=function(a){var b=DXc(this,0,0);a.clientX=this.clientX;a.clientY=this.clientY;EXc(this,a,b.x,b.y)};
var EXc=function(a,b,c,d){a.target.style.left=c+"px";a.target.style.top=d+"px";a.dispatchEvent(new n_("drag",a,b.clientX,b.clientY,b,c,d))},BXc=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))},CXc=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))};m_.prototype.isDragging=function(){return this.dragging_};
var n_=function(a,b,c,d,e,g,h){DA.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};ts(n_,DA);var o_=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=o_.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 o_){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 o_(this)};
f.toObject=function(){for(var a={},b=k(this.map_),c=b.next();!c.done;c=b.next()){var d=k(c.value);c=d.next().value;d=d.next().value;a[c]=d}return a};(function(){for(var a=["ms","moz","webkit","o"],b,c=0;b=a[c]&&!ba.requestAnimationFrame;++c)ba.requestAnimationFrame=ba[b+"RequestAnimationFrame"],ba.cancelAnimationFrame=ba[b+"CancelAnimationFrame"]||ba[b+"CancelRequestAnimationFrame"];if(!ba.requestAnimationFrame){var d=0;ba.requestAnimationFrame=function(e){var g=(new Date).getTime(),h=Math.max(0,16-(g-d));d=g+h;return ba.setTimeout(function(){e(g+h)},h)};ba.cancelAnimationFrame||(ba.cancelAnimationFrame=function(e){clearTimeout(e)})}})();
var FXc=[[],[]],GXc=0,HXc=!1,IXc=0,KXc=function(a,b){var c=IXc++,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,FXc[GXc].push(d));HXc||(HXc=!0,window.requestAnimationFrame(JXc))}},JXc=
function(){HXc=!1;var a=FXc[GXc],b=a.length;GXc=(GXc+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 LXc=vs?Fn(Gn('javascript:""')):Fn(Gn("about:blank"));vh(LXc);var MXc=vs?Fn(Gn('javascript:""')):Fn(Gn("javascript:undefined"));vh(MXc);var NXc=function(a,b){this.element_=a;this.dom_=b};var p_=function(a,b){j_.call(this,b);this.useIframeMask_=!!a;this.lastFocus_=null;this.resizeBackgroundTask_=KXc({mutate:this.resizeBackground_},this);KXc({mutate:this.updateModalAndBackground_},this)};ts(p_,j_);f=p_.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(){p_.superClass_.createDom.call(this);var a=this.getElement();GBc(a,Vh(this.getCssClass()).split(" "));a.tabIndex=0;kR(a,!1);this.useIframeMask_&&!this.bgIframeEl_&&(a=this.getDomHelper().createDom("IFRAME",{frameborder:0,style:"border:0;vertical-align:bottom;"}),a.src=vh(LXc).toString(),this.bgIframeEl_=a,this.bgIframeEl_.className=this.getCssClass()+"-bg",kR(this.bgIframeEl_,!1),SBc(this.bgIframeEl_,0));this.bgEl_||(this.bgEl_=this.getDomHelper().createDom("DIV",this.getCssClass()+
"-bg"),kR(this.bgEl_,!1));this.tabCatcherElement_||(this.tabCatcherElement_=this.getDomHelper().createElement("SPAN"),kR(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);p_.superClass_.enterDocument.call(this);a=this.getElement();a.parentNode&&a.parentNode.insertBefore(this.tabCatcherElement_,a.nextSibling);this.focusHandler_=new RWc(this.getDomHelper().document_);this.getHandler().listen(this.focusHandler_,"focusin",this.onFocus);OXc(this,!1)};
f.exitDocument=function(){this.isVisible()&&this.setVisible(!1);ph(this.focusHandler_);p_.superClass_.exitDocument.call(this);RA(this.bgIframeEl_);RA(this.bgEl_);RA(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_&&OXc(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_);PXc(this,!0);this.focus();this.visible_=!0;if(this.popupShowTransition_&&this.bgShowTransition_)HA(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_)HA(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 OXc=function(a,b){a.modalAriaVisibilityHelper_||(a.modalAriaVisibilityHelper_=new NXc(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_||xnc(d,"hidden")||(AL(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}};
p_.prototype.updateModalAndBackground_=function(){this.resizeBackground_();this.reposition()};var PXc=function(a,b){a.bgIframeEl_&&kR(a.bgIframeEl_,b);a.bgEl_&&kR(a.bgEl_,b);kR(a.getElement(),b);kR(a.tabCatcherElement_,b)};f=p_.prototype;f.onShow=function(){this.dispatchEvent("show")};f.onHide=function(){PXc(this,!1);this.dispatchEvent("hide")};f.isVisible=function(){return this.visible_};f.focus=function(){this.focusElement_()};
f.resizeBackground_=function(){this.bgIframeEl_&&kR(this.bgIframeEl_,!1);this.bgEl_&&kR(this.bgEl_,!1);var a=this.getDomHelper().document_;var b=QXc(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_&&(kR(this.bgIframeEl_,!0),RBc(this.bgIframeEl_,c,a));this.bgEl_&&(kR(this.bgEl_,!0),RBc(this.bgEl_,c,a))};
f.reposition=function(){if("fixed"==up(this.getElement(),"position"))var a=0,b=0;else b=PA(this.getDomHelper().document_),a=b.x,b=b.y;var c=hq(this.getElement());var d=QXc(this);a=Math.max(a+d.width/2-c.width/2,0);b=Math.max(b+d.height/2-c.height/2,0);iq(this.getElement(),a,b);iq(this.tabCatcherElement_,a,b)};f.onFocus=function(a){this.backwardTabWrapInProgress_?this.resetBackwardTabWrap_():a.target==this.tabCatcherElement_&&Wn(this.focusElement_,0,this)};
f.focusElement_=function(){try{vs&&this.getDomHelper().document_.body.focus(),this.getElement().focus()}catch(a){}};var QXc=function(a){a=a.getDomHelper().document_;return OA(QA(a)||window)};p_.prototype.disposeInternal=function(){ph(this.popupShowTransition_);this.popupShowTransition_=null;ph(this.popupHideTransition_);this.popupHideTransition_=null;ph(this.bgShowTransition_);this.bgShowTransition_=null;ph(this.bgHideTransition_);this.bgHideTransition_=null;p_.superClass_.disposeInternal.call(this)};var s_=function(a,b,c){p_.call(this,b,c);this.class_=a||"modal-dialog";this.buttons_=q_(q_(new r_,RXc,!0),SXc,!1,!0)};ts(s_,p_);f=s_.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_&&r0b(this.titleTextEl_,a)};f.getTitle=function(){return this.title_};f.getContent=function(){return""};f.getContentElement=function(){this.getElement()||this.render();return this.contentEl_};var TXc=function(a){a.getElement()||a.render();return a.getElement()};s_.prototype.getBackgroundElement=function(){this.getElement()||this.render();return s_.superClass_.getBackgroundElement.call(this)};s_.prototype.handleDrag=function(){};
var UXc=function(a,b){var c=Vh(a.class_+"-title-draggable").split(" ");a.getElement()&&(b?GBc(a.titleEl_,c):IBc(a.titleEl_,c));b&&!a.dragger_?(b=new m_(a.getElement(),a.titleEl_),a.dragger_=b,GBc(a.titleEl_,c),zo(a.dragger_,"start",a.setDraggerLimits_,!1,a),zo(a.dragger_,"drag",a.handleDrag,!1,a)):!b&&a.dragger_&&(a.dragger_.dispose(),a.dragger_=null)};f=s_.prototype;
f.createDom=function(){s_.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"));o0b(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;ync(this.titleCloseEl_,"Close");zL(a,"dialog");AL(a,"labelledby",this.titleTextId_||"");kR(this.titleCloseEl_,this.hasTitleCloseButton_);this.buttons_&&(a=this.buttons_,a.element_=this.buttonEl_,a.render());kR(this.buttonEl_,!!this.buttons_);this.backgroundElementOpacity_=this.backgroundElementOpacity_;this.getElement()&&(a=this.getBackgroundElement())&&SBc(a,this.backgroundElementOpacity_)};
f.enterDocument=function(){s_.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_);UXc(this,!0);this.getHandler().listen(this.titleCloseEl_,"click",this.onTitleCloseClick_);var a=this.getElement();zL(a,"dialog");""!==this.titleTextEl_.id&&AL(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()&&OXc(this,!1)}};f.exitDocument=function(){this.isVisible()&&this.setVisible(!1);UXc(this,!1);s_.superClass_.exitDocument.call(this)};f.setVisible=function(a){a!=this.isVisible()&&(this.inDocument_||this.render(),s_.superClass_.setVisible.call(this,a))};f.onShow=function(){s_.superClass_.onShow.call(this);this.dispatchEvent("aftershow")};
f.onHide=function(){s_.superClass_.onHide.call(this);this.dispatchEvent("afterhide");this.disposeOnHide_&&this.dispose()};f.setDraggerLimits_=function(){var a=this.getDomHelper().document_,b=OA(QA(a)||window),c=Math.max(a.body.scrollWidth,b.width);a=Math.max(a.body.scrollHeight,b.height);var d=hq(this.getElement());"fixed"==up(this.getElement(),"position")?this.dragger_.limits=new gR(0,0,Math.max(0,b.width-d.width),Math.max(0,b.height-d.height)):this.dragger_.limits=new gR(0,0,c-d.width,a-d.height)};
f.onTitleCloseClick_=function(){VXc(this)};var VXc=function(a){if(a.hasTitleCloseButton_){var b=a.buttons_,c=b&&b.cancelButton_;c?(b=b.get(c),a.dispatchEvent(new WXc(c,b))&&a.setVisible(!1)):a.setVisible(!1)}},XXc=function(a){a.hasTitleCloseButton_=!1;a.titleCloseEl_&&kR(a.titleCloseEl_,a.hasTitleCloseButton_)};s_.prototype.setDisposeOnHide=function(a){this.disposeOnHide_=a};s_.prototype.disposeInternal=function(){this.buttonEl_=this.titleCloseEl_=null;s_.superClass_.disposeInternal.call(this)};
s_.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 WXc(a,b))&&this.setVisible(!1)}};
s_.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 WXc(g,b))):e||(b=!0)}else{if(9==a.keyCode&&a.shiftKey&&e==this.getElement()){this.backwardTabWrapInProgress_=!0;try{this.tabCatcherElement_.focus()}catch(A){}Wn(this.resetBackwardTabWrap_,0,this)}}else if(13==a.keyCode){if("BUTTON"==e.tagName&&!e.disabled)g=e.name;
else if(e==this.titleCloseEl_)VXc(this);else if(d){var h=d.getDefault(),l;if(l=h)a:{l=NA("BUTTON",d.element_);for(var q=0,x;x=l[q];q++)if(x.name==h||x.id==h){l=x;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 WXc(g,String(d.get(g)))))}else e!=this.titleCloseEl_||32!=a.keyCode&&" "!=a.key||VXc(this);if(b||c)a.stopPropagation(),a.preventDefault();b&&this.setVisible(!1)};
var WXc=function(a,b){this.type="dialogselect";this.key=a;this.caption=b};ts(WXc,DA);var r_=function(a){o_.call(this);this.dom_=a||Bo();this.class_="goog-buttonset";this.cancelButton_=this.element_=this.defaultButton_=null};ts(r_,o_);r_.prototype.clear=function(){o_.prototype.clear.call(this);this.defaultButton_=this.cancelButton_=null};r_.prototype.set=function(a,b,c,d){o_.prototype.set.call(this,a,b);c&&(this.defaultButton_=a);d&&(this.cancelButton_=a);return this};
var q_=function(a,b,c,d){return a.set(b.key,b.caption,c,d)};f=r_.prototype;f.render=function(){if(this.element_){uMa(this.element_,Yr);var a=Bo(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 RXc={key:"ok",caption:"OK"},SXc={key:"cancel",caption:"Cancel"},YXc={key:"yes",caption:"Yes"},ZXc={key:"no",caption:"No"},$Xc={key:"save",caption:"Save"},aYc={key:"continue",caption:"Continue"};"undefined"!=typeof document&&(q_(new r_,RXc,!0,!0),q_(q_(new r_,RXc,!0),SXc,!1,!0),q_(q_(new r_,YXc,!0),ZXc,!1,!0),q_(q_(q_(new r_,YXc),ZXc,!0),SXc,!1,!0),q_(q_(q_(new r_,aYc),$Xc),SXc,!0,!0));var bYc=function(a,b,c){s_.call(this,a,b,c)};ts(bYc,s_);var cYc=function(a,b){yo.call(this);this.element_=a;a=SA(this.element_)?this.element_:this.element_?this.element_.body:null;this.isRtl_=!!a&&lR(a);this.listenKey_=zo(this.element_,xs?"DOMMouseScroll":"mousewheel",this,b)};ts(cYc,yo);
cYc.prototype.handleEvent=function(a){var b=0,c=0,d=a.event_;"mousewheel"==d.type?(a=dYc(-d.wheelDelta),void 0!==d.wheelDeltaX?(b=dYc(-d.wheelDeltaX),c=dYc(-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 eYc(a,d,b,c);this.dispatchEvent(b)};
var dYc=function(a){return ys&&(Yp||RIb)&&0!=a%40?a:a/40};cYc.prototype.disposeInternal=function(){cYc.superClass_.disposeInternal.call(this);JA(this.listenKey_);this.listenKey_=null};var eYc=function(a,b,c,d){EA.call(this,b);this.type="mousewheel";this.detail=a;this.deltaX=c;this.deltaY=d};ts(eYc,EA);var fYc;var t_=function(a,b,c,d,e,g,h,l,q){l=void 0===l?!1:l;q=void 0===q?!1:q;s_.call(this,g?g+" picker modal-dialog":"picker modal-dialog",!0,c);q2b(a,"protocol");this.iframeManager_=new sXc;this.targetId_=rRb();this.rpcToken_=rRb();this.useGapi_=!q&&!0;a=wC(a);vC(a,"hostId");l||uC(a,"v2","true");this.setUrl(a.toString());this.preferredDialogWidth_=d;this.preferredDialogHeight_=e;void 0!==d||void 0!==e?d=!0:(d=vC(wC(a.toString()),"hostId"),fYc||(fYc=new Set("DocVerse fusiontables geo geowiki gm gmail-gadget gws hotpot jointly presentations pwa sites templates trix trix-copy-sheet webstore".split(" "))),
d=!fYc.has(d));this.autoSizeDialog_=d;this.gadgetsDomHelper_=h||this.getDomHelper();b&&(b="true"==vC(wC(this.url_),"grugl")?QWc:PWc,h=this.gadgetsDomHelper_,e6a(h)||(h=h||Bo(document),d=h.createElement("SCRIPT"),wh(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):us(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()):uMa(this.buttonEl_,Yr),kR(this.buttonEl_,!!this.buttons_))};ts(t_,bYc);f=t_.prototype;f.url_="";f.iframe_=null;f.iframeLoaded_=!1;f.loadedFired_=!1;f.callback_=function(){};f.enterDocument=function(){t_.superClass_.enterDocument.call(this);var a=this.getBackgroundElement(),b=this.getHandler(),c=new cYc(a);CA(b,c);b.listen(c,"mousewheel",rs(i6a,void 0,a)).listen(a,"scroll",rs(i6a,void 0,a))};
f.render=function(a){var b=this;t_.superClass_.render.call(this,a);this.useGapi_?tXc(this.iframeManager_,window).then(function(){return gYc(b)}).then(null,function(c){return void b.handleError_(c)}):hYc(this)};
var gYc=function(a){var b=a.getDomHelper().createDom("div",["picker-dialog-content","picker-frame"]);kR(b,!1);a.getContentElement().appendChild(b);return uXc(a.iframeManager_,b,function(c){var d=ZOb(c["iframe-command"]);switch(d.getCommand()){case 1:c=a.callback_;d=Z(d,ou,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}:cXc(g,e,d.getInternalOnlyV1ViewInfo());c.call(a,d);a.setVisible(!1);break;case 4:XXc(a),
a.callback_({action:"loaded"})}},a.url_,a.targetId_,a.rpcToken_).then(function(c){a.iframe_=c.getIframeEl();iYc(a);kR(a.iframe_.parentElement,!0);FBc(a.getElement(),"picker-dialog");jYc(a);return c})},hYc=function(a){a.iframe_=a.dom_.createDom("IFRAME",{id:a.targetId_,name:a.targetId_,"class":"picker-frame",frameBorder:"0",allow:"camera"});Spa(a.iframe_,kYc(a));FBc(a.getElement(),"picker-dialog");a.getContentElement().appendChild(a.iframe_);a.getHandler().listen(a.iframe_,"load",function(){return void iYc(a)});
a.iframe_.src=a.url_;jYc(a)},mYc=function(a){lYc(a,rs(function(b){b.setAuthToken(this.targetId_,this.rpcToken_)},a))},jYc=function(a){var b=vC(wC(a.url_),"title");b&&a.setTitle(b)},kYc=function(a){return 7<=naa("Internet Explorer")&&Th(a.url_,"https")?Fn(Gn("https://about:blank")):vs?Fn(Gn('javascript:""')):Fn(Gn("about:blank"))},iYc=function(a){mYc(a);a.iframeLoaded_=!0;a.iframe_.tabIndex=0;a.isVisible()&&a.focus()};
t_.prototype.handleKeydown_=function(a){27==a.keyCode&&(this.setVisible(!1),this.callback_({action:"cancel"}),a.stopPropagation(),a.preventDefault())};var lYc=function(a,b){var c=a.gadgetsDomHelper_;g6a(function(){b(c.getWindow().gadgets.rpc)},c)};t_.prototype.setUrl=function(a){a=uC(new Do(a),"rpcService",this.targetId_);uC(a,"rpctoken",this.rpcToken_);I7b(a,"rpctoken="+this.rpcToken_);rC(a,"https");this.url_=a.toString();this.iframe_&&(this.iframe_.src=this.url_)};
t_.prototype.setAppId=function(a){this.appId_=a;this.loadedFired_&&nYc(this)};t_.prototype.setCallback=function(a){this.callback_=a;lYc(this,rs(function(b){b.register(this.targetId_,rs(this.handlePickerAction_,this))},this))};
t_.prototype.handlePickerAction_=function(a){var b=a.action;"loaded"==b&&(this.loadedFired_=!0,this.sendCommand(new OWc(this.isVisible())),nYc(this),XXc(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 nYc=function(a){a.appId_&&a.sendCommand(new d6a(a.appId_,window.location.protocol+"//"+window.location.host))};f=t_.prototype;
f.setRelayUrl=function(a){lYc(this,rs(function(b){b.setRelayUrl(this.targetId_,a)},this))};f.sendCommand=function(a){var b=this;this.useGapi_&&zXc(a,this.iframeManager_).then(null,function(c){return void b.handleError_(c)});lYc(this,rs(function(c){c.call(this.targetId_,"picker",null,a)},this))};
f.resizePicker_=function(){var a=this.getDomHelper().document_;a=QA(a)||window;if("true"==vC(wC(this.url_),"ignoreLimits"))a=new KA(this.preferredDialogWidth_,this.preferredDialogHeight_);else if("true"==vC(wC(this.url_),"shadeDialog")){var b=XBc(TXc(this)),c=OA(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 KA(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=OA(a),c=.85*c.height);var d=Math.max(480,Math.min(650,c))}else c=OA(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=OA(a);b=Math.min(b,Math.max(c.width,320));d=Math.min(d,Math.max(c.height,480));a=new KA(b,d)}RBc(this.getContentElement(),a);this.reposition()};
f.reposition=function(){if("true"==vC(wC(this.url_),"shadeDialog")){var a=hq(this.getElement()),b=OA(this.getDomHelper().getWindow());a=Math.floor(b.width/2-a.width/2);if(b=XBc(TXc(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=PA(this.getDomHelper().document_).y;iq(this.getElement(),a,b)}else t_.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_))}t_.superClass_.setVisible.call(this,a);this.sendCommand(new OWc(a))};
f.focus=function(){t_.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 u_=function(a){KWc.call(this,a);this.urlParamMap_=new Map;this.setProtocol("gadgets");(a=window.location.origin)||(a=window.location.protocol+"//"+window.location.host);this.setOrigin(a);this.postProcessors_=[];this.gadgetsDomHelper_=void 0};ts(u_,LWc);u_.prototype.disposeOnHide_=!1;
u_.prototype.build=function(){this.urlParamMap_.get("parent")||this.setRelayUrl(I7b(H7b(wC(window.location.href)),"").setPath("/favicon.ico").toString());this.urlParamMap_.set("ifls",Date.now());if(this.urlParamMap_.get("minimal"))throw Error("me");var a=new t_(oYc(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 pYc=function(a,b){a.urlParamMap_.set(b,"true");return a};f=u_.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 qYc=function(a){a.urlParamMap_.set("hostId","buganizer-drive");return a};f=u_.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.setProtocol=function(a){this.urlParamMap_.set("protocol",a)};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 oYc=function(a){a.postProcessors_.length&&a.urlParamMap_.set("pp",JSON.stringify(a.postProcessors_));a.urlParamMap_.set("nav",IWc(a.nav_));var b=new Do(a.getBaseUrl());a.urlParamMap_.forEach(function(c,d){uC(b,d,c)});return b};var v_=function(a,b){this.activeSession=a;this.attachmentsApi=b;this.disabled=!1;this.onPickDoc=new Gv;this.onCloneBlob=new Gv;this.onePickUrl=a.getOnePickUrl();this.onePickSecretToken=a.getOnePickSecretToken()};
v_.prototype.showDialog=function(){var a=this;if(!this.drivePicker){var b=window.location.origin||window.location.protocol+"//"+window.location.host;this.drivePicker=qYc(pYc(pYc(pYc(pYc((new u_(this.onePickUrl)).addView(CWc().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 zWc(e.value),c.extraUserInputs.isAttachment?(e=new AWc(e),BWc(e,a.attachmentsApi),a.onCloneBlob.emit(e)):
a.onPickDoc.emit(e)}).setOrigin(b)).build()}this.drivePicker.setVisible(!0)};v_.\u0275fac=function(a){return new (a||v_)(C(gs),C(Dic))};
v_.\u0275cmp=Gc({type:v_,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&&(G(0,"div",0)(1,"button",1),M("click",function(){return b.showDialog()}),I(2,"mat-icon",2),H()());a&2&&(z(1),F("disabled",
b.disabled))},dependencies:[uA,Jz,LB],encapsulation:2});var w_=function(a,b,c){WD.call(this);this.issueDetailsBrain=a;this.userResources=b;this.analytics=c;this.isPlusOneText=!1;this.onSubmitComment=new Gv};U(w_,WD);w_.\u0275dir=WD.\u0275dir;w_.prototype.ngOnChanges=function(a){a.isPlusOneText&&this.isPlusOneText&&this.analytics.trackEvent(Jn.EDIT_ISSUE,"view","commentAndVoteBanner")};
w_.prototype.onClick=function(){var a=Vm(this.issueDetailsBrain.id$);this.onSubmitComment.emit();null!=a&&(lfc(this.userResources,a,{voted:!0,starred:null,notificationSubscription:null}).pipe(Te(this.destroyed$)).subscribe(),this.analytics.trackEvent(Jn.EDIT_ISSUE,"click","commentAndVote"))};w_.\u0275fac=function(a){return new (a||w_)(C(YI),C(PG),C(gH))};
w_.\u0275cmp=Gc({type:w_,selectors:[["b-plus-one-comment-callout"]],inputs:{isPlusOneText:"isPlusOneText"},outputs:{onSubmitComment:"onSubmitComment"},features:[bf,Zc],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&&Q(0,j6a,7,1,"div",0);a&2&&F("ngIf",b.isPlusOneText)},dependencies:[ew,uA,Jz,LB],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 rYc=["commentBoxContainer"],sYc=[[["","recaptchaContainer",""]],[["","additionalToolbarItems",""]]],tYc=function(a){return{focused:a}},x_=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 Gv;this.disabled=this.supportsPreview=!1;this.showToolbar=!0;this.attachmentsDisabled=!1;this.showRestrictionOptions=!0;this.isPlusOneCalloutEnabled=!1;this.onPlusOneTextEntered=new Gv;this.onChange=
new Gv;this.onFocusEvent=new Gv;this.onSubmit=new Gv;this.onRestrict=new Gv;this.focused=!1;this.commentRebound$=new E.ReplaySubject(1);this.destroyed$=new E.ReplaySubject(1);this.createRestrictedResourcesComponentWhitelist=this.activeSession.getCreateRestrictedSubresourcesComponentWhitelist()};f=x_.prototype;f.ngOnDestroy=function(){var a;null==(a=this.comment)||Nic(a);this.destroyed$.next()};
f.ngOnInit=function(){var a=this;this.appEvents.focusCommentBox.pipe(Te(this.destroyed$)).subscribe(function(b){SAb(a,b)});this.appEvents.scrollToCommentBox.pipe(Te(this.destroyed$)).subscribe(function(){a.scrollIntoView()})};f.ngOnChanges=function(a){a.comment&&this.commentRebound$.next()};f.getRestrictedLabel=function(){var a,b,c=null!=(b=null==(a=this.judgementForNewContent)?void 0:a.severity)?b:"NONE_DETECTED";return Xqa(c)};
f.isRestricted=function(){var a,b;return"NONE_DETECTED"!==(null!=(b=null==(a=this.judgementForNewContent)?void 0:a.severity)?b:"NONE_DETECTED")};var SAb=function(a,b){(b=void 0===b?"":b)&&a.analytics.trackEvent("commentBox","takeFocus",b);a.scrollIntoView();var c;null==(c=a.commentDraftComponent)||ECc(c)};f=x_.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&&ra(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))};x_.\u0275fac=function(a){return new (a||x_)(C(gH),C(CL),C(gs),C(KF),C(lK))};
x_.\u0275cmp=Gc({type:x_,selectors:[["b-comment-box"]],viewQuery:function(a,b){a&1&&(Uf(wR,5),Uf(rYc,5),Uf(d_,5));if(a&2){var c;Tf(c=Wf())&&(b.commentDraftComponent=c.first);Tf(c=Wf())&&(b.commentBoxContainer=c.first);Tf(c=Wf())&&(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:[Zc],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&&(xf(sYc),G(0,"div",0,1)(2,"div",2)(3,"b-comment-draft",3),M("contentChange",function(c){if(b.comment){var d=b.comment.value;b.comment.value=c;c!==d&&(b.onChange&&(b.commentChange.emit(b.comment),b.onChange.emit()),b.onPlusOneTextEntered&&b.onPlusOneTextEntered.emit("+1"===c.trim()))}})("focus",function(){return b.onFocus()})("blur",function(){return b.onBlur()})("keydown",function(c){return b.onKeydown(c)})("paste",function(c){if(c&&null!=c.clipboardData){var d=
c.clipboardData;for(var e=!1,g=!1,h=0,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))}}),H(),Q(4,k6a,2,1,"ng-container",4),H(),G(5,"b-attachment-uploader",5),M("onUploadCancel",
function(c){b.removeUpload(c);return b.onChange.emit()})("onUploadComplete",function(){return b.onChange.emit()}),H(),yf(6),Q(7,p6a,6,5,"div",6),H(),Q(8,q6a,2,4,"div",4));a&2&&(F("ngClass",Jf(11,tYc,b.focused)),z(3),F("content",b.comment.value)("placeholder",b.placeholder)("disabled",b.disabled)("textareaClass",b.disabled?"bv2-disabled":"")("audience",b.audience)("idForAriaLabel",b.idForAriaLabel),z(1),F("ngIf",b.isPlusOneCalloutEnabled),z(1),F("uploads",b.comment.uploads),z(2),F("ngIf",b.showToolbar),
z(1),F("ngIf",b.supportsPreview&&b.comment.formattingMode===b.MARKDOWN))},dependencies:[cw,ew,uA,wR,LB,QN,v_,a_,d_,Jz,w_,kw],encapsulation:2});var uYc=["dialog"],y_=function(a,b,c,d){WD.call(this);this.matDialog=a;this.activeSession=b;this.hotkeys=c;this.save=new Gv;this.close=new Gv;this.externalWarnings=[];this.issueEditBuilder=null;this.FocusableField=vYc;this.enableRecaptcha=UD(this.activeSession,"enableRecaptcha")&&UD(this.activeSession,"enableBulkEditCaptchaUi");this.comment=new PI;var e;this.comment.formattingMode=xk(null==(e=vI(d).textDisplayPreferences)?void 0:e.lastPublishMode);this.issueStates=Mbc};U(y_,WD);y_.\u0275dir=WD.\u0275dir;
y_.prototype.showDialog=function(a,b,c){var d=this;this.issueEditBuilder=new FVc(this.activeSession.getUserEmail(),a);this.issueEditBuilder.comment=this.comment;b&&r6a(this.issueEditBuilder,b);this.focus=c;this.hotkeys.pause();this.matDialogRef=this.matDialog.open(this.dialog,{minWidth:512,maxWidth:512});Rz(this.matDialogRef).pipe(Te(this.destroyed$)).subscribe(function(e){d.hotkeys.unpause();e&&d.save.emit();d.close.emit()})};y_.\u0275fac=function(a){return new (a||y_)(C(Wz),C(gs),C(CL),C(uI))};
y_.\u0275cmp=Gc({type:y_,selectors:[["b-state-modal"]],viewQuery:function(a,b){a&1&&Uf(uYc,5);if(a&2){var c;Tf(c=Wf())&&(b.dialog=c.first)}},inputs:{externalWarnings:"externalWarnings"},outputs:{save:"save",close:"close"},features:[bf],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&&Q(0,H6a,14,5,"ng-template",null,0,Zf)},dependencies:[dw,ew,fw,gw,hw,Xz,Yz,Zz,$z,hO,Mw,og,Fw,Gw,Ww,Lw,Jw,Jz,AM,DB,BB,CB,sR,x_,xR],encapsulation:2});var vYc={ASSIGNEE:0,VERIFIER:1,COMMENT:2,DUPE_ID:3,0:"ASSIGNEE",1:"VERIFIER",2:"COMMENT",3:"DUPE_ID"};var z_=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};z_.prototype.ngOnInit=function(){wYc(this,this.issuesToFlag)};
var wYc=function(a,b){0>=b.length?a.permissionsCheckComplete=!0:qF(a.userAccess,"admin","components/"+b[0].componentId).then(function(c){a.issuesChecked++;c||a.protectedIssues.push(b[0]);wYc(a,b.slice(1))},function(c){a.errorHandler.errorHandler(null,c)})};z_.\u0275fac=function(a){return new (a||z_)(C(nI),C(pF),C(GF),C(Vz))};
z_.\u0275cmp=Gc({type:z_,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&&(G(0,"h1",0),R(1,"Flag Issues as Spam"),H(),G(2,"div",1)(3,"div",2)(4,"p"),R(5),G(6,"a",3),R(7,"see here"),H(),R(8,". "),H(),G(9,"p"),R(10," This operation cannot be undone in bulk. "),H()(),G(11,"div",4),Q(12,L6a,3,2,"div",5),Q(13,N6a,5,2,"div",5),H()(),G(14,"div",6)(15,"button",7),R(16," Close "),H(),G(17,"button",8),R(18," Flag as Spam "),H()());a&2&&(z(5),Df(" Flagging these ",b.issuesToFlag.length," issues as spam will cause them to drop out of regular search results, and they will be deleted after 30 days. For more information on remediating spam at scale, "),
z(1),F("href",Thc(b.documentationLinks),Md),z(6),F("ngIf",!b.permissionsCheckComplete),z(1),F("ngIf",b.permissionsCheckComplete&&0<b.protectedIssues.length),z(4),F("disabled",!b.permissionsCheckComplete)("mat-dialog-close",!0))},dependencies:[dw,ew,Jz,Xz,Yz,Zz,$z],encapsulation:2});var A_=function(a,b){this.cdr=a;this.dialogRef=b;this.component=null};A_.prototype.updateComponent=function(a){this.component=a;this.cdr.detectChanges()};A_.prototype.save=function(){this.dialogRef.close(this.component)};A_.prototype.cancel=function(){this.dialogRef.close()};A_.\u0275fac=function(a){return new (a||A_)(C(cH,2),C(Tz))};
A_.\u0275cmp=Gc({type:A_,selectors:[["b-bulk-move-dialog"]],features:[Gf([cH])],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&&(G(0,"h1",0),R(1,"Change Component"),H(),G(2,"mat-dialog-content")(3,"p"),R(4,"Choose new component for these issues."),H(),G(5,"p",1),
R(6," Warning: If these issues have custom fields, their values will be lost if you move the issues outside the component subtree that defines those custom fields. "),H(),G(7,"b-team-component-picker",2),M("selectedComponentChange",function(c){return b.updateComponent(null!==c&&void 0!==c?c:null)}),H()(),G(8,"mat-dialog-actions")(9,"button",3),M("click",function(){return b.cancel()}),R(10," Cancel "),H(),G(11,"button",4),M("click",function(){return b.save()}),R(12," Save "),H()());a&2&&(z(7),F("selectedComponent",
b.component)("placeholder","Choose Component")("isRequired",!0),z(4),F("disabled",null==b.component))},dependencies:[Jz,Yz,Zz,$z,LT],styles:[".bv2-bulk-move-warning[_ngcontent-%COMP%]{font-weight:bold}"]});var B_=function(){this.renderPanel=!0;this.sloEditCommit=new Gv;this.closePicker=new Gv};B_.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 $m;c.setTime(1E3*a);a=c}else a=null;this.currentPickerDate=null!=(b=a)?b:void 0}};B_.prototype.setDate=function(a){this.currentPickerDate=a};B_.\u0275fac=function(a){return new (a||B_)};
B_.\u0275cmp=Gc({type:B_,selectors:[["slo-edit-date-time-picker"]],inputs:{sloEditTime:"sloEditTime",sloStatus:"sloStatus",renderPanel:"renderPanel"},outputs:{sloEditCommit:"sloEditCommit",closePicker:"closePicker"},features:[Gf([cH]),Zc],decls:2,vars:2,consts:[[3,"clickOutside"],[3,"renderPanel","date","dateSelectionChange","saveClicked","cancelClicked"]],template:function(a,b){a&1&&(G(0,"div",0),M("clickOutside",function(){b.closePicker.emit()}),G(1,"b-date-time-picker-content",1),M("dateSelectionChange",
function(c){return b.setDate(c)})("saveClicked",function(){var c=b.sloEditCommit,d=c.emit;var e=(e=b.currentPickerDate)?{seconds:e.getTime()/1E3,nanos:0}:null;d.call(c,{date:null!=e?e:null});b.closePicker.emit()})("cancelClicked",function(){b.closePicker.emit()}),H()());a&2&&(z(1),F("renderPanel",b.renderPanel)("date",b.currentPickerDate))},dependencies:[oN,EY],styles:["b-date-time-picker-content[_ngcontent-%COMP%]{right:10px;z-index:100}[_nghost-%COMP%]     .mat-form-field{width:9rem;margin-left:1rem}[_nghost-%COMP%]     .mat-form-field .mat-form-field-underline{bottom:0}/*# sourceMappingURL=slo_edit_date_time_picker.css.map */"],
changeDetection:0});var C_=function(a,b){this.data=a;this.dialogRef=b;this.commitEvent=void 0;this.fieldDisplayName=a.fieldDisplayName};C_.prototype.close=function(){this.dialogRef.close(this.commitEvent)};C_.\u0275fac=function(a){return new (a||C_)(C(Vz),C(Tz))};
C_.\u0275cmp=Gc({type:C_,selectors:[["b-edit-calendar-modal"]],decls:3,vars:2,consts:[["mat-dialog-title",""],[3,"renderPanel","sloEditCommit","closePicker"]],template:function(a,b){a&1&&(G(0,"h1",0),R(1),H(),G(2,"slo-edit-date-time-picker",1),M("sloEditCommit",function(c){b.commitEvent=c})("closePicker",function(){return b.close()}),H());a&2&&(z(1),Df("Edit ",b.fieldDisplayName,""),z(1),F("renderPanel",!1))},dependencies:[B_],encapsulation:2});var D_=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})};
D_.prototype.enableSubmit=function(){return this.isEnumSpec&&""!==this.currentEnumLabel||!this.isEnumSpec};D_.prototype.cancel=function(){this.dialogRef.close(void 0)};D_.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)};D_.\u0275fac=function(a){return new (a||D_)(C(Vz),C(Tz))};
D_.\u0275cmp=Gc({type:D_,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&&(G(0,"h1",0),R(1),H(),Q(2,O6a,5,2,"mat-dialog-content",1),Q(3,
P6a,4,4,"div",2),G(4,"mat-dialog-actions")(5,"button",3),M("click",function(){return b.cancel()}),R(6," Cancel "),H(),G(7,"button",4),M("click",function(){return b.save()}),R(8," Save "),H()());a&2&&(z(1),Df("Edit ",b.fieldDisplayName,""),z(1),F("ngIf",!b.isEnumSpec),z(1),F("ngIf",b.isEnumSpec),z(4),F("disabled",!b.enableSubmit()))},dependencies:[ew,og,Fw,Lw,Jz,Yz,Zz,$z,iA,hA,lA,NY],encapsulation:2});var E_=function(a,b){this.data=a;this.dialogRef=b;this.fieldDisplayName=this.removeItems=this.addItems="";this.fieldDisplayName=a.fieldDisplayName};E_.prototype.save=function(){this.dialogRef.close({addItems:this.addItems,removeItems:this.removeItems})};E_.prototype.close=function(){this.dialogRef.close()};E_.\u0275fac=function(a){return new (a||E_)(C(Vz),C(Tz))};
E_.\u0275cmp=Gc({type:E_,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&&(G(0,"h1",0),R(1),H(),G(2,"mat-dialog-content")(3,"p"),R(4),H(),G(5,"div",1)(6,"mat-form-field")(7,"mat-label"),R(8),H(),G(9,"input",2),M("ngModelChange",function(c){return b.addItems=c}),H()(),
I(10,"br"),G(11,"mat-form-field")(12,"mat-label"),R(13),H(),G(14,"input",2),M("ngModelChange",function(c){return b.removeItems=c}),H()()()(),G(15,"mat-dialog-actions")(16,"button",3),M("click",function(){return b.close()}),R(17," Cancel "),H(),G(18,"button",4),M("click",function(){return b.save()}),R(19," Save "),H()());a&2&&(z(1),Df("Edit ",b.fieldDisplayName,""),z(3),Df("Enter ",b.fieldDisplayName," to add or remove"),z(4),Df(" ",b.fieldDisplayName," to Add "),z(1),F("ngModel",b.addItems),z(4),
Df(" ",b.fieldDisplayName," to Remove "),z(1),F("ngModel",b.removeItems))},dependencies:[og,Fw,Lw,Jz,iA,hA,lA,Yz,Zz,$z],encapsulation:2});var xYc=["hotlistFilterInput"],yYc=["hotlistCreate"],zYc=["hotlistApply"],AYc=["hotlistLoad"],BYc=["menuitem"],F_=function(a,b,c,d,e,g){WD.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 Gv;this.onApply=new Gv;this.onLoad=new Gv;this.hotlistEditAcls={};this.validHotlistIds=new Set;this.pendingChanges=this.canLoad=this.canCreate=!1;this.oldSelectedHotlistMap=
{};this.selectedHotlistMap={};this.shouldShowHotlist={};this.filterText="";this.focusedRowIndex=-1;this.isAnonymous=this.activeSession.isAnonymous()};U(F_,WD);F_.\u0275dir=WD.\u0275dir;F_.prototype.ngAfterViewInit=function(){var a=this,b;null==(b=this.trigger)||b.menuOpened.pipe(Te(this.destroyed$)).subscribe(function(){(0,E.timer)(0).pipe(Te(a.destroyed$)).subscribe(function(){a.focusFilterBox()})});var c;null==(c=this.trigger)||c.menuClosed.pipe(Te(this.destroyed$)).subscribe(function(){CYc(a)})};
F_.prototype.focusFilterBox=function(){this.filterElement.nativeElement.focus()};F_.prototype.ngOnChanges=function(){DYc(this);this.oldSelectedHotlistMap=Object.assign({},this.selectedHotlistMap);this.pendingChanges=this.canCreate=!1;EYc(this)};
var DYc=function(a){var b={};Uca(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;Faa(a.choices,function(h,l){var q=b[h.hotlistId],x=b[l.hotlistId];return q>x?-1:q<x?1:Lp(h.name,l.name)})}}};F_.prototype.open=function(){this.trigger.openMenu();this.cdr.detectChanges()};F_.prototype.close=function(){this.trigger.closeMenu()};
F_.prototype.hasAclToEdit=function(a){var b=this;if(Rca(this.hotlistEditAcls,a.hotlistId))return this.hotlistEditAcls[a.hotlistId];qF(this.userAccess,"appender","hotlists/"+a.hotlistId).then(function(c){b.hotlistEditAcls[a.hotlistId]=c})};
var Q6a=function(a,b){if(!a.checkEditAcl)return!1;a=a.hasAclToEdit(b);return void 0===a?!0:!a},yp=function(a,b){var c=a.selectedHotlistMap[b.hotlistId];a.selectedHotlistMap[b.hotlistId]=null===c?!0:!c;X6a(a);a.close()},X6a=function(a){a.onApply.emit({oldSelectionMap:a.oldSelectedHotlistMap,newSelectionMap:a.selectedHotlistMap})},EYc=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]=na(e.name,b),e.name===b&&(c=!0);a.canCreate=
!(!b||c);a.canLoad=!/[^0-9]/.test(Vh(b))&&!!b&&!!a.onLoad},CYc=function(a){a.trigger.menuOpen||(DYc(a),a.filterText="",EYc(a),a.pendingChanges=!1,a.focusedRowIndex=-1)},FYc=function(a){var b=a.selectedHotlistIds;return b&&1===b.length?"Hotlists ("+vaa(b[0],function(c){return a.validHotlistIds.has(c)})+")":"Hotlists"};
F_.prototype.createHotlist=function(){var a=this,b=this.filterText;this.canCreate&&(this.filterText="",EYc(this),this.onCreate.emit({name:b,successCallback:function(c){yp(a,c)},errorCallback:function(){EF(a.butterBar,"Failed to create hotlist "+b)}}))};
F_.prototype.loadHotlist=function(){var a=this,b=this.filterText;if(this.canLoad){this.analytics.trackEvent("hotlistPicker","loadHotlist");DF(this.butterBar,"Loading hotlist "+b.toString());this.filterText="";EYc(this);for(var c=Rh(b),d=k(this.choices),e=d.next();!e.done;e=d.next())if(e=e.value,c===e.hotlistId){yp(this,e);return}this.onLoad.emit({hotlistId:c,successCallback:function(g){yp(a,g)},errorCallback:function(){EF(a.butterBar,"Failed to load hotlist "+b)}})}};
var R6a=function(a,b){Q6a(a,b)||(a.selectedHotlistMap[b.hotlistId]=!a.selectedHotlistMap[b.hotlistId],a.focusFilterBox(),a.pendingChanges=!Mh(a.oldSelectedHotlistMap,a.selectedHotlistMap))},MYc=function(a,b){b=void 0===b?0:b;var c=GYc(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=xaa(GYc(a),b),HYc(a),IYc(a,b)):a.focusedRowIndex<d&&a.canCreate?JYc(a,d):a.focusedRowIndex<
d+1&&a.canLoad?KYc(a,d):a.focusedRowIndex<d+2&&a.pendingChanges&&LYc(a,d)},GYc=function(a){return a.menuItems.map(function(b){return b.nativeElement})},NYc=function(a,b){b=void 0===b?0:b;if(a.focusedRowIndex===a.choices.length+1&&a.canCreate)JYc(a,a.choices.length);else if(a.focusedRowIndex===a.choices.length+2&&a.canLoad)KYc(a,a.choices.length);else if(a.focusedRowIndex===a.choices.length+2&&a.canCreate)JYc(a,a.choices.length);else{var c=GYc(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=xaa(GYc(a),b),HYc(a),IYc(a,b)):(a.focusedRowIndex=-1,IYc(a,null))}},IYc=function(a,b){a.filterElement&&BL(a.filterElement.nativeElement,b);a.focusFilterBox()},JYc=function(a,b){a.focusedRowIndex=b;BL(a.filterElement.nativeElement,null);var c;null==(c=a.createElement)||c.focus();a.liveAnnouncer.announce("Create new hotlist "+a.filterText);a.focusFilterBox()},KYc=function(a,b){a.focusedRowIndex=b+1;BL(a.filterElement.nativeElement,null);
var c;null==(c=a.loadElement)||c.focus();a.liveAnnouncer.announce("Load hotlist "+a.filterText);a.focusFilterBox()},LYc=function(a,b){a.focusedRowIndex=b+2;BL(a.filterElement.nativeElement,null);var c;null==(c=a.applyElement)||c.focus();a.liveAnnouncer.announce("Apply");a.focusFilterBox()},HYc=function(a){-1===a.focusedRowIndex||a.focusedRowIndex>=a.choices.length||(a=GYc(a)[a.focusedRowIndex],a.scrollIntoViewIfNeeded?a.scrollIntoViewIfNeeded():a.scrollIntoView({block:"end"}))},S6a=function(a){return null==
a?"mixed":a.toString()},T6a=function(a){return null==a?"indeterminate":a?"checked":"unchecked"};F_.\u0275fac=function(a){return new (a||F_)(C(oy),C(CF),C(pF),C(gH),C(gs),C(cH,2))};
F_.\u0275cmp=Gc({type:F_,selectors:[["b-hotlist-picker"]],viewQuery:function(a,b){a&1&&(Uf(CB,5),Uf(xYc,5),Uf(yYc,5),Uf(zYc,5),Uf(AYc,5),Uf(BYc,5));if(a&2){var c;Tf(c=Wf())&&(b.trigger=c.first);Tf(c=Wf())&&(b.filterElement=c.first);Tf(c=Wf())&&(b.createElement=c.first);Tf(c=Wf())&&(b.applyElement=c.first);Tf(c=Wf())&&(b.loadElement=c.first);Tf(c=Wf())&&(b.menuItems=c)}},inputs:{selectedHotlistIds:"selectedHotlistIds",choices:"choices",checkEditAcl:"checkEditAcl"},outputs:{onCreate:"onCreate",onApply:"onApply",
onLoad:"onLoad"},features:[Gf([cH]),bf,Zc],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&&(G(0,"button",0)(1,"span",1),R(2),H(),I(3,"b-icon",2),H(),G(4,"mat-menu",null,3)(6,"div",4)(7,"div",5)(8,"div",6)(9,"input",7,8),M("ngModelChange",function(d){return b.filterText=d})("ngModelChange",
function(){return EYc(b)})("mousedown",function(d){return d.stopPropagation()})("blur",function(){return CYc(b)})("click",function(d){return d.stopPropagation()})("keydown",function(d){d.stopImmediatePropagation();"Escape"===d.key?b.close():"ArrowDown"===d.key?(MYc(b),d.preventDefault()):"ArrowUp"===d.key?(NYc(b),d.preventDefault()):"PageUp"===d.key?NYc(b,11):"PageDown"===d.key?MYc(b,11):" "===d.key?-1===b.focusedRowIndex||b.focusedRowIndex>=b.choices.length||(R6a(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(),X6a(b)):0<=b.focusedRowIndex&&b.focusedRowIndex<b.choices.length&&b.hasAclToEdit(b.choices[b.focusedRowIndex])&&yp(b,b.choices[b.focusedRowIndex]))}),H()()(),I(11,"mat-divider"),Q(12,Z6a,11,8,"ng-template",9),H()());if(a&2){var c=Cf(5);F("matMenuTriggerFor",c)("disabled",b.isAnonymous);z(2);Ef(FYc(b));z(7);F("ngModel",b.filterText)}},
dependencies:[dw,ew,DB,BB,CB,AB,Jz,og,Fw,Xw,Lw,lz,LB,tL,AM],styles:[".menu[_ngcontent-%COMP%]{max-height:400px;width:280px;overflow-x:hidden;overflow-y:hidden}.menu-control[_ngcontent-%COMP%]{line-height:19px;padding:0 6px}.menu-control[_ngcontent-%COMP%]   .hotlist-filter[_ngcontent-%COMP%]{padding:8px 0}.menu-control[_ngcontent-%COMP%]   .hotlist-filter[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{height:29px;line-height:16px;padding-left:9px;vertical-align:top;width:100%;box-sizing:border-box;border-radius:4px;border:1px solid #dadce0}.multi-edit-scrollarea[_ngcontent-%COMP%]{display:flex;flex-direction:column;max-height:246px;overflow-y:scroll;overflow-x:hidden}.multi-edit-scrollarea[_ngcontent-%COMP%]::-webkit-scrollbar-track{border:0}.multi-edit-scrollarea[_ngcontent-%COMP%]   .multi-edit-menuitem[_ngcontent-%COMP%]{border-width:0;line-height:19px;margin:0 6px;padding:0}.multi-edit-scrollarea[_ngcontent-%COMP%]   .multi-edit-menuitem.focused[_ngcontent-%COMP%]{background-color:#f8f9fa;background-color:var(--surface-secondary);border:0}.multi-edit-scrollarea[_ngcontent-%COMP%]   .multi-edit-menuitem[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg);cursor:pointer}.mat-menu-item.focused[_ngcontent-%COMP%]{background-color:rgba(0,0,0,.12);background-color:var(--focus-bg);border:0}/*# sourceMappingURL=hotlist_picker.css.map */"]});var G_=function(a){this.dialogRef=a;this.reporter="";this.autocompleteActive=!1};G_.prototype.enableSubmit=function(){return""!==this.reporter};G_.prototype.cancel=function(){this.dialogRef.close()};G_.prototype.save=function(){this.dialogRef.close(this.reporter)};G_.\u0275fac=function(a){return new (a||G_)(C(Tz))};
G_.\u0275cmp=Gc({type:G_,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&&(G(0,"h1",0),R(1,"Change Reporter"),H(),G(2,"mat-dialog-content")(3,"mat-form-field")(4,"mat-label"),R(5," Reporter "),H(),G(6,"input",1),M("ngModelChange",
function(c){return b.reporter=c})("autocompleteActive",function(c){return b.autocompleteActive=c})("keydown",function(c){"Enter"===c.key&&!b.autocompleteActive&&b.enableSubmit()&&b.save()}),H()()(),G(7,"mat-dialog-actions")(8,"button",2),M("click",function(){return b.cancel()}),R(9," Cancel "),H(),G(10,"button",3),M("click",function(){return b.save()}),R(11," Save "),H()());a&2&&(z(6),F("bContactAutocomplete","SINGLE")("ngModel",b.reporter),z(4),F("disabled",!b.enableSubmit()))},dependencies:[og,
Fw,Lw,Jz,Yz,Zz,$z,iA,hA,lA,sR],encapsulation:2});var OYc=["addCommentDialog"],H_=function(a,b,c,d,e,g,h,l,q,x,A,B,K){WD.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=x;this.$log=A;this.issuePicker=B;this.userPreferencesManager=K;this.currentUserEmail=this.activeSession.getUserEmail();this.uniqueComponentIds$=new E.Subject;this.effortSpec$=this.uniqueComponentIds$.pipe(Se(function(P){return N.componentFridge.watchSet(P)}),
D(function(P){return N.getCommonEffortSpec(P)}),Pe({bufferSize:1,refCount:!0}));this.enableBulkEstimatedEffortOption$=this.effortSpec$.pipe(D(function(P){return void 0!==P}));this.hotlistIdMatrix=[];this.hotlistChoices=[];this.onSave=new Gv;this.onCreateHotlist=new Gv;this.onLoadHotlist=new Gv;this.externalWarnings=[];this.enableRecaptcha=UD(this.activeSession,"enableRecaptcha")&&UD(this.activeSession,"enableBulkEditCaptchaUi");this.recaptchaResponse="";this.controllerName="baseControls"};U(H_,WD);
var PYc=function(a){var b=new PI,c;b.formattingMode=xk(null==(c=vI(a.userPreferencesManager).textDisplayPreferences)?void 0:c.lastPublishMode);return b};H_.prototype.hasSelectedIssues=function(){return 0<this.getSelectedIssues().length};var QYc=function(a){return a.getSelectedIssues().some(function(b){return!b.isRead})},$6a=function(a){return QYc(a)?"Mark as read":"Mark as unread"},zp=function(a){return a.getSelectedIssues().map(function(b){return b.issueId})};
H_.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=RYc(a);this.uniqueComponentIds$.next(a)};
var RYc=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},SYc=function(a){if(!Jac(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$2352:c.$jscomp$loop$prop$id$2352},d=b.next())c.$jscomp$loop$prop$id$2352=d.value,a.componentActions.get(c.$jscomp$loop$prop$id$2352).then(function(e){if(a.activeSession.isInternalSession()&&
wp(e)||Iac(a.activeSession)&&xp(e)){var g,h=J6a(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$2352+".")}}(c))}};f=H_.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":I_(this,null,0);break;case "COMPONENT":TYc(this);break;case "VERIFIER":I_(this,null,1);break;case "REPORTER":UYc(this);break;case "CHANGELIST":VYc(this,"changelists","Changelists",!0);break;case "CUSTOM_FIELDS":WYc(this);break;case "FOUND_IN":VYc(this,"foundInVersion","Found In");break;case "VERIFIED_IN":VYc(this,"verifiedInVersion","Verified In");break;case "TARGETED_TO":VYc(this,"targetedToVersion","Targeted To");break;case "COMMENT":XYc(this);break;
case "SLO_START_TIME":YYc(this);break;case "ESTIMATED_EFFORT":ZYc(this);break;case "CC":VYc(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)&&J_(this,"priority",a);break;case "SEVERITY":(a=a.newValue)&&J_(this,"severity",a);break;case "STATUS":(a=Bua(this.constants.protoIssueStatusesEnumStrings.get(a.newValue)))&&I_(this,xl[a],"DUPLICATE"===a?3:void 0);break;case "TYPE":(a=this.constants.protoIssueTypesEnumStrings.get(a.newValue))&&J_(this,"type",a);break;case "IS_ARCHIVED":J_(this,"isArchived",""+a.newValue);break;case "IN_PROD":J_(this,"inProd",""+a.newValue);
break;case "CC":J_(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?K_(this,{actionType:"ADD",fieldName:"blockedByIssueId",title:"Mark all selected issues as blocked by:",edgeType:"blocker"}):K_(this,{actionType:"REMOVE",fieldName:"blockedByIssueId",title:"Unmark all selected issues as blocked by:",edgeType:"un-blocker"});break;case "BLOCKING":a.isMarking?K_(this,{actionType:"ADD",fieldName:"blockingIssueId",title:"Mark all selected issues as blocking:",edgeType:"blocking"}):
K_(this,{actionType:"REMOVE",fieldName:"blockingIssueId",title:"Unmark all selected issues as blocking:",edgeType:"un-blocking"});break;case "PARENT":a.isMarking?K_(this,{actionType:"ADD",fieldName:"parentId",title:"Mark all selected issues as children of:",edgeType:"child"}):K_(this,{actionType:"REMOVE",fieldName:"parentId",title:"Unlink all selected issues from this parent:",edgeType:"un-parent"});break;case "DUPLICATE":I_(this,xl.DUPLICATE,3);break;default:this.$log.error("unsupported issue relation: "+
a.issueRelation)}};f.bulkMarkIssueRead=function(){var a=QYc(this);J_(this,"readState",a?"true":"")};
var J_=function(a,b,c,d){var e={fieldName:b,value:c};void 0!==d&&(e.actionType=d);var g=zp(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&&Xhc(a.issueTypeDialog,"VULNERABILITY",d,function(){}),"PRIVACY_ISSUE"===c&&Xhc(a.issueTypeDialog,
"PRIVACY_ISSUE",d,function(){}))},I_=function(a,b,c){a.hasSelectedIssues()&&(SYc(a),a.stateModal.showDialog(a.getSelectedIssues(),b,c))},$Yc=function(a){var b=a.onSave,c=b.emit,d=zp(a),e=a.stateModal.issueEditBuilder,g=[];e.issueState||r6a(e);e=k(G6a(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})},UYc=
function(a){a.hasSelectedIssues()&&(SYc(a),Rz(a.matDialog.open(G_,{width:"400px"})).pipe(Te(a.destroyed$)).subscribe(function(b){a.hotkeys.unpause();b&&J_(a,"reporter",b)}),a.hotkeys.pause())},VYc=function(a,b,c,d){d=void 0===d?!1:d;a.hasSelectedIssues()&&(Rz(a.matDialog.open(E_,{width:"400px",data:{fieldDisplayName:c}})).pipe(Te(a.destroyed$)).subscribe(function(e){a.hotkeys.unpause();e&&aZc(a,b,e.addItems,e.removeItems,d)}),a.hotkeys.pause())},YYc=function(a){a.hasSelectedIssues()&&(Rz(a.matDialog.open(C_,
{width:"330px",data:{fieldDisplayName:"SLO Start Time"}})).pipe(Te(a.destroyed$)).subscribe(function(b){a.hotkeys.unpause();if(b&&(b=b.date)){var c=[];c.push({fieldName:"sloStartTime",value:String(b.seconds)});c.length&&a.onSave.emit({bulkEditOps:[{issueIds:zp(a),actions:c}]})}}),a.hotkeys.pause())},ZYc=function(a){var b=Vm(a.effortSpec$);a.hasSelectedIssues()&&void 0!==b&&(Rz(a.matDialog.open(D_,{width:"400px",data:{fieldDisplayName:"Estimated Effort",effortSpec:b}})).pipe(Te(a.destroyed$)).subscribe(function(c){a.hotkeys.unpause();
if(c){var d=[];d.push({fieldName:"effortEstimate",value:c.estimate});a.onSave.emit({bulkEditOps:[{issueIds:zp(a),actions:d}]})}}),a.hotkeys.pause())},aZc=function(a,b,c,d,e){e=void 0===e?!1:e;c=Ak(c);d=Ak(d);var g=[],h=!["foundInVersion","targetedToVersion","verifiedInVersion"].includes(b),l=function(q){return yqa(q,h).map(function(x){return x.trim()})};Bk(c)||(c=l(c),e&&(c=c.filter(function(q){return!isNaN(q)})),g.push.apply(g,Vc(c.map(function(q){return{fieldName:b,value:q,actionType:"ADD"}}))));
Bk(d)||(d=l(d),g.push.apply(g,Vc(d.map(function(q){return{fieldName:b,value:q,actionType:"REMOVE"}}))));g.length&&a.onSave.emit({bulkEditOps:[{issueIds:zp(a),actions:g}]})},TYc=function(a){a.hasSelectedIssues()&&(Rz(a.matDialog.open(A_,{width:"600px",position:{top:"100px"},panelClass:"overflow-visible-dialog-panel"})).pipe(Te(a.destroyed$)).subscribe(function(b){a.hotkeys.unpause();b&&(a.onSave.emit({bulkEditOps:[{issueIds:zp(a),actions:[{fieldName:"componentId",value:String(b.componentId)}]}]}),
a.analytics.trackEvent(a.controllerName,"bulkMove"))}),a.hotkeys.pause())},bZc=function(a){a.hasSelectedIssues()&&(Rz(a.matDialog.open(z_,{width:"600px",data:{issuesToFlag:a.getSelectedIssues()}})).pipe(Te(a.destroyed$)).subscribe(function(b){a.hotkeys.unpause();b&&(a.analytics.trackEvent(a.controllerName,"bulkFlagAsSpam"),J_(a,"deletionReason","ABUSE"))}),a.hotkeys.pause())},XYc=function(a){a.hasSelectedIssues()&&a.addCommentDialog&&(a.comment||(a.comment=PYc(a)),a.addCommentDialogRef=a.matDialog.open(a.addCommentDialog,
{panelClass:"no-jitter",minWidth:512,maxWidth:512}),Rz(a.addCommentDialogRef).pipe(Te(a.destroyed$)).subscribe(function(b){a.hotkeys.unpause();a.comment&&(b&&Pic(a.comment)&&J_(a,"comment",a.comment.value),a.comment.reset())}),a.hotkeys.pause(),SYc(a))},g7a=function(a){var b;null==(b=a.addCommentDialogRef)||b.close(!0)},WYc=function(a){a.hasSelectedIssues()&&Rz(a.matDialog.open(OY,{data:a.getSelectedIssues(),width:"500px"})).pipe(Te(a.destroyed$)).subscribe(function(b){b&&(a.onSave.emit({bulkEditOps:b}),
a.analytics.trackEvent(a.controllerName,"bulkCustomField"))})};
H_.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:zp(this),actions:a}]}),this.analytics.trackEvent(this.controllerName,
"applyHotlists","numHotlists",e))};var K_=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:zp(a),actions:[{fieldName:d,value:e,actionType:c}]}]}))});a.hotkeys.pause()};H_.\u0275fac=function(a){return new (a||H_)(C(eF),C(cH),C(gs),C(gH),C(CL),C(BI),C(FT),C(qI),C(nZ),C(Wz),C(FF),C(GO),C(uI))};
H_.\u0275dir=Kc({type:H_,viewQuery:function(a,b){a&1&&(Uf(OYc,5),Uf(F_,5),Uf(y_,5));if(a&2){var c;Tf(c=Wf())&&(b.addCommentDialog=c.first);Tf(c=Wf())&&(b.hotlistPicker=c.first);Tf(c=Wf())&&(b.stateModal=c.first)}},inputs:{hotlistChoices:"hotlistChoices"},outputs:{onSave:"onSave",onCreateHotlist:"onCreateHotlist",onLoadHotlist:"onLoadHotlist"},features:[bf]});var L_=function(){};L_.\u0275fac=function(a){return new (a||L_)};L_.\u0275mod=Ic({type:L_});L_.\u0275inj=rc({providers:[{provide:rWc,useFactory:function(){return new oWc}}]});var M_=function(){};M_.\u0275fac=function(a){return new (a||M_)};M_.\u0275mod=Ic({type:M_});M_.\u0275inj=rc({imports:[sw,L_]});var N_=function(){};N_.\u0275fac=function(a){return new (a||N_)};N_.\u0275mod=Ic({type:N_});N_.\u0275inj=rc({providers:[{provide:qWc,useFactory:b_}],imports:[tF,iC,JC,M_,hJ]});var O_=function(){};O_.\u0275fac=function(a){return new (a||O_)};O_.\u0275mod=Ic({type:O_});O_.\u0275inj=rc({imports:[tF,iC,JC]});var P_=function(){};P_.\u0275fac=function(a){return new (a||P_)};P_.\u0275mod=Ic({type:P_});P_.\u0275inj=rc({imports:[tF,oT,WM,JC,aS,eO,N_,iC,O_]});var Q_=function(){};Q_.\u0275fac=function(a){return new (a||Q_)};Q_.\u0275mod=Ic({type:Q_});Q_.\u0275inj=rc({});var R_=function(){};R_.\u0275fac=function(a){return new (a||R_)};R_.\u0275mod=Ic({type:R_});R_.\u0275inj=rc({imports:[tF,aA,mO,$w,iC,WM,EB,tR,P_,Q_]});var S_=function(){};S_.\u0275fac=function(a){return new (a||S_)};S_.\u0275mod=Ic({type:S_});S_.\u0275inj=rc({imports:[tF,EB,iC,mA,$w,oz,JC,FS,IS,WM]});var T_=function(a,b,c,d,e,g,h,l,q,x,A,B,K){H_.call(this,a,b,c,d,e,g,h,l,q,x,A,B,K);this.panels=[];this.isNonPublicSession=this.activeSession.isNonPublicSession();this.enableBulkEditUi=UD(this.activeSession,"enableBulkEditUi");this.controllerName="dashboardControls";this.onSelectionChange.bind(this);this.getCommonEffortSpec.bind(this)};U(T_,H_);T_.\u0275dir=H_.\u0275dir;T_.prototype.ngOnChanges=function(a){if(a.panels)this.onSelectionChange()};
T_.prototype.getSelectedIssues=function(){var a=this.panels.flatMap(function(b){return b.selectedIssues});Daa(a,null,function(b){return b.issueId.toString()});return a};T_.\u0275fac=function(a){return new (a||T_)(C(eF),C(cH,2),C(gs),C(gH),C(CL),C(BI),C(FT),C(qI),C(nZ),C(Wz),C(FF),C(GO),C(uI))};
T_.\u0275cmp=Gc({type:T_,selectors:[["b-dashboard-controls"]],inputs:{panels:"panels"},features:[Gf([cH]),bf,Zc],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&&(Q(0,a7a,2,4,"b-app-bar-bulk-edit-menus",0),Q(1,e7a,1,2,"b-copy-issue-id-button",1),Q(2,f7a,2,2,"div",2),G(3,"b-app-bar-more-menu",3),M("flagAsSpamClicked",function(){return bZc(b)}),H(),G(4,"b-state-modal",4),M("save",function(){return $Yc(b)})("close",function(){return b.hotkeys.unpause()}),H(),Q(5,l7a,11,6,"ng-template",null,5,Zf));a&2&&(F("ngIf",b.hasSelectedIssues()),z(1),F("ngIf",b.hasSelectedIssues()),z(1),F("ngIf",b.enableBulkEditUi&&b.hasSelectedIssues()),z(1),F("showFlagIssuesAsSpam",
b.isNonPublicSession&&b.hasSelectedIssues()),z(1),F("externalWarnings",b.externalWarnings))},dependencies:[gX,fX,x_,dw,ew,hO,kZ,F_,Jz,Xz,Yz,Zz,$z,y_,xR,kw],styles:["[_nghost-%COMP%] { display: flex; align-items: center; }"]});var U_=function(){};U_.\u0275fac=function(a){return new (a||U_)};U_.\u0275mod=Ic({type:U_});U_.\u0275inj=rc({imports:[iX,aS,P_,tF,mO,mZ,S_,WM,iC,aA,R_,Q_]});var cZc=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)},dZc=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)},eZc=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=ei(c.assigneeUser)||"";this.verifier=ei(c.verifierUser)||"";this.collaborators=ci(c.collaboratorsUsers)||[];this.cc=ci(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 Yh(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 Yh(c.typedDefaultValue):new Yh({customFieldId:b}))},gZc=function(a,b){b.name=a.name;b.description=a.description;var c=b.snapshot||{};c.componentId=a.componentId;fZc(a.type)?delete c.type:c.type=a.type;fZc(a.priority)?delete c.priority:c.priority=a.priority;fZc(a.severity)?delete c.severity:c.severity=a.severity;c.assigneeUser=ii(a.assignee);c.verifierUser=ii(a.verifier);c.collaboratorsUsers=a.collaborators.map(function(g){return ii(g)});
c.ccUsers=a.cc.map(function(g){return ii(g)});c.comment=a.comment;c.formattingMode=a.formattingMode;c.title=a.title;c.hotlistId=a.hotlistId;c.inProd=a.inProd;c.customField=[];c.issueAccessLimitLevel=a.issueAccessLimitLevel;for(var d=k(Object.keys(a.customFields)),e=d.next();!e.done;e=d.next())(e=a.customFieldValues[e.value])&&!e.isEmpty()&&c.customField.push(e);b.snapshot=c};
eZc.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:rh(c,"Unexpected custom field type: "+c)}}this.dirty=!0};eZc.prototype.isDirty=function(){return this.dirty};eZc.prototype.setFormattingMode=function(a){this.formattingMode=a;this.dirty=!0};eZc.prototype.onAccessLimitLevelSelected=function(a){this.issueAccessLimitLevel=a;this.dirty=!0};
var fZc=function(a){return Bk(a)||"--"===a},O7a=function(a,b){a.collaborators=b.split(",").map(function(c){return c.trim()}).filter(function(c){return!!c});a.dirty=!0},P7a=function(a,b){a.cc=b.split(",").map(function(c){return c.trim()}).filter(function(c){return!!c});a.dirty=!0},hZc={value:"--",displayText:"--"};var iZc=new pA("M/d/yyyy"),V_=function(a){this.dateFormatter=a;this.boundValueChange=new Gv;this.textValue="";this.ariaLabelledBy=this.inputId=void 0;this.isRequired=!1};V_.prototype.ngOnInit=function(){if(this.boundValue){if(this.boundValue)if("string"===typeof this.boundValue)var a=Sh(this.boundValue);else{var b;a=null!=(b=Kh(this.boundValue))?b:void 0}else a=void 0;this.googDate=a;this.change(this.googDate,!0)}};
V_.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=iZc.format(a);else{var d;a=null!=(d=Aqa(iZc.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):""}};V_.\u0275fac=function(a){return new (a||V_)(C(CI))};
V_.\u0275cmp=Gc({type:V_,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&&(G(0,"b-date-time-input",0),M("valueChange",function(c){return b.change(c)}),H());a&2&&F("required",b.isRequired)("value",b.googDate)("customFormId",
b.inputId)("customAriaLabelledBy",b.ariaLabelledBy)},dependencies:[HY],encapsulation:2});var Ap={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"},jZc={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"},m7a=[Ap,{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"},jZc];var W_=function(){WD.apply(this,arguments);var a=this;this.defaultAccessLimitLevel$=new E.ReplaySubject(1);this.disabled=!0;this.implicitAccessEnabled=!1;this.updatedAccessLimitLevel=new Gv;this.selectedDisplay$=new E.BehaviorSubject(null);this.displays=m7a;this.disabledDropdownTooltip="Only users with Issue Admin permission can adjust restriction levels.";this.currentIssueAccessLimitLevelDisplay$=(0,E.combineLatest)([this.selectedDisplay$,this.defaultAccessLimitLevel$]).pipe(D(function(b){b=k(b);
var c=b.next().value;b=b.next().value;if(c)return c;c=k(a.displays);for(var d=c.next();!d.done;d=c.next())if(d=d.value,d.accessLevel===b)return d;return Ap}));this.issueAccessLimitLevelDisplayTitle$=this.currentIssueAccessLimitLevelDisplay$.pipe(D(function(b){return b.title}))};U(W_,WD);W_.\u0275dir=WD.\u0275dir;hh.Object.defineProperties(W_.prototype,{defaultAccessLimitLevel:{configurable:!0,enumerable:!0,set:function(a){this.defaultAccessLimitLevel$.next(a)}}});
W_.\u0275fac=function(){var a;return function(b){return(a||(a=td(W_)))(b||W_)}}();
W_.\u0275cmp=Gc({type:W_,selectors:[["b-issue-access-limits-dropdown"]],inputs:{defaultAccessLimitLevel:"defaultAccessLimitLevel",disabled:"disabled",implicitAccessEnabled:"implicitAccessEnabled"},outputs:{updatedAccessLimitLevel:"updatedAccessLimitLevel"},features:[bf],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&&(G(0,"div",0)(1,"button",1),S(2,"async"),G(3,"span",2),I(4,"mat-icon",3),G(5,"span",4),R(6),S(7,"async"),H()(),I(8,"mat-icon",5),H(),Q(9,o7a,1,1,"mat-icon",6),G(10,"mat-menu",7,8),Q(12,p7a,7,3,"button",9),H()());if(a&2){var c=Cf(11),d;z(1);F("matMenuTriggerFor",
c)("disabled",b.disabled);gf("aria-label","Issue Access level, "+(null!==(d=null==(d=T(2,6,b.selectedDisplay$))?null:d.title)&&void 0!==d?d:"Default access"));z(5);Df(" ",T(7,8,b.issueAccessLimitLevelDisplayTitle$)," ");z(3);F("ngIf",b.disabled);z(3);F("ngForOf",b.displays)}},dependencies:[dw,ew,uA,Jz,DB,BB,CB,LB,kw],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 kZc=["saveBeforeClosingDialog"],lZc=["deleteDialog"],I7a=function(){return[]},X_=function(a,b,c,d,e,g,h,l,q,x,A,B,K,N){WD.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=x;this.componentActions=A;this.documentationLinks=B;this.appEvents=K;this.accessPolicyApi=N;this.defaultIndex=-1;this.componentId=0;this.supportCustomFields=!1;this.templates=[];this.customFieldRows=
[];this.currentTemplateRow=this.currentTemplate=null;this.currentIndex=-1;this.templateRows=[];this.afterSaveCheckFunc=null;this.hotlists=[];this.selectedHotlists=[];this.hotlistMap={};this.selectedHotlistIds=[[]];this.templateHotlistIds=[];this.hotlistPickerIndex=0;this.implicitAccessEnabled=!1;this.FieldType=rVc;this.customFieldIds=Object.create(null);this.issueTypeChoices=mZc(this);this.priorityChoices=nZc(this);this.severityChoices=oZc(this)};U(X_,WD);X_.\u0275dir=WD.\u0275dir;f=X_.prototype;
f.ngOnInit=function(){var a=this,b=function(){a.fetchUserHotlists()};this.fetchUserHotlists();this.accessPolicyApi.checkComponentImplicitAccessEnabled(this.componentId).then(function(c){return a.implicitAccessEnabled=c});this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(b));this.subscriptions.add(this.appEvents.hotlistCreated.subscribe(b));this.subscriptions.add(this.appEvents.bookmarkGroupModified.subscribe(b));Promise.all([this.loadCustomFields(),this.loadTemplates()]).finally(function(){pZc(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)});Faa(this.selectedHotlists,function(c,d){return Lp(c.name,d.name)})};f.removeHotlist=function(a){ra(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");DF(this.butterBar,"Creating hotlist "+c+"...",0);this.hotlistApi.createHotlist(c).then(function(e){DF(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;Sb(a.newSelectionMap,function(d,e){e=Rh(e);if(d!==c[e]){b.currentTemplate.dirty=!0;var g=b.selectedHotlistIds[0].includes(e);d&&!g?(d=b.templateHotlistIds[b.hotlistPickerIndex],qa(d,e)||d.push(e)):!d&&g&&ra(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&&ra(this.hotlists,b);this.hotlistMap[a.hotlistId]=a;this.hotlists.push(a)};
var mZc=function(a){var b=a.constants.editIssueTypes.map(function(c){return{value:c,displayText:Cua(c),altText:a.constants.issueTypesShortDescriptions.get(c)}});return[hZc].concat(b)};X_.prototype.getDateValue=function(a){return a};X_.prototype.getListFieldType=function(a){return a};
var L7a=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},A7a=function(a){"VULNERABILITY"===a.currentTemplateRow.issueType||"PRIVACY_ISSUE"===a.currentTemplateRow.issueType?Xhc(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)},nZc=function(a){return[hZc].concat(a.constants.priorities.map(function(b){return{value:b,displayText:b}}))},oZc=function(a){return[hZc].concat(a.constants.severities.map(function(b){return{value:b,displayText:b}}))};X_.prototype.setCustomField=function(a,b,c){a.editableTemplate.setCustomField(b,null!==c?c:void 0)};
var R7a=function(a){a.currentTemplate=null;a.currentTemplateRow=null;a.currentIndex=-1;qZc(a)},t7a=function(a,b){var c=a.currentIndex;rZc(a,function(){b.index===c?R7a(a):a.openEditor(b.index)})},sZc=function(a){a.templateHotlistIds.push([]);rZc(a,function(){a.openEditor()})},v7a=function(a,b){return 0<=b.index&&b.index===a.currentIndex},Q7a=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){DF(a.butterBar,
l.name?'Template "'+l.name+'" created.':"Template created.");a.analytics.trackEvent("template","create");tZc(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){DF(a.butterBar,l.name?'Template "'+l.name+'" updated.':"Template updated.");a.analytics.trackEvent("template","update");tZc(a,"update",l.snapshot);a.templates[e]=l;R7a(a)}}a.currentTemplate.hotlistId=a.templateHotlistIds[a.hotlistPickerIndex];
gZc(a.currentTemplate,c);DF(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=Rl(l);EF(a.butterBar,l?"Error "+b+" template: "+l:"There was an error "+b+" the template.",0)})},u7a=function(a,b){Rz(a.matDialogService.open(a.deleteDialog,{data:b})).pipe(Te(a.destroyed$)).subscribe(function(c){c&&
uZc(a,b)})},uZc=function(a,b){var c=b.index;zaa(a.templateHotlistIds,c);b=a.templates[c];0>c||b.default?Promise.resolve():(DF(a.butterBar,"Deleting..."),a.templatesApi.delete(b.componentId,b.templateId).then(function(){a.appEvents.templateModified.next(String(a.componentId));DF(a.butterBar,"Deleted template");a.analytics.trackEvent("template","delete");a.templates.splice(c,1);a.currentIndex===c?R7a(a):qZc(a);a.cdr.detectChanges()}).catch(function(){EF(a.butterBar,"Error while deleting template")}))},
wZc=function(a,b){b?Q7a(a).then(function(){vZc(a);a.cdr.detectChanges()}):vZc(a)},w7a=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};
X_.prototype.openEditor=function(a){var b=this;this.currentIndex=void 0===a?-1:a;if(0>this.currentIndex){this.currentTemplate=xZc(this,{componentId:this.componentId,default:!1,name:"New Template"});this.currentTemplate.dirty=!0;this.updateSelectedHotlists();qZc(this);this.cdr.detectChanges();var c;null==(c=document.getElementById("template-name"))||c.focus()}else yZc(this,this.templates[this.currentIndex]).then(function(d){b.currentTemplate=xZc(b,d);b.hotlistPickerIndex=b.currentIndex;b.updateSelectedHotlists();
qZc(b);b.cdr.detectChanges();var e;null==(e=document.getElementById("template-name"))||e.focus()})};
var yZc=function(a,b){return a.templatesApi.get(b.componentId,b.templateId||0)},rZc=function(a,b){a.currentTemplate&&a.currentTemplate.isDirty()?(a.afterSaveCheckFunc=b,zZc(a)):b()},tZc=function(a,b,c){c&&c.issueAccessLimitLevel&&"LIMIT_NONE"!==c.issueAccessLimitLevel&&a.analytics.trackEvent(Jn.ISSUE_ACCESS_LIMITS,b,"template:"+c.issueAccessLimitLevel)},zZc=function(a){Rz(a.matDialogService.open(a.saveBeforeClosingDialog,{data:a.currentTemplateRow})).pipe(Te(a.destroyed$)).subscribe(function(b){void 0!==
b&&wZc(a,b)})},vZc=function(a){var b=a.afterSaveCheckFunc;a.afterSaveCheckFunc=null;b&&b()},xZc=function(a,b){return new eZc(a.customFieldIds,b)};
X_.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 dZc(c,"TEXT"===c.type?"1":"2"))}a.cdr.detectChanges()}).catch(function(){EF(a.butterBar,"Unable to load custom fields")}):
Promise.resolve()};X_.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(){EF(a.butterBar,"Unable to load templates")})};
var pZc=function(a){qZc(a);a.defaultIndex=a.templates.findIndex(function(b){return b.default})},qZc=function(a){if(0>a.currentIndex)a.templateRows=a.templates.map(function(e,g){return new cZc(g,e)}),a.currentTemplate&&(a.currentTemplateRow=new cZc(-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 cZc(g,e)}));a.currentTemplate&&(a.currentTemplateRow=
new cZc(b,a.currentTemplate),c.push(a.currentTemplateRow));d=a.templates.slice(b+1);c=c.concat(d.map(function(e,g){return new cZc(b+g+1,e)}));a.templateRows=c;a.hotlistPickerIndex=a.currentIndex}},AZc=function(a,b,c){return yZc(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})},s7a=function(a,b){if(a.defaultIndex!==b){a.defaultIndex=b;var c="(no template)";0<=b&&(b=a.templates[b],
c=b.name,Bk(Ak(c))&&(c="(unnamed template)"),b.default||(b=AZc(a,b,function(d){d.default=!0}),DF(a.butterBar,"Changing default template..."),b.then(function(){DF(a.butterBar,"Changed default template to "+c)},function(d){EF(a.butterBar,"Error while changing default message"+(Ql(d)?": "+Rl(d):"."))}),a.analytics.trackEvent("template","changeDefault")))}};X_.\u0275fac=function(a){return new (a||X_)(C(Wz),C(cH,2),C(OG),C(Icc),C(GG),C(BI),C(vG),C(CF),C(gH),C(qI),C(FT),C(nI),C(KF),C(VF))};
X_.\u0275cmp=Gc({type:X_,selectors:[["b-edit-templates"]],viewQuery:function(a,b){a&1&&(Uf(kZc,5),Uf(lZc,5));if(a&2){var c;Tf(c=Wf())&&(b.saveBeforeClosingDialog=c.first);Tf(c=Wf())&&(b.deleteDialog=c.first)}},inputs:{componentId:"componentId",supportCustomFields:"supportCustomFields"},features:[Gf([cH]),bf],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(";"),["for","template-issue-access-limits-dropdown"],["id","template-issue-access-limits-dropdown",3,"disabled",
"defaultAccessLimitLevel","implicitAccessEnabled","updatedAccessLimitLevel"],["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"],["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&&(G(0,"div")(1,"div",0),R(2," A template is a set of default values for new issues created in this component. "),G(3,"a",1),R(4,"Learn more"),H()(),G(5,"table",2)(6,"tr")(7,"th"),R(8,"TEMPLATE"),H(),G(9,"th",3),R(10,"DEFAULT"),H(),I(11,"th",3)(12,"th",3),H(),
Q(13,T7a,3,2,"tr",4),H(),G(14,"div",5)(15,"b-button",6),M("onAction",function(){return sZc(b)}),R(16," Create New Template "),H()(),Q(17,U7a,7,3,"ng-template",null,7,Zf),Q(19,V7a,9,4,"ng-template",null,8,Zf),H());a&2&&(z(3),F("href","https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/templates",Md),z(10),F("ngForOf",b.templateRows))},dependencies:[PO,dw,ew,fw,gw,hw,uA,RN,DZ,og,Nw,Fw,Lw,OS,F_,V_,HZ,Jz,Xz,Zz,$z,yM,zZ,sR,LB,AM,DB,BB,CB,W_],styles:[".buttons-row[_ngcontent-%COMP%]   b-button[_ngcontent-%COMP%]{ margin-right: 10px;}"]});var Y_=function(){};Y_.\u0275fac=function(a){return new (a||Y_)};Y_.\u0275mod=Ic({type:Y_});Y_.\u0275inj=rc({imports:[tF,VY]});var Z_=function(){};Z_.\u0275fac=function(a){return new (a||Z_)};Z_.\u0275mod=Ic({type:Z_});Z_.\u0275inj=rc({imports:[tF,iC,EB,JC,WM]});var a0=function(){};a0.\u0275fac=function(a){return new (a||a0)};a0.\u0275mod=Ic({type:a0});a0.\u0275inj=rc({imports:[aS,tF,eO,EZ,$w,YS,S_,Y_,IZ,iC,aA,aN,AZ,hJ,tR,dO,Mz,JC,WM,EB,Z_]});var b0=function(a,b,c,d,e){this.appSearchState=b;this.analytics=c;this.domSafe=d;this.currentTracker=e;this.enableEstado=UD(a,"enableEstado")};b0.prototype.openInEstado=function(){this.analytics.trackEvent("listIssues","addOns","Estado");this.domSafe.openInNewTab("http://go/estado/dashboard-lite/buganizer?buganizer-query="+encodeURIComponent(this.appSearchState.currentQuery))};b0.\u0275fac=function(a){return new (a||b0)(u(gs),u($X),u(gH),u(SJ),u(lK))};
b0.\u0275prov=qc({token:b0,factory:b0.\u0275fac,providedIn:"root"});var BZc=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};BZc.\u0275fac=function(a){return new (a||BZc)(C(Vz))};
BZc.\u0275cmp=Gc({type:BZc,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&&(G(0,"h1",0),R(1),H(),G(2,"mat-dialog-content")(3,"b-custom-field-picker",1),M("fieldSelected",function(c){return b.selectedCustomField=
c}),H()(),G(4,"mat-dialog-actions")(5,"button",2),R(6," Cancel "),H(),G(7,"button",3),R(8," Add "),H()());a&2&&(z(1),Df("Insert custom field column next to ",b.column.fullLabel,""),z(2),F("filter",b.isLegalColumn),z(4),F("disabled",!b.selectedCustomField)("mat-dialog-close",b.selectedCustomField))},dependencies:[Jz,Xz,Yz,Zz,$z,LZ],encapsulation:2});var W7a="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 Bp=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)};Bp.prototype.toString=function(){return this.isCustomField?"customfield:"+this.name+"["+this.fullLabel+"]":this.name};
var a8a={issueId:{defaultSortDirection:"DESC",label:"ID",moreOptions:[{name:"id-link",menuItem:"Plain Link"},{name:"id-copy",menuItem:"Quick Copy Chip"}]},priority:{label:"P",fullLabel:"Priority"},severity:{label:"S",fullLabel:"Severity"},modifiedTime:{defaultSortDirection:"DESC",label:"LAST MODIFIED"},magic:{label:"MAGIC NUMBER"},createdTime:{defaultSortDirection:"DESC",label:"CREATED"},verifiedTime:{defaultSortDirection:"DESC",label:"VERIFIED"},resolvedTime:{defaultSortDirection:"DESC",label:"RESOLVED"},
blockedByIssueId:{sortable:!1,label:"BLOCKED BY"},foundInVersion:{label:"FOUND IN"},targetedToVersion:{label:"TARGETED TO"},verifiedInVersion:{label:"VERIFIED IN"},inProd:{label:"IN PROD"},duplicateOfIssueId:{sortable:!1,label:"DUPLICATE OF"},componentPath:{label:"COMPONENT",moreOptions:[{name:"wrapComponents",menuItem:"Wrap components"},{name:"rtlComponentPath",menuItem:"Prefer right alignment"}]},cc:{sortable:!1},collaborator:{sortable:!1},changelist:{sortable:!1},postmortem:{sortable:!1},blockingIssueId:{sortable:!1,
label:"BLOCKING"},title:{moreOptions:[{name:"showHotlists",menuItem:"Show hotlists"},{name:"wrapTitles",menuItem:"Wrap titles"}]},status:{moreOptions:[{name:"showStatusIcons",menuItem:"Icons only"},{name:"status-plain",menuItem:"Plain text (no colors)"}]},voteCount:{defaultSortDirection:"DESC",label:"VOTES",fullLabel:"Vote Count"},duplicateCount:{defaultSortDirection:"DESC",label:"DUPE COUNT",tooltip:"Duplicate Count"},ccCount:{defaultSortDirection:"DESC",label:"CC COUNT"},collaboratorCount:{defaultSortDirection:"DESC",
label:"COLLABORATOR COUNT"},lastModifier:{label:"LAST MODIFIED BY"},minSlo:{defaultSortDirection:"ASC",label:"NEAREST SLO",fullLabel:"Nearest SLO",parentLabel:"SLO"},assignmentSlo:{label:"ASSIGNMENT SLO",fullLabel:"Assignment SLO",parentLabel:"SLO",sortable:!0},responseSlo:{label:"RESPONSE SLO",fullLabel:"Response SLO",parentLabel:"SLO",sortable:!0},closureSlo:{label:"CLOSURE SLO",fullLabel:"Closure SLO",parentLabel:"SLO",sortable:!0},deletionTime:{label:"DELETION DATE",fullLabel:"Deletion Date",
sortable:!0},team:{label:"TEAM",sortable:!0},estimate:{label:"ESTIMATE",fullLabel:"Estimate",parentLabel:"Estimates",sortable:!0},estimateTotalOpen:{label:"TOTAL DAYS OPEN",fullLabel:"Total days open",parentLabel:"Estimates",sortable:!0,tooltip:"Total estimate of all child issues that are open in number of days"},estimateTotalComplete:{label:"TOTAL DAYS COMPLETE",fullLabel:"Total days complete",parentLabel:"Estimates",sortable:!0,tooltip:"Total estimate of all child issues that are complete (fixed or won\u2019t fix) in number of days"}};var CZc=function(a,b,c){this.target=a;this.eventType=b;this.listener=c;this.target.addEventListener(this.eventType,this.listener)};CZc.prototype.off=function(){this.target.removeEventListener(this.eventType,this.listener)};var DZc=function(){this.bindings=[]};DZc.prototype.off=function(){for(var a=k(this.bindings),b=a.next();!b.done;b=a.next())b.value.off()};
var EZc=function(a){var b=this;this.params=a;this.mask=document.createElement("div");this.element=this.params.nativeElement;this.eventBindings=new DZc;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()}};
EZc.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(){FZc(a,"dragstart",a.onDragTargetDragstart);FZc(a,"dragenter",a.onDragTargetDragenter);FZc(a,"dragend",a.onDragTargetDragend);FZc(a,"selectstart",a.onDragTargetSelectstart);a.eventBindings.bindings.push(new CZc(a.mask,"dragleave",a.onMaskDragLeave));
a.eventBindings.bindings.push(new CZc(a.mask,"dragover",a.onMaskDragover));a.eventBindings.bindings.push(new CZc(a.mask,"drop",a.onMaskDrop))})};var FZc=function(a,b,c){a.eventBindings.bindings.push(new CZc(a.element,b,Dp("th.drag-target",c)))};EZc.prototype.tearDown=function(){this.eventBindings.off()};var GZc=["table"],HZc=["defaultHeaderCellTemplate"],IZc=["defaultViewCellTemplate"],JZc=["dataRows"],f8a=function(a){return{column:a}},i8a=function(a,b,c){return{row:a,column:b,index:c}},c0=function(a,b){var c=this;this.activeSession=a;this.ngZone=b;this.headerCellTemplates={};this.viewCellTemplates={};this.list=[];this.columns=[];this.columnsChange=new Gv;this.rowClick=new Gv;this.rowLabelRenderer=function(d,e){return"Row "+e};this.sortChange=new Gv;this.focusedRowIndexChange=new Gv;this.afterViewInit=
new Gv;this.enableDragDropHeader=!0;this.readUnreadOptOut=UD(this.activeSession,"readUnreadOptOut");this.onDragDropColumn=function(d,e){var g=[].concat(Vc(c.columns));d=g.splice(d,1)[0];g.splice(e,0,d);c.columns=g;c.columnsChange.emit([].concat(Vc(c.columns)))};this.onTdClickableClick=Dp("td.clickable",function(d,e){if(("mouseup"!==d.type||1===d.button)&&!emc(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})}})};
c0.prototype.ngOnInit=function(){this.enableDragDropHeader&&KZc(this);this.tableElement.nativeElement.addEventListener("click",this.onTdClickableClick);this.tableElement.nativeElement.addEventListener("mouseup",this.onTdClickableClick)};var KZc=function(a){a.dragDropHeaderLogic=new EZc({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()};
c0.prototype.ngOnChanges=function(a){if(a=a.focusedRowIndex){var b=a.currentValue;null!=b&&b!==a.previousValue&&this.dataRows&&(a=this.dataRows.toArray()[b])&&(MHa(a.nativeElement)||a.nativeElement.scrollIntoView({block:"center"}),this.focus())}};c0.prototype.ngAfterViewInit=function(){this.afterViewInit.emit(this)};
c0.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)};c0.prototype.getViewCellTemplate=function(a){return null!=a?this.viewCellTemplates[a]||this.defaultViewCellTemplate:this.defaultViewCellTemplate};var LZc=function(a){return a.columns.map(function(b){return a.getViewCellTemplate(b.name)})};
c0.prototype.renderRowLabel=function(a,b){return this.rowLabelRenderer(a,b)};c0.prototype.focus=function(){if(null!=this.focusedRowIndex&&null!=this.dataRows){var a=this.dataRows.toArray()[this.focusedRowIndex];a&&a.nativeElement.focus()}};c0.prototype.getColumnIndexForElement=function(a){var b=a.dataset.dragTargetColumnName;return this.columns.findIndex(function(c){return c.name===b})};c0.\u0275fac=function(a){return new (a||c0)(C(gs),C(We))};
c0.\u0275cmp=Gc({type:c0,selectors:[["pop-grid"]],viewQuery:function(a,b){a&1&&(Uf(GZc,7),Uf(HZc,7),Uf(IZc,7),Uf(JZc,5,vd));if(a&2){var c;Tf(c=Wf())&&(b.tableElement=c.first);Tf(c=Wf())&&(b.defaultHeaderCellTemplate=c.first);Tf(c=Wf())&&(b.defaultViewCellTemplate=c.first);Tf(c=Wf())&&(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:[Zc],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&&(G(0,"table",0,1),M("mousedown",function(c){c.shiftKey&&window.getSelection().removeAllRanges()}),G(2,"colgroup"),Q(3,d8a,1,3,"col",2),H(),G(4,"thead")(5,"tr",3),Q(6,g8a,2,4,"ng-container",4),H()(),G(7,"tbody"),Q(8,l8a,2,1,"ng-container",5),H()(),Q(9,m8a,2,1,"ng-template",null,6,Zf),Q(11,n8a,2,2,"ng-template",null,7,Zf));a&2&&(z(3),F("ngForOf",b.columns),z(3),
F("ngForOf",b.columns),z(2),F("ngIf",LZc(b)))},encapsulation:2});var d0=function(a,b){this.templateRef=a;this.popGrid=b};d0.prototype.ngOnInit=function(){this.forHeaderCell&&(this.popGrid.headerCellTemplates[this.forHeaderCell]=this.templateRef)};d0.\u0275fac=function(a){return new (a||d0)(C(Qf),C(c0))};d0.\u0275dir=Kc({type:d0,selectors:[["","forHeaderCell",""]],inputs:{forHeaderCell:"forHeaderCell"}});var e0=function(a,b){this.templateRef=a;this.popGrid=b};
e0.prototype.ngOnInit=function(){this.forViewCell&&(this.popGrid.viewCellTemplates[this.forViewCell]=this.templateRef)};e0.\u0275fac=function(a){return new (a||e0)(C(Qf),C(c0))};e0.\u0275dir=Kc({type:e0,selectors:[["","forViewCell",""]],inputs:{forViewCell:"forViewCell"}});var f0=function(a,b){this.templateRef=a;this.popGrid=b};f0.prototype.ngOnInit=function(){this.popGrid.defaultHeaderCellTemplate=this.templateRef};f0.\u0275fac=function(a){return new (a||f0)(C(Qf),C(c0))};
f0.\u0275dir=Kc({type:f0,selectors:[["","forHeaderCellDefault",""]]});var g0=function(){this.columnLabel=this.columnName="";this.defaultSortDirection="ASC";this.sortChanged=new Gv};g0.prototype.ariaLabel=function(){var a=this.columnLabel+", sortable";return this.isActive()?"ASC"===this.sort.direction?a+", sorted ascending":a+", sorted descending":a};g0.prototype.isActive=function(){return!!this.sort&&this.sort.field===this.columnName};
g0.prototype.activate=function(){var a=this.defaultSortDirection;this.isActive()&&(a="ASC"===this.sort.direction?"DESC":"ASC");this.sortChanged.emit({field:this.columnName,direction:a})};g0.\u0275fac=function(a){return new (a||g0)};
g0.\u0275cmp=Gc({type:g0,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&&(G(0,"div",0),M("click",function(){return b.activate()})("keydown.enter",function(c){b.activate();return c.stopPropagation()})("keydown.space",
function(c){b.activate();return c.stopPropagation()}),I(1,"span",1),R(2),H());a&2&&(qf("current-sort",b.isActive())("direction-asc",b.isActive()&&"ASC"===b.sort.direction)("direction-desc",b.isActive()&&"DESC"===b.sort.direction),gf("aria-label",b.ariaLabel()),z(2),Df(" ",b.columnLabel," "))},encapsulation:2});var h0=function(a,b){this.elementRef=a;this.grid=b};h0.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}}};h0.prototype.ngOnDestroy=function(){this.cellParent&&delete this.cellParent.dataset.dragTargetColumnName};
h0.\u0275fac=function(a){return new (a||h0)(C(vd),C(c0,8))};
h0.\u0275cmp=Gc({type:h0,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&&(G(0,"div",0),Q(1,o8a,1,5,"b-sortable-header",1),Q(2,q8a,3,3,"div",2),H());a&2&&(z(1),F("ngIf",b.column.sortable),z(1),F("ngIf",!b.column.sortable))},dependencies:[ew,LB,g0],encapsulation:2});var x8a=function(a,b){return{columns:a,before:b}},MZc=function(){return{before:!1}},NZc=function(){return{before:!0}},i0=function(a,b,c,d,e,g){WD.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 Gv;this.onAddTeamColumn=new Gv;this.currentAvailableItems=[];this.isRemovable=!0;this.menuOpen=!1;this.listViewPrefs=TD.listViewPreferences;b.preferences$.pipe(Te(this.destroyed$)).subscribe(function(l){h.listViewPrefs=
l.listViewPreferences||TD.listViewPreferences})};U(i0,WD);i0.\u0275dir=WD.\u0275dir;i0.prototype.ngOnChanges=function(a){a.selectedColumns&&OZc(this)};
var PZc=function(a){a.selectedColumnsChange.emit([].concat(Vc(a.selectedColumns)));OZc(a)},s8a=function(a,b){var c=Object.assign({},a.listViewPrefs),d=t8a(b),e=d.get;d=d.set;d(c,!e(c));a.activeSession.isAnonymous()||DF(a.butterBar,"Saving display preference...",0);a.userPreferencesManager.save({listViewPreferences:c}).pipe(Ge(),Te(a.destroyed$)).subscribe(function(){a.analytics.trackEvent("preferences","setListViewPref:"+b,e(c).toString());a.listViewPrefs=c;a.activeSession.isAnonymous()||DF(a.butterBar,
"Display preference saved.",4E3)},function(){a.activeSession.isAnonymous()||EF(a.butterBar,"Display preference could not be saved.")})},A8a=function(a,b){a.hotkeys.pause();Rz(a.matDialog.open(BZc,{data:{column:a.column,columns:a.selectedColumns},position:{top:"100px"},panelClass:"overflow-visible-dialog-panel"})).pipe(Te(a.destroyed$)).subscribe({next:function(c){c&&a.add(c,b)},error:function(){a.hotkeys.unpause()},complete:function(){a.hotkeys.unpause()}})},OZc=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!Rca(b,g.name)});c=[].concat(Vc(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(Vc(d),Vc(c));a.currentAvailableItems.sort(function(g,h){return Lp(g instanceof Bp?g.fullLabel:g.label,h instanceof
Bp?h.fullLabel:h.label)});a.isRemovable=QZc(a)};i0.prototype.isIssueGridColumn=function(a){return a instanceof Bp};i0.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,PZc(this),!0}return!1};
i0.prototype.add=function(a,b){var c=this;this.menuTrigger.closeMenu();a="customFieldId"in a&&a.customFieldId?new Bp({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(Vc(this.selectedColumns));this.selectedColumns.splice(b,0,a);PZc(this);return!0};
var QZc=function(a){return 1<a.selectedColumns.filter(function(b){return!b.isMetadata}).length};i0.\u0275fac=function(a){return new (a||i0)(C(Wz),C(uI),C(CF),C(gH),C(CL),C(gs))};
i0.\u0275cmp=Gc({type:i0,selectors:[["b-column-picker"]],viewQuery:function(a,b){a&1&&Uf(CB,5);if(a&2){var c;Tf(c=Wf())&&(b.menuTrigger=c.first)}},inputs:{column:"column",availableColumns:"availableColumns",selectedColumns:"selectedColumns"},outputs:{selectedColumnsChange:"selectedColumnsChange",onAddTeamColumn:"onAddTeamColumn"},features:[bf,Zc],decls:20,vars:11,consts:[[1,"bv2-column-picker-container"],[1,"bv2-columnheader-content"],[3,"column"],["mat-button","","tabindex","0","role","button","class",
"columnpicker-button",3,"matMenuTriggerFor","columnpicker-button-active","menuOpened","menuClosed","keydown.enter","keydown.space",4,"ngIf"],[1,"columnpicker-menu"],["pickerMenu","matMenu"],["mat-menu-item","","class","checkbox-item",3,"b-menu-item-checked","click",4,"ngFor","ngForOf"],[4,"ngIf"],["mat-menu-item","",3,"disabled","click"],["mat-menu-item","",3,"matMenuTriggerFor","matMenuTriggerData"],["addColumnMenu","matMenu"],["matMenuContent",""],["columnGroupMenu","matMenu"],["mat-button","",
"tabindex","0","role","button",1,"columnpicker-button",3,"matMenuTriggerFor","menuOpened","menuClosed","keydown.enter","keydown.space"],["menuTrigger","matMenuTrigger"],["mat-menu-item","",1,"checkbox-item",3,"click"],["name","done","size","small",1,"item-checkmark","b-menu-item-check-mark"],[1,"item-description"],["mat-menu-item","",3,"click"],[4,"ngFor","ngForOf"],["mat-menu-item","",3,"matTooltip","click","keydown.enter",4,"ngIf"],["mat-menu-item","",3,"matMenuTriggerFor","matMenuTriggerData",
4,"ngIf"],["mat-menu-item","",3,"matTooltip","click","keydown.enter"],["mat-menu-item","",3,"click","keydown.enter",4,"ngFor","ngForOf"],["mat-menu-item","",3,"click","keydown.enter"]],template:function(a,b){a&1&&(G(0,"div",0)(1,"div",1),I(2,"pop-grid-default-th",2),H(),Q(3,r8a,2,4,"div",3),G(4,"mat-menu",4,5),Q(6,u8a,4,3,"button",6),Q(7,v8a,1,0,"mat-divider",7),G(8,"button",8),M("click",function(){return b.remove()}),R(9," Remove column "),H(),G(10,"button",9),R(11," Add column right "),H(),G(12,
"button",9),R(13," Add column left "),H()(),G(14,"mat-menu",null,10),Q(16,B8a,4,1,"ng-template",11),H(),G(17,"mat-menu",null,12),Q(19,D8a,1,1,"ng-template",11),H()());if(a&2){var c=Cf(15);z(2);F("column",b.column);z(1);F("ngIf",!0);z(3);F("ngForOf",b.column.moreOptions);z(1);F("ngIf",b.column.moreOptions.length);z(1);F("disabled",!b.isRemovable);z(2);F("matMenuTriggerFor",c)("matMenuTriggerData",If(9,MZc));z(2);F("matMenuTriggerFor",c)("matMenuTriggerData",If(10,NZc))}},dependencies:[dw,ew,DB,BB,
CB,AB,tL,LB,AM,h0],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%)}/*# sourceMappingURL=column_picker.css.map */']});var TZc=function(a){var b=this;this.params=a;this.element=this.params.nativeElement;this.dropzone=document.createElement("div");this.onTdDragStart=Dp("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=Dp("tr",function(c,d){if(b.draggedRow&&b.dragTargetRow!==d&&d.closest("tbody")&&
d!==b.draggedRow){RZc(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=Dp("tr",function(){b.draggedRow&&(RZc(b.draggedRow),RZc(b.dragTargetRow),b.draggedRow.setAttribute("aria-grabbed",
"false"),b.draggedRow=b.dragTargetRow=void 0)});this.onTrDragLeave=Dp("tr",function(c){c.stopPropagation();c.preventDefault()});this.onDropzoneDragEnter=Dp(".row-dropzone",function(c){c.stopPropagation();c.preventDefault()});this.onDropzoneDragLeave=Dp(".row-dropzone",function(c){RZc(b.dragTargetRow);SZc(b);c.stopPropagation();c.preventDefault()});this.onDropzoneDragOver=Dp(".row-dropzone",function(c){c.stopPropagation();c.preventDefault()});this.onDropzoneDrop=Dp(".row-dropzone",function(c){SZc(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()})};
TZc.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");SZc(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)})};
TZc.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 RZc=function(a){a&&(a.classList.remove("drag-over"),a.classList.remove("above"),a.classList.remove("below"),a.classList.remove("dragging"))},SZc=function(a){a.dropzone.style.display="none"};var j0=function(){};j0.\u0275fac=function(a){return new (a||j0)};j0.\u0275cmp=Gc({type:j0,selectors:[["archived-issue-indicator"]],decls:3,vars:0,consts:[["aria-hidden","true","svgIcon","archive_24px"]],template:function(a){a&1&&(G(0,"span"),I(1,"mat-icon",0),R(2,"Archived "),H())},dependencies:[uA],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 k0=function(){};k0.\u0275fac=function(a){return new (a||k0)};k0.\u0275mod=Ic({type:k0});k0.\u0275inj=rc({imports:[tF]});var UZc=[[["",8,"tooltip-content"]],[["",8,"chip-content"]]],l0=function(){this.compactMode=this.labelOnlyMode=!1};l0.prototype.ngOnInit=function(){};l0.\u0275fac=function(a){return new (a||l0)};
l0.\u0275cmp=Gc({type:l0,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&&(xf(UZc),G(0,"span",0)(1,"onedev-hovercard",null,1)(3,"div",2)(4,"div",3),yf(5),H()()(),G(6,"div",4)(7,"span",5),yf(8,1),H()()());if(a&2){var c=Cf(2),d;z(3);gf("aria-label",b.hovercardAriaLabel);z(3);F("onedevHovercardTrigger",c)("onedevHovercardActive",!b.labelOnlyMode);z(1);qf("compact-chip",b.compactMode);F("ngClass",null!==(d=b.labelClass)&&void 0!==d?d:"")}},dependencies:[cw,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 m0=function(a){this.documentationLinks=a;this.documentationLink=as()};m0.prototype.ngOnChanges=function(){this.retentionState?this.retentionExpireTime=Zm(Ym(this.retentionState.scheduledDeletionTime)):this.retentionExpireTime=void 0};m0.\u0275fac=function(a){return new (a||m0)(C(nI))};
m0.\u0275cmp=Gc({type:m0,selectors:[["retention-help-text"]],inputs:{retentionState:"retentionState",modifiedTime:"modifiedTime"},features:[Zc],decls:1,vars:1,consts:[[4,"ngIf"],[4,"ngIf","ngIfElse"],["indefinite",""],["target","_blank",3,"href"],[3,"mode","timestamp"]],template:function(a,b){a&1&&Q(0,G8a,6,3,"ng-container",0);a&2&&F("ngIf",b.retentionState&&b.modifiedTime)},dependencies:[ew,bK],encapsulation:2});var n0=function(a){this.dateFormatter=a;this.compactMode=!1;this.text=""};n0.prototype.ngOnChanges=function(){var a;null!=(null==(a=this.retentionState)?void 0:a.scheduledDeletionTime)?(a=Zm(Ym(this.retentionState.scheduledDeletionTime)),this.text=dLa(a,!this.compactMode)):this.text="Indefinite"};n0.\u0275fac=function(a){return new (a||n0)(C(aK))};
n0.\u0275cmp=Gc({type:n0,selectors:[["retention-text"]],inputs:{retentionState:"retentionState",compactMode:"compactMode"},features:[Zc],decls:1,vars:1,template:function(a,b){a&1&&R(0);a&2&&Ef(b.text)},encapsulation:2});var o0=function(){this.showRetentionInfo=this.dangerZone=this.labelOnlyMode=this.compactMode=this.showOnlyInDangerZone=!1};o0.prototype.ngOnChanges=function(){this.retentionState&&this.retentionState.retentionPeriod&&this.retentionState.scheduledDeletionTime?(this.dangerZone=I8a(this.retentionState),this.showRetentionInfo=this.showOnlyInDangerZone&&this.dangerZone||!this.showOnlyInDangerZone):this.showRetentionInfo=!1};o0.\u0275fac=function(a){return new (a||o0)(C(nI))};
o0.\u0275cmp=Gc({type:o0,selectors:[["b-retention-chip"]],inputs:{showOnlyInDangerZone:"showOnlyInDangerZone",compactMode:"compactMode",labelOnlyMode:"labelOnlyMode",retentionState:"retentionState",modifiedTime:"modifiedTime"},features:[Zc],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&&Q(0,H8a,5,7,"b-base-chip",0);a&2&&F("ngIf",b.showRetentionInfo)},dependencies:[ew,l0,n0,m0],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 q9a=function(a,b,c){return{low:a,high:b,p0:c}},X9a=function(a){return{id:a}},C$a=function(a,b){return{"bv2-grid-cell-variable-height":a,"rtl-component-path":b}},VZc=function(){return[]},p0=function(a,b,c,d,e,g,h,l,q,x,A,B,K,N,P){var Y=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=x;this.paths=A;this.errorHandler=B;this.$log=K;this.domSafe=N;this.currentTracker=
P;this.STATUS_ICON=Kbc;this.STATUS_FULL_TEXT=IE;this.STATUS_TERSE=EE;this.lastCheckedIndex=null;this.focusedRowIndexChange=new Gv;this.columns=[];this.columnsChange=new Gv;this.enableColumnSaving=!1;this.sort=null;this.sortChange=new Gv;this.rowClick=new Gv;this.init=new Gv;this.onRowDragDrop=new Gv;this.onNextPage=new Gv;this.onPrevPage=new Gv;this.selectionCallbacks=[];this.isLoadingTeams=!0;this.isTotalEstimatesEnabled=UD(this.activeSession,"enableAggregationRules");this.destroyed$=new E.ReplaySubject(1);
this.starInProgress={};this.readUnreadOptOut=UD(this.activeSession,"readUnreadOptOut");b=ta(W7a);a.isInternalSession()||(ra(b,"minSlo"),ra(b,"responseSlo"),ra(b,"assignmentSlo"),ra(b,"closureSlo"),ra(b,"deletionTime"),ra(b,"team"),ra(b,"estimate"),ra(b,"estimateTotalOpen"),ra(b,"estimateTotalComplete"));this.availableColumns=b.map(Cp);this.dragDropLogic=new TZc({ngZone:this.ngZone,nativeElement:this.elementRef.nativeElement,rowFinder:function(X){return WZc(Y,X)},onRowDragDrop:function(X){Y.onRowDragDrop.emit(X)}})};
f=p0.prototype;f.ngOnInit=function(){var a=this;this.dragDropLogic.setup();this.userPreferencesManager.listViewPreferences$.pipe(Te(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=gqa((null==(b=this.searchResults)?void 0:b.issues.map(function(e){return new Set([].concat(Vc(e.hotlistId||[])))}))||[]);this.hotlistFridge.watchSet([].concat(Vc(c)))}if(a.searchResults||a.columns)for(b=k(this.columns),c=b.next();!c.done;c=b.next())"TEAM"===c.value.label&&XZc(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}))||[]);xqa(a,d)||q0(this)}};f.ngOnDestroy=function(){this.dragDropLogic.tearDown();this.destroyed$.next()};f.focus=function(){this.grid.focus()};f.convertIssueStatusStrToTag=function(a){return jj[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()}q0(this)};
var YZc=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()}q0(a)};p0.prototype.hasSelectedIssues=function(){return this.searchResults?this.searchResults.issues.some(function(a){return a.selected}):!1};var N8a=function(a){return a.searchResults?a.searchResults.issues.every(function(b){return b.selected}):!1};
p0.prototype.someIssuesSelected=function(){return this.searchResults?this.searchResults.issues.some(function(a){return a.selected}):!1};p0.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"};
p0.prototype.getSelectedIssues=function(){return this.searchResults?this.searchResults.issues.filter(function(a){return a.selected}):[]};var $Zc=function(a){if(ZZc(a)&&null!=a.focusedRowIndex&&a.searchResults){var b=a.searchResults.issues[a.focusedRowIndex];b&&(b.selected=!b.selected,a.cdr.detectChanges(),q0(a))}};
p0.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();q0(this)}};
var a_c=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()&&QSc(a.issuePagination,a.searchResults.endIndex+1).catch(function(b){a.$log.warn(b)}).finally(function(){a.onNextPage.emit()})},b_c=function(a){null!=a.focusedRowIndex&&0<a.focusedRowIndex?(a.focusedRowIndex--,a.focusedRowIndexChange.emit(a.focusedRowIndex),
a.cdr.detectChanges()):a.searchResults&&a.searchResults.hasPreviousPage()&&QSc(a.issuePagination,a.searchResults.startIndex-1).catch(function(b){a.$log.warn(b)}).finally(function(){a.onPrevPage.emit()})},c_c=function(a,b){b=void 0===b?{}:b;if(ZZc(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)))}},d_c=function(a,b){a.selectionCallbacks.push(b);
b()};p0.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;q0(this)}c.selected=!c.selected;this.lastCheckedIndex=b;q0(this)};
var q0=function(a){a=k(a.selectionCallbacks);for(var b=a.next();!b.done;b=a.next())b=b.value,b()},e_c=function(a){ZZc(a)&&null!=a.focusedRowIndex&&a.searchResults&&a.toggleStar(a.searchResults.issues[a.focusedRowIndex])},f_c=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();nH(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()})}};
p0.prototype.toggleStar=function(a){var b=this;a&&!this.starInProgress[a.issueId]&&(a.starred=!a.starred,this.starInProgress[a.issueId]=!0,Ufc(this.issueFridge,String(a.issueId),a.starred).pipe(Ge(),Te(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()}))};
p0.prototype.issueDescription=function(a){return(a.isClosed?"Closed ":this.readUnreadOptOut||a.isRead?"":"Unread ")+"Issue ID "+a.id+" titled: "+a.title};
var ZZc=function(a){return null!=a.searchResults&&null!=a.focusedRowIndex&&0<=a.focusedRowIndex&&a.focusedRowIndex<a.searchResults.issues.length},WZc=function(a,b){return b?a.searchResults?a.searchResults.issues.findIndex(function(c){return c.id===b}):-1:-1},XZc=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,qgc(a.teamsService,[].concat(Vc(b))).pipe(Te(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=p0.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 Ph(a)?a.join(" > "):(a=Kr(this.currentTracker,a))&&a.componentPathName?a.componentPathName.join(" > "):""};p0.\u0275fac=function(a){return new (a||p0)(C(gs),C(cH,2),C(vd),C(zH),C(We),C(uI),C(SG),C(lH),C(uG),C(tX),C(vG),C(GF),C(FF),C(SJ),C(lK))};
p0.\u0275cmp=Gc({type:p0,selectors:[["b-issues-grid"]],viewQuery:function(a,b){a&1&&Uf(c0,7);if(a&2){var c;Tf(c=Wf())&&(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:[Gf([cH]),Zc],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"],[3,"ngSwitch"],[4,"ngSwitchDefault"],[4,"ngSwitchCase"],["tabindex","-1",1,"row-issue-id",3,"href"],[1,"row-issue-id",3,"issueId","showCopyOptions",
"click"],[1,"clickable","title-cell"],[1,"bv2-grid-cell-container"],[3,"accessLevel","compactMode"],[3,"trackerId","compactMode"],[3,"retentionState","showOnlyInDangerZone","compactMode","modifiedTime"],[1,"bv2-grid-cell-text"],[1,"row-issue-title",3,"href"],["class","bv2-hotlist-chips",4,"ngIf"],[1,"bv2-hotlist-chips"],[3,"id","removable",4,"ngFor","ngForOf"],[3,"id","removable"],[1,"priority-cell","clickable"],[1,"bv2-priority",3,"ngClass"],[1,"severity-cell","clickable"],["data-stable-cell","status",
1,"clickable"],[3,"ngSwitch","title"],["class","icon-s",3,"svgIcon",4,"ngSwitchCase"],[3,"class",4,"ngSwitchDefault"],[1,"icon-s",3,"svgIcon"],["data-stable-cell","type",1,"clickable"],[1,"clickable"],[3,"email",4,"ngIf"],[3,"email"],[4,"ngFor","ngForOf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"clickable","datetime-cell"],["mode","datetime",3,"timestamp"],[1,"componentPath-cell","clickable",3,"ngClass"],[1,"clickable","first-letter-capitalized"],[3,"sloId","sloStatus","sloStartTime",
4,"ngIf"],[3,"sloId","sloStatus","sloStartTime"],[3,"sloStatus","sloStartTime"],[3,"sloId","sloStatus","sloStartTime","onlyShowMetric",4,"ngIf"],[3,"sloId","sloStatus","sloStartTime","onlyShowMetric"],[3,"sloBounds"],["mode","date",3,"timestamp",4,"ngIf"],["mode","date",3,"timestamp"],["class","animated-loading-bar",4,"ngIf"],[1,"animated-loading-bar"],["teamNotAssignedMessage","--",3,"teamId","componentId","anchorLinkEnabled"],["issueHovercard","onedevHovercard"],[3,"onedevIsHovercardReady","issueId",
4,"onedevHovercardLazyBody"],[3,"onedevHovercardTrigger"],[3,"onedevIsHovercardReady","issueId"],["cardBody",""]],template:function(a,b){a&1&&(G(0,"div")(1,"pop-grid",0),M("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)}),Q(2,K8a,2,2,"th",1),Q(3,
M8a,2,2,"th",2),Q(4,P8a,2,2,"th",3),Q(5,R8a,2,2,"th",4),Q(6,T8a,2,2,"th",4),Q(7,X8a,2,2,"th",5),Q(8,Z8a,2,1,"td",6),Q(9,a9a,2,1,"td",7),Q(10,c9a,2,1,"td",8),Q(11,e9a,2,1,"td",9),Q(12,g9a,2,1,"td",10),Q(13,k9a,2,1,"td",11),Q(14,p9a,2,3,"td",12),Q(15,s9a,2,1,"td",13),Q(16,u9a,2,1,"td",14),Q(17,A9a,2,1,"td",15),Q(18,C9a,2,1,"td",16),Q(19,G9a,2,1,"td",17),Q(20,K9a,2,1,"td",17),Q(21,O9a,2,1,"td",17),Q(22,Q9a,2,1,"td",17),Q(23,S9a,2,1,"td",17),Q(24,U9a,2,1,"td",17),Q(25,$9a,2,1,"td",17),Q(26,e$a,2,1,"td",
17),Q(27,i$a,2,1,"td",17),Q(28,k$a,2,1,"td",18),Q(29,m$a,2,1,"td",18),Q(30,o$a,2,1,"td",18),Q(31,q$a,2,1,"td",18),Q(32,s$a,2,1,"td",17),Q(33,u$a,2,1,"td",17),Q(34,w$a,2,1,"td",17),Q(35,y$a,2,1,"td",17),Q(36,A$a,2,1,"td",17),Q(37,D$a,2,5,"td",19),Q(38,G$a,2,1,"td",20),Q(39,J$a,2,1,"td",20),Q(40,M$a,2,1,"td",20),Q(41,P$a,2,1,"td",20),Q(42,S$a,2,1,"td",17),Q(43,W$a,2,1,"td",17),Q(44,Y$a,2,1,"td",17),Q(45,$$a,2,1,"td",17),Q(46,bab,2,1,"td",17),H()(),Q(47,dab,5,2,"ng-template",null,21,Zf));a&2&&(z(1),
F("list",(null==b.searchResults?null:b.searchResults.issues)||If(50,VZc))("columns",b.columns)("focusedRowIndex",b.focusedRowIndex)("scrollContainer",".bv2-view")("sort",b.sort)("rowLabelRenderer",b.issueDescription),z(1),F("forHeaderCell","focused"),z(1),F("forHeaderCell","draghandle"),z(1),F("forHeaderCell","selected"),z(1),F("forHeaderCell","starred"),z(1),F("forHeaderCell","position"),z(2),F("forViewCell","focused"),z(1),F("forViewCell","draghandle"),z(1),F("forViewCell","selected"),z(1),F("forViewCell",
"starred"),z(1),F("forViewCell","position"),z(1),F("forViewCell","issueId"),z(1),F("forViewCell","title"),z(1),F("forViewCell","priority"),z(1),F("forViewCell","severity"),z(1),F("forViewCell","status"),z(1),F("forViewCell","type"),z(1),F("forViewCell","reporter"),z(1),F("forViewCell","assignee"),z(1),F("forViewCell","verifier"),z(1),F("forViewCell","cc"),z(1),F("forViewCell","changelist"),z(1),F("forViewCell","postmortem"),z(1),F("forViewCell","blockingIssueId"),z(1),F("forViewCell","blockedByIssueId"),
z(1),F("forViewCell","duplicateOfIssueId"),z(1),F("forViewCell","createdTime"),z(1),F("forViewCell","modifiedTime"),z(1),F("forViewCell","resolvedTime"),z(1),F("forViewCell","verifiedTime"),z(1),F("forViewCell","foundInVersion"),z(1),F("forViewCell","targetedToVersion"),z(1),F("forViewCell","verifiedInVersion"),z(1),F("forViewCell","inProd"),z(1),F("forViewCell","archived"),z(1),F("forViewCell","componentPath"),z(1),F("forViewCell","minSlo"),z(1),F("forViewCell","responseSlo"),z(1),F("forViewCell",
"assignmentSlo"),z(1),F("forViewCell","closureSlo"),z(1),F("forViewCell","deletionTime"),z(1),F("forViewCell","team"),z(1),F("forViewCell","estimate"),z(1),F("forViewCell","estimateTotalOpen"),z(1),F("forViewCell","estimateTotalComplete"))},dependencies:[j0,cw,dw,ew,jw,fw,gw,hw,uA,lz,c0,h0,d0,e0,f0,mS,oS,bK,pS,RJ,PS,o0,oK,hO,RS,qJ,rJ,vJ,sJ,pO,iK,ML,i0,cJ,bJ,fJ,eJ],encapsulation:2,changeDetection:0});
var r0=new Bp({name:"focused",sortable:!1,draggable:!1,isMetadata:!0}),g_c=new Bp({name:"draghandle",sortable:!1,draggable:!1,isMetadata:!0}),s0=new Bp({name:"selected",sortable:!1,draggable:!1,isMetadata:!0}),t0=new Bp({name:"starred",sortable:!1,draggable:!1,isMetadata:!0}),h_c=new Bp({name:"position",sortable:!0,draggable:!1,fullLabel:"Position",label:"POS",isMetadata:!0});var u0=function(a,b,c){WD.call(this);var d=this;this.snackBar=a;this.issuePicker=b;this.issueApi=c;this.issueAddedToHotlist=new Gv;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,x=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(x,"close",{panelClass:"error"})}};U(u0,WD);u0.\u0275dir=WD.\u0275dir;u0.\u0275fac=function(a){return new (a||u0)(C(AF),C(GO),C(kE))};
u0.\u0275cmp=Gc({type:u0,selectors:[["hotlist-add-issue-btn"]],inputs:{id:["hotlistId","id"]},outputs:{issueAddedToHotlist:"issueAddedToHotlist"},features:[bf],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&&(G(0,"button",0),M("click",function(){b.issuePicker.open({title:"Add Issues to this Hotlist",allowMultipleIds:!0},b.onCloseIssuePicker)}),R(1," Add Issue(s) "),H())},dependencies:[Jz,LB],encapsulation:2});var v0=function(a,b,c,d){WD.call(this);var e=this;this.fridge=a;this.snackBar=b;this.dialog=c;this.events=d;this.id$=new E.ReplaySubject(1);this.hotlist$=this.id$.pipe(Se(function(g){return e.fridge.watchOne(g)}),Pe({refCount:!0,bufferSize:1}));this.archived$=this.hotlist$.pipe(D(function(g){return!(null==g||!g.archived)}),Fe());this.archiveActionLabel$=this.archived$.pipe(D(function(g){return g?"Unarchive":"Archive"}));this.archiveActionTooltip$=this.archived$.pipe(D(function(g){return g?"Unarchive this hotlist":
"Archive this hotlist, hiding it from most searches"}));this.didSave=function(g){return function(){e.snackBar.open(g?"Hotlist was archived":"Hotlist was unarchived",void 0,{duration:2500});e.events.hotlistChanged.next()}};this.gotErr=function(g){return function(h){var l=g?"archiving":"unarchiving";e.snackBar.open(Rl(h)||"Error "+l+" the hotlist","close",{panelClass:"error"})}};this.hotlist$.pipe(Te(this.destroyed$)).subscribe(function(g){e.latestHotlist=g})};U(v0,WD);v0.\u0275dir=WD.\u0275dir;
v0.prototype.isThinking=function(a){return this.fridge.isThinking(a)};v0.prototype.ngOnChanges=function(a){(a=a.id)&&this.id$.next(a.currentValue)};var j_c=function(a){if(null!=a.latestHotlist){var b=!a.latestHotlist.archived;b?a.dialog.open({title:"Archive Hotlist",content:fn("Do you want to archive this hotlist?"),isDestructive:!0,onConfirm:function(){i_c(a,b)}}):i_c(a,b)}},i_c=function(a,b){a.fridge.save(Object.assign({},a.latestHotlist,{archived:b})).subscribe({next:a.didSave(b),error:a.gotErr(b)})};
v0.\u0275fac=function(a){return new (a||v0)(C(SG),C(AF),C(oI),C(KF))};
v0.\u0275cmp=Gc({type:v0,selectors:[["hotlist-archive-btn"]],inputs:{id:["hotlistId","id"]},features:[bf,Zc],decls:4,vars:7,consts:[["mat-button","",1,"gmat-button","medium",3,"disabled","matTooltip","click"]],template:function(a,b){a&1&&(G(0,"button",0),M("click",function(){return j_c(b)}),S(1,"async"),R(2),S(3,"async"),H());if(a&2){var c;F("disabled",b.isThinking(b.id))("matTooltip",null!==(c=T(1,3,b.archiveActionTooltip$))&&void 0!==c?c:"");z(2);Df(" ",T(3,5,b.archiveActionLabel$)," ")}},dependencies:[Jz,
LB,kw],encapsulation:2});var w0=function(a,b,c,d,e,g,h,l,q,x,A,B,K,N,P){H_.call(this,a,b,c,d,e,g,h,l,q,x,A,N,P);this.estadoService=B;this.refreshMonitor=K;this.init=new Gv;this.onRefresh=new Gv;this.isHotlistAdmin=!1;this.onExportCsv=new Gv;this.showHotlistButtons=!1;this.isNonPublicSession=this.activeSession.isNonPublicSession();a=this.estadoService;this.enableEstadoInAppBar=a.enableEstado&&!a.currentTracker.inTracker;this.enableBulkEditUi=UD(this.activeSession,"enableBulkEditUi");this.controllerName="gridControls"};
U(w0,H_);w0.\u0275dir=H_.\u0275dir;f=w0.prototype;f.ngOnInit=function(){this.init.emit(this)};f.ngOnChanges=function(a){var b=this;a.grid&&this.grid&&d_c(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 k_c=function(a){return a.hasSelectedIssues()&&a.isNonPublicSession};w0.\u0275fac=function(a){return new (a||w0)(C(eF),C(cH,2),C(gs),C(gH),C(CL),C(BI),C(FT),C(qI),C(nZ),C(Wz),C(FF),C(b0),C(jH),C(GO),C(uI))};
w0.\u0275cmp=Gc({type:w0,selectors:[["b-grid-controls"]],inputs:{grid:"grid",isHotlistAdmin:"isHotlistAdmin",currentHotlistId:"currentHotlistId",showHotlistButtons:"showHotlistButtons"},outputs:{init:"init",onRefresh:"onRefresh",onExportCsv:"onExportCsv"},features:[Gf([cH]),bf,Zc],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&&(G(0,"b-button",0),M("onAction",function(){return b.refresh()}),I(1,"b-icon",1),H(),Q(2,eab,2,4,"b-app-bar-bulk-edit-menus",2),Q(3,fab,1,2,"b-copy-issue-id-button",3),Q(4,gab,2,2,"div",4),Q(5,jab,3,2,"ng-container",
5),Q(6,lab,3,3,"b-button",6),G(7,"b-app-bar-more-menu",7),M("exportCsvClicked",function(){return b.onExportCsv.emit()})("flagAsSpamClicked",function(){return bZc(b)}),H(),G(8,"b-state-modal",8),M("save",function(){return $Yc(b)})("close",function(){return b.hotkeys.unpause()}),H(),Q(9,qab,11,6,"ng-template",null,9,Zf));a&2&&(z(2),F("ngIf",b.hasSelectedIssues()),z(1),F("ngIf",b.hasSelectedIssues()),z(1),F("ngIf",b.enableBulkEditUi&&b.hasSelectedIssues()),z(1),F("ngIf",b.showHotlistButtons&&!b.hasSelectedIssues()),
z(1),F("ngIf",b.enableEstadoInAppBar),z(1),F("showExportCsv",b.isNonPublicSession)("showFlagIssuesAsSpam",k_c(b)),z(1),F("externalWarnings",b.externalWarnings))},dependencies:[gX,fX,PO,x_,dw,ew,hO,kZ,v0,u0,F_,AM,Jz,Xz,Yz,Zz,$z,y_,xR,kw],styles:["[_nghost-%COMP%] { display: flex; align-items: center; }"]});var l_c=["multiUserInput"],x0=function(a,b,c,d,e,g){WD.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 Gv(!0);this.includeViewAliases=this.includeAliases=!1;this.maxUserAllowed=-1;this.customValidators={};this.detailedUserValidators={};this.ariaLabel="";this.isValid=new Gv;this.typedText="";this.items=[];this.chipifyFn=function(){m_c(h)};this.additionalContactsFn=function(){return n_c(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=""}))};U(x0,WD);x0.\u0275dir=WD.\u0275dir;
x0.prototype.ngOnInit=function(){var a=this;this.validators=Object.assign({},{validateGaia:function(b,c){return o_c(c)},validateInternalAccessLevel:function(b,c){return p_c(a,c)},validateExternalAccessLevel:function(b,c){return q_c(a,c)}},this.customValidators)};x0.prototype.ngOnChanges=function(a){if(a.users||a.containerChips)this.items=r_c(this,this.users),y0(this)};
var y0=function(a){var b=[].concat(Vc(a.items)),c=s_c(b),d=t_c(b);b=a.validate(c,d,b);a.isValid.emit(b);a.users&&Mh(a.users,c)||(a.users=c,b&&a.usersChange.emit(c))};
x0.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 tab=function(a){!a.isWidgetDisabled()&&u_c(a)&&(a.isFocused=!0,a.textInputElement.nativeElement.focus())},rab=function(a){Ep(a,a.selectedChipIndex)&&(a.items[a.selectedChipIndex].isSelected=!1);a.selectedChipIndex=-1};x0.prototype.isWidgetDisabled=function(){return this.$element.classList.contains("disabled")||!!this.$element.hasAttribute("disabled")};var u_c=function(a){var b,c;return 0>a.maxUserAllowed||(null!=(c=null==(b=a.users)?void 0:b.length)?c:0)<a.maxUserAllowed};
x0.prototype.removeItem=function(a){this.isWidgetDisabled()||!Ep(this,a)||this.items[a].isReadonly||(rab(this),this.items.splice(a,1),y0(this))};x0.prototype.setAccessLevel=function(a){this.accessLevel=a};
var n_c=function(a){return v_c(a).map(function(b){return{text:Fqa(b),id:a.accessPolicyConverter.accessPolicyPrincipalToString({alias:b})}})},v_c=function(a){if(!a.includeAliases||Jac(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},m_c=function(a){setTimeout(function(){a.typedText&&fa(a.typedText,",")&&uab(a,a.typedText.split(",")[0].trim())})},uab=function(a,
b){b&&(b=Fwc.test(b)?w_c(a,b):x_c(a,b),a.items.push(b));a.typedText="";y0(a)},Ep=function(a,b){return 0<=b&&b<a.items.length},w_c=function(a,b){var c=void 0===c?!1:c;var d=Tqa(b);if(void 0===d.alias)throw Error("Dd`"+b);b=d.alias;d=Fqa(b);return new z0("ALIAS",b,d,null,c,a)},y_c=function(a,b){b=mn(b);var c=new z0("GROUP",b,b,null,!1,a);LI(a.principalTypes,b,!0).then(function(d){c.detailedUserType=d.detailedUserType;y0(a)});return c},z_c=function(a,b){var c=void 0===c?!1:c;b=mn(b);var d=new z0("USER",
b,b,null,c,a);LI(a.principalTypes,b,!0).then(function(e){d.detailedUserType=e.detailedUserType;y0(a)});return d},x_c=function(a,b){var c=void 0===c?!1:c;b=mn(b);var d=new z0("PRINCIPAL_TYPE_UNSPECIFIED",b,b,null,c,a);LI(a.principalTypes,b,!0).then(function(e){d.principalType=e.principalType;d.detailedUserType=e.detailedUserType;y0(a)});return d},A_c=function(a,b,c){return new z0("PRINCIPAL_TYPE_UNSPECIFIED","",b,c,!0,a)};x0.prototype.getAccessLevel=function(){return this.accessLevel};
x0.prototype.getAppName=function(){return this.activeSession.getAppName()};x0.prototype.onKeyDown=function(a){8===a.keyCode?Ep(this,this.selectedChipIndex)?(Ep(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?Ep(this,this.selectedChipIndex)&&Ep(this,this.selectedChipIndex)&&this.removeItem(this.selectedChipIndex):tab(this)};
var r_c=function(a,b){b=(b||[]).map(function(d){return B_c(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 A_c(a,d.displayText,d.values.map(function(e){return B_c(a,e)}))});return[].concat(Vc(c),Vc(b))}return b},B_c=function(a,b){var c=b.split(":");if(2!==c.length)throw Error("oe`"+b);var d=c[0];if("USER"!==d&&"GROUP"!==d&&"ALIAS"!==d)throw Error("oe`"+b);return"ALIAS"===d?w_c(a,b):
"USER"===d?z_c(a,c[1]):y_c(a,c[1])},s_c=function(a){return(a||[]).filter(function(b){return"PRINCIPAL_TYPE_UNSPECIFIED"!==b.principalType}).map(function(b){return b.principalType+":"+b.value})},t_c=function(a){return(a||[]).filter(function(b){return"NO_DETAILED_TYPE"!==b.detailedUserType}).map(function(b){return b.detailedUserType+":"+b.value})},o_c=function(a){return!a.some(function(b){return b.isNonGaiaChip()})},p_c=function(a,b){return"INTERNAL"!==a.accessLevel?!0:!b.some(function(c){return c.isInternalAccessViolated()})},
q_c=function(a,b){return"EXTERNAL_PARTNER"!==a.accessLevel?!0:!b.some(function(c){return c.isExternalPartnerAccessViolated()})};x0.\u0275fac=function(a){return new (a||x0)(C(vd),C(tQ),C(KI),C(gs),C(nI),C(KF))};
x0.\u0275cmp=Gc({type:x0,selectors:[["b-multi-user-input"]],viewQuery:function(a,b){a&1&&Uf(l_c,5);if(a&2){var c;Tf(c=Wf())&&(b.textInputElement=c.first)}},hostBindings:function(a,b){a&1&&M("keydown",function(c){return b.onKeyDown(c)})},inputs:{users:"users",containerChips:"containerChips",accessLevel:"accessLevel",includeAliases:"includeAliases",idForInputBox:"idForInputBox",includeViewAliases:"includeViewAliases",maxUserAllowed:"maxUserAllowed",customValidators:"customValidators",detailedUserValidators:"detailedUserValidators",
ariaLabel:"ariaLabel"},outputs:{usersChange:"usersChange",isValid:"isValid"},features:[bf,Zc],decls:11,vars:11,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&&(G(0,"div",0),M("click",function(){return tab(b)}),G(1,"div"),Q(2,
sab,2,9,"div",1),Q(3,vab,2,5,"input",2),H()(),G(4,"div",3),Q(5,wab,4,1,"span",4),Q(6,xab,2,0,"span",4),Q(7,yab,2,0,"span",4),Q(8,zab,2,0,"span",4),Q(9,Aab,2,0,"span",4),Q(10,Bab,2,0,"span",4),H());a&2&&(qf("focused",b.isFocused),z(2),F("ngForOf",b.items),z(1),F("ngIf",u_c(b)),z(1),gf("aria-hidden",0===b.violations.size),z(1),F("ngIf",b.violations.has("noRestrictedPlusGroups")),z(1),F("ngIf",b.violations.has("validateGaia")),z(1),F("ngIf",b.violations.has("validateInternalAccessLevel")),z(1),F("ngIf",
b.violations.has("validateExternalAccessLevel")),z(1),F("ngIf",b.violations.has("sloLeadNotUser")),z(1),F("ngIf",b.violations.has("sloLeadNotGoogler")))},styles:[".bv2-multi-user-embedded-input[_ngcontent-%COMP%]{background-color:rgba(0,0,0,0);color:#202124;color:var(--text-high-contrast)}.bv2-multi-user-input[_ngcontent-%COMP%]{border:1px solid;border-color:#dadce0;border-color:var(--divider);border-radius:1px;cursor:text;min-height:27px;padding:6px;width:600px}.bv2-multi-user-input[_ngcontent-%COMP%]:hover{box-shadow:inset 0px 1px 2px rgba(0,0,0,.1)}.bv2-multi-user-input.focused[_ngcontent-%COMP%]{box-shadow:inset 0px 1px 2px rgba(0,0,0,.3);border-color:#1a73e8;border-color:var(--primary)}.bv2-multi-user-input[_ngcontent-%COMP%]   input.bv2-multi-user-embedded-input[_ngcontent-%COMP%]{border:0;display:inline-block;height:24px;min-width:100px;max-width:500px;width:auto;outline:none;padding-left:5px}.bv2-multi-user-input[_ngcontent-%COMP%]   .bv2-user-chip[_ngcontent-%COMP%]{cursor:default;display:inline-block;font-size:.8125rem;padding:3px;padding-top:2px;vertical-align:top}.ng-invalid[_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%]{border-color:#c5221f;border-color:var(--bad-high-contrast)}[disabled][_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%], .disabled[_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%]{border-color:#dadce0;border-color:var(--divider);color:#5f6368;color:var(--text-muted);cursor:initial}[disabled][_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%]   input.bv2-multi-user-embedded-input[disabled][_ngcontent-%COMP%], .disabled[_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%]   input.bv2-multi-user-embedded-input[disabled][_ngcontent-%COMP%]{background-color:#fff;background-color:var(--surface-default);display:none}[disabled][_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%]   .bv2-user-chip[_ngcontent-%COMP%]   span.bv2-user-chip-item[_ngcontent-%COMP%]   .user-chip-x[_ngcontent-%COMP%], .disabled[_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%]   .bv2-user-chip[_ngcontent-%COMP%]   span.bv2-user-chip-item[_ngcontent-%COMP%]   .user-chip-x[_ngcontent-%COMP%]{display:none}.disabled[_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%]:hover, [disabled][_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%]:hover{border-color:#dadce0;border-color:var(--divider);box-shadow:none}.bv2-multi-user-errors[_ngcontent-%COMP%]{color:#ea4335;color:var(--bad);font-size:.8125rem;line-height:18px;margin:0 0 1em;padding:9px 0}/*# sourceMappingURL=multi_user_input.css.map */"]});
var z0=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=z0.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("pe`"+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 C_c=function(a){return{displayText:"Admins",values:a}},D_c=function(a){return[a]},E_c=function(a){return{displayText:"Appenders",values:a}},F_c=fn("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?"),A0=function(a,b,c,d,e,g,h,l,q){WD.call(this);var x=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 E.ReplaySubject(1);this.idSubject$=Um(this.id$.pipe(Te(this.destroyed$)));this.acl$=this.id$.pipe(Se(function(A){return x.hotlistAccessPolicyFridge.watchOne(A)}));this.latestCompactPolicy={};this.admins=[];this.appenders=[];this.readers=[];this.accessControlLink=Qhc(this.links);this.validity={};this.isValid=function(){return Object.values(x.validity).every(Boolean)};this.isInvalid=function(){return!x.isValid()};
this.allAppenders=[];this.onPressSave=function(){x.isRevokingAdmin()?x.dialog.open({title:"Change Hotlist Admins",content:F_c,isDestructive:!0,onConfirm:x.doSave}):x.doSave()};this.doSave=function(){var A=x.idSubject$.value;if(null!=A){var B=x.isRevokingAdmin();A={id:A,admins:Uqa(x.admins),appenders:Uqa(x.appenders),editors:null,readers:Uqa(x.readers),implicitAccess:null,restrictedReaders:null,restrictedPlusReaders:null,inheritedAdmins:null,implicitAppenders:null,implicitEditors:null,implicitReaders:null};
x.hotlistAccessPolicyFridge.save(A).subscribe({next:x.didSave(B,A.id),error:x.gotErr})}};this.didSave=function(A,B){return function(){x.snackBar.open("Access control saved",void 0,{duration:2500});x.events.hotlistChanged.next();x.permissions.poke(B);A&&x.doStar()}};this.gotErr=function(A){x.snackBar.open(Rl(A)||"Error saving the hotlist access policy","close",{panelClass:"error"})};this.doStar=function(){var A=x.idSubject$.value;if(A){var B=x.activeSession.getUserEmail();x.userApi.saveFavorite({resourceType:"HOTLIST",
resourceId:A,userLogin:B}).then(function(){x.events.hotlistChanged.next()})}};this.onPressRevert=function(){x.resetEdits()};this.gotAcl=function(A){x.latestPolicy=A;var B,K,N;x.latestCompactPolicy={admins:ui(null==(B=x.latestPolicy)?void 0:B.admins),appenders:ui(null==(K=x.latestPolicy)?void 0:K.appenders),readers:ui(null==(N=x.latestPolicy)?void 0:N.readers)};x.resetEdits()};this.isChanged=function(){var A=x.latestCompactPolicy,B;if(!Mh(null!=(B=A.admins)?B:[],x.admins))return!0;var K;if(!Mh(null!=
(K=A.appenders)?K:[],x.appenders))return!0;var N;return Mh(null!=(N=A.readers)?N:[],x.readers)?!1:!0};this.hasNoChanges=function(){return!x.isChanged()};this.acl$.pipe(Te(this.destroyed$)).subscribe(this.gotAcl);this.subscriptions.add(SO(e,this.isChanged,!1))};U(A0,WD);A0.\u0275dir=WD.\u0275dir;var G_c=function(a){return[].concat(Vc(new Set([].concat(Vc(a.admins),Vc(a.appenders)))))};A0.prototype.ngOnChanges=function(a){(a=a.hotlistId)&&this.id$.next(a.currentValue)};
A0.prototype.resetEdits=function(){var a;this.admins=[].concat(Vc(null!=(a=this.latestCompactPolicy.admins)?a:[]));var b;this.appenders=[].concat(Vc(null!=(b=this.latestCompactPolicy.appenders)?b:[]));var c;this.readers=[].concat(Vc(null!=(c=this.latestCompactPolicy.readers)?c:[]));this.allAppenders=G_c(this)};A0.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)};
A0.prototype.isRevokingDirectAdmin=function(a,b,c){c=void 0===c?"":c;if(Kua(a,b))return!1;c="USER:"+c;b=b.includes(c);a=!a.includes(c);return b&&a};A0.\u0275fac=function(a){return new (a||A0)(C(YF),C(nI),C(AF),C(KF),C(RO),C(oI),C(tH),C(OG),C(gs))};
A0.\u0275cmp=Gc({type:A0,selectors:[["b-edit-hotlist-acl"]],inputs:{hotlistId:"hotlistId",isReadOnly:"isReadOnly"},features:[bf,Zc],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&&(G(0,"form",0)(1,"label"),R(2,"Admins"),H(),G(3,"p",1),R(4,"Edit access controls, edit name and description, reorder hotlist, add/remove issues"),H(),G(5,"b-multi-user-input",2),M("usersChange",function(c){b.admins=c;b.allAppenders=G_c(b)})("isValid",
function(c){return b.validity.admins=c}),H(),G(6,"label"),R(7,"View and append"),H(),G(8,"p",1),R(9,"Reorder hotlist, add/remove issues"),H(),G(10,"b-multi-user-input",3),M("usersChange",function(c){b.appenders=c;b.allAppenders=G_c(b)})("isValid",function(c){return b.validity.appenders=c}),H(),G(11,"label"),R(12,"View only"),H(),G(13,"p",1),R(14,"View the hotlist"),H(),G(15,"b-multi-user-input",4),M("usersChange",function(c){b.readers=c})("isValid",function(c){return b.validity.readers=c}),H()(),
G(16,"p"),R(17," Users can see which issues are in a hotlist, even when they don't have view access to the hotlist. See "),G(18,"a",5),R(19,"access control documentation"),H(),R(20," for an explanation of the settings.\n"),H(),Q(21,Cab,5,4,"div",6));a&2&&(z(5),qf("disabled",b.isReadOnly),F("users",b.admins),z(5),qf("disabled",b.isReadOnly),F("users",b.appenders)("includeAliases",!0)("containerChips",Jf(18,D_c,Jf(16,C_c,b.admins))),z(5),qf("disabled",b.isReadOnly),F("users",b.readers)("includeAliases",
!0)("includeViewAliases",!0)("containerChips",Jf(22,D_c,Jf(20,E_c,b.allAppenders))),z(3),F("href",b.accessControlLink,Md),z(3),F("ngIf",!b.isReadOnly))},dependencies:[ew,Mw,Gw,Jw,Jz,LB,x0],styles:["[_nghost-%COMP%] {\n      display: block;\n      max-width: 600px;\n      padding: 16px; \n\n    }\n    label[_ngcontent-%COMP%] {\n      font-weight: bold;\n      line-height: 2em;\n    }"]});var H_c=["hotlistName"],B0=function(a,b,c,d){WD.call(this);var e=this;this.fridge=a;this.snackBar=b;this.events=c;this.isReadOnly=!1;this.id$=new E.ReplaySubject(1);this.hotlist$=this.id$.pipe(Se(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(Rl(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!Mh(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(Te(this.destroyed$)).subscribe(function(g){e.gotHotlist(g)});this.subscriptions.add(SO(d,
this.isChanged,!1))};U(B0,WD);B0.\u0275dir=WD.\u0275dir;B0.prototype.ngAfterViewInit=function(){var a=this;setTimeout(function(){var b;null==(b=a.hotlistName)||b.nativeElement.focus()})};B0.prototype.ngOnChanges=function(a){(a=a.hotlistId)&&this.id$.next(a.currentValue)};B0.prototype.resetEdits=function(a){var b;this.localEdits=null!=(b=Nh(a))?b:{}};B0.\u0275fac=function(a){return new (a||B0)(C(SG),C(AF),C(KF),C(RO))};
B0.\u0275cmp=Gc({type:B0,selectors:[["b-edit-hotlist-basic"]],viewQuery:function(a,b){a&1&&Uf(H_c,5);if(a&2){var c;Tf(c=Wf())&&(b.hotlistName=c.first)}},inputs:{hotlistId:"hotlistId",isReadOnly:"isReadOnly"},features:[bf,Zc],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&&(G(0,"form",0)(1,"label",1),R(2,"Name"),H(),G(3,"input",
2,3),M("ngModelChange",function(c){return b.localEdits.name=c}),H(),G(5,"label",4),R(6,"Description"),H(),G(7,"textarea",5),M("ngModelChange",function(c){return b.localEdits.description=c}),R(8,"  "),H(),Q(9,Dab,7,7,"div",6),H());a&2&&(z(3),F("disabled",b.isReadOnly||b.isArchived)("ngModel",b.localEdits.name),z(4),F("disabled",b.isReadOnly||b.isArchived)("ngModel",b.localEdits.description),z(2),F("ngIf",!b.isReadOnly))},dependencies:[ew,Mw,og,Fw,Gw,Ww,Lw,Jw,Jz,LB,v0,kw],styles:["[_nghost-%COMP%]{display:block;max-width:600px;padding:16px}label[_ngcontent-%COMP%]{font-weight:bold;line-height:2em}textarea[_ngcontent-%COMP%]{min-height:150px;resize:vertical}input.ng-invalid[_ngcontent-%COMP%], input.ng-invalid.ng-touched[_ngcontent-%COMP%]:not(.mat-input-element){border:1px solid;border-color:#ea4335;border-color:var(--bad)}/*# sourceMappingURL=edit_hotlist_basic.css.map */"]});var C0=function(a,b){WD.call(this);var c=this;this.hotlists=a;this.acls=b;this.id$=new E.ReplaySubject(1);this.hotlist$=this.id$.pipe(Se(function(d){return c.hotlists.watchOne(d)}))};U(C0,WD);C0.\u0275dir=WD.\u0275dir;C0.prototype.isThinking=function(a){var b=a?"hotlists/"+a:void 0;return this.hotlists.isThinking(a)||this.acls.isThinking(b)};C0.prototype.ngOnChanges=function(a){(a=a.id)&&this.id$.next(a.currentValue)};C0.\u0275fac=function(a){return new (a||C0)(C(SG),C(YF))};
C0.\u0275cmp=Gc({type:C0,selectors:[["b-edit-hotlist-header"]],inputs:{id:["hotlistId","id"]},features:[bf,Zc],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&&(G(0,"header",0)(1,"h2")(2,"span",1),R(3),H(),Q(4,Eab,2,1,"ng-container",2),S(5,"async"),H(),Q(6,Fab,2,0,"strong",3),S(7,"async"),Q(8,Gab,1,0,"b-spinner",2),H());if(a&2){var c;z(3);Df(" Hotlist ",b.id,
": ");z(1);F("ngIf",T(5,4,b.hotlist$));z(2);F("ngIf",null==(c=T(7,6,b.hotlist$))?null:c.archived);z(2);F("ngIf",b.isThinking(b.id))}},dependencies:[ew,sL,kw],styles:["[_nghost-%COMP%] {\n      display: block;\n    }"]});var D0=function(a){WD.call(this);this.activeSession=a;this.URLS=Sr;this.id$=new E.ReplaySubject(1);this.enableBulkEditUi=UD(this.activeSession,"enableBulkEditUi")};U(D0,WD);D0.\u0275dir=WD.\u0275dir;D0.prototype.ngOnChanges=function(a){(a=a.id)&&this.id$.next(a.currentValue)};D0.prototype.onPressBack=function(){var a;null==(a=window.history)||a.back()};D0.\u0275fac=function(a){return new (a||D0)(C(gs))};
D0.\u0275cmp=Gc({type:D0,selectors:[["b-edit-hotlist-toolbar"]],inputs:{id:["hotlistId","id"]},features:[bf,Zc],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&&(G(0,"section",0)(1,"b-button",1),M("onAction",function(){return b.onPressBack()}),I(2,"b-icon",2),H(),G(3,"a",3),R(4," View Issues "),H(),Q(5,Hab,2,3,"hotlist-add-issue-btn",4),H());a&2&&(z(3),F("href",b.URLS.HOTLIST_VIEW(b.id),Md),z(2),F("ngIf",b.enableBulkEditUi))},dependencies:[ew,Kz,LB,PO,AM,u0,kw],styles:[".button-bar[_ngcontent-%COMP%] {\n      display: flex;\n      align-items: center;\n      height: 46px;\n      box-sizing: border-box;\n    }"]});var I_c={403:"You do not have permission to view this Hotlist.",404:"This Hotlist does not exist."},E0=function(a,b,c,d){this.routeParams=a;this.pageTitle=b;this.permissions=c;this.hotlists=d;this.id=this.routeParams.hotlistId;this.resourceId="hotlists/"+this.id;this.isAdmin$=this.permissions.watchOne(this.resourceId).pipe(D(function(e){return null==e?void 0:e.admin}));this.hotlistErrorMsg$=this.hotlists.error$.pipe(D(function(e){var g;return null!=(g=e.status)?g:-1}),D(function(e){var g;return null!=
(g=I_c[e])?g:"unknown error"}),Re(void 0));this.tabIndex=0};E0.prototype.ngOnInit=function(){this.pageTitle.setTitle("Edit Hotlist "+this.id);window.location.hash.includes("access")&&(this.tabIndex=1)};E0.\u0275fac=function(a){return new (a||E0)(C(RI),C(TU),C(tH),C(SG))};
E0.\u0275cmp=Gc({type:E0,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&&(Q(0,Jab,13,14,"ng-container",0),S(1,"async"),Q(2,Kab,7,1,"ng-container",0),S(3,"async"));a&2&&(F("ngIf",void 0===T(1,2,b.hotlistErrorMsg$)),z(2),F("ngIf",T(3,
4,b.hotlistErrorMsg$)))},dependencies:[ew,nM,mM,sM,WN,A0,B0,C0,D0,kw],encapsulation:2});var F0=function(){};F0.\u0275fac=function(a){return new (a||F0)};F0.\u0275cmp=Gc({type:F0,selectors:[["b-error-banner"]],inputs:{error:"error"},decls:1,vars:1,consts:[["messageType","error",4,"ngIf"],["messageType","error"]],template:function(a,b){a&1&&Q(0,Lab,3,1,"b-callout",0);a&2&&F("ngIf",b.error)},dependencies:[ew,mX,nX],encapsulation:2});var G0=function(){};G0.\u0275fac=function(a){return new (a||G0)};G0.\u0275mod=Ic({type:G0});G0.\u0275inj=rc({imports:[tF,yX]});var H0=function(a){this.activeSession=a;this.sessionIsExternal=a.isExternalSession()};H0.prototype.shouldShowLinks=function(){return!this.sessionIsExternal&&!!en(this.email)};H0.prototype.getName=function(){return void 0===this.email?"":this.email.split("@")[0]};H0.\u0275fac=function(a){return new (a||H0)(C(gs))};
H0.\u0275cmp=Gc({type:H0,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&&(xf(),Q(0,Rab,17,5,"ng-container",0),Q(1,Sab,1,0,"ng-template",null,1,Zf));if(a&2){var c=Cf(2);F("ngIf",!!en(b.email))("ngIfElse",c)}},dependencies:[ew,jw,uA,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}/*# sourceMappingURL=group_email_card.css.map */"]});
var I0=function(){};I0.\u0275fac=function(a){return new (a||I0)};I0.\u0275mod=Ic({type:I0});I0.\u0275inj=rc({imports:[tF,DM]});var Rka=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}},J0=function(a){WD.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 Gv;this.chipClear=new Gv;this.chipRemove=new Gv};U(J0,WD);
J0.\u0275dir=WD.\u0275dir;f=J0.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("pe`"+this.value);}};
var J_c=function(a){if(a.isGroupChip())return"group";if(a.isDomainChip())return"acl-alias-domain";if(a.isPublicChip())return"public"};J0.\u0275fac=function(a){return new (a||J0)(C(gs))};
J0.\u0275cmp=Gc({type:J0,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:[bf],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&&(G(0,"span",0),M("focus",function(){return b.chipSelection.emit()})("blur",function(){return b.chipClear.emit()}),G(1,"span",1),Q(2,Uab,1,1,"mat-icon",2),H(),G(3,"div",3),Q(4,Vab,2,2,"b-person-hovercard",4),Q(5,Wab,2,2,"b-group-email-card",4),Q(6,Xab,2,1,"div",5),H(),Q(7,Yab,2,2,"div",6),Q(8,
$ab,7,1,"div",7),H());a&2&&(F("ngClass",Ska(b.isExternalChip(),b.isNonGaiaChip(),b.isInternalAccessViolated()||b.isExternalPartnerAccessViolated(),b.isContainerChip(),b.isSelected,b.isReadonly))("matTooltip",b.getTooltip()),z(2),F("ngIf",J_c(b)),z(2),F("ngIf",b.isUserChip()),z(1),F("ngIf",b.isGroupChip()),z(1),F("ngIf",!b.isUserChip()&&!b.isGroupChip()),z(1),F("ngIf",!b.isReadonly&&!b.isWidgetDisabled),z(1),F("ngIf",b.isContainerChip()))},dependencies:[cw,dw,ew,uA,LB,RJ,H0,J0],styles:["span.bv2-user-chip-item[_ngcontent-%COMP%]{background-color:#f8f9fa;background-color:var(--button-bg);border:1px solid;border-color:#dadce0;border-color:var(--divider);border-radius:3px;display:block;height:20px;white-space:nowrap}span.bv2-user-chip-item[_ngcontent-%COMP%]   .alias-icon[_ngcontent-%COMP%] > mat-icon[_ngcontent-%COMP%]{width:18px;height:20px;margin-left:3px;margin-right:-3px;opacity:.6}span.bv2-user-chip-item[_ngcontent-%COMP%]   .user-chip-name[_ngcontent-%COMP%]{display:inline-block;line-height:16px;margin:2px 5px;max-width:550px;overflow:hidden;text-overflow:ellipsis}span.bv2-user-chip-item[_ngcontent-%COMP%]   .user-chip-x[_ngcontent-%COMP%]{cursor:pointer;display:inline-block}span.bv2-user-chip-item[_ngcontent-%COMP%]   .user-chip-x[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{width:16px;height:20px;opacity:.6;margin-left:-3px;margin-right:2px}span.bv2-user-chip-item[_ngcontent-%COMP%]   .bv2-user-chip-nested-content-container[_ngcontent-%COMP%]{margin-top:10px;position:relative;white-space:normal}span.bv2-user-chip-item[_ngcontent-%COMP%]   .bv2-user-chip-nested-content-container[_ngcontent-%COMP%] > .bv2-user-chip-nested-content[_ngcontent-%COMP%]{position:absolute;width:600px}span.bv2-user-chip-item[_ngcontent-%COMP%]   .bv2-user-chip-nested-content-container[_ngcontent-%COMP%] > .bv2-user-chip-nested-content[_ngcontent-%COMP%] > .jfk-bubble[_ngcontent-%COMP%]{z-index:900 !important;padding:10px}span.bv2-user-chip-item[_ngcontent-%COMP%]   .bv2-user-chip-nested-content-container[_ngcontent-%COMP%] > .bv2-user-chip-nested-content[_ngcontent-%COMP%] > .jfk-bubble[_ngcontent-%COMP%] > .bv2-user-chip[_ngcontent-%COMP%] > span.bv2-user-chip-item[_ngcontent-%COMP%]:active{border-color:#3c4043;border-color:var(--gfx)}span.bv2-user-chip-item[_ngcontent-%COMP%]   .bv2-user-chip-nested-content-container[_ngcontent-%COMP%] > .bv2-user-chip-nested-content[_ngcontent-%COMP%] > .jfk-bubble[_ngcontent-%COMP%] > .jfk-bubble-arrow[_ngcontent-%COMP%] > .jfk-bubble-arrowimplbefore[_ngcontent-%COMP%]{left:-1px}span.bv2-user-chip-item[_ngcontent-%COMP%]   .bv2-user-chip-nested-content-container[_ngcontent-%COMP%] > .bv2-user-chip-nested-content[_ngcontent-%COMP%] > .jfk-bubble[_ngcontent-%COMP%] > .jfk-bubble-arrow[_ngcontent-%COMP%] > .jfk-bubble-arrowimplafter[_ngcontent-%COMP%]{left:0}span.bv2-user-chip-item.selected[_ngcontent-%COMP%]   .bv2-user-chip-nested-content[_ngcontent-%COMP%], span.bv2-user-chip-item[_ngcontent-%COMP%]:hover:not(.selected)   .bv2-user-chip-nested-content[_ngcontent-%COMP%], span.bv2-user-chip-item.selected[_ngcontent-%COMP%]:not(:hover)   .bv2-user-chip-nested-content[_ngcontent-%COMP%]{display:block}span.bv2-user-chip-item[_ngcontent-%COMP%]:not(.selected)   .bv2-user-chip-nested-content[_ngcontent-%COMP%], span.bv2-user-chip-item[_ngcontent-%COMP%]:not(:hover)   .bv2-user-chip-nested-content[_ngcontent-%COMP%]{display:none}span.bv2-user-chip-item[_ngcontent-%COMP%]:active, span.bv2-user-chip-item.selected[_ngcontent-%COMP%], span.bv2-user-chip-item.selected[_ngcontent-%COMP%]:hover, span.bv2-user-chip-item.selected[_ngcontent-%COMP%]:active, span.bv2-user-chip-item.readonly[_ngcontent-%COMP%]:active, span.bv2-user-chip-item.readonly.selected[_ngcontent-%COMP%], span.bv2-user-chip-item.readonly.selected[_ngcontent-%COMP%]:hover, span.bv2-user-chip-item.readonly.selected[_ngcontent-%COMP%]:active{border-color:#1a73e8;border-color:var(--primary)}span.bv2-user-chip-item.readonly[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted)}span.bv2-user-chip-item.readonly[_ngcontent-%COMP%]   .user-chip-x[_ngcontent-%COMP%]{display:none}span.bv2-user-chip-item.bv2-user-chip-external[_ngcontent-%COMP%]{background-color:#fbe983;background-color:var(--public-bg)}span.bv2-user-chip-item.bv2-user-chip-non-gaia[_ngcontent-%COMP%]{border:1px dashed;border-color:#ea4335;border-color:var(--bad)}span.bv2-user-chip-item.bv2-user-chip-not-accessible[_ngcontent-%COMP%]{border:1px solid;border-color:#ea4335;border-color:var(--bad)}span.bv2-user-chip-item.bv2-user-chip-container[_ngcontent-%COMP%]{cursor:pointer}span.bv2-user-chip-item.bv2-user-chip-container[_ngcontent-%COMP%] > .user-chip-name[_ngcontent-%COMP%]{border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider);border-style:dashed;height:14px}/*# sourceMappingURL=contact_chip.css.map */"]});var K0=function(){};K0.\u0275fac=function(a){return new (a||K0)};K0.\u0275mod=Ic({type:K0});K0.\u0275inj=rc({imports:[tF,$w,JC,MM,I0,hJ,tR,pZ]});vea(x0,[dw,ew,og,Fw,Lw,sR,oZ,J0]);var L0=function(){};L0.\u0275fac=function(a){return new (a||L0)};L0.\u0275mod=Ic({type:L0});L0.\u0275inj=rc({providers:[{provide:Tnc,useValue:{enabled:!0}}],imports:[tF,$w,iC,JC,rM,aS,zF,$M,WM,ZM,G0,K0,ZN]});var M0=function(){};M0.\u0275fac=function(a){return new (a||M0)};M0.\u0275mod=Ic({type:M0});M0.\u0275inj=rc({imports:[iX,aS,P_,tF,mO,mZ,L0,S_,WM,iC,aA,JC,R_,Q_]});var N0=function(a,b,c,d,e){WD.call(this);this.element=a;this.bLocation=b;this.paths=c;this.hotkeys=d;this.cdr=e;this.focusedIndex=0;this.convertUserToString=ei;this.hotlists=[];this.registerKeys()};U(N0,WD);N0.\u0275dir=WD.\u0275dir;f=N0.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=DL(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))};
N0.\u0275fac=function(a){return new (a||N0)(C(vd),C(uG),C(vG),C(CL),C(cH,2))};
N0.\u0275cmp=Gc({type:N0,selectors:[["b-hotlist-grid"]],inputs:{hotlists:"hotlists"},features:[Gf([cH]),bf],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&&(G(0,"table",0)(1,"thead")(2,"tr",1),I(3,"th",2),G(4,"th")(5,"div",3)(6,"div",4)(7,"div",5),R(8," Hotlist name "),H()()()(),G(9,"th")(10,"div",3)(11,"div",4)(12,"div",5),R(13," Description "),H()()()(),G(14,"th")(15,
"div",3)(16,"div",4)(17,"div",5),R(18," Admins "),H()()()(),G(19,"th")(20,"div",3)(21,"div",4)(22,"div",5),R(23," ID "),H()()()()()(),G(24,"tbody"),Q(25,cbb,11,9,"tr",6),H()());a&2&&(z(25),F("ngForOf",b.hotlists))},dependencies:[dw,ew],encapsulation:2});var O0=function(){};O0.\u0275fac=function(a){return new (a||O0)};O0.\u0275mod=Ic({type:O0});O0.\u0275inj=rc({imports:[tF]});var P0=function(a,b){this.bLocation=a;this.butterBar=b},K_c=function(a,b){var c=a.bLocation.search()[b];return null!=c?Array.isArray(c)?(EF(a.butterBar,"Given multiple values for parameter "+b+"; using the first."),c[0]):"boolean"===typeof c?"":c:null};P0.prototype.getCount=function(){var a=K_c(this,"c");return a?Rh(a):null};var L_c=function(a){return(a=K_c(a,"p"))?Rh(a):null};P0.prototype.getQuery=function(){return K_c(this,"q")};
P0.prototype.getDisplayColumns=function(){var a=this.bLocation.search().d;return a?(Array.isArray(a)?a:[a]).map(zk).filter(pi):null};P0.prototype.getSortColumns=function(){var a=this.bLocation.search().s;return a?(Array.isArray(a)?a:[a]).map(Uta).filter(pi):null};
var Q0=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 M_c(e)}));void 0!==b.sortColumns&&d("s",null==b.sortColumns?null:(b.sortColumns||[]).map(function(e){var g="ASCENDING"==e.direction?"asc":"desc";return M_c(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)},M_c=function(a){return a.isCustomField()?String(a.customFieldId):a.type.toLowerCase()};P0.\u0275fac=function(a){return new (a||P0)(u(uG),u(CF))};P0.\u0275prov=qc({token:P0,factory:P0.\u0275fac,providedIn:"root"});var R0=function(a,b,c){this.urlPreferences=a;this.userPreferencesManager=b;this.customFieldApi=c};R0.prototype.fetch=function(a,b){a=this.getParameters(a,void 0===b?null:b);return{searchPreferences:Bn({page:a.page,query:a.query,resultsPerPage:a.resultsPerPage,sortColumns:a.sortColumns}),displayColumns:a.displayColumns}};
R0.prototype.getParameters=function(a,b){var c=this,d=b?function(){return N_c(b)}:function(){return O_c(c)},e=b?function(){return P_c(b)}:function(){return Q_c(c)};d=Promise.resolve(this.urlPreferences.getDisplayColumns()).then(function(l){return S0(l)}).then(null,d).then(function(l){return S0(l)}).then(null,KQb(a.displayColumns)).then(function(l){return R_c(c,l)});e=Promise.resolve(this.urlPreferences.getSortColumns()).then(function(l){return S0(l)}).then(null,e).then(function(l){return S0(l)}).then(null,
KQb(a.sortColumns));var g=Promise.resolve(this.urlPreferences.getCount()).then(function(l){return S0(l)}).then(null,function(){return S_c(c)}).then(function(l){return S0(l)}).then(null,KQb(a.resultsPerPage)),h=Promise.resolve(this.urlPreferences.getQuery()).then(function(l){return S0(l)}).then(null,function(){return T_c(b,function(l){return l.query})}).then(null,KQb(a.query));a=L_c(this.urlPreferences)||a.page;return{displayColumns:d,sortColumns:e,resultsPerPage:g,query:h,page:a}};
var S0=function(a){return null==a?Promise.reject(null):a},N_c=function(a){return T_c(a,function(b){return b.displayColumn}).then(function(b){return U_c(b)})},P_c=function(a){return T_c(a,function(b){return b.sortOrder}).then(function(b){return V_c(b)})},Q_c=function(a){return(0,E.firstValueFrom)(a.userPreferencesManager.sortColumnsPreferences$).then(function(b){return S0(b)}).then(function(b){return V_c(b)})},O_c=function(a){return(0,E.firstValueFrom)(a.userPreferencesManager.displayColumnsPreferences$).then(function(b){return S0(b)}).then(function(b){return U_c(b)})},
S_c=function(a){return(0,E.firstValueFrom)(a.userPreferencesManager.preferences$.pipe(D(function(b){var c;return null!=(c=b.resultsPerPage)?c:null}))).then(function(b){return S0(b)})},T_c=function(a,b){return a?a.then(function(c){c=b(c);return null==c?Promise.reject(null):c}):Promise.reject(null)},U_c=function(a){if(!a||!a.length)return null;a=ql(a,function(b){return b.customFieldId||b.customFieldName||b.type});return a.map(function(b){return new yk({customFieldId:b.customFieldId||void 0,customFieldName:b.customFieldName||
void 0,type:"CANONICAL_ISSUE_ID"===b.type?"DUPLICATE_OF_ISSUE_ID":b.type})})},V_c=function(a){return a&&a.length?a.map(function(b){return void 0!==b.column?new Ck(new yk(b.column),b.order):new Ck(new yk(b.field),b.direction)}).filter(function(b){return"CUSTOM_FIELD"!=b.fieldId.type||null!=b.fieldId.customFieldId}):null},R_c=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 x=d[q.customFieldId];q.customFieldName=x?x:"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)};R0.\u0275fac=function(a){return new (a||R0)(u(P0),u(uI),u(NF))};R0.\u0275prov=qc({token:R0,factory:R0.\u0275fac,providedIn:"root"});var T0=function(a,b,c,d,e,g,h,l,q,x,A,B,K,N,P){WD.call(this);var Y=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=x;this.domSafe=A;this.timeout=B;this.hotkeys=K;this.appSearchState=P;this.ANALYTICS_CATEGORY="panel";this.resource=this.searchResults=this.initialSortPreferences=this.initialIssueColumns=this.displayColumns=null;this.isLoading=!1;this.page=1;this.issueColumnsInternal=[];
this.sortPreferences=[];this.last=this.first=this.isDashboardEditable=!1;this.focusedRowIndexInternal=null;this.focusedRowIndexChange=new Gv;this.resultsLoaded=new Gv;this.selectionChange=new Gv;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 X;null==(X=Y.issuesGrid)||a_c(X)}},{keys:["k"],displayAs:"k",description:"Move to the previous issue in the current panel",
onPress:function(){var X;null==(X=Y.issuesGrid)||b_c(X)}},{keys:["x"],displayAs:"x",description:"Select/Deselect the current issue",onPress:function(){var X;null==(X=Y.issuesGrid)||$Zc(X)}},{keys:["s"],displayAs:"s",description:"Star/Unstar the current issue",onPress:function(){var X;null==(X=Y.issuesGrid)||e_c(X)}},{keys:[vn("i")],displayAs:"Shift+i",description:"Mark as read",onPress:function(){var X;null==(X=Y.issuesGrid)||f_c(X,!0)}},{keys:[vn("u")],displayAs:"Shift+u",description:"Mark as unread",
onPress:function(){var X;null==(X=Y.issuesGrid)||f_c(X,!1)}},{keys:[wn("*","a")],displayAs:"* then a",description:"Select all issues in the current panel",onPress:function(){var X;null==(X=Y.issuesGrid)||X.selectAll()}},{keys:[wn("*","n")],displayAs:"* then n",description:"Deselect all issues in the current panel",onPress:function(){var X;null==(X=Y.issuesGrid)||YZc(X)}},{keys:["o","ENTER"],displayAs:"o / Enter",description:"Open the current issue",onPress:function(X){var ka=N.document.activeElement;
if(1===X&&"A"===(null==ka?void 0:ka.tagName))if(ka.href)X=Y.paths.getBaseUrl(),Th(ka.href,X)?b.url(ka.href.slice(X.length)):Y.domSafe.openInNewTab(ka.href);else{var ma;null==(ma=Y.issuesGrid)||c_c(ma)}else{var za;null==(za=Y.issuesGrid)||c_c(za)}}}];this.destroyed$.subscribe(function(){var X;null==(X=Y.unregisterHotkeys)||X.call(Y)})};U(T0,WD);T0.prototype.columnsChange=function(a){this.issueColumns=a};T0.prototype.ngOnInit=function(){this.getIssues();W_c(this)};
var W_c=function(a){var b;null==(b=a.unregisterHotkeys)||b.call(a);a.isFocused?a.unregisterHotkeys=DL(a.hotkeys,{title:"Bookmark Group Dashboard",hotkeys:a.BASE_HOTKEYS}):a.unregisterHotkeys=void 0},vbb=function(a,b){a.issuesGrid=b;d_c(a.issuesGrid,function(){var c,d={panelId:a.panel.panelId,selectedIssues:null==(c=a.issuesGrid)?void 0:c.getSelectedIssues()};a.selectionChange.emit(d)})};f=T0.prototype;
f.setSort=function(a,b,c){c=void 0===c?!0:c;var d=zk(a);if(null==d)this.$log.warn("WARNING: Invalid column name: "+a);else{var e=new Ck(d,"ASC"==b?"ASCENDING":"DESCENDING");sa(this.sortPreferences,function(g){return Mh(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):Qh(a.fieldId.type),direction:"ASCENDING"==a.direction?"ASC":"DESC"};Mh(a,this.cachedSort)||(this.cachedSort=a);return this.cachedSort};f.initColumns=function(a,b){this.displayColumns=a;this.issueColumnsInternal=[].concat(Vc(b),Vc(Z7a(a)));this.initialIssueColumns=Nh(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(){uX(this.issuePagination);this.getIssues()};f.exportCsv=function(){Vkc(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 NSc(b.issuePagination,e)});a.catch(function(e){"number"===typeof e?
b.goToPage(e):e&&b.errorHandler.errorHandler(null,e)});return Bn({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=Nh(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:X_c,sortColumns:[],query:"",resultsPerPage:25}};
f.save=function(){var a=this,b=this.issueColumns.slice((this.searchResults?this.getMetaColumns(this.searchResults):Y_c).length);b=$7a(b).map(function(c){return new yk(c)});this.resource.displayColumn=b;b=this.sortPreferences.map(function(c){return{direction:c.direction,field:c.fieldId}});this.resource.sortOrder=b;DF(this.butterBar,"Saving changes to panel...");this.saveResource().then(function(){a.initialIssueColumns=Nh(a.issueColumns);a.initialSortPreferences=Nh(a.sortPreferences);a.cdr.detectChanges()})};
f.discardChanges=function(){this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"discardChanges");this.issueColumns=[].concat(Vc(this.initialIssueColumns||[]));if(this.initialSortPreferences&&!Mh(this.initialSortPreferences,this.sortPreferences)){yaa(this.sortPreferences);var a=this.initialSortPreferences;ss(Caa,this.sortPreferences,void 0,0).apply(null,a);this.refreshResults()}};
f.hasParamChanges=function(){return this.resource&&this.isEditable()?this.initialIssueColumns&&!Mh(this.initialIssueColumns,this.issueColumns)?!0:!!this.initialSortPreferences&&!Mh(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 Y_c};
f.getSearchParams=function(a){a=Nh(a);a.resultsPerPage=10;a.page=this.page;this.sortPreferences.length&&(a.sortColumns=this.sortPreferences);a.returnUrl=this.bLocation.url();return a};
hh.Object.defineProperties(T0.prototype,{issueColumns:{configurable:!0,enumerable:!0,get:function(){return this.issueColumnsInternal},set:function(a){Mh(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&&W_c(this)},
get:function(){return this.focusedRowIndexInternal}},isFocused:{configurable:!0,enumerable:!0,get:function(){return null!==this.focusedRowIndex}}});var Y_c=[r0,s0,t0],X_c="priority type title assignee status issueId modifiedTime".split(" ").map(zk);T0.\u0275fac=function(a){return new (a||T0)(C(cH),C(uG),C(FF),C(gs),C(CF),C(gH),C(tX),C(R0),C(vG),C(GF),C(SJ),C(lF),C(CL),C(Window),C($X))};
T0.\u0275dir=Kc({type:T0,viewQuery:function(a,b){a&1&&Uf(p0,5);if(a&2){var c;Tf(c=Wf())&&(b.issuesGrid=c.first)}},inputs:{panel:"panel",isDashboardEditable:"isDashboardEditable",first:"first",last:"last",focusedRowIndex:"focusedRowIndex"},outputs:{focusedRowIndexChange:"focusedRowIndexChange",resultsLoaded:"resultsLoaded",selectionChange:"selectionChange"},features:[bf]});var U0=function(a,b){this.dialog=a;this.appEvents=b;this.last=this.first=!1};U0.prototype.removePanel=function(){var a=this;this.dialog.open({title:"Remove Item?",content:fn("Are you sure you want to remove this item? It will be removed from the bookmark group permanently."),onConfirm:function(){a.appEvents.dashboardPanels.remove.next(a.panelId)}})};U0.\u0275fac=function(a){return new (a||U0)(C(oI),C(KF))};
U0.\u0275cmp=Gc({type:U0,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&&(G(0,
"div")(1,"button",0),I(2,"mat-icon",1),H(),G(3,"mat-menu",null,2),Q(5,hbb,6,4,"ng-template",3),H()());if(a&2){var b=Cf(4);z(1);F("matMenuTriggerFor",b)}},dependencies:[ew,uA,DB,BB,CB,AB,Jz],encapsulation:2});var V0=function(){};V0.\u0275fac=function(a){return new (a||V0)};V0.\u0275mod=Ic({type:V0});V0.\u0275inj=rc({imports:[tF,EB,iC]});var W0=function(){};W0.prototype.getValue=function(){return this.row[this.column.name]||""};W0.prototype.isCustomField=function(){return this.column.isCustomField};
W0.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 Yh(a);Mh(this.customFieldValue,a)||(this.customFieldValue=a);return this.customFieldValue};W0.\u0275fac=function(a){return new (a||W0)};
W0.\u0275cmp=Gc({type:W0,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&&(Q(0,ibb,2,2,"span",0),Q(1,jbb,1,1,"b-custom-field-value-display",1));a&2&&(F("ngIf",!b.isCustomField()),z(1),F("ngIf",b.isCustomField()))},dependencies:[ew,NZ],encapsulation:2,changeDetection:0});var X0=function(){};X0.\u0275fac=function(a){return new (a||X0)};X0.\u0275mod=Ic({type:X0});X0.\u0275inj=rc({imports:[tF,JC,OZ]});vea(c0,[dw,ew,jw,h0,W0]);var Y0=function(){};Y0.\u0275fac=function(a){return new (a||Y0)};Y0.\u0275mod=Ic({type:Y0});Y0.\u0275inj=rc({imports:[tF,DM]});var Z0=function(){};Z0.\u0275fac=function(a){return new (a||Z0)};Z0.\u0275mod=Ic({type:Z0});Z0.\u0275inj=rc({imports:[tF,Y0,CM]});var a1=function(){};a1.\u0275fac=function(a){return new (a||a1)};a1.\u0275mod=Ic({type:a1});a1.\u0275inj=rc({imports:[k0,tF,EB,FS,JC,iC,aA,oz,WM,X0,qS,sS,CM,tS,hJ,MM,YS,Z0,SM,mO,ZS,MZ,DM,vO,RM,OM]});var b1=function(a,b,c){this.hotlistsApi=a;this.butterBar=b;this.appEvents=c};
b1.prototype.repositionIssue=function(a,b,c,d,e,g){var h=this,l=b[0].position,q=l>b[1].position,x=b[c],A=b[d].position;Iaa(b,c,d);null==g||g();DF(this.butterBar,"Saving...",0);return this.hotlistsApi.repositionHotlistIssue(a,x.issueId,A).then(function(){for(var B=l,K=k(b),N=K.next();!N.done;N=K.next())N.value.position=B,B+=q?-1:1;null==g||g();DF(h.butterBar,"Saved issue position.",4E3);h.appEvents.hotlistChanged.next({hotlistId:a,origin:e});return h.hotlistsApi.get(a)})};
b1.\u0275fac=function(a){return new (a||b1)(u(GG),u(CF),u(KF))};b1.\u0275prov=qc({token:b1,factory:b1.\u0275fac,providedIn:"root"});var c1=function(a){this.buttonRef=a;this.toRefocus=!1};c1.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}))};c1.\u0275fac=function(a){return new (a||c1)(C(vd))};
c1.\u0275dir=Kc({type:c1,selectors:[["button","disabled","","focusBack",""]],inputs:{disabled:"disabled"},features:[Zc]});var d1=function(){this.pageChange=new Gv;this.resultsPerPageChange=new Gv;this.resultsPerPageFixed=!1;this.resultsPerPageOptions=[10,25,50,100,250]};d1.prototype.nextPage=function(){this.searchResults&&this.pageChange.emit({page:this.searchResults.params.page+1})};var Z_c=function(a){a.searchResults&&a.pageChange.emit({page:a.searchResults.params.page-1})};
hh.Object.defineProperties(d1.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}})}}});d1.\u0275fac=function(a){return new (a||d1)};
d1.\u0275cmp=Gc({type:d1,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&&(G(0,"div",0),Q(1,kbb,1,1,"b-actions-menu",1),Q(2,lbb,6,3,"span",2),G(3,"button",3),M("click",function(){return Z_c(b)})("keydown.enter",function(c){Z_c(b);return c.stopPropagation()}),I(4,"mat-icon",4),H(),G(5,"button",5),M("click",function(){return b.nextPage()})("keydown.enter",function(c){b.nextPage();return c.stopPropagation()}),I(6,"mat-icon",6),H()());a&2&&(z(1),F("ngIf",b.searchResults&&0<b.searchResults.issues.length&&
!b.resultsPerPageFixed),z(1),F("ngIf",b.searchResults&&0<b.searchResults.issues.length),z(1),F("disabled",!(null==b.searchResults?0:b.searchResults.hasPreviousPage())),z(2),F("disabled",!(null==b.searchResults?0:b.searchResults.hasNextPage())))},dependencies:[ew,uA,Jz,rK,c1],encapsulation:2});var e1=function(){};e1.\u0275fac=function(a){return new (a||e1)};e1.\u0275mod=Ic({type:e1});e1.\u0275inj=rc({});var f1=function(){};f1.\u0275fac=function(a){return new (a||f1)};f1.\u0275mod=Ic({type:f1});f1.\u0275inj=rc({imports:[tF,iC,FR,e1]});var g1=function(a,b,c,d,e,g,h,l,q,x,A,B,K,N,P,Y,X,ka){T0.call(this,c,e,g,h,l,q,x,A,B,d,K,P,Y,X,ka);this.hotlists=a;this.hotlistApi=b;this.appEvents=N;this.resource=null};U(g1,T0);g1.\u0275dir=T0.\u0275dir;f=g1.prototype;f.ngOnInit=function(){T0.prototype.ngOnInit.call(this)};f.setSort=function(a,b){var c=this.getSort();"position"===a||c&&"position"===c.field?T0.prototype.setSort.call(this,a,b,!1):T0.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"});DF(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)});EF(this.butterBar,"Hotlist is not set at this time.");
return Promise.resolve()};f.getGridPreferencesDefaults=function(){return Object.assign({},T0.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?$_c:a0c};f.getSearchParams=function(a){a=T0.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")})};g1.\u0275fac=function(a){return new (a||g1)(C(b1),C(GG),C(cH,2),C(GF),C(uG),C(FF),C(gs),C(CF),C(gH),C(tX),C(R0),C(vG),C(SJ),C(KF),C(lF),C(CL),C(VD),C($X))};
g1.\u0275cmp=Gc({type:g1,selectors:[["b-hotlist-panel"]],inputs:{hotlistId:"hotlistId"},features:[Gf([cH]),bf],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&&(G(0,"div",0)(1,"div",1)(2,"div",2),Q(3,mbb,2,0,"div",3),Q(4,nbb,2,0,"div",3),Q(5,qbb,8,5,"div",3),H(),Q(6,rbb,5,0,"div",4),G(7,"b-pagination",5),
M("pageChange",function(c){return b.goToPage(c.page)}),H()(),Q(8,xbb,4,3,"div",3),H());a&2&&(gf("aria-busy",b.isLoading),z(3),F("ngIf",!b.resource&&!b.isLoading),z(1),F("ngIf",!b.resource&&b.isLoading),z(1),F("ngIf",b.resource),z(1),F("ngIf",b.hasParamChanges()),z(1),F("searchResults",b.searchResults)("resultsPerPageFixed",!0),z(1),F("ngIf",b.resource))},dependencies:[ew,p0,Jz,LB,d1,U0,sL],encapsulation:2});var a0c=[r0,s0,t0,h_c],$_c=[r0,g_c,s0,t0,h_c],h1=function(){};
h1.\u0275fac=function(a){return new (a||h1)};h1.\u0275mod=Ic({type:h1});h1.\u0275inj=rc({imports:[tF,a1,iC,JC,f1,V0,ZM]});var i1=function(a,b,c,d,e,g,h,l,q,x,A,B,K,N,P,Y){T0.call(this,b,d,e,g,h,l,q,x,A,c,B,K,N,P,Y);this.savedSearchApi=a;this.resource=null};U(i1,T0);i1.\u0275dir=T0.\u0275dir;i1.prototype.ngOnInit=function(){T0.prototype.ngOnInit.call(this)};i1.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};i1.prototype.saveResource=function(){return Promise.resolve()};
i1.\u0275fac=function(a){return new (a||i1)(C(BS),C(cH,2),C(GF),C(uG),C(FF),C(gs),C(CF),C(gH),C(tX),C(R0),C(vG),C(SJ),C(lF),C(CL),C(VD),C($X))};
i1.\u0275cmp=Gc({type:i1,selectors:[["b-saved-search-panel"]],inputs:{savedSearchId:"savedSearchId"},features:[Gf([cH]),bf],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&&(G(0,"div",0)(1,"div",1)(2,"div",2),Q(3,ybb,2,0,"div",3),Q(4,zbb,2,0,"div",3),Q(5,Cbb,8,5,"div",4),H(),G(6,"b-pagination",5),M("pageChange",function(c){return b.goToPage(c.page)}),H()(),Q(7,Hbb,4,3,"div",3),H());a&2&&(gf("aria-busy",b.isLoading),z(3),F("ngIf",!b.resource&&!b.isLoading),z(1),F("ngIf",!b.resource&&b.isLoading),z(1),F("ngIf",b.resource),z(1),F("searchResults",b.searchResults)("resultsPerPageFixed",!0),z(1),F("ngIf",b.resource))},
dependencies:[ew,p0,LB,d1,U0,sL],encapsulation:2});var j1=function(){};j1.\u0275fac=function(a){return new (a||j1)};j1.\u0275mod=Ic({type:j1});j1.\u0275inj=rc({imports:[tF,a1,JC,f1,V0,ZM]});var k1=function(){this.label="Team"};k1.prototype.ngOnInit=function(){};k1.\u0275fac=function(a){return new (a||k1)};
k1.\u0275cmp=Gc({type:k1,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&&(G(0,"div",0)(1,"span",1),Q(2,Ibb,3,3,"span",2),H()());a&2&&(gf("aria-label",b.label),z(2),F("ngForOf",b.teamPath))},dependencies:[dw,pG],encapsulation:2});var l1=function(){};l1.\u0275fac=function(a){return new (a||l1)};l1.\u0275mod=Ic({type:l1});l1.\u0275inj=rc({imports:[tF,tG,QM]});var b0c=["form"],c0c=["numberInput"],d0c=/^\d+\.?\d*$/,e0c={DAYS:0,YEARS:1,0:"DAYS",1:"YEARS"},m1=function(){this.disabled=!1;this.ariaLabel="";this.durationDaysChange=new Gv;this.displayUnits=0;this.timeUnitEnum=e0c};
m1.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()})};m1.prototype.ngAfterViewInit=function(){};
m1.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))};m1.prototype.ngOnDestroy=function(){this.formSubscription&&this.formSubscription.unsubscribe()};m1.\u0275fac=function(a){return new (a||m1)};
m1.\u0275cmp=Gc({type:m1,selectors:[["b-duration-picker"]],viewQuery:function(a,b){a&1&&(Uf(b0c,7),Uf(c0c,7));if(a&2){var c;Tf(c=Wf())&&(b.form=c.first);Tf(c=Wf())&&(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&&(G(0,"form",null,0)(2,"div",1)(3,"mat-form-field",2)(4,"mat-label"),R(5," Custom Duration "),H(),G(6,"input",3,4),M("keydown",function(c){switch(c.key){case "-":case "e":case "E":c.preventDefault()}})("paste",function(c){var d=c.clipboardData.getData("Text");d0c.test(d)||c.preventDefault()}),H()(),G(8,"mat-form-field",2)(9,"mat-select",5)(10,"mat-option",
6),R(11,"days"),H(),G(12,"mat-option",6),R(13,"year(s)"),H()()()()());a&2&&(z(6),F("ngModel",b.displayNumber)("disabled",b.disabled),gf("aria-label",b.ariaLabel),z(3),F("ngModel",b.displayUnits)("disabled",b.disabled),z(1),F("value",b.timeUnitEnum.DAYS),z(2),F("value",b.timeUnitEnum.YEARS))},dependencies:[Mw,og,Nw,Fw,Gw,Vw,Lw,Jw,iA,hA,lA,cO,Lz],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 n1=function(){};n1.\u0275fac=function(a){return new (a||n1)};n1.\u0275mod=Ic({type:n1});n1.\u0275inj=rc({imports:[tF,$w,mA,jA,dO,DT]});var o1=function(a,b,c){this.dialogRef=a;this.data=b;this.documentationLinks=c};o1.prototype.getDisablingFieldsHelpLink=function(){return this.documentationLinks.getDisablingFieldsHelpLink()};o1.prototype.onNoClick=function(){this.dialogRef.close(!1)};o1.\u0275fac=function(a){return new (a||o1)(C(Tz),C(Vz),C(nI))};
o1.\u0275cmp=Gc({type:o1,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&&(G(0,"h1",0),R(1),H(),G(2,"div",1)(3,"p"),R(4,
" The "),G(5,"strong"),R(6),H(),R(7," field will change state from "),G(8,"strong"),R(9),H(),R(10," to "),G(11,"strong"),R(12),H(),R(13,". "),H(),Q(14,Jbb,6,2,"p",2),G(15,"p"),R(16,"Are you sure?"),H()(),G(17,"div",3)(18,"button",4),M("click",function(){return b.onNoClick()}),R(19," Cancel "),H(),G(20,"button",5),R(21," Confirm "),H()());a&2&&(z(1),Df("Field State Change for ",b.data.fieldName,""),z(5),Ef(b.data.fieldName),z(3),Ef(b.data.oldFieldState),z(3),Ef(b.data.newFieldState),z(2),F("ngIf",
b.data.noteText),z(6),F("mat-dialog-close",!0))},dependencies:[ew,Jz,Xz,Yz,Zz,$z],styles:[".notice[_ngcontent-%COMP%]{font-weight:bold}"]});var f0c=["fieldStateMenuButton"],g0c=function(a){return{"mat-stroked-button":a}},p1=function(a){this.dialog=a;this.fieldName="";this.fieldState=1;this.confirmationDialog=this.enabledOnParent=!0;this.disabled=!1;this.fieldStateChange=new Gv;this.FieldStateProto=Cqa;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."}};p1.prototype.ngOnInit=function(){this.updateMenuButton()};
p1.prototype.ngOnChanges=function(){this.updateMenuButton()};
var i0c=function(a,b){b!==a.fieldState&&(a.confirmationDialog?h0c(a,b):(a.fieldState=b,a.updateMenuButton(),a.fieldStateChange.emit(b)))},h0c=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);Rz(a.dialog.open(o1,{width:"500px",data:{fieldName:a.fieldName,oldFieldState:j0c(a,a.fieldState),newFieldState:j0c(a,b),noteText:e}})).pipe(Ge()).subscribe(function(g){g?
(a.fieldState=b,a.updateMenuButton(),a.fieldStateChange.emit(b),a.disabled=!0):a.focus()})};p1.prototype.updateMenuButton=function(){this.defaultLabel="Default ("+(this.enabledOnParent?this.msgs.visibleName:this.msgs.hiddenName)+")";this.menuLabel=j0c(this,this.fieldState)};var j0c=function(a,b){switch(b){case 1:return a.defaultLabel;case 2:return a.msgs.hiddenName;case 3:return a.msgs.visibleName;default:rh(b,"Unknown FieldState.")}};p1.prototype.focus=function(){this.disabled=!1;this.fieldStateMenuButton.nativeElement.focus()};
p1.\u0275fac=function(a){return new (a||p1)(C(Wz))};
p1.\u0275cmp=Gc({type:p1,selectors:[["b-field-state-menu"]],viewQuery:function(a,b){a&1&&Uf(f0c,5,vd);if(a&2){var c;Tf(c=Wf())&&(b.fieldStateMenuButton=c.first)}},inputs:{fieldName:"fieldName",fieldState:"fieldState",enabledOnParent:"enabledOnParent",confirmationDialog:"confirmationDialog",disabled:"disabled"},outputs:{fieldStateChange:"fieldStateChange"},features:[Zc],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&&(G(0,"div")(1,"button",0,1)(3,"div",2),I(4,"span",3)(5,"b-icon",4),H()()(),G(6,"mat-menu",null,5)(8,"div",6)(9,"div",7)(10,"button",8),M("click",function(){return i0c(b,b.FieldStateProto.INHERIT)}),I(11,"b-icon",9),G(12,"div",10),R(13),H(),G(14,"div",11),R(15),H()()(),I(16,"mat-divider"),G(17,"button",12),M("click",function(){return i0c(b,b.FieldStateProto.DISABLED)}),G(18,"div",13)(19,"div",
14),I(20,"b-icon",9),G(21,"div",10),R(22),H(),G(23,"div",11),R(24),H()()()(),G(25,"button",12),M("click",function(){return i0c(b,b.FieldStateProto.ENABLED)}),G(26,"div",13)(27,"div",14),I(28,"b-icon",9),G(29,"div",10),R(30),H(),G(31,"div",11),R(32),H()()()()()());if(a&2){var c=Cf(7);z(1);F("ngClass",Jf(16,g0c,!b.disabled))("disabled",b.disabled)("matMenuTriggerFor",c);z(3);F("innerHTML",b.menuLabel,Ld);z(6);qf("b-menu-item-checked",b.fieldState===b.FieldStateProto.INHERIT);z(3);Df(" ",b.defaultLabel,
" ");z(2);Df(" ",b.msgs.inheritDescription," ");z(2);qf("b-menu-item-checked",b.fieldState===b.FieldStateProto.DISABLED);z(5);Df(" ",b.msgs.hiddenName," ");z(2);Df(" ",b.msgs.hiddenDescription," ");z(1);qf("b-menu-item-checked",b.fieldState===b.FieldStateProto.ENABLED);z(5);Df(" ",b.msgs.visibleName," ");z(2);Df(" ",b.msgs.visibleDescription," ")}},dependencies:[cw,Jz,tL,DB,BB,CB,AM],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 q1=function(){};q1.\u0275fac=function(a){return new (a||q1)};q1.\u0275mod=Ic({type:q1});q1.\u0275inj=rc({imports:[tF,iC,aA,FS,EB,WM,aS]});var r1=function(a,b){this.dialogRef=b;this.issueId=a.issueId;this.issueTitle=a.issueTitle};r1.prototype.close=function(){this.dialogRef.close(!1)};r1.\u0275fac=function(a){return new (a||r1)(C(Vz),C(Tz))};
r1.\u0275cmp=Gc({type:r1,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&&(G(0,"h1",0),R(1,"Unsubscribe From Issue"),H(),G(2,"mat-dialog-content")(3,"div",1),R(4," Are you sure you would like to unsubscribe from the following issue? "),
H(),I(5,"br"),G(6,"div",2)(7,"a",3)(8,"span"),R(9),H()(),R(10," - "),G(11,"span"),R(12),H()(),I(13,"br"),G(14,"div",1),R(15," By unsubscribing, you will no longer receive email updates about this issue. "),H()(),G(16,"mat-dialog-actions")(17,"button",4),M("click",function(){return b.close()}),R(18," Cancel "),H(),G(19,"button",5),M("click",function(){b.dialogRef.close(!0)}),R(20," Unsubscribe "),H()());a&2&&(z(7),zf("href","/issues/",b.issueId,"",Md),z(2),Df("b/",b.issueId,""),z(3),Ef(b.issueTitle))},
dependencies:[Yz,Zz,$z,Jz],encapsulation:2});var k0c=function(a,b){return{small:a,medium:b}},l0c=function(a){return{black:a}},s1=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 Gv;this.showNotificationSettings=new Gv;this.menuLabel="Default";this.menuIcon="notifications_none_24px";this.isAnonymous=this.activeSession.isAnonymous();this.subscriptionInternal="UNKNOWN_SUBSCRIPTION";this.NotificationSubscription=N8b;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"}]])};s1.prototype.ngOnInit=function(){m0c(this)};s1.prototype.ngOnChanges=function(){this.updateMenuButton()};s1.prototype.updateSubscription=function(a){a!==this.subscriptionInternal&&this.subscriptionChange.emit(a)};s1.prototype.updateMenuButton=function(){var a=this.subscriptions.get(this.subscriptionInternal);a&&(this.menuLabel=a.label,this.menuIcon=a.icon)};
var m0c=function(a){var b,c;he(function(d){if(1==d.nextAddress)return"true"!==a.routeParams.unsubscribe||a.subscription&&"UNSUBSCRIBED"===a.subscription?d.return():d.yield((0,E.firstValueFrom)(a.issueFridge.watch(a.issueId)),2);if(3!=d.nextAddress)return(b=d.yieldResult)?d.yield((0,E.firstValueFrom)(Rz(a.matDialogService.open(r1,{width:"400px",data:{issueId:a.issueId,issueTitle:b.snapshot[0].title}}))),3):d.return();if(c=d.yieldResult)a.updateSubscription("UNSUBSCRIBED"),a.analytics.trackEvent(Jn.EDIT_ISSUE,
"unsubscribeUsingDialog");me(d)})};hh.Object.defineProperties(s1.prototype,{subscription:{configurable:!0,enumerable:!0,set:function(a){null!=a&&(this.subscriptionInternal=a)},get:function(){return this.subscriptionInternal}}});s1.\u0275fac=function(a){return new (a||s1)(C(gs),C(Wz),C(lH),C(gH),C(RI))};
s1.\u0275cmp=Gc({type:s1,selectors:[["b-notification-menu"]],inputs:{subscription:"subscription",iconOnly:"iconOnly",issueId:"issueId"},outputs:{subscriptionChange:"subscriptionChange",showNotificationSettings:"showNotificationSettings"},features:[Zc],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=v();G(0,"div")(1,"button",0)(2,"div",1);I(3,"b-icon",2);Q(4,Kbb,3,1,"ng-container",
3);H()()();G(5,"mat-menu",null,4)(7,"div",5)(8,"div",6)(9,"button",7);M("click",function(){return b.updateSubscription(b.NotificationSubscription.UNKNOWN_SUBSCRIPTION)});I(10,"b-icon",8);G(11,"div",9);R(12," Default ");H();G(13,"div",10);R(14," receive emails based on your default settings. ");H()();I(15,"mat-divider",11);G(16,"button",12);M("click",function(h){return b.showNotificationSettings.emit(h)});I(17,"b-icon",13);H()();I(18,"mat-divider");G(19,"div",14)(20,"button",15);M("click",function(){return b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_ALL_UPDATES)});
G(21,"div",16);I(22,"b-icon",8);G(23,"div",9);R(24," All Updates ");H();G(25,"div",10);R(26," receive emails for major and minor updates. ");H()()();G(27,"button",17);M("click",function(){return b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_ALL_UPDATES)})("focus",function(){w(c);var h=Cf(29);return y(h.toggle(!0))})("blur",function(){w(c);var h=Cf(29);return y(h.toggle(!1))});G(28,"xap-bubble",18,19);I(30,"mat-icon",20);Q(31,Lbb,13,0,"ng-template",null,21,Zf);H()()();G(33,"div",14)(34,
"button",22);M("click",function(){return b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_MAJOR_UPDATES)});G(35,"div",16);I(36,"b-icon",8);G(37,"div",9);R(38," Major Updates ");H();G(39,"div",10);R(40," receive emails for major updates only. ");H()()();G(41,"button",17);M("click",function(){return b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_MAJOR_UPDATES)})("focus",function(){w(c);var h=Cf(43);return y(h.toggle(!0))})("blur",function(){w(c);var h=Cf(43);return y(h.toggle(!1))});
G(42,"xap-bubble",18,23);I(44,"mat-icon",20);Q(45,Mbb,15,0,"ng-template",null,24,Zf);H()()();G(47,"button",25);M("click",function(){return b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_CLOSURE_ONLY)});G(48,"div",14)(49,"div",16);I(50,"b-icon",8);G(51,"div",9);R(52," Closure Only ");H();G(53,"div",10);R(54," only receive emails when the issue is closed. ");H()()()();G(55,"button",25);M("click",function(){return b.updateSubscription(b.NotificationSubscription.UNSUBSCRIBED)});G(56,"div",
14)(57,"div",16);I(58,"b-icon",8);G(59,"div",9);R(60," None ");H();G(61,"div",10);R(62," unsubscribe from further email updates. ");H()()()()()()}if(a&2){var d=Cf(6),e=Cf(32),g=Cf(46);z(1);qf("icon-only",b.iconOnly);F("ngClass",Kf(26,k0c,b.iconOnly,!b.iconOnly))("matMenuTriggerFor",d)("disabled",b.isAnonymous);gf("aria-label","Notifications Menu, current value is "+b.subscriptions.get(b.subscriptionInternal||"UNKNOWN_SUBSCRIPTION").label);z(2);F("name",b.menuIcon)("ngClass",Jf(29,l0c,"notifications-off"===
b.menuIcon));z(1);F("ngIf",!b.iconOnly);z(5);qf("b-menu-item-checked",b.subscriptionInternal===b.NotificationSubscription.UNKNOWN_SUBSCRIPTION);z(6);F("vertical",!0);z(5);qf("b-menu-item-checked",b.subscriptionInternal===b.NotificationSubscription.SUBSCRIBED_ALL_UPDATES);z(7);gf("aria-label","This includes emails about major updates and All title, hotlist, and status changes, Blocking, Blocked By, or Duplicate changes, Changes to Reporter, Verifier, and CCs, changes to Type, Found In, Targeted To, Verified In, In Prod, and Changes to custom fields marked as minor.");
z(1);F("panelTemplate",e)("overlayPositions",b.bubblePosition);z(6);qf("b-menu-item-checked",b.subscriptionInternal===b.NotificationSubscription.SUBSCRIBED_MAJOR_UPDATES);z(7);gf("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.");z(1);F("panelTemplate",g)("overlayPositions",b.bubblePosition);z(5);qf("b-menu-item-checked",b.subscriptionInternal===b.NotificationSubscription.SUBSCRIBED_CLOSURE_ONLY);
z(8);qf("b-menu-item-checked",b.subscriptionInternal===b.NotificationSubscription.UNSUBSCRIBED)}},dependencies:[cw,ew,uA,Jz,tL,DB,BB,CB,AM,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 t1=function(){};t1.\u0275fac=function(a){return new (a||t1)};t1.\u0275mod=Ic({type:t1});t1.\u0275inj=rc({imports:[tF,iC,FS,EB,WM,aS,lO]});var u1=function(a,b){this.sloApi=a;this.cdr=b;this.isDisabled=!1;this.dropdownChoices=null;this.onSloSelect=new Gv;this.internalBoundId=this.selectedSlo=null;this.lastProcessedIndex=-1;this.requestIndex=0},n0c=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()};
u1.prototype.displayFn=function(a){return(null==a?void 0:a.name)||(null==a?void 0:a.sloId)||""};u1.prototype.updateSelectionOnChange=function(a){if(a=a.option.value)this.boundId=a.sloId;this.onSloSelect.emit(a);this.cdr.detectChanges()};
hh.Object.defineProperties(u1.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)}}});u1.\u0275fac=function(a){return new (a||u1)(C(lS),C(cH,2))};
u1.\u0275cmp=Gc({type:u1,selectors:[["slo-picker"]],inputs:{isDisabled:["bv2Disabled","isDisabled"],placeholder:["bv2Placeholder","placeholder"],boundId:"boundId"},outputs:{onSloSelect:"onSloSelect"},features:[Gf([cH])],decls:6,vars:6,consts:[[1,"bv2-slo-picker"],["matInput","","type","text","autocomplete","slo-name",1,"bv2-picker-input","form-control",3,"placeholder","ngModel","disabled","matAutocomplete","ngModelChange","click","input"],["searchInput",""],["panelWidth","574px",3,"displayWith","optionSelected"],
["auto","matAutocomplete"],["class","slo-search-result",3,"value",4,"ngFor","ngForOf"],[1,"slo-search-result",3,"value"]],template:function(a,b){if(a&1){var c=v();G(0,"div",0)(1,"input",1,2);M("ngModelChange",function(e){return b.selectedSlo=e})("click",function(){w(c);var e=Cf(2);return y(n0c(b,e.value))})("input",function(){w(c);var e=Cf(2);return y(n0c(b,e.value))});H();G(3,"mat-autocomplete",3,4);M("optionSelected",function(e){return b.updateSelectionOnChange(e)});Q(5,Nbb,2,2,"mat-option",5);
H()()}if(a&2){var d=Cf(4);z(1);F("placeholder",b.placeholder)("ngModel",b.selectedSlo)("disabled",b.isDisabled)("matAutocomplete",d);z(2);F("displayWith",b.displayFn);z(2);F("ngForOf",b.dropdownChoices)}},dependencies:[dw,AO,zO,Lz,og,Fw,Lw],encapsulation:2});var v1=function(){};v1.\u0275fac=function(a){return new (a||v1)};v1.\u0275mod=Ic({type:v1});v1.\u0275inj=rc({imports:[tF,BO,$w]});var o0c=function(a){return{"empty-list-field-indication":a}},w1=function(a){this.documentationLinks=a;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.issueRetentionDisabled=!1;this.modelChange=new Gv;this.validChange=new Gv;this.RetentionSelection=U8b};
w1.prototype.ngOnInit=function(){this.initialModel?this.model=this.initialModel:this.model={retentionSelection:"UNSPECIFIED_RETENTION",retentionPeriodDays:null,piiRetentionSelection:"UNSPECIFIED_RETENTION",piiRetentionPeriodDays:null,spiiRetentionPeriodDays:null};Fp(this)};w1.prototype.updateSelectionOnChange=function(a){this.model.retentionSelection=a;this.model.retentionPeriodDays=null;this.modelChange.emit(this.model);Fp(this)};
var Fp=function(a){var b=a.validChange,c=b.emit,d;if(d=Gp(a))d=a.hasRetentionSelection(a.model.piiRetentionSelection)&&(a.model.piiRetentionSelection!==a.RetentionSelection.BUGANIZER_DEFAULT||!p0c(a))&&(a.model.piiRetentionSelection!==a.RetentionSelection.CUSTOM_PERIOD||q0c(a));c.call(b,d)};w1.prototype.hasRetentionSelection=function(a){return a&&a!==this.RetentionSelection.UNSPECIFIED_RETENTION};
var Gp=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)},Pbb=function(a){return a?Oza(a):"[unset period]"},q0c=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},Tbb=function(a){if(!Gp(a)||q0c(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 "+Pbb(e):"Restricted+ retention must not exceed Restricted retention."},p0c=function(a){return a.model.retentionSelection===a.RetentionSelection.CUSTOM_PERIOD&&(!a.model.retentionPeriodDays||60>a.model.retentionPeriodDays)},Wbb=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};w1.\u0275fac=function(a){return new (a||w1)(C(nI))};
w1.\u0275cmp=Gc({type:w1,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&&(G(0,"mat-radio-group",0),M("ngModelChange",function(c){return b.updateSelectionOnChange(c)}),G(1,"p")(2,"b"),R(3,"Issue Retention"),H()(),G(4,"mat-radio-button",1),R(5," Buganizer default retention period (for minimal or no PII/SPII): 10 years "),H(),G(6,"mat-radio-button",2),R(7," Custom retention period "),Q(8,Obb,2,0,"span",3),Q(9,Qbb,4,
3,"div",4),H(),G(10,"mat-radio-button",5),R(11),Q(12,Rbb,13,0,"div",6),H()(),G(13,"mat-radio-group",7),M("ngModelChange",function(c){b.model.piiRetentionSelection=c;b.model.piiRetentionPeriodDays=null;b.model.spiiRetentionPeriodDays=null;b.modelChange.emit(b.model);Fp(b)}),G(14,"p"),I(15,"br"),G(16,"b"),R(17,"Restricted Comments/Attachments Retention "),H(),G(18,"a",8),R(19,"Learn more "),H()(),G(20,"mat-radio-button",1),R(21," Buganizer default retention period : 60 days "),Q(22,Sbb,2,0,"span",3),
H(),G(23,"mat-radio-button",9),R(24," Custom retention period "),Q(25,Ubb,2,1,"span",3),Q(26,Xbb,16,7,"div",4),H(),G(27,"mat-radio-button",5),R(28," Match Issue Retention "),Q(29,Ybb,3,0,"div",10),H()());a&2&&(F("ngClass",Jf(28,o0c,b.model.retentionSelection===b.RetentionSelection.UNSPECIFIED_RETENTION))("disabled",b.issueRetentionDisabled)("name","retentionForm")("ngModel",b.model.retentionSelection),z(4),F("value",b.RetentionSelection.BUGANIZER_DEFAULT),z(2),F("value",b.RetentionSelection.CUSTOM_PERIOD),
z(2),F("ngIf",b.model.retentionSelection===b.RetentionSelection.CUSTOM_PERIOD&&!(b.model.retentionPeriodDays&&30<=b.model.retentionPeriodDays&&3650>=b.model.retentionPeriodDays)),z(1),F("ngIf",b.model.retentionSelection===b.RetentionSelection.CUSTOM_PERIOD),z(1),F("disabled",b.isExternal)("value",b.RetentionSelection.INDEFINITE_RETENTION),z(1),Df(" Indefinite retention period ",b.isExternal?"(Internal components only)":""," "),z(1),F("ngIf",b.model.retentionSelection===b.RetentionSelection.INDEFINITE_RETENTION),
z(1),F("ngClass",Jf(30,o0c,b.model.retentionSelection===b.RetentionSelection.UNSPECIFIED_RETENTION))("disabled",b.issueRetentionDisabled)("name","piiRetentionForm")("ngModel",b.model.piiRetentionSelection),z(5),F("rel",b.EXTERNAL_LINK_REL),gf("href",b.documentationLinks.getRestrictedAccessHelpLink(),Md),z(2),F("value",b.RetentionSelection.BUGANIZER_DEFAULT),z(2),F("ngIf",b.model.piiRetentionSelection===b.RetentionSelection.BUGANIZER_DEFAULT&&p0c(b)),z(1),F("aria-label","Custom Retention Period,"+
Tbb(b))("disabled",!Gp(b))("value",b.RetentionSelection.CUSTOM_PERIOD),z(2),F("ngIf",b.model.piiRetentionSelection===b.RetentionSelection.CUSTOM_PERIOD&&!q0c(b)),z(1),F("ngIf",b.model.piiRetentionSelection===b.RetentionSelection.CUSTOM_PERIOD),z(1),F("disabled",b.isExternal)("value",b.RetentionSelection.INDEFINITE_RETENTION),z(2),F("ngIf",b.model.piiRetentionSelection===b.RetentionSelection.INDEFINITE_RETENTION&&Wbb(b)))},dependencies:[cw,ew,Fw,Lw,xM,yM,m1],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 x1=function(){};x1.\u0275fac=function(a){return new (a||x1)};x1.\u0275mod=Ic({type:x1});x1.\u0275inj=rc({imports:[tF,$w,aN,n1]});var r0c=function(){this.type="component";this.includeChildren=!1},s0c=function(){this.type="tracker"},t0c=function(){this.type="team";this.includeChildren=!1},u0c=function(){this.type="hotlist"},v0c=function(){this.type="savedsearch"},w0c=function(){this.type="customfield"};var x0c=function(a,b){this.query=a;this.cursorIdx=b;this.label=null;this.value={val:"",idx:0};this.value.idx=b},y0c="componentid c hotlistid h savedsearchid teamid trackerid".split(" "),z0c=y0c.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(" ")),
A0c="cl deleted deletionreason deletiontime effortlabel nearestslo postmortem teamid".split(" "),B0c="(?:\\s|^)(-?)(customfield\\d+|"+z0c.join("|")+")(:|>|<|>=|<=|=)";var y1=function(a,b,c,d,e,g,h,l,q){WD.call(this);var x=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(A){return C0c(x,A)}},{updateHeader:function(A){return D0c(x,A)}},{updateHeader:function(A){return E0c(x,A)}},{updateHeader:function(A){return F0c(x,A)}},{updateHeader:function(A){return G0c(x,
A)}},{updateHeader:function(A){return H0c(x,A)}},{updateHeader:function(A){return I0c(x,A)}}];this.currentSearchContext=null;this.items=[];this.acHeader=null;this.acRefreshed$=new E.Subject;this.refreshRequest$=new E.Subject;this.refreshRequest$.pipe(De(250),Te(this.destroyed$)).subscribe(function(A){J0c(x,A.currentRequestIndex,A.currentSearchContext)});this.sessionIsInternal=q.isInternalSession();a=new Set(z0c);this.sessionIsInternal||a.delete("mention");if(!this.sessionIsInternal)for(b=k(A0c),c=
b.next();!c.done;c=b.next())a.delete(c.value);this.isTrackerSearchEnabled()||a.delete("trackerid");this.atoms=Object.freeze(a);this.atomsWithoutOp=Object.freeze(new Set(["customfield"]))};U(y1,WD);y1.\u0275dir=WD.\u0275dir;y1.prototype.isTrackerSearchEnabled=function(){return!this.currentTracker.inTracker};
var J0c=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,Vc(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()})},C0c=
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 K0c(a,b);switch(b.label.val){case "archived":return Promise.resolve(Jp(L0c,b.value,!0));case "componentid":case "c":return M0c(a,b);case "deleted":return N0c(b);case "deletionreason":return Promise.resolve(Jp(O0c,b.value,!0));case "hotlistid":case "h":return P0c(a,b);case "savedsearchid":return Q0c(a,b);case "status":case "is":return Promise.resolve(Jp(R0c,
b.value,!0));case "trackerid":return S0c(a,b);case "teamid":return T0c(a,b);case "type":case "t":return a.matchType(b);case "priority":case "p":return Promise.resolve(Jp(U0c,b.value,!0));case "severity":case "s":return Promise.resolve(Jp(V0c,b.value,!0));case "inprod":case "star":case "mute":return N0c(b);default:return Promise.reject(null)}}if(!b.value.val)return Promise.reject(null);c=[];for(var d=$bb(b.value.val),e=k(a.atoms),g=e.next();!g.done;g=e.next())if(g=g.value,d.token!==g&&Th(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 Lp(l.name,q.name)});return Promise.resolve(c)},K0c=function(a,b){return b.label&&b.label.customFieldId?a.customFieldsApi.get(b.label.customFieldId).then(function(c){if("ENUM"!==c.type&&"REPEATED_ENUM"!==
c.type||!c.allowedValue)return[];var d=c.allowedValue.map(function(e){return{trackId:"customfieldvalue:"+e,id:e,label:"Custom field "+c.name,name:e,completionCfg:{type:"customfieldvalue",completionValue:'"'+e+'"'}}});return Jp(d,b.value,!1,!1)}):Promise.reject(null)};y1.prototype.matchType=function(a){return Promise.resolve(Jp(W0c,a.value,!0))};
var N0c=function(a){if(!a.label)return Promise.reject(null);var b=a.label.val;return Promise.resolve(Jp([{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))},M0c=function(a,b){var c=b.value.val;return!c||Ip(c,!0)?Promise.reject(null):a.componentActions.search(c,!1).then(function(d){return a.processResponse(b,
d)})};
y1.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$2354:e.$jscomp$loop$prop$paths$2354,$jscomp$loop$prop$startIdx$2355:e.$jscomp$loop$prop$startIdx$2355,$jscomp$loop$prop$endIdx$2356:e.$jscomp$loop$prop$endIdx$2356},g=b.next()){g=g.value;var h=g.componentId;e.$jscomp$loop$prop$startIdx$2355=a.value.idx;e.$jscomp$loop$prop$endIdx$2356=e.$jscomp$loop$prop$startIdx$2355+c.length;e.$jscomp$loop$prop$paths$2354=Kr(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$2355,endIdx:e.$jscomp$loop$prop$endIdx$2356,completionValue:""+h,matchingString:c},componentPath:e.$jscomp$loop$prop$paths$2354.componentPathId.map(function(l){return function(q,x){return{trackId:"subcomponent:"+q,id:""+q,name:String(l.$jscomp$loop$prop$paths$2354.componentPathName[x]),completionCfg:{type:"component",
completionValue:String(q),startIdx:l.$jscomp$loop$prop$startIdx$2355,endIdx:l.$jscomp$loop$prop$endIdx$2356}}}}(e))};d.push(g)}return d};
var T0c=function(a,b){var c=b.value.val;if(!a.sessionIsInternal||!c||Ip(c,!0))return Promise.reject(null);var d=Ol();BH(a.teamsService,c).pipe(Te(a.destroyed$)).subscribe(function(e){var g=b.value.idx,h=g+c.length,l=[],q={};e=k(e);for(var x=e.next();!x.done;q={$jscomp$loop$prop$pathNames$2358:q.$jscomp$loop$prop$pathNames$2358},x=e.next())x=x.value,q.$jscomp$loop$prop$pathNames$2358=x.pathNames,x={trackId:"team:"+x.teamId,name:x.name,id:x.teamId,label:"Team "+x.teamId,pathIds:x.pathIds,pathNames:x.pathNames,
description:x.description,completionCfg:{type:"team",startIdx:g,endIdx:h,completionValue:String(x.teamId),matchingString:c},teamPath:x.pathIds.map(function(A){return function(B,K){return{trackId:"team:"+B,id:B,name:A.$jscomp$loop$prop$pathNames$2358[K],completionCfg:{type:"team",completionValue:String(B),startIdx:g,endIdx:h}}}}(q))},l.push(x);d.resolve(l)},function(){d.reject()});return d.promise},D0c=function(a,b){if(!b.label||"componentid"!==b.label.val&&"c"!==b.label.val)return Promise.reject(null);
var c=new r0c;b=b.value.val;return Ip(b,!0)?(us(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)},G0c=function(a,b){if(!a.isTrackerSearchEnabled()||!b.label||"trackerid"!==b.label.val)return Promise.reject(null);var c=new s0c,d=Ol();b=b.value.val;Ip(b)?a.trackerFridge.watchOne(b).pipe(Te(a.destroyed$)).subscribe(function(e){c.tracker=
e;d.resolve(c)}):b&&d.resolve(c);return d.promise},I0c=function(a,b){if(!a.sessionIsInternal||!b.label||"teamid"!==b.label.val)return Promise.reject(null);var c=new t0c,d=Ol(),e=b.value.val;Ip(e,!0)?(us(e,"+")&&(e=e.slice(0,e.length-1),c.includeChildren=!0),BH(a.teamsService,e).pipe(Te(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},E0c=function(a,b){if(!b.label||"hotlistid"!==b.label.val&&"h"!==b.label.val)return Promise.reject(null);var c=new u0c;b=b.value.val;return Ip(b)?a.hotlistApi.get(b).then(function(d){c.hotlist=d;return c}):b?Promise.reject(null):Promise.resolve(c)},F0c=function(a,b){if(!b.label||"savedsearchid"!==b.label.val)return Promise.reject(null);var c=new v0c;b=b.value.val;return Ip(b)?a.savedSearchApi.get(b).then(function(d){c.savedSearch=
d;return c}):b?Promise.reject(null):Promise.resolve(c)},H0c=function(a,b){if(b.label&&b.label.customFieldId)var c=b.label.customFieldId;else if(Th(b.value.val,"customfield"))(b=b.value.val.match("^customfield(\\d+)"))&&(c=b[1]),Om("search-usage","customfield");else return Promise.reject(null);var d=new w0c;return c?a.customFieldsApi.get(c).then(function(e){d.customField=e;return d}):Promise.resolve(d)},S0c=function(a,b){var c=b.value.val;if(!a.isTrackerSearchEnabled()||!c||Ip(c,!0))return Promise.reject(null);
var d=Ol();a.trackerFridge.watchMany({filter:c,pageSize:5}).pipe(Te(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},P0c=function(a,b){return Ip(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 Jp(c,b.value,!1,!0)})},Q0c=function(a,b){return Ip(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 Jp(c,
b.value,!1,!0)})};y1.\u0275fac=function(a){return new (a||y1)(u(OG),u(IH),u(lK),u(NF),u(GG),u(BS),u(FT),u(zH),u(gs))};y1.\u0275prov=qc({token:y1,factory:y1.\u0275fac,providedIn:"root"});
var R0c="accepted assigned closed duplicate fixed infeasible intended_behavior new not_reproducible obsolete open verified".split(" ").map(function(a){return Kp(a,"status","Status","status")}),W0c="bug customer_issue feature_request internal_cleanup process vulnerability privacy_issue project feature milestone epic story task".split(" ").map(function(a){return Kp(a,"bugType","Type","type")}),U0c=["p0","p1","p2","p3","p4"].map(function(a){return Kp(a,"priority","Priority","priority")}),V0c=["s0","s1",
"s2","s3","s4"].map(function(a){return Kp(a,"severity","Severity","severity")}),L0c=["all","true","false"].map(function(a){return Kp(a,"archived","Archived","archived")}),O0c=["abuse","pii","user_request","retention"].map(function(a){return Kp(a,"deletionReason","Deletion Reason","deletionreason")});var z1=function(){};z1.\u0275fac=function(a){return new (a||z1)};z1.\u0275mod=Ic({type:z1});z1.\u0275inj=rc({imports:[tF,pN,UY,ax,dO]});var A1=function(a){this.cdr=a;this.optionsChange=new Gv};A1.prototype.ngOnInit=function(){acb(this)};
var acb=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},bcb=function(a){a.validator&&(a.errorString=a.validator(),a.cdr.detectChanges())},X0c=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);bcb(a)},Y0c=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(", ")};A1.\u0275fac=function(a){return new (a||A1)(C(cH,2))};
A1.\u0275cmp=Gc({type:A1,selectors:[["slo-element-property-picker"]],inputs:{selectAllText:"selectAllText",validator:"validator",options:"options"},outputs:{optionsChange:"optionsChange"},features:[Gf([cH])],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&&(G(0,"div")(1,"button",
0)(2,"div",1)(3,"span",2),R(4),R(5," \u00a0 "),H(),I(6,"mat-icon",3),H()(),G(7,"mat-menu",null,4)(9,"div",5),M("click",function(d){return X0c(b,d)}),G(10,"mat-checkbox",6),M("change",function(d){b.selectAllValue=d.checked;return X0c(b)}),R(11),H()(),I(12,"mat-divider"),Q(13,ccb,4,3,"div",7),S(14,"keyvalue"),H(),Q(15,dcb,2,1,"div",8),H());if(a&2){var c=Cf(8);z(1);qf("ng-invalid",!!b.errorString);F("matMenuTriggerFor",c);z(3);Df(" ",Y0c(b)," ");z(5);gf("aria-checked",b.selectAllValue);z(1);F("checked",
!!b.selectAllValue)("indeterminate",null===b.selectAllValue);z(1);Df(" ",b.selectAllText," ");z(2);F("ngForOf",T(14,10,b.options.propertyValues));z(2);F("ngIf",!!b.errorString)}},dependencies:[dw,ew,uA,vN,DB,BB,CB,tL,Jz,pw],styles:["[_nghost-%COMP%]   .gmat-button[_ngcontent-%COMP%] {padding: 0 10px;}\n[_nghost-%COMP%]   .bv2-property-picker-summary-text[_ngcontent-%COMP%] {text-align: left;}"]});
var Z0c=function(a,b){this.displayString=a;this.value=b},$0c=function(a){this.propertyValues=a},a1c=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},Ecb=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};$0c.prototype.setAll=function(a){for(var b in this.propertyValues)this.propertyValues[b].value=a};var B1=function(){};B1.\u0275fac=function(a){return new (a||B1)};B1.\u0275mod=Ic({type:B1});B1.\u0275inj=rc({imports:[tF,$N,EB,FS,iC]});var b1c=function(a,b){this.name=a;this.secondsPerUnit=b},c1c=new b1c("minute",60),d1c=new b1c("hour",3600),e1c=new b1c("day",86400),C1=function(){this.errorString=null;this.objectiveDurationChange=new Gv;this.objectiveBusinessDaysChange=new Gv;this.intervalUnit=e1c};C1.prototype.ngOnInit=function(){f1c(this)};C1.prototype.ngOnChanges=function(a){[a.objectiveBusinessDays,a.objectiveDuration,a.dayType].some(function(b){return b&&!b.isFirstChange()})&&f1c(this)};
var gcb=function(a,b){b=b.name;1!==Rh(a.intervalString)&&(b+="s");return b};C1.prototype.getUnits=function(){return"BUSINESS"===this.dayType?[c1c,d1c]:[c1c,d1c,e1c]};
var f1c=function(a){"BUSINESS"!==a.dayType&&g1c(a,e1c)||g1c(a,d1c)||g1c(a,c1c);if(0!=a.objectiveBusinessDays||""!=a.businessDayString)a.businessDayString=""+a.objectiveBusinessDays},g1c=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):a.getUnits().includes(a.intervalUnit)||(a.intervalUnit=b),!0):!1},ecb=function(a){a.errorString=a.validator(a.intervalString,a.businessDayString);icb(a);
jcb(a)},icb=function(a){a.objectiveDuration.seconds=a.intervalUnit.secondsPerUnit*(Rh(a.intervalString)||0);a.objectiveDurationChange.emit(a.objectiveDuration)},jcb=function(a){a.objectiveBusinessDays=Rh(a.businessDayString)||0;a.objectiveBusinessDaysChange.emit(a.objectiveBusinessDays)};C1.\u0275fac=function(a){return new (a||C1)};
C1.\u0275cmp=Gc({type:C1,selectors:[["slo-objective-selector"]],inputs:{isDisabled:"isDisabled",validator:"validator",dayType:"dayType",objectiveDuration:"objectiveDuration",objectiveBusinessDays:"objectiveBusinessDays"},outputs:{objectiveDurationChange:"objectiveDurationChange",objectiveBusinessDaysChange:"objectiveBusinessDaysChange"},features:[Zc],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&&(Q(0,kcb,6,6,"span",0),Q(1,ocb,3,2,"span",1));a&2&&(F("ngIf",!b.isDisabled),z(1),F("ngIf",b.isDisabled))},dependencies:[dw,
ew,og,Fw,Lw,cO,Lz],styles:['[_nghost-%COMP%]{width:200px;line-height:29px}.bv2-slo-objective[_ngcontent-%COMP%]{display:flex}.bv2-slo-objective-interval[_ngcontent-%COMP%]{display:flex}.bv2-slo-objective-unit[_ngcontent-%COMP%]{padding-right:4px;padding-left:4px}[_nghost-%COMP%]     .mat-select-value{font-family:"Google Sans",Roboto,Arial,sans-serif;font-size:.875rem;letter-spacing:.0107142857em;font-weight:500;color:#1a73e8;color:var(--link);min-width:60px}input.ng-invalid.ng-dirty[_ngcontent-%COMP%]{border-color:#c5221f;border-color:var(--bad-high-contrast);border-width:2px}/*# sourceMappingURL=slo_objective_selector.css.map */']});var D1=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"]])},k1c=function(a,b){var c=new h1c,d=i1c(b,"type",function(g){var h=g.toUpperCase(),l=new j1c;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=i1c(b,"priority",function(g){var h=g.toUpperCase(),l=new j1c;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=i1c(b,"postmortem",function(g){var h=
g.toUpperCase(),l=new j1c;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},i1c=function(a,b,c){var d=new l1c;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};D1.\u0275fac=function(a){return new (a||D1)(u(BI),u(gs))};D1.\u0275prov=qc({token:D1,factory:D1.\u0275fac,providedIn:"root"});var h1c=function(){this.types=[];this.priorities=[];this.postmortemValues=[];this.error=""},l1c=function(){this.values=[];this.error=""},j1c=function(){this.error=this.value=""};var E1=function(){};E1.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};E1.\u0275fac=function(a){return new (a||E1)};E1.\u0275dir=Kc({type:E1,selectors:[["","customValidators",""]],inputs:{validators:["customValidators","validators"]},features:[Gf([{provide:Bw,useExisting:E1,multi:!0}])]});var F1=function(a,b,c){this.constants=a;this.sloParseService=b;this.confirmationDialogService=c;this.collection=[];this.boundCollection=[];this.onCollectionUpdate=new Gv;this.onValidation=new Gv;this.selectedObjectiveBusinessDays=this.selectedObjectiveDuration=null;this.postmortemAllSummaryValue="Either";this.canPerformActionsInternal=!1;this.openRow=null;this.metricChoices=["METRIC_UNSPECIFIED"].concat(tDc);this.dayTypes=["CALENDAR","BUSINESS"];tDc.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},$cb=function(a,b,c){Fcb(a);a=k(a.collection);for(var d=a.next();!d.done;d=a.next())d.value.canEdit=!1;b.startEditing();c&&c.stopPropagation()},cdb=function(a,b,c){c=fdb(a,b,c);var d=c.newOffset;
c.valid&&(Fcb(a),ra(a.collection,b),ra(a.boundCollection,b.sloElement),a.collection.splice(d,0,b),a.boundCollection.splice(d,0,b.sloElement),m1c(a))},fdb=function(a,b,c){b=a.collection.indexOf(b)+c;return{valid:0<=b&&b<a.collection.length,newOffset:b}},Fcb=function(a){a=k(a.collection);for(var b=a.next();!b.done;b=a.next())b=b.value,b.stopEditing(),b.canEdit=!0},n1c=function(a,b){var c=b.map(function(d){return new G1(d,a)});a.openRow=null;a.collection=c;a.boundCollection=b;a.canPerformActions=!a.openRow},
xcb=function(a){return"METRIC_UNSPECIFIED"===a?" - ":uDc.get(a)},Lcb=function(a,b){return 0!==b&&a.constants.protoIssueTypesDisplayNames.has(b)?a.constants.protoIssueTypesDisplayNames.get(b):" - "},Qcb=function(a,b){return 0!==b&&a.constants.protoIssuePrioritiesDisplayNames.has(b)?a.constants.protoIssuePrioritiesDisplayNames.get(b):" - "},Gcb=function(a,b){Fcb(a);ra(a.collection,b);ra(a.boundCollection,b.sloElement);m1c(a)},rcb=function(a,b){a.confirmationDialogService.open({title:"Are you sure you'd like to clear all the rules?",
content:fn("This won't take effect until you save the changes, but any local changes will be lost."),onConfirm:function(){a.collection=[];a.boundCollection=[];m1c(a)},onDismiss:function(){}});b.stopPropagation()},pcb=function(a,b){var c=new G1({metric:"METRIC_UNSPECIFIED",matcher:"",dayType:"DAY_TYPE_UNSPECIFIED",objective:{seconds:0,nanos:0},businessDays:0},a,!0);$cb(a,c);a.collection.splice(b,0,c);a.boundCollection.splice(b,0,c.sloElement);m1c(a)};
F1.prototype.onDrop=function(a){cdb(this,this.collection[a.previousIndex],a.currentIndex-a.previousIndex)};var m1c=function(a){a.onCollectionUpdate.emit(a.boundCollection)};
hh.Object.defineProperties(F1.prototype,{collectionInput:{configurable:!0,enumerable:!0,set:function(a){n1c(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}}});F1.\u0275fac=function(a){return new (a||F1)(C(BI),C(D1),C(oI))};
F1.\u0275cmp=Gc({type:F1,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&&(G(0,"div",0)(1,"div")(2,"div")(3,"label",1),R(4,"Rules"),H(),G(5,"a",2),I(6,"b-icon",3),H(),Q(7,scb,6,3,"span",4),H(),G(8,"table",5)(9,"thead")(10,"tr",6)(11,"th",7),R(12,"Order"),H(),G(13,"th",8),R(14,"Type"),H(),G(15,"th",9),R(16,"Priority"),H(),G(17,"th",10),R(18,"Postmortem"),H(),G(19,"th",11),R(20,"Metric"),H(),G(21,"th",12),R(22,"Objective"),H(),G(23,"th",13),R(24," Day Type "),H(),I(25,"th",14),H()(),
Q(26,idb,2,3,"tbody",15),H(),G(27,"div"),Q(28,jdb,2,0,"div",16),H()()());a&2&&(z(6),F("name","help-outline")("size","small"),z(1),F("ngIf",!b.isDisabled),z(19),F("ngIf",b.collection&&0!=b.collection.length),z(2),F("ngIf",!b.collection||0==b.collection.length))},dependencies:[dw,ew,E1,AK,yK,Fw,Ww,Lw,AM,iA,DB,BB,CB,cO,Lz,LB,A1,C1],styles:['.bv2-slo-elements-picker[_ngcontent-%COMP%]{display:block}.bv2-slo-elements-picker[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]{width:1270px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   icon[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   icon[_ngcontent-%COMP%]{cursor:pointer}.bv2-slo-elements-picker[_ngcontent-%COMP%]   input[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{width:inherit}.bv2-slo-elements-picker[_ngcontent-%COMP%]     .bv2-slo-elements-picker-metric-selector .mat-select-value-text, .cdk-drag-preview[_ngcontent-%COMP%]     .bv2-slo-elements-picker-metric-selector .mat-select-value-text{padding-left:4px;text-align:left;width:8em}.bv2-slo-elements-picker[_ngcontent-%COMP%]   .bv2-slo-elements-table-empty-list-description[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   .bv2-slo-elements-table-empty-list-description[_ngcontent-%COMP%]{border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider);color:#5f6368;color:var(--muted);line-height:32px;text-align:center}.bv2-slo-elements-picker[_ngcontent-%COMP%]   .bv2-property-display-chips[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   .bv2-property-display-chips[_ngcontent-%COMP%]{cursor:default;display:inline-block;font-size:.8125rem;padding-top:2px;vertical-align:top}.bv2-slo-elements-picker[_ngcontent-%COMP%]   .bv2-property-display-chips[_ngcontent-%COMP%]   span.bv2-property-display-chip-container[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   .bv2-property-display-chips[_ngcontent-%COMP%]   span.bv2-property-display-chip-container[_ngcontent-%COMP%]{background-color:#f1f3f4;background-color:var(--c100);border:1px solid;border-color:#dadce0;border-color:var(--divider);border-radius:3px;display:inline-block;height:20px;margin-right:4px;white-space:nowrap}.bv2-slo-elements-picker[_ngcontent-%COMP%]   .bv2-property-display-chips[_ngcontent-%COMP%]   span.bv2-property-display-chip-container[_ngcontent-%COMP%]   .matcher-chip-content[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   .bv2-property-display-chips[_ngcontent-%COMP%]   span.bv2-property-display-chip-container[_ngcontent-%COMP%]   .matcher-chip-content[_ngcontent-%COMP%]{display:inline-block;line-height:16px;margin:2px 5px;max-width:550px;overflow:hidden;text-overflow:ellipsis}.bv2-slo-elements-picker[_ngcontent-%COMP%]   .ng-dirty.ng-invalid[_ngcontent-%COMP%] > .jfk-select[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   .ng-dirty.ng-invalid[_ngcontent-%COMP%] > .jfk-select[_ngcontent-%COMP%]{border-color:#c5221f;border-color:var(--bad-high-contrast);border-width:2px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   .bv2-slo-elements-table-label[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   .bv2-slo-elements-table-label[_ngcontent-%COMP%]{font-weight:bold;padding-left:8px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   .bv2-slo-elements-table-help-icon[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   .bv2-slo-elements-table-help-icon[_ngcontent-%COMP%]{display:inline-block;padding-bottom:4px;padding-left:4px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   .slo-picker-actions[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   .slo-picker-actions[_ngcontent-%COMP%]{float:right}.bv2-slo-elements-picker[_ngcontent-%COMP%]   .slo-picker-actions[_ngcontent-%COMP%]   .slo-picker-icon-action-icon-container[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   .slo-picker-actions[_ngcontent-%COMP%]   .slo-picker-icon-action-icon-container[_ngcontent-%COMP%]{display:inline-block;padding-right:8px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   .bv2-slo-elements-actionbar[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   .bv2-slo-elements-actionbar[_ngcontent-%COMP%]{float:right}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]{border:1px solid;border-color:#dadce0;border-color:var(--divider);counter-reset:rulenumber;width:100%}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]{counter-increment:rulenumber}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{border-bottom:0;border-top:1px solid;border-top-color:#dadce0;border-top-color:var(--divider)}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]:last-child, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]:last-child{border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider)}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]:last-child.drag-over-after, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]:last-child.drag-over-after{border-bottom-color:#1a73e8;border-bottom-color:var(--primary)}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-action[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-action[_ngcontent-%COMP%]{padding-left:8px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-action.editable-row[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-action.editable-row[_ngcontent-%COMP%]{padding-top:10px;vertical-align:top}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-row-counter[_ngcontent-%COMP%]:after, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-row-counter[_ngcontent-%COMP%]:after{content:counter(rulenumber) ""}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row.draggable[_ngcontent-%COMP%]:hover > td.bv2-slo-element-row-counter[_ngcontent-%COMP%]:before, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row.draggable[_ngcontent-%COMP%]:hover > td.bv2-slo-element-row-counter[_ngcontent-%COMP%]:before{background:url("https://www.gstatic.com/buganizer/img/v0/grippy_large.png") no-repeat 3px 50%;content:"";cursor:grab;float:left;height:14px;width:5px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-row-counter[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-row-counter[_ngcontent-%COMP%]{line-height:14px;padding-left:initial;padding-right:initial;text-align:right;width:28px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-row-counter.editable-row[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-row-counter.editable-row[_ngcontent-%COMP%]{padding-top:12px;vertical-align:top}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]{text-align:left;padding-left:16px;padding-right:16px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-type-property-picker .bv2-property-picker-summary-text, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-type-property-picker .bv2-property-picker-summary-text{width:190px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-type-property-picker .bv2-property-picker-option-row, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-type-property-picker .bv2-property-picker-option-row{width:212px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-postmortem-property-picker .bv2-property-picker-summary-text, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-postmortem-property-picker .bv2-property-picker-summary-text{width:102px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-postmortem-property-picker .bv2-property-picker-option-row, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-postmortem-property-picker .bv2-property-picker-option-row{width:124px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-priority-property-picker .bv2-property-picker-summary-text, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-priority-property-picker .bv2-property-picker-summary-text{width:88px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-priority-property-picker .bv2-property-picker-option-row, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-priority-property-picker .bv2-property-picker-option-row{width:110px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]   input[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{width:100%}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column.editable-row[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column.editable-row[_ngcontent-%COMP%]{padding-top:6px;vertical-align:top}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]{text-align:left;padding-left:16px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]{width:128px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]   .bv2-enum-field[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]   .bv2-enum-field[_ngcontent-%COMP%]{padding-top:3px;padding-bottom:0px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]   .bv2-enum-field.ng-invalid[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]   .bv2-enum-field.ng-invalid[_ngcontent-%COMP%]{padding-top:3px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]   .goog-flat-menu-button[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]   .goog-flat-menu-button[_ngcontent-%COMP%]{background-color:initial;background-image:initial}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-metric.editable-row[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-metric.editable-row[_ngcontent-%COMP%]{padding-top:3px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-objective[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-objective[_ngcontent-%COMP%]{padding-left:16px;padding-right:16px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-objective[_ngcontent-%COMP%]     slo-objective-selector, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-objective[_ngcontent-%COMP%]     slo-objective-selector{float:left}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-objective[_ngcontent-%COMP%]     slo-objective-selector input, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-objective[_ngcontent-%COMP%]     slo-objective-selector input{margin:auto;padding-right:4px;text-align:right;width:3em}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-objective[_ngcontent-%COMP%]     slo-objective-selector .goog-flat-menu-button, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-objective[_ngcontent-%COMP%]     slo-objective-selector .goog-flat-menu-button{background-color:initial;background-image:initial}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-objective.editable-row[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-objective.editable-row[_ngcontent-%COMP%]{padding-top:6px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype{text-align:left;padding-left:16px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype mat-form-field, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype mat-form-field{width:111px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .bv2-enum-field, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .bv2-enum-field{padding-top:3px;padding-bottom:0px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .bv2-enum-field.ng-invalid, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .bv2-enum-field.ng-invalid{padding-top:3px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .goog-flat-menu-button, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .goog-flat-menu-button{background-color:initial;background-image:initial}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-daytype.editable-row[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-daytype.editable-row[_ngcontent-%COMP%]{padding-top:6px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-metric .mat-form-field, .bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .mat-form-field, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-metric .mat-form-field, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .mat-form-field{padding-right:10px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-metric .mat-form-field-wrapper, .bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .mat-form-field-wrapper, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-metric .mat-form-field-wrapper, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .mat-form-field-wrapper{padding:0}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-metric .mat-select-arrow-wrapper, .bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .mat-select-arrow-wrapper, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-metric .mat-select-arrow-wrapper, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .mat-select-arrow-wrapper{transform:none}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-metric .mat-form-field-infix, .bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .mat-form-field-infix, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-metric .mat-form-field-infix, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .mat-form-field-infix{padding:1px 0 7px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]{background-color:#f8f9fa;background-color:var(--surface-secondary)}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   .header-row[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   .header-row[_ngcontent-%COMP%]{border:0px;height:28px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-order-header[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-order-header[_ngcontent-%COMP%]{padding-left:16px;text-align:right;width:28px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-type-header[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-type-header[_ngcontent-%COMP%]{padding-left:16px;padding-right:16px;text-align:left;width:212px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-postmortem-header[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-postmortem-header[_ngcontent-%COMP%]{padding-left:16px;padding-right:16px;text-align:left;width:96px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-priority-header[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-priority-header[_ngcontent-%COMP%]{padding-left:16px;padding-right:16px;text-align:left;width:96px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-metric-header[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-metric-header[_ngcontent-%COMP%]{padding-left:16px;padding-right:16px;text-align:left;width:96px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-objective-header[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-objective-header[_ngcontent-%COMP%]{padding-left:16px;padding-right:16px;text-align:left;width:200px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-daytype-header[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-daytype-header[_ngcontent-%COMP%]{padding-left:16px;padding-right:16px;text-align:left;width:96px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-actions-header[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-actions-header[_ngcontent-%COMP%]{padding-left:16px;text-align:left;width:60px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   .custom-menu-button[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   .custom-menu-button[_ngcontent-%COMP%]{height:18px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   .custom-menu-button[_ngcontent-%COMP%]   .goog-inline-block[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   .custom-menu-button[_ngcontent-%COMP%]   .goog-inline-block[_ngcontent-%COMP%]{background:none;border:none;box-shadow:none;line-height:initial;min-width:initial;padding:0;vertical-align:initial}.cdk-drag-preview[_ngcontent-%COMP%]{counter-increment:rulenumber;background-color:#fff;background-color:var(--surface-default);box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12);display:table}.cdk-drag-preview[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{border-bottom:0;border-top:1px solid;border-top-color:#dadce0;border-top-color:var(--divider)}.cdk-drag-preview[_ngcontent-%COMP%]:last-child{border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider)}.cdk-drag-preview[_ngcontent-%COMP%]:last-child.drag-over-after{border-bottom-color:#1a73e8;border-bottom-color:var(--primary)}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-action[_ngcontent-%COMP%]{padding-left:8px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-action.editable-row[_ngcontent-%COMP%]{padding-top:10px;vertical-align:top}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-row-counter[_ngcontent-%COMP%]:after{content:counter(rulenumber) ""}.cdk-drag-preview.draggable[_ngcontent-%COMP%]:hover > td.bv2-slo-element-row-counter[_ngcontent-%COMP%]:before{background:url("https://www.gstatic.com/buganizer/img/v0/grippy_large.png") no-repeat 3px 50%;content:"";cursor:grab;float:left;height:14px;width:5px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-row-counter[_ngcontent-%COMP%]{line-height:14px;padding-left:initial;padding-right:initial;text-align:right;width:28px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-row-counter.editable-row[_ngcontent-%COMP%]{padding-top:12px;vertical-align:top}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]{text-align:left;padding-left:16px;padding-right:16px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-type-property-picker .bv2-property-picker-summary-text{width:190px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-type-property-picker .bv2-property-picker-option-row{width:212px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-postmortem-property-picker .bv2-property-picker-summary-text{width:102px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-postmortem-property-picker .bv2-property-picker-option-row{width:124px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-priority-property-picker .bv2-property-picker-summary-text{width:88px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-priority-property-picker .bv2-property-picker-option-row{width:110px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{width:100%}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column.editable-row[_ngcontent-%COMP%]{padding-top:6px;vertical-align:top}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]{text-align:left;padding-left:16px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]{width:128px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]   .bv2-enum-field[_ngcontent-%COMP%]{padding-top:3px;padding-bottom:0px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]   .bv2-enum-field.ng-invalid[_ngcontent-%COMP%]{padding-top:3px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]   .goog-flat-menu-button[_ngcontent-%COMP%]{background-color:initial;background-image:initial}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-metric.editable-row[_ngcontent-%COMP%]{padding-top:3px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-objective[_ngcontent-%COMP%]{padding-left:16px;padding-right:16px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-objective[_ngcontent-%COMP%]     slo-objective-selector{float:left}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-objective[_ngcontent-%COMP%]     slo-objective-selector input{margin:auto;padding-right:4px;text-align:right;width:3em}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-objective[_ngcontent-%COMP%]     slo-objective-selector .goog-flat-menu-button{background-color:initial;background-image:initial}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-objective.editable-row[_ngcontent-%COMP%]{padding-top:6px}.cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-daytype{text-align:left;padding-left:16px}.cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-daytype mat-form-field{width:111px}.cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .bv2-enum-field{padding-top:3px;padding-bottom:0px}.cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .bv2-enum-field.ng-invalid{padding-top:3px}.cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .goog-flat-menu-button{background-color:initial;background-image:initial}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-daytype.editable-row[_ngcontent-%COMP%]{padding-top:6px}.cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-metric .mat-form-field, .cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .mat-form-field{padding-right:10px}.cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-metric .mat-form-field-wrapper, .cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .mat-form-field-wrapper{padding:0}.cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-metric .mat-select-arrow-wrapper, .cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .mat-select-arrow-wrapper{transform:none}.cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-metric .mat-form-field-infix, .cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .mat-form-field-infix{padding:1px 0 7px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-row-counter[_ngcontent-%COMP%]:after{content:""}.cdk-drag-placeholder[_ngcontent-%COMP%]{opacity:0}.cdk-drag-animating[_ngcontent-%COMP%]{transition:transform 250ms cubic-bezier(0, 0, 0.2, 1)}/*# sourceMappingURL=slo-elements-picker.css.map */']});
var G1=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=a1c(d.priorityPickerValues)?null:"Priority can't be empty";d.priorityPickerValid=null===e;return e};this.validateTypePicker=function(){var e=a1c(d.typePickerValues)?null:"Type can't be empty";d.typePickerValid=
null===e;return e};this.validatePostmortemPicker=function(){var e=a1c(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=o1c(a.objective);this.selectedObjectiveBusinessDays=a.businessDays;this.canEdit=!b.isDisabled;this.metricValidators={required:function(e){return p1c(d,e)}};q1c(this);this.typePickerValues=r1c(this.controllerReference.sloParseService.jspbTypeToString.keys(),function(e){return 0===
d.parseResult.types.length||d.parseResult.types.includes(e)},function(e){return Lcb(d.controllerReference,e)});this.priorityPickerValues=r1c(this.controllerReference.sloParseService.jspbPriorityToString.keys(),function(e){return 0===d.parseResult.priorities.length||d.parseResult.priorities.includes(e)},function(e){return Qcb(d.controllerReference,e)});this.postmortemPickerValues=r1c(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();p1c(this,this.selectedMetric)},o1c=function(a){return a?a:{seconds:86400,nanos:0}};G1.prototype.isValid=function(){return this.priorityPickerValid&&this.typePickerValid&&this.postmortemPickerValid&&this.metricSelectorValid&&this.objectiveValid};
var p1c=function(a,b){b="METRIC_UNSPECIFIED"!==b;return a.metricSelectorValid=b};
G1.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;s1c(this);this.sloElement.metric=this.selectedMetric;this.sloElement.dayType=this.selectedDayType;this.sloElement.objective=this.selectedObjectiveDuration;this.sloElement.businessDays=this.selectedObjectiveBusinessDays;q1c(this)}};
var s1c=function(a){var b=a.getEnumValues(a.typePickerValues),c=a.getEnumValues(a.priorityPickerValues),d=a.getEnumValues(a.postmortemPickerValues);b=t1c(b,function(g){return a.controllerReference.sloParseService.jspbTypeToString.get(Rh(g))});c=t1c(c,function(g){return a.controllerReference.sloParseService.jspbPriorityToString.get(Rh(g))});d=t1c(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};G1.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 t1c=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("|")+")"};
G1.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;q1c(this)}};var q1c=function(a){a.parseResult=k1c(a.controllerReference.sloParseService,a.matcherText)},r1c=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 Z0c(h,g)}return new $0c(d)};var H1=function(){};H1.\u0275fac=function(a){return new (a||H1)};H1.\u0275mod=Ic({type:H1});H1.\u0275inj=rc({imports:[tF,$w,dO]});var I1=function(){};I1.\u0275fac=function(a){return new (a||I1)};I1.\u0275mod=Ic({type:I1});I1.\u0275inj=rc({imports:[tF]});var J1=function(){};J1.\u0275fac=function(a){return new (a||J1)};J1.\u0275mod=Ic({type:J1});J1.\u0275inj=rc({imports:[tF,I1,BK,$w,WM,jA,EB,dO,JC,B1,H1]});var K1=function(a,b,c,d,e){WD.call(this);this.element=a;this.cdr=b;this.location=c;this.paths=d;this.hotkeys=e;this.focusedIndex=0;this.slos=[]};U(K1,WD);K1.\u0275dir=WD.\u0275dir;f=K1.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=DL(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))};
K1.\u0275fac=function(a){return new (a||K1)(C(vd),C(cH,2),C(uG),C(vG),C(CL))};
K1.\u0275cmp=Gc({type:K1,selectors:[["b-slo-grid"]],inputs:{slos:"slos"},features:[Gf([cH]),bf],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&&(G(0,"table",0)(1,"thead")(2,"tr",1),I(3,"th",2),G(4,"th")(5,"div",3)(6,"div",4)(7,"div",5),R(8," SLO name "),H()()()(),G(9,"th")(10,"div",3)(11,"div",4)(12,"div",5),R(13," Description "),H()()()()()(),G(14,"tbody"),Q(15,kdb,7,7,"tr",6),H()());a&2&&(z(15),F("ngForOf",b.slos))},dependencies:[dw],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 L1=function(){};L1.\u0275fac=function(a){return new (a||L1)};L1.\u0275mod=Ic({type:L1});L1.\u0275inj=rc({imports:[tF]});var M1=function(a,b){this.log=a;this.dateFormatter=b},v1c=function(a,b){var c=N2a(b.addMask.paths),d=N2a(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(Vc(c),Vc(d)))),l=h.next();!l.done;l=h.next()){var q=l.value;l=vDc.get(q);if("name"===q){var x=kp(d,q,b.name);q=kp(c,q,g.name);e.diffs.push(lp(l,x,q))}else if("description"===q)x=kp(d,q,b.description),q=kp(c,q,g.description),e.diffs.push(lp(l,x,q));else if("parentId"===
q)x=kp(d,q,String(b.parentId)),q=kp(c,q,String(g.parentId)),e.diffs.push(lp(l,x,q));else if("elements"===q){var A=g.elements;x=O2a(d,q,b.elements.map(function(B){return u1c(B)}));q=O2a(c,q,A.map(function(B){return u1c(B)}));e.diffs.push({fieldName:l,diffType:"COLLECTION",diff:{removed:x,added:q}})}else a.log.error("Unsupported diff field.")}return e},u1c=function(a){var b=a.matcher,c=uDc.get(a.metric),d=Bcb.get(a.dayType),e=[];0<a.businessDays&&e.push(a.businessDays+" day"+(1<a.businessDays?"s":""));
0<a.objective.seconds&&e.push(Glc(1E3*a.objective.seconds));a=e.join(", ");return'("'+b+'", '+c+") - "+(d+" days - "+a)};M1.\u0275fac=function(a){return new (a||M1)(u(FF),u(aK))};M1.\u0275prov=qc({token:M1,factory:M1.\u0275fac,providedIn:"root"});var N1=function(){};N1.\u0275fac=function(a){return new (a||N1)};N1.\u0275mod=Ic({type:N1});N1.\u0275inj=rc({imports:[tF,BY,iC,aA]});var y1c=function(a,b){this.$log=b;this.templateAttributes={};this.templateCustomFields={};b=k(w1c);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?Vh(g):""}):e="string"===typeof d?Vh(d):"";this.templateAttributes[c]=e}b=k(x1c);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(":"),Bk(c)||(this.templateCustomFields[b]=c)},A1c=function(a){return 0!==Object.keys(a.templateCustomFields||{}).length||z1c.some(function(b){return null!=a.templateAttributes[b]})},F1c=function(a,b,c){null!=c&&(B1c(a,c),C1c(a,b,c),D1c(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;E1c[d](b,e)}a.templateAttributes={};a.templateCustomFields={}},C1c=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$2360:e.$jscomp$loop$prop$customFieldId$2360},h=g.next()){var l=k(h.value);h=l.next().value;l=l.next().value;e.$jscomp$loop$prop$customFieldId$2360=Rh(h);l={customFieldId:e.$jscomp$loop$prop$customFieldId$2360,value:l};h=a.getCustomFieldValue(l,c);null!=d[e.$jscomp$loop$prop$customFieldId$2360]?
(l=b.customField.findIndex(function(q){return function(x){return x.customFieldId===q.$jscomp$loop$prop$customFieldId$2360}}(e)),b.customField[l]=h):(b.customField.push(h),d[l.customFieldId]=h)}};
y1c.prototype.getCustomFieldValue=function(a,b){var c=new Yh(a);if(a.value){b=this.getCustomFieldType(c,b);var d=[];switch(b){case "TEXT":c.textValue=a.value;break;case "DATE":c.dateValue=Aqa(a.value)||void 0;break;case "ENUM":c.enumValue=a.value;break;case "NUMERIC":c.numericValue=Bqa(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 Aqa(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 Bqa(e)}).filter(function(e){return null!==e});c.repeatedNumericValue={values:d};break;default:this.$log.warn("Invalid custom field type '"+b+"'.")}}return c};y1c.prototype.getCustomFieldType=function(a,b){var c,d;return null!=(d=null==(c=b[a.customFieldId])?void 0:c.type)?d:""};
var B1c=function(a,b){a.templateCustomFields=Tb(a.templateCustomFields,function(c,d){return!!b[d]})},D1c=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$2362:c.$jscomp$loop$prop$allowedValues$2362},d=a.next()){d=d.value;var e=b[d.customFieldId];if(e&&e.type&&e.type.includes("ENUM")){c.$jscomp$loop$prop$allowedValues$2362=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$2362.includes(l)}}(c)),!d.repeatedEnumValue.values.length&&g&&(d.repeatedEnumValue=e.typedDefaultValue.repeatedEnumValue)):c.$jscomp$loop$prop$allowedValues$2362.includes(d.enumValue)||(d.enumValue=g?e.typedDefaultValue.enumValue:"")}}}},G1c=new BI,H1c=G1c.priorities,I1c=G1c.severities,J1c=G1c.issueTypes,w1c="title type priority severity assignee verifier reporter collaborators cc hotlistIds blockedByIssueIds blockingIssueIds foundIn targetedTo".split(" "),
x1c=["inProd"],z1c="severity foundIn inProd reporter verifier targetedTo blockedByIssueIds blockingIssueIds".split(" "),O1={},E1c=(O1.cc=function(a,b){a.ccUsers=odb(b,a.ccUsers||[])},O1.collaborators=function(a,b){a.collaboratorsUsers=odb(b,a.collaboratorsUsers||[])},O1.title=function(a,b){"string"===typeof b&&(a.title=b)},O1.assignee=function(a,b){ndb(b,function(c){a.assigneeUser=c})},O1.reporter=function(a,b){ndb(b,function(c){a.reporterUser=c})},O1.verifier=function(a,b){ndb(b,function(c){a.verifierUser=
c})},O1.hotlistIds=function(a,b){if(b=ldb(b)){a.hotlistId||(a.hotlistId=[]);b=k(b);for(var c=b.next();!c.done;c=b.next())a.hotlistId.push(c.value)}},O1.blockingIssueIds=function(a,b){if(b=ldb(b))a.blockingIssueId=b.map(String)},O1.blockedByIssueIds=function(a,b){if(b=ldb(b))a.blockedByIssueId=b.map(String)},O1.foundIn=function(a,b){"string"===typeof b&&(a.foundInVersion=b.split(","))},O1.targetedTo=function(a,b){"string"===typeof b&&(a.targetedToVersion=b.split(","))},O1.inProd=function(a,b){a.inProd=
"true"===b},O1.priority=function(a,b){if(b=mdb(H1c,b))a.priority=nl(b)},O1.severity=function(a,b){if(b=mdb(I1c,b))a.severity=Aua(b)},O1.type=function(a,b){if(b=mdb(J1c,b))a.type=zua(b)},O1);var P1=function(a,b){this.issueRelationshipApi=a;this.issueApi=b};
P1.prototype.bulkEdit=function(a){var b=this,c,d,e,g,h,l,q,x,A,B,K,N,P;return he(function(Y){switch(Y.nextAddress){case 1:c=a.actions[0];d=String(c.value);e=a.issueIds;g=c.actionType;if("ADD"!==g&&"REMOVE"!==g)throw Error("re");h={};l=[];q=[];x=Nua(e);A=k(x.reverse());B=A.next();case 2:if(B.done){Y.jumpTo(4);break}K=B.value;ie(Y,5);return"ADD"===g?(N=K.map(function(X){return oE(new nE,Number(X))}),Y.yield((0,E.firstValueFrom)(Cbc(b.issueRelationshipApi,d,N)),8)):Y.yield((0,E.firstValueFrom)(Dbc(b.issueRelationshipApi,
d,K)),8);case 8:return Y.yield(b.issueApi.batchGetIssues(K).then(function(X){return X.map(function(ka){return h[ka.issueId]=ka})}),11);case 11:ms(Y,3);break;case 5:P=le(Y);if(!Ql(P))throw P;q.push(P);l.push.apply(l,Vc(K));case 3:B=A.next();Y.jumpTo(2);break;case 4:return Y.return({finishedIssues:h,notFinishedIssueIds:l,errors:q})}})};P1.\u0275fac=function(a){return new (a||P1)(u(AE),u(kE))};P1.\u0275prov=qc({token:P1,factory:P1.\u0275fac,providedIn:"root"});var Q1=function(a,b){WD.call(this);this.routerEvents=a;this.bLocation=b;this.history=[]};U(Q1,WD);Q1.\u0275dir=WD.\u0275dir;Q1.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()}))};Q1.prototype.ngOnDestroy=function(){this.subscriptions.unsubscribe()};Q1.prototype.hasPreviousPage=function(){return 1<this.history.length};
var R1=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("/")};Q1.\u0275fac=function(a){return new (a||Q1)(u(fH),u(uG))};Q1.\u0275prov=qc({token:Q1,factory:Q1.\u0275fac,providedIn:"root"});var S1=function(a,b,c){this.bLocation=a;this.routeParams=b;this.domSafe=c},K1c=function(a,b,c){var d=a.routeParams.redirectUrl;if(d&&d.startsWith("http")){if(c&&us(d,"id=")||us(d,"bugId="))d+=c;Vkc(a.domSafe,d)}else{var e;a.bLocation.replaceUrl(null!=(e=d)?e:b)}};S1.\u0275fac=function(a){return new (a||S1)(u(uG),u(RI),u(SJ))};S1.\u0275prov=qc({token:S1,factory:S1.\u0275fac,providedIn:"root"});var T1=function(a,b){WD.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||(wfc("appNavStart"),c.mostRecentlyMeasured="")};this.onNavSuccess=function(){c.ignoringNextNav?c.ignoringNextNav=!1:c.validNavigations++}};U(T1,WD);T1.\u0275dir=WD.\u0275dir;
T1.prototype.install=function(){var a=this;Mm()&&(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(ye(function(b){return"visible"!==b}),Ge()).subscribe(function(){a.tabWasHidden=!0})))};
var L1c=function(a,b){wfc(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)&&Mm())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)}}};T1.\u0275fac=function(a){return new (a||T1)(u(fH),u(U1))};
T1.\u0275prov=qc({token:T1,factory:T1.\u0275fac,providedIn:"root"});var U1=function(a){var b=this;this.window=a;this.visibilityState$=(0,E.fromEvent)(this.window.document,"visibilityChange").pipe(Re(void 0),D(function(){return b.currentVisibility}))};hh.Object.defineProperties(U1.prototype,{currentVisibility:{configurable:!0,enumerable:!0,get:function(){return this.window.document.visibilityState}}});U1.\u0275fac=function(a){return new (a||U1)(u(VD))};
U1.\u0275prov=qc({token:U1,factory:U1.\u0275fac,providedIn:"root"});var M1c=RegExp("action/issues/([0-9]+)/"),N1c=new Rc("ETAG_URL_TRANSFORMERS"),V1=function(a){this.transformers=a;this.etagStore={};this.IF_MATCH_METHODS=["POST","PUT","DELETE"]};V1.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=M1c.exec(a.url))this.issueId=c[1];return O1c(this,a,b)};
var O1c=function(a,b,c){return c.handle(b).pipe(Ue(function(d){if(d instanceof Ix){var e=d.headers;e.has("etag")&&a.setEtag(b,e.get("etag"));d=d.body;if(d instanceof iE&&a.issueId)for(d=k(aj(d,mk,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 Gx("GET","action/issues/"+h+"/attachments/"+l);a.setEtag(h,g.getEtag())}}}}))};
V1.prototype.setEtag=function(a,b){null!=b&&(a=P1c(this,a),this.etagStore[a]=b)};V1.prototype.getEtag=function(a){a=P1c(this,a);return this.etagStore[a]};var P1c=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};V1.\u0275fac=function(a){return new (a||V1)(u(N1c,8))};V1.\u0275prov=qc({token:V1,factory:V1.\u0275fac,providedIn:"root"});var Q1c={provide:iWb,useClass:V1,multi:!0};var R1c={provide:N1c,useValue:function(a){return a.replace(/(action\/components\/[0-9]+)\/(move|updateSlo|updateTeam)/,"$1")},multi:!0},S1c={provide:N1c,useValue:function(a){return a.replace(/(action\/hotlists\/[0-9]+)\/archive/,"$1")},multi:!0};var W1=function(a){this.activeSession=a};W1.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)};W1.\u0275fac=function(a){return new (a||W1)(u(gs))};W1.\u0275prov=qc({token:W1,factory:W1.\u0275fac,providedIn:"root"});var T1c={provide:iWb,useClass:W1,multi:!0};var X1=function(a){this.http=a};U(X1,LC);f=X1.prototype;f.get=function(a){return this.request("get",a)};f.delete=function(a){return this.request("delete",a)};f.post=function(a){return this.request("post",a,a.body)};f.put=function(a){return this.request("put",a,a.body)};f.request=function(a,b,c){var d=b.options;d=void 0===d?{}:d;d={headers:d.headers||{},params:Object.assign({},d.params)};var e;c=null!=(e=null==c?void 0:c.toJSON())?e:null;return this.http.request(a,b.url,Object.assign({},d,{body:c})).pipe(D(pdb(b.responseConstructor)))};
X1.\u0275fac=function(a){return new (a||X1)(u(Jx))};X1.\u0275prov=qc({token:X1,factory:X1.\u0275fac,providedIn:"root"});var Y1=function(a){this.jspbExecutor=a};U(Y1,MC);Y1.prototype.get=function(a){return(0,E.firstValueFrom)(this.jspbExecutor.get(a))};Y1.prototype.delete=function(a){return(0,E.firstValueFrom)(this.jspbExecutor.delete(a))};Y1.prototype.post=function(a){return(0,E.firstValueFrom)(this.jspbExecutor.post(a))};Y1.prototype.put=function(a){return(0,E.firstValueFrom)(this.jspbExecutor.put(a))};
Y1.\u0275fac=function(a){return new (a||Y1)(u(X1))};Y1.\u0275prov=qc({token:Y1,factory:Y1.\u0275fac,providedIn:"root"});var Z1=function(){};Z1.\u0275fac=function(a){return new (a||Z1)};Z1.\u0275mod=Ic({type:Z1});Z1.\u0275inj=rc({providers:[{provide:VF,useClass:XF},{provide:Dic,useClass:HI},{provide:II,useClass:JI},{provide:Gcc,useClass:dF},{provide:Hcc,useClass:cF},{provide:Icc,useClass:kF},{provide:NF,useClass:OF},{provide:NH,useClass:PH},{provide:kE,useClass:mE},{provide:lY,useClass:mY},{provide:OG,useClass:RG},{provide:PG,useClass:QG},{provide:LC,useClass:X1},{provide:MC,useClass:Y1}],imports:[tF]});var U1c=function(a){this.lookupId_=a;this.displayName_="";this.forceDisplayNameOverride_=!1};f=U1c.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 vr=function(a){r.call(this,a)};U(vr,r);vr.prototype.getEntryPoint=function(){return W(this,5,0)};vr.prototype.setEntryPoint=function(a){return n(this,5,a)};vr.prototype.toObject=function(){return a2(this)};var a2=function(a){if(null!=a)return t(a),{autocompleteField:p(kr(a,1)),autocompletePerson:p(kr(a,2)),suggestionField:p(kr(a,3)),suggestionPerson:p(kr(a,4)),entryPoint:W(a,5,0)}};var xr=function(a){r.call(this,a)};U(xr,r);xr.prototype.getEntryPoint=function(){return W(this,1,0)};xr.prototype.setEntryPoint=function(a){return n(this,1,a)};xr.prototype.toObject=function(){return V1c(this)};var V1c=function(a){if(null!=a)return t(a),{entryPoint:W(a,1,0),additionEventSources:a2(Z(a,vr,2)),replacementEventSources:a2(Z(a,vr,3))}};var b2=function(a){r.call(this,a)};U(b2,r);b2.prototype.getQuery=function(){return V(this,1,"")};b2.prototype.setQuery=function(a){return n(this,1,a)};b2.prototype.clearQuery=function(){Js(this,1)};b2.prototype.hasQuery=function(){return wk(this,1)};var W1c=function(a,b){n(a,3,b)};b2.prototype.getAffinityVersion=function(){return Gh(this,7)};b2.prototype.setAffinityVersion=function(a){n(this,7,a)};b2.prototype.getAffinityVersionOrUndefined=function(){return bt(this,7)};
var X1c=function(a){var b=Bxc();Ns(a,8,b)};f=b2.prototype;f.getSources=function(){return Z(this,vr,10)};f.setSources=function(a){Yi(this,vr,10,a)};f.getInstanceId=function(){return V(this,11,"")};f.setInstanceId=function(a){return n(this,11,a)};f.clearInstanceId=function(){Js(this,11)};f.hasInstanceId=function(){return wk(this,11)};f.getInstanceIdOrUndefined=function(){return dt(this,11)};f.toObject=function(){return Y1c(this)};
var Y1c=function(a){if(null!=a)return t(a),{query:V(a,1,""),querySessionId:gj(a,3,0),selectSessionId:gj(a,4,0),submitSessionId:gj(a,5,0),cacheUpdatedTimestamp:gj(a,6,0),affinityVersion:p(Os(a,7)),callTimestampMs:hj(a,8,0),resultTimestampMs:hj(a,9,0),sources:a2(a.getSources()),instanceId:V(a,11,""),contextualSources:V1c(Z(a,xr,12))}};var pr=function(a){r.call(this,a)};U(pr,r);f=pr.prototype;f.getPersonLoggingId=function(){return V(this,1)};f.setPersonLoggingId=function(a){n(this,1,a)};f.getFieldLoggingId=function(){return V(this,2)};f.setFieldLoggingId=function(a){n(this,2,a)};f.setFieldValue=function(a){return n(this,3,a)};f.clearFieldValue=function(){return Js(this,3)};f.getName=function(){return V(this,4)};f.setName=function(a){return n(this,4,a)};f.hasName=function(){return wk(this,4)};
f.getNameOrUndefined=function(){return dt(this,4)};f.getContactId=function(){return V(this,5)};f.setContactId=function(a){n(this,5,a)};f.getProfileId=function(){return V(this,6)};f.getProfileId_legacyNullable=function(){return m(this,6)};f.setProfileId=function(a){return n(this,6,a)};f.hasProfileId=function(){return wk(this,6)};f.getFieldType=function(){return W(this,7,0)};f.getFieldType_legacyNullable=function(){return kr(this,7)};f.setFieldType=function(a){n(this,7,a)};
f.getFieldTypeOrUndefined=function(){return wr(this,7)};f.getIsPlaceholder=function(){return Jj(this,10,!1)};f.setIsPlaceholder=function(a){Lj(this,10,a)};f.getGroupId=function(){return V(this,11)};f.setGroupId=function(a){n(this,11,a)};f.hasGroupId=function(){return wk(this,11)};f.toObject=function(){return Z1c(this)};
var Z1c=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(kr(a,7)),personType:p(kr(a,8)),isFlattened:Jj(a,9,!0),isPlaceholder:Jj(a,10,!1),groupId:p(m(a,11))}};var or=function(a){r.call(this,a)};U(or,r);f=or.prototype;f.getProvenance=function(){return W(this,3,0)};f.setProvenance=function(a){return n(this,3,a)};f.getContext=function(){return W(this,5,0)};f.getExistingSelectionsCount=function(){return Gh(this,6,0)};f.setExistingSelectionsCount=function(a){n(this,6,a)};f.toObject=function(){return $1c(this)};
var $1c=function(a){if(null!=a)return t(a),{fieldPosition:Gh(a,1,0),personPosition:Gh(a,2,0),provenance:W(a,3,0),valueOriginator:W(a,4,0),context:W(a,5,0),existingSelectionsCount:Gh(a,6,0)}};var nr=function(a){r.call(this,a)};U(nr,r);var uq=function(a){return Z(a,or,2)};nr.prototype.getSessionState=function(){return Z(this,b2,3)};nr.prototype.setSessionState=function(a){Yi(this,b2,3,a)};nr.prototype.hasSessionState=function(){return Dj(this,b2,3)};nr.prototype.toObject=function(){return a2c(this)};var a2c=function(a){if(null!=a)return t(a),{info:Z1c(Z(a,pr,1)),targetState:$1c(uq(a)),sessionState:Y1c(a.getSessionState()),isClosed:Jj(a,4,!1)}};var br=function(a){r.call(this,a,1)};U(br,r);var b2c={};br.prototype.toObject=function(){if(null!=this){t(this);var a={};Nb(this,a,b2c)}else a=void 0;return a};var lr=function(a){r.call(this,a)};U(lr,r);f=lr.prototype;f.getType=function(){return W(this,1,0)};f.setType=function(a){return n(this,1,a)};f.hasType=function(){return fj(this,1)};f.getValue=function(){return V(this,2,"")};f.setValue=function(a){return n(this,2,a)};f.hasValue=function(){return wk(this,2)};f.toObject=function(){if(null!=this){t(this);var a={type:W(this,1,0),value:V(this,2,"")}}else a=void 0;return a};var c2c=function(a){r.call(this,a)};U(c2c,r);c2c.prototype.setDisabled=function(a,b){xb(this,2,a,b,Tk)};c2c.repeatedFields_=[1,2];c2c.prototype.toObject=function(){return d2c(this)};var d2c=function(a){if(null!=a)return t(a),{enabledList:p(Tk(a,1)),disabledList:p(Tk(a,2))}};var c2=function(a){r.call(this,a)};U(c2,r);f=c2.prototype;f.getEnableClearcut=function(){return Jj(this,1,!1)};f.setEnableClearcut=function(a){return Lj(this,1,a)};f.getClientId=function(){return W(this,2,0)};f.setClientId=function(a){return n(this,2,a)};f.getSocialApplication=function(){return W(this,3,0)};f.getSocialApplicationOrUndefined=function(){return wr(this,3)};f.getComponentFlow=function(){return W(this,4,0)};f.setComponentFlow=function(a){return n(this,4,a)};
f.getInterfaceType=function(){return W(this,5,0)};f.setInterfaceType=function(a){return n(this,5,a)};f.toObject=function(){return e2c(this)};var e2c=function(a){if(null!=a)return t(a),{enableClearcut:Jj(a,1,!1),clientId:W(a,2,0),socialApplication:p(kr(a,3)),componentFlow:W(a,4,0),interfaceType:W(a,5,0),enableVeTracking:Jj(a,6,!0)}};var d2=function(a){r.call(this,a)};U(d2,r);var Ldb=function(){var a=tq.getExperiments();return Jj(a,6,!1)},gfb=function(){var a=tq.getExperiments();return Jj(a,7,!1)};d2.prototype.toObject=function(){return f2c(this)};var f2c=function(a){if(null!=a)return t(a),{enableDisambigForAdditionSuggestions:Jj(a,1,!1),enableSyntheticVe:Jj(a,2,!1),enableOodTag:Jj(a,3,!1),enableLegacyReplacementStyling:Jj(a,4,!0),enableRafAutocomplete:Jj(a,5,!1),enableIsolatedVe:Jj(a,6,!1),enableHide:Jj(a,7,!1)}};var e2=function(a){r.call(this,a)};U(e2,r);f=e2.prototype;f.getApplication=function(){return W(this,1,0)};f.setApplication=function(a){return n(this,1,a)};f.getApplicationOrUndefined=function(){return wr(this,1)};f.getIsEnabled=function(){return Jj(this,2,!1)};f.toObject=function(){return g2c(this)};var g2c=function(a){if(null!=a)return t(a),{application:W(a,1,0),isEnabled:Jj(a,2,!1),overriddenExperiments:f2c(Z(a,d2,3))}};var h2c=function(a){r.call(this,a)};U(h2c,r);h2c.prototype.toObject=function(){return i2c(this)};var i2c=function(a){if(null!=a)return t(a),{refreshIntervalInMs:p(Os(a,1))}};var j2c=function(a){r.call(this,a)};U(j2c,r);j2c.prototype.toObject=function(){return k2c(this)};var k2c=function(a){if(null!=a)return t(a),{refreshIntervalInMs:p(Os(a,1))}};var l2c=function(a){r.call(this,a)};U(l2c,r);l2c.prototype.toObject=function(){return m2c(this)};var m2c=function(a){if(null!=a)return t(a),{waldo:k2c(Z(a,j2c,1)),hubAvailabilityDot:i2c(Z(a,h2c,2))}};var n2c=function(a){r.call(this,a)};U(n2c,r);f=n2c.prototype;f.getClearcut=function(){return Z(this,c2,1)};f.setClearcut=function(a){Yi(this,c2,1,a)};f.hasClearcut=function(){return Dj(this,c2,1)};f.getExperiments=function(){return Z(this,e2,2)};f.setExperiments=function(a){Yi(this,e2,2,a)};f.hasExperiments=function(){return Dj(this,e2,2)};
f.toObject=function(){if(null!=this){t(this);var a={clearcut:e2c(this.getClearcut()),experiments:g2c(this.getExperiments()),maxUndoStackSize:Qs(this,3,10),enableTargetedCopyOptions:Jj(this,4,!1),enableEmailEditing:Jj(this,5,!1),hideGroupResultMemberCount:Jj(this,6,!1),enableHideSuggestion:Jj(this,7,!1),intelligence:m2c(Z(this,l2c,8)),enableResultListItemContextMenu:Jj(this,9,!1),featureSet:V(this,10,"all_features"),features:d2c(Z(this,c2c,11)),featuresKey:V(this,12,"")}}else a=void 0;return a};var o2c=Mca(n2c);var p2c;var q2c=function(){this.actionListeners=new Map};q2c.prototype.subscribe=function(a,b){this.actionListeners.has(a)?this.actionListeners.get(a).push(b):this.actionListeners.set(a,[b])};q2c.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)}};
q2c.prototype.notify=function(a){var b=Pc.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 r2c=function(){this.actionEventDispatcher=new q2c};var s2c=function(){var a=nb(p2c||(p2c=o2c("[[true,49,740,4],[7,true]]")));this.injectorService=new r2c;a.hasClearcut()||a.setClearcut(new c2);a.hasExperiments()||a.setExperiments(new e2);this.internal=a};s2c.prototype.getInternal=function(){return this.internal};var udb=function(a){this.root=a;this.length=0};f=udb.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("te");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("te");var b=this.getItems();this.root.removeChild(b[a]);--this.length};
f.clear=function(){p0b(this.root);this.length=0};f.getRoot=function(){return this.root};var sdb=function(a){return lq('<ul id="'+oq(a.id)+'" peoplekit-id="'+oq("rymPhb")+'" role="listbox" aria-multiselectable="true" class="'+oq("peoplekitComponentsListImplList")+'"></ul>')};var tdb=Zp.getInstance();var Tdb=function(a){this.isActive=!1;this.multiActivateAnchorIndex=this.spotlightIndex=-1;this.secondaryEventTargets=[];this.list=[].concat(Vc(a));this.activeItems=new Set([]);this.hideContextMenu=function(){}};f=Tdb.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(Vc(b)));c?(t2c(this),u2c(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:t2c(this);v2c(this);break;case 3:v2c(this);break;case 1:a=wdb(this.spotlightIndex,c,this.multiActivateAnchorIndex);b=wdb(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);u2c(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();t2c(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(Vc(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 v2c=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},t2c=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()},u2c=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 w2c=function(a){this.delegate=a};f=w2c.prototype;f.prev=function(a){a=this.delegate.prev(a);x2c(this);return a};f.next=function(a){a=this.delegate.next(a);x2c(this);return a};f.size=function(){return this.delegate.size()};f.goToItem=function(a,b){a=this.delegate.goToItem(a,b);x2c(this);return a};f.goToIndex=function(a,b){a=this.delegate.goToIndex(a,b);x2c(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 x2c=function(a){if(a=a.delegate.getSpotlitItem())if(a=a.getRoot(),vs){var b=NBc(a);QBc(a,b)}else a.scrollIntoView({block:"nearest"})};var keb=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=keb.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("te");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("te");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 y2c=function(a,b,c,d){this.loggingToken=d;(new U1c(a)).setDisplayName(b).forceDisplayNameOverride_=c};y2c.prototype.getLoggingToken=function(){return this.loggingToken};var f2=function(a){this.delegate_=a};f=f2.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 Op=function(a){this.delegate_=a};U(Op,f2);f=Op.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 z2c=function(){};z2c.prototype.getDisplayNameMatches=function(){return[]};z2c.prototype.getDisplayValueMatches=function(){return[]};z2c.prototype.getGivenNameMatches=function(){return[]};var A2c=new z2c;var xdb=function(a,b,c){this.resultType_=a;this.targets_=b;this.memberCount_=c};f=xdb.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("ve");};f.getDisplayName=function(){return""};f.getDisplayValue=function(){return""};f.getDescription=function(){return""};f.getPhotoUrl=function(){return""};
f.getMatchInfo=function(){return A2c};f.getExtendedData=function(){return null};var B2c=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 Tq=function(){this.url_="";this.sourceType_=this.type_=0;this.glyph_=""};f=Tq.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 C2c=(new Tq).setType(1).setUrl("https://lh3.googleusercontent.com/a/default-user"),D2c=new Tq;var g2=function(a){this.id_=a;this.value_=this.id_.getOriginalValue();this.description_="";this.name_=null;this.photo_=yq(this.id_)?D2c:C2c;this.tags_=[];this.sourceIds_=Rgb.includes(this.id_.getType())?[this.id_]:[];8===this.id_.getType()&&this.sourceIds_.push(Ogb(this.id_.getOriginalValue()));this.isMe_=17===this.id_.getType();this.dataSource_=0;this.resultType_=B2c.get(this.id_.getType())||0;this.personLoggingId_=this.fieldLoggingId_="";this.orgState_=0;this.extendedData_=this.originatingField_=
null};f=g2.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_=yq(this.id_)?D2c:C2c};f.getTagList=function(){return this.tags_};var Xgb=function(a,b){a.tags_=b||[]};f=g2.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 nr};f.getIsMe=function(){return this.isMe_};var Ugb=function(a,b){a.isMe_=b;return a};f=g2.prototype;
f.getIsPersonalResult=function(){return 1===this.dataSource_};f.getDataSource=function(){return this.dataSource_};f.setDataSource=function(a){this.dataSource_=a;return this};f.getResultType=function(){return this.resultType_};f.setResultType=function(a){this.resultType_=a};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 Wgb=function(a,b){a.orgState_=b};g2.prototype.getOriginatingField=function(){return this.originatingField_};g2.prototype.setOriginatingField=function(a){this.originatingField_=a;return this};var Sq=function(a){return new g2(a)};g2.prototype.getExtendedData=function(){return this.extendedData_};g2.prototype.setExtendedData=function(a){this.extendedData_=a};var E2c=function(a){this.internalId=a;this.displayNameOverride="";this.forceDisplayNameOverride=!1;a=Sq(this.internalId).setDataSource(3);this.internalResult=new Op(ydb(0,[a]));this.internalSelectionToken=new y2c(this.internalId,this.displayNameOverride,this.forceDisplayNameOverride,null)};f=E2c.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 Rdb=function(a,b){this.root=a;this.options=b};f=Rdb.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 E2c(Qgb(this.options.id))};f.toggleSelection=function(){};f.onKeyDown=function(){};f.onContextMenu=function(){return function(){}};var Qdb=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="'+oq(e)+'" peoplekit-id="'+oq("UhZROb")+'" class="'+oq("peoplekitComponentsContextmenuitemImplMenuItem")+" "+oq(c)+'"'+(d?' aria-label="'+oq(d)+'"':"")+'><div class="'+oq("peoplekitComponentsContextmenuitemImplRow")+'">'+(g?'<img class="'+oq("peoplekitComponentsContextmenuitemImplIcon")+" "+oq("peoplekitComponentsContextmenuitemImplLeft")+'" src="'+
oq(bBc(g))+'" draggable="false" alt=""/>':"")+'<div class="'+oq("peoplekitComponentsContextmenuitemImplLabel")+" "+oq("peoplekitComponentsContextmenuitemImplCenter")+'">'+pq(a)+"</div>"+(0<b.length?'<div class="'+oq("peoplekitComponentsContextmenuitemImplKeyboardShortcut")+" "+oq("peoplekitComponentsContextmenuitemImplRight")+'"><span dir="ltr">'+pq(MAc(b).join("+"))+"</span></div>":"")+"</div></div>";return lq(b)};var F2c=function(a){r.call(this,a)};U(F2c,r);F2c.prototype.toObject=function(){return G2c(this)};var G2c=function(a){if(null!=a)return t(a),{}};var H2c=function(a){r.call(this,a)};U(H2c,r);H2c.prototype.toObject=function(){return I2c(this)};var I2c=function(a){if(null!=a)return t(a),{exampleBooleanFlag:Jj(a,1,!1),exampleIntegerFlag:Gh(a,2,42)}};var J2c=function(a){r.call(this,a)};U(J2c,r);J2c.prototype.toObject=function(){return K2c(this)};var K2c=function(a){if(null!=a)return t(a),{}};var L2c=function(a){r.call(this,a)};U(L2c,r);L2c.prototype.toObject=function(){return M2c(this)};var M2c=function(a){if(null!=a)return t(a),{enableProjectLean:Jj(a,1,!1),enableEmailAddressMatching:Jj(a,2,!1),enableFilterNonPrimarySignupEmail:Jj(a,3,!1),enableSmartaddressCounterfactualLogging:Jj(a,4,!1),enableExtensibleLookupcache:Jj(a,5,!1)}};var N2c=function(a){r.call(this,a)};U(N2c,r);N2c.prototype.toObject=function(){return O2c(this)};var O2c=function(a){if(null!=a)return t(a),{enableProjectLean:Jj(a,1,!1)}};var P2c=function(a){r.call(this,a)};U(P2c,r);P2c.prototype.toObject=function(){return Q2c(this)};var Q2c=function(a){if(null!=a)return t(a),{enablePopulousV2:Jj(a,1,!0)}};var R2c=function(a){r.call(this,a)};U(R2c,r);R2c.prototype.toObject=function(){return S2c(this)};var S2c=function(a){if(null!=a)return t(a),{}};var T2c=function(a){r.call(this,a)};U(T2c,r);T2c.prototype.getIsEnabled=function(){return Jj(this,1,!1)};T2c.prototype.toObject=function(){return U2c(this)};var U2c=function(a){if(null!=a)return t(a),{isEnabled:Jj(a,1,!1),answer:gj(a,2,42)}};var Sp=function(a){r.call(this,a)};U(Sp,r);Sp.prototype.getRequestType=function(){return W(this,1,0)};Sp.prototype.setRequestType=function(a){return n(this,1,a)};Sp.prototype.toObject=function(){return V2c(this)};
var V2c=function(a){if(null!=a)return t(a),{requestType:p(kr(a,1)),testExperimentFlags:U2c(Z(a,T2c,101)),hovercardExperimentsRoot:G2c(Z(a,F2c,102)),peopleIntelligenceExperimentsRoot:K2c(Z(a,J2c,103)),populousExperimentsRoot:M2c(Z(a,L2c,104)),sendkitExperimentsRoot:Q2c(Z(a,P2c,105)),integrationExampleFeature:I2c(Z(a,H2c,106)),peoplekitExperimentsRoot:f2c(Z(a,d2,107)),populousLeanExperimentFlags:O2c(Z(a,N2c,108)),sharekitExperimentsRoot:S2c(Z(a,R2c,109))}};var W2c=function(){var a=new Sp,b=new d2;this.experimentFlags_=Yi(a,d2,107,b)};W2c.prototype.getExperimentFlags=function(){return this.experimentFlags_};W2c.prototype.getExperimentIds=function(){return[]};var cgb=function(a,b){this.cache=b;this.overriddenExperiments=Z(a,d2,3)||new d2};cgb.prototype.getExperiments=function(){var a,b=(null==(a=this.cache.getExperimentFlags())?void 0:Z(a,d2,107))||new d2;a=this.overriddenExperiments;if(Dk(a,3)){var c=Jj(a,3,!1);Lj(b,3,c)}Dk(a,4)&&(a=Jj(a,4,!0),Lj(b,4,a));return b};cgb.prototype.getExperimentIds=function(){return this.cache.getExperimentIds()};var X2c=function(a){r.call(this,a)};U(X2c,r);f=X2c.prototype;f.getCacheStaleSec=function(){return Gh(this,4,14400)};f.getCacheExpiredSec=function(){return Gh(this,5,1209600)};f.getRpcTimeoutSec=function(){return Gh(this,7,60)};f.getApiKey=function(){return V(this,8,"")};f.setApiKey=function(a){return n(this,8,a)};f.getEnableClearcut=function(){return Jj(this,13,!0)};f.setEnableClearcut=function(a){return Lj(this,13,a)};
f.toObject=function(){if(null!=this){t(this);var a={minimumCacheRefreshSec:Gh(this,3,1800),cacheStaleSec:Gh(this,4,14400),cacheExpiredSec:Gh(this,5,1209600),rpcTimeoutSec:Gh(this,7,60),apiKey:V(this,8,""),apiRoot:p(m(this,10)),cacheRefreshRateSec:Gh(this,11,14400),maxRefreshCount:Gh(this,12,18),enableClearcut:Jj(this,13,!0)}}else a=void 0;return a};var agb=Mca(X2c);var $fb;var Y2c=function(){};Y2c.prototype.getExperimentFlags=function(){return new Sp};Y2c.prototype.getExperimentIds=function(){return[]};var Kq=function(){};Kq.prototype.prefetch=function(){};Kq.prototype.loadExperiments=function(){return new Y2c};var h2=function(a){r.call(this,a)};U(h2,r);h2.prototype.getVersion=function(){return gj(this,1)};h2.prototype.setVersion=function(a){return n(this,1,a)};h2.prototype.getVersionOrUndefined=function(){return ct(this,1)};h2.prototype.toObject=function(){return Z2c(this)};var Z2c=function(a){if(null!=a)return t(a),{version:p(m(a,1))}};var i2=function(a){r.call(this,a)};U(i2,r);f=i2.prototype;f.getApplication=function(){return W(this,1,0)};f.setApplication=function(a){return n(this,1,a)};f.getApplicationOrUndefined=function(){return wr(this,1)};f.getVersion=function(){return gj(this,2)};f.setVersion=function(a){return n(this,2,a)};f.getVersionOrUndefined=function(){return ct(this,2)};f.toObject=function(){return $2c(this)};var $2c=function(a){if(null!=a)return t(a),{application:p(kr(a,1)),version:p(m(a,2))}};var a3c=function(a){r.call(this,a)};U(a3c,r);f=a3c.prototype;f.getRequestType=function(){return W(this,1,0)};f.setRequestType=function(a){return n(this,1,a)};f.getProfileId=function(){return V(this,2)};f.getProfileId_legacyNullable=function(){return m(this,2)};f.setProfileId=function(a){return n(this,2,a)};f.hasProfileId=function(){return wk(this,2)};f.getCaller=function(){return Z(this,h2,3)};f.setCaller=function(a){return Yi(this,h2,3,a)};f.getInstanceId=function(){return V(this,4)};
f.setInstanceId=function(a){return n(this,4,a)};f.clearInstanceId=function(){Js(this,4)};f.hasInstanceId=function(){return wk(this,4)};f.getInstanceIdOrUndefined=function(){return dt(this,4)};f.getClient=function(){return Z(this,i2,5)};f.setClient=function(a){return Yi(this,i2,5,a)};f.hasClient=function(){return Dj(this,i2,5)};
f.toObject=function(){if(null!=this){t(this);var a={requestType:W(this,1,0),profileId:p(m(this,2)),caller:Z2c(this.getCaller()),instanceId:p(m(this,4)),client:$2c(this.getClient())}}else a=void 0;return a};var Pp=function(a){r.call(this,a)};U(Pp,r);f=Pp.prototype;f.getErrorType=function(){return W(this,2,1)};f.setErrorType=function(a){return n(this,2,a)};f.getErrorMessage=function(){return V(this,3)};f.setErrorMessage=function(a){n(this,3,a)};f.toObject=function(){return b3c(this)};var b3c=function(a){if(null!=a)return t(a),{errorType:W(a,2,1),errorMessage:p(m(a,3))}};var Rp=function(a){r.call(this,a)};U(Rp,r);f=Rp.prototype;f.getExperimentFlags=function(){return Z(this,Sp,1)};f.setExperimentFlags=function(a){return Yi(this,Sp,1,a)};f.hasExperimentFlags=function(){return Dj(this,Sp,1)};f.getError=function(){return Z(this,Pp,2)};f.setError=function(a){Yi(this,Pp,2,a)};f.hasError=function(){return Dj(this,Pp,2)};f.getSource=function(){return W(this,3,0)};f.setSource=function(a){return n(this,3,a)};f.hasSource=function(){return fj(this,3)};
f.getSourceOrUndefined=function(){return wr(this,3)};f.getInstanceId=function(){return V(this,4)};f.setInstanceId=function(a){return n(this,4,a)};f.clearInstanceId=function(){Js(this,4)};f.hasInstanceId=function(){return wk(this,4)};f.getInstanceIdOrUndefined=function(){return dt(this,4)};f.getExperimentIdsList=function(){return Fh(this,5)};f.setExperimentIdsList=function(a){return tb(this,5,a,cb)};f.getExperimentIds=function(){return Ss(this,5)};
f.setExperimentIds=function(a){xb(this,5,a,void 0,Fh)};Rp.repeatedFields_=[5];Rp.prototype.toObject=function(){if(null!=this){t(this);var a={experimentFlags:V2c(this.getExperimentFlags()),error:b3c(this.getError()),source:p(kr(this,3)),instanceId:p(m(this,4)),experimentIdsList:p(Fh(this,5))}}else a=void 0;return a};var c3c=function(a,b){this.client_=a;this.runtime_=b;Adb();this.apiKey_=a.getApiKey();this.apiRoot_=V(this.client_,10)||aMa("peoplestackwebexperiments-pa",this.runtime_.getPeopleApiEnv())};c3c.prototype.getClient=function(){return this.client_};c3c.prototype.getApiKey=function(){return this.apiKey_};var j2=function(a){r.call(this,a)};U(j2,r);f=j2.prototype;f.getExperimentFlags=function(){return Z(this,Sp,1)};f.setExperimentFlags=function(a){return Yi(this,Sp,1,a)};f.hasExperimentFlags=function(){return Dj(this,Sp,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 Fh(this,3)};f.setExperimentIdsList=function(a){return tb(this,3,a,cb)};
f.getExperimentIds=function(){return Ss(this,3)};f.setExperimentIds=function(a){xb(this,3,a,void 0,Fh)};var d3c=Rb(j2);j2.repeatedFields_=[3];j2.prototype.toObject=function(){if(null!=this){t(this);var a={experimentFlags:V2c(this.getExperimentFlags()),obfuscatedGaiaId:p(m(this,2)),experimentIdsList:p(Fh(this,3))}}else a=void 0;return a};var e3c=function(a){var b=void 0;b=void 0===b?Date.now:b;this.clientConfig_=a;this.now_=b},f3c=function(a,b,c){a=a.now_()-1E3*c;return b>a};e3c.prototype.getCacheState=function(a){var b=Gh(this.clientConfig_.getClient(),3,1800);if(f3c(this,a,b))return 1;b=this.clientConfig_.getClient().getCacheStaleSec();if(f3c(this,a,b))return 2;b=this.clientConfig_.getClient().getCacheExpiredSec();return f3c(this,a,b)?3:4};var Qp=function(a,b){b=Error.call(this,void 0===b?"":b);this.message=b.message;"stack"in b&&(this.stack=b.stack);this.type=a};U(Qp,Error);var g3c=function(a,b){b=void 0===b?null:b;var c=Bdb(a);a=a.getProfileId()||b;return c&&a?JSON.stringify([c,a]):null},h3c=new Qp(6);var i3c=function(){};var k2=function(){};ts(k2,i3c);k2.prototype.getCount=function(){for(var a=0,b=k(this),c=b.next();!c.done;c=b.next())a++;return a};k2.prototype[Symbol.iterator]=function(){return Uec(this.__iterator__(!0)).toEs6()};k2.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 j3c=function(a){this.storage_=a};ts(j3c,k2);f=j3c.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 wG;d.next=function(){if(b>=c.length)return Tec;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 Ddb=function(){var a=null;try{a=window.localStorage||null}catch(b){}this.storage_=a};ts(Ddb,j3c);var l2=function(a,b){this.mechanism_=a;this.prefix_=b+"::"};ts(l2,k2);l2.prototype.set=function(a,b){this.mechanism_.set(this.prefix_+a,b)};l2.prototype.get=function(a){return this.mechanism_.get(this.prefix_+a)};l2.prototype.remove=function(a){this.mechanism_.remove(this.prefix_+a)};
l2.prototype.__iterator__=function(a){var b=this.mechanism_[Symbol.iterator](),c=this,d=new wG;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 Up=function(a,b){var c=void 0,d=void 0;b=void 0===b?new Ddb:b;c=void 0===c?Y1b:c;d=void 0===d?V1b:d;this.clientConfig_=a;this.transformer_=new e3c(this.clientConfig_);this.localStorage_=b;this.serializeJson_=c;this.isValidJson_=d;this.prefix_="PeopleStackExperiments";this.storage_=new l2(this.localStorage_,this.prefix_)};
Up.prototype.set=function(a,b){var c=g3c(a,b.getObfuscatedGaiaId_legacyNullable());if(!c)throw h3c;a={keyPath:c,experiments:b.serialize(),lastUpdated:Date.now(),instanceId:a.getInstanceId()};this.storage_.set(c,this.serializeJson_(a));return c};
Up.prototype.get=function(a){a=g3c(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:d3c(a.experiments),lastUpdated:new Date(a.lastUpdated),state:b.getCacheState(a.lastUpdated),instanceId:a.instanceId}}else a=null;return a};Up.prototype.delete=function(a){this.storage_.remove(a);return!0};
Up.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 Vp=function(a){var b=void 0;b=void 0===b?new Map:b;this.clientConfig_=a;this.transformer_=new e3c(this.clientConfig_);this.cache_=b};Vp.prototype.set=function(a,b){var c=g3c(a,b.getObfuscatedGaiaId_legacyNullable());if(!c)throw h3c;a={keyPath:c,experiments:b,lastUpdated:new Date,state:1,instanceId:a.getInstanceId()};this.cache_.set(c,a);return c};
Vp.prototype.get=function(a){a=g3c(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};Vp.prototype.delete=function(a){this.cache_.delete(a);return!0};Vp.prototype.clean=function(){var a=this;this.cache_.forEach(function(b,c){4===a.transformer_.getCacheState(b.lastUpdated.getTime())&&a.cache_.delete(c)})};var k3c=function(){};f=k3c.prototype;f.start=function(){};f.stop=function(){};f.count=function(){};f.latency=function(){};f.error=function(){};f.status=function(){};f.logError=function(){};var l3c=function(a){r.call(this,a)};U(l3c,r);f=l3c.prototype;f.getCaller=function(){return Z(this,h2,1)};f.setCaller=function(a){return Yi(this,h2,1,a)};f.getClient=function(){return Z(this,i2,2)};f.setClient=function(a){return Yi(this,i2,2,a)};f.hasClient=function(){return Dj(this,i2,2)};f.toObject=function(){return m3c(this)};var m3c=function(a){if(null!=a)return t(a),{caller:Z2c(a.getCaller()),client:$2c(a.getClient())}};var n3c=function(a){r.call(this,a)};U(n3c,r);f=n3c.prototype;f.getRequestType=function(){return W(this,1,0)};f.setRequestType=function(a){return n(this,1,a)};f.setProperties=function(a){return Yi(this,l3c,3,a)};f.getInstanceId=function(){return V(this,4)};f.setInstanceId=function(a){return n(this,4,a)};f.clearInstanceId=function(){Js(this,4)};f.hasInstanceId=function(){return wk(this,4)};f.getInstanceIdOrUndefined=function(){return dt(this,4)};
f.toObject=function(){if(null!=this){t(this);var a={requestType:p(kr(this,1)),properties:m3c(Z(this,l3c,3)),instanceId:p(m(this,4))}}else a=void 0;return a};var o3c=new kC("/peoplestackwebexperiments.PeopleStackExperimentsService/GetExperimentFlags",n3c,j2,function(a){return a.serialize()},d3c);var p3c=function(a){this.client_=new BC({format:"jspb"});this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};p3c.prototype.getExperimentFlags=function(a,b){return CC(this.client_,this.hostname_+"/$rpc/peoplestackwebexperiments.PeopleStackExperimentsService/GetExperimentFlags",a,b||{},o3c)};var q3c=function(a,b){this.clientRequest_=a;this.rpcClient_=b;this.metric_=new k3c};q3c.prototype.getMetric=function(){return this.metric_};q3c.prototype.send=function(a){var b=this,c;return he(function(d){var e=(new l3c).setCaller(b.clientRequest_.getCaller()).setClient(b.clientRequest_.getClient());c=(new n3c).setRequestType(b.clientRequest_.getRequestType()).setInstanceId(b.clientRequest_.getInstanceIdOrUndefined()).setProperties(e);return d.return(b.rpcClient_.getExperimentFlags(c,a))})};
q3c.prototype.close=function(){};q3c.prototype.processResponse=function(a){return a};var r3c=function(){var a=this;this.promise=new Promise(function(b,c){a.resolve=b;a.reject=c})};var s3c=function(a,b){this.config_=a;this.request_=b;this.resolver_=new r3c;this.rpcPromise_=null;this.state_=0};f=s3c.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_=N0b(new WA),this.resolver_.reject(1)}};
f.send=function(){var a=this;if(0!==this.state_)return this.resultPromise();var b=$La(this.config_.apiKey);this.config_.customAuthHeaders&&(b=Object.assign({},b,this.config_.customAuthHeaders));this.state_=1;b=this.request_.send(b);this.rpcPromise_=X0b(Q0b([b,f1b(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 WA?c=1:a&&"object"===typeof a?(c=a.code||2,2===c&&(c=uo("result.error.code",a)||a.status,c=Number(c),c=Oyc.has(c)?Oyc.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 t3c=Symbol("we"),u3c=function(){};u3c.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[t3c]=d)}return c})};var v3c=function(a){this.request_=a;this.metric_=this.request_.getMetric();this.metric_.start("total");this.metric_.start("blocked");this.contentLength_=0};v3c.prototype.getMetric=function(){return this.metric_};v3c.prototype.send=function(a){this.metric_.stop("blocked");this.metric_.count();this.metric_.start("network");return this.request_.send(a)};
v3c.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[t3c]||0}};v3c.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 w3c=function(a){this.config_=a;this.pendingRpcs_=new Set},y3c=function(a,b){b=new v3c(b);b=new s3c(a.config_,b);a.pendingRpcs_.add(b);x3c(a,b);return b.resultPromise()},x3c=function(a,b){he(function(c){if(1==c.nextAddress)return ie(c,2,3),c.yield(b.send(),3);if(2!=c.nextAddress)return je(c),a.pendingRpcs_.delete(b),ke(c,0);le(c);return c.jumpTo(3)})};var Fdb=function(a){this.clientConfig_=a;this.inflightRequests_=new Map;a={apiKey:this.clientConfig_.getApiKey(),timeoutSec:this.clientConfig_.getClient().getRpcTimeoutSec()};this.dispatcher_=new w3c(a);this.rpcClient_=new p3c(this.clientConfig_.apiRoot_)},A3c=function(a,b){var c,d,e,g;return he(function(h){switch(h.nextAddress){case 1:var l=z3c(b);if(c=a.inflightRequests_.get(l)||null)return h.return(c);d=new q3c(b,a.rpcClient_);ie(h,2,3);e=y3c(a.dispatcher_,d);l=z3c(b);a.inflightRequests_.set(l,
e);return h.yield(e,5);case 5:return g=h.yieldResult,h.return(g);case 3:je(h);l=z3c(b);a.inflightRequests_.delete(l);ke(h,0);break;case 2:throw le(h),Error("xe");}})},z3c=function(a){a=Bdb(a);if(!a)throw h3c;return a};var B3c=function(a){r.call(this,a)};U(B3c,r);f=B3c.prototype;f.getInstanceId=function(){return V(this,1)};f.setInstanceId=function(a){return n(this,1,a)};f.clearInstanceId=function(){Js(this,1)};f.hasInstanceId=function(){return wk(this,1)};f.getInstanceIdOrUndefined=function(){return dt(this,1)};f.getRequestId=function(){return V(this,2)};f.getRequestType=function(){return W(this,4,0)};f.setRequestType=function(a){return n(this,4,a)};f.getSourceType=function(){return W(this,6,0)};
f.setSourceType=function(a){return n(this,6,a)};f.getClient=function(){return W(this,7,0)};f.setClient=function(a){return n(this,7,a)};f.hasClient=function(){return fj(this,7)};f.getErrorType=function(){return W(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(kr(this,4)),requestOrigin:p(kr(this,5)),sourceType:p(kr(this,6)),client:p(kr(this,7)),errorType:p(kr(this,8))}}else a=void 0;return a};var Gdb=function(a){var b=a.getClient();a=a.runtime_.getPeopleApiEnv();this.logContext_=sr(new tr,"PeopleExperiments").setEnvironment(a).setLogSource(1250).setVersion("1.0.1").setBaselineCl(539367816).setEnableClearcut(b.getEnableClearcut())};f=Gdb.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 C3c=function(a,b){this.metrics_=a;this.state_=new KQ(b);this.label_="total";this.source=b};C3c.prototype.start=function(){this.metrics_.start(this.state_,this.label_)};C3c.prototype.stop=function(){this.metrics_.stop(this.state_,this.label_);this.metrics_.latency(this.state_)};var Hdb=function(a,b){this.worker_=a;this.metrics_=Nq(b)},D3c=function(a,b){var c=new B3c,d=Adb();c=n(c,2,d).setRequestType(a.getRequestType());return n(c,5,b).setClient(a.getClient().getApplicationOrUndefined())};
Hdb.prototype.updateExperimentsCache=function(a,b){b=void 0===b?2:b;var c=this,d,e,g,h;return he(function(l){if(1==l.nextAddress)return d=D3c(a,b),e=new C3c(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)})};
Hdb.prototype.getCachedExperiments=function(a,b){b=void 0===b?0:b;var c=D3c(a,b),d=new C3c(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 E3c=function(a){this.timer=a;this.count=0},Jdb=function(a,b){this.clientConfig_=a;this.worker_=b;this.refreshers_=new Map;this.refreshRateMs_=1E3*Gh(this.clientConfig_.getClient(),11,14400);this.eventHandler_=new bq(this)};Jdb.prototype.updateExperimentsCache=function(a,b){try{return F3c(this,a),this.worker_.updateExperimentsCache(a,b)}catch(c){return Promise.resolve(Tp(c))}};Jdb.prototype.getCachedExperiments=function(a,b){try{return F3c(this,a),this.worker_.getCachedExperiments(a,b)}catch(c){return Tp(c)}};
var F3c=function(a,b){var c=Bdb(b);if(!c)throw new Qp(6);if(a.refreshers_.has(c))a.refreshers_.get(c).count=0;else{var d=new XA(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=Gh(a.clientConfig_.getClient(),12,18);e.count>=g&&(e.timer.stop(),a.refreshers_.delete(c))}});d.start();a.refreshers_.set(c,new E3c(d))}a.refreshers_.get(c)};var G3c=function(){},Idb=function(a,b){this.cache_=a;this.loader_=b};
Idb.prototype.updateExperimentsCache=function(a,b){var c=this,d,e,g,h;return he(function(l){if(1==l.nextAddress){e=d=null;try{d=H3c(c,a)}catch(B){e=B}if(d&&3!==d.state)return l.return(c.getCachedExperiments(a,b));ie(l,3);return l.yield(I3c(c,a),5)}if(3!=l.nextAddress){g=l.yieldResult;var q=l.return,x=e;x=void 0===x?null:x;var A=(new Rp).setExperimentFlags(g.getExperimentFlags()).setExperimentIdsList(g.getExperimentIdsList()).setSource(1).setInstanceId(a.getInstanceIdOrUndefined());x&&A.setError(Cdb(x));
return q.call(l,A)}h=le(l);return l.return(Tp(h))})};Idb.prototype.getCachedExperiments=function(a){try{var b=H3c(this,a);if(b){var c=(new Rp).setExperimentFlags(b.experiments.getExperimentFlags()).setExperimentIdsList(b.experiments.getExperimentIdsList()).setInstanceId(b.instanceId).setSource(2);1!==b.state&&I3c(this,a).catch(G3c);return c}I3c(this,a).catch(G3c);return Tp()}catch(d){return Tp(d)}};
var H3c=function(a,b){try{var c=a.cache_.get(b);return c&&c.experiments.hasExperimentFlags()?c:null}catch(d){if(d instanceof Qp)throw d;throw new Qp(3);}},I3c=function(a,b){var c,d;return he(function(e){if(1==e.nextAddress)return ie(e,2),b.hasInstanceId()||b.setInstanceId(Adb()),e.yield(A3c(a.loader_,b),4);if(2!=e.nextAddress)return c=e.yieldResult,a.cache_.set(b,c),e.return(c);d=le(e);if(d instanceof Qp)throw d;throw new Qp(2);})};var Edb;var J3c=function(a){this.clientConfig_=a;this.worker_=Kdb(this.clientConfig_)};J3c.prototype.getCachedExperiments=function(a){return this.worker_.getCachedExperiments(a,0)};var Lq=function(){this.peopleApiEnv_=4};Lq.prototype.getPeopleApiEnv=function(){return this.peopleApiEnv_};Lq.prototype.setPeopleApiEnv=function(a){this.peopleApiEnv_=a;return this};var K3c=function(a,b){this.client_=a;this.request_=b;this.response_=null};K3c.prototype.getExperimentFlags=function(){this.response_||(this.response_=this.client_.getCachedExperiments(this.request_));return this.response_.getExperimentFlags()};K3c.prototype.getExperimentIds=function(){this.response_||(this.response_=this.client_.getCachedExperiments(this.request_));return this.response_.getExperimentIdsList()};var bgb=function(a,b){this.clientConfig_=a;this.requestType_=b;this.version_=539367816};bgb.prototype.prefetch=function(a){var b=new c3c(this.clientConfig_,new Lq);a=L3c(this,a,"");Kdb(b).updateExperimentsCache(a,2)};bgb.prototype.loadExperiments=function(a,b,c){var d=new c3c(this.clientConfig_,b),e=L3c(this,a,c);Kdb(d).updateExperimentsCache(e,2);b=new J3c(new c3c(this.clientConfig_,b));a=L3c(this,a,c);return new K3c(b,a)};
var L3c=function(a,b,c){var d=(new h2).setVersion(a.version_);b=(new i2).setApplication(b);return(new a3c).setProfileId(c).setRequestType(a.requestType_).setCaller(d).setClient(b)};var tq=new cgb(new e2,new W2c);var Mdb=Zp.getInstance();var M3c=["pk-select","pk-deselect","pk-click","pk-input"],N3c=new Map([["pk-select",3],["pk-deselect",3],["pk-click",3],["pk-input",15]]);var Ndb=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 $p=function(a,b){this.ariaParent=a;this.delegate=b};f=$p.prototype;f.update=function(){var a=this.getSpotlitItem();a?(a=a.getRoot(),BL(this.ariaParent,a)):BL(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 m2=function(a){this.event=a;this.hasStoppedPropagationInternal=!1};m2.prototype.stopPropagation=function(){this.event.stopPropagation();this.hasStoppedPropagationInternal=!0};m2.prototype.preventDefault=function(){this.event.preventDefault()};var Xdb=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=cq(this)};f=Xdb.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 m2(d))});this.eventHandler.listen(this.input,"contextmenu",function(d){return c.onContextMenu(new m2(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 O3c=Object.freeze(new fq(NaN,NaN)),P3c=Object.freeze(new gR(NaN,NaN,NaN,NaN)),jq=function(a,b,c){this.root=a;this.requestHide=b;this.options=c;this.lastPosition=O3c;this.lastBounds=P3c;this.anchorUpdateTimer=new XA(15);this.eventHandler=cq(this);this.attach()};jq.prototype.attach=function(){var a=this;this.eventHandler.listen(this.anchorUpdateTimer,"tick",function(){return Q3c(a)})};jq.prototype.isShown=function(){return"none"!=this.root.style.display};
jq.prototype.dispose=function(){this.hide();this.eventHandler.removeAll()};jq.prototype.show=function(a){this.anchor=a;this.lastPosition=O3c;this.lastBounds=P3c;kR(this.root,!0);Q3c(this);this.anchorUpdateTimer.start()};
var Q3c=function(a){var b;if((b=a.anchor)&&!(b=!a.lastPosition.equals(jR(a.anchor)))){b=a.lastBounds;var c=dq(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=dq(c),(c=eq(c))&&b.intersection($db(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;iq(b,"","");b.style.height=iR("",!0);var h=deb(c,e,b,g,d);c=deb(c,e^1,b,g^1,d);h.height>=c.height||
!d?geb(b,h):geb(b,c);a.lastPosition=jR(a.anchor);a.lastBounds=dq(a.root)}else a.requestHide()};jq.prototype.hide=function(){this.root.style.cssText="";kR(this.root,!1);this.anchorUpdateTimer.stop();this.lastPosition=O3c;this.lastBounds=P3c};var R3c=new EA;R3c.altKey=!0;R3c.keyCode=39;(new EA).keyCode=13;var S3c=function(){BA.call(this)};U(S3c,BA);S3c.prototype.init=function(){};new S3c;var T3c=!vs&&!jaa(),U3c=function(a,b){if(/-[a-z]/.test(b))return null;if(T3c&&a.dataset){if(kaa()&&!(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 kq=function(a,b,c,d,e){var g=this;this.root=a;this.anchor=b;this.container=d;this.appearanceConfig=e;this.popup=heb(this.root,function(){g.hide()},{});this.navigatable=Udb(c);this.navigationEventHandler=Ydb({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=cq(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()};
kq.prototype.append=function(a){var b=this;this.contextMenuItemOptions.set(a.id,a);var c=Sdb(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(ieb(e))}d.stopPropagation();V3c(b,a);b.hide()});this.navigatable.insert(this.navigatable.size(),[c],!1)};
kq.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)};kq.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()};
kq.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(ieb(c));b=b.getSelection().id().getValue();b=this.contextMenuItemOptions.get(b);V3c(this,b);this.hide();a.stopPropagation()}}};
var W3c=function(a,b){a.itemSelectedCallbacks.add(b)},X3c=function(a,b){a.afterHideCallbacks.add(b)},V3c=function(a,b){a=k(a.itemSelectedCallbacks.values());for(var c=a.next();!c.done;c=a.next())c=c.value,c(b)};kq.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 jeb=function(){return lq('<div peoplekit-id="'+oq("xl07Ob")+'" class="'+oq("peoplekitComponentsContextmenuImplMenu")+'" role="menu"></div>')};var neb=function(a){var b=this;this.root=a;this.internalIsDisabled=!1;this.eventHandler=cq(this);this.eventHandler.listen(this.root,"click",function(c){var d;null==(d=b.onClick)||d.call(b,c)})};f=neb.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 meb=function(a){a=a.label;return lq('<button class="'+oq("peoplekitComponentsButtonLabelLabelButton")+'">'+pq(a)+"</button>")};var Ieb=function(a,b,c){var d=this;this.root=a;this.actionListeners=[];this.eventHandler=cq(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=aq(this.root,"Sx9Kwc");this.startFocusableElement=aq(this.root,"tYwGbe");this.endFocusableElement=aq(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=Ieb.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(ieb(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=Vdb(this.dialog);1<a.length&&a[a.length-2].focus()};
f.onEndFocusableElementFocus=function(){var a=Vdb(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 Heb=function(a){var b=a.content;a=a.header;return lq('<div peoplekit-id="'+oq("GGAcbc")+'" class="'+oq("peoplekitComponentsDialogImplScrim")+'" role="dialog" aria-modal="true"><div peoplekit-id="'+oq("Sx9Kwc")+'" class="'+oq("peoplekitComponentsDialogImplDialog")+'" tabindex="-1" role="dialog"><div peoplekit-id="'+oq("tYwGbe")+'" tabindex="0" role="application"></div>'+(a?'<div class="'+oq("peoplekitComponentsDialogImplHeader")+'">'+pq(a)+"</div>":"")+'<div class="'+oq("peoplekitComponentsDialogImplContent")+
'">'+pq(b)+'</div><div class="'+oq("peoplekitComponentsDialogImplActions")+'">'+lq(Y3c("IbE0S"))+lq('<div class="'+oq("peoplekitComponentsDialogImplActionDivider")+'"></div>')+lq(Y3c("McfNlf"))+'</div><div peoplekit-id="'+oq("dYgZK")+'" tabindex="0" role="application"></div></div></div>')},Y3c=function(a){return lq('<div peoplekit-id="'+oq(a)+'"></div>')};var seb=function(a,b){var c=this;this.root=a;this.closeButton=b;this.actionListeners=[];this.eventHandler=cq(this);this.dialog=aq(this.root,"Sx9Kwc");this.startFocusableElement=aq(this.root,"tYwGbe");this.endFocusableElement=aq(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=seb.prototype;f.subscribeToAction=function(a){this.actionListeners.push(a)};f.dispatchAction=function(a){if(!this.closeButton.isDisabled()&&2===a)for(var b=k(this.actionListeners),c=b.next();!c.done;c=b.next())c=c.value,c(a)};f.getRoot=function(){return this.root};
f.dispose=function(){this.root.parentNode&&this.root.parentNode.removeChild(this.root);this.eventHandler.removeAll();this.actionListeners.length=0;this.closeButton.dispose()};f.onDialogClick=function(a){a.stopPropagation()};f.onDialogKeyDown=function(a){27===a.keyCode&&(this.dispatchAction(2),a.stopPropagation())};f.onStartFocusableElementFocus=function(){var a=Vdb(this.dialog);1<a.length&&a[a.length-2].focus()};f.onEndFocusableElementFocus=function(){var a=Vdb(this.dialog);1<a.length&&a[1].focus()};
f.onScrimClick=function(){this.dispatchAction(2)};var reb=function(a){var b=a.content;a=a.header;return lq('<div peoplekit-id="'+oq("GGAcbc")+'" class="'+oq("peoplekitComponentsDialogInfoScrim")+'" role="dialog" aria-modal="true"><div peoplekit-id="'+oq("Sx9Kwc")+'" class="'+oq("peoplekitComponentsDialogInfoDialog")+'" tabindex="-1" role="dialog"><div peoplekit-id="'+oq("tYwGbe")+'" tabindex="0" role="application"></div>'+(a?'<div class="'+oq("peoplekitComponentsDialogInfoHeader")+'">'+pq(a)+"</div>":"")+'<div class="'+oq("peoplekitComponentsDialogInfoContent")+
'"><div class="'+oq("peoplekitComponentsDialogInfoDescription")+'">'+pq(b)+'</div></div><div class="'+oq("peoplekitComponentsDialogInfoActions")+'">'+lq('<div peoplekit-id="'+oq("TvD9Pc")+'"></div>')+'</div><div peoplekit-id="'+oq("dYgZK")+'" tabindex="0" role="application"></div></div></div>')},ueb=function(a){a=a.header;return lq('<div class="'+oq("peoplekitComponentsDialogInfoTextHeader")+'">'+pq(a)+"</div>")},Z3c=function(a){var b=a.description,c=a.learnMoreLinkUrl;a=a.learnMoreLinkText;return lq('<div class="'+
oq("peoplekitComponentsDialogInfoDescription")+'">'+pq(b)+'  <a href="'+oq($Ac(c))+'" target="_blank" class="'+oq("peoplekitComponentsDialogInfoLearnMoreLink")+'">'+pq(a)+"</a></div>")};var peb=new Map([[0,"peoplekitThemeLight"],[1,"peoplekitThemeDark"]]);var $3c=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"),a4c=/^(https?:)?\/\/sp[1-4]\.((ggpht)|(googleusercontent))\.com\//i,b4c=/^(https?:)?\/\/(qa(-red|-blue)?|dev2?|image-dev)(-|\.)lighthouse(-auth)?\.sandbox\.google\.com\//i,c4c=/^(https?:)?\/\/lighthouse-(qa(-red|-blue)?|dev2)\.corp\.google\.com\//i;var d4c=/\/\/lh[3-6]\./,e4c=function(a,b,c,d){var e;(e=!a)||(e=String(a),e=!($3c.test(e)||a4c.test(e)||b4c.test(e)||c4c.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(d4c,"//lh3.");return(new OJ(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 zeb=function(a){var b=a.imageUrls,c=a.backupUrl,d=a.size,e=a.preloadSize,g=a.pixelRatio;Array.isArray(b);a=lq;var h='<div class="'+oq("peoplekitComponentsAvatarImplAvatarContainer")+'" style="width: '+oq(cR(d))+"px; height: "+oq(cR(d))+'px"><div peoplekit-id="'+oq("YLEF4c")+'" class="'+oq("peoplekitComponentsAvatarImplAvatar")+'" style="width: '+oq(cR(d))+"px; height: "+oq(cR(d))+'px">';Array.isArray(b);1==b.length?(Array.isArray(b),b=lq('<div class="'+oq("peoplekitComponentsAvatarImplContainer")+
'">'+n2(b[0],c,d,e,g)+"</div>")):2==b.length?(Array.isArray(b),b=lq('<div class="'+oq("peoplekitComponentsAvatarImplContainer")+'"><div class="'+oq("peoplekitComponentsAvatarImplColumn")+'">'+n2(b[0],c,d,e,g)+"</div>"+o2()+'<div class="'+oq("peoplekitComponentsAvatarImplColumn")+'">'+n2(b[1],c,d,e,g)+"</div></div>")):3==b.length?(Array.isArray(b),b=lq('<div class="'+oq("peoplekitComponentsAvatarImplContainer")+'"><div class="'+oq("peoplekitComponentsAvatarImplColumn")+'">'+n2(b[0],c,d,e,g)+"</div>"+
o2()+'<div class="'+oq("peoplekitComponentsAvatarImplColumn")+'"><div class="'+oq("peoplekitComponentsAvatarImplRow")+'">'+n2(b[1],c,Math.round(.5*d),e,g)+"</div>"+o2()+'<div class="'+oq("peoplekitComponentsAvatarImplRow")+'">'+n2(b[2],c,Math.round(.5*d),e,g)+"</div></div></div>")):(Array.isArray(b),b=lq('<div class="'+oq("peoplekitComponentsAvatarImplContainer")+'"><div class="'+oq("peoplekitComponentsAvatarImplColumn")+'"><div class="'+oq("peoplekitComponentsAvatarImplRow")+'">'+n2(b[0],c,Math.round(.5*
d),e,g)+"</div>"+o2()+'<div class="'+oq("peoplekitComponentsAvatarImplRow")+'">'+n2(b[2],c,Math.round(.5*d),e,g)+"</div></div>"+o2()+'<div class="'+oq("peoplekitComponentsAvatarImplColumn")+'"><div class="'+oq("peoplekitComponentsAvatarImplRow")+'">'+n2(b[1],c,Math.round(.5*d),e,g)+"</div>"+o2()+'<div class="'+oq("peoplekitComponentsAvatarImplRow")+'">'+n2(b[3],c,Math.round(.5*d),e,g)+"</div></div></div>"));b=lq(b);return a(h+b+'</div><div peoplekit-id="'+oq("Btuy5e")+'" class="'+oq("peoplekitComponentsAvatarImplAvatarBadge")+
'">'+lq('<img class="'+oq("peoplekitComponentsAvatarImplBadgeIconImage")+'" peoplekit-id="'+oq("m6fZne")+'" draggable="false" alt="">')+"</div></div>")},n2=function(a,b,c,d,e){var g=$Ac(e4c(a,c,c,e));g=NAc(g);a=$Ac(e4c(a,d,d,e));a=NAc(a);b=$Ac(e4c(b,c,c,e));b=NAc(b);g='<div peoplekit-id="'+oq("IHgMKc")+'" class="'+oq("peoplekitComponentsAvatarImplImageRoot")+'"><img peoplekit-id="'+oq("HiaYvf")+'" class="'+oq("peoplekitComponentsAvatarImplImage")+'" style="width: '+oq(cR(c))+"px; height: "+oq(cR(c))+
'px;" data-preload-src="'+oq(a)+'" data-src="'+oq(g)+'" data-backup-src="'+oq(b)+'" draggable="false" alt="">';c=lq('<svg xmlns="http://www.w3.org/2000/svg" height="'+oq(c)+'px" viewBox="0 0 24 24" width="'+oq(c)+'px" class="'+oq("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 lq(g+c+"</div>")},o2=function(){return lq('<div class="'+oq("peoplekitComponentsAvatarImplDivider")+'"></div>')};var f4c=new Map([[0,"light_theme"],[1,"dark_theme"]]);var g4c=new Map([[1,"badge_active"],[2,"badge_inactive"],[3,"badge_idle"],[4,"badge_do_not_disturb"],[5,"badge_video"]]),h4c=new Map([[1,"Active."],[2,"Inactive."],[3,"Idle."],[4,"Do Not Disturb."],[5,"In Video Call."]]),Beb=function(a,b){this.appearance=b;this.root=a;i4c(this)};f=Beb.prototype;
f.setBadge=function(a){var b=aq(this.root,"Btuy5e");if(0===a.badgeType)b.classList.remove("visible");else{var c=g4c.get(a.badgeType)||"";if(c){var d=this.appearance.getTheme();c="https://www.gstatic.com/people/peoplekit/icons/"+(f4c.get(d)||"light_theme")+"/"+c+".svg"}else c="";a=h4c.get(a.badgeType)||"";d=aq(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 i4c=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$2367:b.$jscomp$loop$prop$img$2367,$jscomp$loop$prop$src$2365:b.$jscomp$loop$prop$src$2365,$jscomp$loop$prop$imageRoot$2369:b.$jscomp$loop$prop$imageRoot$2369,$jscomp$loop$prop$backupSrc$2368:b.$jscomp$loop$prop$backupSrc$2368},c=a.next())b.$jscomp$loop$prop$imageRoot$2369=c.value,b.$jscomp$loop$prop$img$2367=aq(b.$jscomp$loop$prop$imageRoot$2369,"HiaYvf"),
c=U3c(b.$jscomp$loop$prop$img$2367,"preloadSrc"),b.$jscomp$loop$prop$src$2365=U3c(b.$jscomp$loop$prop$img$2367,"src"),b.$jscomp$loop$prop$backupSrc$2368=U3c(b.$jscomp$loop$prop$img$2367,"backupSrc"),yeb(b.$jscomp$loop$prop$src$2365)?b.$jscomp$loop$prop$img$2367.src=b.$jscomp$loop$prop$src$2365:yeb(c)?(b.$jscomp$loop$prop$img$2367.src=c,Wn(function(d){return function(){d.$jscomp$loop$prop$img$2367.src=d.$jscomp$loop$prop$src$2365}}(b),0)):(b.$jscomp$loop$prop$imageRoot$2369.classList.add("isLoading"),
b.$jscomp$loop$prop$img$2367.onload=function(d){return function(){d.$jscomp$loop$prop$imageRoot$2369.classList.remove("isLoading")}}(b),b.$jscomp$loop$prop$img$2367.onerror=function(d){return function(){d.$jscomp$loop$prop$img$2367.getAttribute("src")===d.$jscomp$loop$prop$backupSrc$2368?(d.$jscomp$loop$prop$img$2367.onerror=null,d.$jscomp$loop$prop$imageRoot$2369.classList.remove("isLoading"),d.$jscomp$loop$prop$imageRoot$2369.classList.add("isNotLoaded")):d.$jscomp$loop$prop$img$2367.src=d.$jscomp$loop$prop$backupSrc$2368}}(b),
b.$jscomp$loop$prop$img$2367.src=b.$jscomp$loop$prop$src$2365)};var mq=function(){this.theme=this.density=0};mq.prototype.getDensity=function(){return this.density};mq.prototype.setDensity=function(a){this.density=a};mq.prototype.getTheme=function(){return this.theme};mq.prototype.setTheme=function(a){this.theme=a};var rq=function(a){this.dialog=a};rq.prototype.subscribeToAction=function(a){this.dialog.subscribeToAction(a)};rq.prototype.dispatchAction=function(a){this.dialog.dispatchAction(a)};rq.prototype.getRoot=function(){return this.dialog.getRoot()};rq.prototype.dispose=function(){this.dialog.dispose()};var p2=function(a){this.delegate=a};f=p2.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 vq=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=aq(a.getRoot(),"QL45qe");this.eventHandler=cq(this);this.eventHandler.listen(document,"click",function(g){e.contextMenuContainer.contains(g.target)||j4c(e)});this.eventHandler.listen(document,"keydown",function(g){if(e.contextMenu)e.contextMenu.onKeyDown(new m2(g))})};
U(vq,p2);vq.prototype.onKeyDown=function(a){if(this.contextMenu)this.contextMenu.onKeyDown(a);else p2.prototype.onKeyDown.call(this,a)};
vq.prototype.onContextMenu=function(a,b){var c=this;a.stopPropagation();a.preventDefault();this.activate();this.contextMenu&&j4c(this);this.contextMenu=leb(this.contextMenuContainer,this.getRoot(),this.getRoot(),this.appearanceConfig);a=this.appearanceConfig.getTheme();this.contextMenu.append(Odb(a));W3c(this.contextMenu,function(d){switch(d.id){case "ENOWEf":2>c.groupMembers.length?k4c(c):l4c(c);break;default:throw Error("ze`"+d.id);}j4c(c)});X3c(this.contextMenu,function(){j4c(c);b()});this.contextMenu.show();
return function(){j4c(c)}};vq.prototype.dispose=function(){this.eventHandler.removeAll();p2.prototype.dispose.call(this)};
var k4c=function(a){m4c(a);a.dispatcher.notify(8);a.hideConfirmationDialog=Jeb(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));m4c(a)})},m4c=function(a){var b;null==(b=a.hideConfirmationDialog)||b.dispose();a.hideConfirmationDialog=void 0;a.dispatcher.notify(9,a.getRoot())},l4c=function(a){n4c(a);
a.dispatcher.notify(8);a.hideGroupErrorDialog=web(a.getRoot().ownerDocument.body,a.appearanceConfig);a.hideGroupErrorDialog.subscribeToAction(function(){n4c(a)})},n4c=function(a){var b;null==(b=a.hideGroupErrorDialog)||b.dispose();a.hideGroupErrorDialog=void 0;a.dispatcher.notify(9,a.getRoot())},j4c=function(a){var b;null==(b=a.contextMenu)||b.dispose();a.contextMenu=void 0;a.dispatcher.notify(7,a.getRoot())};var Peb=function(a){a=a.memberCount;return(new rlc("{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)},Oeb=function(a){a=a.memberNames;Array.isArray(a);return MAc(a).join(", ")};var Neb=Zp.getInstance();var Reb=Zp.getInstance();var q2=function(a){r.call(this,a)};U(q2,r);q2.prototype.getOccupiedUntil=function(){return Z(this,Ch,2)};q2.prototype.getNextAvailable=function(){return Z(this,Ch,3)};q2.prototype.getCommittedUntil=function(){return Z(this,Ch,4)};q2.prototype.toObject=function(){return o4c(this)};var o4c=function(a){if(null!=a)return t(a),{eventSummary:V(a,1),occupiedUntil:yt(a.getOccupiedUntil()),nextAvailable:yt(a.getNextAvailable()),committedUntil:yt(a.getCommittedUntil())}};var r2=function(a){r.call(this,a)};U(r2,r);r2.prototype.getOccupiedUntil=function(){return Z(this,Ch,1)};r2.prototype.getCommittedUntil=function(){return Z(this,Ch,3)};r2.prototype.getNextAvailable=function(){return Z(this,Ch,2)};r2.prototype.toObject=function(){return p4c(this)};var p4c=function(a){if(null!=a)return t(a),{occupiedUntil:yt(a.getOccupiedUntil()),committedUntil:yt(a.getCommittedUntil()),nextAvailable:yt(a.getNextAvailable())}};var s2=function(a){r.call(this,a)};U(s2,r);s2.prototype.getOccupiedUntil=function(){return Z(this,Ch,3)};s2.prototype.getCommittedUntil=function(){return Z(this,Ch,5)};s2.prototype.getNextAvailable=function(){return Z(this,Ch,4)};s2.prototype.toObject=function(){return q4c(this)};var q4c=function(a){if(null!=a)return t(a),{eventSummary:V(a,1),inMeetingsUntil:yt(Z(a,Ch,2)),occupiedUntil:yt(a.getOccupiedUntil()),committedUntil:yt(a.getCommittedUntil()),nextAvailable:yt(a.getNextAvailable())}};var r4c=function(a){r.call(this,a)};U(r4c,r);r4c.prototype.toObject=function(){return s4c(this)};var s4c=function(a){if(null!=a)return t(a),{}};var t2=function(a){r.call(this,a)};U(t2,r);t2.prototype.getComeBackTime=function(){return Z(this,Ch,1)};t2.prototype.getCommittedUntil=function(){return Z(this,Ch,3)};t2.prototype.toObject=function(){return t4c(this)};var t4c=function(a){if(null!=a)return t(a),{comeBackTime:yt(a.getComeBackTime()),eventSummary:V(a,2),committedUntil:yt(a.getCommittedUntil())}};var u4c=function(a){r.call(this,a)};U(u4c,r);u4c.prototype.getComeBackTime=function(){return Z(this,Ch,2)};u4c.prototype.toObject=function(){return v4c(this)};var v4c=function(a){if(null!=a)return t(a),{comeBackTime:yt(a.getComeBackTime())}};var u2=function(a){r.call(this,a)};U(u2,r);u2.prototype.hasOutsideWorkingHours=function(){return Qj(this,u4c,3,v2)};u2.prototype.hasOutOfOffice=function(){return Qj(this,t2,4,v2)};var v2=[2,3,4,5,6,7];u2.prototype.toObject=function(){return w4c(this)};var w4c=function(a){if(null!=a)return t(a),{inactive:s4c(Sj(a,r4c,2,v2)),doNotDisturb:p4c(Sj(a,r2,7,v2)),outsideWorkingHours:v4c(Sj(a,u4c,3,v2)),outOfOffice:t4c(Sj(a,t2,4,v2)),inMeeting:q4c(Sj(a,s2,5,v2)),calendarBusy:o4c(Sj(a,q2,6,v2))}};var x4c=function(a){r.call(this,a)};U(x4c,r);x4c.prototype.getTimeZone=function(){return V(this,1)};x4c.prototype.setTimeZone=function(a){return mj(this,1,a)};x4c.prototype.toObject=function(){return y4c(this)};var y4c=function(a){if(null!=a)return t(a),{timeZone:V(a,1)}};var z4c=function(a){r.call(this,a)};U(z4c,r);z4c.prototype.toObject=function(){return A4c(this)};var A4c=function(a){if(null!=a)return t(a),{nextCommitmentTime:yt(Z(a,Ch,1)),nextCommitmentStatus:w4c(Z(a,u2,2))}};var B4c=function(a){r.call(this,a)};U(B4c,r);f=B4c.prototype;f.getStartTime=function(){return Z(this,Ch,1)};f.setStartTime=function(a){Yi(this,Ch,1,a)};f.getEndTime=function(){return Z(this,Ch,2)};f.setEndTime=function(a){Yi(this,Ch,2,a)};f.toObject=function(){return C4c(this)};var C4c=function(a){if(null!=a)return t(a),{startTime:yt(a.getStartTime()),endTime:yt(a.getEndTime())}};var D4c=function(a){r.call(this,a)};U(D4c,r);D4c.prototype.getTimeRange=function(){return Z(this,B4c,1)};D4c.prototype.toObject=function(){return E4c(this)};var E4c=function(a){if(null!=a)return t(a),{timeRange:C4c(a.getTimeRange())}};var w2=function(a){r.call(this,a)};U(w2,r);w2.prototype.getLocation=function(){return V(this,2)};w2.prototype.getLabel=function(){return V(this,4)};w2.prototype.setLabel=function(a){return mj(this,4,a)};w2.prototype.toObject=function(){return F4c(this)};var F4c=function(a){if(null!=a)return t(a),{location:V(a,2),geoCoordinates:pQb(Z(a,Qu,3)),label:V(a,4)}};var G4c=function(a){r.call(this,a)};U(G4c,r);G4c.prototype.toObject=function(){return H4c(this)};var H4c=function(a){if(null!=a)return t(a),{}};var I4c=function(a){r.call(this,a)};U(I4c,r);I4c.prototype.getLabel=function(){return V(this,4)};I4c.prototype.setLabel=function(a){return mj(this,4,a)};I4c.prototype.toObject=function(){return J4c(this)};var J4c=function(a){if(null!=a)return t(a),{experimentalBuildingId:V(a,1),experimentalDeskId:V(a,2),experimentalFloorId:V(a,3),label:V(a,4)}};var K4c=function(a){r.call(this,a)};U(K4c,r);var L4c=[1,2,3];K4c.prototype.toObject=function(){return M4c(this)};var M4c=function(a){if(null!=a)return t(a),{homeLocation:H4c(Sj(a,G4c,1,L4c)),customLocation:F4c(Sj(a,w2,2,L4c)),officeLocation:J4c(Sj(a,I4c,3,L4c))}};var N4c=function(a){r.call(this,a)};U(N4c,r);N4c.prototype.getLocation=function(){return Z(this,K4c,2)};N4c.prototype.toObject=function(){return O4c(this)};var O4c=function(a){if(null!=a)return t(a),{location:M4c(a.getLocation())}};var P4c=function(a){r.call(this,a)};U(P4c,r);P4c.prototype.toObject=function(){return Q4c(this)};var Q4c=function(a){if(null!=a)return t(a),{workingElsewhere:O4c(Z(a,N4c,1)),upcomingOoo:E4c(Z(a,D4c,2)),localTime:y4c(Z(a,x4c,3)),upcomingCommitmentContext:A4c(Z(a,z4c,4))}};var R4c=function(a){r.call(this,a)};U(R4c,r);f=R4c.prototype;f.getTimeRange=function(){return Z(this,B4c,1)};f.getStatus=function(){return Z(this,u2,2)};f.setStatus=function(a){return Yi(this,u2,2,a)};f.hasStatus=function(){return Dj(this,u2,2)};f.toObject=function(){return S4c(this)};var S4c=function(a){if(null!=a)return t(a),{timeRange:C4c(a.getTimeRange()),status:w4c(a.getStatus()),contexts:Q4c(Z(a,P4c,3))}};var T4c=function(a){r.call(this,a)};U(T4c,r);T4c.prototype.getDayOfWeek=function(){return Gh(this,1)};T4c.prototype.toObject=function(){return U4c(this)};var U4c=function(a){if(null!=a)return t(a),{dayOfWeek:Gh(a,1),periodStartMinutes:Gh(a,2),periodEndMinutes:Gh(a,3)}};var V4c=function(a){r.call(this,a)};U(V4c,r);V4c.repeatedFields_=[1];V4c.prototype.toObject=function(){return W4c(this)};var W4c=function(a){if(null!=a)return t(a),{availableTimeList:Kb(aj(a,T4c,1),U4c)}};var X4c=function(a){r.call(this,a)};U(X4c,r);X4c.repeatedFields_=[1];X4c.prototype.toObject=function(){return Y4c(this)};var Y4c=function(a){if(null!=a)return t(a),{availabilitiesList:Kb(aj(a,R4c,1),S4c),workingHours:W4c(Z(a,V4c,3)),nextPollTime:yt(Z(a,Ch,2))}};var Z4c=new pA(SY.WEEKDAY_MONTH_DAY_MEDIUM),$4c=new pA(7);new pA(SY.WEEKDAY_MONTH_DAY_MEDIUM);var a5c=new Map([[0,2],[1,1],[2,3],[3,4],[4,2],[5,5]]);var b5c=function(a){var b=a.iconUrl,c=a.altText,d=a.persistentText;a=a.styleClass;return lq('<div class="'+oq("peoplekitComponentsTagTag")+" "+(a?oq(a):"")+'" peoplekit-id="'+oq("mQXP")+'">'+(b?'<img class="'+oq("peoplekitComponentsTagIcon")+'" src="'+oq(bBc(b))+'" alt="'+oq(c)+'"><div'+(d?"":' class="'+oq("peoplekitComponentsTagUnrollingAltText")+'"')+'><div class="'+oq("peoplekitComponentsTagText")+'">'+pq(c)+"</div></div>":'<div class="'+oq("peoplekitComponentsTagText")+'">'+pq(c)+"</div>")+"</div>")};var Teb=function(a,b,c,d,e,g){var h=this;this.root=a;this.avatar=e;this.features=g;this.isIntelligenceInitialized=this.isOutOfOffice=!1;c5c(this,{tags:d});qdb(a,b.getPrimaryTarget());c.getResultDecorationConfigRequestCallback()(b,function(l){c5c(h,l)})};f=Teb.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("Be");};f.onKeyDown=function(){};f.onContextMenu=function(){return function(){}};
f.updateWaldo=function(a){if(this.getSupportedIntelligenceFeatures().includes(1)){var b=aq(this.root,"Z306Oe");if(this.isOutOfOffice=4===a.getCurrentStatus()){if(4!==a.getCurrentStatus())throw Error("Ae");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 "+$4c.format(c):"Out of office - back on "+Z4c.format(c);r0b(b,String(c));this.root.classList.add("isOutOfOffice")}else r0b(b,
""),this.root.classList.remove("isOutOfOffice")}};f.updateHubAvailabilityDot=function(a){this.getSupportedIntelligenceFeatures().includes(2)&&this.avatar.setBadge({badgeType:a5c.get(a.getType()||0)||2})};f.getSupportedIntelligenceFeatures=function(){return this.features};f.addTag=function(a){var b=aq(this.root,"x00ATb");a:switch(a.style||0){case 1:var c="isWarning";break a;default:c=""}a=Co(b5c,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 c5c=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)};Teb.prototype.initializeIntelligence=function(){this.isIntelligenceInitialized||(this.getSupportedIntelligenceFeatures().includes(2)&&this.avatar.setBadge({badgeType:2}),this.isIntelligenceInitialized=!0)};Teb.prototype.dispose=function(){};var ofb=function(a,b,c,d,e){this.delegate=Ueb(a,b,c,d,e,[2]);this.root=a;this.root.setAttribute("aria-selected","true");this.id=b.getPrimaryTarget().getId();this.selection=new E2c(Zq)};U(ofb,p2);ofb.prototype.getAllIds=function(){return[this.id]};ofb.prototype.getSelection=function(){return this.selection};var d5c=function(a,b,c,d,e,g,h,l){d=void 0===d?"":d;e=void 0===e?!1:e;return lq('<div role="option" class="'+oq("peoplekitComponentsResultlistitemResultListItem")+" "+oq(d)+'" id="'+oq(a)+'" peoplekit-id="'+oq(a)+'" aria-disabled="'+oq(e)+'" aria-selected="false"><div class="'+oq("peoplekitComponentsResultlistitemResultListItemRow")+'"><div class="'+oq("peoplekitComponentsResultlistitemLeft")+'" data-hovercard-id="'+oq(b)+'" data-name="'+oq(qq(c))+'">'+pq(g)+'</div><div class="'+oq("peoplekitComponentsResultlistitemCenter")+
'">'+pq(h)+'</div><div class="'+oq("peoplekitComponentsResultlistitemRight")+'" peoplekit-id="'+oq("QChpEe")+'">'+pq(l)+'</div></div><div peoplekit-id="'+oq("Z306Oe")+'" class="'+oq("peoplekitComponentsResultlistitemOutOfOffice")+'"></div><div peoplekit-id="'+oq("QL45qe")+'"></div></div>')},e5c=function(a,b,c,d){return lq('<div class="'+oq("peoplekitComponentsResultlistitemLabelContainer")+'"><div class="'+oq("peoplekitComponentsResultlistitemLabel")+" "+oq("peoplekitComponentsResultlistitemLabelRow")+
'"><div class="'+oq("peoplekitComponentsResultlistitemLabelText")+'" data-hovercard-id="'+oq(b)+'" data-name="'+oq(qq(a))+'" translate="no">'+pq(qq(a))+'</div><div peoplekit-id="'+oq("x00ATb")+'" class="'+oq("peoplekitComponentsResultlistitemTags")+'"></div></div>'+(c?'<div class="'+oq("peoplekitComponentsResultlistitemSublabel")+" "+oq("peoplekitComponentsResultlistitemLabelRow")+'"><div class="'+oq("peoplekitComponentsResultlistitemSublabelText")+'" data-hovercard-id="'+oq(b)+'" data-name="'+oq(qq(a))+
'"'+(d?"":' translate="no"')+">"+pq(qq(c))+"</div></div>":"")+"</div>")},f5c=function(a){return lq('<div class="'+oq("peoplekitComponentsResultlistitemAvatar")+'"><div class="'+oq("peoplekitComponentsResultlistitemAvatarContainer")+'" peoplekit-id="'+oq("d6MZcd")+'"></div>'+(a?pq(a):"")+"</div>")},g5c=function(){var a=lq,b='<div class="'+oq("peoplekitComponentsResultlistitemAvatarSelectionOverlay")+'"><div class="'+oq("peoplekitComponentsResultlistitemWhiteCheck")+'">';var c=lq('<svg viewBox="0 0 24 24" class="'+
(oq("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(f5c(aR(b+c+"</div></div>")))},h5c=function(){return lq('<img class="'+oq("peoplekitComponentsResultlistitemMetaIcon")+'" peoplekit-id="'+oq("SC3Htd")+'" alt="" src=""/>')};var nfb=function(a){var b=a.hovercardId,c=a.label,d=a.sublabel,e=a.disableReason,g=a.allowSublabelTranslation;return lq(d5c(a.id,b,c,"isDisabled "+a.densityClass,!0,aR(""+f5c()),aR(""+e5c(c,b,d,g)),aR('<div class="'+oq("peoplekitComponentsResultlistitemDisabledDisableReasonContainer")+'">'+pq(e)+"</div>")))};var wq=function(a){this.delegate=a;var b=this;this.eventHandler=cq(this);this.eventHandler.listen(this.getRoot(),"click",function(c){b.onClick(c)})};U(wq,p2);wq.prototype.onClick=function(){this.toggleSelection()};var Veb=function(a,b){this.internalResult=a;this.displayNameOverride=b;this.forceDisplayNameOverride=!1;a=this.internalResult.getTargetList()[0];if(!a)throw new RangeError("Ce");this.target=a;a=this.target.getLoggingToken();b=this.target.getId();this.internalSelectionToken=new y2c(b,this.displayNameOverride,this.forceDisplayNameOverride,a)};f=Veb.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 i5c=function(a,b,c,d,e,g){this.delegate=Ueb(a,b,d,e,g,[]);this.root=a;this.result=b;this.selectionsState=c;this.id=b.getPrimaryTarget().getId();this.selection=new E2c(Zq)};U(i5c,p2);i5c.prototype.getAllIds=function(){return[this.id]};i5c.prototype.toggleSelection=function(){for(var a=k(this.result.getMemberList()),b=a.next();!b.done;b=a.next())b=Web(b.value),this.selectionsState.select(b);this.root.dispatchEvent(Wdb("pk-select",this.root))};i5c.prototype.getSelection=function(){return this.selection};var j5c=function(a){var b=a.hovercardId,c=a.label,d=a.sublabel,e=a.allowSublabelTranslation;return lq(d5c(a.id,b,c,a.densityClass,void 0,aR(""+f5c()),aR(""+e5c(c,b,d,e)),aR(""+h5c())))};var xq=function(a,b){this.delegate=a;var c=this;this.selectionsState=b;this.id=a.getAllIds()[0];b.get(this.id)&&k5c(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){k5c(c,d)};l5c(this.selectionsState,this.onDeselectionCallback);m5c(this.selectionsState,this.onSelectionCallback)};U(xq,p2);
xq.prototype.toggleSelection=function(){if(this.selectionsState.get(this.id)){var a=this.getRoot();a=Wdb("pk-deselect",a)}else a=this.getRoot(),a=Wdb("pk-select",a);this.getRoot().dispatchEvent(a);this.selectionsState.toggle(this.getSelection(),1)};var k5c=function(a,b){b.id().equals(a.id)&&(a.getRoot().classList.add("isSelected"),a.getRoot().setAttribute("aria-selected","true"))};xq.prototype.dispose=function(){this.selectionsState.deselectionCallbacks.remove(this.onDeselectionCallback);this.selectionsState.selectionCallbacks.remove(this.onSelectionCallback)};var lfb=function(a,b,c,d,e,g){this.delegate=Ueb(a,b,d,e,g,[2]);this.selectionsState=c;this.id=b.getPrimaryTarget().getId();this.selection=this.selectionsState.get(this.id)||Web(b,b.getDisplayName())};U(lfb,p2);lfb.prototype.getAllIds=function(){return[this.id]};lfb.prototype.getSelection=function(){return this.selection};var kfb=function(a){var b=a.hovercardId,c=a.label,d=a.sublabel,e=a.allowSublabelTranslation;return lq(d5c(a.id,b,c,a.densityClass,void 0,aR(""+g5c()),aR(""+e5c(c,b,d,e)),aR(""+h5c())))};var n5c=function(a,b,c,d,e,g){this.delegate=Ueb(a,b,d,e,g,[]);this.selectionsState=c;this.id=b.getPrimaryTarget().getId();this.selection=this.selectionsState.get(this.id)||Web(b)};U(n5c,p2);n5c.prototype.getAllIds=function(){return[this.id]};n5c.prototype.getSelection=function(){return this.selection};var o5c=function(a){var b=a.hovercardId,c=a.label,d=a.sublabel,e=a.allowSublabelTranslation;return lq(d5c(a.id,b,c,a.densityClass,void 0,aR(""+g5c()),aR(""+e5c(c,b,d,e)),aR(""+h5c())))};var p5c=function(a){return"To unhide this suggestion, press "+a.shortcutKey+" + Enter."};var bfb=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=cq(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=bfb.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&&(q5c(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&&r5c(this.tooltip)};f.deactivate=function(){this.root.classList.remove("isFocused");this.tooltip&&q5c(this.tooltip)};f.isActive=function(){return this.root.classList.contains("isFocused")};var s5c=0;var Yeb=function(a){var b=a.icon,c=a.ariaLabel,d="";c=(a=a.tooltipLabel?"tt-c"+s5c++:"")?' data-tooltip-id="'+oq(a)+'" aria-labelledby="'+oq(a)+'"':c?' aria-label="'+oq(c)+'"':"";d+='<button class="'+oq("peoplekitComponentsButtonIconIconButton")+'"'+c+">"+lq('<span><img src="'+oq(bBc(b))+'" draggable="false" aria-hidden="true" alt="" class="'+oq("peoplekitComponentsButtonIconAdaptableIcon")+'"/></span>')+"</button>";return lq(d)};var t5c=["mouseover","focusin","touchstart"],u5c=["mouseleave","blur","touchend","click"],$eb=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=cq(this);this.tooltipService=heb(this.tooltip,function(){q5c(d)},{anchorCorner:3,popupCorner:2})},afb=function(a,b){if(a.anchor)throw Error("De");a.anchor=b;for(var c=k(t5c),d=c.next();!d.done;d=c.next())a.eventHandler.listen(b,d.value,function(){v5c(a)});
w5c(a)},r5c=function(a){if(!a.anchor)throw Error("Ee");a.isDisplayedInternal||(a.tooltipService.show(a.anchor),window.clearTimeout(a.showTimeout),a.showTimeout=void 0,a.isDisplayedInternal=!0)},q5c=function(a){a.isDisplayedInternal&&(a.tooltipService.hide(),window.clearTimeout(a.hideTimeout),a.hideTimeout=void 0,a.isDisplayedInternal=!1)};$eb.prototype.getRoot=function(){return this.tooltip};
var v5c=function(a){void 0===a.showTimeout&&(window.clearTimeout(a.hideTimeout),a.hideTimeout=void 0,a.showTimeout=window.setTimeout(function(){r5c(a)},a.showDelay))},x5c=function(a){void 0===a.hideTimeout&&(window.clearTimeout(a.showTimeout),a.showTimeout=void 0,a.hideTimeout=window.setTimeout(function(){q5c(a)},a.hideDelay))},w5c=function(a){if(a.anchor){for(var b=k(u5c),c=b.next();!c.done;c=b.next())a.eventHandler.listen(a.anchor,c.value,function(){x5c(a)});a.eventHandler.listen(window,"touchmove",
function(){x5c(a)});a.eventHandler.listen(window,"focus",function(d){d.target!==a.anchor&&x5c(a)});a.eventHandler.listen(window,"blur",function(d){d.target===window&&q5c(a)})}};var Zeb=function(a){var b=a.label,c=a.ariaLabel,d=a.classes,e=a.attributes,g=lq;a='<div id="'+oq(a.id)+'" peoplekit-id="'+oq("suEOdc")+'" class="'+oq("peoplekitComponentsTooltipImplTooltip")+(d?" "+oq(d):"")+'" style="display: none;" aria-hidden="true"'+(c?' aria-label="'+oq(c)+'"':"");e?($Q(e,FAc)?e=e.getContent():(e=String(e),e=fBc.test(e)?e:"zSoyz"),$Q(e,FAc)&&(e=e.getContent()),e=(e&&!e.startsWith(" ")?" ":"")+e):e="";return g(a+e+">"+pq(b)+"</div>")};var dfb=function(a,b,c){this.delegate=a;for(var d=this,e=aq(a.getRoot(),"QChpEe");e.firstChild;)e.removeChild(e.firstChild);this.secondaryActionButton=cfb(e,Object.assign({},{density:b.getDensity()},c));this.buttonRoot=this.secondaryActionButton.getRoot();this.buttonRoot.style.display="none";this.buttonRoot.id=a.getRoot().id+"-2ab";Xp(this.buttonRoot,163534,["impression","pk-click"]);this.secondaryActionButton.onClick=function(g){var h;null==(h=c.onClick)||h.call(c,g);d.buttonRoot.dispatchEvent(ieb(d.buttonRoot))};
this.eventHandler=cq(this);this.eventHandler.listen(a.getRoot(),"mouseover",this.displaySecondaryActionButton);this.eventHandler.listen(a.getRoot(),"mouseleave",this.hideSecondaryActionButton)};U(dfb,p2);f=dfb.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();p2.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 y5c={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"},z5c=p5c({shortcutKey:"Ctrl"}),A5c=p5c({shortcutKey:"\u2318"}),hfb=function(a,b,c,d){var e=0===b.getTheme()?y5c.LIGHT_THEME:y5c.DARK_THEME,g=qaa()?A5c:z5c;p2.call(this,efb(a,b,{icon:e,tooltipLabel:"Unhide suggestion",ariaLabel:g,onClick:function(l){h.onButtonClick(l)}},d));var h=this;this.appearanceConfig=
b;this.clientConfig=c;this.dispatcher=this.clientConfig.injectorService.actionEventDispatcher;zL(this.getRoot(),"button")};U(hfb,p2);hfb.prototype.onButtonClick=function(a){B5c(this);a.stopPropagation()};
var B5c=function(a){a.unhideConfirmationDialog&&C5c(a);a.dispatcher.notify(8);a.unhideConfirmationDialog=Jeb(a.getRoot().ownerDocument.body,a.getSelection(),a.appearanceConfig,1);a.unhideConfirmationDialog.subscribeToAction(function(b){1===b&&a.dispatcher.notify(4,a.getAllIds());C5c(a)})},C5c=function(a){var b;null==(b=a.unhideConfirmationDialog)||b.dispose();a.unhideConfirmationDialog=void 0;a.dispatcher.notify(9,a.getRoot())};var D5c=function(a){r.call(this,a)};U(D5c,r);f=D5c.prototype;f.getIdCase=function(){return Ci(this,x2)};f.getProfileId=function(){return Xs(this,1,x2)};f.setProfileId=function(a){return $n(this,1,x2,a)};f.hasProfileId=function(){return null!=po(this,1,x2)};f.getEmail=function(){return Xs(this,2,x2)};f.setEmail=function(a){return $n(this,2,x2,a)};f.hasEmail=function(){return null!=po(this,2,x2)};f.getPhone=function(){return Xs(this,3,x2)};f.setPhone=function(a){return $n(this,3,x2,a)};
f.hasPhone=function(){return null!=po(this,3,x2)};var x2=[1,2,3];D5c.prototype.toObject=function(){return E5c(this)};var E5c=function(a){if(null!=a)return t(a),{profileId:p(po(a,1,x2)),email:p(po(a,2,x2)),phone:p(po(a,3,x2))}};var y2=function(a){r.call(this,a)};U(y2,r);y2.prototype.getHideType=function(){return kr(this,1)};y2.prototype.getHiddenKeysList=function(){return aj(this,D5c,3)};y2.repeatedFields_=[3];y2.prototype.toObject=function(){return F5c(this)};var F5c=function(a){if(null!=a)return t(a),{hideType:p(kr(a,1)),hiddenKeysList:Kb(a.getHiddenKeysList(),E5c),familyStatus:p(kr(a,2)),birthdayStatus:p(kr(a,4))}};var mhb=Jb(417869137,{peopleStackPersonData:0},y2,F5c);b2c[417869137]=mhb;var ffb=function(){};ffb.prototype.filterResult=function(a){var b,c;return 1===(null==(b=a.getExtendedData())?void 0:null==(c=b.getExtension(mhb))?void 0:c.getHideType())?a:null};ffb.prototype.reset=function(){};var qfb=new Map([[1,mfb()],[4,mfb()],[5,pfb(1)],[6,pfb(2)],[2,function(a){var b=a.result;var c=a.selectionsState;var d=a.resultConfig,e=a.appearanceConfig,g=a.resultCustomization,h=Seb(b,d,g,a.isRightToLeft,Jj(a.clientConfig.getInternal(),6,!1),sq(e.getDensity())),l=Co(o5c,h);Xp(l,25285,["impression","pk-select","pk-deselect"],[Xeb(b.getPrimaryTarget().getLoggingToken())]);var q=aq(l,"d6MZcd"),x=Keb(e.getDensity()),A;g=null!=(A=g.backupAvatarUrl)?A:"";e=nq(q,h.photos,x,x,e,g);b=new n5c(l,b,c,d,h.tags,
e);c=new wq(new xq(b,c));return jfb(ifb(c,a),a)}],[3,function(a){var b=a.result;var c=a.selectionsState,d=a.resultConfig,e=a.appearanceConfig,g=a.resultCustomization,h=Seb(b,d,g,a.isRightToLeft,Jj(a.clientConfig.getInternal(),6,!1),sq(e.getDensity())),l=Co(j5c,h);Xp(l,25285,["impression","pk-select","pk-deselect"],[Xeb(b.getPrimaryTarget().getLoggingToken())]);var q=aq(l,"d6MZcd"),x=Keb(e.getDensity()),A;g=null!=(A=g.backupAvatarUrl)?A:"";e=nq(q,h.photos,x,x,e,g);b=new wq(new i5c(l,b,c,d,h.tags,e));
return ifb(b,a)}]]);var Bfb=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 w2c(new Tdb(this.results))};f=Bfb.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=rfb(c.value,b,this.selectionsState,this.resultConfig,this.appearanceConfig,this.clientConfig,lR(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 z2=function(a){this.delegate=a};f=z2.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 G5c=function(a){var b=a.id,c=a.groupName;a=a.classes;return lq('<div class="'+oq("peoplekitComponentsGroupingHeaderCollapsibleChevronContainer")+" "+(a?" "+oq(a):"")+'" peoplekit-id="'+oq("wgPSWd")+'" id="'+oq(b)+'" aria-expanded="false" role="button" aria-label="'+oq("To expand "+c+" group, press enter")+'"><svg class="'+oq("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>')},
H5c=function(a){return"To "+a.action+" "+a.groupName+" group, press enter"};var Aq=function(a,b,c){this.delegate=a;var d=this;this.isCollapsed=b;this.interactionListener=c;this.eventHandler=cq(this);this.chevron=Co(G5c,{id:Np(Zp.getInstance()),groupName:this.getHeader(),classes:"TdcT2c"});this.groupingHeaderActionItems=a.getActionItems().slice();this.groupingHeaderActionItems.push({focus:function(){d.chevron.classList.add("isSpotlit")},unfocus:function(){d.chevron.classList.remove("isSpotlit")},onKeyDown:function(e){13===e.event.keyCode&&(d.toggleView(),e.stopPropagation())}});
this.eventHandler.listen(this.getRoot(),"click",this.toggleView);aq(this.getRoot(),"QChpEe").appendChild(this.chevron);b||(this.chevron.classList.toggle("rotate"),AL(this.chevron,"expanded",!0),ync(this.chevron,H5c({groupName:this.getHeader(),action:"collapse"})))};U(Aq,z2);Aq.prototype.getActionItems=function(){return this.groupingHeaderActionItems};Aq.prototype.dispose=function(){this.eventHandler.removeAll();z2.prototype.dispose.call(this)};
Aq.prototype.toggleView=function(){this.isCollapsed=!this.isCollapsed;this.chevron.classList.toggle("rotate");this.interactionListener(this.isCollapsed);var a=this.isCollapsed?"expand":"collapse";AL(this.chevron,"expanded",!this.isCollapsed);ync(this.chevron,H5c({groupName:this.getHeader(),action:a}))};var I5c=function(a){var b=a.id,c=a.ariaLabel;a=a.classes;return lq('<div class="'+oq("peoplekitComponentsGroupingHeaderInfoInfoIconContainer")+" "+(a?" "+oq(a):"")+'" peoplekit-id="'+oq("CLghmc")+'" id="'+oq(b)+'" aria-label="'+oq(c)+'"><svg class="'+oq("peoplekitComponentsGroupingHeaderInfoInfoIcon")+'" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"/></svg></div>')};var K5c=function(a,b,c){this.delegate=a;var d=this;this.infoGroupConfig=b;this.appearanceConfig=c;this.infoIcon=Co(I5c,{id:Np(Zp.getInstance()),ariaLabel:"For more information about "+this.getHeader()+", press enter.",classes:"TdcT2c"});aq(this.getRoot(),"xiK4Cd").appendChild(this.infoIcon);this.eventHandler=cq(this);this.eventHandler.listen(this.infoIcon,"click",function(){J5c(d)});this.groupingHeaderActionItems=a.getActionItems().slice();this.groupingHeaderActionItems.push({focus:function(){d.infoIcon.classList.add("isSpotlit")},
unfocus:function(){d.infoIcon.classList.remove("isSpotlit")},onKeyDown:function(e){13===e.event.keyCode&&(J5c(d),e.stopPropagation(),e.preventDefault())}})};U(K5c,z2);
var J5c=function(a){var b=ueb({header:a.infoGroupConfig.infoDialogHeader}),c=Z3c({description:a.infoGroupConfig.learnMoreMessage,learnMoreLinkUrl:a.infoGroupConfig.learnMoreUrl,learnMoreLinkText:a.infoGroupConfig.learnMoreLinkText}),d=a.getRoot().ownerDocument.activeElement,e=a.getRoot().closest('[class~="aU4VQc"]'),g=teb(e,c,a.appearanceConfig,b);g.subscribeToAction(function(h){2===h&&(g.dispose(),d&&d.focus())})};K5c.prototype.getActionItems=function(){return this.groupingHeaderActionItems};
K5c.prototype.dispose=function(){this.eventHandler.removeAll();z2.prototype.dispose.call(this)};var tfb=function(a,b){this.root=a;this.header=b};f=tfb.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("Be");};f.toggleSelection=function(){};f.onKeyDown=function(){};f.onContextMenu=function(){return function(){}};var sfb=function(a){var b=lq;var c=a.id;a=a.header;c=lq('<div class="'+oq("peoplekitComponentsGroupingHeaderGroupingHeader")+'" id="'+oq(c)+'" peoplekit-id="'+oq("XLuqBd")+'"><div class="'+oq("peoplekitComponentsGroupingHeaderGroupingHeaderRow")+'"><div class="'+oq("peoplekitComponentsGroupingHeaderHeader")+'">'+pq(a)+'</div><div class="'+oq("peoplekitComponentsGroupingHeaderAction")+'"><div class="'+oq("peoplekitComponentsGroupingHeaderActionRow")+'"><div class="'+oq("peoplekitComponentsGroupingHeaderLeft")+
'" peoplekit-id="'+oq("xiK4Cd")+'"></div><div class="'+oq("peoplekitComponentsGroupingHeaderRight")+'" peoplekit-id="'+oq("QChpEe")+'"></div></div></div></div></div>');return b(c)};var L5c=function(a){this.delegate=a};U(L5c,z2);L5c.prototype.spotlight=function(){var a=this.getActionItems();a.length&&(this.activeActionItemIndex=0,a[this.activeActionItemIndex].focus())};L5c.prototype.unspotlight=function(){void 0!==this.activeActionItemIndex&&(this.getActionItems()[this.activeActionItemIndex].unfocus(),this.activeActionItemIndex=void 0)};
L5c.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 A2=function(a){this.delegate=a};f=A2.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 Dq=function(a,b){this.delegate=a;var c=this;this.listContainer=aq(this.getRoot(),"tjneg");a=a.getHeader();if(!a)throw Error("Ge");this.collapsibleHeader=vfb(a,b.isInitiallyCollapsed,function(d){c.interactionListener(d)});b.isInitiallyCollapsed&&this.listContainer.classList.add("collapsed")};U(Dq,A2);Dq.prototype.isInteractive=function(){return!0};Dq.prototype.getHeader=function(){return this.collapsibleHeader};Dq.prototype.dispose=function(){this.collapsibleHeader.dispose();A2.prototype.dispose.call(this)};
Dq.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 Cq=function(a,b,c){this.delegate=a;a=a.getHeader();if(!a)throw Error("He");this.infoHeader=new K5c(a,b,c)};U(Cq,A2);Cq.prototype.isInteractive=function(){return!0};Cq.prototype.getHeader=function(){return this.infoHeader};Cq.prototype.dispose=function(){this.infoHeader.dispose();A2.prototype.dispose.call(this)};var Bq=function(a,b){this.delegate=a;this.groupName=b;this.header=ufb(b);aq(a.getRoot(),"Bm3u4d").appendChild(this.header.getRoot())};U(Bq,A2);Bq.prototype.getGroupName=function(){return this.groupName};Bq.prototype.getHeader=function(){return this.header};Bq.prototype.dispose=function(){this.header.dispose();A2.prototype.dispose.call(this)};var M5c=function(a){this.root=a;this.items=[];this.list=vdb(aq(a,"tjneg"))};f=M5c.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 B2=function(a,b,c){this.delegate=a;var d=this;this.resultListGroupConfig=b;this.navigatable=c;this.listContainer=aq(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 L5c(this.header),this.navigatable.insert(this.navigatable.size(),[this.header],!1));this.mutationObserver=new MutationObserver(function(h){d.onMutation(h)});
this.mutationObserver.observe(this.listContainer,{attributes:!0})};U(B2,A2);B2.prototype.append=function(a){this.isInitiallyCollapsed||this.navigatable.insert(this.navigatable.size(),[a],!1);A2.prototype.append.call(this,a)};B2.prototype.getHeader=function(){return this.header};B2.prototype.dispose=function(){this.mutationObserver.disconnect();A2.prototype.dispose.call(this)};
B2.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 N5c=function(a){return lq('<div id="'+oq(a.id)+'" peoplekit-id="'+oq("E9WxSb")+'"><div peoplekit-id="'+oq("Bm3u4d")+'"></div><div class="'+oq("peoplekitComponentsResultListGroupListContainer")+'" peoplekit-id="'+oq("tjneg")+'"></div></div>')};var ogb=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 w2c(new Tdb([]))};f=ogb.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=rfb(d,b,this.selectionsState,this.resultConfig,this.appearanceConfig,this.clientConfig,lR(this.list.getRoot()),this.interactions);if(c&&!e){e=this.grouping;var g=this.navigatable,h=this.appearanceConfig,l=[wfb,yfb,zfb],q=Np(Zp.getInstance()),x=Co(N5c,{id:q});q=xfb();x=new M5c(x);l=k(l);for(var A=l.next();!A.done;A=l.next())A=A.value,x=A(x,e,c,h);e=new B2(x,q,
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,Vc(c.value.getItems()));return a};var Dfb=function(a,b,c){this.delegate=a;this.list=b;this.grouping=c;this.renderedGroups=new Set};f=Dfb.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=ufb(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 Efb=function(a,b){this.delegate=a;this.interactions=b};f=Efb.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 Afb=function(a){a=a.header;return lq('<div peoplekit-id="'+oq("aittld")+'">'+(0<a.length?'<div class="'+oq("peoplekitUiResultlistHeader")+'">'+pq(a)+"</div>":"")+'<div peoplekit-id="'+oq("tjneg")+'"></div></div>')};var mgb=function(a){this.label=a};mgb.prototype.getGroupId=function(a){return a.getTargetList().some(function(b){return 2!==b.getDataSource()})?"non_directory":"directory"};mgb.prototype.getGroupName=function(a){switch(a){case "directory":return this.label;case "non_directory":return"";default:return a}};var xfb=function(){throw Error("Ie");};mgb.prototype.reset=function(){};var ngb=function(a){this.label=a};ngb.prototype.getGroupId=function(a){return 7!==a.getResultType()?"suggestions":"non_suggestions"};ngb.prototype.getGroupName=function(a){switch(a){case "suggestions":return this.label;case "non_suggestions":return"";default:return a}};ngb.prototype.reset=function(){};var O5c=function(a){this.delegate=a};f=O5c.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 Oq=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 P5c(h,l)};this.unhideListener=function(l){return Q5c(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)};U(Oq,O5c);Oq.prototype.search=function(a,b,c,d){this.currentSearchState={query:a,anchor:b,showSuggestions:c,listener:d};O5c.prototype.search.call(this,a,b,c,d)};
Oq.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);O5c.prototype.dispose.call(this)};
var P5c=function(a,b){return he(function(c){switch(c.nextAddress){case 1:return ie(c,2),c.yield(a.hide.hideResults(b),4);case 4:return c.yield(a.refreshResults(),5);case 5:ms(c,0);break;case 2:le(c),R5c(a),me(c)}})},Q5c=function(a,b){return he(function(c){switch(c.nextAddress){case 1:return ie(c,2),c.yield(a.hide.unhideResults(b),4);case 4:return c.yield(a.refreshResults(),5);case 5:ms(c,0);break;case 2:le(c),S5c(a),me(c)}})};
Oq.prototype.refreshResults=function(){var a=this;return he(function(b){if(1==b.nextAddress)return a.getRoot().classList.add("isLoading"),a.peopleStore.flushCache(2),b.yield(a.peopleStore.warmUpCache(),2);a.currentSearchState?O5c.prototype.search.call(a,a.currentSearchState.query,a.currentSearchState.anchor,a.currentSearchState.showSuggestions,a.currentSearchState.listener):a.getRoot().classList.remove("isLoading");me(b)})};
var R5c=function(a){a.hideErrorDialog=veb(a.getRoot(),a.autocompleteConfig);a.hideErrorDialog.subscribeToAction(function(){var b;null==(b=a.hideErrorDialog)||b.dispose()})},S5c=function(a){a.unhideErrorDialog=xeb(a.getRoot(),a.autocompleteConfig);a.unhideErrorDialog.subscribeToAction(function(){var b;null==(b=a.unhideErrorDialog)||b.dispose()})};var T5c=function(a,b){$p.call(this,a,b)};U(T5c,$p);T5c.prototype.onKeyDown=function(a){if(9===a.event.keyCode){var b=this.getSpotlitItem();if(b){b=b.getRoot();var c=this.ariaParent;var d=xnc(c,"activedescendant");c=MA(c).getElementById(d);(d=b.querySelector('[id="'+(b.id+'-2ab"]')))?BL(this.ariaParent,c===d?b:d):Gfb(b)&&(b=Array.from(b.querySelectorAll('[class~="TdcT2c"]')),c=c?b.indexOf(c):-1,-1!==c&&BL(this.ariaParent,b[(c+1)%b.length]))}}$p.prototype.onKeyDown.call(this,a)};
T5c.prototype.next=function(a){a=$p.prototype.next.call(this,a);var b=this.getSpotlitItem();b&&(b=b.getRoot(),Gfb(b)&&U5c(this,b));return a};T5c.prototype.prev=function(a){a=$p.prototype.prev.call(this,a);var b=this.getSpotlitItem();b&&(b=b.getRoot(),Gfb(b)&&U5c(this,b));return a};var U5c=function(a,b){(b=b.querySelector('[class~="TdcT2c"]'))&&BL(a.ariaParent,b)};var ugb=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 T5c(this.navigationInput,this.resultList.getNavigatable());this.navigatable.setSecondaryEventTargets([this]);this.navigationEventHandler=Ydb({getPrevKeyCode:function(){return 38},getNextKeyCode:function(){return 40}},{shouldReactToHomeEnd:!1});this.eventHandler=
cq(this);Mp(this.root,0)};f=ugb.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");Mp(this.root,1);if(a){var g=V5c(this.health);g.start();this.session.search(a,function(l){e.update(l,d,g,!0)})}else if(c){var h=V5c(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()}),Jj(this.clientConfig.getInternal(),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 m2(b),function(){}))}))};
f.detach=function(){this.attached=!1;this.navigatable.reset();this.navigationEventHandler.detach();this.eventHandler.removeAll();this.session.cancel();Mp(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(Mp(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 Mp(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 lgb=function(){var a=lq,b='<div class="'+oq("peoplekitComponentsAutocompleteInlineContainer")+'" peoplekit-id="'+oq("yDHfq")+'"><div class="'+oq("peoplekitComponentsAutocompleteInlineListContainer")+'">';var c=aR('<div peoplekit-id="'+oq("tjneg")+'"></div>');c=lq('<div tabindex="-1" class="'+oq("peoplekitComponentsScrollboxScrollbar")+'" peoplekit-id="'+oq("I8ejUe")+'">'+pq(c)+"</div>");b=b+c+'</div><div class="'+oq("peoplekitComponentsAutocompleteInlineCircularProgress")+'">';c='<div class="'+
oq("peoplekitComponentsCircularprogressCircularProgress")+(" "+oq("isActive"))+'" data-loadingmessage="'+oq("Loading...")+'" data-active="true"><div class="'+oq("peoplekitComponentsCircularprogressMessageContainer")+'" aria-live="polite" jsname="'+oq("vyyg5")+'">'+pq("Loading...")+'</div><div class="'+oq("peoplekitComponentsCircularprogressCircularProgressContainer")+'"><div class="'+oq("peoplekitComponentsCircularprogressCircularProgressLayer")+" "+oq("peoplekitComponentsCircularprogressColorOne")+
" "+oq("exportColorOne")+'"><div class="'+oq("peoplekitComponentsCircularprogressCircleClipper")+" "+oq("peoplekitComponentsCircularprogressLeft")+'"><div class="'+oq("peoplekitComponentsCircularprogressCircle")+" "+oq("exportCircle")+'"></div></div><div class="'+oq("peoplekitComponentsCircularprogressGapPatch")+'"><div class="'+oq("peoplekitComponentsCircularprogressCircle")+" "+oq("exportCircle")+'"></div></div><div class="'+oq("peoplekitComponentsCircularprogressCircleClipper")+" "+oq("peoplekitComponentsCircularprogressRight")+
'"><div class="'+oq("peoplekitComponentsCircularprogressCircle")+" "+oq("exportCircle")+'"></div></div></div><div class="'+oq("peoplekitComponentsCircularprogressCircularProgressLayer")+" "+oq("peoplekitComponentsCircularprogressColorTwo")+" "+oq("exportColorTwo")+'"><div class="'+oq("peoplekitComponentsCircularprogressCircleClipper")+" "+oq("peoplekitComponentsCircularprogressLeft")+'"><div class="'+oq("peoplekitComponentsCircularprogressCircle")+" "+oq("exportCircle")+'"></div></div><div class="'+
oq("peoplekitComponentsCircularprogressGapPatch")+'"><div class="'+oq("peoplekitComponentsCircularprogressCircle")+" "+oq("exportCircle")+'"></div></div><div class="'+oq("peoplekitComponentsCircularprogressCircleClipper")+" "+oq("peoplekitComponentsCircularprogressRight")+'"><div class="'+oq("peoplekitComponentsCircularprogressCircle")+" "+oq("exportCircle")+'"></div></div></div><div class="'+oq("peoplekitComponentsCircularprogressCircularProgressLayer")+" "+oq("peoplekitComponentsCircularprogressColorThree")+
" "+oq("exportColorThree")+'"><div class="'+oq("peoplekitComponentsCircularprogressCircleClipper")+" "+oq("peoplekitComponentsCircularprogressLeft")+'"><div class="'+oq("peoplekitComponentsCircularprogressCircle")+" "+oq("exportCircle")+'"></div></div><div class="'+oq("peoplekitComponentsCircularprogressGapPatch")+'"><div class="'+oq("peoplekitComponentsCircularprogressCircle")+" "+oq("exportCircle")+'"></div></div><div class="'+oq("peoplekitComponentsCircularprogressCircleClipper")+" "+oq("peoplekitComponentsCircularprogressRight")+
'"><div class="'+oq("peoplekitComponentsCircularprogressCircle")+" "+oq("exportCircle")+'"></div></div></div><div class="'+oq("peoplekitComponentsCircularprogressCircularProgressLayer")+" "+oq("peoplekitComponentsCircularprogressColorFour")+" "+oq("exportColorFour")+'"><div class="'+oq("peoplekitComponentsCircularprogressCircleClipper")+" "+oq("peoplekitComponentsCircularprogressLeft")+'"><div class="'+oq("peoplekitComponentsCircularprogressCircle")+" "+oq("exportCircle")+'"></div></div><div class="'+
oq("peoplekitComponentsCircularprogressGapPatch")+'"><div class="'+oq("peoplekitComponentsCircularprogressCircle")+" "+oq("exportCircle")+'"></div></div><div class="'+oq("peoplekitComponentsCircularprogressCircleClipper")+" "+oq("peoplekitComponentsCircularprogressRight")+'"><div class="'+oq("peoplekitComponentsCircularprogressCircle")+" "+oq("exportCircle")+'"></div></div></div></div></div>';c=lq(c);return a(b+c+"</div></div>")},pgb=function(){return lq('<div class="'+oq("peoplekitComponentsAutocompleteInlineNoResultsContainer")+
'"></div>')};var rgb=function(a){a=a||{};var b=a.primaryMessage,c=a.contextMessage,d=a.learnMoreUrl,e=a.urlText;a=a.jsname;a='<div class="'+oq("peoplekitComponentsNoResultsMessageNoResultsMessage")+'"'+(a?' jsname="'+oq(a)+'"':"")+'><p class="'+oq("peoplekitComponentsNoResultsMessageHeader")+'">';a=b?a+pq(b):a+"No results";a+="</p>";if((c instanceof ZQ?c.getContent():c)||(d instanceof ZQ?d.getContent():d))a+='<p class="'+oq("peoplekitComponentsNoResultsMessageExplanation")+'">'+(c?pq(c)+(d?" ":""):""),d&&(a+=
'<a jsname="'+oq("viORvd")+'" class="'+oq("peoplekitComponentsNoResultsMessageLearnMoreLink")+'" target="_blank" href="'+oq($Ac(d))+'">',a=e?a+pq(e):a+"Learn more",a+="</a>"),a+="</p>";return lq(a+"</div>")};var qgb=function(a,b){this.parent=a;this.config=b};qgb.prototype.update=function(a){this.root&&this.root.remove();a=this.config.display(a);if(!a)return!1;this.root=Co(rgb,a);this.parent.appendChild(this.root);return!0};var tgb=function(){};tgb.prototype.update=function(){return!1};var sgb=function(){};sgb.prototype.update=function(){return!0};var vgb=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=heb(this.root,function(){g.hide()},{moveAboveAnchorIfOffscreen:this.config.getMoveAutocompleteAboveAnchorIfOffscreen()});this.inlineAutocomplete.getNavigatable().setSecondaryEventTargets([this.inlineAutocomplete,this]);this.eventHandler=cq(this);this.onSelectionCallback=function(){g.onSelect()};this.onSelectionAttemptedCallback=function(){g.hide()};
this.attach()};f=vgb.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;m5c(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("ue`"+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("ue`"+c);}}this.root.style.width=iR(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("ue`"+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 kgb=function(){return lq('<div class="'+oq("peoplekitComponentsAutocompletePopupContainer")+'" peoplekit-id="'+oq("noeiCf")+'" style="display: none;"></div>')};var W5c=function(){this.batches=new Map};W5c.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 Hfb=function(a,b){this.service=a;this.resolveComponents=b};
Hfb.prototype.update=function(a){var b=this;a=k([].concat(Vc(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){X5c(b,g.values,function(h,l,q){q.updateWaldo(l,h)})});break;case 2:c=c.withHubAvailabilityDot(function(g){X5c(b,g.values,function(h,l,q){q.updateHubAvailabilityDot(l,h)})})}c.execute()}}};
var X5c=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 Y5c=new Set([1,3,20]),Z5c=function(a){var b=this;this.idToComponent=new Map;this.updater=Ifb(a,function(c){return b.resolveComponents(c)})};f=Z5c.prototype;
f.append=function(a){var b=a.filter(function(g){return g.getAllIds().some(function(h){return Y5c.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$2371:b.$jscomp$loop$prop$component$2371},c=a.next()){b.$jscomp$loop$prop$component$2371=c.value;c=k(b.$jscomp$loop$prop$component$2371.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$2371}}(b)))}}};
f.resolveComponents=function(a){return this.idToComponent.get(String(a))||[]};f.refresh=function(a){var b=new W5c;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 $5c=function(){};$5c.prototype.append=function(){};$5c.prototype.remove=function(){};$5c.prototype.refresh=function(){};$5c.prototype.clear=function(){};var jgb=function(a){this.peopleIntelligence=a};jgb.prototype.create=function(){return this.peopleIntelligence?new Z5c(this.peopleIntelligence):new $5c};var a6c=function(){this.label="";this.type=0};f=a6c.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 b6c=function(){this.decorationConfigRequest=function(){};this.resultCustomizationCallback=function(){return{}}};b6c.prototype.getAllowResultDeselection=function(){return!1};b6c.prototype.getWarnForExternalSelections=function(){return!1};b6c.prototype.getResultDecorationConfigRequestCallback=function(){return this.decorationConfigRequest};b6c.prototype.getResultCustomizationCallback=function(){return this.resultCustomizationCallback};var c6c=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 a6c;this.result=new b6c;this.appearance=new mq};f=c6c.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 d6c=function(a){this.environmentConfig=a;this.autocomplete=new c6c(a)};f=d6c.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 e6c=Object.freeze(new Map([[5,1]]));var f6c=function(){this.entryPoint_=0};f6c.prototype.getPeoplekitEntryPoint=function(){return this.entryPoint_};f6c.prototype.setPeoplekitEntryPoint=function(a){this.entryPoint_=a;return this};f6c.prototype.serialize=function(){return[this.entryPoint_].toString()};var g6c=Object.freeze(new f6c);var h6c=function(){this.originator_=0};h6c.prototype.setOriginator=function(a){this.originator_=a;return this};h6c.prototype.getOriginator=function(){return this.originator_};var egb=function(a,b,c){var d=this;this.reporter=a.getReporter((new f6c).setPeoplekitEntryPoint(c));m5c(b,function(e,g,h){d.select(e,h)},0);l5c(b,function(e,g,h){d.deselect(e,h)},0);i6c(b,function(e,g,h,l){d.replace(e,l)})};f=egb.prototype;f.display=function(a){this.reporter.reportDisplay(Jfb(a.getTargetList()))};f.select=function(a,b){if(!a.isPlaceholder())switch(b){case 1:case 12:case 5:this.reporter.reportSelect(Eq([a]),(new h6c).setOriginator(e6c.get(b)||0));break;case 6:this.reporter.reportExternalSelect(Eq([a]))}};
f.deselect=function(a,b){if(!a.isPlaceholder())switch(b){case 7:case 8:case 1:this.reporter.reportDeselect(Eq([a]))}};f.dismiss=function(a){this.reporter.reportDismiss(Eq(a))};f.save=function(a){this.reporter.reportSave(Eq(a))};f.send=function(a){this.reporter.reportSend(Eq(a))};f.replace=function(a,b){switch(b){case 5:case 6:this.select(a,b)}};var j6c=function(){this.isBatchingInternal=!1;this.timerId=this.lastBatchTime=0};j6c.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=Wn(function(){b.isBatchingInternal=!1;a()},100<d?0:100)}};j6c.prototype.cancel=function(){Xn(this.timerId);this.isBatchingInternal=!1};var Bgb=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 j6c;m5c(this.selectionsState,function(){k6c(h)})};f=Bgb.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(Eq(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(Eq(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 l6c=function(a,b){a.selectionChangedListeners.push(b)},k6c=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 dgb=function(a){a=a||{};a=a.classes;return lq('<div peoplekit-id="'+oq("nVhUhf")+'"'+(a?' class="'+oq(a)+'"':"")+"></div>")};var C2=function(a){r.call(this,a)};U(C2,r);C2.prototype.getVersion=function(){return W(this,1,1)};C2.prototype.setVersion=function(a){return n(this,1,a)};C2.prototype.getVersionOrUndefined=function(){return wr(this,1)};C2.prototype.toObject=function(){return m6c(this)};var m6c=function(a){if(null!=a)return t(a),{version:W(a,1,1)}};var n6c=function(a){r.call(this,a)};U(n6c,r);f=n6c.prototype;f.getClientId=function(){return W(this,1,0)};f.setClientId=function(a){return n(this,1,a)};f.getEntryPoint=function(){return W(this,5,0)};f.setEntryPoint=function(a){return n(this,5,a)};f.getSocialClient=function(){return Z(this,BQ,2)};f.setSocialClient=function(a){return Yi(this,BQ,2,a)};f.setVersionName=function(a){return n(this,3,a)};f.getBaselineCl=function(){return gj(this,4)};f.setBaselineCl=function(a){return n(this,4,a)};
f.hasBaselineCl=function(){return Ok(this,4)};f.getBaselineClOrUndefined=function(){return ct(this,4)};f.getComponentFlow=function(){return W(this,7,0)};f.setComponentFlow=function(a){return n(this,7,a)};f.toObject=function(){return o6c(this)};var o6c=function(a){if(null!=a)return t(a),{clientId:p(kr(a,1)),entryPoint:p(kr(a,5)),socialClient:Twc(a.getSocialClient()),versionName:p(m(a,3)),baselineCl:p(m(a,4)),componentFlow:p(kr(a,7)),androidClientInfo:m6c(Z(a,C2,6))}};var p6c=function(a){r.call(this,a)};U(p6c,r);p6c.prototype.toObject=function(){return q6c(this)};var q6c=function(a){if(null!=a)return t(a),{imageType:p(kr(a,1)),imageDataCached:p(kr(a,2))}};var D2=function(a){r.call(this,a)};U(D2,r);D2.prototype.toObject=function(){return r6c(this)};var r6c=function(a){if(null!=a)return t(a),{avatarMetadata:q6c(Z(a,p6c,1))}};var s6c=function(a){r.call(this,a)};U(s6c,r);f=s6c.prototype;f.getLabel=function(){return W(this,1,0)};f.setLabel=function(a){return n(this,1,a)};f.hasLabel=function(){return fj(this,1)};f.getCause=function(){return W(this,2,0)};f.toObject=function(){return t6c(this)};var t6c=function(a){if(null!=a)return t(a),{label:p(kr(a,1)),cause:p(kr(a,2))}};var u6c=function(a){r.call(this,a)};U(u6c,r);f=u6c.prototype;f.getLabel=function(){return W(this,1,0)};f.setLabel=function(a){return n(this,1,a)};f.hasLabel=function(){return fj(this,1)};f.getValue=function(){return gj(this,2,1)};f.setValue=function(a){return n(this,2,a)};f.hasValue=function(){return Ok(this,2)};f.toObject=function(){return v6c(this)};var v6c=function(a){if(null!=a)return t(a),{label:p(kr(a,1)),value:gj(a,2,1)}};var w6c=function(a){r.call(this,a)};U(w6c,r);f=w6c.prototype;f.setLatencyUsec=function(a){n(this,2,a)};f.getQueryLength=function(){return Gh(this,3)};f.setQueryLength=function(a){return n(this,3,a)};f.hasQueryLength=function(){return Ek(this,3)};f.toObject=function(){return x6c(this)};
var x6c=function(a){if(null!=a)return t(a),{resultCount:p(Os(a,1)),latencyUsec:p(m(a,2)),queryLength:p(Os(a,3)),isContactsPermissionsGranted:p(ar(a,4)),isShowDeviceContactsDisplayed:p(ar(a,5)),memoryAllocatedDelta:p(m(a,6)),inAppResultCount:p(Os(a,7))}};var y6c=function(a){r.call(this,a)};U(y6c,r);f=y6c.prototype;f.getLabel=function(){return V(this,1)};f.setLabel=function(a){return n(this,1,a)};f.hasLabel=function(){return wk(this,1)};f.getCause=function(){return V(this,2)};f.toObject=function(){return z6c(this)};var z6c=function(a){if(null!=a)return t(a),{label:p(m(a,1)),cause:p(m(a,2))}};var A6c=function(a){r.call(this,a)};U(A6c,r);f=A6c.prototype;f.getLabel=function(){return W(this,1,0)};f.setLabel=function(a){return n(this,1,a)};f.hasLabel=function(){return fj(this,1)};f.setLatencyUsec=function(a){n(this,2,a)};f.getCacheStatus=function(){return W(this,3,0)};f.setCacheStatus=function(a){return n(this,3,a)};f.toObject=function(){return B6c(this)};var B6c=function(a){if(null!=a)return t(a),{label:p(kr(a,1)),latencyUsec:p(m(a,2)),cacheStatus:p(kr(a,3))}};var E2=function(a){r.call(this,a)};U(E2,r);E2.prototype.getInterfaceType=function(){return W(this,1,0)};E2.prototype.setInterfaceType=function(a){return n(this,1,a)};E2.prototype.toObject=function(){return C6c(this)};var C6c=function(a){if(null!=a)return t(a),{interfaceType:p(kr(a,1)),dataSourceType:p(kr(a,2)),entryIndex:p(Os(a,3))}};var D6c=function(a){r.call(this,a)};U(D6c,r);D6c.prototype.toObject=function(){return E6c(this)};var E6c=function(a){if(null!=a)return t(a),{suggestionsLoaded:p(ar(a,1)),closeType:p(kr(a,2))}};var F6c=function(a){r.call(this,a)};U(F6c,r);f=F6c.prototype;f.getEventType=function(){return W(this,1,0)};f.getEventType_legacyNullable=function(){return kr(this,1)};f.setEventType=function(a){return n(this,1,a)};f.setLatencyUsec=function(a){n(this,2,a)};f.toObject=function(){return G6c(this)};
var G6c=function(a){if(null!=a)return t(a),{eventType:p(kr(a,1)),latencyUsec:p(m(a,2)),entityCount:p(Os(a,3)),memoryAllocatedDelta:p(m(a,4)),animationFps:p(Os(a,5)),timeToActionMillis:p(m(a,6)),completionMetadata:E6c(Z(a,D6c,7))}};var H6c=function(a){r.call(this,a)};U(H6c,r);f=H6c.prototype;f.getCount=function(){return Z(this,u6c,3)};f.setCount=function(a){return Yi(this,u6c,3,a)};f.getLatency=function(){return Z(this,A6c,4)};f.setLatency=function(a){return Yi(this,A6c,4,a)};f.getError=function(){return Z(this,y6c,5)};f.setError=function(a){Yi(this,y6c,5,a)};f.hasError=function(){return Dj(this,y6c,5)};f.toObject=function(){return I6c(this)};
var I6c=function(a){if(null!=a)return t(a),{entryType:p(kr(a,1)),sharedDimension:C6c(Z(a,E2,2)),count:v6c(a.getCount()),latency:B6c(a.getLatency()),peoplekitError:t6c(Z(a,s6c,8)),error:z6c(a.getError()),dataDisplay:x6c(Z(a,w6c,6)),userEvent:G6c(Z(a,F6c,7))}};var F2=function(a){r.call(this,a)};U(F2,r);F2.prototype.setElementIndex=function(a){n(this,2,a)};F2.prototype.setCardinalDirection=function(a){n(this,7,a)};F2.repeatedFields_=[3];F2.prototype.toObject=function(){return J6c(this)};var J6c=function(a){if(null!=a)return t(a),{elementId:p(Os(a,1)),elementIndex:p(Os(a,2)),pathToRootElementIdList:p(Fh(a,3)),userAction:p(kr(a,4)),cardinalDirection:p(kr(a,7))}};var K6c=function(a){r.call(this,a)};U(K6c,r);K6c.prototype.toObject=function(){return L6c(this)};var L6c=function(a){if(null!=a)return t(a),{ancestryVisualElement:J6c(Z(a,F2,1)),intentClassName:p(m(a,2)),firstInFlow:p(ar(a,3)),userInterfaceStyle:W(a,4,0)}};var M6c=function(a){r.call(this,a)};U(M6c,r);f=M6c.prototype;f.getClientInterface=function(){return Z(this,n6c,3)};f.setClientInterface=function(a){return Yi(this,n6c,3,a)};f.getMetadata=function(){return Z(this,D2,4)};f.setMetadata=function(a){Yi(this,D2,4,a)};f.toObject=function(){if(null!=this){t(this);var a={visualElementEntry:L6c(Z(this,K6c,1)),metricsDataEntry:I6c(Z(this,H6c,2)),clientInterface:o6c(this.getClientInterface()),metadata:r6c(this.getMetadata())}}else a=void 0;return a};var fgb=function(a){this.logContext=rib(sr(new tr,"PeopleKit").setLogSource(624).setApplication(a.getSocialApplicationOrUndefined()).setEnvironment(0).setVersion("1.0").setBaselineCl(539367816).setEnableClearcut(a.getEnableClearcut()),tq.getExperimentIds());this.clientId=a.getClientId();this.componentFlow=a.getComponentFlow()};f=fgb.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 M6c).setClientInterface((new n6c).setClientId(this.clientId).setSocialClient(a.getSocialClient()).setVersionName(this.getLogContext().getVersionOrUndefined()).setBaselineCl(this.getLogContext().getBaselineClOrUndefined()).setComponentFlow(this.componentFlow));return Yi(a,H6c,2,b)};f.createErrorMetric=function(){throw Error("bb");};var N6c=function(a,b){this.count=0;this.metrics=a;this.label="total";a=new H6c;a=n(a,1,4);var c=new E2;b=n(c,2,2).setInterfaceType(b);this.dataEntry=Yi(a,E2,2,b).setLatency((new A6c).setLabel(8));this.state=new KQ(this.dataEntry)};N6c.prototype.start=function(){this.count=0;this.metrics.start(this.state,this.label)};
N6c.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=Z(this.dataEntry,E2,2))&&n(d,3,this.count);this.metrics.latency(this.state);++this.count};var igb=function(a,b){this.metrics=a;this.userInterfaceType=b};var ggb=function(a){this.trackers=a},V5c=function(a){a=a.trackers;return new N6c(a.metrics,a.userInterfaceType)};var G2=function(){this.itemsByPriority=[]};G2.prototype.add=function(a,b){this.itemsByPriority[b]||(this.itemsByPriority[b]=new Set);this.itemsByPriority[b].add(a)};G2.prototype.remove=function(a){for(var b=k(this.itemsByPriority),c=b.next();!c.done;c=b.next())(c=c.value)&&c.delete(a)};G2.prototype.asArray=function(){return this.itemsByPriority.flatMap(function(a){return[].concat(Vc(a))})};var Mq=function(){this.selectionCallbacks=new G2;this.deselectionCallbacks=new G2;this.selectionReplacedCallbacks=new G2;this.selectionAttemptedCallbacks=new G2;this.selectionsState=[]};
Mq.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 Fq(a,b,c,this.selectionAttemptedCallbacks.asArray()),!1;0<=b?(this.selectionsState.splice(b,0,a),Fq(a,b,c,this.selectionCallbacks.asArray())):(this.selectionsState.push(a),Fq(a,this.selectionsState.length-1,c,this.selectionCallbacks.asArray()));return!0};
Mq.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),Fq(a,d,b,this.deselectionCallbacks.asArray()))};Mq.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 m5c=function(a,b,c){a.selectionCallbacks.add(b,void 0===c?2:c)},l5c=function(a,b,c){a.deselectionCallbacks.add(b,void 0===c?2:c)},i6c=function(a,b){a.selectionReplacedCallbacks.add(b,0)};f=Mq.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;Kfb(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 Fq(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 Agb=function(){};Agb.prototype.start=function(){};Agb.prototype.stop=function(){};var O6c=function(a){this.userAction=a;this.interactionContext=this.cardinalDirection=void 0};var Pq=function(a){this.visualElementRoot=a;this.syntheticVisualElements=new Map;a=Wp(this.visualElementRoot);this.syntheticRoot=Lfb(a);this.syntheticVisualElements.set(a.id,this.syntheticRoot)};
Pq.prototype.insert=function(a){a=k(a);for(var b=a.next();!b.done;b=a.next()){b=b.value;var c=Wp(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=Wp(b[c]);this.syntheticVisualElements.has(e.id)||(d=Lfb(e),this.syntheticVisualElements.set(e.id,d),e=Wp(b[c-1]),this.syntheticVisualElements.get(e.id).appendChild(d))}}}};
Pq.prototype.remove=function(a){a=k(a);for(var b=a.next();!b.done;b=a.next())if(b=Wp(b.value)){var c=this.syntheticVisualElements.get(b.id);this.syntheticVisualElements.delete(b.id);c&&c.parentElement&&c.parentElement.removeChild(c)}};Pq.prototype.getRoot=function(){return this.syntheticRoot};Pq.prototype.getElement=function(a){return this.syntheticVisualElements.get(a)};var xgb=function(a,b){this.syntheticTree=a;this.tracker=b;this.delayedImpression=new JBc(this.impress,15,this)};xgb.prototype.impress=function(){var a=this.tracker,b=this.syntheticTree.getRoot();var c=void 0===c?!1:c;b=P6c(a.traverser_,b);Q6c(a,b,new gR(0,0,0,0));c&&R6c(a,b,new gR(0,0,0,0))};xgb.prototype.dispose=function(){this.delayedImpression.dispose()};var ygb=function(a,b){this.root=a;this.visualElementHandler=b;this.eventHandler=cq(this)};
ygb.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,M3c,function(b){b.stopPropagation();var c=a.visualElementHandler,d=b.type;if(b=Wp(b.target))b=c.syntheticTree.getElement(b.id),d=N3c.get(d),b&&d&&(c=c.tracker,d=new O6c(d),(b=H2(c.visualElementProvider_,b))&&b.impressionEventID&&S6c(c,b,d))}))};
ygb.prototype.dispose=function(){var a;null==(a=this.mutationObserver)||a.disconnect();this.eventHandler.removeAll();this.visualElementHandler.dispose()};ygb.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=Mfb(b.removedNodes);c.length&&this.visualElementHandler.syntheticTree.remove(c);b=Mfb(b.addedNodes);b.length&&(c=this.visualElementHandler,c.syntheticTree.insert(b),c.delayedImpression.start())}};var zgb=function(a){this.visualElementObserver=a};zgb.prototype.start=function(){this.visualElementObserver.observe()};zgb.prototype.stop=function(){this.visualElementObserver.dispose()};for(var T6c={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"}},Nfb=Rfb(T6c),U6c=new Map,V6c=k(Object.keys(T6c)),W6c=V6c.next();!W6c.done;W6c=V6c.next()){var X6c=W6c.value;U6c.set(T6c[X6c].xid,T6c[X6c].string)}
var Pfb=Rfb({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 I2=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_=[]},J2=function(a,b){return b?a.tracks_.has(a.maybeXidEventLabel_(b)):0!=a.tracks_.size};f=I2.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 Y6c=function(a,b){for(var c=0;c<a.metadataHandlers_.length;++c)a.metadataHandlers_[c](b)};I2.prototype.maybeXidEventLabel_=function(a){return this.xidTagComponents_?Ofb(a):a};I2.prototype.maybeXidPartLabel_=function(a){return this.xidTagComponents_?Qfb(a):a};var Z6c=function(a){I2.call(this,a)};U(Z6c,I2);var K2=function(a){r.call(this,a)};U(K2,r);K2.prototype.toObject=function(){return $6c(this)};var $6c=function(a){if(null!=a)return t(a),{timeUsec:p(m(a,1)),serverIp:p(Ps(a,2)),processId:p(Ps(a,3))}},a7c=[K2,1,RJb,2,UJb,3,UJb];rt[4156379]=Jb(4156379,{messageSetExtension:0},K2,$6c);var L2=function(a){r.call(this,a)};U(L2,r);L2.prototype.getBase=function(){return Z(this,K2,1)};L2.prototype.setBase=function(a){return Yi(this,K2,1,a)};L2.prototype.hasBase=function(){return Dj(this,K2,1)};L2.prototype.toObject=function(){return M2(this)};var M2=function(a){if(null!=a)return t(a),{base:$6c(a.getBase()),clientCounter:p(m(a,2))}},b7c=[L2,1,WJb,a7c,2,RJb];var N2=function(a){r.call(this,a)};U(N2,r);N2.prototype.getBase=function(){return Ss(this,1)};N2.prototype.setBase=function(a){return xb(this,1,a,void 0,Fh)};N2.prototype.getOffset=function(){return Gh(this,2,0)};N2.prototype.setOffset=function(a){n(this,2,a)};N2.repeatedFields_=[1];N2.prototype.toObject=function(){return c7c(this)};var c7c=function(a){if(null!=a)return t(a),{baseList:p(Fh(a,1)),offset:Gh(a,2,0)}},d7c=[N2,1,SJb,2,ft];var O2=function(a){r.call(this,a)};U(O2,r);O2.prototype.setVeIndex=function(a){n(this,1,a)};var e7c=function(a,b){n(a,2,b)};O2.prototype.setElementIndex=function(a){n(this,5,a)};O2.prototype.getResultIndex=function(){return Gh(this,6,-1)};O2.prototype.setResultIndex=function(a){n(this,6,a)};O2.prototype.toObject=function(){return f7c(this)};
var f7c=function(a){if(null!=a)return t(a),{veIndex:Gh(a,1,-1),nonArchivalVeIndex:Gh(a,11,-1),veOffsetIdentifier:c7c(Z(a,N2,15)),veType:p(Os(a,2)),odelaySeLinker:p(Os(a,8)),elementIndex:Gh(a,5,-1),resultIndex:Gh(a,6,-1),pageStart:p(Os(a,7)),resultGroupElementIndex:Gh(a,9,-1),doNotLogUrl:Jj(a,10,!1),resultFprint:p(m(a,12)),veEventId:M2(Z(a,L2,13)),youtubeVeCounter:Gh(a,14,-1)}},g7c=[O2,1,ft,11,ft,15,WJb,d7c,2,ft,8,ft,5,ft,6,ft,7,ft,9,ft,10,VJb,12,TJb,13,WJb,b7c,14,ft],h7c=function(a){return function(b){var c=
new GJb;zca(b,c,yca(a));Gca(c,c.encoder_.end());b=new Uint8Array(c.totalLength_);for(var d=c.blocks_,e=d.length,g=0,h=0;h<e;h++){var l=d[h];b.set(l,g);g+=l.length}c.blocks_=[b];return b}}(g7c);rt[15872052]=Jb(15872052,{messageSetExtension:0},O2,f7c);var i7c=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};i7c.prototype.getTag=function(){return this.veTag_};i7c.prototype.getElement=function(){return this.el_};var k7c=function(a){var b=j7c++;a.traversalOrder_=b};i7c.prototype.setParent=function(a){this.parent_=a};i7c.prototype.getParent=function(){return this.parent_};
var l7c=function(a){if(a.impressionEventID){var b=new O2;b.setVeIndex(a.traversalOrder_);e7c(b,a.getTag().visualElementID_);Yi(b,L2,13,a.impressionEventID);a=h7c(b);return"0"+Kaa(a,4)}};var Vfb=function(a){r.call(this,a)};U(Vfb,r);f=Vfb.prototype;f.getClientId=function(){return W(this,1,0)};f.setClientId=function(a){return n(this,1,a)};f.getEntryPoint=function(){return W(this,2,0)};f.setEntryPoint=function(a){return n(this,2,a)};f.getApplication=function(){return W(this,3,0)};f.setApplication=function(a){return n(this,3,a)};f.getApplicationOrUndefined=function(){return wr(this,3)};f.setVersionName=function(a){return n(this,4,a)};f.getBaselineCl=function(){return gj(this,5)};
f.setBaselineCl=function(a){return n(this,5,a)};f.hasBaselineCl=function(){return Ok(this,5)};f.getBaselineClOrUndefined=function(){return ct(this,5)};f.getMetadata=function(){return Z(this,D2,6)};f.setMetadata=function(a){Yi(this,D2,6,a)};f.toObject=function(){if(null!=this){t(this);var a={clientId:p(kr(this,1)),entryPoint:p(kr(this,2)),application:p(kr(this,3)),versionName:p(m(this,4)),baselineCl:p(m(this,5)),metadata:r6c(this.getMetadata())}}else a=void 0;return a};var Wfb=function(a){this.context_=a};Wfb.prototype.createNewTag=function(a){return new Z6c(a)};Wfb.prototype.addEventMetadata=function(a){B3b(a,this.context_.serialize())};var m7c=function(){this.client_info=this.global_metadata=this.ve_metadata=void 0;this.testCodes=[]};var n7c=function(){};n7c.prototype.impressionEvent=function(){return[]};n7c.prototype.interactionEvent=function(){return[]};n7c.prototype.visibilityEvent=function(){return[]};var q7c=function(){if(!o7c){var a=o7c=new K2,b=1E3*Date.now();n(a,1,b);n(o7c,2,0);n(o7c,3,0)}a=(new L2).setBase(o7c);b=++p7c;return n(a,2,b)},p7c=0,o7c=void 0;var P2=function(a){r.call(this,a,1)};U(P2,r);var r7c={};P2.prototype.toObject=function(){return s7c(this)};var s7c=function(a){if(null!=a){t(a);var b={};Nb(a,b,r7c);return b}};var Q2=function(a){r.call(this,a)};U(Q2,r);Q2.prototype.toObject=function(){return t7c(this)};var t7c=function(a){if(null!=a)return t(a),{rootEventId:M2(Z(a,L2,1))}};var R2=function(a){r.call(this,a)};U(R2,r);R2.prototype.getEvent=function(){return Sj(this,K2,1,u7c)};R2.prototype.setVed=function(a){return $n(this,5,v7c,a)};var u7c=[1,3,4],v7c=[2,5];R2.prototype.toObject=function(){return w7c(this)};var w7c=function(a){if(null!=a)return t(a),{event:$6c(a.getEvent()),clientEvent:M2(Sj(a,L2,3,u7c)),ei:p(po(a,4,u7c)),rootVe:f7c(Sj(a,O2,2,v7c)),ved:p(po(a,5,v7c))}};var S2=function(a){r.call(this,a,7)};U(S2,r);f=S2.prototype;f.getTarget=function(){return Z(this,R2,1)};f.setTarget=function(a){return Yi(this,R2,1,a)};f.getType=function(){return W(this,2,0)};f.setType=function(a){return n(this,2,a)};f.hasType=function(){return fj(this,2)};var x7c={};S2.prototype.toObject=function(){return y7c(this)};
var y7c=function(a){if(null!=a){t(a);var b={target:w7c(a.getTarget()),type:W(a,2,0),cloneTree:w7c(Z(a,R2,3)),sourceTree:w7c(Z(a,R2,5)),graftTimeUsec:p(m(a,4)),dedupe:Jj(a,6,!1)};Nb(a,b,x7c);return b}};var T2=function(a){r.call(this,a)};U(T2,r);T2.repeatedFields_=[1];T2.prototype.toObject=function(){return z7c(this)};var z7c=function(a){if(null!=a)return t(a),{graftList:Kb(aj(a,S2,1),y7c)}};var U2=function(a){r.call(this,a)};U(U2,r);U2.prototype.getOffset=function(){return Gh(this,2,0)};U2.prototype.setOffset=function(a){n(this,2,a)};U2.repeatedFields_=[1];U2.prototype.toObject=function(){return A7c(this)};var A7c=function(a){if(null!=a)return t(a),{identifierBaseList:p(Fh(a,1)),offset:Gh(a,2,0)}};var B7c=function(a){r.call(this,a)};U(B7c,r);B7c.prototype.getEventId=function(){return Sj(this,K2,1,C7c)};B7c.prototype.setEventId=function(a){ho(this,1,C7c,a)};var C7c=[1,2],D7c=[3,6];B7c.prototype.toObject=function(){return E7c(this)};var E7c=function(a){if(null!=a){t(a);var b=$6c(a.getEventId()),c=M2(Sj(a,L2,2,C7c));var d=Gh(a,no(a,D7c,3),-1);return{eventId:b,clientEventId:c,featureIndex:d,featureOffsetIdentifier:A7c(Sj(a,U2,6,D7c))}}};var F7c=function(a){r.call(this,a)};U(F7c,r);F7c.prototype.getReference=function(){return Z(this,R2,1)};F7c.prototype.toObject=function(){return G7c(this)};var G7c=function(a){if(null!=a)return t(a),{reference:w7c(a.getReference())}};var V2=function(a){r.call(this,a,233)};U(V2,r);V2.prototype.setUiType=function(a){return n(this,1,a)};V2.prototype.setElementIndex=function(a){n(this,3,a)};var H7c=function(a,b){tb(a,4,b,cb)};V2.prototype.getResultIndex=function(){return Os(this,7)};V2.prototype.setResultIndex=function(a){n(this,7,a)};V2.prototype.setVisible=function(a){return n(this,6,a)};var I7c={};V2.repeatedFields_=[4];V2.prototype.toObject=function(){return J7c(this)};
var J7c=function(a){if(null!=a){t(a);var b={uiType:p(Os(a,1)),elementIndex:Gh(a,3,-1),containsElementsList:p(Fh(a,4)),targetUrl:p(m(a,5)),resultIndex:p(Os(a,7)),featureTreeRef:E7c(Z(a,B7c,11)),visible:W(a,6,0),language:p(m(a,17)),adImpressionIndex:Gh(a,149,-1),dataElement:G7c(Z(a,F7c,232))};Nb(a,b,I7c);return b}};var W2=function(a){r.call(this,a,17)};U(W2,r);f=W2.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 Gh(this,7,-1)};f.setResultIndex=function(a){n(this,7,a)};f.setElementIndex=function(a){n(this,8,a)};var K7c=function(a,b){dj(a,14,b)},L7c={};W2.repeatedFields_=[14];W2.prototype.toObject=function(){return M7c(this)};
var M7c=function(a){if(null!=a){t(a);var b={clickTrackingCgi:f7c(Z(a,O2,16)),ved:p(m(a,11)),uiType:Gh(a,1,-1),veIndex:Gh(a,2,-1),primaryUserAction:p(Os(a,3)),cardinalDirection:p(Os(a,4)),toggleState:p(Os(a,5)),interactionContext:Gh(a,6,-1),resultIndex:Gh(a,7,-1),elementIndex:Gh(a,8,-1),imageUrl:p(m(a,9)),imageReferrerUrl:p(m(a,10)),thumbnailId:p(m(a,12)),referrerId:p(m(a,13)),ancestryList:Kb(aj(a,V2,14),J7c),clientInteractionMetadata:s7c(Z(a,P2,15))};Nb(a,b,L7c);return b}};var X2=function(a){r.call(this,a)};U(X2,r);X2.prototype.getEventId=function(){return Z(this,L2,1)};X2.prototype.setEventId=function(a){Yi(this,L2,1,a)};X2.repeatedFields_=[2];
X2.prototype.toObject=function(){if(null!=this){t(this);var a={eventId:M2(this.getEventId()),visualElementsList:Kb(aj(this,V2,2),J7c),parentEventId:M2(Z(this,L2,3)),ephemeralParentEventId:p(m(this,6)),snapshotParentEventId:M2(Z(this,L2,8)),requestContext:M7c(Z(this,W2,4)),graftType:p(kr(this,5)),grafts:z7c(Z(this,T2,7)),coreEventMetadata:t7c(Z(this,Q2,9))}}else a=void 0;return a};var N7c=function(){};N7c.prototype.createNewTag=function(a){return new I2(a)};N7c.prototype.addEventMetadata=function(){};var Y2=function(a){r.call(this,a)};U(Y2,r);var O7c=function(a,b){dj(a,1,b)};Y2.prototype.addPath=function(a,b){return jo(this,1,V2,a,b)};Y2.prototype.setPath=function(a,b){return Fs(this,1,V2,a,b)};Y2.repeatedFields_=[1];Y2.prototype.toObject=function(){return P7c(this)};var P7c=function(a){if(null!=a)return t(a),{pathList:Kb(aj(a,V2,1),J7c)}};var Q7c=Jb(100,{coreGraftMetadata:0},Y2,P7c);x7c[100]=Q7c;var Z2=function(a){r.call(this,a)};U(Z2,r);var R7c=function(a){var b=Date.now().toString();n(a,1,b)};Z2.prototype.toObject=function(){return S7c(this)};var S7c=function(a){if(null!=a)return t(a),{clientWallClockTimestamp:p(m(a,1))}};var a3=function(a){r.call(this,a)};U(a3,r);a3.prototype.getTimestamp=function(){return Z(this,Z2,1)};a3.prototype.setTimestamp=function(a){return Yi(this,Z2,1,a)};a3.prototype.hasTimestamp=function(){return Dj(this,Z2,1)};a3.prototype.toObject=function(){return T7c(this)};var T7c=function(a){if(null!=a)return t(a),{timestamp:S7c(a.getTimestamp())}};var U7c=Jb(126,{coreInteractionMetadata:0},a3,T7c);r7c[126]=U7c;var V7c=Jb(618,{coreVeMetadata:0},a3,T7c);I7c[618]=V7c;var W7c=function(a){r.call(this,a)};U(W7c,r);W7c.prototype.toObject=function(){return X7c(this)};var X7c=function(a){if(null!=a)return t(a),{isTracked:p(ar(a,1))}};var Y7c=Jb(273,{attentionData:0},W7c,X7c);I7c[273]=Y7c;var Gq=function(a,b,c,d){this.enableAncestryLogging_=void 0===a?!0:a;this.enableAncestryLoggingForGrafts_=void 0===c?!1:c;this.enableBatching_=void 0===b?!1:b;this.enableAttentionLogging_=void 0===d?!1:d};U(Gq,n7c);Gq.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=Z7c(this,c,b);b=this.enableBatching_?$7c(this,d,b):a8c(this,d,b);return a.concat(b)};
Gq.prototype.interactionEvent=function(a,b){var c=new mB,d=new X2,e=q7c();d.setEventId(e);e=new W2;a.serverVed_?e.setVed(a.serverVed_):e.setUiType(a.getTag().visualElementID_).setVeIndex(a.traversalOrder_);K7c(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 Q2;Yi(b,L2,1,a.impressionEventID);Yi(d,L2,3,a.impressionEventID);Yi(d,W2,4,e);Yi(d,Q2,9,b);JSON.stringify(null,
null,1);C3b(c,d.serialize());return[c]};
Gq.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 x=new Y2;this.enableAncestryLoggingForGrafts_&&O7c(x,this.getAncestry_(g));if(g.neverShown||J2(g.getTag(),"vis"))if(h=this.isVisible_(h,b),g.hidden&&h){h=new S2;h.setType(1);var A=b8c(g);h.setTarget(A);A=h;var B=Date.now();n(A,4,B);this.enableAncestryLoggingForGrafts_&&cr(h,Q7c,x);q.push(h);g.hidden=!1;g.neverShown=!1}else g.hidden||h||
(h=new S2,h.setType(2),A=b8c(g),h.setTarget(A),A=h,B=Date.now(),n(A,4,B),this.enableAncestryLoggingForGrafts_&&cr(h,Q7c,x),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 T2,dj(e,1,g),g=new X2,l=q7c(),q=new Q2,Yi(q,L2,1,b),g.setEventId(l),Yi(g,L2,3,b),Yi(g,T2,7,e),Yi(g,Q2,9,q),b=new mB,JSON.stringify(null,null,1),C3b(b,g.serialize()),c.push(b));return c};
Gq.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=LBc(b,new gR(a.left,a.top,a.width,a.height)))&&10<=b.width&&10<=b.height?!0:!1};
var Z7c=function(a,b,c){for(var d=[],e={},g=b.length-1;0<=g;e={$jscomp$loop$prop$impressionEventID$2373:e.$jscomp$loop$prop$impressionEventID$2373,$jscomp$loop$prop$clientVeProto$2374:e.$jscomp$loop$prop$clientVeProto$2374,$jscomp$loop$prop$testCodes$2375:e.$jscomp$loop$prop$testCodes$2375},g--){e.$jscomp$loop$prop$clientVeProto$2374=new X2;e.$jscomp$loop$prop$testCodes$2375=[];e.$jscomp$loop$prop$impressionEventID$2373=q7c();e.$jscomp$loop$prop$clientVeProto$2374.setEventId(e.$jscomp$loop$prop$impressionEventID$2373);
var h=new Q2;Yi(h,L2,1,e.$jscomp$loop$prop$impressionEventID$2373);Yi(e.$jscomp$loop$prop$clientVeProto$2374,Q2,9,h);if(h=q2b(window.location.href,"ved"))h=(new W2).setVed(h),Yi(e.$jscomp$loop$prop$clientVeProto$2374,W2,4,h);b[g].forEach(function(l){return function(q,x){x.impressionEventID=l.$jscomp$loop$prop$impressionEventID$2373;x.rootImpressionEventID=l.$jscomp$loop$prop$impressionEventID$2373;var A=this.getVisualElementLiteProto_(x);q.length&&H7c(A,q);q=x.getElement();this.isVisible_(q,c)?(x.neverShown=
!1,x.hidden=!1):A.setVisible(1);this.enableAttentionLogging_&&J2(x.getTag(),"hover")&&void 0!==x.traversalOrder_&&(q.setAttribute("data-hveid",Number(x.traversalOrder_)),0===aj(l.$jscomp$loop$prop$clientVeProto$2374,V2,2).length&&l7c(x)&&(q.setAttribute("decode-data-ved","1"),q.setAttribute("data-ved",l7c(x)+"")));this.setTimestamp(A);jo(l.$jscomp$loop$prop$clientVeProto$2374,2,V2,A);l.$jscomp$loop$prop$testCodes$2375=l.$jscomp$loop$prop$testCodes$2375.concat(x.getTag().testCodes_)}}(e),a);h=new mB;
JSON.stringify(null,null,1);C3b(h,e.$jscomp$loop$prop$clientVeProto$2374.serialize());tb(h,20,e.$jscomp$loop$prop$testCodes$2375,cb);d.push(h)}return d},$7c=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(x,A){var B=0,K=[],N=new X2,P=[],Y=q7c();N.setEventId(Y);Yi(N,L2,3,A);var X=new Q2;Yi(X,L2,1,A);Yi(N,Q2,9,X);for(X=0;X<x.length;X++)for(var ka=x[X],ma=ka.keys(),za=ma.next().value,
Ba=ka.get(za),Ma={},Sa=0;Sa<Ba.length;Ma={$jscomp$loop$prop$startingOffset$2377:Ma.$jscomp$loop$prop$startingOffset$2377,$jscomp$loop$prop$cloneTreeRootIndex$2378:Ma.$jscomp$loop$prop$cloneTreeRootIndex$2378},++Sa){var Ua=za;Ma.$jscomp$loop$prop$cloneTreeRootIndex$2378=0;Ma.$jscomp$loop$prop$startingOffset$2377=Ba[Sa];var Lb=ka.size;Sa!=Ba.length-1&&(Lb=Ba[Sa+1]);for(var qb=Ma.$jscomp$loop$prop$startingOffset$2377;qb<Lb;++qb){var Ya=ma.next().value;qb==Ma.$jscomp$loop$prop$startingOffset$2377&&(Ua=
Ya,Ma.$jscomp$loop$prop$cloneTreeRootIndex$2378=B);Ya.impressionEventID=Y;Ya.rootImpressionEventID=A;Ya.traversalOrder_=B;var wa=ka.get(Ya),Ka=this.getVisualElementLiteProto_(Ya);wa.length&&H7c(Ka,wa.map(function(Na){return function(fb){return fb-Na.$jscomp$loop$prop$startingOffset$2377+Na.$jscomp$loop$prop$cloneTreeRootIndex$2378}}(Ma)));wa=Ya.getElement();this.isVisible_(wa,c)?(Ya.neverShown=!1,Ya.hidden=!1):Ka.setVisible(1);this.setTimestamp(Ka);jo(N,2,V2,Ka);P=P.concat(Ya.getTag().testCodes_);
B++}Lb=new S2;Lb.setType(3);qb=b8c(za);Lb.setTarget(qb);qb=new R2;Ya=new O2;Ka=new Y2;Ya.setVeIndex(Ua.traversalOrder_);e7c(Ya,Ua.getTag().visualElementID_);ho(qb,2,v7c,Ya);Yi(Lb,R2,3,qb);this.enableAncestryLoggingForGrafts_&&(O7c(Ka,this.getAncestry_(Ua)),cr(Lb,Q7c,Ka));K.push(Lb)}K.length&&(x=new T2,dj(x,1,K),Yi(N,T2,7,x));K=new mB;JSON.stringify(null,null,1);C3b(K,N.serialize());tb(K,20,P,cb);d.push(K)},a);return d},a8c=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),x={},A=0;A<q.length;x={$jscomp$loop$prop$startingOffset$2380:x.$jscomp$loop$prop$startingOffset$2380},++A){x.$jscomp$loop$prop$startingOffset$2380=q[A];var B=g.size;A!=q.length-1&&(B=q[A+1]);var K=new X2,N=[],P=q7c(),Y=new Q2;Yi(Y,L2,1,l.impressionEventID);K.setEventId(P);Yi(K,L2,3,l.impressionEventID);n(K,5,3);Yi(K,Q2,9,Y);Y=new W2;l.serverVed_?Y.setVed(l.serverVed_):Y.setUiType(l.getTag().visualElementID_).setVeIndex(l.traversalOrder_);K7c(Y,a.getAncestry_(l));Yi(K,W2,
4,Y);for(Y=x.$jscomp$loop$prop$startingOffset$2380;Y<B;++Y){var X=h.next().value;X.impressionEventID=P;X.rootImpressionEventID=l.rootImpressionEventID;void 0!=X.traversalOrder_&&(X.traversalOrder_-=x.$jscomp$loop$prop$startingOffset$2380);var ka=g.get(X),ma=a.getVisualElementLiteProto_(X);ka.length&&H7c(ma,ka.map(function(za){return function(Ba){return Ba-za.$jscomp$loop$prop$startingOffset$2380}}(x)));ka=X.getElement();a.isVisible_(ka,c)?(X.neverShown=!1,X.hidden=!1):ma.setVisible(1);a.enableAttentionLogging_&&
J2(X.getTag(),"hover")&&void 0!==X.traversalOrder_&&(ka.setAttribute("data-hveid",Number(X.traversalOrder_)),0===aj(K,V2,2).length&&l7c(X)&&(ka.setAttribute("decode-data-ved","1"),ka.setAttribute("data-ved",l7c(X)+"")));a.setTimestamp(ma);jo(K,2,V2,ma);N=N.concat(X.getTag().testCodes_)}B=new mB;JSON.stringify(null,null,1);C3b(B,K.serialize());tb(B,20,N,cb);d.push(B)}return d};
Gq.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};Gq.prototype.getVisualElementLiteProto_=function(a){var b=(new V2).setUiType(a.getTag().visualElementID_);null!=a.getTag().getIndex()&&b.setElementIndex(a.getTag().getIndex());Y6c(a.getTag(),b);this.enableAttentionLogging_&&J2(a.getTag(),"hover")&&(a=new W7c,Lj(a,1,!0),cr(b,Y7c,a));return b};
var b8c=function(a){var b=new R2;if(a.serverVed_)b.setVed(a.serverVed_);else{var c=new O2;ho(b,3,u7c,a.impressionEventID);c.setVeIndex(a.traversalOrder_);e7c(c,a.getTag().visualElementID_);ho(b,2,v7c,c)}return b};Gq.prototype.setTimestamp=function(a){if(a instanceof W2&&(!Z(a,P2,15)||!Z(a,P2,15).getExtension(U7c))){var b=new a3,c=new Z2,d=Z(a,P2,15);d||(d=new P2);R7c(c);b.setTimestamp(c);cr(d,U7c,b);Yi(a,P2,15,d)}a instanceof V2&&(b=new a3,c=new Z2,R7c(c),b.setTimestamp(c),cr(a,V7c,b))};var c8c=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 d8c=function(){},e8c=[[],[]],f8c=0,g8c=!1,h8c=null,i8c=0,j8c=0,k8c=0,l8c=0,m8c=0,n8c=function(a){this.mutate_=this.measure_=void 0;this.runInCurrentFrameIfPossible_=!1;this.context_=a;this.state_ctor_=d8c};n8c.prototype.measure=function(a){this.measure_=a;return this};n8c.prototype.mutate=function(a){this.mutate_=a;return this};n8c.prototype.runInCurrentFrameIfPossible=function(){this.runInCurrentFrameIfPossible_=!0;return this};
n8c.prototype.build=function(){return o8c({measure:this.measure_,mutate:this.mutate_,stateCtor:this.state_ctor_,runInCurrentFrameIfPossible:this.runInCurrentFrameIfPossible_},this.context_)};
var o8c=function(a,b){var c=m8c++,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=f8c,!a.runInCurrentFrameIfPossible||0==l8c||a.measure&&1!=l8c||(h=(h+1)%2),e8c[h].push(g));return p8c()}},q8c=function(a,b){g8c=!1;var c={};
l8c=1;for(var d=0;d<a.length;++d){var e=a[d];e.args[e.args.length-1]&&(e.args[e.args.length-1].now=b);if(e.measureFn){e.phase=1;try{e.measureFn.apply(e.context,e.args)}catch(g){c[d]=!0,baa(g)}}}l8c=2;for(d=0;d<a.length;++d)if(e=a[d],e.args[e.args.length-1]&&(e.args[e.args.length-1].now=b),!c[d]&&e.mutateFn){e.phase=2;try{e.mutateFn.apply(e.context,e.args)}catch(g){baa(g)}}0<i8c&&1<b&&(a=b-i8c,500>a&&(c8c++,100<a&&j8c++,k8c<a&&(k8c=a)));i8c=g8c&&1<b?b:0},p8c=function(){g8c||(g8c=!0,h8c=new Promise(function(a){window.requestAnimationFrame(function(b){var c=
e8c[f8c];f8c=(f8c+1)%2;try{q8c(c,b)}finally{l8c=0,c.length=0}a()})}));return h8c};var r8c=function(a,b){this.tagPopulator_=a;this.expectXidTagComponents_=b||!1;this.componentID_=void 0},H2=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||Bk(d)||d!=c.getTag().getAttribute()));if(d)return c;d=b.getAttribute("jslog");if(!d)return null;d=s8c(a,d);if(!d||(d.getComponentID()||a.componentID_)&&
d.getComponentID()!=a.componentID_)return null;a=new i7c(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(xJb.length){var g=xJb.pop();g.setOptions();g.decoder_.init(c,void 0,void 0,void 0);var h=g}else h=new wJb(c);try{var l=pca(g7c).ctor;var q=tca(g7c)(new l,h);break b}finally{h.free()}q=void 0}e=Z(q,L2,13)}catch(x){e=
null}}e&&(a.impressionEventID=e,a.rootImpressionEventID=e)}return b.LSWHIf=a},s8c=function(a,b){if(Bk(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(!Bk(g)){var h=sRb(g);if(2>h.length)return null;g=h[0].trim();h=h[1].trim();if(Bk(g)||Bk(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("Le");
if(!U6c.has(l))throw Error("Me`"+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)};
r8c.prototype.maybeXidPartLabel_=function(a){return this.expectXidTagComponents_?Qfb(a):a};r8c.prototype.setComponentID=function(a){this.componentID_=a};r8c.prototype.getComponentID=function(){return this.componentID_};var t8c=function(a,b){this.visualElementProvider_=a;this.traverseShadowDom_=void 0===b?!1:b},P6c=function(a,b){return u8c(a,b).filter(function(c){return null!=H2(this.visualElementProvider_,c)},a)},v8c=function(a,b){var c=a.visualElementProvider_;a=[];for(var d=void 0,e={},g=0;g<b.length;e={$jscomp$loop$prop$parent$2382:e.$jscomp$loop$prop$parent$2382},++g){var h=H2(c,b[g]);void 0==h.traversalOrder_&&void 0==h.serverVed_&&(e.$jscomp$loop$prop$parent$2382=void 0,Ufb(b[g],function(l){return function(q){q=
H2(c,q);return null!=q?(l.$jscomp$loop$prop$parent$2382=q,!0):!1}}(e),!1),e.$jscomp$loop$prop$parent$2382?d&&d.has(e.$jscomp$loop$prop$parent$2382)||(d=new Map,a.unshift(d),d.set(e.$jscomp$loop$prop$parent$2382,[]),j7c=1):(d=new Map,a.unshift(d),j7c=0),k7c(h),h.setParent(e.$jscomp$loop$prop$parent$2382),d.set(h,[]),e.$jscomp$loop$prop$parent$2382&&d.get(e.$jscomp$loop$prop$parent$2382).push(h.traversalOrder_))}return a},w8c=function(a,b){var c=a.visualElementProvider_;return b.map(function(d){return H2(c,
d)})},u8c=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},j7c=0;var x8c=function(a,b){DA.call(this,"visibilitychange");this.hidden=a;this.visibilityState=b};U(x8c,DA);var y8c=function(a){yo.call(this);this.domHelper_=a||Bo();if(this.eventType_=this.getBrowserEventType_())this.eventKey_=zo(this.domHelper_.document_,this.eventType_,rs(this.handleChange_,this))};ts(y8c,yo);f=y8c.prototype;f.getBrowserEventType_=rp(function(){var a=!!this.getHiddenPropertyName_(),b="hidden"!=this.getHiddenPropertyName_();if(a){var c;b?c=(((ys?"Webkit":xs?"Moz":vs?"ms":null)||"")+"visibilitychange").toLowerCase():c="visibilitychange";a=c}else a=null;return a});
f.getHiddenPropertyName_=rp(function(){return KBc("hidden",this.domHelper_.document_)});f.getVisibilityStatePropertyName_=rp(function(){return KBc("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 x8c(this.isHidden(),a);this.dispatchEvent(a)};
f.disposeInternal=function(){JA(this.eventKey_);y8c.superClass_.disposeInternal.call(this)};var b3=function(a,b,c,d,e,g,h){var l=this,q=void 0===d?{}:d,x=void 0===q.backgroundJobDeferrer?void 0:q.backgroundJobDeferrer;d=void 0===q.expectXidTagComponents?!1:q.expectXidTagComponents;q=void 0===q.traverseShadowDom?!1:q.traverseShadowDom;bq.call(this);this.eventBuilder_=a;this.expectXidTagComponents_=d;this.metadataHandler_=b||new N7c;this.visualElementProvider_=new r8c(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 y8c;this.logImpressionsTask_=(new n8c(this)).measure(x?function(){return x().then(l.handleImpressions_.bind(l))}:this.handleImpressions_).runInCurrentFrameIfPossible().build();this.logImpressionsThrottle_=new Wuc(this.logImpressionsTask_,500,this);this.traverser_=h||new t8c(this.visualElementProvider_,q);this.listeners_=[];this.impressionListeners_=
[];this.eventBuilder_ instanceof n7c&&(this.eventHandler_=this.eventBuilder_);this.zwiebackId_=e;this.windowProvider_=g};ts(b3,bq);b3.prototype.setComponentID=function(a){this.visualElementProvider_.setComponentID(a)};b3.prototype.logImpressions=function(){this.domHelper_&&this.logImpressionsThrottle_.fire()};
var A8c=function(a,b,c,d){var e=z8c(d),g=a.getIndex(c);var h=new F2;h=n(h,4,b);var l=c.getTag().visualElementID_;h=n(h,1,l);e=tb(h,3,e,cb);null!=g&&e.setElementIndex(g);g=new m7c;g.ve_metadata=a.getMetadata(c,d);g.global_metadata=a.invariantData_;g.client_info=a.appInfo_;c=B3b(new mB,e.serialize());c=tb(c,20,g.testCodes,cb);a.transport_&&rB(a.transport_,c);if(null!=b)for(b=new O6c(b),c=0;c<a.listeners_.length;c++)a.listeners_[c](b)};
b3.prototype.log=function(a){this.transport_&&rB(this.transport_,a)};var B8c=function(a){for(var b=0;b<a.impressionListeners_.length;b++)a.impressionListeners_[b]()};b3.prototype.getIndex=function(a){return a.getTag().getIndex()};var z8c=function(a){return a.map(function(b){return b.getTag().visualElementID_})};b3.prototype.getMetadata=function(a,b){var c=new V2;Y6c(a.getTag(),c);for(a=0;a<b.length;++a)Y6c(b[a].getTag(),c);return c};
var C8c=function(a,b,c){var d,e=a.visualElementProvider_,g=a.eventToTracksLabelMap_[b];Ufb(c,function(h){if(!SA(h))return!1;h=H2(e,h);var l;if(l=null!=h)if(l=h.getTag(),this.expectXidTagComponents_){if(!l.xidTagComponents_)throw Error("Le");if(!U6c.has(g))throw Error("Me`"+g);l=l.tracks_.has(g)}else l=J2(l,g);return l?(d=h,!0):!1}.bind(a),!0);return d};
b3.prototype.getAncestry_=function(a){var b=[],c=this.visualElementProvider_;Ufb(a,function(d){if(!SA(d))return!1;d=H2(c,d);null!=d&&b.push(d);return!1},!1);return b};
b3.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=P6c(this.traverser_,this.root_);if(this.eventHandler_){var c=this.windowProvider_?this.domHelper_.getViewportSize(this.windowProvider_()):
this.domHelper_.getViewportSize();c=new gR(0,0,c.width,c.height);Q6c(this,b,c);R6c(this,b,c);B8c(this)}else{c=[];var d=this.windowProvider_?this.domHelper_.getViewportSize(this.windowProvider_()):this.domHelper_.getViewportSize();d=new gR(0,0,d.width,d.height);for(var e=0;e<b.length;e++){var g=b[e];this.isVisible_(g,d)&&(g=H2(this.visualElementProvider_,g))&&J2(g.getTag(),"impression")&&c.push(g)}for(b=0;b<c.length;b++)d=c[b],d.loggedImpression_||(e=this.getAncestry_(d.getElement()),A8c(this,void 0,
d,e),B8c(this),d.loggedImpression_=!0)}a&&window.performance.measure("ZVwBtb","KtiTlc")}};b3.prototype.isVisible_=function(a,b){if(a.hasAttribute("ve-visible"))return"true"==a.getAttribute("ve-visible");a=a.getBoundingClientRect();return(b=LBc(b,new gR(a.left,a.top,a.width,a.height)))&&10<=b.width&&10<=b.height?!0:!1};b3.prototype.maybeXidEventLabel_=function(a){return this.expectXidTagComponents_?Ofb(a):a};
var Q6c=function(a,b,c){b=v8c(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_&&rB(a.transport_,c[b])},R6c=function(a,b,c){b=w8c(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_&&rB(a.transport_,c[b])},S6c=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_&&rB(a.transport_,b[c])};var Hq=function(a,b,c,d,e,g,h,l,q,x,A,B){e=void 0===e?!1:e;q=void 0===q?!1:q;b=l?l:new Iyc(b,c,d,void 0,void 0,void 0,g);b3.call(this,a,h||null,b,{expectXidTagComponents:e,backgroundJobDeferrer:g,traverseShadowDom:q},x,A,B);this.clearcut_=b;this.clearcut_.setClientSideLogOnlyForDevelopment(!1);a=this.clearcut_;a.useSendBeaconForFinalFlush=a.isSendBeaconSupported;this.clearcut_.useGetRequestForFinalFlush=!0};ts(Hq,b3);Hq.prototype.setClearcutClientInfo=function(a){this.clearcut_.setClearcutClientInfo(a)};
Hq.prototype.setBuildLabel=function(a){this.clearcut_.setBuildLabel(a)};Hq.prototype.setClientSideLogOnlyForDevelopment=function(a){this.clearcut_.setClientSideLogOnlyForDevelopment(a)};var D8c=function(a){this.tracker=a};var E8c=function(a,b){this.root=a;this.handler=b;this.eventHandler=cq(this)};E8c.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,M3c,function(b){var c=a.handler.tracker,d=b.type,e=c.eventToActionMap_[d];if(e&&(d=C8c(c,d,b.target)))if(c.eventHandler_)S6c(c,d,new O6c(e));else{var g=c.getAncestry_(d.getElement());A8c(c,e,d,g)}b.stopPropagation()}))};
E8c.prototype.dispose=function(){var a;null==(a=this.observer)||a.disconnect();this.eventHandler.removeAll()};E8c.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 wgb=function(a,b){this.root=a;this.tracker=b;this.observer=new E8c(this.root,new D8c(this.tracker))};
wgb.prototype.start=function(){this.tracker.setComponentID("peopleweb");var a=this.tracker,b=this.root;a.domHelper_=new LA;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(N3c);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()};wgb.prototype.stop=function(){this.observer.dispose()};var Jq=function(){this.filter_=null;this.boostIds_=[];this.primingTimeoutMillis_=1E3;this.searchFormat_=this.suggestFormat_=this.queryScope_=0;this.slots_=[];this.entryPoint_=0};f=Jq.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 Jq;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 Ar=function(a){r.call(this,a)};U(Ar,r);var c3=function(a,b){return Lj(a,1,b)};f=Ar.prototype;f.getProvenance=function(){return W(this,2,0)};f.setProvenance=function(a){return n(this,2,a)};f.getCode=function(){return W(this,3,0)};f.setCode=function(a){return n(this,3,a)};f.toObject=function(){return F8c(this)};var F8c=function(a){if(null!=a)return t(a),{isLateLoaded:p(ar(a,1)),provenance:p(kr(a,2)),code:p(kr(a,3))}};var d3=function(a){r.call(this,a)};U(d3,r);d3.prototype.getSource=function(){return Z(this,Ar,1)};d3.prototype.setSource=function(a){return Yi(this,Ar,1,a)};d3.prototype.hasSource=function(){return Dj(this,Ar,1)};var e3=function(a,b){return n(a,2,b)},f3=function(a,b){return n(a,3,b)};d3.prototype.toObject=function(){return G8c(this)};var G8c=function(a){if(null!=a)return t(a),{source:F8c(a.getSource()),statusAtQuery:p(kr(a,2)),statusAtResult:p(kr(a,3))}};var H8c=function(){this.filter_=null};H8c.prototype.getFilter=function(){return this.filter_};H8c.prototype.setFilter=function(a){this.filter_=a;return this};var I8c=function(a){r.call(this,a)};U(I8c,r);f=I8c.prototype;f.getEnd=function(){return Gh(this,2,0)};f.setEnd=function(a){return n(this,2,a)};f.getTotalItems=function(){return Gh(this,3,0)};f.setTotalItems=function(a){return n(this,3,a)};f.getCode=function(){return W(this,4,2)};f.setCode=function(a){return n(this,4,a)};f.getCacheState=function(){return Z(this,d3,5)};f.setCacheState=function(a){return Yi(this,d3,5,a)};f.hasCacheState=function(){return Dj(this,d3,5)};
f.toObject=function(){if(null!=this){t(this);var a={begin:Gh(this,1,0),end:Gh(this,2,0),totalItems:Gh(this,3,0),code:W(this,4,2),cacheState:G8c(this.getCacheState())}}else a=void 0;return a};var J8c=function(a,b){this.results_=a;this.metadata_=b};J8c.prototype.getResults=function(){return this.results_};J8c.prototype.getMetadata=function(){return this.metadata_};var K8c=function(){this.filter_=null;this.originator_=this.queryScope_=0;this.useOriginalDisplayValue_=!1};f=K8c.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 K8c).setFilter(this.getFilter()).setOriginator(this.getOriginator()).setQueryScope(this.getQueryScope());a.useOriginalDisplayValue_=this.useOriginalDisplayValue_;return a};var L8c=function(){this.isLastCallback_=this.isFirstCallback_=!1;this.notFoundIdList_=[];this.code_=2;this.cacheState_=new d3};f=L8c.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 M8c=function(a,b){this.results_=a;this.metadata_=b};M8c.prototype.getResults=function(){return this.results_};M8c.prototype.getMetadata=function(){return this.metadata_};var g3=function(a){r.call(this,a)};U(g3,r);f=g3.prototype;f.getQuery=function(){return V(this,1,"")};f.setQuery=function(a){return n(this,1,a)};f.clearQuery=function(){Js(this,1)};f.hasQuery=function(){return wk(this,1)};f.getIsFirstCallback=function(){return Jj(this,2,!1)};f.setIsFirstCallback=function(a){return Lj(this,2,a)};f.getIsLastCallback=function(){return Jj(this,3,!1)};f.setIsLastCallback=function(a){return Lj(this,3,a)};f.setCallbackNumber=function(a){return n(this,4,a)};
f.getNextPageToken=function(){return V(this,5,"")};f.getCode=function(){return W(this,6,2)};f.setCode=function(a){return n(this,6,a)};f.getCacheState=function(){return Z(this,d3,7)};f.setCacheState=function(a){return Yi(this,d3,7,a)};f.hasCacheState=function(){return Dj(this,d3,7)};
f.toObject=function(){if(null!=this){t(this);var a={query:V(this,1,""),isFirstCallback:Jj(this,2,!1),isLastCallback:Jj(this,3,!1),callbackNumber:Gh(this,4,-1),nextPageToken:V(this,5,""),code:W(this,6,2),cacheState:G8c(this.getCacheState())}}else a=void 0;return a};var h3=function(a,b){this.results_=a;this.metadata_=b};h3.prototype.getResults=function(){return this.results_};h3.prototype.getMetadata=function(){return this.metadata_};var N8c={create:function(a,b,c,d,e){e=void 0===e?new Jq:e;return Zfb(a,b,c,d,new s2c,{sessionOptions:e})},createWith:function(a,b,c,d,e){e=void 0===e?{}:e;return Zfb(a,b,c,d,new s2c,e)},createConfig:function(a){var b;void 0===a?b=new Eyc(Gyc.apiEnv,new Fyc(Gyc.userProfileId)):b=a;return new d6c(b)}};var rr=function(a){r.call(this,a)};U(rr,r);f=rr.prototype;f.getTimestamp=function(){return gj(this,1)};f.setTimestamp=function(a){return n(this,1,a)};f.hasTimestamp=function(){return Ok(this,1)};f.getAffinityVersion=function(){return Gh(this,2)};f.setAffinityVersion=function(a){n(this,2,a)};f.getAffinityVersionOrUndefined=function(){return bt(this,2)};f.getTotalItems=function(){return Gh(this,3)};f.setTotalItems=function(a){return n(this,3,a)};f.getNextPageToken=function(){return V(this,4)};
f.getCode=function(){return W(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(Os(this,2)),totalItems:p(Os(this,3)),nextPageToken:p(m(this,4)),skipIndexing:p(ar(this,5)),code:p(kr(this,6))}}else a=void 0;return a};var O8c=function(){this.bits_=[]};f=O8c.prototype;f.and=function(a){for(var b=new O8c,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 O8c,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};O8c.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 Egb=RegExp("[\\s,;\u055d\u060c\u1363\u1802\u1808\u2e41\u3001\uff0c\u061b\u1364\uff1b\uff64\u104a]+","g"),Ggb=/^[<"']|[>"']$/g,Cgb=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"),P8c=/[^a-z0-9]+/gi,Fgb=String.prototype.normalize?function(a){return a.normalize("NFKC")}:function(a){return a};var Q8c=function(a,b){this.key=a;this.terms=Hgb(b)};var i3=function(a,b,c){b=void 0===b?"":b;c=void 0===c?new O8c:c;this.items_=a;this.prefix_=b;this.matchIndices_=c;this.childNodes_={};this.isExpanded_="\u2026"===b};i3.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 i3(b)};
i3.prototype.getMatches=function(a){for(var b=[],c=k(this.prefix_?this.matchIndices_:Jgb(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};
i3.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_:Jgb(h.items_.length)),q=l.next();!q.done;q=l.next()){var x=h;q=q.value;for(var A=x.prefix_+"\ufdc7",B=k(x.items_[q].terms),K=B.next();!K.done;K=B.next())K=K.value,K.length<=x.prefix_.length||K<x.prefix_||K>A||(K=K.charAt(x.prefix_.length),x.childNodes_[K]||(x.childNodes_[K]=new i3(x.items_,x.prefix_+K)),x.childNodes_[K].matchIndices_.set(q))}h.isExpanded_=
!0}d=d.childNodes_[g]||j3;if(d===j3)break}return d}).reduce(function(c,d){return c.and(d)}):this};var R8c=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_&&R8c(c)};i3.prototype.and=function(a){a=this.matchIndices_.and(a.matchIndices_);return new i3(this.items_,"\u2026",a)};i3.prototype.or=function(a){a=this.matchIndices_.or(a.matchIndices_);return new i3(this.items_,"\u2026",a)};var j3=new i3([]);
j3.isExpanded_=!0;var S8c=function(a,b,c){this.expiry_=a;this.value_=b;this.stale_=c};S8c.prototype.getExpiry=function(){return this.expiry_};S8c.prototype.getValue=function(){return this.value_};S8c.prototype.isExpired=function(){return this.expiry_<Date.now()};S8c.prototype.isStale=function(){return this.stale_<Date.now()};var T8c=function(a){this.shouldEvictItem_=a;this.items_=new Map};f=T8c.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 U8c=function(){var a=new T8c(function(){return 1E3<a.size()});return a};var V8c=function(a,b){var c=this;this.capacity_=a;this.itemFactory_=b;this.delegate_=new T8c(function(d,e){return e.isExpired()||c.delegate_.size()>c.capacity_})};f=V8c.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 k3=function(a,b){return new V8c(a,function(c){var d=Date.now()+b;return new S8c(d,c,d)})};var l3=function(a){r.call(this,a)};U(l3,r);f=l3.prototype;f.getCacheSize=function(){return Gh(this,3,500)};f.setCacheSize=function(a){n(this,3,a)};f.hasCacheSize=function(){return Ek(this,3)};f.getCacheStaleSec=function(){return hj(this,4,86400)};f.getCacheExpiredSec=function(){return hj(this,5,1209600)};f.getRpcTimeoutSec=function(){return hj(this,12,60)};f.getSuggestFormat=function(){return W(this,15,1)};f.getSearchFormat=function(){return W(this,16,1)};l3.repeatedFields_=[24,25];
l3.prototype.toObject=function(){return W8c(this)};
var W8c=function(a){if(null!=a)return t(a),{suggestMaxResults:Gh(a,1,10),searchMaxResults:Gh(a,2,10),cacheSize:Gh(a,3,500),cacheStaleSec:hj(a,4,86400),cacheExpiredSec:hj(a,5,1209600),lruCacheCapacity:Gh(a,6,500),lruCacheExpiredSec:Gh(a,7,43200),autocompleteIndexCapacity:Gh(a,8,250),autocompleteIndexExpiredSec:hj(a,9,3600),notFoundCapacity:Gh(a,10,500),notFoundExpiredSec:hj(a,11,600),rpcTimeoutSec:hj(a,12,60),serverWarmupThrottleSec:hj(a,13,60),cacheFlushThrottleSec:hj(a,14,300),suggestFormat:W(a,
15,1),searchFormat:W(a,16,1),lookupFormat:W(a,17,1),listFormat:W(a,18,1),coalescedSortOrder:W(a,19,1),preferSource:W(a,20,1),enableEmailPlaceholders:Jj(a,21,!1),allowEmptyTargets:Jj(a,22,!1),singleIant:Jj(a,23,!1),iantApplicationList:p(Tk(a,24)),idTypesList:p(Tk(a,25)),smartAddressIndexCapacity:Gh(a,26,10),smartAddressIndexExpiredSec:hj(a,27,600),supportSmtpAddresses:Jj(a,28,!1),contextualSuggestMaxAdditionResults:Gh(a,29,3),enableBoosting:Jj(a,30,!1),boostIndexCapacity:Gh(a,31,5),boostIndexExpiredSec:hj(a,
32,3600),enableInterleavedGroups:Jj(a,33,!1),enableSlotReservations:Jj(a,34,!1)}};var Lgb=new Set([10,11]);var X8c=function(a){this.interleaveGroups_=Jj(a,33,!1)},Y8c=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=Mgb(d,e,g,!0);break a;default:d=Ngb(d,e,g)}}return d}).map(function(d){return String(d.id)})};var Z8c=function(a,b,c,d,e){this.adapter_=a;this.targetFactory_=b;this.trieFactory_=c;this.storage_=d;this.ranker_=new X8c(e);this.indexes_=k3(Gh(e,8,250),1E3*hj(e,9,3600));this.maxResults_=Gh(e,2,10)};f=Z8c.prototype;f.getCacheType=function(){return 3};f.flush=function(){this.indexes_.clear()};
f.fetch=function(a){var b=this,c,d;return he(function(e){switch(e.nextAddress){case 1:c=c3(new Ar,!0).setProvenance(7).setCode(0);if(b.canSkipFetch_(a))return e.return(c3(c,!1));ie(e,2);return e.yield(b.adapter_.search(a.getPrefix(),b.maxResults_),4);case 4:d=e.yieldResult;ms(e,3);break;case 2:return le(e),e.return(c.setCode(13));case 3:try{return b.index(a,d,new rr),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=Y8c(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=$8c(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 a9c=function(a,b,c){this.adapter_=a;this.targetFactory_=b;this.indexer_=c};a9c.prototype.getStageType=function(){return 2};a9c.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)};
a9c.prototype.lookup=function(a){var b=this,c,d,e,g,h,l,q,x,A;return he(function(B){switch(B.nextAddress){case 1:return c=new Map,d=c3(new Ar,!0).setProvenance(7).setCode(0),e=3===a.queryScope(),g=b9c(a),ie(B,2),B.yield(b.adapter_.lookup(g),4);case 4:h=B.yieldResult;ms(B,3);break;case 2:return le(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())x=q.value,(A=b.indexer_.load(x,a.getFormat(),a.getOptions().useOriginalDisplayValue_))&&c.set(x,
A);a.notify(c,[],d);me(B)}})};var c9c=function(a,b){this.metrics_=a;this.state_=new KQ(b);this.source=b;this.label_="total"};c9c.prototype.call=function(){this.metrics_.count(this.state_);this.metrics_.start(this.state_,this.label_)};c9c.prototype.result=function(a){this.metrics_.stop(this.state_,this.label_);this.metrics_.status(this.state_,a)};var d9c=function(a,b){this.metrics_=a;this.state_=new KQ(b);this.source=b};d9c.prototype.increment=function(a){this.metrics_.count(this.state_,void 0===a?1:a)};var e9c=function(a,b){this.metrics_=a;this.state_=new KQ(b);this.source=b};e9c.prototype.report=function(){this.metrics_.error(this.state_)};var fr=function(a){r.call(this,a)};U(fr,r);fr.prototype.toObject=function(){return f9c(this)};var f9c=function(a){if(null!=a)return t(a),{phoneItemCount:p(Os(a,1)),emailItemCount:p(Os(a,2)),gaiaItemCount:p(Os(a,3)),notFoundPhoneItemCount:p(Os(a,4)),notFoundEmailItemCount:p(Os(a,5)),notFoundGaiaItemCount:p(Os(a,6)),outOfDateSelfItemCount:p(Os(a,7))}};var er=function(a){r.call(this,a)};U(er,r);er.prototype.getEventType=function(){return W(this,1,0)};er.prototype.setEventType=function(a){return n(this,1,a)};var hr=function(a,b){return n(a,2,b)},qhb=function(a,b){return n(a,3,b)};f=er.prototype;f.getErrorType=function(){return W(this,6,0)};f.setErrorType=function(a){return n(this,6,a)};f.getIdType=function(){return W(this,8,0)};f.setIdType=function(a){n(this,8,a)};f.getResultIndex=function(){return Gh(this,9,0)};
f.setResultIndex=function(a){n(this,9,a)};f.getToken=function(){return V(this,10,"")};f.setToken=function(a){return n(this,10,a)};f.getCacheState=function(){return Z(this,d3,11)};f.setCacheState=function(a){return Yi(this,d3,11,a)};f.hasCacheState=function(){return Dj(this,d3,11)};f.getQueryLength=function(){return Gh(this,14)};f.setQueryLength=function(a){return n(this,14,a)};f.hasQueryLength=function(){return Ek(this,14)};f.getItemCount=function(){return Gh(this,15)};
f.setItemCount=function(a){return n(this,15,a)};f.hasItemCount=function(){return Ek(this,15)};f.getLookupInfo=function(){return Z(this,fr,16)};f.setLookupInfo=function(a){return Yi(this,fr,16,a)};f.hasLookupInfo=function(){return Dj(this,fr,16)};f.getQueryScope=function(){return W(this,17,0)};f.setQueryScope=function(a){return n(this,17,a)};f.hasQueryScope=function(){return fj(this,17)};
f.toObject=function(){if(null!=this){t(this);var a={eventType:W(this,1,0),apiLabel:W(this,2,0),rpcLabel:W(this,3,0),countType:W(this,4,0),latencyType:W(this,5,0),errorType:W(this,6,0),errorCause:W(this,7,0),idType:W(this,8,0),resultIndex:Gh(this,9,0),token:V(this,10,""),cacheState:G8c(this.getCacheState()),contentLength:Gh(this,12,0),errorHint:W(this,13,0),queryLength:p(Os(this,14)),itemCount:p(Os(this,15)),lookupInfo:f9c(this.getLookupInfo()),queryScope:p(kr(this,17))}}else a=void 0;return a};var g9c=function(a,b){this.delegate_=a;this.trackers_=b};g9c.prototype.search=function(a){var b=this,c,d;return he(function(e){switch(e.nextAddress){case 1:return c=b.trackers_.latency(66),c.start(),ie(e,2,3),e.yield(b.delegate_.search(a),5);case 5:return e.return(e.yieldResult);case 3:je(e);c.stop();ke(e,0);break;case 2:throw d=le(e),b.trackers_.error(36,11).report(),d;}})};
g9c.prototype.lookup=function(a){var b=this,c,d;return he(function(e){switch(e.nextAddress){case 1:return c=b.trackers_.latency(67),c.start(),ie(e,2,3),e.yield(b.delegate_.lookup(a),5);case 5:return e.return(e.yieldResult);case 3:je(e);c.stop();ke(e,0);break;case 2:throw d=le(e),b.trackers_.error(37,11).report(),d;}})};var h9c=function(a,b){this.delegate_=a;this.trackers_=b};h9c.prototype.getPosition=function(){try{return this.delegate_.getPosition()}catch(a){throw this.trackers_.error(38,11).report(),a;}};
h9c.prototype.warmUpCache=function(){var a=this,b,c;return he(function(d){switch(d.nextAddress){case 1:return b=a.trackers_.latency(65),b.start(),ie(d,2,3),d.yield(a.delegate_.warmUpCache(),5);case 5:return d.return(d.yieldResult);case 3:je(d);b.stop();ke(d,0);break;case 2:throw c=le(d),a.trackers_.error(35,11).report(),c;}})};h9c.prototype.needsWarmUp=function(){try{return this.delegate_.needsWarmUp()}catch(a){throw this.trackers_.error(38,11).report(),a;}};var i9c=function(a,b,c,d,e){this.adapter_=a;this.targetFactory_=b;this.trieFactory_=c;this.storage_=d;this.ranker_=new X8c(e);this.index_=j3};f=i9c.prototype;f.getCacheType=function(){switch(this.adapter_.getPosition()){case 1:return 2;case 2:return 3;default:return 0}};f.flush=function(){this.index_=j3};
f.fetch=function(a){var b=this,c,d;return he(function(e){switch(e.nextAddress){case 1:c=c3(new Ar,!0).setProvenance(7).setCode(0);if(b.index_!=j3&&!b.adapter_.needsWarmUp())return e.return(c3(c,!1));ie(e,2);return e.yield(b.adapter_.warmUpCache(),4);case 4:d=e.yieldResult;ms(e,3);break;case 2:return le(e),e.return(c.setCode(13));case 3:try{return b.index(a,d,new rr),e.return(c)}catch(g){return e.return(c.setCode(13))}}})};
f.index=function(a,b){a=Y8c(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_=$8c(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 j9c=function(a,b,c){this.indexLatency_=a;this.searchLatency_=b;this.errorType_=c};j9c.prototype.getErrorType=function(){return this.errorType_};var m3=function(a,b,c){this.delegate_=a;this.trackers_=b;this.indexingLabel_=c.indexLatency_;this.searchLabel_=c.searchLatency_;this.errorLabel_=c.getErrorType()};f=m3.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 k9c=function(){},l9c=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=Sgb(c,h.value,7),e.push(String(h.id)),h.coalescedKeys=e,d||(d=h),b.push(h);d&&yq(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=Sgb(l,q.value,8),b.push(l),String(l.id)}))}return b},
m9c=function(a){a=a.getResultList();return l9c(a)};var n9c=function(a){r.call(this,a)};U(n9c,r);f=n9c.prototype;f.setMaxResults=function(a){return n(this,1,a)};f.getQuery=function(){return V(this,2,"")};f.setQuery=function(a){return n(this,2,a)};f.clearQuery=function(){Js(this,2)};f.hasQuery=function(){return wk(this,2)};f.toObject=function(){if(null!=this){t(this);var a={maxResults:Gh(this,1,0),query:V(this,2,"")}}else a=void 0;return a};var o9c=function(a,b){this.provider_=a;this.itemFactory_=b};o9c.prototype.search=function(a,b){var c=this,d;return he(function(e){if(1==e.nextAddress)return 1>b?e.return([]):e.yield(c.provider_.search((new n9c).setQuery(a).setMaxResults(b)),2);d=e.yieldResult;return e.return(m9c(d))})};o9c.prototype.lookup=function(a){var b=this,c;return he(function(d){if(1==d.nextAddress)return a.length?d.yield(b.provider_.lookup(a),2):d.return([]);c=d.yieldResult;return d.return(m9c(c))})};var p9c=function(a,b){this.provider_=a;this.itemFactory_=b};p9c.prototype.getPosition=function(){return this.provider_.getPosition()};p9c.prototype.needsWarmUp=function(){return this.provider_.needsWarmUp()};p9c.prototype.warmUpCache=function(){var a=this,b;return he(function(c){if(1==c.nextAddress)return c.yield(a.provider_.warmUpCache(),2);b=c.yieldResult;return c.return(m9c(b))})};var q9c=new j9c(68,69,38);var r9c=function(){};r9c.prototype.processItem=function(){};var s9c=new r9c;var Vgb=function(){this.familyName_=this.givenName_=this.displayName_="";this.sourceType_=0};f=Vgb.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 t9c=function(){this.iconUrl_=this.altText_=""},Ygb=function(a){var b=new t9c;b.altText_=a||"";return b};t9c.prototype.getIconUrl=function(){return this.iconUrl_};t9c.prototype.setIconUrl=function(a){this.iconUrl_=a||"";return this};var u9c=function(a){this.delegate_=a};u9c.prototype.processItem=function(a){a.target=Zgb(a);this.delegate_.processItem(a);a.resultData&&delete a.resultData;a.targetData&&delete a.targetData};var v9c=function(){};
v9c.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 k9c;var x=void 0===x?s9c:x;x=new u9c(x);for(var A=[],B=k(l.staticDataProviders_.reverse()),K=B.next();!K.done;K=B.next()){var N=K=K.value;N=new h9c(N,c);N=new i9c(new p9c(N,q),x,g,d,b);N=new m3(N,c,q9c);switch(K.getPosition()){case 1:A.push(N);break;case 2:h.push(N);break;default:throw Error("Ne");
}}A.length&&h.splice.apply(h,[0,0].concat(Vc(A)));l=k(l.dynamicDataProviders_);for(A=l.next();!A.done;A=l.next())B=A=A.value,B=new g9c(B,c),B=new Z8c(new o9c(B,q),x,g,d,b),B=new m3(B,c,q9c),h.push(B),A=new g9c(A,c),a.push(new a9c(new o9c(A,q),x,e))}};var n3=function(a){r.call(this,a)};U(n3,r);f=n3.prototype;f.getEnableClearcut=function(){return Jj(this,1,!1)};f.setEnableClearcut=function(a){return Lj(this,1,a)};f.getSocialApplication=function(){return W(this,2,0)};f.getSocialApplicationOrUndefined=function(){return wr(this,2)};f.setEventSources=function(a){Fs(this,5,vr,a)};n3.repeatedFields_=[5,6];n3.prototype.toObject=function(){return w9c(this)};
var w9c=function(a){if(null!=a)return t(a),{enableClearcut:Jj(a,1,!1),socialApplication:W(a,2,0),affinityLogSource:W(a,3,41),metricLogSource:W(a,4,574),eventSourcesList:Kb(aj(a,vr,5),a2),contextualEventSourcesList:Kb(aj(a,xr,6),V1c)}};var o3=function(a){r.call(this,a)};U(o3,r);f=o3.prototype;f.getApplication=function(){return W(this,1,0)};f.setApplication=function(a){return n(this,1,a)};f.getApplicationOrUndefined=function(){return wr(this,1)};f.getIsEnabled=function(){return Jj(this,2,!1)};f.toObject=function(){return x9c(this)};var x9c=function(a){if(null!=a)return t(a),{application:W(a,1,0),isEnabled:Jj(a,2,!1)}};var p3=function(a){r.call(this,a)};U(p3,r);p3.prototype.getApiKey=function(){return V(this,1,"")};p3.prototype.setApiKey=function(a){return n(this,1,a)};p3.prototype.toObject=function(){return y9c(this)};var y9c=function(a){if(null!=a)return t(a),{apiKey:V(a,1,""),apiKeyTest:V(a,2,"")}};var q3=function(a){r.call(this,a)};U(q3,r);q3.repeatedFields_=[1];q3.prototype.toObject=function(){return z9c(this)};var z9c=function(a){if(null!=a)return t(a),{papiExtensionList:p(Tk(a,1))}};var r3=function(a){r.call(this,a)};U(r3,r);f=r3.prototype;f.getClientId=function(){return V(this,1,"CLIENT_UNSPECIFIED")};f.setClientId=function(a){return n(this,1,a)};f.getAffinityType=function(){return V(this,4,"AFFINITY_TYPE_UNKNOWN")};f.setAffinityType=function(a){return n(this,4,a)};f.getContainerType=function(){return Vs(this,7)};r3.repeatedFields_=[7,8];r3.prototype.toObject=function(){return A9c(this)};
var A9c=function(a){if(null!=a)return t(a),{clientId:V(a,1,"CLIENT_UNSPECIFIED"),clientName:V(a,2,"CLIENT_UNSPECIFIED"),clientVersion:V(a,3,""),affinityType:V(a,4,"AFFINITY_TYPE_UNKNOWN"),affinityTypeEnum:W(a,5,0),mergedPersonModel:W(a,6,1),containerTypeList:p(Tk(a,7)),fieldMaskList:p(Ih(a,8)),listRankedTargetsPapiExtensions:z9c(Z(a,q3,9)),listPeopleByKnownIdPapiExtensions:z9c(Z(a,q3,10)),listContactPeoplePapiExtensions:z9c(Z(a,q3,11)),getPeoplePapiExtensions:z9c(Z(a,q3,12)),identityAcl:Jj(a,13,!1),
offlineStoreDelayMillis:Gh(a,14,5E3),enablePrivateNames:Jj(a,15,!1),dasherAdminDisabled:Jj(a,16,!1),enableSmimeCertificate:Jj(a,17,!1)}};var B9c=function(a){r.call(this,a)};U(B9c,r);f=B9c.prototype;f.getClient=function(){return Z(this,l3,1)};f.setClient=function(a){return Yi(this,l3,1,a)};f.hasClient=function(){return Dj(this,l3,1)};f.getGapi=function(){return Z(this,p3,2)};f.getPeopleApi=function(){return Z(this,r3,3)};f.getClearcut=function(){return Z(this,n3,4)};f.setClearcut=function(a){Yi(this,n3,4,a)};f.hasClearcut=function(){return Dj(this,n3,4)};f.getExperiments=function(){return Z(this,o3,5)};
f.setExperiments=function(a){Yi(this,o3,5,a)};f.hasExperiments=function(){return Dj(this,o3,5)};f.toObject=function(){if(null!=this){t(this);var a={client:W8c(this.getClient()),gapi:y9c(this.getGapi()),peopleApi:A9c(this.getPeopleApi()),clearcut:w9c(this.getClearcut()),experiments:x9c(this.getExperiments())}}else a=void 0;return a};var C9c=Mca(B9c);var D9c;var E9c=function(a){r.call(this,a,1)};U(E9c,r);var F9c={};E9c.prototype.toObject=function(){if(null!=this){t(this);var a={};Nb(this,a,F9c)}else a=void 0;return a};var G9c=function(){this.dynamicDataProviders_=[];this.staticDataProviders_=[]};var H9c=function(a){r.call(this,a)};U(H9c,r);f=H9c.prototype;f.getExperimentIdsList=function(){return Fh(this,1)};f.setExperimentIdsList=function(a){return tb(this,1,a,cb)};f.getExperimentIds=function(){return Ss(this,1)};f.setExperimentIds=function(a){xb(this,1,a,void 0,Fh)};f.getProfileId=function(){return V(this,2)};f.getProfileId_legacyNullable=function(){return m(this,2)};f.setProfileId=function(a){return n(this,2,a)};f.hasProfileId=function(){return wk(this,2)};H9c.repeatedFields_=[1];
H9c.prototype.toObject=function(){if(null!=this){t(this);var a={experimentIdsList:p(Fh(this,1)),profileId:p(m(this,2))}}else a=void 0;return a};var I9c=function(){},J9c=function(){return!1},K9c=function(){this.experiments_=(new H9c).setProfileId(Gyc.userProfileId);this.peopleApiEnv_=Gyc.apiEnv;this.userEmail_=Gyc.userEmail;this.delegatorId_="";this.onAuthError_=I9c;this.offlineStorage_=null;this.apiKey_=this.clearcutUrl_="";this.isOffline_=J9c;this.customDataConfig_=null;this.isOrgStateEnabled_=!1};f=K9c.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||I9c};f.getApiKey=function(){return this.apiKey_};f.setApiKey=function(a){this.apiKey_=a;return this};var s3=function(a,b){this.delegate_=a;this.runtimeConfig_=b||new K9c;a=this.getPeopleApi();Tk(a,7).length||al(a,7,[2,8,1,7,10,11]);Ih(a,8).length||Fi(a,8,["person.name","person.photo","person.email","person.phone","person.metadata"]);b=k(Ih(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":wb(a,8,c+".metadata.verified")}};s3.prototype.getClient=function(){this.delegate_.hasClient()||this.delegate_.setClient(new l3);return this.delegate_.getClient()};
s3.prototype.getGapi=function(){if(!Dj(this.delegate_,p3,2)){var a=this.delegate_,b=new p3;Yi(a,p3,2,b)}return this.delegate_.getGapi()};s3.prototype.getPeopleApi=function(){if(!Dj(this.delegate_,r3,3)){var a=this.delegate_,b=new r3;Yi(a,r3,3,b)}return this.delegate_.getPeopleApi()};s3.prototype.getClearcut=function(){this.delegate_.hasClearcut()||this.delegate_.setClearcut(new n3);return this.delegate_.getClearcut()};
var L9c=function(a){a.delegate_.hasExperiments()||a.delegate_.setExperiments(new o3);return a.delegate_.getExperiments()};s3.prototype.getAuthErrorHandler=function(){return this.runtimeConfig_.getAuthErrorHandler()};var M9c=function(a){a=a.getClient();return Gh(a,6,500)?Math.min(Math.round(Gh(a,6,500)/4),500):500};var N9c;var ur=null;var O9c=function(a,b){this.isOrgStateEnabled_=a.runtimeConfig_.isOrgStateEnabled_;this.delegate_=b};O9c.prototype.processItem=function(a){this.delegate_.processItem(a);a=a.target;this.isOrgStateEnabled_||(a.orgState_=0)};var t3=function(a){r.call(this,a)};U(t3,r);t3.prototype.getDescription=function(){return m(this,6)};t3.prototype.setDescription=function(a){return n(this,6,a)};t3.prototype.hasDescription=function(){return wk(this,6)};t3.prototype.toObject=function(){return P9c(this)};
var P9c=function(a){if(null!=a)return t(a),{entityType:p(kr(a,4)),presence:p(kr(a,1)),memberCount:p(m(a,2)),avatarUrl:p(m(a,3)),developerName:p(m(a,5)),description:p(m(a,6)),dndState:p(kr(a,7)),organizationInfo:eNb(Z(a,cNb,8)),segmentedMembershipCounts:hNb(Z(a,Yt,9)),isMembershipVisibleToCaller:p(ar(a,10))}};var Q9c=function(a){r.call(this,a)};U(Q9c,r);Q9c.prototype.toObject=function(){return R9c(this)};var R9c=function(a){if(null!=a)return t(a),{actorId:p(m(a,1)),subtitle:p(m(a,2))}};var $q=function(a){r.call(this,a,5)};U($q,r);f=$q.prototype;f.getDynamiteExtendedData=function(){return Z(this,t3,1)};f.getIsPlaceholder=function(){return Jj(this,2)};f.setIsPlaceholder=function(a){Lj(this,2,a)};f.getPaisaExtendedData=function(){return Z(this,Q9c,3)};f.getContactId=function(){return gj(this,4)};f.setContactId=function(a){n(this,4,a)};var S9c={};$q.prototype.toObject=function(){return T9c(this)};
var T9c=function(a){if(null!=a){t(a);var b={dynamiteExtendedData:P9c(a.getDynamiteExtendedData()),isPlaceholder:p(ar(a,2)),paisaExtendedData:R9c(a.getPaisaExtendedData()),contactId:p(m(a,4))};Nb(a,b,S9c);return b}};var lhb=Jb(417869898,{clientSpecificData:0},$q,T9c);b2c[417869898]=lhb;var U9c=function(a){r.call(this,a)};U(U9c,r);U9c.prototype.toObject=function(){return V9c(this)};var V9c=function(a){if(null!=a)return t(a),{nationalNumber:p(m(a,1)),internationalNumber:p(m(a,2)),countryCode:p(Os(a,3)),regionCode:p(m(a,4)),isValid:p(ar(a,5)),validationResult:p(kr(a,6))}};var W9c=function(a){r.call(this,a)};U(W9c,r);W9c.prototype.toObject=function(){return X9c(this)};var X9c=function(a){if(null!=a)return t(a),{e164:p(m(a,1)),i18nData:V9c(Z(a,U9c,2))}};var Y9c=function(a){r.call(this,a)};U(Y9c,r);Y9c.prototype.getCode=function(){return V(this,1)};Y9c.prototype.setCode=function(a){return n(this,1,a)};Y9c.prototype.toObject=function(){return Z9c(this)};var Z9c=function(a){if(null!=a)return t(a),{code:p(m(a,1)),countryCode:p(m(a,2))}};var $9c=function(a){r.call(this,a)};U($9c,r);f=$9c.prototype;f.getPhoneNumber=function(){return Z(this,W9c,1)};f.getType=function(){return V(this,3)};f.setType=function(a){return n(this,3,a)};f.hasType=function(){return wk(this,3)};f.toObject=function(){return a$c(this)};var a$c=function(a){if(null!=a)return t(a),{phoneNumber:X9c(a.getPhoneNumber()),shortCode:Z9c(Z(a,Y9c,2)),type:p(m(a,3)),formattedType:p(m(a,4))}};var b$c=function(a){r.call(this,a)};U(b$c,r);b$c.prototype.toObject=function(){return c$c(this)};var c$c=function(a){if(null!=a)return t(a),{structuredPhone:a$c(Z(a,$9c,1))}};var dr=function(a){r.call(this,a)};U(dr,r);dr.prototype.toObject=function(){return d$c(this)};var d$c=function(a){if(null!=a)return t(a),{grammaticalGender:p(kr(a,1)),phoneExtendedData:c$c(Z(a,b$c,2))}};var ohb=Jb(417866180,{peopleStackFieldData:0},dr,d$c);b2c[417866180]=ohb;var e$c=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},jhb=function(a){if(!a)return 0;a=Array.from(a).map(e$c);a.sort();for(var b=1,c=0,d=a.length;c<d;c++)b=(b<<5)-b+a[c];return b};var $gb=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 u3=function(a){r.call(this,a)};U(u3,r);f=u3.prototype;f.getLoggingId=function(){return qo(this,1)};f.setLoggingId=function(a){n(this,1,Va(a,!1,!1))};f.getValue=function(){return Gs(this,2)};f.getValue_legacyNullable=function(){return Gs(this,2)};f.setValue=function(a){return Ns(this,2,a)};f.hasValue=function(){return null!=Gs(this,2)};f.toObject=function(){return f$c(this)};var f$c=function(a){if(null!=a)return t(a),{loggingId:Pb(a.getLoggingId()),value:p(Gs(a,2))}};var g$c=function(a){r.call(this,a)};U(g$c,r);f=g$c.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 wk(this,1)};f.getGivenName=function(){return m(this,2)};f.setGivenName=function(a){return n(this,2,a)};f.hasGivenName=function(){return wk(this,2)};f.getFamilyName=function(){return m(this,3)};f.setFamilyName=function(a){return n(this,3,a)};
f.hasFamilyName=function(){return wk(this,3)};f.getSourceType=function(){return kr(this,4)};f.setSourceType=function(a){return n(this,4,a)};f.toObject=function(){return h$c(this)};var h$c=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(kr(a,4))}};var i$c=function(a){r.call(this,a)};U(i$c,r);f=i$c.prototype;f.getUrl=function(){return m(this,1)};f.setUrl=function(a){return n(this,1,a)};f.hasUrl=function(){return wk(this,1)};f.getType=function(){return kr(this,2)};f.setType=function(a){return n(this,2,a)};f.hasType=function(){return fj(this,2)};f.getGlyph=function(){return m(this,3)};f.setGlyph=function(a){return n(this,3,a)};f.toObject=function(){return j$c(this)};
var j$c=function(a){if(null!=a)return t(a),{url:p(m(a,1)),type:p(kr(a,2)),glyph:p(m(a,3))}};var v3=function(a){r.call(this,a)};U(v3,r);f=v3.prototype;f.getPhoto=function(){return Z(this,i$c,1)};f.setPhoto=function(a){Yi(this,i$c,1,a)};f.hasPhoto=function(){return Dj(this,i$c,1)};f.getName=function(){return Z(this,g$c,2)};f.setName=function(a){return Yi(this,g$c,2,a)};f.hasName=function(){return Dj(this,g$c,2)};f.getAffinity=function(){return Z(this,u3,3)};f.hasAffinity=function(){return Dj(this,u3,3)};f.getPrimary=function(){return ar(this,4)};f.toObject=function(){return k$c(this)};
var k$c=function(a){if(null!=a)return t(a),{photo:j$c(a.getPhoto()),name:h$c(a.getName()),affinity:f$c(a.getAffinity()),primary:p(ar(a,4))}};var w3=function(a){r.call(this,a)};U(w3,r);w3.prototype.getStatus=function(){return kr(this,2)};w3.prototype.setStatus=function(a){return n(this,2,a)};w3.prototype.hasStatus=function(){return fj(this,2)};w3.prototype.toObject=function(){return l$c(this)};var l$c=function(a){if(null!=a)return t(a),{expirationTimestampSeconds:p(m(a,1)),status:p(kr(a,2)),configurationName:p(m(a,3))}};var x3=function(a){r.call(this,a)};U(x3,r);x3.prototype.getSmtpServerSupportsTls=function(){ar(this,1)};x3.prototype.toObject=function(){return m$c(this)};var m$c=function(a){if(null!=a)return t(a),{smtpServerSupportsTls:p(ar(a,1)),usesConfusingCharacters:p(ar(a,2))}};var jr=function(a){r.call(this,a)};U(jr,r);jr.prototype.getState=function(){return kr(this,2)};jr.prototype.toObject=function(){return n$c(this)};var n$c=function(a){if(null!=a)return t(a),{contextType:p(kr(a,1)),state:p(kr(a,2))}};var y3=function(a){r.call(this,a)};U(y3,r);y3.prototype.getApplication=function(){return W(this,1,0)};y3.prototype.setApplication=function(a){return n(this,1,a)};y3.prototype.getApplicationOrUndefined=function(){return wr(this,1)};y3.repeatedFields_=[2];y3.prototype.toObject=function(){return o$c(this)};var o$c=function(a){if(null!=a)return t(a),{application:W(a,1,0),stateStatusList:Kb(aj(a,jr,2),n$c)}};var z3=function(a){r.call(this,a)};U(z3,r);f=z3.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 wk(this,1)};f.getInternalExternal=function(){return Z(this,y3,4)};f.hasInternalExternal=function(){return Dj(this,y3,4)};z3.repeatedFields_=[2];z3.prototype.toObject=function(){return p$c(this)};
var p$c=function(a){if(null!=a)return t(a),{value:p(m(a,1)),certificatesList:Kb(aj(a,w3,2),l$c),securityInfo:m$c(Z(a,x3,3)),internalExternal:o$c(a.getInternalExternal())}};var Vq=function(a){r.call(this,a)};U(Vq,r);f=Vq.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 wk(this,1)};f.getEmail=function(){return po(this,2,Yq)};f.getEmail_legacyNullable=function(){return po(this,2,Yq)};f.setEmail=function(a){return $n(this,2,Yq,a)};f.hasEmail=function(){return null!=po(this,2,Yq)};f.getPhone=function(){return po(this,3,Yq)};
f.getPhone_legacyNullable=function(){return po(this,3,Yq)};f.setPhone=function(a){return $n(this,3,Yq,a)};f.hasPhone=function(){return null!=po(this,3,Yq)};var Yq=[2,3];Vq.prototype.toObject=function(){return q$c(this)};var q$c=function(a){if(null!=a)return t(a),{profileId:p(m(a,1)),email:p(po(a,2,Yq)),phone:p(po(a,3,Yq)),clientData:p(m(a,4))}};var A3=function(a){r.call(this,a)};U(A3,r);A3.prototype.getDisplayValue=function(){return m(this,1)};A3.prototype.getOriginalValue=function(){return m(this,3)};A3.prototype.toObject=function(){return r$c(this)};var r$c=function(a){if(null!=a)return t(a),{displayValue:p(m(a,1)),canonicalValue:p(m(a,2)),originalValue:p(m(a,3))}};var s$c=function(a){r.call(this,a)};U(s$c,r);s$c.prototype.toObject=function(){return t$c(this)};var t$c=function(a){if(null!=a)return t(a),{directUserMemberCount:p(m(a,1)),directGroupMemberCount:p(m(a,2))}};var u$c=function(a){r.call(this,a)};U(u$c,r);f=u$c.prototype;f.getIdCase=function(){return Ci(this,B3)};f.getProfileId=function(){return po(this,1,B3)};f.getProfileId_legacyNullable=function(){return po(this,1,B3)};f.setProfileId=function(a){return $n(this,1,B3,a)};f.hasProfileId=function(){return null!=po(this,1,B3)};f.getContactId=function(){return po(this,2,B3)};f.setContactId=function(a){$n(this,2,B3,a)};var B3=[1,2];u$c.prototype.toObject=function(){return v$c(this)};
var v$c=function(a){if(null!=a)return t(a),{profileId:p(po(a,1,B3)),contactId:p(po(a,2,B3))}};var C3=function(a){r.call(this,a)};U(C3,r);f=C3.prototype;f.getValueCase=function(){return Ci(this,Wq)};f.getDisplayInfo=function(){return Z(this,v3,1)};f.hasDisplayInfo=function(){return Dj(this,v3,1)};f.getEmail=function(){return Sj(this,z3,2,Wq)};f.setEmail=function(a){return ho(this,2,Wq,a)};f.hasEmail=function(){return Qj(this,z3,2,Wq)};f.getPhone=function(){return Sj(this,A3,3,Wq)};f.setPhone=function(a){return ho(this,3,Wq,a)};f.hasPhone=function(){return Qj(this,A3,3,Wq)};
f.getSourceIdsList=function(){return aj(this,u$c,5)};f.getIsSelf=function(){return ar(this,6)};f.getTypeLabel=function(){return m(this,10)};C3.repeatedFields_=[5];var Wq=[2,3,4];C3.prototype.toObject=function(){return w$c(this)};
var w$c=function(a){if(null!=a)return t(a),{displayInfo:k$c(a.getDisplayInfo()),email:p$c(a.getEmail()),phone:r$c(a.getPhone()),inAppTarget:q$c(Sj(a,Vq,4,Wq)),sourceIdsList:Kb(a.getSourceIdsList(),v$c),isSelf:p(ar(a,6)),isGoogleGroup:p(ar(a,7)),isPersonal:p(ar(a,8)),peopleStackFieldExtendedData:d$c(Z(a,dr,9)),typeLabel:p(m(a,10)),isBlocked:p(ar(a,11)),rosterDetails:t$c(Z(a,s$c,12))}};var D3=function(a){r.call(this,a)};U(D3,r);f=D3.prototype;f.getDisplayInfo=function(){return Z(this,v3,1)};f.hasDisplayInfo=function(){return Dj(this,v3,1)};f.getMembersList=function(){return aj(this,C3,2)};f.setMembersList=function(a){dj(this,2,a)};f.getLabelId=function(){return m(this,3)};D3.repeatedFields_=[2];D3.prototype.toObject=function(){return x$c(this)};var x$c=function(a){if(null!=a)return t(a),{displayInfo:k$c(a.getDisplayInfo()),membersList:Kb(a.getMembersList(),w$c),labelId:p(m(a,3))}};var E3=function(a){r.call(this,a)};U(E3,r);E3.prototype.getHideType=function(){return kr(this,1)};E3.prototype.getHiddenKeysList=function(){return aj(this,D5c,3)};E3.repeatedFields_=[3];E3.prototype.toObject=function(){return y$c(this)};var y$c=function(a){if(null!=a)return t(a),{hideType:p(kr(a,1)),hiddenKeysList:Kb(a.getHiddenKeysList(),E5c),familyStatus:p(kr(a,2))}};var F3=function(a){r.call(this,a)};U(F3,r);F3.prototype.getAffinity=function(){return Z(this,u3,2)};F3.prototype.hasAffinity=function(){return Dj(this,u3,2)};F3.prototype.getPeopleStackExtendedData=function(){return Z(this,E3,4)};F3.prototype.getPeopleStackPersonExtendedData=function(){return Z(this,y2,5)};F3.repeatedFields_=[1];F3.prototype.toObject=function(){return z$c(this)};
var z$c=function(a){if(null!=a)return t(a),{affinity:f$c(a.getAffinity()),contactMethodsList:Kb(aj(a,C3,1),w$c),clientSpecificData:T9c(Z(a,$q,3)),peopleStackExtendedData:y$c(a.getPeopleStackExtendedData()),peopleStackPersonExtendedData:F5c(a.getPeopleStackPersonExtendedData())}};var A$c=function(a){r.call(this,a)};U(A$c,r);A$c.prototype.getOwnersList=function(){return aj(this,F3,2)};A$c.repeatedFields_=[2];A$c.prototype.toObject=function(){return B$c(this)};var B$c=function(a){if(null!=a)return t(a),{creator:z$c(Z(a,F3,1)),ownersList:Kb(a.getOwnersList(),z$c)}};var mr=function(a){r.call(this,a)};U(mr,r);mr.prototype.getIdCase=function(){return Ci(this,Fhb)};var Fhb=[1];mr.prototype.toObject=function(){return C$c(this)};var C$c=function(a){if(null!=a)return t(a),{rosterEmail:p(po(a,1,Fhb))}};var D$c=function(a){r.call(this,a)};U(D$c,r);D$c.prototype.toObject=function(){return E$c(this)};var E$c=function(a){if(null!=a)return t(a),{endtimeUtc:yt(Z(a,Ch,1))}};var G3=function(a){r.call(this,a)};U(G3,r);f=G3.prototype;f.getDisplayInfo=function(){return Z(this,v3,1)};f.hasDisplayInfo=function(){return Dj(this,v3,1)};f.getMembersList=function(){return aj(this,F3,2)};f.setMembersList=function(a){dj(this,2,a)};f.getGroupId=function(){return m(this,4)};f.setGroupId=function(a){n(this,4,a)};f.hasGroupId=function(){return wk(this,4)};G3.repeatedFields_=[2,6];G3.prototype.toObject=function(){return F$c(this)};
var F$c=function(a){if(null!=a)return t(a),{displayInfo:k$c(a.getDisplayInfo()),membersList:Kb(a.getMembersList(),z$c),fullGroupSize:p(Os(a,3)),groupId:p(m(a,4)),groupType:p(m(a,5)),groupAlternateIdList:Kb(aj(a,mr,6),C$c),groupEndtime:E$c(Z(a,D$c,7)),groupAdministration:B$c(Z(a,A$c,8))}};var H3=function(a){r.call(this,a)};U(H3,r);H3.prototype.getPerson=function(){return Sj(this,F3,1,I3)};H3.prototype.getGroup=function(){return Sj(this,G3,2,I3)};H3.prototype.setGroup=function(a){ho(this,2,I3,a)};var I3=[1,2,3];H3.prototype.toObject=function(){return G$c(this)};var G$c=function(a){if(null!=a)return t(a),{person:z$c(a.getPerson()),group:F$c(a.getGroup()),contactLabel:x$c(Sj(a,D3,3,I3))}};var ir=function(a){r.call(this,a)};U(ir,r);f=ir.prototype;f.getIdCase=function(){return Ci(this,J3)};f.getEmail=function(){return po(this,1,J3)};f.getEmail_legacyNullable=function(){return po(this,1,J3)};f.setEmail=function(a){return $n(this,1,J3,a)};f.hasEmail=function(){return null!=po(this,1,J3)};f.getPhone=function(){return po(this,2,J3)};f.getPhone_legacyNullable=function(){return po(this,2,J3)};f.setPhone=function(a){return $n(this,2,J3,a)};f.hasPhone=function(){return null!=po(this,2,J3)};
f.getProfileId=function(){return po(this,3,J3)};f.getProfileId_legacyNullable=function(){return po(this,3,J3)};f.setProfileId=function(a){return $n(this,3,J3,a)};f.hasProfileId=function(){return null!=po(this,3,J3)};var J3=[1,2,3];ir.prototype.toObject=function(){return H$c(this)};var H$c=function(a){if(null!=a)return t(a),{email:p(po(a,1,J3)),phone:p(po(a,2,J3)),profileId:p(po(a,3,J3))}};var I$c=function(a){r.call(this,a)};U(I$c,r);I$c.prototype.toObject=function(){return J$c(this)};var J$c=function(a){if(null!=a)return t(a),{featureType:W(a,1,0),weight:hj(a,2,0),exponent:hj(a,3,1)}};var K3=function(a){r.call(this,a)};U(K3,r);f=K3.prototype;f.getAffinityVersion=function(){return Os(this,1)};f.setAffinityVersion=function(a){n(this,1,a)};f.getAffinityVersionOrUndefined=function(){return bt(this,1)};f.getAffinityType=function(){return m(this,4)};f.setAffinityType=function(a){return n(this,4,a)};K3.repeatedFields_=[3];K3.prototype.toObject=function(){return K$c(this)};
var K$c=function(a){if(null!=a)return t(a),{affinityVersion:p(Os(a,1)),affinityThreshold:p(Gs(a,2)),featureList:Kb(aj(a,I$c,3),J$c),affinityType:p(m(a,4))}};var L3=function(a){r.call(this,a)};U(L3,r);L3.prototype.getResultsList=function(){return aj(this,H3,1)};var L$c=Rb(L3);L3.repeatedFields_=[1];L3.prototype.toObject=function(){return M$c(this)};var M$c=function(a){if(null!=a)return t(a),{resultsList:Kb(a.getResultsList(),G$c),affinityResponseContext:K$c(Z(a,K3,2))}};var M3=function(a){r.call(this,a)};U(M3,r);M3.prototype.getId=function(){return Z(this,ir,1)};M3.prototype.setId=function(a){return Yi(this,ir,1,a)};var N$c=[2,3];M3.prototype.toObject=function(){return O$c(this)};var O$c=function(a){if(null!=a)return t(a),{id:H$c(a.getId()),autocompletion:G$c(Sj(a,H3,2,N$c)),failureType:p(at(a,3,N$c))}};var P$c=function(a){r.call(this,a)};U(P$c,r);var Q$c=Rb(P$c);P$c.repeatedFields_=[1];P$c.prototype.toObject=function(){if(null!=this){t(this);var a={matchesList:Kb(aj(this,M3,1),O$c)}}else a=void 0;return a};var R$c=function(a){this.leanResponseProcessorConfig_=a},S$c=function(a,b,c,d){d=void 0===d?!1:d;for(var e=[],g=nhb(b),h=[],l=k(aj(b,C3,1)),q=l.next();!q.done;q=l.next()){q=q.value;var x=dhb(q);if(x.equals(Zq)){if(!a.leanResponseProcessorConfig_.allowEmptyTargets&&!d)continue;var A=khb(q);if(!A)continue;x=Qgb(A)}h.push(String(x));var B=A=void 0;x={id:x,containerIds:ehb(q),coalescedKeys:h,isMe:!!q.getIsSelf(),dataSource:fhb(b,q),provenance:c,isPrimary:ihb(null!=(A=q.getDisplayInfo())?A:null),itemAffinity:hhb(b),
fieldAffinity:ghb(null!=(B=q.getDisplayInfo())?B:null),contactMethod:q,person:b};g&&(x.resultExtendedData=g);if(q=phb(q))x.targetExtendedData=q;e.push(x)}e.length&&e.every(function(K){return!K.isPrimary})&&(e[0].isPrimary=!0);return e},T$c=function(a,b,c){var d=Rq(ahb(m(b,5)),b.getGroupId()||""),e=b.getMembersList().map(function(q){return S$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=bt(b,3))?h:void 0,provenance:c,isPrimary:!0,itemAffinity:ghb(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,Vc(c.value));return d},U$c=function(a,b){var c=Ayc(a.getLabelId()||""),d=a.getMembersList().map(function(h){if(h.hasEmail()&&h.getEmail().getValue()){var l,q;var x={id:Uq(h.getEmail().getValue()),containerIds:ehb(h),contactMethod:h,provenance:8,isMe:!1,dataSource:1,isPrimary:ihb(null!=(l=h.getDisplayInfo())?l:
null),itemAffinity:-Infinity,fieldAffinity:ghb(null!=(q=h.getDisplayInfo())?q:null)};if(h=phb(h))x.targetExtendedData=h}else x=null;return x}).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:ghb(null!=(g=a.getDisplayInfo())?g:null),fieldAffinity:-Infinity,isMe:!1,contactLabel:a}].concat(Vc(d))},V$c=function(a,b,c){switch(Ci(b,I3)){case 1:return S$c(a,b.getPerson(),c);
case 2:return T$c(a,b.getGroup(),c);case 3:return U$c(Sj(b,D3,3,I3),c);default:return[]}},W$c=function(a,b,c){return b.getResultsList().flatMap(function(d){return V$c(a,d,c)})};var shb=new Map([[0,1],[1,2],[2,3],[3,4]]);var X$c=function(a){r.call(this,a)};U(X$c,r);f=X$c.prototype;f.getLabel=function(){return kr(this,1)};f.setLabel=function(a){return n(this,1,a)};f.hasLabel=function(){return fj(this,1)};f.getItemCount=function(){return Os(this,2)};f.setItemCount=function(a){return n(this,2,a)};f.hasItemCount=function(){return Ek(this,2)};f.getLookupInfo=function(){return Z(this,fr,3)};f.setLookupInfo=function(a){return Yi(this,fr,3,a)};f.hasLookupInfo=function(){return Dj(this,fr,3)};
f.getQueryLength=function(){return Os(this,4)};f.setQueryLength=function(a){return n(this,4,a)};f.hasQueryLength=function(){return Ek(this,4)};f.getQueryScope=function(){return W(this,5,0)};f.setQueryScope=function(a){return n(this,5,a)};f.hasQueryScope=function(){return fj(this,5)};f.toObject=function(){return Y$c(this)};var Y$c=function(a){if(null!=a)return t(a),{label:p(kr(a,1)),itemCount:p(Os(a,2)),lookupInfo:f9c(a.getLookupInfo()),queryLength:p(Os(a,4)),queryScope:W(a,5,0)}};var Z$c=function(a){r.call(this,a)};U(Z$c,r);Z$c.prototype.toObject=function(){return $$c(this)};var $$c=function(a){if(null!=a)return t(a),{cpuPeakUsageFraction:p(Gs(a,1)),cpuAverageUsageFraction:p(Gs(a,2)),memoryPeakUsageBytes:p(m(a,3)),memoryAverageUsageBytes:p(m(a,4))}};var aad=function(a){r.call(this,a)};U(aad,r);f=aad.prototype;f.getLabel=function(){return kr(this,1)};f.setLabel=function(a){return n(this,1,a)};f.hasLabel=function(){return fj(this,1)};f.getStatus=function(){return kr(this,2)};f.setStatus=function(a){return n(this,2,a)};f.hasStatus=function(){return fj(this,2)};f.setLatencyUsec=function(a){n(this,3,a)};f.getResultIndex=function(){return Os(this,4)};f.setResultIndex=function(a){n(this,4,a)};f.getDataSource=function(){return kr(this,7)};
f.setDataSource=function(a){return n(this,7,a)};f.hasDataSource=function(){return fj(this,7)};f.getItemCount=function(){return Os(this,8)};f.setItemCount=function(a){return n(this,8,a)};f.hasItemCount=function(){return Ek(this,8)};f.getLookupInfo=function(){return Z(this,fr,10)};f.setLookupInfo=function(a){return Yi(this,fr,10,a)};f.hasLookupInfo=function(){return Dj(this,fr,10)};f.setStatusCode=function(a){n(this,11,a)};f.getQueryLength=function(){return Os(this,13)};
f.setQueryLength=function(a){return n(this,13,a)};f.hasQueryLength=function(){return Ek(this,13)};f.getQueryScope=function(){return W(this,14,0)};f.setQueryScope=function(a){return n(this,14,a)};f.hasQueryScope=function(){return fj(this,14)};f.toObject=function(){return bad(this)};
var bad=function(a){if(null!=a)return t(a),{label:p(kr(a,1)),status:p(kr(a,2)),latencyUsec:p(m(a,3)),resultIndex:p(Os(a,4)),cacheStatusAtQuery:p(kr(a,5)),cacheStatusAtResult:p(kr(a,6)),dataSource:p(kr(a,7)),itemCount:p(Os(a,8)),duplicatesRejectedCount:p(Os(a,12)),resources:$$c(Z(a,Z$c,9)),lookupInfo:f9c(a.getLookupInfo()),statusCode:W(a,11,2),queryLength:p(Os(a,13)),queryScope:W(a,14,0)}};var cad=function(a){r.call(this,a)};U(cad,r);cad.prototype.toObject=function(){return dad(this)};var dad=function(a){if(null!=a)return t(a),{topnCacheItemCount:p(Os(a,1)),iosDeviceCacheItemCount:p(Os(a,2))}};var ead=function(a){r.call(this,a)};U(ead,r);f=ead.prototype;f.getDataSource=function(){return kr(this,3)};f.setDataSource=function(a){return n(this,3,a)};f.hasDataSource=function(){return fj(this,3)};f.getType=function(){return kr(this,4)};f.setType=function(a){return n(this,4,a)};f.hasType=function(){return fj(this,4)};f.getValue=function(){return gj(this,2,1)};f.setValue=function(a){return n(this,2,a)};f.hasValue=function(){return Ok(this,2)};f.getLabel=function(){return m(this,1)};
f.setLabel=function(a){return n(this,1,a)};f.hasLabel=function(){return wk(this,1)};f.toObject=function(){return fad(this)};var fad=function(a){if(null!=a)return t(a),{dataSource:p(kr(a,3)),type:p(kr(a,4)),value:gj(a,2,1),label:p(m(a,1))}};var gad=function(a){r.call(this,a)};U(gad,r);gad.prototype.toObject=function(){return had(this)};var had=function(a){if(null!=a)return t(a),{numberOfContacts:p(m(a,1))}};var iad=function(a){r.call(this,a)};U(iad,r);iad.prototype.toObject=function(){return jad(this)};var jad=function(a){if(null!=a)return t(a),{sqliteStatus:p(Os(a,1))}};var kad=function(a){r.call(this,a)};U(kad,r);kad.prototype.getSqliteErrorInfo=function(){return Sj(this,iad,2,lad)};var lad=[2];kad.prototype.toObject=function(){return mad(this)};var mad=function(a){if(null!=a)return t(a),{errorLocation:p(kr(a,1)),sqliteErrorInfo:jad(a.getSqliteErrorInfo())}};var nad=function(a){r.call(this,a)};U(nad,r);nad.prototype.getSqliteErrorInfo=function(){return Sj(this,iad,2,oad)};var oad=[2];nad.prototype.toObject=function(){return pad(this)};var pad=function(a){if(null!=a)return t(a),{errorLocation:p(kr(a,1)),sqliteErrorInfo:jad(a.getSqliteErrorInfo())}};var qad=function(a){r.call(this,a)};U(qad,r);qad.prototype.toObject=function(){return rad(this)};var rad=function(a){if(null!=a)return t(a),{errorLocation:p(kr(a,1))}};var N3=function(a){r.call(this,a)};U(N3,r);f=N3.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 wk(this,1)};f.getCause=function(){return m(this,2)};f.getType=function(){return kr(this,3)};f.setType=function(a){return n(this,3,a)};f.hasType=function(){return fj(this,3)};var sad=[6,7,8];N3.prototype.toObject=function(){return tad(this)};
var tad=function(a){if(null!=a)return t(a),{statusCode:W(a,5,2),iosErrorInfo:pad(Sj(a,nad,6,sad)),androidErrorInfo:mad(Sj(a,kad,7,sad)),webErrorInfo:rad(Sj(a,qad,8,sad)),label:p(m(a,1)),cause:p(m(a,2)),type:p(kr(a,3)),causeType:p(kr(a,4))}};var O3=function(a){r.call(this,a)};U(O3,r);f=O3.prototype;f.getType=function(){return kr(this,3)};f.setType=function(a){return n(this,3,a)};f.hasType=function(){return fj(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 wk(this,1)};f.toObject=function(){return uad(this)};var uad=function(a){if(null!=a)return t(a),{type:p(kr(a,3)),latencyUsec:p(m(a,2)),label:p(m(a,1))}};var P3=function(a){r.call(this,a)};U(P3,r);P3.prototype.getLabel=function(){return kr(this,1)};P3.prototype.setLabel=function(a){return n(this,1,a)};P3.prototype.hasLabel=function(){return fj(this,1)};P3.prototype.toObject=function(){return vad(this)};var vad=function(a){if(null!=a)return t(a),{label:p(kr(a,1)),memoryUsedBytes:p(m(a,2)),memoryAverageUsedBytes:p(m(a,3))}};var Q3=function(a){r.call(this,a)};U(Q3,r);Q3.prototype.getLabel=function(){return kr(this,1)};Q3.prototype.setLabel=function(a){return n(this,1,a)};Q3.prototype.hasLabel=function(){return fj(this,1)};Q3.prototype.toObject=function(){return wad(this)};var wad=function(a){if(null!=a)return t(a),{label:p(kr(a,1)),requestProtoBytes:p(m(a,2)),requestBytes:p(m(a,3)),networkState:p(kr(a,4))}};var xad=function(a){r.call(this,a)};U(xad,r);f=xad.prototype;f.getLabel=function(){return kr(this,1)};f.setLabel=function(a){return n(this,1,a)};f.hasLabel=function(){return fj(this,1)};f.getStatus=function(){return kr(this,2)};f.setStatus=function(a){return n(this,2,a)};f.hasStatus=function(){return fj(this,2)};f.setLatencyUsec=function(a){n(this,3,a)};f.getErrorCode=function(){return m(this,4)};f.hasErrorCode=function(){return Ok(this,4)};f.setStatusCode=function(a){n(this,7,a)};
f.setBlockedUsec=function(a){return n(this,8,a)};f.toObject=function(){return yad(this)};var yad=function(a){if(null!=a)return t(a),{label:p(kr(a,1)),status:p(kr(a,2)),latencyUsec:p(m(a,3)),errorCode:p(m(a,4)),responseProtoBytes:p(m(a,5)),responseBytes:p(m(a,6)),statusCode:W(a,7,2),blockedUsec:p(m(a,8)),processingUsec:p(m(a,9)),networkState:p(kr(a,10))}};var R3=function(a){r.call(this,a)};U(R3,r);f=R3.prototype;f.getClientInterface=function(){return Z(this,CQ,1)};f.setClientInterface=function(a){return Yi(this,CQ,1,a)};f.getEventType=function(){return kr(this,3)};f.getEventType_legacyNullable=function(){return kr(this,3)};f.setEventType=function(a){return n(this,3,a)};f.getCacheStatus=function(){return Z(this,cad,12)};f.setCacheStatus=function(a){return Yi(this,cad,12,a)};f.getCount=function(){return Z(this,ead,4)};
f.setCount=function(a){return Yi(this,ead,4,a)};f.getLatency=function(){return Z(this,O3,5)};f.setLatency=function(a){return Yi(this,O3,5,a)};f.getError=function(){return Z(this,N3,6)};f.setError=function(a){Yi(this,N3,6,a)};f.hasError=function(){return Dj(this,N3,6)};f.getRpcRequest=function(){return Z(this,Q3,7)};f.setRpcRequest=function(a){return Yi(this,Q3,7,a)};f.getRpcResponse=function(){return Z(this,xad,8)};f.setRpcResponse=function(a){return Yi(this,xad,8,a)};
f.getApiCall=function(){return Z(this,X$c,9)};f.setApiCall=function(a){return Yi(this,X$c,9,a)};f.getApiResult=function(){return Z(this,aad,10)};f.setApiResult=function(a){return Yi(this,aad,10,a)};
f.toObject=function(){if(null!=this){t(this);var a={clientInterface:Uwc(this.getClientInterface()),autocompleteSessions:Ixc(Z(this,LQ,2)),eventType:p(kr(this,3)),cacheStatus:dad(this.getCacheStatus()),deviceInfo:had(Z(this,gad,13)),count:fad(this.getCount()),latency:uad(this.getLatency()),error:tad(this.getError()),rpcRequest:wad(this.getRpcRequest()),rpcResponse:yad(this.getRpcResponse()),apiCall:Y$c(this.getApiCall()),apiResult:bad(this.getApiResult()),memory:vad(Z(this,P3,11))}}else a=void 0;return a};var zad=function(a){r.call(this,a)};U(zad,r);zad.prototype.toObject=function(){return Aad(this)};var Aad=function(a){if(null!=a)return t(a),{isDirectClientInteraction:p(ar(a,1))}};var Bad=function(a){r.call(this,a)};U(Bad,r);Bad.prototype.toObject=function(){return Cad(this)};var Cad=function(a){if(null!=a)return t(a),{isDeviceDataKnown:p(ar(a,1)),deviceScore:p(Gs(a,2))}};var Dad=function(a){r.call(this,a)};U(Dad,r);Dad.prototype.toObject=function(){return Ead(this)};var Ead=function(a){if(null!=a)return t(a),{cloudDeviceDataInfo:Cad(Z(a,Bad,1)),clientInteractionInfo:Aad(Z(a,zad,2)),cloudScore:p(Gs(a,3))}};var Fad=function(a){r.call(this,a)};U(Fad,r);f=Fad.prototype;f.getAffinityType=function(){return kr(this,1)};f.setAffinityType=function(a){return n(this,1,a)};f.getValue=function(){return Gs(this,2)};f.getValue_legacyNullable=function(){return Gs(this,2)};f.setValue=function(a){return Ns(this,2,a)};f.hasValue=function(){return null!=Gs(this,2)};f.getLoggingId=function(){return m(this,3)};f.setLoggingId=function(a){n(this,3,a)};f.getContainerType=function(){return kr(this,4)};f.toObject=function(){return Gad(this)};
var Gad=function(a){if(null!=a)return t(a),{affinityType:p(kr(a,1)),value:p(Gs(a,2)),loggingId:p(m(a,3)),containerType:p(kr(a,4)),containerId:p(m(a,5)),affinityMetadata:Ead(Z(a,Dad,7))}};var S3=function(a){r.call(this,a)};U(S3,r);S3.prototype.setDevice=function(a){return n(this,1,a)};S3.prototype.toObject=function(){return Had(this)};var Had=function(a){if(null!=a)return t(a),{device:p(kr(a,1))}};var Iad=function(a){r.call(this,a)};U(Iad,r);f=Iad.prototype;f.getAffinityType=function(){return kr(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(){Js(this,2)};f.hasQuery=function(){return wk(this,2)};f.getClientInformation=function(){return Z(this,S3,3)};f.setClientInformation=function(a){Yi(this,S3,3,a)};f.setMaxResults=function(a){return n(this,4,a)};
f.toObject=function(){if(null!=this){t(this);var a={affinityType:p(kr(this,1)),query:p(m(this,2)),clientInformation:Had(this.getClientInformation()),maxResults:p(Os(this,4))}}else a=void 0;return a};var Jad=new kC("/peoplestack.PeopleStackAutocompleteService/Autocomplete",Iad,L3,function(a){return a.serialize()},L$c);var Kad=function(a){r.call(this,a)};U(Kad,r);f=Kad.prototype;f.getAffinityType=function(){return kr(this,1)};f.setAffinityType=function(a){return n(this,1,a)};f.getClientInformation=function(){return Z(this,S3,2)};f.setClientInformation=function(a){Yi(this,S3,2,a)};f.getName=function(){return m(this,3)};f.setName=function(a){return n(this,3,a)};f.hasName=function(){return wk(this,3)};f.getNameOrUndefined=function(){return dt(this,3)};
f.toObject=function(){if(null!=this){t(this);var a={affinityType:p(kr(this,1)),clientInformation:Had(this.getClientInformation()),name:p(m(this,3)),product:p(kr(this,4)),ttl:$t(Z(this,Eh,5))}}else a=void 0;return a};var T3=function(a){r.call(this,a)};U(T3,r);T3.prototype.getGroup=function(){return Z(this,G3,1)};T3.prototype.setGroup=function(a){Yi(this,G3,1,a)};var Lad=Rb(T3);T3.prototype.toObject=function(){if(null!=this){t(this);var a={group:F$c(this.getGroup()),tokenSecret:p(m(this,2))}}else a=void 0;return a};var Mad=new kC("/peoplestack.PeopleStackAutocompleteService/CreateGroup",Kad,T3,function(a){return a.serialize()},Lad);var U3=function(a){r.call(this,a)};U(U3,r);f=U3.prototype;f.getAffinityType=function(){return kr(this,1)};f.setAffinityType=function(a){return n(this,1,a)};f.getClientInformation=function(){return Z(this,S3,2)};f.setClientInformation=function(a){Yi(this,S3,2,a)};f.getIdsList=function(){return aj(this,ir,3)};f.setIdsList=function(a){dj(this,3,a)};f.setIds=function(a){return Fs(this,3,ir,a)};U3.repeatedFields_=[3];
U3.prototype.toObject=function(){if(null!=this){t(this);var a={affinityType:p(kr(this,1)),clientInformation:Had(this.getClientInformation()),idsList:Kb(this.getIdsList(),H$c)}}else a=void 0;return a};var Nad=new kC("/peoplestack.PeopleStackAutocompleteService/Lookup",U3,P$c,function(a){return a.serialize()},Q$c);var Oad=function(a){r.call(this,a)};U(Oad,r);f=Oad.prototype;f.getAffinityType=function(){return kr(this,1)};f.setAffinityType=function(a){return n(this,1,a)};f.getClientInformation=function(){return Z(this,S3,2)};f.setClientInformation=function(a){Yi(this,S3,2,a)};f.toObject=function(){if(null!=this){t(this);var a={affinityType:p(kr(this,1)),clientInformation:Had(this.getClientInformation())}}else a=void 0;return a};var Pad=function(a){r.call(this,a)};U(Pad,r);var Qad=Rb(Pad);Pad.prototype.toObject=function(){if(null!=this){t(this);var a={}}else a=void 0;return a};var Rad=new kC("/peoplestack.PeopleStackAutocompleteService/Warmup",Oad,Pad,function(a){return a.serialize()},Qad);var Sad=function(a){var b={unaryInterceptors:[new u3c]};b=b||{};b.format="jspb";this.client_=new BC(b);this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};Sad.prototype.autocomplete=function(a,b){return CC(this.client_,this.hostname_+"/$rpc/peoplestack.PeopleStackAutocompleteService/Autocomplete",a,b||{},Jad)};Sad.prototype.lookup=function(a,b){return CC(this.client_,this.hostname_+"/$rpc/peoplestack.PeopleStackAutocompleteService/Lookup",a,b||{},Nad)};
Sad.prototype.createGroup=function(a,b){return CC(this.client_,this.hostname_+"/$rpc/peoplestack.PeopleStackAutocompleteService/CreateGroup",a,b||{},Mad)};var V3=function(a,b,c,d,e){this.leanResponseProcessor_=a;this.grpcClient_=b;e?a=rhb(e):(a=new er,qhb(a.setEventType(4),4));this.sourceInfo_=a;this.provenance_=e?2:1;this.trackers_=d;this.query_=e;this.affinity_=W(c.getPeopleApi(),5,0);this.searchMaxResults_=Gh(c.getClient(),2,10);this.cacheSize_=c.getClient().getCacheSize()};V3.prototype.getMetric=function(){return new Tad(this.trackers_.metrics_,this.sourceInfo_)};
V3.prototype.send=function(a){var b=new Iad;b.setAffinityType(this.affinity_).setQuery(this.query_).setClientInformation((new S3).setDevice(1));this.query_.length?b.setMaxResults(this.searchMaxResults_):b.setMaxResults(this.cacheSize_);return this.grpcClient_.autocomplete(b,a)};V3.prototype.processResponse=function(a){var b=W$c(this.leanResponseProcessor_,a,this.provenance_),c=new rr;Dj(a,K3,2)&&c.setAffinityVersion(Z(a,K3,2).getAffinityVersion());return{data:b,metadata:c}};V3.prototype.close=function(){};var Uad=function(a,b,c,d,e,g){this.leanResponseProcessor_=a;this.grpcClient_=b;a=new er;qhb(a.setEventType(4),7).setIdType(e);this.sourceInfo_=a;this.provenance_=3;this.keys_=g;this.type_=e;this.trackers_=d;this.affinity_=W(c.getPeopleApi(),5,0)};Uad.prototype.getMetric=function(){return new Tad(this.trackers_.metrics_,this.sourceInfo_)};
Uad.prototype.send=function(a){var b=this,c=new U3;c.setAffinityType(this.affinity_).setClientInformation((new S3).setDevice(1));c.setIdsList(this.keys_.map(function(d){return yhb(b.type_,d)}).filter(function(d){return!!d}));return this.grpcClient_.lookup(c,a)};
Uad.prototype.processResponse=function(a){var b=this.leanResponseProcessor_,c=this.provenance_,d=new Map;a=k(aj(a,M3,1));for(var e=a.next();!e.done;e=a.next())if(e=e.value,Qj(e,H3,2,N$c)){var g=V$c(b,Sj(e,H3,2,N$c),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 rr}};Uad.prototype.close=function(){};var Vad=function(a){r.call(this,a)};U(Vad,r);Vad.prototype.toObject=function(){return Wad(this)};var Wad=function(a){if(null!=a)return t(a),{leanAutocomplete:M$c(Z(a,L3,1))}};var Xad=Jb(342338249,{leanOfflineData:0},Vad,Wad);F9c[342338249]=Xad;var Yad=function(){};Yad.prototype.write=function(a,b){var c=new Vad;b=Yi(c,L3,1,b);cr(a,Xad,b)};Yad.prototype.read=function(a){return(a=a.getExtension(Xad))?Z(a,L3,1):null};var Zad=function(a,b,c){this.grpcClient_=a;this.sourceInfo_=rhb("");this.trackers_=c;this.affinity_=W(b.getPeopleApi(),5,0)};Zad.prototype.getMetric=function(){return new Tad(this.trackers_.metrics_,this.sourceInfo_)};Zad.prototype.send=function(a){var b=new Oad;b.setAffinityType(this.affinity_).setClientInformation((new S3).setDevice(1));var c=this.grpcClient_;return CC(c.client_,c.hostname_+"/$rpc/peoplestack.PeopleStackAutocompleteService/Warmup",b,a||{},Rad)};
Zad.prototype.processResponse=function(){return{data:[],metadata:new rr}};Zad.prototype.close=function(){};var $ad=new j7b;var W3=function(a,b,c){this.delegate_=a;this.runtimeConfig_=b;this.offlineResponse_=c};W3.prototype.send=function(a){var b=this;return he(function(c){return b.runtimeConfig_.isOffline_()?c.return($ad):c.return(b.delegate_.send(a))})};W3.prototype.getMetric=function(){return this.delegate_.getMetric()};W3.prototype.processResponse=function(a){return a===$ad?this.offlineResponse_:this.delegate_.processResponse(a)};W3.prototype.close=function(a){this.delegate_.close(a)};
var abd={data:[],metadata:Lj(new rr,5,!0).setCode(14)},bbd={data:new Map,metadata:Lj(new rr,5,!0).setCode(14)};Lj(new rr,5,!0).setCode(14);Lj(new rr,5,!0).setCode(14);var cbd=function(a){r.call(this,a)};U(cbd,r);f=cbd.prototype;f.getTimestamp=function(){return gj(this,1)};f.setTimestamp=function(a){return n(this,1,a)};f.hasTimestamp=function(){return Ok(this,1)};f.getOwner=function(){return V(this,2)};f.setOwner=function(a){return n(this,2,a)};f.toObject=function(){return dbd(this)};var dbd=function(a){if(null!=a)return t(a),{timestamp:p(m(a,1)),owner:p(m(a,2))}};var ebd=Jb(342656659,{metadata:0},cbd,dbd);F9c[342656659]=ebd;var X3=function(a,b,c,d,e){this.delegate_=a;this.offlineStorage_=b;this.offlineDataTransformer_=c;this.owner_=d;this.storageTaskDelayMillis_=e;this.offlineMetadata_=null};X3.prototype.store_=function(a,b){var c=new E9c;cr(c,ebd,(new cbd).setTimestamp(b).setOwner(String(this.owner_)));this.offlineDataTransformer_.write(c,a);this.offlineStorage_.store(c)};
var fbd=function(a){var b,c;return he(function(d){if(1==d.nextAddress)return ie(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(ebd);c=a.offlineMetadata_?Cyc(a.offlineMetadata_.getOwner()):Zq;return a.owner_.equals(c)?d.return(a.offlineDataTransformer_.read(b)):d.return(null)}le(d);return d.return(null)})};
X3.prototype.send=function(a){var b=this,c,d,e,g,h;return he(function(l){switch(l.nextAddress){case 1:return ie(l,2),l.yield(b.delegate_.send(a),4);case 4:c=l.yieldResult;d=Date.now();if(c!==$ad){l.jumpTo(5);break}return l.yield(fbd(b),6);case 6:return e=l.yieldResult,l.return(e||$ad);case 5:return setTimeout(function(){b.store_(c,d)},b.storageTaskDelayMillis_),l.return(c);case 2:return g=le(l),l.yield(fbd(b),7);case 7:return(h=l.yieldResult)?l.return(h):l.return(Promise.reject(g))}})};
X3.prototype.getMetric=function(){return this.delegate_.getMetric()};X3.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};X3.prototype.close=function(a){this.delegate_.close(a)};var gbd=function(a,b){this.config_=a;this.trackers_=b;b=this.config_;b={apiKey:b.runtimeConfig_.getApiKey()||(7===b.runtimeConfig_.getPeopleApiEnv()?V(b.getGapi(),2,""):b.getGapi().getApiKey()),timeoutSec:a.getClient().getRpcTimeoutSec(),authErrorHandler:a.runtimeConfig_.getAuthErrorHandler(),customAuthHeaders:a.runtimeConfig_.customAuthHeaders_};this.dispatcher_=new w3c(b);b=aMa("peoplestack-pa",a.runtimeConfig_.getPeopleApiEnv());this.grpcPeopleStackClient_=new Sad(b);this.offlineDataTransformer_=
new Yad;a=Jj(a.getClient(),22,!1);this.leanResponseProcessor_=new R$c({allowEmptyTargets:a})};f=gbd.prototype;
f.loadRankedItems=function(){var a=new V3(this.leanResponseProcessor_,this.grpcPeopleStackClient_,this.config_,this.trackers_,"");a=new W3(a,this.config_.runtimeConfig_,abd);var b=this.config_,c=this.offlineDataTransformer_,d=b.runtimeConfig_.offlineStorage_;if(d){var e=b.runtimeConfig_.getUserEmail();e&&(e=Uq(e),b=Gh(b.getPeopleApi(),14,5E3),a=new X3(a,d,c,e,b))}return y3c(this.dispatcher_,a)};
f.warmUpServer=function(){var a=new Zad(this.grpcPeopleStackClient_,this.config_,this.trackers_);a=new W3(a,this.config_.runtimeConfig_,abd);return y3c(this.dispatcher_,a)};f.loadAutocompleteItems=function(a){a=a.getPrefix();a=new V3(this.leanResponseProcessor_,this.grpcPeopleStackClient_,this.config_,this.trackers_,a);a=new W3(a,this.config_.runtimeConfig_,abd);return y3c(this.dispatcher_,a)};
f.loadLookupItems=function(a,b){a=new Uad(this.leanResponseProcessor_,this.grpcPeopleStackClient_,this.config_,this.trackers_,a,b);a=new W3(a,this.config_.runtimeConfig_,bbd);return y3c(this.dispatcher_,a)};f.loadContactItems=function(){};var zhb=new Map([[1,1],[2,2]]);var Chb=new Map([[3,3],[1,2],[2,1]]),hbd=new Map([[2,1],[4,2],[3,3],[1,4]]),ibd=function(a){this.delegate_=a};
ibd.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=Sq(a.id).setValue(c);if(aj(b,w3,2).length||Dj(b,x3,3)){var d=1;if(aj(b,w3,2).length){var e=aj(b,w3,2)[0];m(e,1);d=hbd.get(e.getStatus())||d}Dj(b,x3,3)&&Z(b,x3,3).getSmtpServerSupportsTls();4===(void 0===d?1:d)&&Date.now()}b.hasInternalExternal()&&(b=Ahb(b.getInternalExternal()),c.orgState_=b);ar(a.contactMethod,7)&&c.setResultType(2);
b=c;break;case 3:b=a.contactMethod.getPhone();b=b.getOriginalValue()||b.getDisplayValue()||m(b,2)||"";b=Sq(a.id).setValue(b);break;case 4:b=Sj(a.contactMethod,Vq,4,Wq);b=Ehb(a,b);break;default:b=Sq(a.id||Zq)}b.setDataSource(a.dataSource||0);a.containerIds&&(b.sourceIds_=a.containerIds||[]);Ugb(b,!!a.isMe);a.person&&a.person.hasAffinity()&&b.setPersonLoggingId(Bhb(Kca(qo(a.person.getAffinity(),1))||""));a.contactMethod.hasDisplayInfo()&&Dhb(b,a.contactMethod.getDisplayInfo());wk(a.contactMethod,10)&&
Xgb(b,[Ygb(a.contactMethod.getTypeLabel())]);a.targetExtendedData&&b.setExtendedData(a.targetExtendedData);a.target=b}else a.group?Ghb(a,a.group.getDisplayInfo()):a.contactLabel&&Ghb(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 Tad=function(a,b){this.metrics_=a;this.state_=new KQ(b)};f=Tad.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 jbd=function(a){this.metrics_=a};jbd.prototype.error=function(a,b){var c=this.metrics_,d=new er;a=d.setEventType(3).setErrorType(a);n(a,7,b);return new e9c(c,d)};jbd.prototype.latency=function(a){var b=this.metrics_,c=new er,d=c.setEventType(2);n(d,5,a);return new C3c(b,c)};jbd.prototype.count=function(a){var b=this.metrics_,c=new er,d=c.setEventType(1);n(d,4,a);return new d9c(b,c)};jbd.prototype.api=function(a){return new c9c(this.metrics_,a)};var kbd=function(a,b){this.ranker_=new X8c(a.getClient());this.loader_=new gbd(a,b);b=s9c;b=void 0===b?s9c:b;this.targetFactory_=new O9c(a,new ibd(b))};var lbd=function(a){r.call(this,a)};U(lbd,r);lbd.prototype.toObject=function(){return mbd(this)};var mbd=function(a){if(null!=a)return t(a),{availabilities:Y4c(Z(a,X4c,1))}};var nbd=function(a){r.call(this,a)};U(nbd,r);nbd.prototype.toObject=function(){return obd(this)};var obd=function(a){if(null!=a)return t(a),{nicknameOption:p(kr(a,1))}};var $bd=function(a){r.call(this,a)};U($bd,r);$bd.prototype.toObject=function(){return acd(this)};var acd=function(a){if(null!=a)return t(a),{redDiff:p(Gs(a,1)),greenDiff:p(Gs(a,2)),blueDiff:p(Gs(a,3))}};var bcd=function(a){r.call(this,a)};U(bcd,r);bcd.prototype.toObject=function(){return ccd(this)};var ccd=function(a){if(null!=a)return t(a),{diffData:acd(Z(a,$bd,1)),lowResUrl:p(m(a,2)),highResUrl:p(m(a,3)),monogramUrl:p(m(a,7)),privateLowResAcl:p(ar(a,4)),lowResData:Pb(qo(a,5)),inconsistentPhoto:p(ar(a,6))}};var dcd=function(a){r.call(this,a)};U(dcd,r);dcd.repeatedFields_=[1];dcd.prototype.toObject=function(){return ecd(this)};var ecd=function(a){if(null!=a)return t(a),{lockedFieldList:p(Ih(a,1))}};var fcd=function(a){r.call(this,a)};U(fcd,r);fcd.prototype.toObject=function(){return gcd(this)};var gcd=function(a){if(null!=a)return t(a),{quotaEnforcementStatus:p(kr(a,5)),nameLastModified:p(m(a,1)),nameChangesRemaining:p(Os(a,2)),computedNameChangesRemaining:p(Os(a,6)),nicknameLastModified:p(m(a,3)),nicknameChangesRemaining:p(Os(a,4)),computedNicknameChangesRemaining:p(Os(a,7))}};var hcd=function(a){r.call(this,a)};U(hcd,r);hcd.prototype.toObject=function(){return icd(this)};var icd=function(a){if(null!=a)return t(a),{profileNameModificationHistory:gcd(Z(a,fcd,1)),nameDisplayOptions:obd(Z(a,nbd,2)),profileEditability:ecd(Z(a,dcd,3)),photosCompareData:ccd(Z(a,bcd,4))}};var jcd=function(a){r.call(this,a)};U(jcd,r);jcd.prototype.getSourceType=function(){return kr(this,1)};jcd.prototype.setSourceType=function(a){return n(this,1,a)};jcd.prototype.toObject=function(){return kcd(this)};var kcd=function(a){if(null!=a)return t(a),{sourceType:p(kr(a,1))}};var lcd=function(a){r.call(this,a)};U(lcd,r);lcd.prototype.toObject=function(){return mcd(this)};var mcd=function(a){if(null!=a)return t(a),{callerIdSource:kcd(Z(a,jcd,1))}};var Y3=function(a){r.call(this,a)};U(Y3,r);Y3.prototype.toObject=function(){return ncd(this)};var ncd=function(a){if(null!=a)return t(a),{failureType:p(kr(a,1))}};var ocd=function(a){r.call(this,a)};U(ocd,r);ocd.prototype.getFailure=function(){return Z(this,Y3,3)};ocd.prototype.toObject=function(){return pcd(this)};var pcd=function(a){if(null!=a)return t(a),{maskedNumber:p(m(a,1)),internationalNumber:p(m(a,2)),failure:ncd(a.getFailure())}};var qcd=function(a){r.call(this,a)};U(qcd,r);qcd.prototype.toObject=function(){return rcd(this)};var rcd=function(a){if(null!=a)return t(a),{contentRestriction:p(kr(a,1)),isEnterpriseUser:p(ar(a,2))}};var scd=function(a){r.call(this,a)};U(scd,r);scd.prototype.toObject=function(){return tcd(this)};var tcd=function(a){if(null!=a)return t(a),{isPinned:p(ar(a,1)),isFavorite:p(ar(a,2)),isDismissed:p(ar(a,3)),hadPastHangoutState:p(kr(a,5)),invitationStatus:p(kr(a,6)),userType:p(kr(a,7)),isBot:p(ar(a,8))}};var ucd=function(a){r.call(this,a)};U(ucd,r);ucd.prototype.getFailure=function(){return Z(this,Y3,6)};ucd.repeatedFields_=[4];ucd.prototype.toObject=function(){return vcd(this)};var vcd=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(Ih(a,4)),tagline:p(m(a,5)),failure:ncd(a.getFailure()),followeeCount:p(m(a,7)),followerCount:p(Os(a,8))}};var wcd=function(a){r.call(this,a)};U(wcd,r);wcd.prototype.toObject=function(){return xcd(this)};var xcd=function(a){if(null!=a)return t(a),{achievementName:p(m(a,1)),achievementUnlockedIconUrl:p(m(a,2)),rarityPercentage:p(Gs(a,3))}};var ycd=function(a){r.call(this,a)};U(ycd,r);ycd.prototype.getFailure=function(){return Z(this,Y3,8)};ycd.repeatedFields_=[5];ycd.prototype.toObject=function(){return zcd(this)};var zcd=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(Os(a,4)),achievementsList:Kb(aj(a,wcd,5),xcd),profileVisibility:p(kr(a,6)),totalFriendsCount:p(m(a,7)),failure:ncd(a.getFailure())}};var Acd=function(a){r.call(this,a)};U(Acd,r);Acd.prototype.toObject=function(){return Bcd(this)};var Bcd=function(a){if(null!=a)return t(a),{isIncomplete:p(ar(a,1))}};var Ccd=function(a){r.call(this,a)};U(Ccd,r);f=Ccd.prototype;f.getDescription=function(){return m(this,3)};f.setDescription=function(a){return n(this,3,a)};f.hasDescription=function(){return wk(this,3)};f.getTitle=function(){return m(this,9)};f.setTitle=function(a){return n(this,9,a)};f.toObject=function(){return Dcd(this)};
var Dcd=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(ar(a,8)),title:p(m(a,9)),profilePictureUrl:p(m(a,10))}};var Ecd=function(a){r.call(this,a)};U(Ecd,r);Ecd.prototype.getFailure=function(){return Z(this,Y3,5)};Ecd.repeatedFields_=[4];Ecd.prototype.toObject=function(){return Fcd(this)};var Fcd=function(a){if(null!=a)return t(a),{channelDataList:Kb(aj(a,Ccd,4),Dcd),failure:ncd(a.getFailure())}};var Z3=function(a){r.call(this,a)};U(Z3,r);f=Z3.prototype;f.getDynamiteExtendedData=function(){return Z(this,t3,5)};f.getIsPlaceholder=function(){return ar(this,6)};f.setIsPlaceholder=function(a){Lj(this,6,a)};f.getPaisaExtendedData=function(){return Z(this,Q9c,11)};f.getPeopleStackExtendedData=function(){return Z(this,E3,16)};f.getPeopleStackPersonExtendedData=function(){return Z(this,y2,18)};Z3.repeatedFields_=[1];Z3.prototype.toObject=function(){return Gcd(this)};
var Gcd=function(a){if(null!=a)return t(a),{domainNameList:p(Ih(a,1)),hangoutsExtendedData:tcd(Z(a,scd,2)),aboutMeExtendedData:icd(Z(a,hcd,3)),tlsIsPlaceholder:p(ar(a,4)),dynamiteExtendedData:P9c(a.getDynamiteExtendedData()),isPlaceholder:p(ar(a,6)),contactsExtendedData:Bcd(Z(a,Acd,7)),gplusExtendedData:rcd(Z(a,qcd,8)),callerIdExtendedData:mcd(Z(a,lcd,9)),appsWaldoExtendedData:mbd(Z(a,lbd,10)),paisaExtendedData:R9c(a.getPaisaExtendedData()),playGamesExtendedData:zcd(Z(a,ycd,12)),mapsExtendedData:vcd(Z(a,
ucd,13)),youtubeExtendedData:Fcd(Z(a,Ecd,15)),peopleStackExtendedData:y$c(a.getPeopleStackExtendedData()),peopleStackPersonExtendedData:F5c(a.getPeopleStackPersonExtendedData()),gpayExtendedData:pcd(Z(a,ocd,17))}};var Hcd=function(a){r.call(this,a)};U(Hcd,r);Hcd.prototype.getContainerType=function(){return kr(this,2)};Hcd.prototype.toObject=function(){return Icd(this)};var Icd=function(a){if(null!=a)return t(a),{containerId:p(m(a,1)),containerType:p(kr(a,2)),materialized:p(ar(a,3))}};var Jcd=function(a){r.call(this,a)};U(Jcd,r);Jcd.prototype.getDisplayName=function(){return m(this,3)};Jcd.prototype.setDisplayName=function(a){return n(this,3,a)};Jcd.prototype.toObject=function(){return Kcd(this)};var Kcd=function(a){if(null!=a)return t(a),{circleId:p(m(a,1)),circleSet:p(kr(a,2)),displayName:p(m(a,3))}};var Lcd=function(a){r.call(this,a)};U(Lcd,r);Lcd.prototype.getDisplayName=function(){return m(this,2)};Lcd.prototype.setDisplayName=function(a){return n(this,2,a)};Lcd.prototype.toObject=function(){return Mcd(this)};var Mcd=function(a){if(null!=a)return t(a),{contactGroupId:p(m(a,1)),displayName:p(m(a,2))}};var Ncd=function(a){r.call(this,a)};U(Ncd,r);Ncd.prototype.getCircle=function(){return Z(this,Jcd,1)};Ncd.prototype.toObject=function(){return Ocd(this)};var Ocd=function(a){if(null!=a)return t(a),{circle:Kcd(a.getCircle()),contactGroup:Mcd(Z(a,Lcd,2))}};var a4=function(a){r.call(this,a)};U(a4,r);a4.prototype.getDisplayName=function(){return m(this,2)};a4.prototype.setDisplayName=function(a){return n(this,2,a)};a4.prototype.getPhotoUrl=function(){return m(this,3)};a4.prototype.toObject=function(){return Pcd(this)};var Pcd=function(a){if(null!=a)return t(a),{personId:p(m(a,1)),displayName:p(m(a,2)),photoUrl:p(m(a,3))}};var Qcd=function(a){r.call(this,a)};U(Qcd,r);Qcd.prototype.getPerson=function(){return Z(this,a4,2)};Qcd.prototype.getMembership=function(){return Z(this,Ncd,4)};Qcd.prototype.toObject=function(){return Rcd(this)};var Rcd=function(a){if(null!=a)return t(a),{allUsers:p(ar(a,1)),person:Pcd(a.getPerson()),domainUsers:p(ar(a,3)),membership:Ocd(a.getMembership())}};var Scd=function(a){r.call(this,a)};U(Scd,r);Scd.prototype.getScope=function(){return Z(this,Qcd,2)};Scd.prototype.toObject=function(){return Tcd(this)};var Tcd=function(a){if(null!=a)return t(a),{role:p(kr(a,1)),scope:Rcd(a.getScope())}};var Ucd=function(a){r.call(this,a)};U(Ucd,r);Ucd.repeatedFields_=[1,2,3];Ucd.prototype.toObject=function(){return Vcd(this)};var Vcd=function(a){if(null!=a)return t(a),{aclEntryList:Kb(aj(a,Scd,1),Tcd),predefinedAclEntryList:p(Tk(a,2)),authorizedViewersList:p(Tk(a,3))}};var b4=function(a){r.call(this,a)};U(b4,r);b4.prototype.getContainerType=function(){return kr(this,15)};b4.prototype.getPrimary=function(){return ar(this,3)};b4.prototype.getVisibility=function(){return W(this,6,1)};b4.prototype.getAffinityList=function(){return aj(this,Fad,10)};b4.repeatedFields_=[13,10];b4.prototype.toObject=function(){return c4(this)};
var c4=function(a){if(null!=a)return t(a),{writeable:Jj(a,1,!1),containerType:p(kr(a,15)),containerId:p(m(a,8)),encodedContainerId:p(m(a,9)),primary:p(ar(a,3)),edgeKeyInfoList:Kb(aj(a,Hcd,13),Icd),visibility:W(a,6,1),verified:Jj(a,7,!1),affinityList:Kb(a.getAffinityList(),Gad),fieldAcl:Vcd(Z(a,Ucd,11)),containerPrimary:p(ar(a,12))}};var Wcd=function(a){r.call(this,a)};U(Wcd,r);Wcd.prototype.getMetadata=function(){return Z(this,b4,6)};Wcd.prototype.setMetadata=function(a){Yi(this,b4,6,a)};Wcd.prototype.toObject=function(){return Xcd(this)};var Xcd=function(a){if(null!=a)return t(a),{metadata:c4(a.getMetadata()),imageUrl:p(m(a,1)),imageId:p(m(a,2)),imageHeight:p(Os(a,3)),imageWidth:p(Os(a,4)),isDefault:p(ar(a,5)),isAnimated:p(ar(a,7))}};var Ycd=function(a){r.call(this,a)};U(Ycd,r);f=Ycd.prototype;f.getSmtpServerSupportsTls=function(){ar(this,1)};f.getInternalExternal=function(){return Z(this,y3,3)};f.hasInternalExternal=function(){return Dj(this,y3,3)};f.getIsPlaceholder=function(){return ar(this,4)};f.setIsPlaceholder=function(a){Lj(this,4,a)};f.toObject=function(){return Zcd(this)};
var Zcd=function(a){if(null!=a)return t(a),{smtpServerSupportsTls:p(ar(a,1)),usesConfusingCharacters:p(ar(a,2)),internalExternal:o$c(a.getInternalExternal()),isPlaceholder:p(ar(a,4))}};var d4=function(a){r.call(this,a)};U(d4,r);d4.prototype.setStatusCode=function(a){n(this,2,a)};d4.prototype.toObject=function(){return $cd(this)};var $cd=function(a){if(null!=a)return t(a),{notAfterSec:p(m(a,1)),statusCode:p(kr(a,2))}};var add=function(a){r.call(this,a)};U(add,r);f=add.prototype;f.getMetadata=function(){return Z(this,b4,1)};f.setMetadata=function(a){Yi(this,b4,1,a)};f.getStatus=function(){return Z(this,d4,2)};f.setStatus=function(a){return Yi(this,d4,2,a)};f.hasStatus=function(){return Dj(this,d4,2)};f.toObject=function(){return bdd(this)};var bdd=function(a){if(null!=a)return t(a),{metadata:c4(a.getMetadata()),status:$cd(a.getStatus()),configurationName:p(m(a,3))}};var e4=function(a){r.call(this,a)};U(e4,r);e4.prototype.getType=function(){return kr(this,1)};e4.prototype.setType=function(a){return n(this,1,a)};e4.prototype.hasType=function(){return fj(this,1)};e4.prototype.toObject=function(){return cdd(this)};var cdd=function(a){if(null!=a)return t(a),{type:p(kr(a,1)),contactGroupId:p(m(a,2))}};var ddd=function(a){r.call(this,a)};U(ddd,r);ddd.prototype.getPrimary=function(){return ar(this,1)};ddd.prototype.toObject=function(){return edd(this)};var edd=function(a){if(null!=a)return t(a),{primary:p(ar(a,1))}};var f4=function(a){r.call(this,a)};U(f4,r);f=f4.prototype;f.getMetadata=function(){return Z(this,b4,1)};f.setMetadata=function(a){Yi(this,b4,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 wk(this,2)};f.getType=function(){return m(this,3)};f.setType=function(a){return n(this,3,a)};f.hasType=function(){return wk(this,3)};f.getDisplayName=function(){return m(this,6)};
f.setDisplayName=function(a){return n(this,6,a)};f.getExtendedData=function(){return Z(this,Ycd,8)};f.setExtendedData=function(a){Yi(this,Ycd,8,a)};f.hasExtendedData=function(){return Dj(this,Ycd,8)};f4.repeatedFields_=[5,7];f4.prototype.toObject=function(){return fdd(this)};
var fdd=function(a){if(null!=a)return t(a),{metadata:c4(a.getMetadata()),value:p(m(a,2)),type:p(m(a,3)),formattedType:p(m(a,4)),displayName:p(m(a,6)),contactGroupPreferenceList:Kb(aj(a,e4,5),cdd),certificateList:Kb(aj(a,add,7),bdd),extendedData:Zcd(a.getExtendedData()),classification:p(kr(a,9)),signupEmailMetadata:edd(Z(a,ddd,10))}};var gdd=function(a){r.call(this,a)};U(gdd,r);f=gdd.prototype;f.getMetadata=function(){return Z(this,b4,1)};f.setMetadata=function(a){Yi(this,b4,1,a)};f.getType=function(){return m(this,2)};f.setType=function(a){return n(this,2,a)};f.hasType=function(){return wk(this,2)};f.toObject=function(){return hdd(this)};var hdd=function(a){if(null!=a)return t(a),{metadata:c4(a.getMetadata()),type:p(m(a,2)),formattedType:p(m(a,3)),customType:p(m(a,4)),addressMeAs:p(m(a,5))}};var idd=function(a){r.call(this,a)};U(idd,r);idd.prototype.toObject=function(){return jdd(this)};var jdd=function(a){if(null!=a)return t(a),{byteValue:Pb(qo(a,1)),app:p(kr(a,2))}};var kdd=function(a){r.call(this,a)};U(kdd,r);f=kdd.prototype;f.getFieldType=function(){return kr(this,1)};f.getFieldType_legacyNullable=function(){return kr(this,1)};f.setFieldType=function(a){n(this,1,a)};f.getFieldTypeOrUndefined=function(){return wr(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 wk(this,3)};f.toObject=function(){return ldd(this)};
var ldd=function(a){if(null!=a)return t(a),{fieldType:p(kr(a,1)),fieldIndex:p(Os(a,2)),value:p(m(a,3))}};var mdd=function(a){r.call(this,a)};U(mdd,r);f=mdd.prototype;f.getMetadata=function(){return Z(this,b4,1)};f.setMetadata=function(a){Yi(this,b4,1,a)};f.getType=function(){return kr(this,3)};f.setType=function(a){return n(this,3,a)};f.hasType=function(){return fj(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 wk(this,4)};
f.setOriginatingField=function(a){return Fs(this,5,kdd,a)};mdd.repeatedFields_=[2,5,6];mdd.prototype.toObject=function(){return ndd(this)};var ndd=function(a){if(null!=a)return t(a),{metadata:c4(a.getMetadata()),appList:p(Tk(a,2)),type:p(kr(a,3)),value:p(m(a,4)),originatingFieldList:Kb(aj(a,kdd,5),ldd),clientDataList:Kb(aj(a,idd,6),jdd)}};var odd=function(a){r.call(this,a)};U(odd,r);f=odd.prototype;f.getSource=function(){return W(this,1,0)};f.setSource=function(a){return n(this,1,a)};f.hasSource=function(){return fj(this,1)};f.getSourceOrUndefined=function(){return wr(this,1)};f.toObject=function(){return pdd(this)};var pdd=function(a){if(null!=a)return t(a),{source:p(kr(a,1))}};var qdd=function(a){r.call(this,a)};U(qdd,r);f=qdd.prototype;f.getMetadata=function(){return Z(this,b4,1)};f.setMetadata=function(a){Yi(this,b4,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 wk(this,4)};f.getFamilyName=function(){return m(this,5)};f.setFamilyName=function(a){return n(this,5,a)};
f.hasFamilyName=function(){return wk(this,5)};f.toObject=function(){return rdd(this)};
var rdd=function(a){if(null!=a)return t(a),{metadata:c4(a.getMetadata()),displayName:p(m(a,2)),displayNameSource:pdd(Z(a,odd,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))}};var g4=function(a){r.call(this,a)};U(g4,r);g4.prototype.getDisplayName=function(){return m(this,1)};g4.prototype.setDisplayName=function(a){return n(this,1,a)};g4.prototype.getContainerType=function(){return kr(this,3)};g4.prototype.toObject=function(){return sdd(this)};var sdd=function(a){if(null!=a)return t(a),{displayName:p(m(a,1)),displayNameLastFirst:p(m(a,2)),containerType:p(kr(a,3))}};var tdd=function(a){r.call(this,a)};U(tdd,r);f=tdd.prototype;f.getContainerType=function(){return kr(this,6)};f.getId=function(){return m(this,2)};f.setId=function(a){return n(this,2,a)};f.getDeleted=function(){return ar(this,3)};f.setDeleted=function(a){Lj(this,3,a)};f.toObject=function(){return udd(this)};var udd=function(a){if(null!=a)return t(a),{containerType:p(kr(a,6)),id:p(m(a,2)),deleted:p(ar(a,3)),sourceEtag:p(m(a,5))}};var vdd=function(a){r.call(this,a)};U(vdd,r);vdd.prototype.getSourceIdsList=function(){return aj(this,tdd,3)};vdd.repeatedFields_=[1,2,3];vdd.prototype.toObject=function(){return wdd(this)};var wdd=function(a){if(null!=a)return t(a),{previousPersonIdList:p(Ih(a,1)),originalLookupTokenList:p(Ih(a,2)),sourceIdsList:Kb(a.getSourceIdsList(),udd)}};var h4=function(a){r.call(this,a)};U(h4,r);f=h4.prototype;f.getDeleted=function(){return ar(this,1)};f.setDeleted=function(a){Lj(this,1,a)};f.getContactId=function(){return Ts(this,6)};f.setContactId=function(a){Ws(this,6,a)};f.getAffinityList=function(){return aj(this,Fad,17)};h4.repeatedFields_=[6,17,8,13];h4.prototype.toObject=function(){return xdd(this)};
var xdd=function(a){if(null!=a)return t(a),{deleted:p(ar(a,1)),contactIdList:p(Hh(a,6)),affinityList:Kb(a.getAffinityList(),Gad),bestDisplayName:sdd(Z(a,g4,24)),identityInfo:wdd(Z(a,vdd,22)),circleIdList:p(Ih(a,8)),ownerId:p(m(a,4)),ownerUserTypeList:p(Tk(a,13)),objectType:W(a,5,0),inViewerDomain:p(ar(a,12))}};var ydd=function(a){r.call(this,a)};U(ydd,r);f=ydd.prototype;f.getMetadata=function(){return Z(this,b4,1)};f.setMetadata=function(a){Yi(this,b4,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 wk(this,2)};f.getType=function(){return m(this,3)};f.setType=function(a){return n(this,3,a)};f.hasType=function(){return wk(this,3)};f.setUri=function(a){return n(this,7,a)};
f.toObject=function(){return zdd(this)};var zdd=function(a){if(null!=a)return t(a),{metadata:c4(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))}};var Add=function(a){r.call(this,a)};U(Add,r);f=Add.prototype;f.getMetadata=function(){return Z(this,b4,1)};f.setMetadata=function(a){Yi(this,b4,1,a)};f.getUrl=function(){return m(this,2)};f.setUrl=function(a){return n(this,2,a)};f.hasUrl=function(){return wk(this,2)};f.toObject=function(){return Bdd(this)};var Bdd=function(a){if(null!=a)return t(a),{metadata:c4(a.getMetadata()),url:p(m(a,2)),isDefault:p(ar(a,3)),isMonogram:p(ar(a,7)),monogramBackground:p(m(a,8))}};var i4=function(a){r.call(this,a)};U(i4,r);i4.prototype.getMetadata=function(){return Z(this,b4,1)};i4.prototype.setMetadata=function(a){Yi(this,b4,1,a)};i4.repeatedFields_=[22];i4.prototype.toObject=function(){return Cdd(this)};var Cdd=function(a){if(null!=a)return t(a),{metadata:c4(a.getMetadata()),unjoinedEmailCertificatesList:Kb(aj(a,f4,22),fdd)}};var Ddd=function(a){r.call(this,a)};U(Ddd,r);Ddd.prototype.toObject=function(){return Edd(this)};var Edd=function(a){if(null!=a)return t(a),{personId:p(m(a,1)),memberType:p(kr(a,2))}};var Fdd=function(a){r.call(this,a)};U(Fdd,r);Fdd.prototype.toObject=function(){return Gdd(this)};var Gdd=function(a){if(null!=a)return t(a),{directUserCount:p(m(a,1)),directGroupCount:p(m(a,2))}};var j4=function(a){r.call(this,a)};U(j4,r);j4.prototype.getMetadata=function(){return Z(this,b4,1)};j4.prototype.setMetadata=function(a){Yi(this,b4,1,a)};j4.repeatedFields_=[3];j4.prototype.toObject=function(){return Hdd(this)};var Hdd=function(a){if(null!=a)return t(a),{metadata:c4(a.getMetadata()),rosterMemberCount:Gdd(Z(a,Fdd,2)),abridgedRosterMembershipsList:Kb(aj(a,Ddd,3),Edd)}};var Idd=function(a){r.call(this,a)};U(Idd,r);f=Idd.prototype;f.getName=function(){return m(this,1)};f.setName=function(a){return n(this,1,a)};f.hasName=function(){return wk(this,1)};f.getNameOrUndefined=function(){return dt(this,1)};f.toObject=function(){return Jdd(this)};var Jdd=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))}};var Kdd=function(a){r.call(this,a)};U(Kdd,r);f=Kdd.prototype;f.getMetadata=function(){return Z(this,h4,2)};f.setMetadata=function(a){Yi(this,h4,2,a)};f.setName=function(a){return Fs(this,3,qdd,a)};f.setPhoto=function(a){Fs(this,4,Add,a)};f.getEmailList=function(){return aj(this,f4,10)};f.addEmail=function(a){return jo(this,10,f4,a)};f.setEmail=function(a){return Fs(this,10,f4,a)};f.setPhone=function(a){return Fs(this,12,ydd,a)};f.getExtendedData=function(){return Z(this,Z3,38)};
f.setExtendedData=function(a){Yi(this,Z3,38,a)};f.hasExtendedData=function(){return Dj(this,Z3,38)};Kdd.repeatedFields_=[48,3,4,10,12,9,46,133,31];Kdd.prototype.toObject=function(){return Ldd(this)};
var Ldd=function(a){if(null!=a)return t(a),{personId:p(m(a,1)),metadata:xdd(a.getMetadata()),readOnlyProfileInfoList:Kb(aj(a,i4,48),Cdd),fingerprint:p(m(a,26)),nameList:Kb(aj(a,qdd,3),rdd),photoList:Kb(aj(a,Add,4),Bdd),emailList:Kb(a.getEmailList(),fdd),phoneList:Kb(aj(a,ydd,12),zdd),genderList:Kb(aj(a,gdd,9),hdd),inAppNotificationTargetList:Kb(aj(a,mdd,46),ndd),rosterDetailsList:Kb(aj(a,j4,133),Hdd),sortKeys:Jdd(Z(a,Idd,25)),extendedData:Gcd(a.getExtendedData()),coverPhotoList:Kb(aj(a,Wcd,31),Xcd)}};rt[173194452]=Jb(173194452,{messageSetExtension:0},Kdd,Ldd);var Mdd=function(){this.cacheConfigurators_=[];this.grpcClient_=null};var Hhb=function(a){this.delegate_=a};U(Hhb,f2);var Ndd=function(a){this.keys_=new Set(a)};Ndd.prototype.loadOrSkip=function(a){return this.keys_.delete(a)?a:null};Ndd.prototype.isDone=function(){return!this.keys_.size};var Odd=function(a){this.keys_=a;this.foundKeys_=new Set;this.delegate_=new Ndd(a)};Odd.prototype.loadOrSkip=function(a){return this.delegate_.loadOrSkip(a)?(this.foundKeys_.add(a),!0):!1};Odd.prototype.isDone=function(){return this.delegate_.isDone()};var Pdd=function(a){return a.keys_.filter(function(b){return!a.foundKeys_.has(b)})};var Qdd=new Ar,Rdd=function(a,b,c){this.itemResolver_=a;this.trieFactory_=b;this.indexes_=k3(Gh(c,31,5),1E3*hj(c,32,3600))};f=Rdd.prototype;f.getCacheType=function(){return 2};f.flush=function(){this.indexes_.clear()};
f.fetch=function(a){var b=this,c,d,e,g;return he(function(h){if(1==h.nextAddress){c=a.getBoostKey();if(!c.cacheKey||b.indexes_.get(c.cacheKey))return h.return(Qdd);d=c.ids.map(function(l){if(zyc.includes(Cyc(l).getType()))return l;var q=k4(b.itemResolver_,l);return q?String(q.id):l});e=new Odd(d);return h.yield(Sdd(b.trieFactory_,e,a.getFormat(),c.primingTimeoutMillis),2)}g=h.yieldResult;b.indexes_.set(c.cacheKey,g);return h.return(Qdd)})};
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)||j3).search(a.getTerms()).getMatches(a.getCollector()).map(Ihb)};f.index=function(){};var Tdd=new j9c(60,61,34);var Udd=function(){};Udd.prototype.configure=function(a){var b=a.storage,c=a.trackers,d=a.trieFactory,e=a.prefixCaches;a=a.clientConfig.getClient();Jj(a,30,!1)&&(b=new Rdd(b,d,a),c=new m3(b,c,Tdd),e.unshift(c))};var Vdd=function(){return Date.now()},Wdd=function(a,b,c){this.staleMillis_=1E3*a;this.expiredMillis_=1E3*b;this.nowFn_=c;this.timestamp_=0};f=Wdd.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 Khb=new Map([[1,1],[2,2],[3,3],[8,6],[6,7],[7,5],[4,4],[9,9]]),Jhb=new Map([[1,7],[2,5]]);var Xdd=function(a,b){this.delegate_=a;this.extendedData_=b};U(Xdd,f2);Xdd.prototype.getExtendedData=function(){return this.extendedData_};var Ydd=function(a,b,c){this.group_=a;this.members_=b;this.totalMemberCount_=zq(this.group_.getId())?this.members_.length:c;this.resultType_=B2c.get(this.group_.getTargetType())||0};f=Ydd.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("ve");};f.getDisplayName=function(){return""};
f.getDisplayValue=function(){return""};f.getDescription=function(){return""};f.getPhotoUrl=function(){return""};f.getMatchInfo=function(){return A2c};f.getExtendedData=function(){return null};var Zdd=function(a){this.delegate_=a};f=Zdd.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 Mhb=function(a,b){this.delegate_=a;this.loggingToken_=b};U(Mhb,Zdd);Mhb.prototype.getLoggingToken=function(){return this.loggingToken_};var $dd=function(a){this.itemResolver_=a};$dd.prototype.create=function(a,b){var c=this,d=Cyc(a);a=k4(this.itemResolver_,a);if(!a)return null;if(yq(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 k4(c.itemResolver_,h)}).filter(Boolean):[a];return aed(g,d,b)};
var aed=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,x=q.getId().equals(b);if(!e||x)e=q.getResultType();q=Nhb(q,l.provenance,c);x?(h=void 0,g=null!=(h=l.totalMemberCount)?h:null,d.unshift(q),h=l.resultExtendedData):d.push(q)}b=ydb(e,d,g);return h?new Xdd(b,h):b};
$dd.prototype.createGroup=function(a,b,c){c=Nhb(a.target,a.provenance,c);var d,e=null!=(d=a.totalMemberCount)?d:null;b=new Op(new Ydd(c,null!=b?b:[],null!=e?e:null));return(a=a.resultExtendedData)?new Xdd(b,a):b};var Ohb=[1,2,3,4,5,6,9,7,8],bed=function(a,b){this.targetFactory_=a;this.resultFactory_=new $dd(this);a=b.getCacheStaleSec();var c=b.getCacheExpiredSec();var d=void 0===d?Vdd:d;this.expiry_=new Wdd(a,c,d);this.affinityVersion_=0;this.ttlStorage_=new Map;this.lruStorage_=k3(Gh(b,6,500),1E3*Gh(b,7,43200));this.idTypes_=new Set(Tk(b,25))};bed.prototype.load=function(a,b){var c;return null!=(c=this.resultFactory_.create(a,b))?c:null};
var k4=function(a,b){return a.ttlStorage_.get(b)||a.lruStorage_.get(b)||null};f=bed.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||!zyc.includes(b.id.getType())||this.idTypes_.has(b.id.getType())){var e=!1,g=String(b.id),h=(b.containerIds||[]).map(String),l=ced(this,a,g);ded(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,ded(this,a,q,b,c)&&(l(q,b),e=!0);b.isMe&&(h=String(Byc),ded(this,a,h,b,c)&&(l(h,b),e=!0));d&&g!==d&&ded(this,a,d,b,c)&&(l(d,b),e=!0);e&&!b.target&&this.targetFactory_.processItem(b)}};
var ded=function(a,b,c,d,e){var g=k4(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)?Qhb(d)&&!Qhb(g)||eed(a,g)<eed(a,d)||Phb(d)<Phb(g)||18===d.id.getType()&&18===g.id.getType()?!0:!1:String(d.id)===c},eed=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},ced=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 fed=function(a){this.qos=a};fed.prototype.getIndex=function(){return String(this.qos)};var ged=new fed(1),hed=new fed(2);var ied=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},ked=function(a){if(a.isCompleted_)return Promise.resolve(c3(new Ar,!1).setProvenance(5).setCode(0));a.pendingRequest_||(a.pendingRequest_=(new Promise(function(b,c){jed(a,a.requestId_,function(d){a.isCompleted_=!0;b(d)},function(d){c(d)})})).finally(function(){a.pendingRequest_=null}));return a.pendingRequest_};
ied.prototype.flush=function(){this.requestId_++;this.contacts_=[];this.totalItems_=0;this.nextPageToken_="";this.pendingRequest_=null;this.isCompleted_=!1};
var jed=function(a,b,c,d){a.loader_.loadContactItems(a.nextPageToken_,hed).then(function(e){if(b!==a.requestId_)d(c3(new Ar,!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_?jed(a,b,c,d):(a.totalItems_=a.contacts_.length,c(c3(new Ar,!0).setProvenance(5).setCode(0)))}},function(e){e=isFinite(e)?e:13;d(c3(new Ar,!0).setProvenance(5).setCode(e))})};
ied.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(),c3(new Ar,!1).setProvenance(5).setCode(0)):ked(this).then(function(q){d(l(),q)},function(q){q instanceof Ar||(q=(new Ar).setCode(13));d({results:[],begin:a,end:b,totalItems:0},q)})};var Thb=function(a,b){this.delegate_=a;this.displayValue_=b};U(Thb,Zdd);Thb.prototype.getDisplayValue=function(){return this.displayValue_};var Rhb=function(a,b){this.delegate_=a;this.targets_=b};U(Rhb,f2);Rhb.prototype.getTargetList=function(){return this.targets_};var Vhb=function(){};Vhb.prototype.createFromQuery=function(a){var b=a.getPrefix();if(0!==a.getCollector().resultCount()||!a.isEmailAddress())return null;b=Sq(Uq(b)).setValue(b).setDataSource(3);b=ydb(b.getResultType(),[b],null);return(a=a.getResultFilter())?a.filterResult(b):b};Vhb.prototype.createFromLookupId=function(a){if(1!==a.getType()||!syc(a.getValue()))return null;a=Sq(a).setValue(a.getOriginalValue()).setDataSource(3);return ydb(a.getResultType(),[a],null)};var led=function(){};led.prototype.createFromQuery=function(){return null};led.prototype.createFromLookupId=function(){return null};var Whb=new led;var med=function(a,b,c,d,e){this.format=b;this.listener=c;this.options=d;this.callbackNumber=0;this.hasErrorCode=!1;this.remainingIds=new Map(a.map(function(g){return[String(g),g]}));this.notNotifiedIds=new Map(a.map(function(g){return[String(g),g]}));this.placeholderFactory=Xhb(e.getClient())};f=med.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 b9c=function(a){return Array.from(a.remainingIds.values())};med.prototype.hasError=function(){return this.hasErrorCode};
med.prototype.notify=function(a,b,c){if(a.size||b.length||this.isDone()||Yhb(c.getCode())){var d=new Map,e=this.getResultFilter();a=k(a);for(var g=a.next();!g.done;g=a.next()){var h=k(g.value);g=h.next().value;h=h.next().value;this.notNotifiedIds.delete(String(g));if(h=e?e.filterResult(h):h)d.set(g,h),this.remainingIds.delete(String(g))}a=[];b=k(b);for(g=b.next();!g.done;g=b.next())g=g.value,this.notNotifiedIds.delete(String(g)),this.remainingIds.delete(String(g)),(h=this.placeholderFactory.createFromLookupId(g))&&
e&&(h=e.filterResult(h)),h?d.set(g,h):a.push(g);d=Uhb(d,this.options);Yhb(c.getCode())&&(this.hasErrorCode=!0);e=(new L8c).setCallbackNumber(this.callbackNumber).setIsFirstCallback(0===this.callbackNumber).setIsLastCallback(this.isDone()).setCode(c.getCode());e.notFoundIdList_=a;d=new M8c(d,e);this.callbackNumber++;this.listener(d,c)}};var ned=function(a,b,c){this.stages=a;this.indexer=b;this.clientConfig=c};ned.prototype.flush=function(){this.indexer.flush()};
ned.prototype.lookup=function(a,b,c,d){var e=this,g,h,l,q,x,A;return he(function(B){switch(B.nextAddress){case 1:null==(g=d.getFilter())||g.reset(""),h=new med(a,b,c,d,e.clientConfig),l=new Set,1!==h.queryScope()&&2!==h.queryScope()||l.add(2),3===h.queryScope()&&l.add(1),q=k(e.stages),x=q.next();case 2:if(x.done){B.jumpTo(4);break}A=x.value;if(h.isDone()||h.isCancelled()){B.jumpTo(4);break}if(l.has(A.getStageType())){B.jumpTo(3);break}return B.yield(A.lookup(h),3);case 3:x=q.next();B.jumpTo(2);break;
case 4:if(!h.isDone()){if(0===h.queryScope()&&!h.hasError()){var K=e.indexer,N=Array.from(h.notNotifiedIds.values());N=k(N);for(var P=N.next();!P.done;P=N.next())P=String(P.value),K.notFoundIds.set(P,P)}h.notify(new Map,b9c(h),c3((new Ar).setProvenance(10),!1).setCode(0))}e.indexer.compact();return B.return()}})};var oed=function(a,b){this.delegate_=a;this.name_=b};U(oed,Zdd);oed.prototype.getName=function(){return this.name_};var ped=function(){};ped.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 Op(new Rhb(a,c))};ped.prototype.reset=function(){};var Zhb=function(a){this.types_=a};U(Zhb,ped);Zhb.prototype.shouldRemove=function(a){return!this.types_.includes(a.getTargetType())};Zhb.prototype.reset=function(){};var aib=function(a){this.sourceIds_=a.filter(function(b){return Rgb.includes(b.getType())}).map(String);this.targetIds_=a.filter(function(b){return zyc.includes(b.getType())}).map(String)};U(aib,ped);aib.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 cib=function(a){this.filters_=a};cib.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};cib.prototype.reset=function(a){for(var b=k(this.filters_),c=b.next();!c.done;c=b.next())c.value.reset(a)};var qed=dib();var red=function(a,b){this.storage=a;a=b.getClient();this.notFoundIds=k3(Gh(a,10,500),1E3*hj(a,11,600))};f=red.prototype;f.compact=function(){this.notFoundIds.compact()};f.flush=function(){this.notFoundIds.clear()};f.store=function(a,b,c,d){if(!Jj(c,5))for(Lj(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(Rq(a,String(c)));this.storeItems(e,d,c)}};f.storeItems=function(a,b,c){this.storage.storeItems(2,a,b,c)};
f.load=function(a,b,c){b=this.storage.load(String(a),b);c&&b&&(b=bib(a).filterResult(b));return b};var sed={ids:[],cacheKey:"",primingTimeoutMillis:0};var ted=function(){};ted.prototype.loadOrSkip=function(){return null};ted.prototype.resultCount=function(){return 0};ted.prototype.isDone=function(){return!0};var ued=new ted;var ved=function(){this.prefix_="";this.terms_=[];this.format_=0;this.collector_=ued;this.boostKey_=sed;this.listener_=function(){}};f=ved.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 wed=new ved;var xed=function(){this.fetchDone_=Promise.resolve((new Ar).setCode(0))};f=xed.prototype;f.getCacheType=function(){return 0};f.flush=function(){};f.fetch=function(){return this.fetchDone_};f.index=function(){};f.search=function(){return[]};var yed=new xed;var zed=function(a){a=Array.from(new Set(a));this.primary_=a.find(function(b){return 1===b.getCacheType()})||yed;this.prefetched_=a.filter(function(b){return 2===b.getCacheType()||1===b.getCacheType()});this.lazyLoaded_=a.filter(function(b){return 3===b.getCacheType()})};
zed.prototype.prefetch=function(a){var b=this,c,d,e,g,h;return he(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)})};
zed.prototype.warmUpSession=function(a){var b=this;if(1===a.queryScope())return Promise.resolve([(new Ar).setProvenance(2).setCode(1)]);var c=this.prefetched_.filter(function(d){return d!==b.primary_});2!==a.queryScope()&&c.push.apply(c,Vc(this.lazyLoaded_));return Promise.all(c.map(function(d){return d.fetch(a)}))};
var Aed=function(a){var b=[a.primary_].concat(Vc(a.prefetched_.filter(function(d){return d!==a.primary_})),Vc(a.lazyLoaded_)).reverse();b=k(b);for(var c=b.next();!c.done;c=b.next())c.value.flush()},Bed=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,Vc(d.search(b)))}return c},Ded=function(a,b,c){var d,e,g,h;return he(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(Ced(h,b,c,d===h),3)}g=e.next();return l.jumpTo(2)})},Ced=function(a,b,c,d){var e,g;return he(function(h){if(1==h.nextAddress)return 1===b.queryScope()?(e=c3((new Ar).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);me(h)})};var Eed=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=Eed.prototype;f.getLastUpdatedTimestamp=function(){return this.storage_.getExpiry().getTimestamp()};f.getAffinityVersion=function(){return this.storage_.getAffinityVersion()};
f.warmUpCache=function(){l4(this,wed);return this.cacheWarming_&&this.storage_.getExpiry().isExpired()?this.cacheWarming_:Promise.resolve(f3(e3((new d3).setSource(c3(new Ar,!1).setProvenance(1).setCode(0)),m4(this)),m4(this)))};f.flushCache=function(a){switch(a){case 2:return Fed(this),Promise.resolve(new d3);case 1:return this.storage_.markAsStale(),Promise.resolve(new d3);default:return this.warmUpCache()}};
f.warmUpSession=function(a){var b=this,c,d,e,g,h;return he(function(l){switch(l.nextAddress){case 1:c=e3(new d3,m4(b));l4(b,a);if(!b.cacheWarming_){l.jumpTo(2);break}return l.yield(b.cacheWarming_,2);case 2:return ie(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 Ar).setProvenance(2).setCode(0),l.return(f3(c.setSource(e),m4(b)));case 5:je(l);b.sessionWarming_=
null;ke(l,0);break;case 4:return g=le(l),h=g instanceof Ar?g:(new Ar).setProvenance(2).setCode(13),l.return(Promise.reject(f3(c.setSource(h),m4(b))))}})};
f.search=function(a){var b=this,c,d,e,g,h;return he(function(l){switch(l.nextAddress){case 1:Ged(b);ie(l,2);d=m4(b);l4(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=f3(e3((new d3).setSource(c3(new Ar,!1).setProvenance(1).setCode(0)),d),m4(b)),
l4(b,a)),l.yield(Hed(b,a,c),10);case 10:ms(l,0);break;case 2:g=le(l);if(a.isCancelled())return l.return();g instanceof d3?c=g:(h=g instanceof Ar?g:(new Ar).setCode(13),f3(c.setSource(h),m4(b)));a.getListener()(new h3([],(new g3).setQuery(a.getPrefix()).setIsLastCallback(!0).setCacheState(c).setCode(c.getSource().getCode())));me(l)}})};
var Hed=function(a,b,c){var d,e,g,h;return he(function(l){if(1==l.nextAddress){if(b.isCancelled())return l.return();d=Bed(a.prefixSearch_,b);e=(new g3).setIsLastCallback(b.isSuggestQuery()).setQuery(b.getPrefix()).setCode(c.getSource().getCode()).setCacheState(c);b.getListener()(new h3(d,e));if(e.getIsLastCallback())return l.return();g=!1;return l.yield(Ded(a.prefixSearch_,b,function(q,x,A){x=(new g3).setIsLastCallback(A).setQuery(b.getPrefix()).setCode(x.getCode()).setCacheState(f3(e3((new d3).setSource(x),
wr(c,2)),m4(a)));b.getListener()(new h3(q,x));x.getIsLastCallback()&&(g=!0)}),2)}g||b.isCancelled()||(h=(new g3).setIsLastCallback(!0).setQuery(b.getPrefix()).setCode(0).setCacheState(f3(e3((new d3).setSource((new Ar).setProvenance(10).setCode(0)),wr(c,2)),m4(a))),b.getListener()(new h3([],h)));me(l)})};
Eed.prototype.lookup=function(a,b,c){var d=this;Ged(this);l4(this,wed);var e=e3(new d3,m4(this));this.lookupCache_.lookup(a,W(this.clientInfo_,17,1),function(g,h){e.setSource(h);f3(e,m4(d));g.getMetadata().setCacheState(e);b(g)},c)};
Eed.prototype.list=function(a,b,c,d){var e=this;l4(this,wed);var g=e3(new d3,m4(this));this.listCache_.list(a,b,W(this.clientInfo_,18,1),function(h,l){var q=h.results;var x=new I8c;x=n(x,1,h.begin);c(new J8c(q,x.setEnd(h.end).setTotalItems(h.totalItems).setCode(l.getCode()).setCacheState(f3(g.setSource(l),m4(e)))))},d)};
var l4=function(a,b){if(a.storage_.getExpiry().isStale()&&(a.storage_.getExpiry().isExpired()&&a.storage_.getExpiry().getTimestamp()&&Fed(a),!a.cacheWarming_)){var c=m4(a);a.cacheWarming_=new Promise(function(d,e){var g,h,l,q;return he(function(x){switch(x.nextAddress){case 1:return g=e3(new d3,c),ie(x,2,3),x.yield(a.prefixSearch_.prefetch(b),5);case 5:h=x.yieldResult,f3(g,m4(a)).setSource(h),d(g);case 3:je(x);a.cacheWarming_=null;ke(x,0);break;case 2:l=le(x),q=l instanceof Ar?l:(new Ar).setCode(13),
f3(g,m4(a)).setSource(q),e(g),x.jumpTo(3)}})})}},m4=function(a){return a.storage_.getExpiry().getStatus()},Fed=function(a){Aed(a.prefixSearch_);a.lookupCache_.flush();a.listCache_.flush();a.storage_.flush()},Ged=function(a){var b=1===m4(a)?1:2;a.trackers_.count(b).increment()};var Ied=function(a){this.itemResolver_=a},Jed=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(P8c).filter(Boolean),q=l.length-1;if(0<q){var x=l.join("-"),A=l.join(".");l.push(x);for(l.push(A);0<q;q--)l[q-1]+=l[q]}l.push(e);l.push(e.replace(Egb,""));"+"===e[0]&&l.push("+"+l[0]);h.call(g,c,Vc(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=k4(a.itemResolver_,d.value))&&Jed(a,d,c);return c};var Ked=new K8c,Led=function(a,b,c){this.itemResolver_=a;this.lookupCache_=b;this.trackers_=c;this.indexer_=new Ied(a);this.trieRoots_=new Map},Sdd=function(a,b,c,d){var e=(a.trieRoots_.get(c)||j3).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=Pdd(b).map(Cyc);a.lookupCache_.lookup(q,c,function(x){var A=Array.from(x.getResults().keys(),String);A=Med(a,A);Array.prototype.push.apply(e.items_,
A);R8c(e);x.getMetadata().getIsLastCallback()&&(g.stop(),l(e))},Ked)});return fib(h,e,d)},$8c=function(a,b){a=Med(a,b);return new i3(a)},Med=function(a,b){var c=[];b=k(b);for(var d=b.next();!d.done;d=b.next()){d=d.value;var e=k4(a.itemResolver_,d);e&&(e=Jed(a.indexer_,e),c.push(new Q8c(d,e)))}return c};var Ned=function(){this.queryId_=0};Ned.prototype.getQueryId=function(){return this.queryId_};var Oed=function(a){this.delegate=a};f=Oed.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 he(function(c){return c.return(b.delegate.warmUpSession(a))})};f.search=function(a){var b=this;return he(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 Ped=function(){this.delegate=qed};Ped.prototype.filterResult=function(a){return this.delegate.filterResult(a)};Ped.prototype.reset=function(a){this.delegate.reset(a)};var Qed=function(a,b){a.delegate=null!=b?b:qed};var Red=function(a){this.delegate=a};f=Red.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 Sed=function(a,b){this.delegate_=a;this.limit_=b;this.count_=0};Sed.prototype.loadOrSkip=function(a){a=this.delegate_.loadOrSkip(a);if(!a)return null;this.count_++;return a};Sed.prototype.resultCount=function(){return this.count_};Sed.prototype.isDone=function(){return this.count_>=this.limit_||this.delegate_.isDone()};var Ted=function(a,b,c,d){this.delegate=a;var e=this;this.isLastSlot=d;d=a.getCollector();0<c.limit&&(d=new Sed(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?dib.apply(null,Vc(d)):null;var g;this.scope=null!=(g=c.scope)?g:a.queryScope()};U(Ted,Red);f=Ted.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 Ued=function(a,b,c,d){this.delegate=a;this.slots=b;this.filterInterceptor=c;this.originalFilter=d};U(Ued,Oed);
Ued.prototype.search=function(a){var b=this,c,d,e,g,h,l;return he(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(x){return!c.has(x.visibility)}),e=d.map(function(x,A){return new Ted(a,b.originalFilter,x,A===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}Qed(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 Ved=function(a,b,c){this.delegate=a;var d=this;this.query_=b;this.terms_=Hgb([b]);this.id_=Uq(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 Vgb).setDisplayName(c),q=h.getPrimaryTarget();h=Shb(h,new oed(q,l))}return h});e=new h3(g,e.getMetadata());a.getListener()(e)}};U(Ved,Red);Ved.prototype.getPrefix=function(){return this.query_};Ved.prototype.getTerms=function(){return this.terms_};
Ved.prototype.getListener=function(){return this.listener_};var Wed=function(a,b,c){this.cache_=a;this.queryFactory_=b;this.querySession_=new Ned;this.clientInfo_=c};f=Wed.prototype;f.warmUpSession=function(a){a=Xed(this.queryFactory_,"",this.querySession_,a,function(){});return this.cache_.warmUpSession(a)};f.suggest=function(a,b){a=Xed(this.queryFactory_,"",this.querySession_,b,a);this.cache_.search(a)};
f.search=function(a,b,c){a=Xed(this.queryFactory_,a,this.querySession_,c,b);Jj(this.clientInfo_,28,!1)&&(b=a.getPrefix(),b.includes("<")&&(c=qyc(b),c.isValid()||(c=qyc(b+">")),a=c.isValid()&&c.getName()?new Ved(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 Yed=function(a,b,c){var d=this;this.cache_=a;this.queryFactory_=b;this.clientInfo_=c;this.getSessionCache_=Jj(c,34,!1)?function(e){var g=d.cache_,h=e.slots_;if(h.length){var l=e.getFilter(),q=new Ped;e.setFilter(q);e=new Ued(g,h,q,l)}else e=g;return e}:function(){return d.cache_}};f=Yed.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 Wed(a,this.queryFactory_,this.clientInfo_)};var Zed=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_=gib(this,g);this.isEmailAddress_=null};f=Zed.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_=syc(this.prefix_));return this.isEmailAddress_};f.queryScope=function(){return this.delegate_.queryScope()};f.getResultFilter=function(){return this.filter_};var $ed=function(a,b,c){this.format_=a;this.querySession_=b;this.queryScope_=c;this.id_=++this.querySession_.queryId_};$ed.prototype.getFormat=function(){return this.format_};$ed.prototype.isCancelled=function(){return this.querySession_.getQueryId()!==this.id_};$ed.prototype.queryScope=function(){return this.queryScope_};var n4=function(){this.foundKeys_=new Set};U(n4,ped);n4.prototype.shouldRemove=function(a){return this.foundKeys_.has(String(a.getId()))};n4.prototype.has=function(a){return this.foundKeys_.has(a)};n4.prototype.add=function(a){this.foundKeys_.add(a)};n4.prototype.reset=function(){this.foundKeys_.clear()};var afd=function(a){this.delegate_=a;this.filter_=new n4};afd.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};afd.prototype.resultCount=function(){return this.delegate_.resultCount()};afd.prototype.isDone=function(){return this.delegate_.isDone()};var bfd=function(a,b,c){this.delegate_=a;this.filter_=b;this.filter_.reset(c)};bfd.prototype.loadOrSkip=function(a){a=this.delegate_.loadOrSkip(a);return a?(a=this.filter_.filterResult(a))&&a.getTargetList().length?a:null:null};bfd.prototype.resultCount=function(){return this.delegate_.resultCount()};bfd.prototype.isDone=function(){return this.delegate_.isDone()};var cfd=function(a,b){this.storage_=a;this.format_=b};cfd.prototype.loadOrSkip=function(a){return this.storage_.load(a,this.format_)||null};cfd.prototype.resultCount=function(){return 0};cfd.prototype.isDone=function(){return!1};var dfd=[198,230,306,307,338,339],efd=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)"+gn(b),"g")})},hib=function(a,b){var c=[];if(!b||!a.matchers_.length)return c;var d=Qq(Fgb(b)).replace(Ggb,"").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++):dfd.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 qr=function(a,b){this.start_=a;this.end_=b};qr.prototype.getStart=function(){return this.start_};qr.prototype.getEnd=function(){return this.end_};var iib=function(a,b,c){this.displayNameMatches_=a;this.displayValueMatches_=b;this.givenNameMatches_=c};iib.prototype.getDisplayNameMatches=function(){return this.displayNameMatches_};iib.prototype.getDisplayValueMatches=function(){return this.displayValueMatches_};iib.prototype.getGivenNameMatches=function(){return this.givenNameMatches_};var ffd=function(a,b){this.delegate_=a;this.matcher_=b;this.memberList_=a.getMemberList().map(function(c){return new ffd(c,b)});this.matchInfo_=null};U(ffd,f2);ffd.prototype.getMemberList=function(){return this.memberList_};ffd.prototype.getMatchInfo=function(){if(!this.matchInfo_){var a,b=(null==(a=this.getDelegate().getPrimaryTarget().getName())?void 0:a.getGivenName())||"";this.matchInfo_=jib(this.matcher_,this.getDelegate().getDisplayName(),this.getDelegate().getDisplayValue(),b)}return this.matchInfo_};var gfd=function(a,b){this.delegate_=a;this.matcher_=new efd(b)};gfd.prototype.loadOrSkip=function(a){return(a=this.delegate_.loadOrSkip(a))?new ffd(a,this.matcher_):null};gfd.prototype.resultCount=function(){return this.delegate_.resultCount()};gfd.prototype.isDone=function(){return this.delegate_.isDone()};var hfd=/\s+/g,ifd=function(a,b){this.clientInfo_=a;this.storage_=b},Xed=function(a,b,c,d,e){var g=Hgb([b]);b=(b||"").replace(hfd," ").trim();var h=!g.length;var l=a.clientInfo_;l=h?d.getSuggestFormat()||l.getSuggestFormat():d.getSearchFormat()||l.getSearchFormat();h=h?Gh(a.clientInfo_,1,10):Gh(a.clientInfo_,2,10);var q=d.boostIds_;var x=d.primingTimeoutMillis_;if(q.length){q=q.map(String);var A=jhb(q)+":"+q.length;x={ids:q,cacheKey:A,primingTimeoutMillis:x}}else x=sed;q=d.getFilter();a=new cfd(a.storage_,
l);q&&(a=new bfd(a,q,b));a=new afd(a);a=new Sed(a,h);a=g.length?new gfd(a,g):a;d=d.getQueryScope();c=new $ed(l,c,d);return new Zed(c,b,g,a,x,e,q)};var jfd=function(a){this.fetcher=a};jfd.prototype.getStageType=function(){return 2};jfd.prototype.lookup=function(a){var b=this,c,d,e,g,h,l,q,x,A;return he(function(B){switch(B.nextAddress){case 1:c=lib(b9c(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;x=l;A=q;if(!x){B.jumpTo(3);break}return B.yield(b.fetcher.fetch(A,x,a.getFormat(),function(K,N){a.notify(K,[],N)},a.getOptions()),3);case 3:e=d.next();B.jumpTo(2);break;case 4:return B.return()}})};var kfd=function(a,b){this.delegate=a;this.maxLookupChunkSize=M9c(b)};kfd.prototype.fetch=function(a,b,c,d,e){var g=this,h,l,q;return he(function(x){switch(x.nextAddress){case 1:var A=g.maxLookupChunkSize;if(a.length)if(a.length<=A)A=[a];else{for(var B=[],K=0;K<a.length;K+=A){var N=a.slice(K,K+A);N.length&&B.push(N)}A=B}else A=[];h=k(A);l=h.next();case 2:if(l.done){x.jumpTo(4);break}q=l.value;return x.yield(g.delegate.fetch(q,b,c,d,e),3);case 3:l=h.next();x.jumpTo(2);break;case 4:return x.return()}})};var lfd=function(a,b,c){this.trackers=a;this.loader=b;this.indexer=c};
lfd.prototype.fetch=function(a,b,c,d,e){var g=this,h,l,q,x,A,B,K,N,P,Y,X;return he(function(ka){switch(ka.nextAddress){case 1:return h=3===b?4:3,l=c3((new Ar).setProvenance(h),!0).setCode(0),ie(ka,2),ka.yield(g.loader.loadLookupItems(b,a.map(function(ma){return ma.getOriginalValue()}),hed),4);case 4:q=ka.yieldResult;q.metadata.getCode()&&l.setCode(q.metadata.getCode());x=3===e.getQueryScope();try{g.indexer.store(b,q.data,q.metadata,x)}catch(ma){g.trackers.error(21,10).report(),l.setCode(13)}ms(ka,
3);break;case 2:A=le(ka),B=Number(A),l.setCode(isFinite(B)&&B?B:13);case 3:K=new Map;N=k(a);for(P=N.next();!P.done;P=N.next())Y=P.value,(X=g.indexer.load(Y,c,e.useOriginalDisplayValue_))&&K.set(Y,X);d(K,l);return ka.return()}})};var mfd=function(a){this.indexer=a};mfd.prototype.getStageType=function(){return 1};mfd.prototype.lookup=function(a){var b=this,c,d,e,g,h,l;return he(function(q){c=new Map;d=[];e=k(b9c(a));for(g=e.next();!g.done;g=e.next())if(h=g.value,l=b.indexer.load(h,a.getFormat(),a.getOptions().useOriginalDisplayValue_))c.set(h,l);else{var x=b.indexer;(Dyc(h)?x.notFoundIds.get(String(h)):1)&&d.push(h)}a.notify(c,d,c3((new Ar).setProvenance(6),!1).setCode(0));return q.return()})};var nfd=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"),ofd=function(a,b,c,d,e){this.loader_=a;this.ranker_=b;this.trieFactory_=c;this.storage_=d;this.placeholderFactory_=Xhb(e);this.indexes_=k3(Gh(e,8,250),1E3*hj(e,9,3600));this.notFound_=k3(Gh(e,10,500),1E3*hj(e,11,600))};f=ofd.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 he(function(g){switch(g.nextAddress){case 1:c=c3(new Ar,!0).setProvenance(2).setCode(0);if(a.isSuggestQuery())return b.loader_.warmUpServer(ged).catch(function(){}),g.return(c);if(b.canSkipFetch_(a))return g.return(c3(c,!1));ie(g,2);return g.yield(b.loader_.loadAutocompleteItems(a,hed),4);case 4:d=g.yieldResult;ms(g,3);break;case 2:return e=le(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(!Jj(c,5))if(Lj(c,5,!0),b.length){c=Y8c(this.ranker_,b,1);var d=3===a.queryScope();this.storage_.storeItems(1,b,d);b=$8c(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(nfd))break;if(this.notFound_.has(c))return!0}return!1};var pfd=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=pfd.prototype;f.getCacheType=function(){return 1};f.flush=function(){this.indexes_.clear()};
f.fetch=function(a){var b=this,c,d,e,g;return he(function(h){switch(h.nextAddress){case 1:return c=c3(new Ar,!0).setProvenance(1).setCode(0),d=b.storage_.getExpiry().isExpired()?hed:ged,ie(h,2),h.yield(b.loader_.loadRankedItems(d),4);case 4:e=h.yieldResult;ms(h,3);break;case 2:return g=le(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())||j3).search(a.getTerms()).getMatches(a.getCollector()):[]};f.index=function(a,b,c){if(!Jj(c,5)){Lj(c,5,!0);a=1!==this.coalescedSortOrder_?Y8c(this.ranker_,b,this.coalescedSortOrder_):null;var d=Y8c(this.ranker_,b,1);this.storage_.flush();this.storage_.storeItems(1,b);this.storage_.markAsFresh(c);b=$8c(this.trieFactory_,d);c=a?$8c(this.trieFactory_,a):b;this.indexes_.set(1,b);this.indexes_.set(2,c)}};var qfd=new j9c(27,32,33),rfd=new j9c(24,23,20);var sfd=function(){};sfd.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_,x=a.clientConfig.getClient();if(0<x.getCacheSize()){var A=W(x,19,1);A=new pfd(e,q,g,c,A);A=new m3(A,b,rfd);h.push(A);l.push(new mfd(d))}0<Gh(x,2,10)&&(c=new ofd(e,q,g,c,x),b=new m3(c,b,qfd),h.push(b));h=new lfd(a.trackers,a.loader,a.indexer);h=new kfd(h,a.clientConfig);l.push(new jfd(h))};var tfd=function(a){this.delegate=a};f=tfd.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 ufd=function(a){this.delegate=a};f=ufd.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 vfd=function(a,b,c){this.idType_=a;this.id_=b;this.options_=c};vfd.prototype.getId=function(){return this.id_};vfd.prototype.getIndex=function(){return this.getId()+":"+this.idType_+":"+this.options_.getIndex()};var wfd=function(a,b,c){this.idType_=a;this.ids_=b;this.options_=c};f=wfd.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 vfd(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 wfd(a,b,c)};var xfd=function(a,b){this.ids_=new Set(b.getIds());this.parameters_=b.clone();this.loader_=a;this.resolver_=new r3c;this.isSent_=!1};xfd.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)}};xfd.prototype.promise=function(){return this.resolver_.promise};
xfd.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 yfd=function(a,b,c){this.delegate_=a;this.batchedRequest_=null;this.tracker_=b;this.maxRequestSize_=M9c(c);this.lastRequestCreationTime_=0};
yfd.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 xfd(this.delegate_,a);a=Date.now();var d=a-this.lastRequestCreationTime_;this.lastRequestCreationTime_=a;Wn(function(){c===b.batchedRequest_&&(c.send(),b.batchedRequest_=null)},30<d?0:30)}return this.batchedRequest_.promise()};var zfd=function(a,b){this.delegate_=a;this.inflightRequests_=U8c();this.tracker_=b};
zfd.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 xfd(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 x=k(l.getKeys()),A=x.next();!A.done;A=x.next())b.inflightRequests_.delete(A.value.getIndex())})}c=Array.from(c);return Promise.all(c.map(function(x){return x.promise()})).then(function(x){return q?q.promise().then(function(A){return mib(x,A.metadata)}):mib(x)})};var Afd=function(a){this.peopleLoader_=a};Afd.prototype.load=function(a){return this.peopleLoader_.loadLookupItems(a.getIdType(),a.getIds(),a.getOptions())};var Bfd=function(a,b,c){this.peopleLoader_=a;this.gatedLoaders_=new Map;this.tracker_=b;this.clientConfig_=c};Bfd.prototype.load=function(a){if(!this.gatedLoaders_.has(a.getIdType())){var b=new Afd(this.peopleLoader_);b=new yfd(b,this.tracker_,this.clientConfig_);b=new zfd(b,this.tracker_);this.gatedLoaders_.set(a.getIdType(),b)}return this.gatedLoaders_.get(a.getIdType()).load(a)};var Cfd=function(a,b,c){this.delegate_=a;this.trackers_=b;this.searchRequests_=new Map;this.lookupLoader_=new Bfd(this.delegate_,this.trackers_,c)},Dfd=function(a,b,c,d){var e,g;return he(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);je(h);a.searchRequests_.delete(e);
return ke(h,0)})};f=Cfd.prototype;f.loadRankedItems=function(a){var b=this;return Dfd(this,81,"",function(){return b.delegate_.loadRankedItems(a)})};f.warmUpServer=function(a){var b=this;return Dfd(this,82,"",function(){return b.delegate_.warmUpServer(a)})};f.loadAutocompleteItems=function(a,b){var c=this;return Dfd(this,82,a.getPrefix(),function(){return c.delegate_.loadAutocompleteItems(a,b)})};f.loadLookupItems=function(a,b,c){return this.lookupLoader_.load(new wfd(a,b,c))};
f.loadContactItems=function(a,b){return this.delegate_.loadContactItems(a,b)};var Efd=function(){return Date.now()},Ffd=function(a,b,c){this.delegate_=a;this.nowFn_=c;this.cacheFlushRateMillis_=1E3*hj(b.getClient(),14,300);this.serverWarmupRateMillis_=1E3*hj(b.getClient(),13,60);this.lastServerWarmup_=this.lastCacheFlush_=0};f=Ffd.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 Gfd=function(a,b,c){this.delegate_=a;this.listener_=b;this.options_=c;this.delegate_.warmUpSession(c)};f=Gfd.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?g6c:a;return this.delegate_.getReporter(a)};f.getHide=function(){return this.delegate_.getHide()};var Hfd=function(a,b){this.delegate_=a;this.members_=b;this.totalMemberCount_=zq(a.getPrimaryTarget().getId())?b.length:a.getTotalMemberCount()};U(Hfd,f2);Hfd.prototype.getMemberList=function(){return this.members_};Hfd.prototype.getTotalMemberCount=function(){return this.totalMemberCount_};var Ifd=function(a){this.filter_=a};Ifd.prototype.filterResult=function(a){var b=this;if(!zq(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 Op(new Hfd(a,c))};Ifd.prototype.reset=function(a){this.filter_.reset(a)};var nib=function(a){this.filter_=dib(a,new Ifd(a))};nib.prototype.filterResult=function(a){return this.filter_.filterResult(a)};
nib.prototype.reset=function(a){this.filter_.reset(a)};var Jfd=function(a){this.delegate_=a};f=Jfd.prototype;f.warmUpCache=function(){return this.delegate_.warmUpCache().then(function(){return Promise.resolve()},function(a){var b=2;a instanceof d3&&(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 K8c:c;c.setFilter(oib(c.getFilter()));this.delegate_.lookup(a,b,c);return this};
f.list=function(a,b,c,d){d=void 0===d?new H8c:d;d.setFilter(oib(d.getFilter()));this.delegate_.list(a,b,c,d);return this};f.beginSession=function(a,b){b=void 0===b?new Jq:b;b=b.clone();b.setFilter(oib(b.getFilter()));var c=this.delegate_.beginSession(b);return new Gfd(c,a,b)};var Kfd=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]]),Lfd=new Map([[2,13],[3,6]]),Mfd=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 pib=new Map([[1,1],[2,3],[3,5]]),Nfd=new Map([[1,2],[2,4],[3,5],[4,8],[6,15],[7,19],[10,20]]),Ofd=new Map([[1,2],[2,9],[3,6],[4,6],[6,15],[7,19],[10,20]]),Pfd=function(a,b){this.logContext_=sib(a,b)};f=Pfd.prototype;f.getLogContext=function(){return this.logContext_};
f.createCountMetric=function(a,b,c){var d=b.source(),e=new R3;switch(d.getEventType()){case 1:d=e.setCount;b=W(b.source(),4,0);var g=new ead;g.setType(b);g.setValue(c);d.call(e,g);e.setEventType(1);break;case 4:case 5:c=e.setRpcRequest;b=W(b.source(),3,0);d=new Q3;d.setLabel(b);c.call(e,d);e.setEventType(4);break;case 6:case 7:c=e.setApiCall;b=b.source();d=W(b,2,0);g=new X$c;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 R3;switch(d.getEventType()){case 4:case 5:d=e.setRpcResponse;var g=b.source(),h=W(g,3,0);var l=W(g,13,0)||0;l=Lfd.get(l)||Kfd.get(c)||0;var q=b.durationUsec("blocked"),x=b.durationUsec("network"),A=b.durationUsec("processed");b=new xad;b.setLabel(h);b.setStatus(l);b.setBlockedUsec(q);b.setLatencyUsec(x);n(b,9,A);b.setStatusCode(c);Gh(g,12,0)&&(c=Gh(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=W(h,2,0);g=new aad;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=Mfd.get(c)||0;g.setStatus(c);c=h.getResultIndex();g.setResultIndex(c);if(b=h.getCacheState())c=qib(kr(b,2)),n(g,5,c),c=qib(kr(b,3)),n(g,6,c),c=g.setDataSource,h=b.getSource(),
b=!Jj(h,1),h=h.getProvenance(),b=(b?Ofd.get(h):Nfd.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 R3;d.setClientInterface(a);a=d.setLatency;var e=W(b.source(),5,0);if(37===e||38===e||40===e){e=W(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 O3;g.setType(e);isFinite(b)&&g.setLatencyUsec(b);e=g}else b=b.durationUsec("total"),g=new O3,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 R3;d.setClientInterface(a);a=d.setError;var e=b.source();b=e.getErrorType();e=W(e,7,0);var g=new N3;g.setType(b);n(g,4,e);a.call(d,g);d.setEventType(c.getEventType());return d};var Qfd=function(a,b){this.delegate_=a;this.trackers_=b};f=Qfd.prototype;f.reportDisplay=function(a){this.delegate_.reportDisplay(a)};f.reportSelect=function(a,b){b=void 0===b?new h6c: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();Rfd(this)};
f.reportSave=function(a){this.delegate_.reportSave(a);Rfd(this)};f.reportSecondaryAction=function(a){this.delegate_.reportSecondaryAction(a);Rfd(this)};f.reportSend=function(a){this.delegate_.reportSend(a);Rfd(this)};var Rfd=function(a){a=a.trackers_;var b=a.api,c=new er;hr(c.setEventType(6),3);b.call(a,c).call()};var Sfd=function(a,b){this.delegate_=this.delegate=a;this.trackers_=b};U(Sfd,tfd);
Sfd.prototype.suggest=function(a,b){var c=this;try{var d=!1,e=!1,g=this.trackers_.api(xhb(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(x){throw c.trackers_.error(22,11).report(),x;}finally{l.stop()}},b)}catch(h){throw this.trackers_.error(22,1).report(),h;}};
Sfd.prototype.search=function(a,b,c){var d=this;try{var e=!1,g=!1,h=this.trackers_.api(whb(a,c.getQueryScope()));h.call();this.delegate_.search(a,function(l){var q=l.getMetadata(),x=q.getCacheState();h.source.setCacheState(x);h.source.setItemCount(l.getResults().length);h.result(x.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(A){throw d.trackers_.error(23,11).report(),A;}finally{q.stop()}},c)}catch(l){throw this.trackers_.error(23,1).report(),l;}};Sfd.prototype.getReporter=function(a){a=this.delegate_.getReporter(a);return new Qfd(a,this.trackers_)};var Tfd=function(a,b){this.delegate_=this.delegate=a;a=this.trackers_=b;b=a.api;var c=new er;hr(c.setEventType(6),1);b.call(a,c).call()};U(Tfd,ufd);f=Tfd.prototype;
f.warmUpCache=function(){var a=this,b=this.trackers_.api(vhb());b.call();return this.delegate_.warmUpCache().then(function(c){b.source.setCacheState(c);b.result(c.getSource().getCode());return c},function(c){c instanceof d3?(b.source.setCacheState(c),b.result(c.getSource().getCode())):(a.trackers_.error(17,1).report(),c=(new d3).setSource((new Ar).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 er;hr(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(thb(a,c.getQueryScope()));h.call();this.delegate_.lookup(a,function(l){var q=l.getMetadata(),x=q.getCacheState();h.source.setCacheState(x);h.source.setItemCount(l.getResults().size);for(var A=0,B=0,K=0,N=k(l.getResults().keys()),P=N.next();!P.done;P=N.next()){var Y=P.value;wyc.includes(Y.getType())?A++:xyc.includes(Y.getType())?B++:yyc.includes(Y.getType())&&K++}var X=0;N=Y=0;var ka=k(q.notFoundIdList_);for(P=ka.next();!P.done;P=
ka.next())P=P.value,wyc.includes(P.getType())?X++:xyc.includes(P.getType())?Y++:yyc.includes(P.getType())&&N++;P=h.source.getLookupInfo();A=n(P,2,A);B=n(A,1,B);K=n(B,3,K);K=n(K,5,X);K=n(K,4,Y);n(K,6,N);h.result(x.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(ma){throw d.trackers_.error(8,11).report(),ma;}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(uhb());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 er;hr(d.setEventType(6),2);c.call(b,d).call();a=this.delegate_.beginSession(a);return new Sfd(a,this.trackers_)};var Ufd=function(a,b){this.clearcut_=a;this.logEventFactory_=b};Ufd.prototype.report=function(a){var b=Lyc(this.clearcut_);a=this.logEventFactory_.eventsFactory_.create(b,a);a=k(a);for(b=a.next();!b.done;b=a.next())Myc(this.clearcut_,b.value)};var Vfd=function(a){this.clearcut_=a};Vfd.prototype.report=function(a){this.clearcut_.report(a);return this};var Wfd=function(a){this.writer_=a},Yfd=function(a,b,c){var d=new Zxc,e=a.writer_,g=d.getMetadata()||new PQ;d.setMetadata(g);var h=uq(b)||new or;a=Z(b,pr,1)||new pr;e.metadataStateWriter_.write(g,h,(Jj(a,9,!0)?Gh(h,2,0):Gh(h,1,0))||0,Xfd(b));e.contactInfoWriter_.write(d,a,c,h.getProvenance()||0);b=Z(d,OQ,4)||new OQ;Yi(d,OQ,4,b);Z(d,OQ,4).setType(a.getFieldTypeOrUndefined());d.setLoggingId(dt(a,2));return d};var Zfd=function(){};
Zfd.prototype.create=function(a,b,c){var d=new LQ;d.setQueryId(gj(b,3,0));d.setSelectionId(gj(b,4,0));var e=gj(b,5,0);n(d,3,e);d.setInstanceId(b.getInstanceId());d.setAffinityVersion(b.getAffinityVersionOrUndefined());e=new Jxc;Yi(e,LQ,3,d);7!==c&&b.hasQuery()&&(d=b.getQuery(),2===c&&e.setQuery(d),e.setQueryLength(d.length));var g=new MQ;d=fMa(hj(b,9,0)-hj(b,8,0));n(g,2,d);d=new QQ;Yi(d,Jxc,1,e);Yi(d,MQ,6,g);e=new Gxc;if(g=gj(b,6,0)){n(e,3,1E3*g);var h=1E3*(Date.now()-g);n(e,2,h)}Lj(e,1,!!g);Yi(d,
Gxc,3,e);d.setAffinityVersion(b.getAffinityVersionOrUndefined());b=new dyc;b.setEventType(c);b.setMetadata(d);b.setClientInterface(a.clone());return b};var $fd=function(){};$fd.prototype.extractPersonEventSource=function(a){return kr(tib(a),4)};$fd.prototype.extractFieldEventSource=function(a){return kr(tib(a),3)};var agd=function(){};agd.prototype.extractPersonEventSource=function(a){var b=a.getSources()||new vr;return(a.getQuery()||"").length?kr(b,2):kr(b,4)};agd.prototype.extractFieldEventSource=function(a){var b=a.getSources()||new vr;return(a.getQuery()||"").length?kr(b,1):kr(b,3)};var bgd=function(){};bgd.prototype.extractPersonEventSource=function(a){return kr(uib(a),4)};bgd.prototype.extractFieldEventSource=function(a){return kr(uib(a),3)};var cgd=function(a,b,c){this.defaultTokenGroups_=a;this.additionTokenGroups_=b;this.replacementTokenGroups_=c};var dgd=new Map([[1,11],[2,12],[0,0]]),egd=function(){};egd.prototype.write=function(a,b,c){var d=new NQ;n(d,1,c);c=new Txc;c.setPosition(d);c.setExistingSelectionsCount(b.getExistingSelectionsCount());Yi(a,Txc,8,c);b=[dgd.get(b.getContext())];al(a,3,b)};var fgd=new Map([[1,5],[2,4],[3,6],[7,13]]),ggd=function(){};ggd.prototype.write=function(a,b,c,d){var e=new NQ;n(e,1,c);a.setPosition(e);c=fgd.get(b.getProvenance())||0;d||1===W(b,4,0)?c=3:2===W(b,4,0)&&(c=10);al(a,3,[c])};var hgd=new Set([9,1,2]),igd=function(){};
igd.prototype.write=function(a,b,c,d){if(8===c||10===c||9===c||2===c&&hgd.has(d))c=new OQ,1!==b.getFieldType_legacyNullable()&&7!==b.getFieldType_legacyNullable()||c.setEmail(dt(b,3)),2!==b.getFieldType_legacyNullable()&&5!==b.getFieldType_legacyNullable()||c.setPhone(dt(b,3)),b.hasProfileId()&&c.setObfuscatedGaiaId(b.getProfileId()),b.hasGroupId()&&c.setGroupId(b.getGroupId()),Yi(a,OQ,4,c),c=new Wxc,c.setName(b.getNameOrUndefined()),b=a.getMetadata()||new PQ,Yi(b,Wxc,2,c),a.setMetadata(b)};var jgd=function(a){var b=new igd;this.metadataStateWriter_=a;this.contactInfoWriter_=b},Xfd=function(a){var b;return(null==(b=Z(a,pr,1))?0:b.getIsPlaceholder())?!0:!1};var yr=function(a){r.call(this,a)};U(yr,r);f=yr.prototype;f.getEventType=function(){return W(this,1,0)};f.getEventType_legacyNullable=function(){return kr(this,1)};f.setEventType=function(a){return n(this,1,a)};f.getSessionState=function(){return Z(this,b2,2)};f.setSessionState=function(a){Yi(this,b2,2,a)};f.hasSessionState=function(){return Dj(this,b2,2)};f.setEventSources=function(a){Yi(this,vr,4,a)};yr.repeatedFields_=[3];
yr.prototype.toObject=function(){if(null!=this){t(this);var a={eventType:p(kr(this,1)),sessionState:Y1c(this.getSessionState()),tokensList:Kb(aj(this,nr,3),a2c),eventSources:a2(Z(this,vr,4))}}else a=void 0;return a};var kgd=new Set([8]),lgd=function(){this.defaultEntityFactory_=new Wfd(new jgd(new ggd));this.contextualEntityFactory_=new Wfd(new jgd(new egd));this.extensionFactory_=new Zfd;this.defaultEventSourceExtractor_=new agd;this.additionEventSourceExtractor_=new $fd;this.replacementEventSourceExtractor_=new bgd};
lgd.prototype.create=function(a,b){var c=b.getSessionState()||new b2,d=b.getEventType_legacyNullable();b=aj(b,nr,3);var e=vib(b,xib);var g=e.get(0);b=e.get(1);e=e.get(2);g=g?[].concat(Vc(vib(g,wib).values())):[];b=b?[].concat(Vc(vib(b,wib).values())):[];e=e?[].concat(Vc(vib(e,wib).values())):[];g=new cgd(g,b,e);b=[];var h=k(g.defaultTokenGroups_);for(e=h.next();!e.done;e=h.next())b.push.apply(b,Vc(mgd(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,Vc(mgd(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,Vc(mgd(this,a,d,e.value,c,this.replacementEventSourceExtractor_,this.contextualEntityFactory_)));return b};
var mgd=function(a,b,c,d,e,g,h){var l=[];e=d[0].getSessionState()||e;var q=d.map(function(A){var B=new Zxc,K=h.writer_,N=B.getMetadata()||new PQ;B.setMetadata(N);var P=uq(A)||new or,Y=Z(A,pr,1)||new pr;K.metadataStateWriter_.write(N,P,Gh(P,2,0)||0,Xfd(A));K.contactInfoWriter_.write(B,Y,c,P.getProvenance()||0);B.setLoggingId(dt(Y,1));A=Z(B,OQ,4)||new OQ;Yi(B,OQ,4,A);A.setType(wr(Y,8));return B});l.push(ngd(a,b,c,g.extractPersonEventSource(e),q,e));q=[];d=k(d);for(var x=d.next();!x.done;x=d.next())x=
x.value,Dj(x,pr,1)&&kgd.has(Z(x,pr,1).getFieldType_legacyNullable())||q.push(Yfd(h,x,c));q.length&&l.push(ngd(a,b,c,g.extractFieldEventSource(e),q,e));return l},ngd=function(a,b,c,d,e,g){a=a.extensionFactory_.create(b,g,c);a.getClientInterface().setEventSource(d);dj(a,2,e);return a};var ogd=function(a,b){this.logContext_=rib(sr(new tr,"PeopleStore.BigBug").setLogSource(W(a.getClearcut(),3,41)).setApplication(a.getClearcut().getSocialApplication()).setEnvironment(a.runtimeConfig_.getPeopleApiEnv()).setVersion("1004").setBaselineCl(539367816).setEnableClearcut(a.getClearcut().getEnableClearcut()),[].concat(Vc(a.runtimeConfig_.getExperiments().getExperimentIdsList()),Vc(ur?ur.getExperimentIds():[]))).setPeoplekitEntryPoint(b.getPeoplekitEntryPoint()).setClientAgent(2);this.eventsFactory_=
new lgd};ogd.prototype.getLogContext=function(){return this.logContext_};var pgd=function(a){this.clientConfig_=a;this.reportingCache_=new Map};pgd.prototype.create=function(a){var b=a.serialize();this.reportingCache_.has(a.serialize())||(a=new ogd(this.clientConfig_,a),a=new Vfd(new Ufd(Kyc(a),a)),this.reportingCache_.set(b,a));return this.reportingCache_.get(b)};var qgd=function(a,b){this.reporting_=a;this.sharedSessionState_=b};f=qgd.prototype;f.reportDisplay=function(a){o4(this,zr(a,1))};f.reportSelect=function(a,b){b=void 0===b?new h6c:b;if(0!==b.getOriginator())for(var c=k(a),d=c.next();!d.done;d=c.next()){d=d.value;if(!Dj(d,or,2)){var e=new or;Yi(d,or,2,e)}d=uq(d);n(d,4,b.getOriginator())}b=gj(this.sharedSessionState_,4,0)+1;n(this.sharedSessionState_,4,b);o4(this,zr(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(!Dj(c,or,2)){var d=new or;Yi(c,or,2,d)}c=uq(c);n(c,4,2)}b=gj(this.sharedSessionState_,4,0)+1;n(this.sharedSessionState_,4,b);o4(this,zr(a,15,this.sharedSessionState_))};f.reportDeselect=function(a){o4(this,zr(a,17,this.sharedSessionState_))};f.reportProceed=function(a){o4(this,zr(a,10,this.sharedSessionState_))};
f.reportDismiss=function(){var a=this.sharedSessionState_,b=new yr;a=a.clone();b.setSessionState(a);b.setEventType(7);b.setEventSources(a.getSources());o4(this,[b])};f.reportSave=function(a){o4(this,zr(a,9,this.sharedSessionState_))};f.reportSecondaryAction=function(a){o4(this,zr(a,19,this.sharedSessionState_))};f.reportSend=function(a){o4(this,zr(a,8,this.sharedSessionState_,!0))};var o4=function(a,b){b=k(b);for(var c=b.next();!c.done;c=b.next())a.reporting_.report(c.value)};var p4=function(a,b,c){this.delegate_=this.delegate=a;this.sharedSessionState_=c;n(this.sharedSessionState_,5,Math.floor(9007199254740991*Math.random()));this.reportingFactory_=b};U(p4,tfd);p4.prototype.suggest=function(a,b){var c=this;W1c(this.sharedSessionState_,gj(this.sharedSessionState_,3,0)+1);var d=this.sharedSessionState_.clone();d.setQuery("");X1c(d);var e=0;this.delegate_.suggest(function(g){e=rgd(c,g.getResults(),zib(g),d,e);a(g)},b)};
p4.prototype.search=function(a,b,c){var d=this;W1c(this.sharedSessionState_,gj(this.sharedSessionState_,3,0)+1);var e=this.sharedSessionState_.clone();e.setQuery(a);X1c(e);var g=0;this.delegate_.search(a,function(h){g=rgd(d,h.getResults(),zib(h),e,g);b(h)},c)};p4.prototype.getReporter=function(a){return new qgd(this.reportingFactory_.create(a),this.sharedSessionState_)};p4.prototype.getSessionState=function(){return this.sharedSessionState_};
var rgd=function(a,b,c,d,e){var g=Bxc();Ns(d,9,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=uq(h)||new or;7!==l.getProvenance()&&l.setProvenance(c.getProvenance());n(l,2,e);n(l,1,b);Yi(h,or,2,l);h.setSessionState(d);b++}e++}return e};var sgd=function(a,b,c){this.delegate_=this.delegate=a;this.reportingFactory_=b;this.instanceId_=Adb();this.clearcutConfig_=c};U(sgd,ufd);
sgd.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 Ar;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 x=uq(q)||new or;7!==x.getProvenance()&&x.setProvenance(g.getProvenance());n(x,4,h);Yi(q,or,2,x)}}b(d)},c)};
sgd.prototype.beginSession=function(a){var b=new b2;b.setSources(tgd(this,a));var c=ugd(this,a);Yi(b,xr,12,c);b.setInstanceId(this.instanceId_);a=this.delegate_.beginSession(a);return new p4(a,this.reportingFactory_,b)};
var tgd=function(a,b){a=aj(a.clearcutConfig_,vr,5);return a.find(function(c){return c.getEntryPoint()===b.getEntryPoint()})||a.find(function(c){return 0===c.getEntryPoint()})||new vr},ugd=function(a,b){a=aj(a.clearcutConfig_,xr,6);return a.find(function(c){return c.getEntryPoint()===b.getEntryPoint()})||a.find(function(c){return 0===c.getEntryPoint()})||new xr};var vgd={create:function(a){var b=nb(D9c||(D9c=C9c('[[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 s3(b,a);a.runtimeConfig_.getExperiments().getProfileId()?L9c(a).getIsEnabled()?(b=nb(N9c||(N9c=agb('[null,null,null,null,null,null,null,"AIzaSyABqJ85_R2irnKzMtGBL0iHuyFBi6Efk1w"]'))),
b=new bgb(b,1)):b=new Kq:b=new Kq;var c=a.runtimeConfig_.getExperiments().getProfileId_legacyNullable(),d=a.runtimeConfig_;ur=b.loadExperiments(L9c(a).getApplication(),(new Lq).setPeopleApiEnv(d.getPeopleApiEnv()),c);b=new Mdd;b.cacheConfigurators_.push(new v9c);c=b;c=void 0===c?new Mdd:c;b=a.getClearcut();b=new Pfd(b,a.runtimeConfig_);b=Nq(b);b=new jbd(b);d=new kbd(a,b);var e=c;c=a.getClient();c=new bed(d.targetFactory_,c);var g=void 0===g?Efd:g;g=new Ffd(d.loader_,a,g);g=new Cfd(g,b,a);var h=[new sfd,
new Udd].concat(Vc(e.cacheConfigurators_)),l=[],q=[],x=new red(c,a);e=new ned(q,x,a);d={clientConfig:a,trackers:b,storage:c,indexer:x,loader:g,loaderFactory:d,trieFactory:new Led(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 zed(l);g=new Eed(a,b,d,e,new ied(g,c),c);d=a.getClient();c=new ifd(d,c);d=a.getClient();g=new Yed(g,c,d);c=new pgd(a);a=a.getClearcut();g=new sgd(g,c,a);g=new Tfd(g,b);return new Jfd(g)}};var q4=function(a,b){var c=this;this.fridge=a;this.userAccess=b;this.currentComponentId="";this.providedComponentId$=new E.ReplaySubject(1);this.accessCheckIsThinking$=new E.BehaviorSubject(!0);this.component$=this.providedComponentId$.pipe(Se(function(d){return c.fridge.watchOne(d)}));this.userIsComponentReader$=this.providedComponentId$.pipe(Se(function(d){d!==c.currentComponentId&&(c.accessCheckIsThinking$.next(!0),c.currentComponentId=d);return qF(c.userAccess,"reader","components/"+d).then(function(e){return e},
function(){return!1}).finally(function(){c.accessCheckIsThinking$.next(!1)})}));this.isReady$=(0,E.combineLatest)([this.fridge.thinking$,this.accessCheckIsThinking$]).pipe(D(function(d){var e=k(d);d=e.next().value;e=e.next().value;return!d&&!e}),Re(!1));this.manageComponentLink=""};q4.prototype.ngOnInit=function(){this.currentComponentId=this.componentId};q4.prototype.ngOnChanges=function(){this.providedComponentId$.next(this.componentId);this.manageComponentLink="/components/"+this.componentId};
q4.\u0275fac=function(a){return new (a||q4)(C(eF),C(pF))};
q4.\u0275cmp=Gc({type:q4,selectors:[["b-async-component"]],inputs:{componentId:"componentId"},features:[Zc],decls:6,vars:7,consts:[[3,"isReady"],[3,"href",4,"ngIf","ngIfElse"],["notComponentReader",""],[3,"href"]],template:function(a,b){a&1&&(G(0,"b-async-data-placeholder",0),S(1,"async"),Q(2,Aib,3,4,"a",1),S(3,"async"),Q(4,Bib,2,1,"ng-template",null,2,Zf),H());if(a&2){var c=Cf(5);F("isReady",T(1,3,b.isReady$));z(2);F("ngIf",T(3,5,b.userIsComponentReader$))("ngIfElse",c)}},dependencies:[ew,cK,kw],
encapsulation:2});var r4=function(a){this.documentationLinks=a;this.showIssueMetadataContainer=!1};
hh.Object.defineProperties(r4.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=Zm(a.modifiedTime),a.teamId&&0!==a.teamId&&(this.issueTeamId=String(a.teamId)),a=a.issueState)this.issueType=Jbc[a.type],this.issueStatus=ol[a.status],this.issuePriority=a.priority,this.issueSeverity=Hbc[a.severity],this.issueComponentId=String(a.componentId),this.accessLimitLevel=
n7a(a.accessLimitLevel)}}});r4.\u0275fac=function(a){return new (a||r4)(C(nI))};
r4.\u0275cmp=Gc({type:r4,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&&(G(0,"div",0)(1,"h3",1),R(2," Access is denied to this issue "),H(),Q(3,Eib,40,13,
"ol",2),H());a&2&&(z(3),F("ngIf",b.showIssueMetadataContainer))},dependencies:[ew,q4,WH,iK,nw],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 s4=function(){};s4.\u0275fac=function(a){return new (a||s4)};s4.\u0275mod=Ic({type:s4});s4.\u0275inj=rc({imports:[tF,VM]});var t4=function(){};t4.\u0275fac=function(a){return new (a||t4)};t4.\u0275mod=Ic({type:t4});t4.\u0275inj=rc({imports:[tF,s4,NM,RM]});var wgd=Symbol("Oe"),u4=function(a){this.ruleConfigService=a};u4.prototype.build=function(a){if(a.customField)var b="DATE"===a.customField.type?new v4(a,w4(this.ruleConfigService)):"ENUM"===a.customField.type?new xgd(a,w4(this.ruleConfigService)):"NUMERIC"===a.customField.type?new x4(a,w4(this.ruleConfigService)):new y4(a,w4(this.ruleConfigService));else b=a.label.field,b=w4(this.ruleConfigService)[b],b=new (b&&b.ruleCtor||z4)(a,w4(this.ruleConfigService));b[wgd](a);return b};
var dkb=function(a,b,c){return a.build({label:{field:b,customFieldId:c&&c.customFieldId||void 0},operator:"EQ",negated:!1,type:"",customField:c})};u4.\u0275fac=function(a){return new (a||u4)(u(A4))};u4.\u0275prov=qc({token:u4,factory:u4.\u0275fac,providedIn:"root"});
var ygd=["OR","AND","NAND"],zgd=["OR","NAND"],Agd="LT GT LE GE RANGE NRANGE DURATION NDURATION OR".split(" "),Bgd=["AND","OR","NAND"],Cgd=["OR","LT","GT","LE","GE"],z4=function(a,b){this.ruleConfigLookup=b;this.values=[];this.type="";this.isPendingCustomField=!1;this.label=a.label};z4.prototype[wgd]=function(a){this.initType(a);this.initValues(a)};
z4.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]};z4.prototype.initValues=function(a){this.values=(a.values||[]).map(function(b){return{value:b.simpleValues[0].value}})};
var Dgd=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}};
z4.prototype.toString=function(){var a=Dgd(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=Egd(this);return(a.negated?"-":"")+d+(d?c[a.operator]:"")+b};var Egd=function(a){var b=a.label.field,c=a.ruleConfigLookup[b];return c&&(c=c.queryLabel,null!=c)?c:Qh(b).toLowerCase()+(a.label.customFieldId||"")};z4.prototype.valuesToStrings=function(){return this.values.map(function(a){return a.value}).filter(function(a){return a})};
z4.prototype.getWidgetType=function(){return"default"};z4.prototype.isValid=function(){return this.getLegalTypes().includes(this.type)};z4.prototype.getLegalTypes=function(){return ygd};var Fgd=[],B4=function(a,b){z4.call(this,a,b);this.enumValues={}};U(B4,z4);f=B4.prototype;f.getLegalTypes=function(){return zgd};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[Fib(b.value.simpleValues[0].value)]=!0};f.valuesToStrings=function(){return Object.keys(Tb(this.enumValues,function(a){return a}))};f.getOptions=function(){return Fgd};var Ggd=Haa().map(function(a){return{id:"p"+a,label:"P"+a}}),Hgd=function(a,b){B4.call(this,a,b)};U(Hgd,B4);
Hgd.prototype.getOptions=function(){return Ggd};var Igd=Haa().map(function(a){return{id:"s"+a,label:"S"+a}}),Jgd=function(a,b){B4.call(this,a,b)};U(Jgd,B4);Jgd.prototype.getOptions=function(){return Igd};
var Kgd=[{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"}],Lgd=function(a,b){B4.call(this,a,b)};U(Lgd,B4);Lgd.prototype.getOptions=function(){return Kgd};
var Mgd=[{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"}],Ngd=function(a,b){B4.call(this,a,b)};U(Ngd,B4);Ngd.prototype.getOptions=function(){return Mgd};
var Ogd=[{id:"abuse"},{id:"pii"},{id:"user_request",label:"user request"},{id:"retention"}],Pgd=function(a,b){B4.call(this,a,b)};U(Pgd,B4);Pgd.prototype.getOptions=function(){return Ogd};var xgd=function(a,b){B4.call(this,a,b);this.allowedValues=[]};U(xgd,B4);xgd.prototype[wgd]=function(a){this.allowedValues=a.customField.allowedValue.map(function(b){return{label:b,id:Fib(b)}});B4.prototype[wgd].call(this,a)};
xgd.prototype.valuesToStrings=function(){return Object.keys(Tb(this.enumValues,function(a){return a})).map(function(a){return'"'+a+'"'})};xgd.prototype.getOptions=function(){return this.allowedValues};var Jr=function(a,b){z4.call(this,a,b);this.csv=""};U(Jr,z4);Jr.prototype.getWidgetType=function(){return"csv"};Jr.prototype.initValues=function(a){this.csv=(a.values||[]).map(function(b){return b.simpleValues[0].value}).join(",")};Jr.prototype.valuesToStrings=function(){return this.csv.split(",").map(function(a){return a.trim()}).filter(function(a){return a})};
var C4=function(a,b){Jr.call(this,a,b)};U(C4,Jr);C4.prototype.getWidgetType=function(){return"id"};C4.prototype.valuesToStrings=function(){return Jr.prototype.valuesToStrings.call(this).map(function(a){return"none"===a.toLowerCase()?"none":"any"===a.toLowerCase()?"any":String(Rh(a))})};var Qgd=function(a,b){Jr.call(this,a,b)};U(Qgd,C4);Qgd.prototype.getLegalTypes=function(){return zgd};var D4=function(a,b){Jr.call(this,a,b)};U(D4,Jr);D4.prototype.getWidgetType=function(){return"user"};
var E4=function(a,b){Jr.call(this,a,b)};U(E4,D4);E4.prototype.getLegalTypes=function(){return zgd};var v4=function(a,b){z4.call(this,a,b);this.dateTo=this.dateFrom=this.duration=""};U(v4,z4);var Jjb=function(a){return a&&"string"===typeof a?a:""};v4.prototype.initType=function(a){z4.prototype.initType.call(this,a);var b=a.values&&a.values[0];b&&("RANGE"===b.type?this.type=a.negated?"NRANGE":"RANGE":us(b.simpleValues[0].value,"d")&&(this.type=a.negated?"NDURATION":"DURATION"))};
v4.prototype.getWidgetType=function(){return"date"};v4.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=Rgd(b),"RANGE"===this.type||"NRANGE"===this.type)this.dateTo=Rgd(a.values[0].simpleValues[1].value)}};
v4.prototype.valuesToStrings=function(){if("DURATION"===this.type||"NDURATION"===this.type){var a=Rh(this.duration);return!a||isNaN(a)?[]:[a+"d"]}if("RANGE"===this.type||"NRANGE"===this.type){a=this.dateFrom&&Sgd(this.dateFrom)||(new Jh).toIsoString(!0);var b=this.dateTo&&Sgd(this.dateTo)||(new Jh).toIsoString(!0);return[a+".."+b]}return[this.dateFrom&&Sgd(this.dateFrom)||(new Jh).toIsoString(!0)]};
var Tgd=function(a){var b=String(a.getMonth()+1),c=String(a.getDate());return b+"/"+c+"/"+String(a.getFullYear())},Rgd=function(a){var b=new $m(2E3);a=Vh(a);var c=-1==a.indexOf("T")?" ":"T";a=a.split(c);var d=a[0].match(f_b);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 oA("d",h-1))):c?(b.setMonth(0),b.setDate(1),d=b.getDay()||7,b.add(new oA("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(h_b);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(g_b)){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 x=h[4]?1E3*Number(h[4]):0;(h=0<=a&&100>a)&&(a+=400);a=Date.UTC(a,c,l,d,e,g,x);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 Tgd(c?b:null)},Sgd=function(a){a=a.split("/").map(Number);return(new Jh(a[2],a[0]-1,a[1])).toIsoString(!0)};v4.prototype.getLegalTypes=function(){return Agd};var F4=function(a,b){z4.call(this,a,b)};U(F4,z4);F4.prototype.getWidgetType=function(){return"bool"};
F4.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"};F4.prototype.toString=function(){return Egd(this)+":"+("OR"===this.type)};F4.prototype.getLegalTypes=function(){return zgd};var G4=function(a,b){z4.call(this,a,b)};U(G4,z4);G4.prototype.getWidgetType=function(){return"boolwithall"};
G4.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")};G4.prototype.toString=function(){var a=Egd(this)+":";switch(this.type){case "OR":return a+"true";case "NAND":return a+"false";default:return a+"all"}};
G4.prototype.getLegalTypes=function(){return Bgd};var y4=function(a,b){z4.call(this,a,b)};U(y4,z4);y4.prototype.getWidgetType=function(){return"text"};y4.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}})};y4.prototype.valuesToStrings=function(){return this.values.map(function(a){return-1<a.value.indexOf(" ")?'"'+a.value+'"':a.value})};
var Ugd=function(a,b){z4.call(this,a,b)};U(Ugd,z4);Ugd.prototype.getWidgetType=function(){return"component"};Ugd.prototype.initValues=function(a){a.values&&(this.values=a.values.map(function(b){b=b.simpleValues[0].value;var c={value:b,includeSubs:!1};us(b,"+")&&(b=b.slice(0,b.length-1),c.value=b,c.includeSubs=!0);return c}))};Ugd.prototype.valuesToStrings=function(){return this.values.map(function(a){return a.value+(a.includeSubs?"+":"")}).filter(function(a){return a})};
var Vgd=function(a,b){z4.call(this,a,b)};U(Vgd,z4);Vgd.prototype.initValues=function(a){a.values&&(this.values=a.values.map(function(b){b=b.simpleValues[0].value;var c={value:b,includeSubs:!1};us(b,"+")&&(b=b.slice(0,b.length-1),c.value=b,c.includeSubs=!0);return c}))};Vgd.prototype.valuesToStrings=function(){return this.values.map(function(a){return a.value+(a.includeSubs?"+":"")}).filter(function(a){return a})};var Wgd=function(a,b){z4.call(this,a,b)};U(Wgd,z4);Wgd.prototype.getWidgetType=function(){return"tracker"};
var Xgd=function(a,b){z4.call(this,a,b)};U(Xgd,Vgd);Xgd.prototype.getWidgetType=function(){return"team"};var Ygd=function(a,b){z4.call(this,a,b)};U(Ygd,z4);Ygd.prototype.getWidgetType=function(){return"hotlist"};var Zgd=function(a,b){z4.call(this,a,b)};U(Zgd,z4);Zgd.prototype.getWidgetType=function(){return"savedsearch"};var x4=function(a,b){Jr.call(this,a,b)};U(x4,Jr);x4.prototype.getWidgetType=function(){return"number"};x4.prototype.getLegalTypes=function(){return Cgd};
var $gd=function(a,b){v4.call(this,a,b)};U($gd,v4);$gd.prototype.initType=function(a){v4.prototype.initType.call(this,a);a.negated&&(this.type="ERR")};
var H4={},ahd=(H4.ATTACHMENT={ruleCtor:y4,name:"Attachment name"},H4.COMMENT={ruleCtor:y4},H4.TITLE={ruleCtor:y4},H4.ASSIGNEE={ruleCtor:E4},H4.MODIFIER={ruleCtor:D4},H4.REPORTER={ruleCtor:E4},H4.VERIFIER={ruleCtor:E4},H4.CC={ruleCtor:D4},H4.COMPONENT_ID={ruleCtor:Ugd,name:"Component"},H4.TRACKER_ID={ruleCtor:Wgd,name:"Tracker"},H4.TYPE={ruleCtor:Lgd},H4.STATUS={ruleCtor:Ngd},H4.PRIORITY={ruleCtor:Hgd},H4.SEVERITY={ruleCtor:Jgd},H4.BLOCKED_BY_ID={ruleCtor:C4},H4.BLOCKING_ID={ruleCtor:C4},H4.PARENT_ID=
{ruleCtor:C4},H4.CANONICAL_ID={ruleCtor:Qgd},H4.ID={ruleCtor:Qgd},H4.FOUND_IN={ruleCtor:Jr},H4.TARGETED_TO={ruleCtor:Jr},H4.VERIFIED_IN={ruleCtor:Jr},H4.CL={ruleCtor:Jr,name:"Changelists"},H4.MODIFIED={ruleCtor:v4},H4.RESOLVED={ruleCtor:$gd},H4.CREATED={ruleCtor:v4},H4.VERIFIED={ruleCtor:$gd},H4.DELETION_TIME={ruleCtor:v4,name:"Deletion time"},H4.SAVED_SEARCH_ID={ruleCtor:Zgd,name:"Saved search"},H4.HOTLIST_ID={ruleCtor:Ygd,name:"Hotlist"},H4.STAR={ruleCtor:F4,name:"Starred"},H4.MUTE={ruleCtor:F4,
name:"Muted"},H4.IN_PROD={ruleCtor:F4,name:"In production"},H4.CC_COUNT={ruleCtor:x4},H4.DUPLICATE_COUNT={ruleCtor:x4},H4.VOTE_COUNT={ruleCtor:x4},H4.COMMENT_COUNT={ruleCtor:x4},H4.LAST_MODIFIER={ruleCtor:E4,name:"Last Modified By"},H4.COMMENTER={ruleCtor:D4},H4.LAST_COMMENTER={ruleCtor:E4},H4.ARCHIVED={ruleCtor:G4},H4.IS_DELETED={ruleCtor:F4,name:"Deleted",queryLabel:"deleted"},H4.DELETION_REASON={ruleCtor:Pgd,name:"Deletion reason"},H4._TEXT_={ruleCtor:y4,queryLabel:"",name:"All fields"},H4),bhd=
Object.assign({},ahd,{EFFORT_LABEL:{ruleCtor:Jr},MENTION:{ruleCtor:D4},MIN_SLO_TARGET:{ruleCtor:v4,name:"Nearest SLO",queryLabel:"nearestslo"},POSTMORTEM:{ruleCtor:Jr,name:"Postmortems"},TEAM_ID:{ruleCtor:Xgd,name:"Team"}}),A4=function(a){this.activeSession=a},w4=function(a){return a.activeSession.isExternalSession()?ahd:bhd};A4.\u0275fac=function(a){return new (a||A4)(u(gs))};A4.\u0275prov=qc({token:A4,factory:A4.\u0275fac,providedIn:"root"});var chd=function(a){r.call(this,a)};U(chd,r);f=chd.prototype;f.getField=function(){return W(this,1,0)};f.setField=function(a){n(this,1,a)};f.getCustomFieldId=function(){return yi(this,2)};f.setCustomFieldId=function(a){return n(this,2,a)};f.hasCustomFieldId=function(){return xi(this,2)};f.toObject=function(){return dhd(this)};var dhd=function(a){if(null!=a)return t(a),{field:p(kr(a,1)),customFieldId:p(m(a,2))}};var Lib=function(a){r.call(this,a)};U(Lib,r);f=Lib.prototype;f.getType=function(){return W(this,1,0)};f.setType=function(a){return n(this,1,a)};f.hasType=function(){return fj(this,1)};f.getValue=function(){return V(this,2)};f.setValue=function(a){return n(this,2,a)};f.hasValue=function(){return wk(this,2)};f.toObject=function(){return ehd(this)};var ehd=function(a){if(null!=a)return t(a),{type:p(kr(a,1)),value:p(m(a,2))}};var I4=function(a){r.call(this,a)};U(I4,r);f=I4.prototype;f.getType=function(){return W(this,1,0)};f.setType=function(a){return n(this,1,a)};f.hasType=function(){return fj(this,1)};f.getValuesList=function(){return aj(this,I4,2)};f.setValuesList=function(a){dj(this,2,a)};f.setValues=function(a,b){Fs(this,2,I4,a,b)};I4.repeatedFields_=[2,3];I4.prototype.toObject=function(){return fhd(this)};
var fhd=function(a){if(null!=a)return t(a),{type:p(kr(a,1)),valuesList:Kb(a.getValuesList(),fhd),simpleValuesList:Kb(aj(a,Lib,3),ehd)}};var Er=function(a){r.call(this,a)};U(Er,r);f=Er.prototype;f.getType=function(){return W(this,1,0)};f.setType=function(a){return n(this,1,a)};f.hasType=function(){return fj(this,1)};f.getValuesList=function(){return aj(this,I4,2)};f.setValuesList=function(a){dj(this,2,a)};f.setValues=function(a,b){Fs(this,2,I4,a,b)};f.getLabel=function(){return Z(this,chd,4)};f.setLabel=function(a){return Yi(this,chd,4,a)};f.hasLabel=function(){return Dj(this,chd,4)};Er.repeatedFields_=[2];Er.prototype.toObject=function(){return ghd(this)};
var ghd=function(a){if(null!=a)return t(a),{type:p(kr(a,1)),valuesList:Kb(a.getValuesList(),fhd),negated:p(ar(a,3)),label:dhd(a.getLabel()),operator:p(kr(a,5))}};var Dr=function(a){r.call(this,a,0,Dr.messageId)};U(Dr,r);Dr.prototype.getType=function(){return W(this,1,0)};Dr.prototype.setType=function(a){return n(this,1,a)};Dr.prototype.hasType=function(){return fj(this,1)};Dr.repeatedFields_=[2];Dr.prototype.toObject=function(){return hhd(this)};var hhd=function(a){if(null!=a)return t(a),{type:p(kr(a,1)),expressionsList:Kb(aj(a,Er,2),ghd)}};Dr.messageId="b.QueryBuilderResponse";var Br=function(a){r.call(this,a,0,Br.messageId)};U(Br,r);Br.prototype.toObject=function(){return ihd(this)};var ihd=function(a){if(null!=a)return t(a),{syntaxError:p(m(a,1))}};Br.messageId="b.SyntaxErrorResponse";var J4=function(a){r.call(this,a,0,J4.messageId)};U(J4,r);J4.prototype.getKindCase=function(){return Ci(this,Cr)};var Cr=[1,2];J4.prototype.toObject=function(){if(null!=this){t(this);var a={queryBuilderResponse:hhd(Sj(this,Dr,1,Cr)),syntaxErrorResponse:ihd(Sj(this,Br,2,Cr))}}else a=void 0;return a};J4.messageId="b.QueryBuilderResponseOrError";var K4=function(a){this.executor=a},jhd=function(a,b){b=Sl(b);return a.executor.get({url:"action/issue_query_parse/"+b,responseConstructor:J4}).then(Rib).then(function(c){var d;null!=(d=c.syntaxErrorResponse)?c=d:(c=c.queryBuilderResponse,c={type:c.type,expressions:c.expressions.map(Gib)});return c})};K4.\u0275fac=function(a){return new (a||K4)(u(MC))};K4.\u0275prov=qc({token:K4,factory:K4.\u0275fac,providedIn:"root"});var L4=function(a){var b=this;this.teamsService=a;this.placeholder="Choose Team";this.panelWidth="574px";this.disabled=!1;this.onTeamSelect=new Gv;this.onEmptyQuery=new Gv;this.searchQuery$=new E.Subject;this.teamSuggestions$=this.searchQuery$.pipe(De(300),Fe(),Se(function(c){return BH(b.teamsService,c)}),D(function(c){return c.map(function(d){return new Tib(d.pathIds,d.pathNames,d.description)})}))};L4.prototype.updateSelectionOnChange=function(a){this.onTeamSelect.emit(a.option.value)};
L4.prototype.search=function(a){a||this.onEmptyQuery.emit();this.searchQuery$.next(a)};L4.prototype.displayFn=function(a){return a?a.name:""};L4.prototype.ngAfterViewInit=function(){};L4.\u0275fac=function(a){return new (a||L4)(C(zH))};
L4.\u0275cmp=Gc({type:L4,selectors:[["b-team-picker"]],viewQuery:function(a,b){a&1&&Uf(zO,7);if(a&2){var c;Tf(c=Wf())&&(b.autocompleteTrigger=c.first)}},inputs:{teamSelected:"teamSelected",placeholder:"placeholder",panelWidth:"panelWidth",disabled:"disabled"},outputs:{onTeamSelect:"onTeamSelect",onEmptyQuery:"onEmptyQuery"},decls:7,vars:10,consts:[[1,"team-id-select"],["id","team-id","matInput","","type","text","autocomplete","off","aria-label","Team selection",3,"placeholder","ngModel","disabled",
"matAutocomplete","click","input"],["searchInput",""],[3,"panelWidth","displayWith","optionSelected"],["auto","matAutocomplete"],["class","team-search-result",3,"value",4,"ngFor","ngForOf"],[1,"team-search-result",3,"value"],[4,"ngFor","ngForOf"],[1,"description",3,"matTooltip"],[1,"path-names",3,"matTooltip","click"],["class","path-names-separator",4,"ngIf"],[1,"path-names-separator"]],template:function(a,b){if(a&1){var c=v();G(0,"div",0)(1,"input",1,2);M("click",function(){w(c);var e=Cf(2);return y(b.search(e.value))})("input",
function(){w(c);var e=Cf(2);return y(b.search(e.value))});H();G(3,"mat-autocomplete",3,4);M("optionSelected",function(e){return b.updateSelectionOnChange(e)});Q(5,Wib,6,8,"mat-option",5);S(6,"async");H()()}if(a&2){var d=Cf(4);z(1);Af("placeholder",b.placeholder);F("ngModel",b.teamSelected)("disabled",b.disabled)("matAutocomplete",d);gf("aria-disabled",b.disabled);z(2);F("panelWidth",b.panelWidth)("displayWith",b.displayFn);z(2);F("ngForOf",T(6,8,b.teamSuggestions$))}},dependencies:[dw,ew,AO,zO,Lz,
LB,og,Fw,Lw,kw,rw],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 Tib=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 khd(a.slice(0,e+1),b.slice(0,e+1))})},khd=function(a,b){this.pathIds=a;this.pathNames=b;this.name=0<b.length?b[b.length-1]:"";this.pathNameText=b.join(" > ")};var M4=function(a){var b=this;this.trackerFridge=a;this.placeholder="Choose Tracker";this.disabled=!1;this.onTrackerSelect=new Gv;this.searchQuery$=new E.Subject;this.trackerSuggestions$=this.searchQuery$.pipe(De(300),Fe(),Se(function(c){return b.trackerFridge.watchMany({filter:c,pageSize:5})}),D(function(c){return c.results}));this.displayFn=function(c){return c?c.name:""}};M4.prototype.ngAfterViewInit=function(){};M4.prototype.updateSelectionOnChange=function(a){this.onTrackerSelect.emit(a.option.value)};
M4.prototype.search=function(a){this.searchQuery$.next(a)};M4.\u0275fac=function(a){return new (a||M4)(C(IH))};
M4.\u0275cmp=Gc({type:M4,selectors:[["b-tracker-picker"]],viewQuery:function(a,b){a&1&&Uf(zO,7);if(a&2){var c;Tf(c=Wf())&&(b.autocompleteTrigger=c.first)}},inputs:{selectedTracker:"selectedTracker",placeholder:"placeholder",disabled:"disabled"},outputs:{onTrackerSelect:"onTrackerSelect"},decls:6,vars:9,consts:[["id","tracker-id","type","text","autocomplete","off","aria-label","Tracker selection",3,"placeholder","ngModel","disabled","matAutocomplete","click","input"],["trackerSearchInput",""],[3,"displayWith",
"optionSelected"],["auto","matAutocomplete"],["class","tracker-search-result",3,"value",4,"ngFor","ngForOf"],[1,"tracker-search-result",3,"value"],[1,"tracker-name"]],template:function(a,b){if(a&1){var c=v();G(0,"input",0,1);M("click",function(){w(c);var e=Cf(1);return y(b.search(e.value))})("input",function(){w(c);var e=Cf(1);return y(b.search(e.value))});H();G(2,"mat-autocomplete",2,3);M("optionSelected",function(e){return b.updateSelectionOnChange(e)});Q(4,Xib,3,2,"mat-option",4);S(5,"async");
H()}if(a&2){var d=Cf(3);F("placeholder",b.placeholder)("ngModel",b.selectedTracker)("disabled",b.disabled)("matAutocomplete",d);gf("aria-disabled",b.disabled);z(2);F("displayWith",b.displayFn);z(2);F("ngForOf",T(5,7,b.trackerSuggestions$))}},dependencies:[dw,AO,zO,Lz,og,Fw,Lw,kw],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 N4=function(a,b,c,d,e,g,h,l,q,x,A,B,K,N,P,Y){WD.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=x;this.componentActions=A;this.teamsService=B;this.searchRuleConfigService=K;this.searchRuleFactory=N;this.cdr=P;this.currentTracker=Y;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(X){return X};this.sessionIsInternal=this.activeSession.isInternalSession();this.typeLabels=lhd;this.globalTypeLabels=mhd;this.state="INIT"};U(N4,WD);N4.\u0275dir=WD.\u0275dir;
var nhd=function(a){var b=[];Sb(w4(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,ZAa(d)]))},a);b.sort(function(c,d){return Eaa(c[1],d[1])});b.push(["SAVED_SEARCH_ID","Saved search"]);b.push(["CUSTOM_FIELD","Custom field"]);return b};N4.prototype.schedule=function(a){this.subscriptions.add(E.asyncScheduler.schedule(a))};N4.prototype.ngOnInit=function(){this.cdr.detectChanges()};
N4.prototype.ngOnChanges=function(a){a.isTrackerSearchEnabled&&(this.availableLabels=nhd(this))};
var qhd=function(a,b){a.reset();b?ohd(a,b):(a.expressions=phd.map(function(c){return dkb(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()},ohd=function(a,b){jhd(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 rhd(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()})},rhd=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?shd(a,b.label.customFieldId).then(function(c){b.customField=
c;return thd(a,b)}):Promise.resolve(thd(a,b))},shd=function(a,b){return a.customFields[b]?Promise.resolve(a.customFields[b]):a.customFieldsApi.get(b).then(function(c){return a.customFields[b]=c})},thd=function(a,b){b="ERR"===b.type?null:a.searchRuleFactory.build(b);if(!b||b&&!b.isValid())return null;uhd(a,b);return b},uhd=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=Wh(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]||vhd(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]||whd(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})}};N4.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 vhd=function(a,b){a.trackerFridge.watch(b).pipe(Te(a.destroyed$)).subscribe(function(c){c&&(a.trackers[b]=c)})},whd=function(a,b){BH(a.teamsService,b).pipe(Ce(function(){return(0,E.of)([])}),Te(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:""}})},xhd=function(a){var b="AND"===a.expressionType?" ":" | ";return JIb(a.expressions.map(function(c){return c.label?
c.toString():""}),LQb).join(b)};N4.prototype.getState=function(){return this.state};N4.prototype.reset=function(){this.expressionType="AND";this.expressions=[];this.state="INIT"};
var gkb=function(a,b){var c=a.expressions[b],d=c.label;"CUSTOM_FIELD"===d.field?c.isPendingCustomField=!0:(a.expressions[b]=dkb(a.searchRuleFactory,d.field),ekb(a,a.expressions[b]));a.cdr.detectChanges()},ekb=function(a,b){var c=b.getWidgetType();"component"===c||"savedsearch"===c||"hotlist"===c||"text"===c||"team"===c||"tracker"===c?Gr(a,b):"date"===c&&(b.dateFrom||(b.dateFrom=Tgd(new Jh)),b.dateTo||(b.dateTo=Tgd(new Jh)))};N4.prototype.removeExpression=function(a){ra(this.expressions,a);this.cdr.detectChanges()};
var Gr=function(a,b){var c={value:""};b.values.push(c);"COMPONENT_ID"===b.label.field?mjb(a,c):"TRACKER_ID"===b.label.field?tjb(a,c):"TEAM_ID"===b.label.field?Ajb(a,c):Ir(a,c);a.cdr.detectChanges()},Fr=function(a,b,c){ra(b.values,c);b.values.length||a.removeExpression(b);a.cdr.detectChanges()},Ir=function(a,b){a.chipUnderEdit=b;a.cdr.detectChanges()},mjb=function(a,b){Ir(a,b);a.componentUnderEdit=b.value?Nh(a.components[b.value]):null;a.schedule(function(){a.elementRef.nativeElement.querySelector(".bv2-search-component-picker input").focus()})},
tjb=function(a,b){Ir(a,b);a.trackerUnderEdit=b.value?Nh(a.trackers[b.value]):null;a.schedule(function(){a.elementRef.nativeElement.querySelector(".bv2-search-tracker-picker input").focus()})},Ajb=function(a,b){Ir(a,b);a.teamUnderEdit=b.value?Nh(a.teams[b.value]):null;a.schedule(function(){a.elementRef.nativeElement.querySelector(".bv2-search-team-picker input").focus()})},Hr=function(a){a.chipUnderEdit=null;a.cdr.detectChanges()},Cjb=function(a,b){a.analytics.trackEvent(Jn.SEARCH,"builder-autocomplete-select",
"team",isNaN(Number(b.id))?0:Number(b.id));a.chipUnderEdit.value=b.id;a.teams[b.id]=b;a.teamUnderEdit=null;Hr(a);a.schedule(function(){a.elementRef.nativeElement.querySelector(".bv2-search-team-picker input").focus()})};N4.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]};
N4.prototype.getCustomFieldName=function(a){return(a=a.label.customFieldId)?this.customFields[a].name||a:""};N4.prototype.getComponentPath=function(a){if(!a)return"";var b=Kr(this.currentTracker,a.componentPathInfo);return b&&b.componentPathName?b.componentPathName.join(" > "):a.name};
var mhd={AND:"Match all (AND)",OR:"Match any (OR)"},lhd={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"}},phd=["COMPONENT_ID","ASSIGNEE","STATUS","_TEXT_"];N4.\u0275fac=function(a){return new (a||N4)(C(gH),C(OG),C(NF),C(BS),C(GG),C(IH),C(K4),C(gs),C(vd),C(GF),C(FT),C(zH),C(A4),C(u4),C(cH,2),C(lK))};
N4.\u0275cmp=Gc({type:N4,selectors:[["b-advanced-search"]],inputs:{isTrackerSearchEnabled:"isTrackerSearchEnabled"},features:[Gf([cH]),bf,Zc],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&&Q(0,jkb,11,6,"div",0);a&2&&F("ngIf","SUCCESS"===b.getState())},dependencies:[dw,ew,uA,sR,LZ,og,Fw,Xw,Lw,V_,Jz,iA,DB,BB,CB,cO,Lz,vN,L4,M4,LT,pw,pjc],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 O4=function(){};O4.\u0275fac=function(a){return new (a||O4)};O4.\u0275mod=Ic({type:O4});O4.\u0275inj=rc({imports:[tF,BO,$N,JC,$w]});var P4=function(){};P4.\u0275fac=function(a){return new (a||P4)};P4.\u0275mod=Ic({type:P4});P4.\u0275inj=rc({imports:[tF,BO,$N,JC,$w]});var Q4=function(){};Q4.\u0275fac=function(a){return new (a||Q4)};Q4.\u0275mod=Ic({type:Q4});Q4.\u0275inj=rc({imports:[tF,tR,MZ,$w,Y_,iC,jA,mA,EB,dO,$N,hJ,O4,P4,jV]});var yhd=function(a){r.call(this,a)};U(yhd,r);f=yhd.prototype;f.getExperimentId=function(){return Gh(this,1)};f.getState=function(){return W(this,2,0)};f.getTitle=function(){return V(this,4)};f.setTitle=function(a){return n(this,4,a)};f.getDescription=function(){return V(this,5)};f.setDescription=function(a){return n(this,5,a)};f.hasDescription=function(){return wk(this,5)};f.toObject=function(){return zhd(this)};
var zhd=function(a){if(null!=a)return t(a),{experimentId:p(Os(a,1)),state:p(kr(a,2)),userGroup:p(kr(a,3)),title:p(m(a,4)),description:p(m(a,5)),learnMoreLink:p(m(a,6))}};var R4=function(a){r.call(this,a,0,R4.messageId)};U(R4,r);R4.repeatedFields_=[1];R4.prototype.toObject=function(){if(null!=this){t(this);var a={featuresList:Kb(aj(this,yhd,1),zhd)}}else a=void 0;return a};R4.messageId="b.ListBeapFeaturesResponse";var S4=function(a){this.executor=a};S4.prototype.fetch=function(){return this.executor.get({url:"action/experiments",responseConstructor:R4}).pipe(D(function(a){var b;return(null!=(b=aj(a,yhd,1))?b:[]).map(mkb)}))};S4.\u0275fac=function(a){return new (a||S4)(u(LC))};S4.\u0275prov=qc({token:S4,factory:S4.\u0275fac,providedIn:"root"});var T4=function(a){RE.call(this,{freshUntil:Infinity,ancientAfter:Infinity});this.beapApi=a;this.recordType="beapFeature";this.idForRecord=function(b){return""+b.experimentId}};U(T4,RE);T4.prototype.fetchAll=function(){return this.beapApi.fetch().pipe(D(function(a){return{results:a}}))};T4.\u0275fac=function(a){return new (a||T4)(u(S4))};T4.\u0275prov=qc({token:T4,factory:T4.\u0275fac,providedIn:"root"});var U4=function(a){this.beapFridge=a};U4.prototype.getFeature=function(a){return Ahd(this,"ALL").pipe(D(function(b){return b.find(function(c){return c.experimentId===a})}))};var Ahd=function(a,b){b=void 0===b?"ALL":b;var c="ALL"===b,d="TEAM_FOOD"===b?"USER_GROUP_BUGANIZER_TEAM":"USER_GROUP_TRUSTED_TESTER";return a.beapFridge.watchMany({}).pipe(D(function(e){return e.results.filter(function(g){return c?!0:g.userGroup===d})}))};U4.prototype.refresh=function(){this.beapFridge.pokeMany({})};
U4.\u0275fac=function(a){return new (a||U4)(u(T4))};U4.\u0275prov=qc({token:U4,factory:U4.\u0275fac,providedIn:"root"});var V4=function(){};V4.\u0275fac=function(a){return new (a||V4)};
V4.\u0275cmp=Gc({type:V4,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&&(J(0,0),Q(1,nkb,1,0,"div",1),Q(2,okb,1,0,"div",2),L());a&2&&(F("ngSwitch",b.featureStage),z(1),F("ngSwitchCase","TEAM_FOOD"),z(1),F("ngSwitchCase","EARLY_ACCESS"))},dependencies:[fw,gw],styles:[".badged[_ngcontent-%COMP%]::after{margin-left:0}"]});var W4=function(a){var b=this;this.beapService=a;this.experimentId$=new E.ReplaySubject(1);this.featureState$=this.experimentId$.pipe(Se(function(c){return b.beapService.getFeature(c)}));this.featureStage$=this.featureState$.pipe(D(function(c){if(!c)return"UNKNOWN";c=c.userGroup;return"USER_GROUP_BUGANIZER_TEAM"===c?"TEAM_FOOD":"USER_GROUP_TRUSTED_TESTER"===c?"EARLY_ACCESS":"UNKNOWN"}))};W4.prototype.ngOnChanges=function(){this.experimentId$.next(this.experimentId)};W4.prototype.ngOnInit=function(){};
W4.\u0275fac=function(a){return new (a||W4)(C(U4))};W4.\u0275cmp=Gc({type:W4,selectors:[["b-app-beap-state-indicator"]],inputs:{experimentId:"experimentId"},features:[Zc],decls:2,vars:3,consts:[[3,"featureStage"]],template:function(a,b){a&1&&(I(0,"b-feature-stage-label",0),S(1,"async"));if(a&2){var c;F("featureStage",null!==(c=T(1,1,b.featureStage$))&&void 0!==c?c:void 0)}},dependencies:[V4,kw],encapsulation:2});var X4=function(){};X4.\u0275fac=function(a){return new (a||X4)};X4.\u0275mod=Ic({type:X4});X4.\u0275inj=rc({imports:[tF]});var Y4=function(){};Y4.\u0275fac=function(a){return new (a||Y4)};Y4.\u0275mod=Ic({type:Y4});Y4.\u0275inj=rc({imports:[tF,X4]});var Z4=function(a){this.domSafe=a;this.buttonLabel="";this.alertMode=this.menuMode=!1},pkb=function(a){Hn(a.domSafe,"https://g3doc.corp.google.com/company/teams/buganizer/release-notes/b3-releasenotes.md")};Z4.\u0275fac=function(a){return new (a||Z4)(C(SJ))};
Z4.\u0275cmp=Gc({type:Z4,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&&(Q(0,qkb,3,3,"button",0),Q(1,rkb,2,1,"button",1));a&2&&(F("ngIf",!b.menuMode),z(1),F("ngIf",b.menuMode))},dependencies:[ew,uA,Jz,BB,LB],styles:["[_nghost-%COMP%] { display: flex; }"]});var a5=function(a,b,c){WD.call(this);this.session=a;this.appsEvents=b;this.prefsManager=c;this.density="COMFORTABLE";this.enableWhatsNewDialog=UD(a,"enableWhatsNewDialog");this.enableBeap=UD(a,"enableBeap")};U(a5,WD);a5.\u0275dir=WD.\u0275dir;f=a5.prototype;f.ngOnInit=function(){var a=this;this.prefsManager.preferences$.pipe(Te(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})};a5.\u0275fac=function(a){return new (a||a5)(C(gs),C(KF),C(uI))};
a5.\u0275cmp=Gc({type:a5,selectors:[["b-app-settings-menu"]],features:[bf],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&&(G(0,"button",0),I(1,"mat-icon",1),H(),G(2,"mat-menu",null,2)(4,"div",3),R(5,"Display Density"),H(),G(6,"button",4),M("click",function(){return b.setDensity("COMFORTABLE")}),G(7,"span",5),I(8,"mat-icon",6),H(),R(9," Comfortable "),H(),G(10,"button",7),M("click",function(){return b.setDensity("COZY")}),G(11,"span",5),I(12,"mat-icon",6),H(),R(13," Cozy "),H(),G(14,"button",8),M("click",function(){return b.setDensity("COMPACT")}),G(15,"span",5),I(16,"mat-icon",6),H(),R(17," Compact "),H(),I(18,"mat-divider"),
G(19,"button",9),M("click",function(d){return b.browseComponents(d)}),R(20,"Browse components"),H(),G(21,"button",9),M("click",function(d){return b.manageHotlists(d)}),R(22,"Manage hotlists"),H(),Q(23,skb,2,0,"button",10),G(24,"button",9),M("click",function(d){return b.showSettings(d)}),R(25,"Settings"),H(),Q(26,tkb,3,0,"a",11),Q(27,ukb,3,1,"ng-container",12),H());if(a&2){var c=Cf(3);F("disabled",b.session.isAnonymous())("matMenuTriggerFor",c);z(6);qf("b-menu-item-checked","COMFORTABLE"===b.density);
gf("aria-checked","COMFORTABLE"===b.density);z(4);qf("b-menu-item-checked","COZY"===b.density);gf("aria-checked","COZY"===b.density);z(4);qf("b-menu-item-checked","COMPACT"===b.density);gf("aria-checked","COMPACT"===b.density);z(12);F("ngIf",b.enableBeap);z(1);F("ngIf",b.enableWhatsNewDialog)}},dependencies:[ew,uA,DB,BB,CB,Jz,tL,LB,Z4,xP,V4],encapsulation:2,changeDetection:0});var b5=function(a){this.theme=a;this.isDark=!1;this.iconName="brightness-4"};b5.prototype.ngOnInit=function(){this.theme.loadLocalDarkmode();Bhd(this)};var Bhd=function(a){a.isDark=a.theme.clientDarkmodeSubject.getValue();a.iconName=a.isDark?"brightness-high":"brightness-4"};b5.\u0275fac=function(a){return new (a||b5)(C(qP))};
b5.\u0275cmp=Gc({type:b5,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&&(G(0,"button",0),M("click",function(){var c=b.theme;c.setLocalDarkmode(!c.clientDarkmodeSubject.getValue());c.clientStreamzService&&c.clientStreamzService.logUsageMetric("toggleDarkmode",!c.clientDarkmodeSubject.getValue());etc(c,!c.clientDarkmodeSubject.getValue());
Bhd(b)}),I(1,"mat-icon",1),H());a&2&&(z(1),F("svgIcon",b.iconName))},dependencies:[uA,Jz,LB],encapsulation:2});var Chd=function(a,b,c,d){this.session=a;this.userFeedback=b;this.domSafe=c;this.docLinks=d;this.enableWhatsNewDialog=UD(a,"enableWhatsNewDialog");this.majorReleaseNotesUpdated=UD(a,"majorReleaseNotesUpdated")};Chd.\u0275fac=function(a){return new (a||Chd)(C(gs),C(rP),C(SJ),C(nI))};
Chd.\u0275cmp=Gc({type:Chd,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&&(I(0,"theme-change-btn"),Q(1,vkb,1,1,"b-whats-new-button",0),Q(2,wkb,2,0,"button",1),G(3,"button",2),M("click",function(){var c=b.domSafe,d=c.openInNewTab;var e=b.docLinks;e=e.session.isInternalSession()?"https://g3doc.corp.google.com/company/teams/buganizer/user-guide":e.baseDocumentationUrl;d.call(c,e)}),I(4,"mat-icon",3),H(),I(5,"b-app-settings-menu"));a&2&&(z(1),F("ngIf",b.enableWhatsNewDialog))},
dependencies:[ew,uA,Jz,LB,Z4,xP,b5,a5],styles:["[_nghost-%COMP%]{display:flex;align-items:center;flex-wrap:nowrap;color:#5f6368;color:var(--icon)}.new-feature-link[_ngcontent-%COMP%]{color:#3c4043;color:var(--c800)}/*# sourceMappingURL=app_actions.css.map */"],changeDetection:0});var Dhd=function(a,b){this.currentTracker=a;this.appSearchState=b;this.isTrackerExpanded=!1};Dhd.\u0275fac=function(a){return new (a||Dhd)(C(lK),C($X))};
Dhd.\u0275cmp=Gc({type:Dhd,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&&(G(0,"button",0),M("menuOpened",function(){return b.isTrackerExpanded=!0})("menuClosed",function(){return b.isTrackerExpanded=!1}),I(1,"mat-icon",1),H(),G(2,"mat-menu",2,3)(4,"span",4),R(5,"Select a tracker"),H(),Q(6,xkb,4,4,"button",5),H());if(a&2){var c=Cf(3);F("matMenuTriggerFor",c);gf("aria-label",b.isTrackerExpanded?"Expanded tracker menu":"Collapsed tracker menu");z(6);F("ngForOf",
b.associatedTrackers)}},dependencies:[dw,uA,Jz,DB,BB,CB,LB],styles:[".tracker-menu-button[_ngcontent-%COMP%]{color:#3c4043;color:var(--gfx)}mat-icon[_ngcontent-%COMP%]{line-height:0}.tracker-menu-label[_ngcontent-%COMP%]{display:inline-block;padding:8px}.mat-menu-item[_ngcontent-%COMP%]{max-width:none;height:auto;overflow:visible;padding:8px 25px}.mat-menu-item[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{margin:0px}.tracker-menu-item-logo[_ngcontent-%COMP%]{height:40px;vertical-align:middle;width:40px;margin-right:12px}.tracker-menu-item-name[_ngcontent-%COMP%]{color:#3c4043;color:var(--gfx);font-size:.8125rem;white-space:nowrap}/*# sourceMappingURL=tracker_switcher.css.map */"],
changeDetection:0});var zkb=function(a){return[a]},Akb=function(){return[]},c5=function(a){this.activeSession=a;this.clickMenu=new Gv;this.showMenu=!1;this.clickLogo=new Gv;this.chips=[]};c5.prototype.ngOnInit=function(){this.showMenu=!this.activeSession.isAnonymous()&&this.clickMenu.observed};c5.\u0275fac=function(a){return new (a||c5)(C(gs))};
c5.\u0275cmp=Gc({type:c5,selectors:[["app-logo"]],inputs:{imgSrc:"imgSrc",imgSrcDark:"imgSrcDark",href:"href",name:"name",chips:"chips"},outputs:{clickMenu:"clickMenu",clickLogo:"clickLogo"},ngContentSelectors:["*"],decls:8,vars:6,consts:[["mat-icon-button","","class","menu","aria-label","Expand/Collapse Navigation",3,"click",4,"ngIf"],[3,"click"],["alt","",1,"logo","light",3,"src"],["alt","",1,"logo","dark",3,"src"],["class","b-chip",3,"ngClass",4,"ngFor","ngForOf"],["mat-icon-button","","aria-label",
"Expand/Collapse Navigation",1,"menu",3,"click"],["svgIcon","menu-18px"],[1,"b-chip",3,"ngClass"]],template:function(a,b){a&1&&(xf(),Q(0,ykb,2,0,"button",0),G(1,"a",1),M("click",function(){return b.clickLogo.emit()}),I(2,"img",2)(3,"img",3),G(4,"h1"),R(5),H()(),yf(6),Q(7,Bkb,2,5,"output",4));a&2&&(F("ngIf",b.showMenu),z(1),gf("href",b.href?b.href:void 0,Md),z(1),F("src",b.imgSrc,Md),z(1),F("src",b.imgSrcDark||b.imgSrc,Md),z(2),Ef(b.name),z(2),F("ngForOf",b.chips))},dependencies:[cw,dw,ew,uA,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}/*# sourceMappingURL=app_logo.css.map */'],
changeDetection:0});var Ehd=function(){return[]},d5=function(a){this.events=a;this.environmentType="QA";this.frontendAccessMode="INTERNAL";this.href="/";this.chips=[];this.name="Buganizer"};d5.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"})};
d5.prototype.ngOnChanges=function(a){if(a.tracker||a.frontendAccessMode)this.name=this.getAppName()};d5.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:rh(this.frontendAccessMode,"unknown frontend access mode.")}};
hh.Object.defineProperties(d5.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"}}});d5.\u0275fac=function(a){return new (a||d5)(C(KF))};
d5.\u0275cmp=Gc({type:d5,selectors:[["b-app-logo"]],inputs:{environmentType:"environmentType",frontendAccessMode:"frontendAccessMode",tracker:"tracker",associatedTrackers:"associatedTrackers",href:"href"},features:[Zc],decls:2,vars:7,consts:[[3,"name","href","chips","imgSrc","imgSrcDark","clickMenu"],[3,"associatedTrackers",4,"ngIf"],[3,"associatedTrackers"]],template:function(a,b){a&1&&(G(0,"app-logo",0),M("clickMenu",function(){return b.events.onClickAppMenuIcon.next()}),Q(1,Ckb,1,1,"tracker-switcher",
1),H());if(a&2){var c;F("name",b.name)("href",b.href)("chips",b.chips)("imgSrc",b.imgSrc)("imgSrcDark",b.imgSrcDark);z(1);F("ngIf",0<(null!==(c=b.associatedTrackers)&&void 0!==c?c:If(6,Ehd)).length)}},dependencies:[ew,c5,Dhd],encapsulation:2,changeDetection:0});var e5=function(){this.isActive=!1;this.optionClicked=new Gv};e5.prototype.ngOnInit=function(){};e5.prototype.onClick=function(){this.optionClicked.emit(this.index)};e5.\u0275fac=function(a){return new (a||e5)};
e5.\u0275cmp=Gc({type:e5,selectors:[["b-app-search-auto-complete-option"]],hostVars:2,hostBindings:function(a,b){a&1&&M("click",function(){return b.onClick()});a&2&&qf("active",b.isActive)},inputs:{isActive:"isActive",index:"index"},outputs:{optionClicked:"optionClicked"},ngContentSelectors:["*"],decls:2,vars:0,consts:[[1,"content","gmat-subtitle-2"]],template:function(a){a&1&&(xf(),G(0,"div",0),yf(1),H())},styles:["[_nghost-%COMP%]{cursor:pointer;display:flex;position:relative}.active[_nghost-%COMP%]{background-color:rgba(0,0,0,.12);background-color:var(--focus-bg)}[_nghost-%COMP%]:hover:not(.active){background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}.content[_ngcontent-%COMP%]{flex-grow:1;overflow:hidden;padding:8px 16px 8px 36px;text-overflow:ellipsis}.mat-ripple[_ngcontent-%COMP%]{pointer-events:none;position:absolute;height:100%;width:100%}/*# sourceMappingURL=app_search_auto_complete_option.css.map */"],
changeDetection:0});var f5=function(a,b,c){this.ref=a;this.hostElement=b;this.currentTracker=c;this.items=[];this.header=null;this.itemSelected=new Gv;this.activeItemChanged=new Gv;this.SPECIAL_ITEM_TYPES="issue hotlist savedsearch atom component team tracker".split(" ")};f5.prototype.ngOnChanges=function(a){a.items&&(0<this.items.length?(this.activeItemIndex=0,this.activeItemChanged.emit(this.items[0])):this.clearActiveItem(),this.ref.markForCheck())};f5.prototype.ngAfterViewInit=function(){};
var clb=function(a){var b=O(3);klb(a);b.itemSelected.emit(a)};f5.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(),Fhd(this))};
f5.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(),Fhd(this))};var Ghd=function(a){null!=a.activeItemIndex&&a.itemSelected.emit(a.items[a.activeItemIndex])};f5.prototype.clearActiveItem=function(){this.activeItemIndex=void 0;this.activeItemChanged.emit(void 0)};
var Hhd=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}},Fhd=function(a){var b=a.itemElements.find(function(c,d){return d===a.activeItemIndex});b&&QBc(b.nativeElement,a.hostElement.nativeElement)},klb=function(a){Om(Jn.SEARCH,"autocomplete-select",a.completionCfg.type||"unknown_type",isNaN(Number(a.id))?1:Number(a.id))};f5.\u0275fac=function(a){return new (a||f5)(C(cH,2),C(vd),C(lK))};
f5.\u0275cmp=Gc({type:f5,selectors:[["b-app-search-auto-complete-list"]],viewQuery:function(a,b){a&1&&Uf(e5,5,vd);if(a&2){var c;Tf(c=Wf())&&(b.itemElements=c)}},inputs:{items:"items",header:"header"},outputs:{itemSelected:"itemSelected",activeItemChanged:"activeItemChanged"},features:[Gf([cH]),Zc],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&&(Q(0,Xkb,
7,6,"div",0),G(1,"div",1),Q(2,llb,9,11,"b-app-search-auto-complete-option",2),H());a&2&&(F("ngIf",b.header&&b.header.type),z(2),F("ngForOf",b.items))},dependencies:[dw,ew,hO,oK,e5,lw],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;max-height:inherit;overflow-y:auto}.header[_ngcontent-%COMP%]{padding:4px 16px 4px 36px}.item-description[_ngcontent-%COMP%]{display:block;margin-top:5px}span[role=button][_ngcontent-%COMP%]{cursor:pointer}span[role=button][_ngcontent-%COMP%]:hover{text-decoration:underline}/*# sourceMappingURL=app_search_auto_complete_list.css.map */"],
changeDetection:0});var Ihd=["box"],Jhd=["initialFocus"],Khd=["finalFocus"],g5=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 Gv;this.onAdvancedSearchClose=new Gv;this.onAdvancedSearchSubmit=new Gv;this.onSaveSearch=new Gv;this.dropdownStatus="closed";this.searchName="";this.searchHelpLink=this.documentationLinks.baseDocumentationUrl+"/guides/search-editor";
this.destroyed$=new E.Subject;this.currentQuery$=this.appSearchState.queryState$.pipe(D(function(d){return d.query}));this.autoCompleteItemSelected$=new E.Subject;this.isAnonymous=this.activeSession.isAnonymous()};
g5.prototype.ngOnInit=function(){var a=this;this.autoCompleteItemSelected$.pipe(Ve(this.currentQuery$),Te(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()})};
g5.prototype.ngAfterViewInit=function(){var a=this;this.appSearchState.queryState$.pipe(ye(function(b){return!b.setViaInteraction}),Te(this.destroyed$)).subscribe(function(b){var c=b.cursorPosition;a.inputBox.nativeElement.value=b.query;null!=c&&(b=a.inputBox.nativeElement,mBc(b)&&(b.selectionStart=c,b.selectionEnd=c))})};g5.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete()};
var Lhd=function(a){a.appSearchState.searchTriggered$.next("keyboard")},Mhd=function(a,b){a.dropdownStatus="auto_complete";a.acList.clearActiveItem();a.appSearchState.queryState$.next({query:b,cursorPosition:a.getCursorPosition(),setViaInteraction:!0})};
g5.prototype.handleKeydown=function(a){switch(a.key){case "Escape":if(!h5(this))return;Nhd(this);break;case "ArrowUp":if(!h5(this))return;this.acList.setPreviousItemActive();break;case "ArrowDown":if(!h5(this))return;this.acList.setNextItemActive();break;case "Tab":case "ArrowRight":if(!h5(this)){Mhd(this,this.inputBox.nativeElement.value);return}Ghd(this.acList);break;case "ArrowLeft":Mhd(this,this.inputBox.nativeElement.value);return;case "Enter":h5(this)?null!=this.acList.activeItemIndex?Ghd(this.acList):
Lhd(this):Lhd(this);break;default:return}a.preventDefault();a.stopPropagation()};g5.prototype.submitAdvancedSearch=function(){this.onAdvancedSearchSubmit.emit();Ohd(this)};g5.prototype.getCursorPosition=function(){var a=nBc(this.inputBox.nativeElement,!0)[0];if(a===nBc(this.inputBox.nativeElement,!1)[1])return a};
var Nhd=function(a){"auto_complete"===a.dropdownStatus&&(a.dropdownStatus="closed")},Ohd=function(a){"advanced_search"===a.dropdownStatus&&(a.dropdownStatus="closed",a.onAdvancedSearchClose.emit())},h5=function(a){return"auto_complete"===a.dropdownStatus&&0<a.autoCompleteItems.length},Phd=function(a){return"auto_complete"===a.dropdownStatus&&null!=a.autoCompleteHeader},Qhd=function(a){return"advanced_search"===a.dropdownStatus};
g5.prototype.saveSearch=function(){this.searchName&&(this.onSaveSearch.emit(this.searchName),this.searchName="",Ohd(this))};var Rhd=function(a,b){b.shiftKey&&"Tab"===b.key&&a.advancedSearchFinalFocus&&setTimeout(function(){return a.advancedSearchFinalFocus.nativeElement.focus()})},mlb=function(a){a.advancedSearchInitialFocus&&setTimeout(function(){return a.advancedSearchInitialFocus.nativeElement.focus()})};g5.\u0275fac=function(a){return new (a||g5)(C(nI),C($X),C(gs))};
g5.\u0275cmp=Gc({type:g5,selectors:[["b-app-search-box"]],viewQuery:function(a,b){a&1&&(Uf(f5,7),Uf(Ihd,5),Uf(Jhd,7,vd),Uf(Khd,7));if(a&2){var c;Tf(c=Wf())&&(b.acList=c.first);Tf(c=Wf())&&(b.inputBox=c.first);Tf(c=Wf())&&(b.advancedSearchInitialFocus=c.first);Tf(c=Wf())&&(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=v();xf();G(0,"div",0);M("clickOutside",function(){Nhd(b)});G(1,"div",1)(2,"button",2);M("click",function(){return Lhd(b)});I(3,"mat-icon",3);H();G(4,"textarea",4,5);M("keydown",function(d){return b.handleKeydown(d)})("input",
function(){w(c);var d=Cf(5);return y(Mhd(b,d.value))})("click",function(){w(c);var d=Cf(5);return y(Mhd(b,d.value))})("focus",function(){b.dropdownStatus="auto_complete"});H();G(6,"button",6);M("click",function(){b.dropdownStatus="advanced_search";b.onAdvancedSearchOpen.emit()});I(7,"mat-icon",7);H()();G(8,"aside",8)(9,"b-app-search-auto-complete-list",9);M("itemSelected",function(d){return b.autoCompleteItemSelected$.next(d)});H();G(10,"div",10)(11,"div",11)(12,"button",12,13);M("keydown",function(d){return Rhd(b,
d)})("click",function(){return Ohd(b)});I(14,"mat-icon",14);H()();G(15,"div",15);yf(16);H();G(17,"div",16)(18,"button",17);M("click",function(){return b.submitAdvancedSearch()});R(19," Search ");H();G(20,"a",18);R(21,"Search help ");I(22,"mat-icon",19);H();Q(23,nlb,5,2,"div",20);H()()()()}a&2&&(qf("dropdown-opened",h5(b)||Phd(b)||Qhd(b)),z(1),qf("hidden",Qhd(b)),z(3),F("placeholder",b.placeholder),gf("aria-activedescendant",Hhd(b.acList))("aria-expanded",h5(b)||Phd(b)),z(4),qf("advanced-search-open",
Qhd(b)),z(1),qf("hidden",!(h5(b)||Phd(b))),F("items",b.autoCompleteItems)("header",b.autoCompleteHeader),z(1),qf("hidden",!Qhd(b)),z(2),F("disabled",b.isSearchDisabled),z(6),F("disabled",b.isSearchDisabled),z(2),gf("href",b.searchHelpLink,Md),z(3),F("ngIf",!b.isAnonymous))},dependencies:[ew,uA,Jy,Jz,LB,og,Fw,Lw,oN,cA,f5],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}/*# sourceMappingURL=app_search_box.css.map */'],
changeDetection:0});var Shd=function(a){this.currentTracker=a;this.logoEnvironmentType="QA";this.logoFrontendAccessMode="INTERNAL";this.isSearchDisabled=!1;this.searchBoxPlaceholder="";this.searchBoxAutoCompleteItems=[];this.searchBoxAutoCompleteHeader=null;this.searchBoxOnAdvancedSearchOpen=new Gv;this.searchBoxOnAdvancedSearchClose=new Gv;this.searchBoxOnAdvancedSearchSubmit=new Gv;this.searchBoxOnSaveSearch=new Gv};Shd.\u0275fac=function(a){return new (a||Shd)(C(lK))};
Shd.\u0275cmp=Gc({type:Shd,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&&(xf(),I(0,"b-app-logo",0),S(1,"async"),S(2,"async"),G(3,"b-app-search-box",1),M("onAdvancedSearchOpen",function(){return b.searchBoxOnAdvancedSearchOpen.emit()})("onAdvancedSearchClose",
function(){return b.searchBoxOnAdvancedSearchClose.emit()})("onAdvancedSearchSubmit",function(){return b.searchBoxOnAdvancedSearchSubmit.emit()})("onSaveSearch",function(c){return b.searchBoxOnSaveSearch.emit(c)}),yf(4),H(),I(5,"b-app-actions"));a&2&&(F("environmentType",b.logoEnvironmentType)("frontendAccessMode",b.logoFrontendAccessMode)("tracker",T(1,8,b.currentTracker.tracker$))("associatedTrackers",T(2,10,b.currentTracker.associatedTrackers$)),z(3),F("placeholder",b.searchBoxPlaceholder)("autoCompleteItems",
b.searchBoxAutoCompleteItems)("autoCompleteHeader",b.searchBoxAutoCompleteHeader)("isSearchDisabled",b.isSearchDisabled))},dependencies:[d5,Chd,g5,kw],styles:["[_nghost-%COMP%]{display:flex;align-items:center}b-app-search-box[_ngcontent-%COMP%]{display:flex;flex-grow:1;justify-content:center}/*# sourceMappingURL=app_top_bar.css.map */"],changeDetection:0});var i5=function(){};i5.\u0275fac=function(a){return new (a||i5)};i5.\u0275mod=Ic({type:i5});i5.\u0275inj=rc({imports:[tF,aA,iC,YM]});var j5=function(){};j5.\u0275fac=function(a){return new (a||j5)};j5.\u0275mod=Ic({type:j5});j5.\u0275inj=rc({imports:[tF,iC,EB,JC]});var k5=function(){};k5.\u0275fac=function(a){return new (a||k5)};k5.\u0275mod=Ic({type:k5});k5.\u0275inj=rc({imports:[tF,iC,EB,JC]});var l5=function(){};l5.\u0275fac=function(a){return new (a||l5)};l5.\u0275mod=Ic({type:l5});l5.\u0275inj=rc({imports:[tF,iC,JC]});var m5=function(){};m5.\u0275fac=function(a){return new (a||m5)};m5.\u0275mod=Ic({type:m5});m5.\u0275inj=rc({providers:[qP]});var n5=function(){};n5.\u0275fac=function(a){return new (a||n5)};n5.\u0275mod=Ic({type:n5});n5.\u0275inj=rc({imports:[tF,iC,JC,m5]});var o5=function(){};o5.\u0275fac=function(a){return new (a||o5)};o5.\u0275mod=Ic({type:o5});o5.\u0275inj=rc({imports:[tF,EB,iC,FS,JC,Qy,$w,pN,k5,AY,l5,mO,dA,X4,n5,i5,j5,SM]});var p5=function(){};p5.\u0275fac=function(a){return new (a||p5)};p5.\u0275mod=Ic({type:p5});p5.\u0275inj=rc({imports:[tF,iC,aA]});var q5=function(){};q5.\u0275fac=function(a){return new (a||q5)};q5.\u0275mod=Ic({type:q5});q5.\u0275inj=rc({imports:[tF,$w,iC,mA,jA,aA,jV]});var r5=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 Gv;this.selectedChange=new Gv;this.cardTitleChange=new Gv;this.onSaveButtonClicked=new Gv;this.onCancelButtonClicked=
new Gv;this.isInheritedChange=new Gv;this.isExpanded=!1};r5.prototype.expand=function(){this.isExpanded=!0};r5.prototype.collapse=function(){this.isExpanded=!1};r5.prototype.onSave=function(){this.collapse();this.onSaveButtonClicked.emit()};r5.prototype.onCancel=function(){this.collapse();this.onCancelButtonClicked.emit()};r5.\u0275fac=function(a){return new (a||r5)};
r5.\u0275cmp=Gc({type:r5,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&&(xf(),G(0,"div",0)(1,"div",1)(2,"mat-checkbox",2),M("change",function(d){b.selected=d.checked;b.expand();b.selectedChange.emit(b.selected)}),H(),Q(3,olb,3,3,"ng-container",3),G(4,"button",4),M("click",function(){b.isExpanded?b.collapse():b.expand()}),Q(5,plb,1,0,"mat-icon",5),Q(6,qlb,1,0,"mat-icon",6),H(),Q(7,vlb,3,7,"ng-template",null,
7,Zf),H(),Q(9,wlb,2,0,"div",8),Q(10,Blb,9,6,"div",9),H());if(a&2){var c=Cf(8);gf("aria-expanded",b.isExpanded);z(2);qf("expanded-checkbox",b.isExpanded);F("disabled",b.disabled)("checked",b.selected)("aria-label",b.cardTitle);z(1);F("ngIf",!b.isExpanded)("ngIfElse",c);z(1);F("ngClass",b.isExpanded?"collapse-toggle":"expand-toggle");gf("aria-label",b.isExpanded?"Collapse editor":"Expand editor");z(1);F("ngIf",b.isExpanded);z(1);F("ngIf",!b.isExpanded);z(3);F("ngIf",b.isExpanded);z(1);F("ngIf",b.isExpanded)}},
dependencies:[cw,dw,ew,uA,og,Fw,Ww,Xw,Lw,vN,Jz,xS,iA,hA,cO,bO,Lz,tL,lA,LB],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 s5=function(){};s5.\u0275fac=function(a){return new (a||s5)};s5.\u0275mod=Ic({type:s5});s5.\u0275inj=rc({imports:[tF,$w,$N,iC,eT,dO,FS,mA,JC]});var t5=function(a){r.call(this,a,0,t5.messageId)};U(t5,r);t5.prototype.getFieldIdList=function(){return aj(this,Bi,1)};t5.prototype.setFieldIdList=function(a){return dj(this,1,a)};t5.prototype.setFieldId=function(a){Fs(this,1,Bi,a)};t5.repeatedFields_=[1];t5.prototype.toObject=function(){if(null!=this){t(this);var a={fieldIdList:Kb(this.getFieldIdList(),Z8b)}}else a=void 0;return a};t5.messageId="b.ReorderFieldsRequest";var u5=function(a){r.call(this,a,0,u5.messageId)};U(u5,r);u5.prototype.getFieldIdList=function(){return aj(this,Bi,1)};u5.prototype.setFieldIdList=function(a){return dj(this,1,a)};u5.prototype.setFieldId=function(a){Fs(this,1,Bi,a)};u5.repeatedFields_=[1];u5.prototype.toObject=function(){if(null!=this){t(this);var a={fieldIdList:Kb(this.getFieldIdList(),Z8b)}}else a=void 0;return a};u5.messageId="b.ReorderFieldsResponse";var v5=function(a){this.executor=a};v5.prototype.updateCustomFieldState=function(a,b,c){var d=new Bi;d.setCustomFieldId(b);var e=new UC;e.setFieldId(d);e.setStateOnIssues(c);return this.executor.post({url:"action/components/"+a+"/field_configs/custom_field_id/"+b,body:e,responseConstructor:UC})};v5.prototype.reorder=function(a,b){b=(new t5).setFieldIdList(b);return this.executor.post({url:"action/components/"+a+"/reorder",body:b,responseConstructor:u5})};v5.\u0275fac=function(a){return new (a||v5)(u(LC))};
v5.\u0275prov=qc({token:v5,factory:v5.\u0275fac,providedIn:"root"});var Thd=["SILENT","MINOR","MAJOR"];var Uhd=["fieldStateMenu"],Flb=function(a){return{type:a}},w5=function(a,b,c,d,e,g,h,l,q,x,A){WD.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=x;this.appEvents=A;this.FieldType=rVc;this.ListFieldType=AVc;this.getSingleEditFieldType=t4a;this.getListFieldType=m5a;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=Thd;Object.keys(Cqa).slice(0).filter(function(K){return"UNSPECIFIED"!==K});this.componentId=Rh(this.routeParams.componentId);this.subscriptions.add(SO(b,function(){return B.hasUnsavedChanges()},!0))};U(w5,WD);w5.\u0275dir=WD.\u0275dir;
w5.prototype.ngOnInit=function(){this.loadCustomFields()};w5.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};
w5.prototype.editField=function(a){window.scrollTo({top:0,behavior:"smooth"});if(!this.hasUnsavedChanges()||irc())this.editableField=Nh(this.customFields[a]),this.originalEditableFieldValue=Nh(this.editableField),this.serverError=null,this.setType(this.editableField.type),Jlb(this,this.editableField.allowedValue)};
var Vlb=function(a,b){var c=a.customFields[b];a.confirmationDialog.open({title:"Deleting field: "+c.name,content:fn("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)}})};
w5.prototype.doDelete=function(a){var b=this;DF(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");DF(b.butterBar,"Deleted field: "+a.name,2E3);b.loadCustomFields()})};
w5.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=Rl(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)};
w5.prototype.updateCustomFieldState=function(a,b,c){var d=this;return new Promise(function(e,g){d.fieldConfigService.updateCustomFieldState(d.componentId,a.customFieldId,b).pipe(Te(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=Rl(h);d.isLoading=!1;g(h)})})};w5.prototype.cancel=function(){this.originalEditableFieldValue=this.editableField=null};
var Mlb=function(a,b){var c=a.editableField.type,d="TEXT"===c&&Oh(b)?b:void 0,e="DATE"===c&&b&&eqa(b)?b:void 0,g="ENUM"===c&&Oh(b)?b:void 0,h="NUMERIC"===c&&qqa(b)?b:void 0,l="REPEATED_TEXT"===c&&Ph(b)?{values:b}:void 0,q;if(q="REPEATED_DATE"===c)q=Array.isArray(b)&&b.every(eqa);q=q?{values:b}:void 0;var x="REPEATED_ENUM"===c&&Ph(b)?{values:b}:void 0;b="REPEATED_NUMERIC"===c&&rqa(b)?{values:b}:void 0;a.editableField.typedDefaultValue=new Yh({customFieldId:a.editableField.customFieldId,textValue:d,
dateValue:e,enumValue:g,numericValue:h,repeatedTextValue:l,repeatedDateValue:q,repeatedEnumValue:x,repeatedNumericValue:b})};
w5.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 Jlb=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}}):[]};w5.prototype.hasUnsavedChanges=function(){return this.editableField&&!Mh(this.editableField,this.originalEditableFieldValue)?!0:!1};
w5.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 Lp(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 amb=function(a,b){return a.fieldsEnabledOnParentComponent.has(b)?a.fieldsEnabledOnParentComponent.get(b):!0};w5.prototype.trackClick=function(a){this.analytics.trackEvent("editComponent","click",a)};
var Nlb=function(a){var b,c;return null==(b=a.editableField)?void 0:null==(c=b.typedDefaultValue)?void 0:c.getValue()};w5.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};w5.prototype.setFieldSignificance=function(a){this.editableField.fieldSignificance=a};
w5.\u0275fac=function(a){return new (a||w5)(C(NF),C(RO),C(CF),C(gH),C(RI),C(FT),C(v5),C(nI),C(vG),C(oI),C(KF))};
w5.\u0275cmp=Gc({type:w5,selectors:[["b-component-custom-fields"]],viewQuery:function(a,b){a&1&&Uf(Uhd,5);if(a&2){var c;Tf(c=Wf())&&(b.fieldStateMenus=c)}},inputs:{editMode:"editMode",isSaving:"isSaving",component:"component",parentComponent:"parentComponent"},features:[bf,Zc],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&&(G(0,"div",0),Q(1,Slb,68,32,"div",1),Q(2,Tlb,2,1,"div",2),Q(3,gmb,26,7,"div",3),H());a&2&&(z(1),F("ngIf",b.editableField&&!b.isLoading),z(1),F("ngIf",b.isLoading),z(1),F("ngIf",!b.isLoading))},dependencies:[cw,dw,ew,Mw,og,Fw,Gw,Ww,Lw,Jw,HZ,DZ,AM,p1,qJ,rJ,vJ,sJ,cZ,LB,
DB,BB,CB,AB,Jz,CT,NZ,sL,pG,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 x5=function(){};x5.\u0275fac=function(a){return new (a||x5)};x5.\u0275mod=Ic({type:x5});x5.\u0275inj=rc({imports:[tF,$w,IZ,EZ,WM,q1,DM,hZ,JC,EB,iC,dO,DT,OZ,hJ,ZM,tG]});var y5=function(){this.options=[];this.disabled=!1;this.removeAtIndex=new Gv;this.addRow=new Gv;this.optionsChange=new Gv};y5.prototype.valueChange=function(a,b){this.options[b].value=Number(a.target.value);this.optionsChange.emit(this.options)};y5.prototype.drop=function(a){qn(this.options,a.previousIndex,a.currentIndex);this.optionsChange.emit(this.options)};y5.\u0275fac=function(a){return new (a||y5)};
y5.\u0275cmp=Gc({type:y5,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&&(G(0,"div",0)(1,"div",1)(2,"span",2),R(3," Dropdown value "),H()(),G(4,"div",3)(5,"span",4),R(6," Average days "),H(),I(7,"mat-icon",5),H()(),G(8,"div",6),M("cdkDropListDropped",function(c){return b.drop(c)}),Q(9,imb,12,13,"div",7),H(),Q(10,jmb,2,0,"button",8));a&2&&(z(2),qf("muted",b.disabled),z(3),qf("muted",b.disabled),z(2),F("matTooltip","All estimated effort types map to an average number of days."),z(2),F("ngForOf",b.options),z(1),F("ngIf",!b.disabled))},dependencies:[dw,ew,uA,iA,lA,
Jz,LB,AK,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 z5=function(){this.disabled=!1;this.valueChange=new Gv};z5.prototype.onValueChange=function(a){this.valueChange.emit(Number(a.target.value))};z5.\u0275fac=function(a){return new (a||z5)};
z5.\u0275cmp=Gc({type:z5,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&&(G(0,"div",0)(1,"div",1)(2,"span",2),R(3," Time "),H(),G(4,"span",3),R(5,"1"),H()(),G(6,"div",1)(7,"div",4)(8,"span",5),R(9," Average days "),H(),I(10,"mat-icon",6),H(),G(11,"mat-form-field",
7)(12,"input",8,9),M("change",function(d){return b.onValueChange(d)}),H()()()());if(a&2){var c=Cf(13);z(2);qf("muted",b.disabled);z(6);qf("muted",b.disabled);z(2);F("matTooltip","All estimated effort types map to an average number of days.");z(1);F("appearance",c.focused?"standard":"none");z(1);F("disabled",b.disabled)("value",b.value)}},dependencies:[uA,iA,lA,LB],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 B5=function(a){this.activeSession=a;this.disabled=!1;this.updateEffortSpec=new Gv;this.configurationOptions=[Vhd,Whd,A5];this.estimatedEffortFieldEnabled=this.inherit=!1;this.name="Estimated effort";this.numericSpecMultiplier=1;this.enumSpecOptions=[];this.aggregationRules=$8b;this.selectedAggregationRule=this.aggregationRules.SUM;this.enableAggregationRules=UD(this.activeSession,"enableAggregationRules")};
B5.prototype.ngOnInit=function(){(this.originalEffortSpec=this.effortSpec)&&this.effortSpec.numericSpec&&(this.originalSelectedEffortConfig=A5)};B5.prototype.ngOnChanges=function(a){a.effortSpec&&this.effortSpec&&(this.originalEffortSpec=Nh(this.effortSpec),this.setValues(this.effortSpec))};
B5.prototype.setValues=function(a){if(a.numericSpec){this.selectedEffortConfig=A5;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 Xhd=function(a){var b,c,d;if((null==(b=a.effortSpec)?0:b.enumSpec)&&!a.selectedEffortConfig||(null==(c=a.selectedEffortConfig)?void 0:c.displayText)===Vhd.displayText||(null==(d=a.selectedEffortConfig)?void 0:d.displayText)===Whd.displayText)return"enum";var e;return(null==(e=a.selectedEffortConfig)?void 0:e.displayText)===A5.displayText?"numeric":"empty"};B5.prototype.addRow=function(){this.enumSpecOptions.push({label:null,value:null})};
B5.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 Yhd=function(a){a.selectedEffortConfig=void 0;a.enumSpecOptions=[];a.effortSpec=void 0;a.name="Estimated effort"};B5.\u0275fac=function(a){return new (a||B5)(C(gs))};
B5.\u0275cmp=Gc({type:B5,selectors:[["b-estimated-effort-config"]],inputs:{effortSpec:"effortSpec",parentEffortSpec:"parentEffortSpec",disabled:"disabled"},outputs:{updateEffortSpec:"updateEffortSpec"},features:[Zc],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&&(G(0,"b-collapsible-card",0),M("cardTitleChange",function(c){return b.name=c})("dropdownSelectionChanged",function(c){b.selectedEffortConfig=
c;c.displayText===Vhd.displayText?(b.enumSpecOptions=[].concat(Vc(Zhd)),b.name="Story points"):c.displayText===Whd.displayText?(b.enumSpecOptions=[].concat(Vc($hd)),b.name="T-shirt sizes"):c.displayText===A5.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)===A5.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||Yhd(b)})("onCancelButtonClicked",function(){b.effortSpec=b.originalEffortSpec;b.selectedEffortConfig=b.originalSelectedEffortConfig;b.effortSpec?b.setValues(b.effortSpec):(b.estimatedEffortFieldEnabled=!1,Yhd(b))})("isInheritedChange",function(c){(c=c.checked)?(b.setValues(b.parentEffortSpec?b.parentEffortSpec:{name:"Estimated effort"}),b.effortSpec=b.parentEffortSpec,b.effortSpec||Yhd(b)):b.effortSpec&&(b.setValues({}),Yhd(b));
b.inherit=c}),G(1,"div",1),Q(2,lmb,2,1,"ng-container",2),Q(3,mmb,2,2,"ng-container",2),Q(4,nmb,1,0,"ng-container",2),H(),Q(5,omb,23,13,"div",3),H(),Q(6,pmb,1,2,"ng-template",null,4,Zf));a&2&&(F("cardTitle",b.name)("dropdownOptions",b.configurationOptions)("selectedOption",b.selectedEffortConfig)("disabled",b.disabled||b.inherit)("selected",b.estimatedEffortFieldEnabled)("isSaveButtonDisabled",b.isSaveButtonDisabled())("showInheritedToggle",!0)("isInherited",b.inherit)("inheritedDisabled",b.disabled),
z(1),F("ngSwitch",Xhd(b)),z(1),F("ngSwitchCase","enum"),z(1),F("ngSwitchCase","numeric"),z(1),F("ngSwitchCase","empty"),z(1),F("ngIf",b.enableAggregationRules&&b.estimatedEffortFieldEnabled))},dependencies:function(){return[ew,jw,fw,gw,uA,iA,Kz,r5,LB,cO,bO,Lz,y5,z5,C5]},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 Zhd=[{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}],$hd=[{label:"XS",value:1},{label:"S",value:3},{label:"M",value:5},{label:"L",value:10},{label:"XL",value:20}],Vhd={displayText:"Story points",icon:"story-point-24px"},Whd={displayText:"T-shirt sizes",icon:"t-shirt-24px"},A5={displayText:"Time",icon:"time-24px"},C5=function(){};
C5.prototype.transform=function(a){switch(a){case "MAX":return"Max Point";default:return"Simple Sum"}};C5.\u0275fac=function(a){return new (a||C5)};C5.\u0275pipe=Lc({name:"aggregationRuleText",type:C5,pure:!0});var aid=function(){this.disabled=!1;this.updateComponent=new Gv};aid.\u0275fac=function(a){return new (a||aid)};
aid.\u0275cmp=Gc({type:aid,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&&(G(0,"div",0)(1,"div",1),R(2,"Once activated, standard fields appear in the right panel of all issues."),H(),G(3,"b-estimated-effort-config",
2),M("updateEffortSpec",function(c){b.updateComponent.emit(c)}),H()());a&2&&(z(3),F("effortSpec",b.effortSpec)("parentEffortSpec",b.parentEffortSpec)("disabled",b.disabled))},dependencies:[B5],styles:[".field-container[_ngcontent-%COMP%]{max-width:1100px}"]});var D5=function(){};D5.\u0275fac=function(a){return new (a||D5)};D5.\u0275mod=Ic({type:D5});D5.\u0275inj=rc({imports:[tF,mA,iC,$N,s5,JC,dO,BK]});var E5=function(){};E5.\u0275fac=function(a){return new (a||E5)};E5.\u0275mod=Ic({type:E5});E5.\u0275inj=rc({imports:[tF,s5,D5]});var bid={MISSING:"MISSING",DELETED:"DELETED",VALID:"VALID"};var F5=function(a,b,c,d,e,g,h,l,q,x){WD.call(this);var A=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=x;this.teamSuggestionIds=[];this.header="";this.teamOptions=[];this.teamAction="CHANGE";this.WarningType=bid;this.warningType=a.warningType;this.componentId=a.componentId;this.parentComponentId=a.parentComponentId;this.teamSuggestionIds=a.teamSuggestionIds;
this.selectedTeam=new cid(this.teamSuggestionIds[0]||"0",[]);this.componentSetting=this.pathBuilder.editComponent(this.componentId,"basic");this.suggestedTeams$=qgc(this.teamsService,this.teamSuggestionIds).pipe(D(function(B){for(var K=[],N=k(A.teamSuggestionIds),P=N.next();!P.done;P=N.next()){P=P.value;var Y=B.get(P);Y&&K.push(new cid(P,Y.collapsedPathNames))}return K}),Re([]));this.myTeams$=BH(this.teamsService,"").pipe(D(function(B){return B.map(function(K){return new cid(K.teamId,K.pathNames)})}));
(0,E.combineLatest)([this.suggestedTeams$,this.myTeams$]).pipe(D(function(B){var K=k(B);B=K.next().value;K=K.next().value;return[].concat(Vc(B),Vc(K))}),D(Gua(function(B){return B.teamId})),Te(this.destroyed$)).subscribe(function(B){A.teamOptions=B;A.selectedTeam=B[0]})};U(F5,WD);F5.\u0275dir=WD.\u0275dir;F5.prototype.ngOnInit=function(){"MISSING"===this.warningType?this.header="Add team to the component":"DELETED"===this.warningType&&(this.header="Change team mapping for this component")};
F5.prototype.confirm=function(){var a=this;if("CHANGE"===this.teamAction)0<this.parentComponentId?this.componentActions.get(this.parentComponentId).then(function(c){var d;did(a,(null==(d=c.team)?void 0:d.id)||"0",a.selectedTeam.teamId)}):did(this,"0",this.selectedTeam.teamId);else{var b=Nh(this.userPreferencesManager.teamWarningPreferencesSubject$.value);b.componentTeamWarnings.push({componentId:this.componentId,dismissMillis:(new Date).getTime()});fic(this.userPreferencesManager,b).pipe(Te(this.destroyed$)).subscribe(function(){a.analytics.trackEvent(Jn.TEAM_WARNING,
"dismiss","componentId",a.componentId);var c;null==(c=a.dialogRef)||c.close()},function(){})}};var did=function(a,b,c){a.componentActions.updateTeam(a.componentId,{inherit:c===b,id:c}).then(function(d){a.componentFridge.announce(d);a.analytics.trackEvent(Jn.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)})};
F5.prototype.selectOption=function(a){this.selectedTeam=a};F5.prototype.trackClick=function(a){this.analytics.trackEvent(Jn.TEAM_WARNING,"click",a)};F5.prototype.getMomaTeamLink=function(){return"https://moma.corp.google.com/team/"+this.selectedTeam.teamId};F5.\u0275fac=function(a){return new (a||F5)(C(Vz),C(Tz),C(NS),C(zH),C(FT),C(uI),C(AF),C(gH),C(GF),C(eF))};
F5.\u0275cmp=Gc({type:F5,selectors:[["b-team-warning-dialog"]],features:[bf],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&&(G(0,"h1",0),R(1),H(),Q(2,rmb,5,1,"div",1),
Q(3,smb,5,1,"div",1),Q(4,tmb,7,1,"mat-radio-group",2),Q(5,xmb,6,6,"div",3),G(6,"mat-dialog-actions")(7,"button",4),R(8," Cancel "),H(),G(9,"button",5),M("click",function(){return b.confirm()}),R(10," Confirm "),H()());a&2&&(z(1),Ef(b.header),z(1),F("ngIf",b.warningType===b.WarningType.MISSING),z(1),F("ngIf",b.warningType===b.WarningType.DELETED),z(1),F("ngIf",b.warningType===b.WarningType.MISSING),z(1),F("ngIf",0<b.teamOptions.length))},dependencies:[ew,uA,Fw,Lw,Jz,Kz,Xz,Yz,Zz,$z,xM,yM,LB,NY],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 cid=function(a,b){this.teamId=a;this.teamPath=b.join(" > ")};var G5=function(a,b){WD.call(this);this.matDialogService=a;this.analytics=b;this.teamSuggestions=[];this.messageOnly=!1;this.updateTeam=new Gv};U(G5,WD);G5.\u0275dir=WD.\u0275dir;G5.prototype.ngOnInit=function(){};G5.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")};
G5.prototype.openDialog=function(){var a=this;this.analytics.trackEvent(Jn.TEAM_WARNING,"open");Rz(this.matDialogService.open(F5,{width:"580px",data:{warningType:this.warningType,componentId:this.componentId,parentComponentId:this.parentComponentId,teamSuggestionIds:this.teamSuggestions.map(function(b){return String(b.teamId)})}})).pipe(Te(this.destroyed$)).subscribe(function(b){b&&a.updateTeam.emit(b)})};G5.\u0275fac=function(a){return new (a||G5)(C(Wz),C(gH))};
G5.\u0275cmp=Gc({type:G5,selectors:[["b-team-warning"]],inputs:{warningType:"warningType",componentId:"componentId",parentComponentId:"parentComponentId",teamSuggestions:"teamSuggestions",messageOnly:"messageOnly"},outputs:{updateTeam:"updateTeam"},features:[bf,Zc],decls:4,vars:2,consts:[["messageType","caution","format","app"],[4,"ngIf"],["format","fill","mat-button","",3,"click"]],template:function(a,b){a&1&&(G(0,"b-callout",0)(1,"b-callout-body"),R(2),H(),Q(3,ymb,3,1,"b-callout-actions",1),H());
a&2&&(z(2),Df(" ",b.warningMessage," "),z(1),F("ngIf",!b.messageOnly))},dependencies:[PO,mX,nX,ew],encapsulation:2});var H5=function(a){var b=this;this.teamsService=a;this.anchorTarget="_blank";this.useInternalLink=this.isTopLevel=this.isAdmin=!1;this.modelChange=new Gv;this.inherit=!1;this.selectedTeam$=new E.Subject;this.teamIdChanged$=new E.ReplaySubject(1);this.placeholder$=this.teamIdChanged$.pipe(D(function(c){return"0"===c?!b.isAdmin||!b.isTopLevel&&b.inherit?"No team selected":"Type to search for a team (leave blank to disable)":""}),Re(""));this.teamFromId$=this.teamIdChanged$.pipe(Se(function(c){return"0"===
c?(0,E.of)(new Tib([c],[""],"")):AH(b.teamsService,c).pipe(D(function(d){return new Tib([],d.collapsedPathNames,d.description)}))}));this.displayedTeam$=(0,E.merge)(this.teamFromId$,this.selectedTeam$);this.warningType$=this.teamIdChanged$.pipe(Se(function(c){return"0"===c?(0,E.of)("MISSING"):b.teamsService.getTeam(c).pipe(D(function(d){return!d||d.deleted?"DELETED":"VALID"}))}))};
H5.prototype.updateSelectionOnChange=function(a){Om(Jn.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);eid(this)};var eid=function(a){a.inherit=a.model.inherit;a.teamIdChanged$.next(a.model.id)};H5.prototype.ngOnInit=function(){Object.assign({},this.model);eid(this)};var Cmb=function(a){return a.model.id&&"0"!==a.model.id};
H5.prototype.getMomaTeamLink=function(){return Cmb(this)?"https://moma.corp.google.com/team/"+this.model.id:null};H5.\u0275fac=function(a){return new (a||H5)(C(zH))};
H5.\u0275cmp=Gc({type:H5,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&&(G(0,"div"),Q(1,Amb,2,1,"ng-container",0),S(2,"async"),Q(3,Bmb,3,2,"div",1),G(4,"div",2)(5,"label",3),R(6,"Team selection"),H(),G(7,"b-team-picker",4),M("onTeamSelect",
function(d){return b.updateSelectionOnChange(d)})("onEmptyQuery",function(){b.model.id="0";b.modelChange.emit(b.model);eid(b)}),S(8,"async"),S(9,"async"),H(),Q(10,Emb,2,1,"ng-container",5),H()(),Q(11,Gmb,1,1,"ng-template",null,6,Zf));if(a&2){var c=Cf(12);z(1);F("ngIf",T(2,7,b.warningType$));z(2);F("ngIf",!b.isTopLevel);z(4);F("placeholder",T(8,9,b.placeholder$))("disabled",!b.isAdmin||!b.isTopLevel&&b.inherit)("teamSelected",T(9,11,b.displayedTeam$));z(3);F("ngIf",b.useInternalLink)("ngIfElse",c)}},
dependencies:[ew,uA,vN,LB,L4,G5,Kz,pG,kw],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 I5=function(){};I5.\u0275fac=function(a){return new (a||I5)};I5.\u0275mod=Ic({type:I5});I5.\u0275inj=rc({imports:[aS,yX,tF,$w,iC,aA,aN,zF,JC,ZY]});var J5=function(){};J5.\u0275fac=function(a){return new (a||J5)};J5.\u0275mod=Ic({type:J5});J5.\u0275inj=rc({imports:[tF,BO,$N,JC,O4,I5,$w,iC,tG]});var K5=function(){};K5.\u0275fac=function(a){return new (a||K5)};K5.\u0275mod=Ic({type:K5});K5.\u0275inj=rc({imports:[tF,$w,iC,mA,jA,aA]});var L5=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},fid=function(a){a.fields.sort(function(b,c){return b.name.localeCompare(c.name)});a.detectChanges()};L5.prototype.drop=function(a){qn(this.fields,a.previousIndex,a.currentIndex);this.detectChanges()};
var Hmb=function(a,b){return 0<b?(qn(a.fields,b,b-1),a.detectChanges(),!0):!1},Imb=function(a,b){return b<a.fields.length-1?(qn(a.fields,b,b+1),a.detectChanges(),!0):!1};L5.prototype.trackByFn=function(){return-1};L5.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.")};
L5.prototype.onKeyDown=function(a,b){switch(a.key){case " ":a.preventDefault();gid(this,b);break;case "Tab":this.grabbed&&gid(this,b);break;case "ArrowUp":hid(this,a);break;case "ArrowDown":hid(this,a)}};
var gid=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."))},hid=function(a,b){if(a.grabbed){var c=document.activeElement;if(c&&void 0!==a.grabbedIndex){if("ArrowUp"===b.key){if(Hmb(a,a.grabbedIndex)){var d=c.previousElementSibling;
a.grabbedIndex--}}else Imb(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."))}}};L5.prototype.detectChanges=function(){this.hasChanges=!Mh(this.fields,this.originalFields)};L5.\u0275fac=function(a){return new (a||L5)(C(Vz),C(Tz),C(oy))};
L5.\u0275cmp=Gc({type:L5,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&&(G(0,"div",0)(1,"div",1)(2,"h1",2),R(3," Reorder custom fields "),H(),G(4,"button",3),M("click",function(){return fid(b)}),I(5,"mat-icon",4),H()()(),G(6,"div",5)(7,"ol",6),M("cdkDropListDropped",function(c){return b.drop(c)}),Q(8,Jmb,9,7,"li",7),H()(),G(9,"div",8)(10,"button",9),M("click",function(){return b.dialogRef.close()}),R(11," Cancel "),H(),G(12,"button",10),M("click",function(){return b.dialogRef.close(b.fields)}),R(13," Save "),H()());a&2&&(z(8),
F("ngForOf",b.fields)("ngForTrackBy",b.trackByFn),z(4),F("disabled","CUSTOMIZED"===b.fieldOrdering&&!b.hasChanges))},dependencies:[dw,uA,Jz,Yz,Zz,$z,AK,yK,tK,LB],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 M5=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 Gv;this.displayedColumn=["index","name","type","required","customFieldId"]},Xmb=function(a){return Rz(a.matDialog.open(L5,{width:"500PX",autoFocus:!1,data:{fields:a.fields,orderingCustomized:a.fieldOrdering}})).subscribe(function(b){b&&iid(a,b)})},Ymb=function(a){a.confirmationDialog.open({title:"Reset ordering?",content:fn("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()}})},iid=function(a,b){a.analytics.trackEvent(Jn.FIELD_ORDERING,"reorderFields");var c=b.map(function(d){return(new Bi).setCustomFieldId(d.customFieldId)});a.componentId?(DF(a.butterBar,"Saving...",0),a.fieldConfigService.reorder(a.componentId,c).subscribe(function(){DF(a.butterBar,"Field ordering saved",5E3);a.fields=b.concat();a.fieldOrdering="CUSTOMIZED"},function(){EF(a.butterBar,"Saving ordering failed, please refresh the page.",5E3)})):EF(a.butterBar,"Saving ordering failed due to the undefined component id.")};
M5.prototype.reset=function(){var a=this;this.analytics.trackEvent(Jn.FIELD_ORDERING,"resetFields");this.componentId?(DF(this.butterBar,"Resetting orderings..."),this.fieldConfigService.executor.post({url:"action/components/"+this.componentId+"/unorder",body:null,responseConstructor:YD}).subscribe(function(){DF(a.butterBar,"Ordering reset");a.fieldOrdering="INHERITED";a.onReload.emit()},function(){EF(a.butterBar,"Reset failed.")})):EF(this.butterBar,"Reset failed due to the undefined component id.")};
M5.\u0275fac=function(a){return new (a||M5)(C(Wz),C(oI),C(v5),C(gH),C(CF))};
M5.\u0275cmp=Gc({type:M5,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&&(G(0,"div",0)(1,"div",1)(2,"table",2),J(3,3),Q(4,Kmb,2,0,"th",4),Q(5,Lmb,2,1,"td",5),L(),J(6,6),Q(7,Mmb,2,0,"th",
4),Q(8,Nmb,2,1,"td",5),L(),J(9,7),Q(10,Omb,2,0,"th",4),Q(11,Pmb,3,3,"td",5),L(),J(12,8),Q(13,Qmb,2,0,"th",4),Q(14,Rmb,2,1,"td",5),L(),J(15,9),Q(16,Smb,2,0,"th",4),Q(17,Tmb,2,1,"td",5),L(),Q(18,Umb,1,0,"tr",10),Q(19,Vmb,1,0,"tr",11),H(),Q(20,Wmb,2,0,"div",12),H(),Q(21,Zmb,6,2,"div",13),H());a&2&&(z(2),F("dataSource",b.fields),z(16),F("matHeaderRowDef",b.displayedColumn),z(1),F("matRowDefColumns",b.displayedColumn),z(1),F("ngIf",0===b.fields.length),z(1),F("ngIf",b.isAdmin))},dependencies:[ew,Jz,fL,
YK,bL,ZK,XK,cL,$K,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 N5=function(){};N5.\u0275fac=function(a){return new (a||N5)};N5.\u0275mod=Ic({type:N5});N5.\u0275inj=rc({providers:[oI],imports:[tF,iC,aA]});var O5=function(){};O5.\u0275fac=function(a){return new (a||O5)};O5.\u0275mod=Ic({type:O5});O5.\u0275inj=rc({imports:[tF,iC,aS,aA,mN,BK,JC,WM,N5,kO]});var P5=function(a){this.analytics=a;this.filename=this.packageName=this.issueId="";this.lineNumbers=[];this.changeNumber=0},anb=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="+jid+a.issueId+kid;a.changeNumber&&(c+="&rcl="+a.changeNumber);Array.isArray(b)?c+="&l="+b.join(","):b&&(c+="&l="+b);return c}};
P5.prototype.trackClick=function(a){this.analytics.trackEvent("codeMentions","clickCodeSearchLink",a)};P5.\u0275fac=function(a){return new (a||P5)(C(gH))};
P5.\u0275cmp=Gc({type:P5,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&&(G(0,"div",0)(1,"a",1),M("click",function(){return b.trackClick("fileName")}),R(2),H(),Q(3,$mb,2,1,"span",2),Q(4,cnb,5,1,"span",2),H());a&2&&(z(1),F("href",anb(b,b.lineNumbers),Md),z(1),Df(" ",b.filename," "),z(1),F("ngIf",!(10>=b.lineNumbers.length&&"wiki"!=b.packageName)),z(1),F("ngIf",10>=b.lineNumbers.length&&"wiki"!=b.packageName))},dependencies:[dw,ew],encapsulation:2});
var jid=encodeURIComponent("content:(https?://)?b(uganizer)?(\\.corp(\\.google\\.com)?)?/(issues/|issue\\?id=)?"),kid=encodeURIComponent("(\\b|$)");var Q5=function(){};Q5.\u0275fac=function(a){return new (a||Q5)};Q5.\u0275mod=Ic({type:Q5});Q5.\u0275inj=rc({imports:[tF]});var R5=function(){this.isReady=!1};R5.\u0275fac=function(a){return new (a||R5)};R5.\u0275cmp=Gc({type:R5,selectors:[["onedev-async-data-placeholder"]],inputs:{isReady:"isReady"},ngContentSelectors:["*"],decls:2,vars:2,consts:[["class","loading-indicator",4,"ngIf"],[4,"ngIf"],[1,"loading-indicator"]],template:function(a,b){a&1&&(xf(),Q(0,dnb,1,0,"div",0),Q(1,enb,2,0,"ng-container",1));a&2&&(F("ngIf",!b.isReady),z(1),F("ngIf",b.isReady))},dependencies:[ew],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 lid=function(){this.warning=""};lid.\u0275fac=function(a){return new (a||lid)};
lid.\u0275cmp=Gc({type:lid,selectors:[["onedev-warning-icon"]],hostVars:2,hostBindings:function(a,b){a&2&&qf("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&&Q(0,fnb,2,1,"svg",0);a&
2&&F("ngIf",b.warning)},dependencies:[ew,LB],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 mid=["*",[["","actions",""]]],nid=[[["onedev-field-label"]],[["onedev-field-value"]]],oid=0,S5=function(){this.thinking=!1;this.warning=this.labelTooltip="";this.id="onedev-field-label-"+oid;oid++};S5.\u0275fac=function(a){return new (a||S5)};
S5.\u0275cmp=Gc({type:S5,selectors:[["onedev-field-label"]],hostVars:1,hostBindings:function(a,b){a&2&&gf("id",b.id)},inputs:{thinking:"thinking",labelTooltip:"labelTooltip",warning:"warning"},ngContentSelectors:["*"],decls:4,vars:3,consts:[[3,"isReady"],[1,"label",3,"matTooltip"],[3,"warning"]],template:function(a,b){a&1&&(xf(),G(0,"onedev-async-data-placeholder",0)(1,"span",1),yf(2),H(),I(3,"onedev-warning-icon",2),H());a&2&&(F("isReady",!b.thinking),z(1),F("matTooltip",b.labelTooltip),z(2),F("warning",
b.warning))},dependencies:[R5,LB,lid],styles:["[_nghost-%COMP%]{line-height:29px;font-size:13px}span.label[_ngcontent-%COMP%]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}"]});var T5=function(){this.thinking=!1};T5.\u0275fac=function(a){return new (a||T5)};
T5.\u0275cmp=Gc({type:T5,selectors:[["onedev-field-value"]],inputs:{thinking:"thinking"},ngContentSelectors:["*","[actions]"],decls:3,vars:1,consts:[[3,"isReady"]],template:function(a,b){a&1&&(xf(mid),G(0,"onedev-async-data-placeholder",0),yf(1),yf(2,1),H());a&2&&F("isReady",!b.thinking)},dependencies:[R5],encapsulation:2});var U5=function(){this.labelPosition="left"};U5.prototype.ngAfterContentInit=function(){var a=this;setTimeout(function(){a.field&&a.label&&(a.field.labelledById=a.label.id)})};
U5.\u0275fac=function(a){return new (a||U5)};
U5.\u0275cmp=Gc({type:U5,selectors:[["onedev-edit-field"]],contentQueries:function(a,b,c){a&1&&(Vf(c,MY,5),Vf(c,S5,7));if(a&2){var d;Tf(d=Wf())&&(b.field=d.first);Tf(d=Wf())&&(b.label=d.first)}},inputs:{labelPosition:"labelPosition"},ngContentSelectors:["onedev-field-label","onedev-field-value"],decls:3,vars:4,consts:[[1,"wrapper"]],template:function(a,b){a&1&&(xf(nid),G(0,"div",0),yf(1),yf(2,1),H());a&2&&qf("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 pid=["popOverContent"],V5=function(a,b){this.overlay=a;this.viewContainerRef=b;this.newlineWithEnterKey=this.displayUnder=!1;this.hasBackdrop=!0;this.fitToViewport=!1;this.minWidth=null;this.closedWithAction=new Gv;this.isOpen=!1;this.destroyed$=new E.ReplaySubject(1);this.backdropClickSubscription=E.Subscription.EMPTY};V5.prototype.ngOnInit=function(){};V5.prototype.ngOnDestroy=function(){this.close();this.destroyed$.next();this.destroyed$.complete()};
V5.prototype.open=function(){var a=this;this.isOpen||(this.overlayRef=this.createOverlay(),this.attach(),this.isOpen=!0,this.backdropClickSubscription=this.overlayRef.backdropClick().pipe(Te(this.destroyed$)).subscribe(function(){inb(a)}))};V5.prototype.close=function(){this.isOpen&&this.overlayRef&&(this.overlayRef.dispose(),this.overlayRef=void 0,this.isOpen=!1,this.backdropClickSubscription.unsubscribe())};
var hnb=function(a){a.closedWithAction.emit(0);a.close()},inb=function(a){a.closedWithAction.emit(1);a.close()};f=V5.prototype;f.processKeydown=function(a){switch(a.key){case "Escape":inb(this);a.stopPropagation();break;case "Enter":if(this.newlineWithEnterKey){if(a.metaKey||a.ctrlKey)hnb(this),a.stopPropagation(),a.preventDefault()}else a.shiftKey||(hnb(this),a.stopPropagation(),a.preventDefault())}};
f.createOverlay=function(){var a=this.getPositionStrategy(),b=this.getScrollStrategy(),c;a=this.overlay.create({positionStrategy:a,scrollStrategy:b,hasBackdrop:this.hasBackdrop,backdropClass:"onedev-pop-over-edit-panel-backdrop",panelClass:"onedev-pop-over-edit-panel",width:8+Math.max(null!=(c=this.minWidth)?c:0,this.anchor.offsetWidth)});a.overlayElement.setAttribute("role","dialog");return a};
f.attach=function(){var a=new nx(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=mYb(Xy(Zy(this.overlay.position(),this.anchor),this.fitToViewport),this.fitToViewport);a._offsetX=-4;a._offsetY=this.displayUnder?this.anchor.offsetHeight:-4;return Vy(a,qid)};f.getScrollStrategy=function(){return this.overlay.scrollStrategies.reposition()};
V5.\u0275fac=function(a){return new (a||V5)(C($y),C(Rf))};
V5.\u0275cmp=Gc({type:V5,selectors:[["onedev-pop-over-edit-panel"]],viewQuery:function(a,b){a&1&&Uf(pid,7);if(a&2){var c;Tf(c=Wf())&&(b.contentTemplateRef=c.first)}},inputs:{anchor:"anchor",editorTemplate:"editorTemplate",displayUnder:"displayUnder",newlineWithEnterKey:"newlineWithEnterKey",hasBackdrop:"hasBackdrop",fitToViewport:"fitToViewport",minWidth:"minWidth"},outputs:{closedWithAction:"closedWithAction"},exportAs:["onedevPopOverEditPanel"],decls:2,vars:0,consts:[["popOverContent",""],["cdkTrapFocus",
"",1,"content","gmat-elevation-z2",3,"cdkTrapFocusAutoCapture","keydown"],[1,"edit-field"],[4,"ngTemplateOutlet"],[1,"actions"],["mat-button","","color","primary",1,"save",3,"click"],["mat-button","","color","primary",1,"cancel",3,"click"]],template:function(a){a&1&&Q(0,jnb,8,2,"ng-template",null,0,Zf)},dependencies:[jw,fx,Jz],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 qid=[{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 rid=["popOver"],lnb=function(a){return{$implicit:a}},W5=function(a){this.disabled=!1;this.displayEditIcon=!0;this.openPopOverOnInit=!1;this.valueChange=new Gv;this.required=this.editing=this.headerFocused=!1;this.editingValue="";this.onChange=function(){};this.onTouched=function(){};if(""===a||"true"===a||"required"===a)this.required=!0};U(W5,MY);f=W5.prototype;f.ngOnInit=function(){};f.ngAfterViewInit=function(){var a=this;this.openPopOverOnInit&&setTimeout(function(){a.startEditing()})};
f.valueChanged=function(){return qnb(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=qnb(this.editingValue),this.valueChange.emit(a))};f.writeValue=function(a){var b=qnb(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};hh.Object.defineProperties(W5.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.val},set:function(a){a!==this.val&&this.writeValue(null!=a?String(a):null)}}});W5.\u0275fac=function(a){return new (a||W5)(od("required"))};
W5.\u0275cmp=Gc({type:W5,selectors:[["onedev-numeric-field"]],viewQuery:function(a,b){a&1&&Uf(rid,7);if(a&2){var c;Tf(c=Wf())&&(b.popOver=c.first)}},inputs:{value:"value",disabled:"disabled",displayEditIcon:"displayEditIcon",labelledById:"labelledById",openPopOverOnInit:"openPopOverOnInit",valueTemplate:"valueTemplate"},outputs:{valueChange:"valueChange"},features:[Gf([{provide:uw,useExisting:wc(function(){return W5}),multi:!0},{provide:MY,useExisting:wc(function(){return W5}),multi:!0}]),bf],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&&(G(0,"button",0,1),M("click",function(){return b.startEditing()})("focus",function(){return b.headerFocused=!0})("blur",function(){return b.headerFocused=!1}),G(2,"span"),Q(3,mnb,2,4,"ng-container",2),Q(4,nnb,1,1,"ng-template",null,3,Zf),H(),Q(6,onb,2,0,"svg",4),H(),G(7,"onedev-pop-over-edit-panel",5,6),M("closedWithAction",function(g){return b.stopEditing(g)}),H(),Q(9,pnb,1,1,"ng-template",null,7,Zf));if(a&2){var c=Cf(1),
d=Cf(5),e=Cf(10);F("disabled",b.disabled);z(3);F("ngIf",b.valueTemplate)("ngIfElse",d);z(3);F("ngIf",!b.disabled&&b.displayEditIcon);z(1);F("anchor",c)("editorTemplate",e)}},dependencies:[ew,jw,og,Nw,Fw,Lw,V5],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 wnb=function(){return[]},X5=function(){this.disabled=this.thinking=!1;this.effortChange=new Gv;this.isCompatibleValue=!0;this.fieldName="";this.fieldType="UNKNOWN";this.isNaN=isNaN};
X5.prototype.ngOnChanges=function(){if("DROPDOWN"===this.getFieldType()){var a;this.effortSpec&&null!=(a=this.effortSpec.enumSpec)&&a.options&&this.effort&&this.effort.estimate?(a=sid(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=tid(this)};X5.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=tid(this);this.effortChange.emit(this.effort)};X5.prototype.getFieldName=function(){return this.effortSpec?this.effortSpec.name||"":this.effort?"Estimate "+this.effort.specId:"Estimate"};
X5.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 tid=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"===sid(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},sid=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"}};X5.\u0275fac=function(a){return new (a||X5)};
X5.\u0275cmp=Gc({type:X5,selectors:[["b-estimated-effort-row"]],inputs:{thinking:"thinking",effort:"effort",effortSpec:"effortSpec",disabled:"disabled"},outputs:{effortChange:"effortChange"},features:[Zc],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&&(Q(0,znb,16,7,"onedev-edit-field",0),Q(1,Cnb,3,2,"ng-template",null,1,Zf));a&2&&F("ngIf",b.effortSpec)},dependencies:[ew,fw,gw,hw,
uA,S5,T5,U5,NY,W5,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}/*# sourceMappingURL=estimated_effort_row.css.map */"]});var Y5=function(){};Y5.\u0275fac=function(a){return new (a||Y5)};Y5.\u0275mod=Ic({type:Y5});Y5.\u0275inj=rc({imports:[sw]});var Z5=function(){};Z5.\u0275fac=function(a){return new (a||Z5)};Z5.\u0275mod=Ic({type:Z5});Z5.\u0275inj=rc({imports:[sw,JC]});var $5=function(){};$5.\u0275fac=function(a){return new (a||$5)};$5.\u0275mod=Ic({type:$5});$5.\u0275inj=rc({imports:[Y5,sw,JC,Z5]});var a6=function(){};a6.\u0275fac=function(a){return new (a||a6)};a6.\u0275mod=Ic({type:a6});a6.\u0275inj=rc({imports:[sw,py,cz,sx,iC]});var b6=function(){};b6.\u0275fac=function(a){return new (a||b6)};b6.\u0275mod=Ic({type:b6});b6.\u0275inj=rc({imports:[sw,$w,a6]});var c6=function(){};c6.\u0275fac=function(a){return new (a||c6)};c6.\u0275mod=Ic({type:c6});c6.\u0275inj=rc({imports:[tF,JC,$5,ZY,b6,DM]});var d6=function(a){RE.call(this);this.observableSlosService=a;this.recordType="slo";this.idForRecord=function(b){return b.sloId}};U(d6,RE);f=d6.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)};
d6.\u0275fac=function(a){return new (a||d6)(u(kS))};d6.\u0275prov=qc({token:d6,factory:d6.\u0275fac,providedIn:"root"});var e6=function(a,b,c,d,e){WD.call(this);var g=this;this.session=a;this.userPreferencesManager=b;this.sloStatusHelpersService=c;this.paths=d;this.sloFridge=e;this.onSloStartTimeChange=new Gv;this.onSloEndTimeChange=new Gv;this.providedSloId$=new E.ReplaySubject(1);this.slo$=this.providedSloId$.pipe(Se(function(h){return g.sloFridge.watchOne(h)}));this.hasClosureSlo=this.isSloEndEditTimePickerOpen=this.isSloStartEditTimePickerOpen=this.enableSloEndTime=this.isAccordionExpanded=!1};U(e6,WD);
e6.\u0275dir=WD.\u0275dir;e6.prototype.ngOnInit=function(){var a=this;uid(this);this.userPreferencesManager.layoutPreferences$.pipe(Te(this.destroyed$)).subscribe(function(b){a.isAccordionExpanded=!!b.expandIssueSlo})};e6.prototype.ngOnChanges=function(){this.sloId&&this.providedSloId$.next(this.sloId);uid(this)};
var uid=function(a){a.hasSlo=!!a.sloStatus&&Yic(a.sloStatus);a.hasClosureSlo=a.hasSlo&&Zic(a.sloStatus,"CLOSURE");a.enableSloEndTime=UD(a.session,"enableSloEndTime");var b,c;(c=a.sloStatus)?(c=c.closureBounds,c=VI(mi(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},vid=function(a){a.isAccordionExpanded=
!a.isAccordionExpanded;aic(a.userPreferencesManager,{expandIssueSlo:a.isAccordionExpanded}).pipe(Te(a.destroyed$)).subscribe();Om(Jn.ISSUE_SLO,"toggle",a.isAccordionExpanded?"open":"close")};e6.prototype.updateSloStartTime=function(a){this.onSloStartTimeChange.next(a)};e6.prototype.updateSloEndTime=function(a){this.onSloEndTimeChange.next(a)};e6.prototype.trackOpenSlo=function(){Om(Jn.EDIT_SLO,"open","fromIssueSloBox")};e6.\u0275fac=function(a){return new (a||e6)(C(gs),C(uI),C(UI),C(vG),C(d6))};
e6.\u0275cmp=Gc({type:e6,selectors:[["b-issue-slo-box"]],inputs:{sloId:"sloId",componentId:"componentId",sloStatus:"sloStatus",sloStartTime:"sloStartTime",sloEndTime:"sloEndTime",isEditable:"isEditable",issueCreationTimestamp:"issueCreationTimestamp"},outputs:{onSloStartTimeChange:"onSloStartTimeChange",onSloEndTimeChange:"onSloEndTimeChange"},features:[bf,Zc],decls:17,vars:19,consts:[[1,"issue-slo-box-title",3,"click"],[1,"slo-body"],[1,"slo-status"],[3,"hidden"],[3,"sloStatus","sloStartTime","sloEndTime",
"includeSloMetric","includeObjective"],[3,"sloStatus","sloStartTime","sloEndTime","includeNoSlo"],["mat-icon-button","","aria-label","Toggle the detailed SLO status","matTooltip","Toggle the detailed SLO status",1,"expand-button","small",3,"click"],["svgIcon","arrow-down","class","icon-s",4,"ngIf"],["svgIcon","arrow-up","class","icon-s",4,"ngIf"],[1,"slo-actions",3,"hidden"],["class","slo-action","id","start-time-row",4,"ngIf"],["class","slo-action","id","end-time-row",4,"ngIf"],["class","slo-action",
4,"ngIf"],["svgIcon","arrow-down",1,"icon-s"],["svgIcon","arrow-up",1,"icon-s"],["id","start-time-row",1,"slo-action"],[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&&(G(0,"span",0),M("click",function(){return vid(b)}),G(1,"label"),R(2,"SLO Status"),H()(),G(3,"div",1)(4,"div",2)(5,"div",3),I(6,"b-aggregated-slo-status-indicator",4),H(),G(7,"div",3),I(8,"b-slo-status-summary",5),H(),G(9,"button",6),M("click",function(){return vid(b)}),Q(10,Dnb,1,0,"mat-icon",7),Q(11,Enb,1,0,"mat-icon",8),H()(),G(12,"div",9),Q(13,Inb,10,4,"div",10),Q(14,Nnb,11,5,"div",11),Q(15,Pnb,4,3,"div",12),Q(16,Qnb,
3,1,"div",12),H()());a&2&&(z(5),F("hidden",b.isAccordionExpanded),z(1),F("sloStatus",b.sloStatus)("sloStartTime",b.sloStartTime)("sloEndTime",b.sloEndTime)("includeSloMetric",!0)("includeObjective",!0),z(1),F("hidden",!b.isAccordionExpanded),z(1),F("sloStatus",b.sloStatus)("sloStartTime",b.sloStartTime)("sloEndTime",b.sloEndTime)("includeNoSlo",!0),z(1),gf("aria-expanded",b.isAccordionExpanded),z(1),F("ngIf",!b.isAccordionExpanded),z(1),F("ngIf",b.isAccordionExpanded),z(1),F("hidden",!b.isAccordionExpanded),
z(1),F("ngIf",b.isEditable),z(1),F("ngIf",b.enableSloEndTime&&b.isEditable),z(1),F("ngIf",b.editSloLink),z(1),F("ngIf",!b.editSloLink&&b.componentSloLink))},dependencies:[ew,uA,LB,Jz,Kz,pS,bK,nS,B_,bz,az,kw],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 f6=function(){};f6.\u0275fac=function(a){return new (a||f6)};f6.\u0275mod=Ic({type:f6});f6.\u0275inj=rc({imports:[tF,JC,iC,tS,CM,rS,z1,cz]});var wid=function(){return{width:400}},xid=function(){return[]},g6=function(a,b,c,d,e,g,h,l,q){var x=this;this.bLocation=c;this.paths=d;this.analytics=e;this.currentTracker=h;this.componentActions=l;this.cdr=q;this.includeArchived$=new E.BehaviorSubject(!1);this.rootComponent$=this.currentTracker.tracker$.pipe(Se(function(A){return A?x.componentActions.get(Number(A.componentId)):(0,E.of)(void 0)}));this.topLevelComponents$=(0,E.combineLatest)([this.rootComponent$,this.includeArchived$]).pipe(Se(function(A){var B=
k(A);A=B.next().value;B=B.next().value;var K;return x.componentActions.getChildren(null!=(K=null==A?void 0:A.parentComponentId)?K:0,B,bmc(x.currentTracker))}));this.createComponentPath=Sr.COMPONENT_CREATE;a.setTitle("Browse Components");b.componentId&&Tnb(this,Number(b.componentId),(0,E.firstValueFrom)(this.topLevelComponents$));this.isInternalSession=g.isInternalSession()};g6.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 Tnb=function(a,b,c){a.componentActions.get(b).then(function(d){for(var e=Baa(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 Bn(g).then(function(q){for(var x=q[0],A=0,B={},K=k(e),N=K.next();!N.done;B={$jscomp$loop$prop$parentId$2215$2384:B.$jscomp$loop$prop$parentId$2215$2384},N=K.next()){B.$jscomp$loop$prop$parentId$2215$2384=N.value;N=void 0;
var P=null!=(N=x.find(function(Y){return function(X){return X.componentId===Y.$jscomp$loop$prop$parentId$2215$2384}}(B)))?N:null;P&&(P.children=q[B.$jscomp$loop$prop$parentId$2215$2384],P.showChildren=!0,x=P.children,A=P.componentId)}d.archived&&!a.includeArchived&&(b=A);a.cdr.detectChanges();setTimeout(function(){a.componentTree.fireSelectionEvent(b)})})})};hh.Object.defineProperties(g6.prototype,{includeArchived:{configurable:!0,enumerable:!0,get:function(){return this.includeArchived$.value}}});
g6.\u0275fac=function(a){return new (a||g6)(C(TU),C(RI),C(uG),C(vG),C(gH),C(gs),C(lK),C(FT),C(cH,2))};
g6.\u0275cmp=Gc({type:g6,selectors:[["b-list-components-page"]],features:[Gf([cH])],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&&(G(0,"h2",0),R(1,"Browse Components"),H(),G(2,"div",1)(3,"div",2),
Q(4,Rnb,2,1,"a",3),G(5,"button",4),R(6," Search Components "),H(),Q(7,Snb,4,6,"ng-template",null,5,Zf),Q(9,Unb,3,4,"div",6),H()(),G(10,"div",7),Q(11,Vnb,2,0,"div",8),S(12,"async"),G(13,"component-tree-list",9),M("init",function(h){return b.componentTree=h}),S(14,"async"),S(15,"async"),H()());if(a&2){var c=Cf(8),d,e,g;z(4);F("ngIf",b.isInternalSession);z(1);F("xapInlineDialogClick",c)("overlaySize",If(13,wid));z(4);F("ngIf",b.isInternalSession);z(2);F("ngIf",!(null!==(d=T(12,7,b.topLevelComponents$))&&
void 0!==d&&d));z(2);F("components",null!==(e=T(14,9,b.topLevelComponents$))&&void 0!==e?e:If(14,xid))("includeArchived",null!==(g=T(15,11,b.includeArchived$))&&void 0!==g?g:!1)}},dependencies:[ew,sL,RX,QX,UX,zZ,Jz,Kz,wZ,LT,kw],styles:[".component-picker-dialog[_ngcontent-%COMP%]{width:400px}.component-picker-dialog[_ngcontent-%COMP%]     input{box-sizing:border-box}"]});var h6=function(){};h6.\u0275fac=function(a){return new (a||h6)};h6.\u0275mod=Ic({type:h6});h6.\u0275inj=rc({imports:[tF,ZM,ZS,eY,gY,BO,AZ,iC,yZ,jV]});var yid=function(){this.issueId="";this.packageMentionSet={packageName:"",fileMentionSet:[]};this.displayPackageName=!1};yid.\u0275fac=function(a){return new (a||yid)};
yid.\u0275cmp=Gc({type:yid,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&&(G(0,"div",0),Q(1,Wnb,2,1,"p",1),G(2,"ul"),Q(3,Xnb,2,
5,"li",2),H()());a&2&&(z(1),F("ngIf",b.displayPackageName),z(2),F("ngForOf",b.packageMentionSet.fileMentionSet))},dependencies:[dw,ew,P5],encapsulation:2});var i6=function(){};i6.\u0275fac=function(a){return new (a||i6)};i6.\u0275mod=Ic({type:i6});i6.\u0275inj=rc({imports:[tF,Q5]});var j6=function(){};j6.\u0275fac=function(a){return new (a||j6)};j6.\u0275mod=Ic({type:j6});j6.\u0275inj=rc({imports:[tF,$w,iC,aA,mA,tR,jA]});var k6=function(){};k6.prototype.ngOnInit=function(){};k6.\u0275fac=function(a){return new (a||k6)};
k6.\u0275cmp=Gc({type:k6,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&&(I(0,"button",0),G(1,"mat-menu",1,2)(3,"a",3),R(4,"Sign out or switch accounts"),H()());if(a&2){var b=Cf(2);F("matMenuTriggerFor",b);z(3);F("href","https://accounts.google.com/SignOutOptions?hl=en&continue="+encodeURIComponent(window.location.href),
Md)}},dependencies:[DB,CB],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 l6=function(){WD.apply(this,arguments);this.trackerCheckboxValues={}};U(l6,WD);l6.\u0275dir=WD.\u0275dir;l6.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 zid=function(a){return Object.keys(Tb(a.trackerCheckboxValues,function(b){return b}))};
l6.\u0275fac=function(){var a;return function(b){return(a||(a=td(l6)))(b||l6)}}();
l6.\u0275cmp=Gc({type:l6,selectors:[["b-tracker-search"]],inputs:{currentTrackerId:"currentTrackerId",availableTrackers:"availableTrackers"},features:[bf,Zc],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&&(G(0,"div",0)(1,"div",1)(2,"div",2)(3,"span"),R(4,"Select a tracker"),H(),Q(5,Ynb,2,0,"span",3),H(),G(6,"div",4),Q(7,Znb,3,2,"div",5),H()()());a&2&&(qf("hidden",!(b.availableTrackers&&1<b.availableTrackers.length)),z(5),F("ngIf",0===zid(b).length),z(2),F("ngForOf",b.availableTrackers))},dependencies:[dw,ew,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 m6=function(a,b,c,d,e,g){WD.call(this);var h=this;this.analytics=b;this.location=c;this.prefsManager=e;this.domSafe=g;this.prefsManager.preferences$.pipe(Te(this.destroyed$)).subscribe(function(l){h.prefs=l});a.topBarEvents.browseComponents.pipe(Te(this.destroyed$)).subscribe(function(l){l=l.newTab;Aid(h,d.listComponents(),l)});a.topBarEvents.manageHotlists.pipe(Te(this.destroyed$)).subscribe(function(l){Aid(h,d.listHotlists(),l.newTab)});a.topBarEvents.manageSlos.pipe(Te(this.destroyed$)).subscribe(function(l){l=
l.newTab;Aid(h,d.listSlos(),l)});a.topBarEvents.setDensity.pipe(Te(this.destroyed$)).subscribe(function(l){h.setDensity(l)});a.topBarEvents.openSettings.pipe(Te(this.destroyed$)).subscribe(function(l){var q=l.newTab;Aid(h,d.settings(l.settingsTabName),q)})};U(m6,WD);m6.\u0275dir=WD.\u0275dir;var Aid=function(a,b,c){c?a.domSafe.openInNewTab(b):a.location.url(b)};
m6.prototype.setDensity=function(a){this.prefs.themePreferences&&(this.prefs.themePreferences.density=a,this.prefsManager.save(this.prefs).pipe(Ge(),Te(this.destroyed$)).subscribe(),this.analytics.trackEvent("preferences","setDisplayDensity",a))};m6.\u0275fac=function(a){return new (a||m6)(u(KF),u(gH),u(uG),u(vG),u(uI),u(SJ))};m6.\u0275prov=qc({token:m6,factory:m6.\u0275fac,providedIn:"root"});var n6=function(a,b,c,d,e,g,h,l,q,x,A){WD.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=x;this.appSearchState=A;this.items=[];this.acHeader=null;this.currentQuery="";this.enableTrackersAccountHack=UD(this.activeSession,"enableTrackersAccountHack");this.frontendAccessMode=this.activeSession.getFrontendAccessMode();this.environmentType=this.activeSession.getEnvironmentType();
this.searchAcData.acRefreshed$.pipe(Te(this.destroyed$)).subscribe(function(){B.items=B.searchAcData.items;B.acHeader=B.searchAcData.acHeader})};U(n6,WD);n6.\u0275dir=WD.\u0275dir;var Bid=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"}};
n6.prototype.ngOnInit=function(){var a=this;this.appSearchState.queryState$.pipe(Te(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("qe");e=new x0c(g,h);if(g){var l=g.slice(0,h);for(var q=!1,x=-1,A=-1;-1<(x=l.indexOf('"',x+1));)q=!q,A=x;l=q?A:-1;if(-1<l)e.value={val:g.slice(l,h),idx:l};else if(l=g.slice(0,h),q=g.slice(h),x=q.search("\\s"),
q=-1<x?q.slice(0,x):q,(l=Zbb(l+q,B0c))?(l={negated:!!l[1],val:l[2].toLowerCase(),operator:l[3],idx:l.index-l[1].length-l[2].length-l[3].length},Th(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);x=l;if("("===g.charAt(0)){b:{x=[];A=/[()]/g;for(var B;null!=(B=A.exec(g));){var K=x[x.length-1];if(K&&K!==B[0]){if(x.pop(),!x.length){x=B.index>=
h;break b}}else x.push(B[0])}x=!0}x=x?2:0}else x=y0c.includes(x.val)&&-1===g.search("^\\d")?1:0;switch(x){case 2:g=y0c.includes(l.val)?Hp(g,h,"([()|]\\s*|OR\\s+|AND\\s+|NOT\\s+|-|\\b\\d+\\s+)","[()|\\s-]"):Hp(g,h,"[()|\\s-]");/(OR|AND|NOT|-)$/.test(g.val)&&(g.val="",g.idx=h);e.value=g;break;case 1:e.value=Hp(g,h,"[()|]","[()|,\\s]");break;case 0:e.value=Hp(g,h,"[\\s()|]");-1<g.slice(0,h).search("[\\s()|]")&&(l=null);break;default:rh(x,"unknown ValueType.")}e.value.idx+=q;e.label=l}else e.value=Hp(g,
h,"[\\s()]")}d.currentSearchContext=e}d.currentSearchContext&&(e=d.currentSearchContext,h=++d.requestIndex,d.refreshRequest$.next({currentRequestIndex:h,currentSearchContext:e}));a.currentQuery=c.query});var b=this.appSearchState.queryState$.pipe(D(function(c){return c.query}));this.appSearchState.searchTriggered$.pipe(Ve(b),Te(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=r1a(c),h=g.filters,l=g.text,q=g.complexSyntax,
x=g.resourceIds;g=[h,l,x].reduce(s1a);h=[h?"filters":void 0,l?"text":void 0,x?"ids":void 0].filter(Boolean).join("-");q?e.track(d,"complex"):h?e.track(d,h,g):e.track(d,"UNHANDLED");d=oa(e.searchHandlerStack);void 0===d?e.$log.warn("No search function installed."):d(c)})};n6.prototype.ngAfterViewInit=function(){qhd(this.advancedSearchCtrl,this.appSearchState.currentQuery)};var Cid=function(a){if(a.advancedSearchCtrl)return"SUCCESS"!==a.advancedSearchCtrl.getState()?a.currentQuery:xhd(a.advancedSearchCtrl).trim()};
f=n6.prototype;f.onAdvancedSearchOpen=function(){this.advancedSearchCtrl&&(Cid(this)!==this.currentQuery||"SUCCESS"!==this.advancedSearchCtrl.getState())&&qhd(this.advancedSearchCtrl,this.currentQuery)};f.onAdvancedSearchClose=function(){var a,b;this.appSearchState.selectedTrackerIds$.next(null!=(b=null==(a=this.trackerSearchCtrl)?void 0:zid(a))?b:[]);this.advancedSearchCtrl&&(a=Cid(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:zid(a))?b:[]);this.advancedSearchCtrl&&(a=Cid(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=Cid(this);void 0!==c&&(DF(this.butterBar,"Saving saved search.",1E3),this.savedSearchApi.create(a,c).then(function(d){b.appEvents.savedSearchModified.next();d=d.searchId;DF(b.butterBar,"Created saved search '"+a+"' ID "+d+".");b.bLocation.url(b.paths.viewSavedSearch(d));b.analytics.trackEvent("savedSearches","create")}).catch(function(d){EF(b.butterBar,Rl(d))}))}};f.isSearchDisabled=function(){return this.inTracker()&&0===zid(this.trackerSearchCtrl).length};
f.inTracker=function(){return!!this.trackerSearchCtrl};n6.\u0275fac=function(a){return new (a||n6)(C(gs),C(lK),C(y1),C(BS),C(CF),C(uG),C(vG),C(gH),C(m6),C(KF),C($X))};
n6.\u0275cmp=Gc({type:n6,selectors:[["b-top-bar-outlet"]],viewQuery:function(a,b){a&1&&(Uf(N4,5),Uf(l6,5));if(a&2){var c;Tf(c=Wf())&&(b.advancedSearchCtrl=c.first);Tf(c=Wf())&&(b.trackerSearchCtrl=c.first)}},features:[bf],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&&(G(0,"b-app-top-bar",0),M("searchBoxOnAdvancedSearchOpen",function(){return b.onAdvancedSearchOpen()})("searchBoxOnAdvancedSearchClose",
function(){return b.onAdvancedSearchClose()})("searchBoxOnAdvancedSearchSubmit",function(){return b.submitAdvancedSearch()})("searchBoxOnSaveSearch",function(d){return b.saveSearch(d)}),S(1,"async"),Q(2,$nb,3,6,"b-tracker-search",1),S(3,"async"),I(4,"b-advanced-search",2),S(5,"async"),Q(6,aob,4,0,"div",3),Q(7,dob,3,2,"div",4),Q(8,eob,2,0,"div",4),H(),Q(9,fob,1,0,"b-tracker-account-menu-hack",5),S(10,"async"));if(a&2){var c;F("logoFrontendAccessMode",b.frontendAccessMode)("logoEnvironmentType",b.environmentType)("searchBoxPlaceholder",
Bid(b,T(1,12,b.currentTracker.tracker$)))("searchBoxAutoCompleteItems",b.items)("searchBoxAutoCompleteHeader",b.acHeader)("isSearchDisabled",b.isSearchDisabled());z(2);F("ngIf",null!==(c=T(3,14,b.currentTracker.inTracker$))&&void 0!==c?c:!1);z(2);F("isTrackerSearchEnabled",!T(5,16,b.currentTracker.inTracker$));z(2);F("ngIf","INIT"===(null==b.advancedSearchCtrl?null:b.advancedSearchCtrl.getState()));z(1);F("ngIf","NOT_REPRESENTABLE"===(null==b.advancedSearchCtrl?null:b.advancedSearchCtrl.getState())||
"SYNTAX_ERROR"===(null==b.advancedSearchCtrl?null:b.advancedSearchCtrl.getState()));z(1);F("ngIf","SERVER_ERROR"===(null==b.advancedSearchCtrl?null:b.advancedSearchCtrl.getState()));z(1);F("ngIf",b.enableTrackersAccountHack&&!b.activeSession.isAnonymous()&&T(10,18,b.currentTracker.inTracker$))}},dependencies:[ew,uA,N4,l6,Shd,sL,k6,kw],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 o6=function(){};o6.\u0275fac=function(a){return new (a||o6)};o6.\u0275mod=Ic({type:o6});o6.\u0275inj=rc({imports:[tF,$N]});var p6=function(){};p6.\u0275fac=function(a){return new (a||p6)};p6.\u0275mod=Ic({type:p6});p6.\u0275inj=rc({imports:[tF,Q4,o6,o5,ZM,EB]});var q6=function(a,b){this.dialogRef=a;this.data=b;this.userToDisplay=ai;this.updateDiffs=b.updateDiffs};q6.prototype.close=function(){this.dialogRef.close()};q6.\u0275fac=function(a){return new (a||q6)(C(Tz),C(Vz))};
q6.\u0275cmp=Gc({type:q6,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&&(G(0,"div",0)(1,"ul",1),Q(2,oob,10,4,"li",2),H()(),G(3,"div",3)(4,"button",4),M("click",function(){return b.close()}),R(5," Close "),H()());a&2&&(z(2),F("ngForOf",b.updateDiffs))},dependencies:[dw,ew,Jz,Zz,$z,WJ,VJ,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 r6=function(){};r6.\u0275fac=function(a){return new (a||r6)};r6.\u0275mod=Ic({type:r6});r6.\u0275inj=rc({imports:[tF,iC,aA,tO,CM]});var s6=function(a,b){WD.call(this);this.$window=a;this.currentTracker=b;this.faviconUrl=this.defaultFaviconUrl=Jg("https://www.gstatic.com/buganizer/img/v4/favicon.png")};U(s6,WD);s6.\u0275dir=WD.\u0275dir;
var Did=function(a){var b=a.$window.document.head.querySelector('link[rel="shortcut icon"]'),c=null==b?void 0:b.href;a.faviconUrl=c?Jg(c):a.defaultFaviconUrl;a.currentTracker.tracker$.pipe(D(function(d){var e;if(null==d?0:null==(e=d.branding)?0:e.logoUrl){var g;d=Jg(null==d?void 0:null==(g=d.branding)?void 0:g.logoUrl)}else d=a.faviconUrl;return d}),Te(a.destroyed$)).subscribe(function(d){if(b&&b.href!==d.toString())a:{if(d instanceof Uu)b.href=vh(d).toString();else{if(-1===u8b.indexOf("icon"))throw Error("Sb`icon");
d=ona(d);if(void 0===d)break a;b.href=d}b.rel="icon"}})};s6.\u0275fac=function(a){return new (a||s6)(u(VD),u(lK))};s6.\u0275prov=qc({token:s6,factory:s6.\u0275fac,providedIn:"root"});var Eid=/^\s*[^:/?#]+:/i,Fid=/^#/i,t6=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"))&&!Eid.test(d))if(Fid.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)}}};t6.prototype.install=function(){document.addEventListener("click",this.linkClickHandler)};t6.\u0275fac=function(a){return new (a||t6)(u(uG))};t6.\u0275prov=qc({token:t6,factory:t6.\u0275fac,providedIn:"root"});var Gid=[],Hid=!1,u6=function(a,b,c,d,e,g,h,l){WD.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};U(u6,WD);u6.\u0275dir=WD.\u0275dir;u6.prototype.tearDown=function(){WD.prototype.ngOnDestroy.call(this);document.removeEventListener("click",this.linkClickHandler.linkClickHandler)};u6.\u0275fac=function(a){return new (a||u6)(u(FO),u(sA),u(gs),u(Q1),u(T1),u(t6),u(MU),u(s6))};
u6.\u0275prov=qc({token:u6,factory:u6.\u0275fac,providedIn:"root"});
var Iid={provide:uSb,useFactory:function(a){return function(){yh("app initializer starting");Hid||(a.iconRegistry._addSvgIconSetConfig("",new v_b(Tlc)),Hid=!0);if(a.session.isInternalSession()){Iqc(a.hatsService,"Y4qgAGETM0g6pPHSLo10T83aMF4T").pipe(Ge(),Te(a.destroyed$)).subscribe();for(var b=k(Gid),c=b.next();!c.done;c=b.next()){c=c.value;var d=c.hatsTriggerId;UD(a.session,c.flagName)&&Iqc(a.hatsService,d).pipe(Ge(),Te(a.destroyed$)).subscribe()}}a.appHistory.install();a.routePerformance.install();
a.linkClickHandler.install();b=a.issueLru;uYa(b.viewed,JHc());uYa(b.edited,HHc());b.appEvents.issueViewed.pipe(Te(b.stop$)).subscribe(b.addViewed);b.appEvents.issueEdited.pipe(Te(b.stop$)).subscribe(b.addEdited);Did(a.faviconService)}},deps:[u6],multi:!0};var v6=function(a,b){this.paths=a;this.bLocation=b};v6.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)};v6.\u0275fac=function(a){return new (a||v6)(u(vG),u(uG))};v6.\u0275prov=qc({token:v6,factory:v6.\u0275fac,providedIn:"root"});var Jid={provide:iL,useExisting:v6};var Kid=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 w6=function(a){BA.call(this);this.errorHandlerFn_=a};ts(w6,BA);w6.prototype.wrap=function(a){return Lid(this,a)};var x6=function(a,b){return(b?"__wrapper_":"__protected_")+xa(a)+"__"},Lid=function(a,b){var c=x6(a,!0);b[c]||((b[c]=Mid(a,b))[x6(a,!1)]=b);return b[c]},Mid=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[x6(a,!1)]=b;return c};
w6.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 Nid(a);};
var Oid=function(a,b){var c=ba.window||ba.globalThis,d=c[b];if(!d)throw Error("Pe`"+b);c[b]=function(e,g){"string"===typeof e&&(e=ss(tIb,e));e&&(arguments[0]=e=Lid(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][x6(a,!1)]=d};
w6.prototype.disposeInternal=function(){var a=ba.window||ba.globalThis;var b=a.setTimeout;b=b[x6(this,!1)]||b;a.setTimeout=b;b=a.setInterval;b=b[x6(this,!1)]||b;a.setInterval=b;w6.superClass_.disposeInternal.call(this)};var Nid=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)};ts(Nid,aa);var Qid=function(a,b,c){yo.call(this);this.contextProvider_=b||null;this.additionalArguments_={};this.xhrSender_=Pid;this.handlerUrl_=a;if(!c){this.errorHandler_=null;this.errorHandler_=new w6(rs(this.handleException,this));Oid(this.errorHandler_,"setTimeout");Oid(this.errorHandler_,"setInterval");a=this.errorHandler_;b=ba.window||ba.globalThis;c=["requestAnimationFrame","mozRequestAnimationFrame","webkitAnimationFrame","msRequestAnimationFrame"];for(var d=0;d<c.length;d++){var e=c[d];c[d]in b&&Oid(a,
e)}a=this.errorHandler_;K_b=!0;b=rs(a.wrap,a);for(c=0;c<I_b.length;c++)I_b[c](b);J_b.push(a)}};ts(Qid,yo);var Rid=function(a,b){DA.call(this,"F");this.error=a;this.context=b};ts(Rid,DA);var Pid=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;qh(a,null,b,c,e)};
Qid.prototype.handleException=function(a,b){a=a.error||a;b=b?Wb(b):{};a instanceof Error&&Xca(b,a.__closure__error__context__984382||{});var c=uWb(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=eB(this.handlerUrl_,"script",c.fileName,"error",d,"line",c.lineNumber);Ub(this.additionalArguments_)||(e=qwa(e,this.additionalArguments_));d={};d.trace=a;if(b)for(var g in b)d["context."+
g]=b[g];var h=m2b(d);this.xhrSender_(e,"POST",h,this.extraHeaders_)}catch(l){}}try{this.dispatchEvent(new Rid(c,b))}catch(l){}};Qid.prototype.disposeInternal=function(){ph(this.errorHandler_);Qid.superClass_.disposeInternal.call(this)};var y6=function(){this.jsBuild="540002577";this.buildLabel="buganizer.frontend_20230612.03_p1"};y6.\u0275fac=function(a){return new (a||y6)};y6.\u0275prov=qc({token:y6,factory:y6.\u0275fac,providedIn:"root"});var z6=function(){};z6.prototype.reportingEnabled=function(){return 4!==Kid};z6.\u0275fac=function(a){return new (a||z6)};z6.\u0275prov=qc({token:z6,factory:z6.\u0275fac,providedIn:"root"});
var A6=function(a,b){var c=this;this.appContext=b;this.context={};this.reportingExtensions=[];this.jsDebugErrorReporter=new Qid("/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)};
A6.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()}};A6.\u0275fac=function(a){return new (a||A6)(u(y6),u(z6))};A6.\u0275prov=qc({token:A6,factory:A6.\u0275fac,providedIn:"root"});var B6=function(a){this._console=console;this.reporter=a};U(B6,Qd);B6.prototype.handleError=function(a){this.reporter.reportError(a)};B6.\u0275fac=function(a){return new (a||B6)(u(A6))};B6.\u0275prov=qc({token:B6,factory:B6.\u0275fac,providedIn:"root"});var C6=function(a){this.activeSession=a};U(C6,z6);C6.prototype.reportingEnabled=function(){return UD(this.activeSession,"reportErrors")};C6.\u0275fac=function(a){return new (a||C6)(u(gs))};C6.\u0275prov=qc({token:C6,factory:C6.\u0275fac,providedIn:"root"});
var Sid={provide:Qd,useClass:B6},Tid={provide:z6,useClass:C6},Uid={provide:y6,useValue:{jsBuild:"540002577",buildLabel:"buganizer.frontend_20230612.03_p1"}};var D6=function(){};D6.\u0275fac=function(a){return new (a||D6)};D6.\u0275cmp=Gc({type:D6,selectors:[["b-empty"]],decls:0,vars:0,template:function(){},encapsulation:2});var E6=function(){};E6.\u0275fac=function(a){return new (a||E6)};E6.\u0275mod=Ic({type:E6});E6.\u0275inj=rc({});var F6=function(){};U(F6,kG);F6.prototype.store=function(){};F6.prototype.shouldReuseRoute=function(a,b){return a.routeConfig===b.routeConfig&&Mh(a.params,b.params)};F6.\u0275fac=function(){var a;return function(b){return(a||(a=td(F6)))(b||F6)}}();F6.\u0275prov=qc({token:F6,factory:F6.\u0275fac,providedIn:"root"});var G6=function(a){this.router=a};
G6.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 oG(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 oG(this.router,[b],{queryParams:Object.assign({},mya(a.queryParamMap),(d.showInsights="deployments",d)),fragment:null!=(c=a.fragment)?
c:void 0})}return!0};G6.\u0275fac=function(a){return new (a||G6)(u(nG))};G6.\u0275prov=qc({token:G6,factory:G6.\u0275fac,providedIn:"root"});var Vid=/^(\d+)$/,H6=function(a){this.butterBar=a;this.paramNamesToCheck=new Set(Object.values(W$b))};H6.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=Wh(d);if(!Vid.test(d)||isNaN(e)||!Number.isInteger(e))return EF(this.butterBar,"The URL parameter "+c+' has the malformed value "'+d+'".'),!1}return!0};H6.\u0275fac=function(a){return new (a||H6)(u(CF))};
H6.\u0275prov=qc({token:H6,factory:H6.\u0275fac,providedIn:"root"});var I6=function(a){this.routeParamsValidator=a};I6.prototype.canActivate=function(a){return this.routeParamsValidator.validate(a.params)};I6.\u0275fac=function(a){return new (a||I6)(u(H6))};I6.\u0275prov=qc({token:I6,factory:I6.\u0275fac,providedIn:"root"});var J6=function(a,b){this.activeSession=a;this.router=b};J6.prototype.canActivate=function(){return this.activeSession.isInternalSession()?!0:oG(this.router,["issues"])};J6.\u0275fac=function(a){return new (a||J6)(u(gs),u(nG))};J6.\u0275prov=qc({token:J6,factory:J6.\u0275fac,providedIn:"root"});var K6=function(a,b){this.currentTracker=a;this.router=b};K6.prototype.canActivate=function(){return this.currentTracker.inTracker?oG(this.router,["issues"]):!0};K6.\u0275fac=function(a){return new (a||K6)(u(lK),u(nG))};K6.\u0275prov=qc({token:K6,factory:K6.\u0275fac,providedIn:"root"});var L6=function(a,b){this.router=a;this.activeSession=b};L6.prototype.canActivate=function(){var a=UD(this.activeSession,"enableHomepageVariantA");return oG(this.router,[pob(a)])};L6.\u0275fac=function(a){return new (a||L6)(u(nG),u(gs))};L6.\u0275prov=qc({token:L6,factory:L6.\u0275fac,providedIn:"root"});var Wid={USER:"USER",DEVELOPER:"DEVELOPER",CONTRIBUTOR:"CONTRIBUTOR"},Xid={INPUT:"INPUT",TEXT:"TEXT",SELECT:"SELECT"},Yid=new Rc("CustomQuestionsConfig");var Zid=function(){this.persona="USER";this.categoryChange=new Gv;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)};Zid.\u0275fac=function(a){return new (a||Zid)};
Zid.\u0275cmp=Gc({type:Zid,selectors:[["wizard-category-select"]],inputs:{persona:"persona",category:"category"},outputs:{categoryChange:"categoryChange"},decls:5,vars:3,consts:[["appearance","outline","aria-label","Which of the following describes your issue?"],["panelClass","oversized",3,"value","valueChange"],["class","multiline",3,"value",4,"ngFor","ngForOf"],[1,"multiline",3,"value"],[1,"description"]],template:function(a,b){a&1&&(G(0,"mat-form-field",0)(1,"mat-select",1),M("valueChange",function(d){b.category=
d;b.categoryChange.emit(b.category)}),G(2,"mat-select-trigger"),R(3),H(),Q(4,qob,5,3,"mat-option",2),H()());if(a&2){var c;z(1);F("value",b.category);z(2);Df(" ",null!==(c=null==b.category?null:b.category.title)&&void 0!==c?c:""," ");z(1);F("ngForOf",b.options[b.persona])}},dependencies:[dw,iA,cO,bO,Lz],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 Lr=function(a){return{question:a}},M6=function(a){this.config=a;this.CustomQuestionType=Xid;this.responses=new Gv;this.model=Object.assign({},a)};M6.prototype.ngOnInit=function(){};var Bob=function(a){var b=a.model[a.category].filter(function(c){return!!c.response});a.responses.emit(b)};M6.\u0275fac=function(a){return new (a||M6)(C(Yid))};
M6.\u0275cmp=Gc({type:M6,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&&(Q(0,rob,2,4,"ng-container",0),Q(1,vob,4,4,"ng-template",null,1,Zf),Q(3,wob,3,3,"ng-template",null,2,Zf),Q(5,xob,4,3,"ng-template",null,3,Zf),Q(7,Cob,5,5,"ng-template",null,4,Zf));a&2&&F("ngForOf",b.model[b.category])},dependencies:[dw,ew,jw,fw,gw,og,Fw,Lw,iA,lA,cO,Lz],styles:['[_nghost-%COMP%]   h2[_ngcontent-%COMP%]{font-family:Google Sans,Roboto,Arial,sans-serif;line-height:2rem;font-size:1.5rem;letter-spacing:0;font-weight:400}[_nghost-%COMP%]   h4[_ngcontent-%COMP%]{font-family:Google Sans,Roboto,Arial,sans-serif;line-height:1.5rem;font-size:1.125rem;letter-spacing:0;font-weight:400;font-weight:100;margin:0}[_nghost-%COMP%]   h4.required[_ngcontent-%COMP%]:after{content:" *";color:#ea4335;color:var(--bad)}[_nghost-%COMP%]   mat-form-field.textarea[_ngcontent-%COMP%]{min-width:90%}[_nghost-%COMP%]   mat-form-field.textarea[_ngcontent-%COMP%]     .mat-form-field-underline{display:none}[_nghost-%COMP%]   textarea[_ngcontent-%COMP%]{min-height:4rem;padding:4px 1px 1px 7px}[_nghost-%COMP%]   mat-form-field[_ngcontent-%COMP%]{margin:4px 0}[_nghost-%COMP%]   mat-form-field.inline[_ngcontent-%COMP%]{margin:4px 8px}mat-form-field[_ngcontent-%COMP%]{min-width:500px}\n/*# sourceMappingURL=custom_questions.css.map */']});var $id=function(){this.Persona=Wid;this.persona="USER";this.personaChange=new Gv};$id.\u0275fac=function(a){return new (a||$id)};
$id.\u0275cmp=Gc({type:$id,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&&(G(0,"div")(1,"mat-radio-group",0),M("ngModelChange",function(c){b.persona=c;b.personaChange.emit(b.persona)}),G(2,"mat-radio-button",1),R(3," End User "),G(4,"div",2),R(5," I am trying to use a website. "),H()(),G(6,"mat-radio-button",
1),R(7," Web Developer "),G(8,"div",2),R(9," I am trying to build something on a website. "),H()(),G(10,"mat-radio-button",1),R(11," Chromium Contributor "),G(12,"div",2),R(13," I know about a problem in specific tests or code. "),H()()()());a&2&&(z(1),F("ngModel",b.persona),z(1),F("value",b.Persona.USER),z(4),F("value",b.Persona.DEVELOPER),z(4),F("value",b.Persona.CONTRIBUTOR))},dependencies:[Fw,Lw,xM,yM],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%]     .mat-radio-container{top:-30px}mat-radio-button[_ngcontent-%COMP%]{border-bottom:2px solid;border-bottom-color:#dadce0;border-bottom-color:var(--c300);font-family:Google Sans,Roboto,Arial,sans-serif;line-height:2rem;font-size:1.5rem;letter-spacing:0;font-weight:400;margin-right:60px;max-width:270px;height:90px;padding:24px 12px}mat-radio-button[_ngcontent-%COMP%]   .subtext[_ngcontent-%COMP%]{font-size:.9rem;line-height:1.2rem;min-height:48px;margin-top:12px;text-wrap:wrap}\n/*# sourceMappingURL=persona_picker.css.map */"]});var ajd=["*",[["mat-card-footer"]]],bjd=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],cjd=function(){};cjd.\u0275fac=function(a){return new (a||cjd)};cjd.\u0275dir=Kc({type:cjd,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]});var djd=function(a){this._animationMode=a};
djd.\u0275fac=function(a){return new (a||djd)(C(ev,8))};
djd.\u0275cmp=Gc({type:djd,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(a,b){a&2&&qf("_mat-animation-noopable","NoopAnimations"===b._animationMode)},exportAs:["matCard"],ngContentSelectors:["*","mat-card-footer"],decls:2,vars:0,template:function(a){a&1&&(xf(ajd),yf(0),yf(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 ejd=function(){};ejd.\u0275fac=function(a){return new (a||ejd)};
ejd.\u0275cmp=Gc({type:ejd,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&&(xf(bjd),yf(0),G(1,"div",0),yf(2,1),H(),yf(3,2))},encapsulation:2,changeDetection:0});var N6=function(a){this._elementRef=a};N6.prototype.focus=function(){this._elementRef.nativeElement.focus()};N6.\u0275fac=function(a){return new (a||N6)(C(vd))};N6.\u0275dir=Kc({type:N6,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]});var O6=function(a){this.template=a};O6.\u0275fac=function(a){return new (a||O6)(C(Qf))};O6.\u0275dir=Kc({type:O6,selectors:[["","cdkStepLabel",""]]});var fjd=0,gjd=new Rc("STEPPER_GLOBAL_OPTIONS"),P6=function(a,b){this._stepper=a;this.interacted=!1;this.interactedStream=new Gv;this._editable=!0;this._optional=!1;this._customError=this._completedOverride=null;this._stepperOptions=b?b:{};this._displayDefaultIndicatorType=!1!==this._stepperOptions.displayDefaultIndicatorType};f=P6.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};
hh.Object.defineProperties(P6.prototype,{editable:{configurable:!0,enumerable:!0,get:function(){return this._editable},set:function(a){this._editable=xg(a)}},optional:{configurable:!0,enumerable:!0,get:function(){return this._optional},set:function(a){this._optional=xg(a)}},completed:{configurable:!0,enumerable:!0,get:function(){return null==this._completedOverride?this._getDefaultCompleted():this._completedOverride},set:function(a){this._completedOverride=xg(a)}},hasError:{configurable:!0,enumerable:!0,
get:function(){return null==this._customError?this._getDefaultError():this._customError},set:function(a){this._customError=xg(a)}}});P6.\u0275fac=function(a){return new (a||P6)(C(wc(function(){return Q6})),C(gjd,8))};
P6.\u0275cmp=Gc({type:P6,selectors:[["cdk-step"]],contentQueries:function(a,b,c){a&1&&Vf(c,O6,5);if(a&2){var d;Tf(d=Wf())&&(b.stepLabel=d.first)}},viewQuery:function(a,b){a&1&&Uf(Qf,7);if(a&2){var c;Tf(c=Wf())&&(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:[Zc],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(xf(),Q(0,Dob,1,0,"ng-template"))},encapsulation:2,changeDetection:0});var Q6=function(a,b,c){this._dir=a;this._changeDetectorRef=b;this._elementRef=c;this._destroyed=new E.Subject;this.steps=new Xf;this._sortedHeaders=new Xf;this._linear=!1;this._selectedIndex=0;this.selectionChange=new Gv;this.selectedIndexChange=new Gv;this._orientation="horizontal";this._groupId=fjd++};f=Q6.prototype;
f.ngAfterContentInit=function(){var a=this;this._steps.changes.pipe(Re(this._steps),Te(this._destroyed)).subscribe(function(b){a.steps.reset(b.filter(function(c){return c._stepper===a}));Sf(a.steps)})};
f.ngAfterViewInit=function(){var a=this;this._stepHeader.changes.pipe(Re(this._stepHeader),Te(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}));Sf(a._sortedHeaders)});this._keyManager=wy(yy(vy(new By(this._sortedHeaders))),"vertical"===this._orientation);(this._dir?this._dir.change:(0,E.of)()).pipe(Re(this._layoutDirection()),
Te(this._destroyed)).subscribe(function(b){return xy(a._keyManager,b)});zy(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):zy(this._keyManager,a);this._selectedIndex=a;this.selectedIndexChange.emit(this._selectedIndex);this._stateChanged()};
f._onKeydown=function(a){var b=Bg(a),c=a.keyCode,d=this._keyManager;if(null==d.activeItemIndex||b||32!==c&&13!==c)RXb(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=ug();return a===b||a.contains(b)};f._isValidIndex=function(a){return-1<a&&(!this.steps||a<this.steps.length)};
hh.Object.defineProperties(Q6.prototype,{linear:{configurable:!0,enumerable:!0,get:function(){return this._linear},set:function(a){this._linear=xg(a)}},selectedIndex:{configurable:!0,enumerable:!0,get:function(){return this._selectedIndex},set:function(a){a=Ag(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&&wy(this._keyManager,"vertical"===a)}}});Q6.\u0275fac=function(a){return new (a||Q6)(C(Cy,8),C(Yv),C(vd))};
Q6.\u0275dir=Kc({type:Q6,selectors:[["","cdkStepper",""]],contentQueries:function(a,b,c){a&1&&(Vf(c,P6,5),Vf(c,N6,5));if(a&2){var d;Tf(d=Wf())&&(b._steps=d);Tf(d=Wf())&&(b._stepHeader=d)}},inputs:{linear:"linear",selectedIndex:"selectedIndex",selected:"selected",orientation:"orientation"},outputs:{selectionChange:"selectionChange",selectedIndexChange:"selectedIndexChange"},exportAs:["cdkStepper"]});var R6=function(a){this._stepper=a;this.type="submit"};R6.\u0275fac=function(a){return new (a||R6)(C(Q6))};R6.\u0275dir=Kc({type:R6,selectors:[["button","cdkStepperNext",""]],hostVars:1,hostBindings:function(a,b){a&1&&M("click",function(){return b._stepper.next()});a&2&&wf("type",b.type)},inputs:{type:"type"}});var S6=function(a){this._stepper=a;this.type="button"};S6.\u0275fac=function(a){return new (a||S6)(C(Q6))};
S6.\u0275dir=Kc({type:S6,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(a,b){a&1&&M("click",function(){return b._stepper.previous()});a&2&&wf("type",b.type)},inputs:{type:"type"}});var T6=function(){};T6.\u0275fac=function(a){return new (a||T6)};T6.\u0275mod=Ic({type:T6});T6.\u0275inj=rc({imports:[Dy]});var U6=function(){R6.apply(this,arguments)};U(U6,R6);U6.\u0275fac=function(){var a;return function(b){return(a||(a=td(U6)))(b||U6)}}();U6.\u0275dir=Kc({type:U6,selectors:[["button","matStepperNext",""]],hostAttrs:[1,"mat-stepper-next"],hostVars:1,hostBindings:function(a,b){a&2&&wf("type",b.type)},inputs:{type:"type"},features:[bf]});var V6=function(){S6.apply(this,arguments)};U(V6,S6);V6.\u0275fac=function(){var a;return function(b){return(a||(a=td(V6)))(b||V6)}}();
V6.\u0275dir=Kc({type:V6,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(a,b){a&2&&wf("type",b.type)},inputs:{type:"type"},features:[bf]});var W6=function(a){this.templateRef=a};W6.\u0275fac=function(a){return new (a||W6)(C(Qf))};W6.\u0275dir=Kc({type:W6,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:["matStepperIcon","name"]}});var hjd=function(a){this._template=a};hjd.\u0275fac=function(a){return new (a||hjd)(C(Qf))};hjd.\u0275dir=Kc({type:hjd,selectors:[["ng-template","matStepContent",""]]});var X6=function(){O6.apply(this,arguments)};U(X6,O6);X6.\u0275fac=function(){var a;return function(b){return(a||(a=td(X6)))(b||X6)}}();X6.\u0275dir=Kc({type:X6,selectors:[["","matStepLabel",""]],features:[bf]});var Y6=function(){this.changes=new E.Subject;this.optionalLabel="Optional";this.completedLabel="Completed";this.editableLabel="Editable"};Y6.\u0275fac=function(a){return new (a||Y6)};Y6.\u0275prov=qc({token:Y6,factory:Y6.\u0275fac,providedIn:"root"});var ijd={provide:Y6,deps:[[new $u,new av,Y6]],useFactory:function(a){return a||new Y6}};var jjd=function(a){this._elementRef=a};U(jjd,N6);jjd.\u0275dir=N6.\u0275dir;jjd.\u0275fac=N6.\u0275fac;var kjd=ih(jjd,"primary"),Z6=function(a,b,c,d){var e=kjd.call(this,c)||this;e._intl=a;e._focusMonitor=b;e._intlSubscription=a.changes.subscribe(function(){return d.markForCheck()});return e};U(Z6,kjd);f=Z6.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?jx(this._focusMonitor,this._elementRef,a,b):this._elementRef.nativeElement.focus(b)};f._stringLabel=function(){return this.label instanceof X6?null:this.label};f._templateLabel=function(){return this.label instanceof X6?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};Z6.\u0275fac=function(a){return new (a||Z6)(C(Y6),C(ix),C(vd),C(Yv))};
Z6.\u0275cmp=Gc({type:Z6,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:[bf],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&&(I(0,"div",0),G(1,"div")(2,"div",1),Q(3,Eob,1,2,"ng-container",2),Q(4,Job,5,4,"ng-container",3),H()(),G(5,"div",4),Q(6,Kob,2,1,"div",5),Q(7,Lob,2,1,"div",5),Q(8,Mob,2,1,"div",6),Q(9,Nob,2,1,"div",7),H());a&2&&(F("matRippleTrigger",b._getHostElement())("matRippleDisabled",b.disableRipple),z(1),tf("mat-step-icon-state-",b.state," mat-step-icon"),qf("mat-step-icon-selected",b.selected),z(1),F("ngSwitch",
!(!b.iconOverrides||!b.iconOverrides[b.state])),z(1),F("ngSwitchCase",!0),z(2),qf("mat-step-label-active",b.active)("mat-step-label-selected",b.selected)("mat-step-label-error","error"==b.state),z(1),F("ngIf",b._templateLabel()),z(1),F("ngIf",b._stringLabel()),z(1),F("ngIf",b.optional&&"error"!=b.state),z(1),F("ngIf","error"==b.state))},dependencies:[ew,jw,fw,gw,hw,uA,kz],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 ljd=Kg("horizontalStepTransition",[Ng("previous",Mg({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),Ng("current",Mg({transform:"none",visibility:"inherit"})),Ng("next",Mg({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),Og("* => *",Lg("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"),{params:{animationDuration:"500ms"}})]),mjd=Kg("verticalStepTransition",[Ng("previous",Mg({height:"0px",visibility:"hidden"})),Ng("next",Mg({height:"0px",visibility:"hidden"})),Ng("current",
Mg({height:"*",visibility:"inherit"})),Og("* <=> current",Lg("{{animationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)"),{params:{animationDuration:"225ms"}})]);var Rob=function(a,b){return{step:a,i:b}},Uob=function(a){return{animationDuration:a}},Tob=function(a,b){return{value:a,params:b}},$6=function(a,b,c,d){P6.call(this,a,d);this._errorStateMatcher=b;this._viewContainerRef=c;this._isSelected=E.Subscription.EMPTY;this.stepLabel=void 0};U($6,P6);
$6.prototype.ngAfterContentInit=function(){var a=this;this._isSelected=this._stepper.steps.changes.pipe(Se(function(){return a._stepper.selectionChange.pipe(D(function(b){return b.selectedStep===a}),Re(a._stepper.selected===a))})).subscribe(function(b){b&&a._lazyContent&&!a._portal&&(a._portal=new nx(a._lazyContent._template,a._viewContainerRef))})};$6.prototype.ngOnDestroy=function(){this._isSelected.unsubscribe()};
$6.prototype.isErrorState=function(a,b){var c=!!(a&&a.invalid&&this.interacted);return this._errorStateMatcher.isErrorState(a,b)||c};$6.\u0275fac=function(a){return new (a||$6)(C(wc(function(){return a7})),C(iz,4),C(Rf),C(gjd,8))};
$6.\u0275cmp=Gc({type:$6,selectors:[["mat-step"]],contentQueries:function(a,b,c){a&1&&(Vf(c,X6,5),Vf(c,hjd,5));if(a&2){var d;Tf(d=Wf())&&(b.stepLabel=d.first);Tf(d=Wf())&&(b._lazyContent=d.first)}},inputs:{color:"color"},exportAs:["matStep"],features:[Gf([{provide:iz,useExisting:$6},{provide:P6,useExisting:$6}]),bf],ngContentSelectors:["*"],decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(a){a&1&&(xf(),Q(0,Pob,2,1,"ng-template"))},dependencies:[rx],encapsulation:2,changeDetection:0});
var a7=function(a,b,c){Q6.call(this,a,b,c);this._steps=this._stepHeader=void 0;this.steps=new Xf;this.animationDone=new Gv;this.labelPosition="end";this.headerPosition="top";this._iconOverrides={};this._animationDone=new E.Subject;this._animationDuration="";this.orientation="mat-vertical-stepper"===c.nativeElement.nodeName.toLowerCase()?"vertical":"horizontal"};U(a7,Q6);a7.\u0275dir=Q6.\u0275dir;
a7.prototype.ngAfterContentInit=function(){var a=this;Q6.prototype.ngAfterContentInit.call(this);this._icons.forEach(function(b){return a._iconOverrides[b.name]=b.templateRef});this.steps.changes.pipe(Te(this._destroyed)).subscribe(function(){a._stateChanged()});this._animationDone.pipe(Fe(function(b,c){return b.fromState===c.fromState&&b.toState===c.toState}),Te(this._destroyed)).subscribe(function(b){"current"===b.toState&&a.animationDone.emit()})};
a7.prototype._stepIsNavigable=function(a,b){return b.completed||this.selectedIndex===a||!this.linear};a7.prototype._getAnimationDuration=function(){return this.animationDuration?this.animationDuration:"horizontal"===this.orientation?"500ms":"225ms"};hh.Object.defineProperties(a7.prototype,{animationDuration:{configurable:!0,enumerable:!0,get:function(){return this._animationDuration},set:function(a){this._animationDuration=/^\d+$/.test(a)?a+"ms":a}}});
a7.\u0275fac=function(a){return new (a||a7)(C(Cy,8),C(Yv),C(vd))};
a7.\u0275cmp=Gc({type:a7,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(a,b,c){a&1&&(Vf(c,$6,5),Vf(c,W6,5));if(a&2){var d;Tf(d=Wf())&&(b._steps=d);Tf(d=Wf())&&(b._icons=d)}},viewQuery:function(a,b){a&1&&Uf(Z6,5);if(a&2){var c;Tf(c=Wf())&&(b._stepHeader=c)}},hostAttrs:["role","tablist","ngSkipHydration",""],hostVars:11,hostBindings:function(a,b){a&2&&(gf("aria-orientation",b.orientation),qf("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:[Gf([{provide:Q6,useExisting:a7}]),bf],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&&(J(0,0),Q(1,Wob,5,2,"div",1),Q(2,Yob,2,1,"ng-container",2),L(),Q(3,Zob,1,23,"ng-template",null,3,Zf));a&2&&(F("ngSwitch",b.orientation),z(1),F("ngSwitchCase","horizontal"),z(1),F("ngSwitchCase","vertical"))},dependencies:[dw,ew,jw,fw,gw,Z6],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:[ljd,mjd]},changeDetection:0});var njd=[ii("chrome-security@google.com")],b7=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=Wid;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 x;b=null==(x=b[0])?void 0:x.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=UD(this.activeSession,"enableRecaptcha");this.recaptchaResponse=
""},$ob=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:rh(b)}};f=b7.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){ra(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(Nh(c.blobRef));return a};
f.submit=function(){var a=this,b,c,d,e,g;return he(function(h){switch(h.nextAddress){case 1:var l=a.model,q=a.currentUser.user,x=null,A=null,B;"SECURITY"===(null==(B=l.category)?void 0:B.value)&&(x="LIMIT_VIEW",A=njd);var K;B=(null==(K=l.category)?void 0:K.componentId)||402888;K=l.summary;var N=[{customFieldId:199900,textValue:l.os},{customFieldId:199877,textValue:l.version},{customFieldId:199876,textValue:l.channel},{customFieldId:199878,textValue:l.regression}],P;l="\n# Steps to reproduce the problem\n"+
l.reproSteps+"\n\n# Problem Description\n"+l.description+"\n\n"+(0<l.comments.length?"\n# Additional Comments\n"+l.comments:"")+"\n\n# Summary\n"+l.summary+"\n\n"+ipb(l.customQuestionResponses)+"\n\n# Additional Data\nCategory: "+(null==(P=l.category)?void 0:P.title);l=l.replace(/^\n/,"");b={componentId:B,type:"BUG",status:"NEW",priority:"P2",severity:"S2",title:K,customField:N,comment:l.replace(/\n{3,}/g,"\n\n"),formattingMode:"MARKDOWN",inProd:!0,isArchived:!1,reporterUser:q,issueAccessLimitLevel:x,
collaboratorsUsers:A,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,sloStartTime:null,sloEndTime:null,sloSnoozeType:null};DF(a.butterBar,"Saving...",0);
ie(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(Jn.CREATE_ISSUE,"fileAndRedirect","wizard",!0),h.yield(qF(a.userAccess,"reader","issues/"+d),5);case 5:(e=h.yieldResult)?K1c(a.redirectUrl,a.paths.editIssue(d),String(d)):(DF(a.butterBar,"New issue created: "+d+" (view access not granted)",0),K1c(a.redirectUrl,
a.paths.listIssues()));ms(h,0);break;case 2:g=le(h),DF(a.butterBar,"Failed to create issue: "+g),me(h)}})};b7.\u0275fac=function(a){return new (a||b7)(C(gs),C(gH),C(CF),C(QH),C(kE),C(vG),C(S1),C(pF))};
b7.\u0275cmp=Gc({type:b7,selectors:[["chrome-wizard"]],viewQuery:function(a,b){a&1&&Uf(d_,5);if(a&2){var c;Tf(c=Wf())&&(b.attachmentUploader=c.first)}},decls:111,vars:22,consts:[["headerPosition","bottom","animationDuration","0","aria-label","Issue filing form","linear","",1,"bv2-view",3,"disableRipple"],["aria-label","Report an issue with Chromium",3,"completed"],[1,"required"],[3,"persona","personaChange"],[4,"ngIf","ngIfElse"],["contributor",""],[3,"completed","aria-label"],[1,"inline-block"],
["appearance","outline","aria-label","Operating system",1,"inline"],[3,"ngModel","ngModelChange"],["value","Android"],["value","Chrome OS"],["value","iOS"],["value","Linux"],["value","Mac OS"],["value","Windows"],["value","Unknown/Other"],[1,"inline-block","channel"],["appearance","outline","aria-label","Chrome Channel",1,"inline"],["value","Not sure"],["value","Stable"],["value","Beta"],["value","Dev"],["value","Canary"],[1,"inline"],["matInput","","aria-label","Chrome version",3,"ngModel","ngModelChange"],
[1,"textarea"],["matInput","","required","","aria-label","One line summary",3,"ngModel","ngModelChange"],["matInput","","required","","aria-label","Steps to reproduce problem",3,"ngModel","ngModelChange"],["matInput","","required","","aria-label","Describe the problem",3,"ngModel","ngModelChange"],["appearance","outline","aria-label","Did this work before?"],["value","N/A"],["value","Yes"],["value","No"],[1,"actions-container"],["mat-stroked-button","","matStepperPrevious",""],["svgIcon","chevron-left"],
["mat-raised-button","","color","primary","matStepperNext","",3,"disabled"],["svgIcon","chevron-right"],["aria-label","Extra information about the issue"],[3,"category","responses",4,"ngIf"],["matInput","","aria-label","Additional comments",3,"ngModel","ngModelChange"],[3,"uploads","onUploadCancel"],[1,"attachment-selector"],[3,"includeTextLabel","onSelect"],["class","wizard-recaptcha",4,"ngIf"],["mat-raised-button","","color","primary",3,"disabled","click"],["matStepperIcon","number"],["matStepperIcon",
"edit"],["matStepperIcon","done"],[3,"persona","category","categoryChange"],[1,"dupes"],[1,"ack-dupes",3,"ngModel","ngModelChange"],["href","#"],[3,"href"],[3,"category","responses"],[1,"wizard-recaptcha"],[3,"onUpdate"]],template:function(a,b){a&1&&(G(0,"mat-stepper",0)(1,"mat-step",1)(2,"h2"),R(3,"Report an issue with Chromium"),H(),G(4,"h3"),R(5," We want you to enter the best possible issue report so that the project team members can act on it effectively. The following steps will help route your issue to the correct people. "),
H(),I(6,"br"),G(7,"h4",2),R(8,"Please select your following role:"),H(),G(9,"wizard-persona-picker",3),M("personaChange",function(d){return b.model.persona=d}),H(),Q(10,apb,17,4,"ng-container",4),Q(11,bpb,10,1,"ng-template",null,5,Zf),H(),G(13,"mat-step",6)(14,"h2"),R(15),H(),G(16,"h3"),R(17,"Please confirm that the following version information is correct."),H(),G(18,"h4",7),R(19,"Operating System:"),H(),G(20,"mat-form-field",8)(21,"mat-select",9),M("ngModelChange",function(d){return b.model.os=
d}),G(22,"mat-option",10),R(23,"Android"),H(),G(24,"mat-option",11),R(25,"Chrome OS"),H(),G(26,"mat-option",12),R(27,"iOS"),H(),G(28,"mat-option",13),R(29,"Linux"),H(),G(30,"mat-option",14),R(31,"Mac OS"),H(),G(32,"mat-option",15),R(33,"Windows"),H(),G(34,"mat-option",16),R(35,"Unknown/Other"),H()()(),G(36,"h4",17),R(37,"Channel:"),H(),G(38,"mat-form-field",18)(39,"mat-select",9),M("ngModelChange",function(d){return b.model.channel=d}),G(40,"mat-option",19),R(41,"Not sure"),H(),G(42,"mat-option",
20),R(43,"Stable"),H(),G(44,"mat-option",21),R(45,"Beta"),H(),G(46,"mat-option",22),R(47,"Dev"),H(),G(48,"mat-option",23),R(49,"Canary"),H()()(),I(50,"br"),G(51,"h4",7),R(52,"Chrome version:"),H(),G(53,"mat-form-field",24)(54,"input",25),M("ngModelChange",function(d){return b.model.version=d}),H()(),G(55,"h4",2),R(56,"Please enter a one line summary (100 character limit)"),H(),G(57,"mat-form-field",26)(58,"textarea",27),M("ngModelChange",function(d){return b.model.summary=d}),R(59,"      "),H()(),
G(60,"h4",2),R(61,"Steps to reproduce problem (5000 character limit)"),H(),G(62,"mat-form-field",26)(63,"textarea",28),M("ngModelChange",function(d){return b.model.reproSteps=d}),R(64,"      "),H()(),G(65,"h4",2),R(66,"Please describe the problem (5000 character limit)"),H(),G(67,"mat-form-field",26)(68,"textarea",29),M("ngModelChange",function(d){return b.model.description=d}),R(69,"      "),H()(),G(70,"h4"),R(71,"Did this work before?"),H(),G(72,"mat-form-field",30)(73,"mat-select",9),M("ngModelChange",
function(d){return b.model.regression=d}),G(74,"mat-option",31),R(75,"Not applicable or don't know"),H(),G(76,"mat-option",32),R(77,"Yes - This is a regression"),H(),G(78,"mat-option",33),R(79,"No - I think it never worked"),H()()(),G(80,"div",34)(81,"button",35),I(82,"mat-icon",36),R(83," Back "),H(),G(84,"button",37),R(85," Next "),I(86,"mat-icon",38),H()()(),G(87,"mat-step",39)(88,"h2"),R(89,"Extra information about the issue"),H(),Q(90,cpb,1,1,"wizard-custom-questions",40),G(91,"h4"),R(92,"Additional comments"),
H(),G(93,"mat-form-field",26)(94,"textarea",41),M("ngModelChange",function(d){return b.model.comments=d}),H()(),G(95,"h4"),R(96,"Upload any relevant screenshots"),H(),G(97,"b-attachment-uploader",42),M("onUploadCancel",function(d){return b.removeUpload(d)}),H(),G(98,"div",43)(99,"b-attachment-selector",44),M("onSelect",function(d){return b.uploadFile(d)}),H(),R(100," You can include multiple attachments. "),H(),Q(101,dpb,2,0,"div",45),G(102,"div",34)(103,"button",35),I(104,"mat-icon",36),R(105," Back "),
H(),G(106,"button",46),M("click",function(){return b.submit()}),R(107," Submit "),H()()(),Q(108,epb,0,0,"ng-template",47),Q(109,fpb,0,0,"ng-template",48),Q(110,gpb,0,0,"ng-template",49),H());if(a&2){var c=Cf(12);F("disableRipple",!0);z(1);F("completed",$ob(b,0));z(8);F("persona",b.model.persona);z(1);F("ngIf",b.model.persona!==b.Persona.CONTRIBUTOR)("ngIfElse",c);z(3);zf("aria-label","Details for problems with ",null==b.model.category?null:b.model.category.title,"");F("completed",$ob(b,1));z(2);Df("Details for problems with ",
null==b.model.category?null:b.model.category.title,"");z(6);F("ngModel",b.model.os);z(18);F("ngModel",b.model.channel);z(15);F("ngModel",b.model.version);z(4);F("ngModel",b.model.summary);z(5);F("ngModel",b.model.reproSteps);z(5);F("ngModel",b.model.description);z(5);F("ngModel",b.model.regression);z(11);F("disabled",!$ob(b,1));z(6);F("ngIf",b.model.category);z(4);F("ngModel",b.model.comments);z(3);F("uploads",b.uploads);z(2);F("includeTextLabel",!0);z(2);F("ngIf",b.enableRecaptcha);z(5);F("disabled",
!b.isCaptchaValid())}},dependencies:[a_,d_,ew,uA,og,Fw,Ww,Lw,Jz,djd,ejd,cjd,vN,iA,lA,cO,Lz,$6,a7,U6,V6,W6,xR,Zid,M6,$id],styles:['[_nghost-%COMP%]   h2[_ngcontent-%COMP%]{font-family:Google Sans,Roboto,Arial,sans-serif;line-height:2rem;font-size:1.5rem;letter-spacing:0;font-weight:400}[_nghost-%COMP%]   h4[_ngcontent-%COMP%]{font-family:Google Sans,Roboto,Arial,sans-serif;line-height:1.5rem;font-size:1.125rem;letter-spacing:0;font-weight:400;font-weight:100;margin:0}[_nghost-%COMP%]   h4.required[_ngcontent-%COMP%]:after{content:" *";color:#ea4335;color:var(--bad)}[_nghost-%COMP%]   mat-form-field.textarea[_ngcontent-%COMP%]{min-width:90%}[_nghost-%COMP%]   mat-form-field.textarea[_ngcontent-%COMP%]     .mat-form-field-underline{display:none}[_nghost-%COMP%]   textarea[_ngcontent-%COMP%]{min-height:4rem;padding:4px 1px 1px 7px}[_nghost-%COMP%]   mat-form-field[_ngcontent-%COMP%]{margin:4px 0}[_nghost-%COMP%]   mat-form-field.inline[_ngcontent-%COMP%]{margin:4px 8px}[_nghost-%COMP%]     .mat-radio-container{margin-right:4px}[_nghost-%COMP%]     .mat-step-header .mat-step-label{display:none}[_nghost-%COMP%]     .mat-step-header.cdk-program-focused, [_nghost-%COMP%]     .mat-step-header:hover{background-color:unset}[_nghost-%COMP%]     .mat-horizontal-stepper-header-container{max-width:10%;margin-left:40%;-webkit-transform:scale(.35);transform:scale(.35)}[_nghost-%COMP%]     .mat-horizontal-stepper-header-container .mat-step-icon{background-color:#dadce0;background-color:var(--c300)}[_nghost-%COMP%]     .mat-horizontal-stepper-header-container .mat-step-icon-selected{background-color:#1a73e8;background-color:var(--primary-c600)}[_nghost-%COMP%]     .mat-horizontal-stepper-header-container .mat-stepper-horizontal-line{display:none}wizard-persona-picker[_ngcontent-%COMP%]{margin-bottom:30px}mat-card[_ngcontent-%COMP%]{background-color:#fef7e0;background-color:var(--yellow-c50);margin-bottom:8px}.actions-container[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;padding:8px 12px 4px 0}.actions-container[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:last-child{margin-left:auto}mat-card-header[_ngcontent-%COMP%]{font-family:Google Sans,Roboto,Arial,sans-serif;line-height:1.5rem;font-size:1.125rem;letter-spacing:0;font-weight:400;margin-bottom:10px}.dupes[_ngcontent-%COMP%]{max-width:85%}mat-stepper[_ngcontent-%COMP%]{max-width:1060px}h4.channel[_ngcontent-%COMP%]{margin-left:12px}.bv2-view[_ngcontent-%COMP%]{top:0}b-attachment-selector[_ngcontent-%COMP%]{padding:4px}.attachment-selector[_ngcontent-%COMP%]{margin:12px 0}.wizard-recaptcha[_ngcontent-%COMP%]{margin:15px 0}p[_ngcontent-%COMP%]{margin:8px 0}\n/*# sourceMappingURL=chrome_wizard.css.map */']});var c7=function(a,b){WD.call(this);var c=this;this.componentFridge=a;this.currentTracker=b;this.componentId$=new E.ReplaySubject(1);this.hidePath=!1;this.error$=this.componentFridge.error$.pipe(ye(function(d){return String(d.idOrKey)===c.componentIdInternal}));this.rawComponent$=this.componentId$.pipe(ye(pi),Se(this.componentFridge.watch),ye(pi));this.component$=(0,E.merge)(this.error$,this.rawComponent$).pipe(D(function(d){return d.componentId&&d.name?d:{componentId:Number(d.idOrKey),name:"(unknown)"}}));
this.isArchived$=this.component$.pipe(D(function(d){return d.archived}));this.componentPath$=this.component$.pipe(D(function(d){d=Kr(c.currentTracker,d.componentPathInfo);return mp(d)}));this.init=new E.ReplaySubject(1);this.routes$=this.componentId$.pipe(D(function(d){return{createIssue:swa(d),componentSettings:twa(d),recentIssues:Zl(d)}}))};U(c7,WD);c7.\u0275dir=WD.\u0275dir;c7.prototype.ngOnInit=function(){var a=this;this.component$.pipe(Ge(),Te(this.destroyed$)).subscribe(function(){a.init.next()})};
hh.Object.defineProperties(c7.prototype,{componentId:{configurable:!0,enumerable:!0,set:function(a){this.componentIdInternal=a=String(a);this.componentId$.next(a)}}});c7.\u0275fac=function(a){return new (a||c7)(C(eF),C(lK))};
c7.\u0275cmp=Gc({type:c7,selectors:[["b-component-path-card"]],inputs:{componentId:"componentId",hidePath:"hidePath"},outputs:{init:"init"},features:[bf],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&&(G(0,"div",0)(1,
"div",1),Q(2,mpb,5,6,"div",2),Q(3,npb,9,3,"ng-container",3),S(4,"async"),Q(5,opb,7,3,"div",4),S(6,"async"),H()());a&2&&(z(2),F("ngIf",!b.hidePath),z(1),F("ngIf",T(4,3,b.component$)),z(2),F("ngIf",T(6,5,b.routes$)))},dependencies:[dw,ew,uA,Kz,TM,kw],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 d7=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=Zl;this.createIssue=swa;this.componentSettings=twa;this.trackerId=this.currentTracker.getTrackerId();this.includeArchived=!1;this.isThinking=!0;this.isInternalSession=this.activeSession.isInternalSession();this.placeholder$=this.currentTracker.inTracker$.pipe(D(function(h){return h||g.activeSession.isExternalSession()?"Find components by name or id":"Find components by name, team, or id"}));
this.recentComponents$=this.userResources.getRecentComponents().then(function(h){return h.filter(function(l){return g.filterTrackerComponents(l)})}).finally(function(){g.isThinking=!1})};d7.prototype.back=function(){R1(this.history)};d7.prototype.filterTrackerComponents=function(a){return Nl(this.trackerId)||a.trackerId===this.trackerId};d7.\u0275fac=function(a){return new (a||d7)(C(OG),C(Q1),C(nG),C(lK),C(gs))};
d7.\u0275cmp=Gc({type:d7,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&&(G(0,"article",
0)(1,"header",1)(2,"div",2)(3,"button",3),M("click",function(){return b.back()}),I(4,"mat-icon",4),H(),G(5,"h2"),R(6,"Components"),H()(),G(7,"div",5),Q(8,ppb,2,0,"a",6),G(9,"b-slide-toggle",7),M("modelChange",function(e){return b.includeArchived=e}),H()()(),G(10,"section",8)(11,"h3"),R(12,"Search"),H(),G(13,"b-team-component-picker",9),M("selectedComponentChange",function(e){null!=e&&Rr(b.router,twa(e.componentId).path)}),S(14,"async"),S(15,"async"),H(),G(16,"h3",10),R(17,"Recent Components"),H(),
G(18,"div",11),Q(19,tpb,4,2,"ng-container",12),S(20,"async"),H(),G(21,"p",13)(22,"a",14),R(23,"See all Components"),H()()()());if(a&2){var c,d;z(8);F("ngIf",b.isInternalSession);z(1);F("model",b.includeArchived);z(4);F("includeArchived",b.includeArchived)("placeholder",null!==(c=T(14,6,b.placeholder$))&&void 0!==c?c:"")("ariaLabel",null!==(d=T(15,8,b.placeholder$))&&void 0!==d?d:"");z(6);F("ngIf",T(20,10,b.recentComponents$))}},dependencies:[Jz,Kz,LB,dw,ew,uA,pG,TM,LT,c7,qJ,rJ,vJ,sJ,zZ,hO,oK,kw],
encapsulation:2});var e7=function(){};e7.\u0275fac=function(a){return new (a||e7)};e7.\u0275mod=Ic({type:e7});e7.\u0275inj=rc({imports:[tF,iC,tG,UM]});var ojd=["bookmarkGroupName"],pjd=function(a){return{"bv2-edit-resource-readonly":a}},f7=function(a,b,c,d,e,g,h,l,q,x){WD.call(this);var A=this;this.location=a;this.appHistory=b;this.snackBar=c;this.bookmarkGroupsApi=d;this.paths=e;this.analytics=g;this.errorHandler=l;this.appEvents=x;this.error="";this.isSaving=!1;this.bookmarkGroupUnderEdit=new Iw({name:new Kw("",PUb),description:new Kw("")});h.setTitle("Create Bookmark Group");this.subscriptions.add(SO(q,function(){return!(!A.name()&&!A.description())},
!1))};U(f7,WD);f7.\u0275dir=WD.\u0275dir;f=f7.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(){R1(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:""};f7.\u0275fac=function(a){return new (a||f7)(C(uG),C(Q1),C(AF),C(GX),C(vG),C(gH),C(TU),C(GF),C(RO),C(KF))};
f7.\u0275cmp=Gc({type:f7,selectors:[["b-create-bookmark-group"]],viewQuery:function(a,b){a&1&&Uf(ojd,5);if(a&2){var c;Tf(c=Wf())&&(b.bookmarkGroupName=c.first)}},features:[bf],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&&(G(0,"div",0)(1,"div",1)(2,"button",2),M("click",function(){return b.back()}),I(3,"mat-icon",3),H(),G(4,"h2"),R(5,"Create a new bookmark group"),H()()(),G(6,"div",4)(7,"div",5)(8,"form",6),I(9,"b-error-banner",7),G(10,"div",8)(11,"label",9),R(12,"Name"),H(),I(13,"input",10,11),H(),G(15,"div",8)(16,"label",12),R(17,"Description"),H(),G(18,"textarea",13),R(19,"        "),H()(),G(20,"p",14),R(21," Advanced settings such as selected items and access controls may be defined once the bookmark group is created. "),
H(),G(22,"div",15)(23,"button",16),M("click",function(){return b.save()}),R(24," Save "),H(),G(25,"button",17),M("click",function(){return b.revertChanges()}),R(26," Revert changes "),H()()()()());a&2&&(z(8),F("formGroup",b.bookmarkGroupUnderEdit),z(1),F("error",b.error),z(1),F("ngClass",Jf(7,pjd,b.isSaving)),z(3),F("disabled",b.isSaving),z(2),F("ngClass",Jf(9,pjd,b.isSaving)),z(3),F("disabled",b.isSaving),z(5),F("disabled",b.isSaving))},dependencies:[cw,uA,Jz,LB,Mw,og,Fw,Gw,Ww,Sw,Tw,F0],encapsulation:2});var qjd=["form"],g7=function(a,b,c,d,e,g,h,l,q,x){WD.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=x;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(Rh(l.parentId));q.setTitle("Create component")};U(g7,WD);g7.\u0275dir=WD.\u0275dir;f=g7.prototype;f.ngAfterViewInit=function(){};
f.create=function(){var a=this;this.validate()&&(DF(this.butterBar,"Saving component...",0),this.isSaving=!0,this.component.parentComponentId=this.parentComponent.componentId,this.componentActions.create(this.component).then(function(b){DF(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){EF(a.butterBar,Rl(b),0);a.isSaving=!1}))};f.back=function(){R1(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;rjd(this)};f.accessCheckComplete=function(a){this.componentIsValid=a;rjd(this)};
var rjd=function(a){a.parentComponent?(a.component.commentEditState=a.parentComponent.commentEditState,a.commentEditsEnabled="ENABLED"===a.component.commentEditState):(a.component.commentEditState="DISABLED",a.commentEditsEnabled=!1)};hh.Object.defineProperties(g7.prototype,{parentComponent:{configurable:!0,enumerable:!0,get:function(){return this.parentComponentInternal},set:function(a){this.parentComponentInternal=a;rjd(this)}}});
g7.\u0275fac=function(a){return new (a||g7)(C(CF),C(vG),C(gH),C(Q1),C(uG),C(gs),C(nI),C(RI),C(TU),C(FT))};
g7.\u0275cmp=Gc({type:g7,selectors:[["create-component-page"]],viewQuery:function(a,b){a&1&&Uf(qjd,5);if(a&2){var c;Tf(c=Wf())&&(b.createComponentForm=c.first)}},features:[bf],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&&(G(0,"div",0)(1,"div",1)(2,"b-button",2),M("onAction",function(){return b.back()}),I(3,"b-icon",3),H()()(),G(4,"div",4)(5,"h2",5),R(6,"Create component"),
H(),G(7,"div",6)(8,"form",7,8),I(10,"b-error-banner",9),G(11,"div",10)(12,"label",11)(13,"span",12),R(14,"Name"),H()(),G(15,"input",13),M("ngModelChange",function(c){return b.component.name=c}),H()(),G(16,"div",10)(17,"label",14)(18,"span",12),R(19,"Description"),H()(),G(20,"textarea",15),M("ngModelChange",function(c){return b.component.description=c}),R(21,"        "),H()(),G(22,"div",10)(23,"label",16)(24,"span",12),R(25,"Parent Component"),H()(),G(26,"b-team-component-picker",17),M("selectedComponentChange",
function(c){return b.onComponentSelect(null!==c&&void 0!==c?c:null)})("accessCheckComplete",function(c){return b.accessCheckComplete(c)}),H()(),G(27,"div",18)(28,"div",19)(29,"mat-checkbox",20),M("change",function(c){return b.setCommentEditState(c.checked)}),H()(),G(30,"div")(31,"strong",21),R(32,"Editable Comments"),H(),G(33,"div",22),R(34," When checked, users with comment access can modify their own issue comments, and editors can modify the first issue comment. "),Q(35,vpb,2,1,"a",23),H()()(),
G(36,"div",10)(37,"label",24)(38,"span",12),R(39,"Retention Settings"),H()(),G(40,"div",21)(41,"p"),R(42,"Please choose a period of time to retain the data stored in this component."),I(43,"br"),G(44,"a",25),R(45," Learn more "),H()()(),G(46,"div",26)(47,"b-retention-settings-form",27),M("modelChange",function(c){return b.component.retentionSettings=c})("validChange",function(c){return b.retentionIsValid=c}),H()()(),G(48,"p",28),R(49," Advanced settings such as custom field and access controls may be defined once the component is created. "),
H(),G(50,"div",29)(51,"b-button",30),M("onAction",function(){return b.create()}),R(52," Save "),H(),G(53,"b-button",31),M("onAction",function(){return b.back()}),R(54," Discard "),H()()()()());a&2&&(z(8),qf("show-errors",b.error),z(2),F("error",b.error),z(1),qf("bv2-edit-resource-readonly",b.isSaving),z(4),F("bFocus",!0)("ngModel",b.component.name)("disabled",b.isSaving)("required",!0),z(1),qf("bv2-edit-resource-readonly",b.isSaving),z(4),F("ngModel",b.component.description)("disabled",b.isSaving),
z(2),qf("bv2-edit-resource-readonly",b.isSaving),z(4),F("selectedComponent",b.parentComponent)("placeholder","Choose Component")("isRequired",!0)("checkAdminAccess",!0),z(1),qf("bv2-edit-resource-readonly",b.isSaving),z(2),F("checked",b.commentEditsEnabled),z(6),F("ngIf",!b.sessionIsExternal),z(9),F("href",as(),Md),z(2),qf("bv2-edit-resource-readonly",b.isSaving),z(1),F("issueRetentionDisabled",b.isSaving)("isExternal",wp(b.parentComponent))("initialModel",b.component.retentionSettings),z(4),F("disabled",
b.isSaving||!b.componentIsValid),z(2),F("disabled",b.isSaving))},dependencies:[PO,ew,F0,CT,Mw,og,Fw,Gw,Ww,Lw,Jw,AM,vN,w1,LT],styles:["b-team-component-picker[_ngcontent-%COMP%]{display:block;width:600px}\n/*# sourceMappingURL=create_component_page.css.map */"]});var sjd=["hotlistName"],tjd=function(a){return{"bv2-edit-resource-readonly":a}},h7=function(a,b,c,d,e,g,h,l,q,x){WD.call(this);var A=this;this.location=a;this.appHistory=b;this.snackBar=c;this.hotlistApi=d;this.paths=e;this.analytics=g;this.errorHandler=l;this.appEvents=x;this.error="";this.isSaving=!1;this.hotlistUnderEdit=new Iw({name:new Kw("",PUb),description:new Kw("")});h.setTitle("Create Hotlist");this.subscriptions.add(SO(q,function(){return!(!A.name()&&!A.description())},!1))};U(h7,WD);
h7.\u0275dir=WD.\u0275dir;f=h7.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(){R1(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:""};
h7.\u0275fac=function(a){return new (a||h7)(C(uG),C(Q1),C(AF),C(GG),C(vG),C(gH),C(TU),C(GF),C(RO),C(KF))};
h7.\u0275cmp=Gc({type:h7,selectors:[["b-create-hotlist"]],viewQuery:function(a,b){a&1&&Uf(sjd,5);if(a&2){var c;Tf(c=Wf())&&(b.hotlistName=c.first)}},features:[bf],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&&(G(0,"div",0)(1,"div",1)(2,"button",
2),M("click",function(){return b.back()}),I(3,"mat-icon",3),H(),G(4,"h2"),R(5,"Create a new hotlist"),H()()(),G(6,"div",4)(7,"div",5)(8,"form",6),I(9,"b-error-banner",7),G(10,"div",8)(11,"label",9),R(12,"Name"),H(),I(13,"input",10,11),H(),G(15,"div",8)(16,"label",12),R(17,"Description"),H(),G(18,"textarea",13),R(19,"        "),H()(),G(20,"p",14),R(21," Advanced settings such as access controls may be defined once the hotlist is created. "),H(),G(22,"div",15)(23,"button",16),M("click",function(){return b.save()}),
R(24," Save "),H(),G(25,"button",17),M("click",function(){return b.revertChanges()}),R(26," Revert changes "),H()()()()());a&2&&(z(8),F("formGroup",b.hotlistUnderEdit),z(1),F("error",b.error),z(1),F("ngClass",Jf(7,tjd,b.isSaving)),z(3),F("disabled",b.isSaving),z(2),F("ngClass",Jf(9,tjd,b.isSaving)),z(3),F("disabled",b.isSaving),z(5),F("disabled",b.isSaving))},dependencies:[cw,uA,Jz,LB,Mw,og,Fw,Gw,Ww,Sw,Tw,F0],encapsulation:2});var i7=function(a,b,c){this.analytics=a;this.activeSession=b;this.hatsService=c;this.enableDupSearchControl=UD(this.activeSession,"enableDupSearchControl");this.enableDupSearchA=UD(this.activeSession,"enableDupSearchA");this.enableDupSearchB=UD(this.activeSession,"enableDupSearchB");this.enableDupSearchC=UD(this.activeSession,"enableDupSearchC");this.enableDupSearchMoma=UD(this.activeSession,"enableDupSearchMoma");this.enableSimilarIssues=this.activeSession.isInternalSession()&&(this.enableDupSearchControl||
this.enableDupSearchA||this.enableDupSearchB||this.enableDupSearchC||this.enableDupSearchMoma)};i7.prototype.triggerSimilarIssuesSurvey=function(){return Iqc(this.hatsService,"HFPx18aEL0g6pPHSLo10YtkWxxH9",ujd(this)).pipe(D(function(){}))};i7.prototype.trackTitleHoverOver=function(){this.analytics.trackEvent(Jn.MAGIC_BOX,"titleHoverOver",this.getGroupName())};i7.prototype.trackTitleClick=function(){this.analytics.trackEvent(Jn.MAGIC_BOX,"titleClick",this.getGroupName())};
var ujd=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};
i7.prototype.getGroupName=function(){return this.enableDupSearchControl?"BaseVariant":this.enableDupSearchA?"VariantA":this.enableDupSearchB?"VariantB":this.enableDupSearchC?"VariantC":this.enableDupSearchMoma?"VariantMoma":"Control"};i7.\u0275fac=function(a){return new (a||i7)(u(gH),u(gs),u(FO))};i7.\u0275prov=qc({token:i7,factory:i7.\u0275fac,providedIn:"root"});var j7=function(a){r.call(this,a,0,j7.messageId)};U(j7,r);j7.prototype.getIssueIdsList=function(){return Hh(this,1)};j7.prototype.setIssueIdsList=function(a){return kj(this,1,a)};j7.prototype.addIssueIds=function(a){wb(this,1,a)};j7.repeatedFields_=[1];j7.prototype.toObject=function(){if(null!=this){t(this);var a={issueIdsList:p(Hh(this,1))}}else a=void 0;return a};j7.messageId="b.BatchIssueDigestRequest";var k7=function(a){r.call(this,a,0,k7.messageId)};U(k7,r);k7.prototype.getIssueDigestsList=function(){return aj(this,rbc,1)};k7.repeatedFields_=[1];k7.prototype.toObject=function(){if(null!=this){t(this);var a={issueDigestsList:Kb(this.getIssueDigestsList(),sbc)}}else a=void 0;return a};k7.messageId="b.BatchIssueDigestResponse";var l7=function(a,b){this.batchApiConfig=a;this.batchApiAdapter=b;this.adaptedGet=this.batchApiAdapter.adapt(this.batchApiConfig)};l7.prototype.get=function(a){return this.adaptedGet(a).pipe(D(xsa))};l7.prototype.getAll=function(a){return this.batchApiConfig.call(a).pipe(D(wpb))};l7.\u0275fac=function(a){return new (a||l7)(u(m7),u($E))};l7.\u0275prov=qc({token:l7,factory:l7.\u0275fac,providedIn:"root"});var m7=function(a){this.executor=a};
m7.prototype.call=function(a){var b=[].concat(Vc(a));b.sort();a=new j7;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:k7})};m7.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 rbc).setIssueId(a)};m7.\u0275fac=function(a){return new (a||m7)(u(LC))};m7.\u0275prov=qc({token:m7,factory:m7.\u0275fac,providedIn:"root"});var vjd=function(a){r.call(this,a,0,vjd.messageId)};U(vjd,r);f=vjd.prototype;f.getTitle=function(){return V(this,1)};f.setTitle=function(a){return n(this,1,a)};f.getComponentId=function(){return yi(this,2)};f.setComponentId=function(a){return n(this,2,a)};f.hasComponentId=function(){return xi(this,2)};f.toObject=function(){if(null!=this){t(this);var a={title:p(m(this,1)),componentId:p(m(this,2)),isRecursive:p(ar(this,3))}}else a=void 0;return a};vjd.messageId="b.MomaIssueSearchRequest";var n7=function(a){r.call(this,a,0,n7.messageId)};U(n7,r);n7.prototype.getIssueId=function(a){return Ts(this,1,a)};n7.prototype.setIssueId=function(a){return Ws(this,1,a)};n7.repeatedFields_=[1];n7.prototype.toObject=function(){if(null!=this){t(this);var a={issueIdList:p(Hh(this,1))}}else a=void 0;return a};n7.messageId="b.MomaIssueSearchResponse";var o7=function(a){this.executor=a},wjd=function(a,b){b=Lj((new vjd).setTitle(b.title).setComponentId(String(b.componentId)),3,!0);return a.executor.post({url:"action/issues/momasearch",body:b,responseConstructor:n7}).pipe(D(function(c){return Hh(c,1)}))};o7.\u0275fac=function(a){return new (a||o7)(u(LC))};o7.\u0275prov=qc({token:o7,factory:o7.\u0275fac,providedIn:"root"});var p7=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},xjd=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)};p7.prototype.hasCustomFieldValue=function(a){return a.customField?0<a.customField.map(function(b){return new Yh(b)}).filter(function(b){return!b.isEmpty()}).length:!1};
p7.prototype.searchAsync=function(a,b,c){var d=this;return(0,E.defer)(function(){return d.relatedIssuesService.get({query:a,nonParallelRequest:!0,sort:"modified_time:desc",count:b,page:null!=c?c:1}).then(function(e){var g,h;return{issues:(null!=(g=e.issueDigests)?g:[]).map(function(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}})})};
p7.prototype.fetchIssues=function(a){if(this.enableDupSearchMoma&&a.issue.title)return yjd(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(xjd(this,c,d)){var e=ypb(d.title||"");e=0<e.length?"title:("+e.join(" ")+")":"";var g=mi(d.componentId);e=(g?"componentid:"+g:"")+(e?" "+e:"");if(this.enableDupSearchControl)b=e;else if(g=ypb(mi(d.comment)||""),g=0<g.length?
"comment:("+g.join(" ")+")":"",e+=g?" "+g:"",this.enableDupSearchA)b=e;else{g=mi(d.type);var h=mi(d.priority);e=e+(" "+(h?"priority:"+h:""))+(" "+(g?"type:"+g:""));this.enableDupSearchB?b=e:(g=mi(d.hotlistId),g=!g||1>(null==g?void 0:g.length)?"":"hotlistid:("+(g.join(" | ")+")"),e=e+(" "+g)+(" "+zjd(this,c,mi(d.customField))),b=this.enableDupSearchC?e:Ajd(b))}}else b=Ajd(b);return this.searchAsync(b,a.count,a.page)}return this.searchAsync(Ajd(a.componentId),a.count,a.page)};
var Ajd=function(a){return"componentid:"+a+" status:open"},zjd=function(a,b,c){return!c||1>(null==c?void 0:c.length)?"":c.map(function(d){return new Yh(d)}).filter(function(d){return!d.isEmpty()}).map(function(d){return Bjd(a,b,d)}).join(" ")},Bjd=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=Cjd(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 Cjd(g)}).join(" | ")+")";break;case "REPEATED_ENUM":e='("'+c.repeatedEnumValue.values.join('" | "')+'")';break;case "REPEATED_NUMERIC":e="("+c.repeatedNumericValue.values.join(" | ")+")"}return e?d+e:""},Cjd=function(a){return a?a.year+"-"+("0"+a.month).slice(-2)+"-"+("0"+a.day).slice(-2):""};
p7.prototype.getCustomFieldType=function(a,b){var c,d;return null!=(d=null==(c=a[b.customFieldId])?void 0:c.type)?d:""};var yjd=function(a,b,c){return wjd(a.momaSearchApi,{title:b,componentId:c}).pipe(Se(function(d){return a.issueDigests.getAll(new Set(d))}),D(function(d){d=d.map(function(e){return{id:e.issueId,title:e.title,href:a.paths.editIssue(e.issueId)}});return{issues:d,numTotalResults:d.length}}))};p7.\u0275fac=function(a){return new (a||p7)(u(vG),u(wO),u(i7),u(o7),u(l7))};
p7.\u0275prov=qc({token:p7,factory:p7.\u0275fac,providedIn:"root"});var xpb=RegExp("\\w+","g");var q7=function(a,b,c,d){WD.call(this);this.cdr=a;this.analytics=b;this.relatedIssueFetcher=c;this.experimentSupport=d;this.refreshMagicBox=!1;this.refreshMagicBoxChange=new Gv;this.hideHeader=this.showInline=!1;this.issueTitle="";this.issue={};this.customFieldMap={};this.numIssues=5;this.headerChange=new Gv;this.showSuggestedDupes=!1;this.enableSimilarIssues=this.experimentSupport.enableSimilarIssues;this.isRefreshing=!1;this.page=1;this.endIndex=this.startIndex=this.numPages=this.numTotalResults=
0;this.magicBoxIssues=[];this.isInitiallyLoading=!0;this.currentIssueData$=new E.Subject;this.CATEGORIES=Jn};U(q7,WD);q7.\u0275dir=WD.\u0275dir;f=q7.prototype;f.ngOnInit=function(){var a=this;this.fetchIssues();this.currentIssueData$.pipe(De(750),Fe(Mh),Te(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=xjd(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(Te(this.destroyed$)).subscribe(function(c){var d=c.issues;1===b.page&&(b.magicBoxIssues=[]);b.magicBoxIssues=b.enableSimilarIssues?[].concat(Vc(b.magicBoxIssues),Vc(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(Te(this.destroyed$)).subscribe()};
f.trackTitleHoverOver=function(){this.experimentSupport.trackTitleHoverOver()};f.trackTitleClick=function(){this.experimentSupport.trackTitleClick()};f.getGroupName=function(){return this.experimentSupport.getGroupName()};q7.\u0275fac=function(a){return new (a||q7)(C(cH,2),C(gH),C(p7),C(i7))};
q7.\u0275cmp=Gc({type:q7,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:[Gf([wO,cH]),bf,Zc],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&&(Q(0,Apb,2,2,"div",0),Q(1,Opb,9,8,"ng-template",null,1,Zf));a&2&&F("ngIf",b.componentId)},dependencies:[PO,AM,sL,cw,dw,ew,uA,pO,qJ,rJ,vJ,sJ,Jz],styles:[".bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{padding:0}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{overflow:hidden;padding:5px 0;text-overflow:ellipsis;white-space:nowrap}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{line-height:28px}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.magic-box-clickable[_ngcontent-%COMP%]{cursor:pointer}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.magic-box-item[_ngcontent-%COMP%]{padding:0}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.magic-box-item-new[_ngcontent-%COMP%]{border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider);color:#5f6368;color:var(--text-muted);padding:0}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.magic-box-item-new[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted)}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.magic-box-item-new[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.magic-box-item-new[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{color:#1a73e8;color:var(--link)}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .magic-box-dialog-content[_ngcontent-%COMP%]{display:none}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .magic-box-pager[_ngcontent-%COMP%]{position:absolute;right:10px;top:5px}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .magic-box-pager[_ngcontent-%COMP%]   .magic-box-pagenums[_ngcontent-%COMP%]{float:left;margin-right:10px;margin-top:5px}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .magic-box-pager[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{min-width:34px;padding:0}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .feedback-button[_ngcontent-%COMP%]{position:absolute;right:10px;top:12px}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .feedback-button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin-right:4px}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .feedback-button[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:hover{text-decoration:underline;cursor:pointer}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   .magic-box-text[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted);margin-bottom:15px}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.magic-box-more[_ngcontent-%COMP%]{border-bottom:0}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.magic-box-load[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{padding-left:0}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.magic-box-all[_ngcontent-%COMP%]{float:right}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.magic-box-all[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{border:1px solid;border-color:#dadce0;border-color:var(--divider);padding:3px}.jfk-bubble[_ngcontent-%COMP%]{left:12px;margin:0;padding:15px 20px 15px 15px}.jfk-bubble[_ngcontent-%COMP%]   .magic-box-dialog-content[_ngcontent-%COMP%]{display:block}.jfk-bubble[_ngcontent-%COMP%]   .magic-box-dialog-content[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:0}.jfk-bubble[_ngcontent-%COMP%]   .magic-box-dialog-content[_ngcontent-%COMP%]   .magic-box-header[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{margin:0}.jfk-bubble[_ngcontent-%COMP%]   .magic-box-dialog-content[_ngcontent-%COMP%]   .magic-box-scroll[_ngcontent-%COMP%]{max-height:200px;overflow-y:scroll}.d-cozy[_ngcontent-%COMP%]   .bv2-magic-box[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{line-height:24px}.d-compact[_ngcontent-%COMP%]   .bv2-magic-box[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{line-height:20px}.bv2-material[_nghost-%COMP%]   .bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%], .bv2-material   [_nghost-%COMP%]   .bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{list-style:disc}.bv2-material[_nghost-%COMP%]   .bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .magic-box-pager[_ngcontent-%COMP%]   .magic-box-pagenums[_ngcontent-%COMP%], .bv2-material   [_nghost-%COMP%]   .bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .magic-box-pager[_ngcontent-%COMP%]   .magic-box-pagenums[_ngcontent-%COMP%]{margin-top:8px}.bv2-material[_nghost-%COMP%]   .bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.magic-box-more[_ngcontent-%COMP%], .bv2-material   [_nghost-%COMP%]   .bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.magic-box-more[_ngcontent-%COMP%]{border-top:1px solid;border-top-color:#dadce0;border-top-color:var(--divider);padding:0}/*# sourceMappingURL=magic-box.css.map */"]});var Djd=["popOver"],Qpb=function(a){return{$implicit:a}},Ypb=function(a){return{editingValue:a}},r7=function(a){this.val="";this.allowMultipleLines=!0;this.disabled=this.centerEditIcon=this.newlineWithEnterKey=!1;this.hasBackdrop=!0;this.fitPopoverToViewport=!1;this.valueChange=new Gv;this.editorOpen=new Gv;this.required=this.editing=this.headerFocused=!1;this.editingValue=new Kw("",{nonNullable:!0});this.onChange=function(){};this.onTouched=function(){};if(""===a||"true"===a||"required"===a)this.required=
!0};U(r7,MY);f=r7.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};hh.Object.defineProperties(r7.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.val},set:function(a){a!==this.val&&this.writeValue(a)}}});
r7.\u0275fac=function(a){return new (a||r7)(od("required"))};
r7.\u0275cmp=Gc({type:r7,selectors:[["onedev-text-field"]],viewQuery:function(a,b){a&1&&Uf(Djd,7);if(a&2){var c;Tf(c=Wf())&&(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:[Gf([{provide:uw,useExisting:wc(function(){return r7}),multi:!0},{provide:MY,useExisting:wc(function(){return r7}),multi:!0}]),bf],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&&(G(0,"button",0,1),M("click",function(){return b.startEditing()})("focus",function(){return b.headerFocused=!0})("blur",function(){return b.headerFocused=!1}),G(2,"span"),Q(3,Rpb,2,4,"ng-container",
2),Q(4,Spb,1,1,"ng-template",null,3,Zf),H(),Q(6,Tpb,2,2,"svg",4),H(),G(7,"onedev-pop-over-edit-panel",5,6),M("closedWithAction",function(g){return b.stopEditing(g)}),H(),Q(9,$pb,2,2,"ng-template",null,7,Zf));if(a&2){var c=Cf(1),d=Cf(5),e=Cf(10);gf("aria-labelledby",b.labelledById);z(3);F("ngIf",b.valueTemplate)("ngIfElse",d);z(3);F("ngIf",!b.disabled);z(1);F("anchor",c)("editorTemplate",e)("newlineWithEnterKey",b.newlineWithEnterKey)("hasBackdrop",b.hasBackdrop)("fitToViewport",b.fitPopoverToViewport)}},
dependencies:[ew,jw,og,Fw,cA,V5,Rw],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 Ejd=Kg("indicatorRotate",[Ng("collapsed, void",Mg({transform:"rotate(0deg)"})),Ng("expanded",Mg({transform:"rotate(180deg)"})),Og("expanded <=> collapsed, void => collapsed",Lg("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),Fjd=Kg("bodyExpansion",[Ng("collapsed, void",Mg({height:"0px",visibility:"hidden"})),Ng("expanded",Mg({height:"*",visibility:"visible"})),Og("expanded <=> collapsed, void => collapsed",Lg("225ms cubic-bezier(0.4,0.0,0.2,1)"))]);var Gjd=new Rc("CdkAccordion");var Hjd=0,s7=function(a,b,c){var d=this;this.accordion=a;this._changeDetectorRef=b;this._expansionDispatcher=c;this._openCloseAllSubscription=E.Subscription.EMPTY;this.closed=new Gv;this.opened=new Gv;this.destroyed=new Gv;this.expandedChange=new Gv;this.id="cdk-accordion-child-"+Hjd++;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=s7.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)})};
hh.Object.defineProperties(s7.prototype,{expanded:{configurable:!0,enumerable:!0,get:function(){return this._expanded},set:function(a){a=xg(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=xg(a)}}});
s7.\u0275fac=function(a){return new (a||s7)(C(Gjd,12),C(Yv),C(Ly))};s7.\u0275dir=Kc({type:s7,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[Gf([{provide:Gjd,useValue:void 0}])]});var t7=function(){};t7.\u0275fac=function(a){return new (a||t7)};t7.\u0275mod=Ic({type:t7});t7.\u0275inj=rc({});var Ijd=new Rc("MAT_ACCORDION");var Jjd=new Rc("MAT_EXPANSION_PANEL");var Kjd=function(a,b){this._template=a;this._expansionPanel=b};Kjd.\u0275fac=function(a){return new (a||Kjd)(C(Qf),C(Jjd,8))};Kjd.\u0275dir=Kc({type:Kjd,selectors:[["ng-template","matExpansionPanelContent",""]]});var Ljd=["body"],Mjd=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],Njd=0,Ojd=new Rc("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),u7=function(a,b,c,d,e,g,h){s7.call(this,a,b,c);var l=this;this._viewContainerRef=d;this._animationMode=g;this._hideToggle=!1;this.afterExpand=new Gv;this.afterCollapse=new Gv;this._inputChanges=new E.Subject;this._headerId="mat-expansion-panel-header-"+Njd++;this._bodyAnimationDone=new E.Subject;this.accordion=a;this._document=e;this._bodyAnimationDone.pipe(Fe(function(q,
x){return q.fromState===x.fromState&&q.toState===x.toState})).subscribe(function(q){"void"!==q.fromState&&("expanded"===q.toState?l.afterExpand.emit():"collapsed"===q.toState&&l.afterCollapse.emit())});h&&(this.hideToggle=h.hideToggle)};U(u7,s7);u7.\u0275dir=s7.\u0275dir;f=u7.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(Re(null),ye(function(){return a.expanded&&!a._portal}),Ge()).subscribe(function(){a._portal=new nx(a._lazyContent._template,a._viewContainerRef)})};f.ngOnChanges=function(a){this._inputChanges.next(a)};
f.ngOnDestroy=function(){s7.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};
hh.Object.defineProperties(u7.prototype,{hideToggle:{configurable:!0,enumerable:!0,get:function(){return this._hideToggle||this.accordion&&this.accordion.hideToggle},set:function(a){this._hideToggle=xg(a)}},togglePosition:{configurable:!0,enumerable:!0,get:function(){return this._togglePosition||this.accordion&&this.accordion.togglePosition},set:function(a){this._togglePosition=a}}});u7.\u0275fac=function(a){return new (a||u7)(C(Ijd,12),C(Yv),C(Ly),C(Rf),C(fh),C(ev,8),C(Ojd,8))};
u7.\u0275cmp=Gc({type:u7,selectors:[["mat-expansion-panel"]],contentQueries:function(a,b,c){a&1&&Vf(c,Kjd,5);if(a&2){var d;Tf(d=Wf())&&(b._lazyContent=d.first)}},viewQuery:function(a,b){a&1&&Uf(Ljd,5);if(a&2){var c;Tf(c=Wf())&&(b._body=c.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(a,b){a&2&&qf("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:[Gf([{provide:Ijd,useValue:void 0},{provide:Jjd,useExisting:u7}]),bf,Zc],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&&(xf(Mjd),yf(0),G(1,"div",0,1),M("@bodyExpansion.done",function(c){return b._bodyAnimationDone.next(c)}),G(3,"div",2),yf(4,1),Q(5,aqb,0,0,"ng-template",3),H(),yf(6,2),H());a&2&&(z(1),F("@bodyExpansion",b._getExpandedState())("id",b.id),gf("aria-labelledby",b._headerId),z(4),F("cdkPortalOutlet",b._portal))},dependencies:[rx],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:[Fjd]},changeDetection:0});var Pjd=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],Qjd=lh(function(){}),v7=function(a,b,c,d,e,g,h){var l=Qjd.call(this)||this;l.panel=a;l._element=b;l._focusMonitor=c;l._changeDetectorRef=d;l._animationMode=g;l._parentChangeSubscription=E.Subscription.EMPTY;var q=a.accordion?a.accordion._stateChanges.pipe(ye(function(x){return!(!x.hideToggle&&!x.togglePosition)})):E.EMPTY;l.tabIndex=parseInt(h||"")||0;l._parentChangeSubscription=(0,E.merge)(a.opened,a.closed,q,a._inputChanges.pipe(ye(function(x){return!!(x.hideToggle||
x.disabled||x.togglePosition)}))).subscribe(function(){return l._changeDetectorRef.markForCheck()});a.closed.pipe(ye(function(){return a._containsFocus()})).subscribe(function(){return jx(c,b,"program")});e&&(l.expandedHeight=e.expandedHeight,l.collapsedHeight=e.collapsedHeight);return l};U(v7,Qjd);f=v7.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:Bg(a)||(a.preventDefault(),this._toggle());break;default:this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(a)}};
f.focus=function(a,b){a?jx(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)};hh.Object.defineProperties(v7.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this.panel.disabled}}});
v7.\u0275fac=function(a){return new (a||v7)(C(u7,1),C(vd),C(ix),C(Yv),C(Ojd,8),C(ev,8),od("tabindex"))};
v7.\u0275cmp=Gc({type:v7,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(a,b){a&1&&M("click",function(){return b._toggle()})("keydown",function(c){return b._keydown(c)});a&2&&(gf("id",b.panel._headerId)("tabindex",b.tabIndex)("aria-controls",b.panel.id)("aria-expanded",b.panel.expanded)("aria-disabled",b.panel.disabled),pf("height",b._getHeaderHeight()),qf("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:[bf],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&&(xf(Pjd),
G(0,"span",0),yf(1),yf(2,1),yf(3,2),H(),Q(4,bqb,1,1,"span",1));a&2&&(qf("mat-content-hide-toggle",!b._showToggle()),z(4),F("ngIf",b._showToggle()))},dependencies:[ew],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:[Ejd]},changeDetection:0});var w7=function(){};w7.\u0275fac=function(a){return new (a||w7)};w7.\u0275dir=Kc({type:w7,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]});var x7=function(){};x7.\u0275fac=function(a){return new (a||x7)};x7.\u0275mod=Ic({type:x7});x7.\u0275inj=rc({imports:[sw,dz,t7,sx]});var Rjd=["descriptionConfirmDialog"],dqb=function(a,b){return{partner:a,"public":b}},$qb=function(a){return{required:a}},grb=function(a){return{"bv2-upload-ongoing":a}},Sjd=function(a){return{submitted:a}},y7=function(a,b,c,d,e,g,h,l,q,x,A,B,K,N,P,Y,X,ka,ma,za,Ba,Ma,Sa,Ua,Lb,qb,Ya,wa,Ka,Na,fb,bb,Tc,hb,yb,$a){WD.call(this);var Fb=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=
x;this.issueTypeDialog=A;this.componentActions=B;this.activeSession=K;this.draftStore=N;this.pageTitle=P;this.analytics=Y;this.issueApi=X;this.userApi=ka;this.hotlistApi=ma;this.butterBar=za;this.errorHandler=Ba;this.matDialogService=Ma;this.appEvents=Sa;this.userPreferencesManager=qb;this.cdr=Ka;this.confirmationDialogService=Na;this.issueRelationshipsFridge=fb;this.issueFridge=bb;this.componentFridge=Tc;this.clearcut=hb;this.currentTracker=yb;this.jspbPrincipalTypes=$a;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=UD(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=nl;this.toIssueSeverity=Aua;this.FieldType=rVc;this.initialized=!1;this.trackerComponent$=this.currentTracker.tracker$.pipe(Se(function(jb){return jb?
Fb.componentFridge.watch(Number(jb.componentId)).pipe(Re(void 0)):(0,E.of)(void 0)}));this.getSingleEditFieldType=t4a;this.getListFieldType=m5a;this.fetchUserHotlists();this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(function(){Fb.fetchUserHotlists()}));this.subscriptions.add(this.appEvents.hotlistCreated.subscribe(function(){Fb.fetchUserHotlists()}));this.subscriptions.add(this.appEvents.bookmarkGroupModified.subscribe(function(){Fb.fetchUserHotlists()}));this.enableCreateIssueWithTemplate=
UD(K,"enableCreateIssueWithTemplate");this.frontendIsInternalOrPartner=K.isInternalSession()||Iac(K);this.priorityChoices=wa.priorities.map(function(jb){return{value:jb,displayText:jb}});this.severityChoices=wa.severities.map(function(jb){return{value:jb,displayText:jb}});this.issueTypeChoices=wa.editIssueTypes.map(function(jb){return{value:jb,displayText:Cua(jb),altText:wa.issueTypesShortDescriptions.get(jb)}});this.urlTemplate=new y1c(Ua,b);this.piiWarningMessage=K.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=Ua.component;this.templateIssueRequestedInUrl=Ua.template_issue;Ua.template&&(a=Number(Ua.template))&&(this.preferredTemplateId=a);if(a=Ua.parentIssueId)this.parentIssueIds=Array.isArray(a)?a:[a];if(a=Ua.childrenIssueIds)this.childrenIssueIds=Array.isArray(a)?a:[a];if(a=Ua.afterIssueId)this.afterIssueId=Array.isArray(a)?a[0]:a;this.issue=Nh(nrb);krb(this.issue,this);this.audience="EXTERNAL_AUDIENCE";Ua.description?this.comment=
new PI(Ua.description,!0):(a=this.draftStore.$window.sessionStorage.getItem(an("0"))||"",this.comment=new PI(a));this.comment.formattingMode=Tjd(this);a=Ujd(Ua);this.isFormatInRoute=null!=a;a&&(this.comment.formattingMode=a);this.selectedComponentProcessedPromise=Promise.resolve(void 0);this.subscriptions.add(qb.preferences$.subscribe(function(jb){var Mb;Fb.useCodefont=null!=(Mb=jb.useCodefont)?Mb:Fb.useCodefont}));this.hasAdvancedFieldsInUrlTemplate=A1c(this.urlTemplate)||!!this.parentIssueIds||
!!this.childrenIssueIds;this.subscriptions.add(DL(Lb,{title:"Create Issue Page",hotkeys:[{keys:["h"],displayAs:"h",description:"Edit hotlists",onPress:function(){var jb;null==(jb=Fb.hotlistPicker)||jb.open()}},{keys:["u"],displayAs:"u",description:"Back to previous page",onPress:function(){Fb.back()}}]}));this.componentRequestedInUrl?(this.newIssueStarted=!0,Vjd(this,Number(this.componentRequestedInUrl))):(F1c(this.urlTemplate,this.issue),this.updateSelectedHotlists());this.templateIssueRequestedInUrl&&
(this.newIssueStarted=!0,Wjd(this));this.originalIssueCopy=Nh(this.issue);Ua.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=K.getCreateRestrictedSubresourcesComponentWhitelist();this.subscriptions.add(SO(Ya,function(){return Fb.hasUnsavedChanges()},
!1))};U(y7,WD);y7.\u0275dir=WD.\u0275dir;y7.prototype.isCaptchaValid=function(){return!this.enableRecaptcha||""!==this.recaptchaResponse};var hrb=function(a){return a.isSaving||a.isNavigatingAway||!a.canCreateNewIssuesInComponent||!a.isCaptchaValid()||!1};y7.prototype.ngOnDestroy=function(){WD.prototype.ngOnDestroy.call(this);Xjd(this)};
y7.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))}))};y7.prototype.unloadPageHandler=function(){Xjd(this)};var z7=function(a){a.initialized&&a.ngZone.run(function(){a.cdr.detectChanges()})};y7.prototype.back=function(){R1(this.appHistory)};
y7.prototype.onAccessLimitLevelSelected=function(a){this.selectedAccessLimitLevel=a};
y7.prototype.selectComponent=function(a){(this.selectedComponent=a)?(this.issue=Object.assign({},this.issue,{componentId:this.selectedComponent.componentId}),this.originalIssueCopy.componentId=this.selectedComponent.componentId,Yjd(this),this.audience=wp(this.selectedComponent)?"EXTERNAL_AUDIENCE":"INTERNAL_AUDIENCE",this.createRestrictedResourcesComponentWhitelist.includes(this.selectedComponent.componentId)?this.judgementForNewContent={severity:"PII",judgementReason:"None Specified"}:this.judgementForNewContent=
void 0):(Vb(this.issue,"componentId"),this.audience="EXTERNAL_AUDIENCE");this.submitRequested=!1;Zjd(this);return this.selectedComponentProcessedPromise=Promise.all([$jd(this),akd(this)]).then(function(){})};
var bkd=function(a){a.assigneeText=a.assigneeText?a.assigneeText:null;a.verifierText=a.verifierText?a.verifierText:null;a.reporterText=a.reporterText?a.reporterText:null},gqb=function(a){return I6a(a.selectedComponent)?"External Google partners may be able to see this issue.":xp(a.selectedComponent)?"Public users may be able to see this issue.":""},Wjd=function(a){var b=Number(a.templateIssueRequestedInUrl);Number.isNaN(b)?EF(a.butterBar,"Invalid template_issue specified"):(a.availableExistingIssueTemplate=
new ckd(b,"issue","Issue "+b,!1),a.selectedTemplate=a.availableExistingIssueTemplate)},$jd=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;Bk(Ak(g))&&(g=e.default?"(default template)":"(unnamed template)");return new ckd(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]);z7(a)}).catch(function(){EF(a.butterBar,
"Unable to load templates for this component")}):Promise.resolve(void 0)},akd=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=qF(a.userAccess,"appender","components/"+b).then(function(g){a.canCreateNewIssuesInComponent=
g;z7(a)}),e=qF(a.userAccess,"writer",c).then(function(g){a.canEditIssuesInComponent=g;z7(a)});c=qF(a.userAccess,"reader",c).then(function(g){a.canViewIssuesInComponent=g;z7(a)});b=a.accessPolicy.checkComponentImplicitAccessEnabled(b).then(function(g){a.componentHasExpandedAccessEnabled=g;z7(a)});return Promise.all([d,e,c,b]).then(function(){dkd(a);z7(a)}).catch(function(g){a.$log.warn(g)}).finally(function(){a.createAclLoading=!1})};
y7.prototype.getIssueTemplate=function(){var a=this;if(this.selectedTemplate){var b=function(c){var d=Object.assign(Nh(nrb),c.snapshot);a.selectedComponent&&(d.componentId=a.selectedComponent.componentId);var e=Nh(d);bkd(a);mrb(a,a.issue);var g=Nh(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 x=q.next();!x.done;x=q.next())mqa(g[l],x.value)}else Mh(q,
g[l])&&delete g[l]}a.appliedTemplate=e;orb(d,g);g=e.comment||"";a.comment.value!==a.templateComment&&(Oic(a.comment)||""===g||a.comment.value===g||(a.templateComment=g,ekd(a,a.comment.value)),d.comment=a.comment.value,d.formattingMode=e.formattingMode);a.templateComment=g;var A;a.templateCommentFormattingMode=null!=(A=e.formattingMode)?A:void 0;a.templateTitle=e.title||"";d.reporterUser=ii(a.userEmail);a.selectedAccessLimitLevel=d.issueAccessLimitLevel||"LIMIT_NONE";a.issue=d;krb(a.issue,a);dkd(a);
bkd(a);mrb(a,a.issue);a.comment.value=a.issue.comment||"";a.issue.comment&&a.issue.formattingMode&&(a.comment.formattingMode=a.issue.formattingMode);F1c(a.urlTemplate,a.issue,a.customFieldMap);krb(a.issue,a);a.originalIssueCopy=Nh(a.issue);a.loadHotlists(a.issue.hotlistId).then(function(){a.updateSelectedHotlists();a.originalIssueCopy.hotlistId=Nh(a.issue.hotlistId);z7(a)});fkd(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(){z7(a)}):"issue"===this.selectedTemplate.type&&(bdc(this.issueTemplate,String(this.selectedTemplate.id)).then(function(c){if(a.currentTracker.inTracker&&a.currentTracker.getTrackerId()!==c.trackerId)throw Error("Qe");return b(c)}).then(function(c){c&&(Vjd(a,c),z7(a))}).catch(function(c){EF(a.butterBar,c.message)}),(0,E.firstValueFrom)(this.issueFridge.watch(String(this.selectedTemplate.id))).then(function(c){var d;
null!=(d=a.parentIssueIds)&&d.length||(a.parentIssueIds=null==c?void 0:c.parentIssueIds)}));this.selectedTemplate.id!==this.preferredTemplateId&&this.analytics.trackEvent(Jn.CREATE_ISSUE,"changeTemplate");Zjd(this)}};y7.prototype.isValid=function(){return!(0!==iqb(this).length||0!==jqb(this).length)&&!!(this.isBlockedByIssueIdValid&&this.isBlockingIssueIdValid&&this.isParentIssueIdsValid&&this.isCollaboratorsValid)&&!pqb(this.comment)&&!0};
var iqb=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})},jqb=function(a){return(a.issue.customField||[]).filter(function(b){return a.isCustomFieldRequired(b)&&(new Yh(b)).isEmpty()}).map(function(b){return'custom field "'+a.getCustomFieldName(b)+'"'})},gkd=function(a){return 0===a.collaboratorsText.length?(a.isCollaboratorsValid=
!0,Promise.resolve(!0)):Iic(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){EF(a.butterBar,b.message);return!1})},Pqb=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)},Hqb=function(a){return a.split(",").map(function(b){return b.trim()}).filter(Boolean)},Mr=function(a){return a?a.join(", "):""},fkd=function(a){if(Pca(a.customFieldMap,function(c){return c.required||!1})||a.hasAdvancedFieldsInUrlTemplate){var b;null==(b=a.advancedFieldsZippy)||b.open()}};f=y7.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 Yh(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(Jn.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 Yh(a)).getValue())?void 0:b.values)?c:null};
f.saveCommentDraft=function(){var a=this.comment.value;a===this.templateComment&&(a="");this.draftStore.setDraft("0",a);this.issue=Object.assign({},this.issue,{comment:a})};f.handleHotlistPickerSave=function(a){var b=[];a=k(Object.entries(a.newSelectionMap));for(var c=a.next();!c.done;c=a.next()){var d=k(c.value);c=d.next().value;(d=d.next().value)&&b.push(Number(c))}this.issue=Object.assign({},this.issue,{hotlistId:b});this.updateSelectedHotlists();this.analytics.trackEvent(Jn.CREATE_ISSUE,"changeHotlists")};
f.removeHotlist=function(a){var b;ra(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:nl(a)});var b;this.analytics.trackEvent(Jn.CREATE_ISSUE,"changePriority",null!=(b=this.issue.priority)?b:void 0)};
var Cqb=function(a,b){a.issue=Object.assign({},a.issue,{type:zua(b)});var c;a.analytics.trackEvent(Jn.CREATE_ISSUE,"changeType",null!=(c=a.issue.type)?c:void 0)};y7.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)});Faa(this.selectedHotlists,function(b,c){return Lp(b.name,c.name)})};
var hkd=function(a,b){var c,d,e,g,h,l,q,x,A,B,K;return he(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(hgc(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&&EF(a.butterBar,"Unable to add "+
e+" as parent(s). "+g);case 2:q=a.childrenIssueIds;if(null==(x=q)||!x.length){N.jumpTo(7);break}return N.yield(a.issueRelationshipsFridge.assignParentToIssues(c,q.map(function(P){return{issueId:P}})),8);case 8:A=N.yieldResult,B=A.notAdded,K=A.errors,B.length&&EF(a.butterBar,"Unable to add "+B+" as children. "+K);case 7:return N.return(b)}})},erb=function(a,b){var c,d,e,g,h,l,q;return he(function(x){switch(x.nextAddress){case 1:return x.yield(gkd(a),2);case 2:a.isCollaboratorsValid=x.yieldResult;c=
a.issue;a.submitRequested=!0;if(!a.isValid()){if(d=document.querySelector(".bv2-view"))d.scrollTop=0;return x.return()}c.issueAccessLimitLevel=a.selectedAccessLimitLevel;c.issueAccessLimitLevel&&"LIMIT_NONE"!==c.issueAccessLimitLevel&&a.analytics.trackEvent(Jn.ISSUE_ACCESS_LIMITS,"create","create_issue:"+c.issueAccessLimitLevel);c.comment=a.comment.value;c.formattingMode=a.comment.formattingMode;e={snapshot:c,attachments:a.comment.getAttachments()};a.enableRecaptcha&&(e.recaptchaToken=a.recaptchaResponse);
a.selectedTemplate&&"predefined"===a.selectedTemplate.type&&(e.templateId=a.selectedTemplate.id);a.judgementForNewContent&&"NONE_DETECTED"!==a.judgementForNewContent.severity&&(e.contentJudgement=a.judgementForNewContent);a.canEditIssuesInComponent||(g={title:e.snapshot.title,componentId:e.snapshot.componentId,comment:e.snapshot.comment,formattingMode:e.snapshot.formattingMode,cc:!a.canViewIssuesInComponent&&!a.componentHasExpandedAccessEnabled||a.enableCreateIssueWithTemplate?[]:[a.userEmail]},e.snapshot=
g);e.snapshot=Tb(e.snapshot,function(A){return"string"!==typeof A||!Bk(A)});e.snapshot.customField&&(e.snapshot.customField=e.snapshot.customField.filter(function(A){return!(new Yh(A)).isEmpty()}));mrb(a,e.snapshot);e.snapshot.assigneeUser&&(e.snapshot.status="ASSIGNED");h=function(){a.isSaving=!0;a.newIssueStarted=!1;DF(a.butterBar,"Creating...",0);a.issueApi.createIssue(e).then(function(A){return hkd(a,A)}).then(function(A){a.draftStore.$window.sessionStorage.removeItem(an("0"));a.originalIssueCopy=
Nh(a.issue);a.analytics.trackEvent(Jn.CREATE_ISSUE,"create","MARKDOWN"===a.comment.formattingMode?"markdown":"non markdown");ikd(a);if(b){var B;a.analytics.trackEvent(Jn.CREATE_ISSUE,"fileAndRedirect","component",null!=(B=c.componentId)?B:void 0);a.butterBar.dismiss();a.isNavigatingAway=!0;a.isSaving=!1;qF(a.userAccess,"reader","issues/"+A.issueId).then(function(P){a.componentPickerTouched=!1;P?K1c(a.redirectUrl,a.paths.editIssue(A.issueId),String(A.issueId)):(DF(a.butterBar,"New issue created: "+
A.issueId+" (view access not granted)",0),K1c(a.redirectUrl,a.paths.listIssues()));z7(a)}).catch(function(P){a.errorHandler.errorHandler(null,P);a.isNavigatingAway=!1})}else{a.componentPickerTouched=!1;var K;a.analytics.trackEvent(Jn.CREATE_ISSUE,"fileAndNew","component",null!=(K=c.componentId)?K:void 0);B={};$cc(a.butterBar,jn("New issue created: ",hn("A",(B.href=a.paths.editIssue(A.issueId),B),String(A.issueId))),0);c.title=a.templateTitle;a.comment=new PI(a.templateComment);(c.comment=a.templateComment)&&
a.templateCommentFormattingMode&&(a.comment.formattingMode=a.templateCommentFormattingMode,c.formattingMode=a.templateCommentFormattingMode);a.isSaving=!1;a.submitRequested=!1;var N;B=k(null!=(N=a.magicBoxes)?N:[]);for(N=B.next();!N.done;N=B.next())N.value.refresh();a.newIssueStarted=!0;a.originalIssueCopy=Nh(a.issue)}z7(a)}).catch(function(A){403===A.status&&Ql(A)?HF(a.errorHandler,Rl(A)):a.errorHandler.errorHandler(null,A);a.isSaving=!1;a.submitRequested=!1;a.newIssueStarted=!1})};return x.yield(jkd(a),
3);case 3:return(l=x.yieldResult)?x.yield(kkd(a),4):x.return();case 4:q=x.yieldResult;if(!q)return x.return();h();me(x)}})},jkd=function(a){var b=Ol();!a.canEditIssuesInComponent&&!a.frontendIsInternalOrPartner&&a.selectedComponent&&a.selectedComponent.accessLimit&&"INTERNAL"!==a.selectedComponent.accessLimit.accessLevel?a.confirmationDialogService.open({title:"",content:Xu("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},kkd=function(a){var b=Ol();!a.canEditIssuesInComponent||"VULNERABILITY"!==a.issue.type&&"PRIVACY_ISSUE"!==a.issue.type?b.resolve(!0):Xhc(a.issueTypeDialog,a.issue.type,function(){b.resolve(!0)},function(){b.resolve(!1)});return b.promise},Vjd=function(a,b){a.isLoadingComponent=!0;a.componentActions.getUncached(b).then(function(c){if(a.currentTracker.inTracker&&a.currentTracker.getTrackerId()!==c.trackerId)throw Error("Re");a.selectComponent(c);
z7(a)}).catch(function(){EF(a.butterBar,"Component ID "+b+" does not exist or you do not have access.")}).finally(function(){a.isLoadingComponent=!1})};y7.prototype.hasUnsavedChanges=function(){var a=prb(this.issue),b=prb(this.originalIssueCopy);return!Mh(a,b)||this.comment.value!==this.originalIssueCopy.comment};
var yqb=function(a){a.showRecentIssuesInline=!a.showRecentIssuesInline;a.analytics.trackEvent(Jn.CREATE_ISSUE,"toggleRecentIssuesInline",a.showRecentIssuesInline.toString())},ekd=function(a,b){Rz(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="")})},Zjd=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)))},eqb=function(a){return a.sessionIsExternal?!1:I6a(a.selectedComponent)},fqb=function(a){return Jac(a.activeSession)?!1:xp(a.selectedComponent)},Yjd=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=
qrb(b);lkd(a)}},lkd=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 Yh({customFieldId:d.customFieldId}));a.originalIssueCopy.customField=
a.issue.customField}},dkd=function(a){if(a.canViewIssuesInComponent||a.componentHasExpandedAccessEnabled)void 0!==a.ccsText?a.ccsText.includes(a.userEmail)||(a.ccsText=[a.userEmail].concat(Vc(a.ccsText))):a.ccsText=[a.userEmail]};f=y7.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);z7(a)}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
f.addHotlist=function(a){var b=this.hotlistMap[a.hotlistId];b&&ra(this.hotlists,b);this.hotlistMap[a.hotlistId]=a;this.hotlists.push(a)};f.createHotlist=function(a){var b=this;this.analytics.trackEvent("baseIssue","createHotlist");DF(this.butterBar,"Creating hotlist "+a.name+"...",0);this.hotlistApi.createHotlist(a.name).then(function(c){DF(b.butterBar,"Hotlist "+a.name+" created successfully.");b.addHotlist(c);b.appEvents.hotlistCreated.next();a.successCallback(c);z7(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);z7(b);return d},function(){var d=b.hotlistMap[c];Vb(b.hotlistMap,c);ra(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(){z7(b)})};
var Ujd=function(a){var b;switch((null==(b=a.format)?void 0:b.toLowerCase())||""){case "plain":return"PLAIN";case "markdown":return"MARKDOWN"}},Tjd=function(a){var b;return xk(null==(b=vI(a.userPreferencesManager).textDisplayPreferences)?void 0:b.lastPublishMode)||"PLAIN"};
y7.prototype.showNewContentJudgementDialog=function(){var a=this,b,c,d=null!=(c=null==(b=this.judgementForNewContent)?void 0:b.severity)?c:"NONE_DETECTED";this.showContentJudgementDialog({severity:d,contentJudgement:void 0,hasAclToCreate:!0}).pipe(Te(this.destroyed$)).subscribe(function(e){e&&(a.judgementForNewContent=e.contentJudgement)})};y7.prototype.showContentJudgementDialog=function(a){return Rz(this.matDialogService.open(MP,{panelClass:"no-jitter",width:"500px",data:a}))};
var Xjd=function(a){a.componentPickerTouched&&(a.analytics.trackEvent(Jn.CREATE_ISSUE,"exit-after-component-picker-interaction","new-ui"),a.componentPickerTouched=!1);a.analytics.trackEvent(Jn.CREATE_ISSUE,"creation-abandon","new-ui")},ikd=function(a){var b=(new Date).getTime()-a.startTime.getTime();if(0<b){var c=Math.min(b,108E5);Ofc("createIssue",c,"new-ui");a.analytics.trackEvent(Jn.CREATE_ISSUE,"createIssue","time-to-create-new-ui",c);WG(a.clearcut,b,"createIssue-fromNewIssuePage")}a.startTime=
new Date};hh.Object.defineProperties(y7.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()})}}}});
y7.\u0275fac=function(a){return new (a||y7)(C(We),C(FF),C(HX),C(vG),C(S1),C(pF),C(VF),C(uG),C(Q1),C(JF),C(qI),C(FT),C(gs),C(mI),C(TU),C(gH),C(kE),C(OG),C(GG),C(CF),C(GF),C(Wz),C(KF),C(RI),C(CL),C(uI),C(RO),C(BI),C(cH,2),C(oI),C(sH),C(lH),C(eF),C(VG),C(lK),C(MI))};
y7.\u0275cmp=Gc({type:y7,selectors:[["b-create-issue-page"]],viewQuery:function(a,b){a&1&&(Uf(F_,5),Uf(x_,5),Uf(Rjd,5),Uf(u7,5),Uf(q7,5));if(a&2){var c;Tf(c=Wf())&&(b.hotlistPicker=c.first);Tf(c=Wf())&&(b.commentBox=c.first);Tf(c=Wf())&&(b.descriptionConfirmDialog=c.first);Tf(c=Wf())&&(b.advancedFieldsZippy=c.first);Tf(c=Wf())&&(b.magicBoxes=c)}},hostBindings:function(a,b){a&1&&M("unload",function(){return b.unloadPageHandler()},!1,yd)},features:[Gf([cH]),bf],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"],
["role","heading","aria-level","3"],[1,"required-text"],[1,"bv2-new-issue-metadata"],["aria-label","Set severity",1,"bv2-create-adv-field"],["for","bv2-severity","title","Set severity, which reflects how much the issue affects the use of the product"],["mat-button","","type","button","color","primary","id","bv2-severity",3,"matMenuTriggerFor"],["severityMenu","matMenu"],[1,"bv2-create-adv-field"],["for","bv2-found-in","title","Set version(s) of the product affected by this issue (comma-separated list)"],
["id","bv2-found-in","name","foundIn","type","text","autocomplete","off",3,"ngModel","ngModelChange"],["aria-label","Set in prod",1,"bv2-create-adv-field"],["for","bv2-in-prod","title","Set if this issue occurs in production"],["id","bv2-in-prod","name","inProd","aria-label","Set in prod",3,"ngModel","ngModelChange"],["for","bv2-reporter","title","Set the reporter of this issue."],["id","bv2-reporter","name","reporter","type","text","autocomplete","off",3,"ngModel","bContactAutocomplete","ngModelChange"],
["for","bv2-verifier","title","Set the verifier of this issue."],["id","bv2-verifier","name","verifier","type","text","autocomplete","off",3,"ngModel","bContactAutocomplete","ngModelChange"],["for","bv2-targeted-to","title","Set the version(s) of the product in which the issue should be fixed (comma-separated list)"],["id","bv2-targeted-to","name","targetedTo","type","text","autocomplete","off",3,"ngModel","ngModelChange"],["for","bv2-blocked-by","title","Set issue(s) blocking this issue (comma-separated list)"],
["id","bv2-blocked-by","name","blockedByInputField","type","text","autocomplete","off","pattern","[\\s\\d,]*",3,"ngModel","ngModelChange"],["for","bv2-blocking","title","Set issue(s) blocked by this issue (comma-separated list)"],["id","bv2-blocking","name","blockingInputField","type","text","autocomplete","off","pattern","[\\s\\d,]*",3,"ngModel","ngModelChange"],["class","bv2-create-adv-field",4,"ngIf"],["class","bv2-create-adv-field",4,"ngFor","ngForOf"],["for","bv2-parents","title","Set parent issue(s) of this issue (comma-separated list)"],
["id","bv2-parents","name","parentsInputField","type","text","pattern","[\\s\\d,]*",3,"ngModel","ngModelChange"],["for","bv2-children","title","Set children issue(s) of this issue (comma-separated list)"],["id","bv2-children","name","childrenInputField","type","text","pattern","[\\s\\d,]*",3,"ngModel","ngModelChange"],["id","bv2-access-limits",3,"disabled","defaultAccessLimitLevel","implicitAccessEnabled","updatedAccessLimitLevel"],[3,"id","ngClass","title"],[3,"id","value","valueChange",4,"ngIf"],
[3,"value","options","includeEmptyOption","valueChange",4,"ngIf"],[3,"id","value","valueChange"],[3,"boundValue","isRequired","bv2Id","bv2AriaLabelledby","boundValueChange"],[3,"value","options","includeEmptyOption","valueChange"],["name","customInput","tabindex","0",3,"defaultLineCount","type","values","enumChoices","truncate","valuesChange"],[1,"create-issue-recaptcha"],[3,"onUpdate"],["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&&(G(0,"h2",0),R(1,"Create issue"),H(),G(2,"div",1)(3,"div",2)(4,"button",3),M("click",function(){return b.back()}),I(5,"mat-icon",4),H(),G(6,"h2"),R(7,"Create Issue"),H(),Q(8,cqb,1,2,"b-hotlist-picker",5),H()(),G(9,"div",6)(10,"div")(11,"div",7)(12,"form",8),Q(13,hqb,6,8,"div",9),Q(14,qqb,4,3,"div",10),Q(15,sqb,2,1,"div",11),G(16,"div",12)(17,"div",13)(18,"div",14)(19,"label",15),R(20,"Component"),H()(),G(21,"div",16)(22,"b-team-component-picker",
17),M("selectedComponentChange",function(d){return b.selectComponent(null!==d&&void 0!==d?d:null)})("touched",function(){return b.componentPickerTouched=!0}),H()()(),Q(23,vqb,11,5,"div",18),H(),Q(24,wqb,3,0,"div",19),Q(25,irb,38,28,"div",20),H()(),G(26,"div",21)(27,"b-magic-box",22),M("headerChange",function(d){return b.magicBoxHeader=d}),H()()()(),Q(28,jrb,11,2,"ng-template",null,23,Zf));if(a&2){var c;z(8);F("ngIf",b.canEditIssuesInComponent);z(4);F("ngClass",Jf(15,Sjd,b.submitRequested));z(1);F("ngIf",
eqb(b)||fqb(b));z(1);F("ngIf",b.submitRequested&&!b.isValid());z(1);F("ngIf",0<b.selectedHotlists.length);z(7);F("selectedComponent",b.selectedComponent)("shouldFocus",!b.componentRequestedInUrl&&!b.templateIssueRequestedInUrl)("isRequired",!0);z(1);F("ngIf",0<b.availablePredefinedTemplates.length||null!=b.availableExistingIssueTemplate);z(1);F("ngIf",!b.isLoadingComponent&&(null!=b.componentRequestedInUrl||null!=b.selectedComponent)&&!b.canCreateNewIssuesInComponent&&!b.createAclLoading&&b.selectedComponent);
z(1);F("ngIf",b.canCreateNewIssuesInComponent||b.createAclLoading||!b.selectedComponent);z(2);F("componentId",null!==(c=b.issue.componentId)&&void 0!==c?c:void 0)("issueTitle",b.issue.title)("issue",b.issue)("customFieldMap",b.customFieldMap)}},dependencies:[PO,x_,RN,sR,NY,W5,fA,CT,Mw,og,Fw,Gw,Ww,Yw,Lw,Jw,OS,F_,AM,V_,HZ,q7,Jz,Xz,Yz,Zz,$z,u7,v7,w7,Jy,DB,BB,CB,xS,LB,r7,LT,cw,dw,ew,uA,xR,W_,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 nrb={hotlistId:[],comment:"",severity:"S2",inProd:!1,customField:[]},ckd=function(a,b,c,d){this.id=a;this.type=b;this.name=c;this.isDefault=d};var mkd=["form"],A7=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=A7.prototype;f.ngAfterViewInit=function(){};
f.save=function(){var a=this;if(!this.validate())return Promise.reject("Correct the errors in the form");DF(this.butterBar,"Saving SLO...",0);this.isSaving=!0;return this.sloApi.create(this.sloUnderEdit).then(function(b){DF(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(){R1(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};A7.\u0275fac=function(a){return new (a||A7)(C(uG),C(lS),C(GF),C(vG),C(gH),C(CF),C(TU),C(Q1))};
A7.\u0275cmp=Gc({type:A7,selectors:[["create-slo-page"]],viewQuery:function(a,b){a&1&&Uf(mkd,5);if(a&2){var c;Tf(c=Wf())&&(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&&(G(0,"div",0)(1,"div",
1)(2,"b-button",2),M("onAction",function(){return b.back()}),I(3,"b-icon",3),H()()(),G(4,"div",4)(5,"h2",5)(6,"span",6),R(7,"Create a new SLO"),H()(),G(8,"div",7)(9,"form",8,9),I(11,"b-error-banner",10),G(12,"div",11)(13,"label",12),R(14,"Name"),H(),G(15,"input",13),M("ngModelChange",function(c){return b.sloUnderEdit.name=c}),H()(),G(16,"div",11)(17,"label",14),R(18,"Description"),H(),G(19,"textarea",15),M("ngModelChange",function(c){return b.sloUnderEdit.description=c}),R(20,"        "),H()(),G(21,
"div",11)(22,"slo-elements-picker",16),M("onCollectionUpdate",function(c){return b.updateCollection(c)})("onValidation",function(c){return b.elementPickerIsValid=c}),H()(),G(23,"p",17),R(24," Access controls may be defined once the slo is created. "),H(),G(25,"div",18)(26,"b-button",19),M("onAction",function(){return b.save()}),R(27," Save "),H(),G(28,"b-button",20),M("onAction",function(){return b.revertChanges()}),R(29," Revert changes "),H()()()()());a&2&&(z(9),qf("show-errors",b.error),z(2),F("error",
b.error),z(1),qf("bv2-edit-resource-readonly",b.isSaving),z(3),F("required",!0)("bFocus",!0)("ngModel",b.sloUnderEdit.name)("disabled",b.isSaving),z(1),qf("bv2-edit-resource-readonly",b.isSaving),z(3),F("ngModel",b.sloUnderEdit.description)("disabled",b.isSaving),z(3),F("isDisabled",!1)("collection",b.sloUnderEdit.elements),z(4),F("disabled",b.isSaving||(null==b.createSloForm?null:b.createSloForm.pending)||(null==b.createSloForm?null:b.createSloForm.invalid)||!b.elementPickerIsValid),z(2),F("disabled",
!(""!==b.sloUnderEdit.name||""!==b.sloUnderEdit.description||0<b.sloUnderEdit.elements.length)))},dependencies:[PO,F0,CT,Mw,og,Fw,Gw,Ww,Lw,Jw,AM,F1],encapsulation:2});var B7=function(){this.nextPanelId=1};B7.\u0275fac=function(a){return new (a||B7)};B7.\u0275prov=qc({token:B7,factory:B7.\u0275fac,providedIn:"root"});var C7=function(a,b,c,d,e,g,h,l,q,x,A,B,K,N,P,Y,X,ka,ma,za,Ba){WD.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=x;this.pageTitle=A;this.dashboards=B;this.routeParams=K;this.appSearchState=P;this.userAccess=Y;this.errorHandler=X;this.statusMessages=ka;this.appEvents=ma;this.hotlistFridge=za;this.issueFridge=Ba;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=K.groupId||null};U(C7,WD);C7.\u0275dir=WD.\u0275dir;
C7.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){nkd(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){okd(a,
b,function(c){return c+1})}));this.subscriptions.add(this.appEvents.dashboardPanels.moveUp.subscribe(function(b){okd(a,b,function(c){return c-1})}));this.subscriptions.add(this.appEvents.dashboardPanels.moveToTop.subscribe(function(b){okd(a,b,function(){return 0})}));this.subscriptions.add(this.appEvents.dashboardPanels.moveToBottom.subscribe(function(b){okd(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 vrb=function(a,b){var c=b.selectedIssues;if(a=pkd(a,b.panelId))a.selectedIssues=null!=c?c:[]},urb=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)},pkd=function(a,b){return a.panels.find(function(c){return c.panelId===b})},qkd=function(a,b){a=a.panels.findIndex(function(c){return c.panelId===b});return-1!==a?a:void 0};f=C7.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];Mh(d,c)||(d&&ra(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");DF(this.butterBar,"Creating hotlist "+c+"...",0);this.hotlistApi.createHotlist(c).then(function(e){b.hotlistFridge.announce(e);DF(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;DF(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;yaa(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$2386:a.$jscomp$loop$prop$issueRows$2386},d=c.next())e=k(d.value),d=e.next().value,e=e.next().value,a.$jscomp$loop$prop$issueRows$2386=e,this.hotlistApi.get(d).then(function(h){return function(l){b.hotlistFridge.announce(l);
for(var q=k(h.$jscomp$loop$prop$issueRows$2386),x=q.next();!x.done;x=q.next())x.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();DF(this.butterBar,"Marking "+a[0].issueIds.length+" issues  "+(d?"read":"unread")+"...",0);return nH(this.issueFridge,a[0].issueIds,{markRead:d}).then(function(l){DF(c.butterBar,
"Issues marked "+(d?"read":"unread")+".");for(var q=k(c.panels),x=q.next();!x.done;x=q.next()){x=k(x.value.selectedIssues);for(var A=x.next();!A.done;A=x.next()){var B=void 0;A.value.lastViewedTime=null!=(B=l)?B:null}}}).catch(function(l){for(var q=k(c.panels),x=q.next();!x.done;x=q.next()){x=k(x.value.selectedIssues);for(var A=x.next();!A.done;A=x.next())A=A.value,A.isRead=!!A.lastViewedTime&&A.lastViewedTime>=A.majorModifiedTime}c.errorHandler.errorHandler(null,l)}).finally(function(){c.cdr.detectChanges()})}e=
Sza(a).map(function(l){return l.fieldName});this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"bulkEdit",e.join(","));var h={bulkEditOps:a};DF(this.butterBar,"Saving changes...",0);return this.issueApi.issueBulkEdit(h,b).then(function(l){for(var q=k([].concat(Vc(c.searchPanels),Vc(c.hotlistPanels))),x=q.next();!x.done;x=q.next()){x=x.value;var A=l;if(x.searchResults){x.searchResults=x.searchResults.clone();for(var B=0,K=k(x.searchResults.issues),N=K.next();!N.done;N=K.next()){N=N.value;if(A.affectedIssues[N.issueId]){var P=
A.affectedIssues[N.issueId];P=W_a(P,A.componentMap[Number(oa(P.snapshot).componentId)]);P.selected=N.selected;x.searchResults.issues[B]=P;x.resultsLoaded.emit([x.searchResults.issues[B]])}B++}}}l.errors&&l.errors.length?(q=vqa(l.errors,"issueId"),EF(c.butterBar,"Failed to update issue(s) "+q.join(", ")+"."),c.analytics.trackEvent(c.ANALYTICS_CATEGORY,"bulkEditError",""+l.errors.length)):(l=Cic(c.statusMessages,h))?DF(c.butterBar,l):DF(c.butterBar,"Saved "+Tza(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){qF(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 nkd=function(a,b){a.panels=(b.item||[]).map(function(c,d){return rkd(a,c,0===d?0:void 0)})};
C7.prototype.removePanel=function(a){var b=this,c=pkd(this,a);if(null!=c){DF(this.butterBar,"Saving changes...",0);a=Nh(this.bookmarkGroup);var d;a.item=(null!=(d=a.item)?d:[]).filter(function(e){return!skd(b,c,e)});tkd(this,a)}};
var okd=function(a,b,c){b=qkd(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=Nh(a.bookmarkGroup);var e,g,h=null==(e=a.bookmarkGroup)?void 0:null==(g=e.item)?void 0:g.findIndex(function(l){return skd(a,d,l)});void 0!==h&&(Iaa(b.item,h,c),tkd(a,b))}}},tkd=function(a,b){a.bookmarkGroupsApi.update(b).then(function(c){a.bookmarkGroup=c;ukd(a,a.bookmarkGroup.item);DF(a.butterBar,"Bookmark group saved.",4E3);a.appEvents.bookmarkGroupModified.next({bookmarkGroupId:a.bookmarkGroup.bookmarkGroupId});
a.cdr.detectChanges()},function(c){a.errorHandler.errorHandler(null,c)})},skd=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}},vkd=function(a,b){return a.panels.find(function(c){return skd(a,c,b)})},rkd=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:[]}},ukd=function(a,b){a.panels=(null!=b?b:[]).map(function(c){var d;return null!=(d=vkd(a,c))?d:rkd(a,c)})};
C7.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)})};
C7.prototype.editBookmarkGroup=function(){this.bLocation.url(this.paths.editBookmarkGroup(this.bookmarkGroup.bookmarkGroupId))};C7.\u0275fac=function(a){return new (a||C7)(C(cH),C(vG),C(uG),C(FF),C(gH),C(kE),C(OG),C(GX),C(GG),C(CF),C(TU),C(B7),C(RI),C(gs),C($X),C(pF),C(GF),C(EI),C(KF),C(SG),C(lH))};
C7.\u0275cmp=Gc({type:C7,selectors:[["dashboard-page"]],viewQuery:function(a,b){a&1&&(Uf(i1,5),Uf(g1,5));if(a&2){var c;Tf(c=Wf())&&(b.searchPanels=c);Tf(c=Wf())&&(b.hotlistPanels=c)}},features:[Gf([cH]),bf],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&&(G(0,"h2",0),R(1,"Dashboard"),H(),G(2,"div",1)(3,"div",2),R(4,"Bookmark groups dashboard"),H(),G(5,"b-dashboard-controls",3),M("onSave",function(c){return b.sendBulkEditRequest(c.bulkEditOps,c.recaptchaToken)})("onCreateHotlist",function(c){return b.createHotlist(c)})("onLoadHotlist",function(c){return b.loadHotlist(c)}),H()(),G(6,"div",4),Q(7,trb,8,3,"div",5),Q(8,yrb,3,3,"div",6),H());a&2&&(z(5),F("hotlistChoices",b.hotlistChoices)("panels",b.panels),z(1),F("bFocus",!0),
z(1),F("ngIf",b.bookmarkGroup),z(1),F("ngForOf",b.panels))},dependencies:[T_,RS,i1,g1,dw,ew,fw,gw,CT,LB],encapsulation:2});var D7=function(){};D7.\u0275fac=function(a){return new (a||D7)};D7.\u0275mod=Ic({type:D7});D7.\u0275inj=rc({imports:[U_,ZS,j1,h1,tF,DT,JC]});var wkd=["editBookmarkGroupItemsContainer"],xkd=["bookmarkGroupName"],Yrb=function(a){return{"bv2-edit-resource-readonly":a}},$rb=function(a){return{displayText:"Admins",values:a}},Zrb=function(a){return[a]},E7=function(a,b,c,d,e,g,h,l,q,x,A,B,K,N,P,Y,X,ka,ma,za){WD.call(this);var Ba=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=x;this.accessPolicyConverter=A;this.userAccess=
B;this.errorHandler=N;this.appEvents=Y;this.snackBar=X;this.confirmationDialog=ka;this.cdr=ma;this.documentationLinks=za;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=P.getUserEmail();this.accessPolicyUnderEdit=uQ();this.flattenedAccessPolicy=uQ();a=this.loadBookmarkGroup(this.routeParams.groupId);
b=this.loadUserAccess(this.routeParams.groupId);this.loadAccessPolicy(this.routeParams.groupId);ykd(this);zkd(this);Promise.all([a,b]).then(function(){var Ma;null==(Ma=Ba.bookmarkGroupNameInput)||Ma.nativeElement.focus()});this.subscriptions.add(SO(K,function(){return Ba.hasUnsavedChanges()},!1));K=function(){ykd(Ba)};this.subscriptions.add(this.appEvents.hotlistCreated.subscribe(K));this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(K));this.subscriptions.add(this.appEvents.savedSearchModified.subscribe(function(){zkd(Ba)}))};
U(E7,WD);E7.\u0275dir=WD.\u0275dir;f=E7.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(){R1(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!Mh(this.bookmarkGroup,this.bookmarkGroupUnderEdit)};f.hasUnsavedAccessPolicyChanges=function(){return!Mh(this.flattenedAccessPolicy,this.accessPolicyUnderEdit)};f.isEditDisabled=function(){return this.isSaving()||!this.isAdmin};
f.revertMetadataChanges=function(){this.bookmarkGroupUnderEdit=Nh(this.bookmarkGroup);this.error="";this.selectedHotlistIds=[Akd(this.bookmarkGroup.item.filter(function(a){return a.hasOwnProperty("hotlistId")}))];Bkd(this)};f.revertAccessPolicyChanges=function(){this.accessPolicyUnderEdit=Nh(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",fn("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",fn("Do you want to archive this bookmark group?"),function(){Ckd(a,"archive")})};f.unarchive=function(){var a=this;this.openConfirmationDialog("Unarchive bookmark group",fn("Do you want to unarchive this bookmark group?"),function(){Ckd(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});Dkd(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=wQ(this.accessPolicyUnderEdit)}catch(c){b="An unknown problem occurred";c instanceof Error&&(b=c.message);EF(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=vQ(c);a.accessPolicyUnderEdit=Nh(a.flattenedAccessPolicy);
a.loadUserAccess(a.bookmarkGroup.bookmarkGroupId)},function(c){a.errorHandler.errorHandler(null,c)}).finally(function(){a.isUpdating=!1})};
var Ckd=function(a,b){var c=Nh(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});Dkd(a,d)}).catch(function(d){a.errorHandler.errorHandler(null,d)}).finally(function(){a.isArchiving=!1})};
E7.prototype.loadBookmarkGroup=function(a){var b=this;this.isLoading=!0;return this.bookmarkGroupsApi.get(a).then(function(c){Dkd(b,c);b.selectedHotlistIds=[Akd(b.bookmarkGroup.item)];Bkd(b);b.pageTitle.setTitle("Bookmark group: "+c.name);b.cdr.detectChanges()},function(c){b.errorHandler.errorHandler(null,c)}).finally(function(){b.isLoading=!1})};var Dkd=function(a,b){a.bookmarkGroup=b;a.bookmarkGroup.item||(a.bookmarkGroup.item=[]);a.bookmarkGroupUnderEdit=Nh(a.bookmarkGroup)};
E7.prototype.loadAccessPolicy=function(a){var b=this;this.accessPolicyApi.get("BOOKMARK_GROUP",a).then(function(c){b.flattenedAccessPolicy=vQ(c);b.accessPolicyUnderEdit=Nh(b.flattenedAccessPolicy);b.cdr.detectChanges()}).catch(function(c){b.errorHandler.errorHandler(null,c)})};E7.prototype.loadUserAccess=function(a){var b=this;return qF(this.userAccess,"admin","bookmarkGroups/"+a).then(function(c){b.isAdmin=c;b.cdr.detectChanges()}).catch(function(c){b.errorHandler.errorHandler(null,c)})};
var ykd=function(a){a.userApi.getUserHotlists().then(function(b){a.userHotlists=b;a.cdr.detectChanges()})},zkd=function(a){a.userSavedSearches=null;a.userApi.getUserSavedSearches().then(function(b){a.userSavedSearches=b;Bkd(a);a.cdr.detectChanges()})},Bkd=function(a){if(a.userSavedSearches&&null!=a.bookmarkGroupUnderEdit){var b=Ekd(a.bookmarkGroupUnderEdit.item.filter(function(c){return c.hasOwnProperty("savedSearchId")}));a.savedSearchChoices=a.userSavedSearches.filter(function(c){return-1==b.indexOf(c.searchId)})}},
Crb=function(a,b){var c=Number(b);sa(a.bookmarkGroupUnderEdit.item,function(e){return e.hotlistId===c});Fkd(a,c);var d;null==(d=a.editBookmarkGroupItemsContainer)||d.nativeElement.focus()},Erb=function(a,b){sa(a.bookmarkGroupUnderEdit.item,function(d){return d.savedSearchId===b});Bkd(a);var c;null==(c=a.editBookmarkGroupItemsContainer)||c.nativeElement.focus()},Rrb=function(a,b){switch(b.resourceType){case "SAVED_SEARCH":return a.paths.viewSavedSearch(b.savedSearchId);case "HOTLIST":return a.paths.viewHotlist(b.hotlistId);
default:rh(b.resourceType)}},Mrb=function(a,b){for(var c={},d=k(Object.entries(b.newSelectionMap)),e=d.next();!e.done;c={$jscomp$loop$prop$id$2389:c.$jscomp$loop$prop$id$2389},e=d.next()){var g=k(e.value);e=g.next().value;g=g.next().value;c.$jscomp$loop$prop$id$2389=Rh(e);g&&!b.oldSelectionMap[c.$jscomp$loop$prop$id$2389]?(Prb(a,c.$jscomp$loop$prop$id$2389),e=a.userHotlists.find(function(h){return function(l){return l.hotlistId===h.$jscomp$loop$prop$id$2389}}(c)),a.bookmarkGroupUnderEdit.item.push({hotlistId:e.hotlistId,
name:e.name,resourceType:"HOTLIST"})):b.oldSelectionMap[c.$jscomp$loop$prop$id$2389]&&!g&&(Fkd(a,c.$jscomp$loop$prop$id$2389),sa(a.bookmarkGroupUnderEdit.item,function(h){return function(l){return l.hotlistId===h.$jscomp$loop$prop$id$2389}}(c)))}},Prb=function(a,b){a.selectedHotlistIds[0].push(b);a.selectedHotlistIds=[a.selectedHotlistIds[0]]},Fkd=function(a,b){ra(a.selectedHotlistIds[0],b);a.selectedHotlistIds=[a.selectedHotlistIds[0]]},Irb=function(a,b){-1===Ekd(a.bookmarkGroupUnderEdit.item).indexOf(b.searchId)&&
a.bookmarkGroupUnderEdit.item.push({name:b.name,resourceType:"SAVED_SEARCH",savedSearchId:b.searchId});setTimeout(function(){Bkd(a)})},Ekd=function(a){return a?vqa(a,"savedSearchId"):[]},Akd=function(a){return a?vqa(a,"hotlistId"):[]},Nrb=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)},
Orb=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)};E7.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:rh(a.resourceType)}};
E7.prototype.openConfirmationDialog=function(a,b,c){this.confirmationDialog.open({title:a,content:b,onConfirm:function(){c()}})};E7.\u0275fac=function(a){return new (a||E7)(C(RI),C(uG),C(CF),C(VF),C(OG),C(GX),C(GG),C(vG),C(Q1),C(TU),C(tQ),C(pF),C(RO),C(GF),C(gs),C(KF),C(AF),C(oI),C(cH,2),C(nI))};
E7.\u0275cmp=Gc({type:E7,selectors:[["b-edit-bookmark-group"]],viewQuery:function(a,b){a&1&&(Uf(wkd,5),Uf(xkd,5),Uf(mM,5,vd));if(a&2){var c;Tf(c=Wf())&&(b.editBookmarkGroupItemsContainer=c.first);Tf(c=Wf())&&(b.bookmarkGroupNameInput=c.first);Tf(c=Wf())&&(b.tabs=c)}},features:[Gf([cH]),bf],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&&(G(0,"div",0)(1,"div",1)(2,"div",2)(3,"button",3),M("click",function(){return b.back()}),I(4,"mat-icon",
4),H(),Q(5,zrb,2,1,"button",5),Q(6,Arb,2,1,"button",5),H()()(),G(7,"div",6),Q(8,asb,48,40,"ng-container",7),H());a&2&&(z(5),F("ngIf",b.isAdmin&&!b.isArchived()),z(1),F("ngIf",b.isAdmin&&b.isArchived()),z(2),F("ngIf",!b.isLoading&&b.bookmarkGroup.bookmarkGroupId))},dependencies:[cw,dw,ew,uA,LB,Jz,nM,mM,F0,PS,F_,PX,og,Fw,Ww,Lw,DB,BB,CB,AB,x0],styles:[".edit-resource-panel[_ngcontent-%COMP%]   .edit-bookmark-group-items-container[_ngcontent-%COMP%]{border:1px solid;border-color:#dadce0;border-color:var(--divider);min-height:20px;padding:4px 6px;width:600px}.edit-resource-panel[_ngcontent-%COMP%]   .edit-bookmark-group-items-container[_ngcontent-%COMP%]   span.edit-bookmark-group-none-select[_ngcontent-%COMP%]{line-height:20px}.edit-resource-panel[_ngcontent-%COMP%]   .edit-bookmark-group-edit-items-pane[_ngcontent-%COMP%]{background-color:#f8f9fa;background-color:var(--button-bg);margin-top:-10px;width:600px}.edit-resource-panel[_ngcontent-%COMP%]   .edit-bookmark-group-edit-items-pane[_ngcontent-%COMP%]   .edit-bookmark-group-hotlist-picker[_ngcontent-%COMP%], .edit-resource-panel[_ngcontent-%COMP%]   .edit-bookmark-group-edit-items-pane[_ngcontent-%COMP%]   .edit-bookmark-group-hotlist-search[_ngcontent-%COMP%], .edit-resource-panel[_ngcontent-%COMP%]   .edit-bookmark-group-edit-items-pane[_ngcontent-%COMP%]   .edit-bookmark-group-saved-search-picker[_ngcontent-%COMP%]{padding:10px;display:block}.edit-resource-panel[_ngcontent-%COMP%]   .edit-bookmark-group-view-items[_ngcontent-%COMP%]{border:1px solid;border-color:#dadce0;border-color:var(--divider);color:#5f6368;color:var(--text-muted);min-height:20px;padding:4px 6px 4px 8px;width:586px}.edit-resource-panel[_ngcontent-%COMP%]   .edit-bookmark-group-view-items[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{padding-left:0}.edit-resource-panel[_ngcontent-%COMP%]   .edit-bookmark-group-view-items[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{padding:2px}.edit-bookmark-group-edit-items-pane[_ngcontent-%COMP%], .edit-bookmark-group-items-container[_ngcontent-%COMP%]{box-sizing:border-box}.edit-button-row[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-right:8px}/*# sourceMappingURL=edit_bookmark_group.css.map */"]});var Gkd=["savedSearchNameInput"],fsb=function(a){return{"bv2-edit-resource-readonly":a}},hsb=function(a){return{displayText:"Admins",values:a}},gsb=function(a){return[a]},F7=function(a,b,c,d,e,g,h,l,q,x,A,B,K,N,P,Y,X,ka){WD.call(this);var ma=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=x;this.userAccess=B;this.errorHandler=K;this.snackBar=N;this.confirmationDialog=P;this.cdr=
Y;this.accessPolicyConverter=X;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=uQ();this.flattenedAccessPolicy=uQ();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 za;null==(za=ma.savedSearchName)||za.nativeElement.focus()});this.subscriptions.add(SO(A,function(){return ma.hasUnsavedChanges()},!1))};U(F7,WD);F7.\u0275dir=WD.\u0275dir;f=F7.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=Nh(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=vQ(c);b.accessPolicyUnderEdit=Nh(b.flattenedAccessPolicy);b.cdr.detectChanges()}).catch(function(c){b.errorHandler.errorHandler(null,c)})};f.loadUserAccess=function(a){var b=this;return qF(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(){R1(this.appHistory)};f.revertMetadataChanges=function(){this.savedSearchUnderEdit=Nh(this.savedSearch);this.error=""};f.revertAccessPolicyChanges=function(){this.accessPolicyUnderEdit=Nh(this.flattenedAccessPolicy);this.appEvents.contactChipsRevertChanges.next()};f.hasUnsavedMetadataChanges=function(){return!Mh(this.savedSearch,this.savedSearchUnderEdit)};
f.hasUnsavedAccessPolicyChanges=function(){return!Mh(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=Nh(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",fn("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=wQ(this.accessPolicyUnderEdit)}catch(c){b="An unknown problem occurred";c instanceof Error&&(b=c.message);EF(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=vQ(c);a.accessPolicyUnderEdit=Nh(a.flattenedAccessPolicy);
a.loadUserAccess(String(a.savedSearch.searchId));a.appEvents.savedSearchModified.next({savedSearchId:a.savedSearch.searchId})},function(c){a.errorHandler.errorHandler(null,c);EF(a.butterBar,Rl(c),0)}).finally(function(){a.isUpdating=!1})};f.delete=function(){var a=this;this.openConfirmationDialog("Delete saved search",fn("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"});Oec(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()}})};F7.\u0275fac=function(a){return new (a||F7)(C(RI),C(uG),C(VF),C(BS),C(vG),C(Q1),C(CF),C(TU),C(gs),C(nI),C(RO),C(pF),C(GF),C(AF),C(oI),C(cH,2),C(tQ),C(KF))};
F7.\u0275cmp=Gc({type:F7,selectors:[["b-edit-saved-search"]],viewQuery:function(a,b){a&1&&(Uf(Gkd,5),Uf(mM,5,vd));if(a&2){var c;Tf(c=Wf())&&(b.savedSearchName=c.first);Tf(c=Wf())&&(b.tabs=c)}},features:[Gf([cH]),bf],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&&(G(0,"div",0)(1,"div",1)(2,"div",2)(3,"button",3),M("click",function(){return b.back()}),I(4,"mat-icon",4),H(),Q(5,bsb,2,1,"button",5),H()()(),G(6,"div",6),Q(7,csb,
4,0,"ng-container",7),Q(8,isb,51,38,"ng-container",7),H());a&2&&(z(5),F("ngIf",b.isAdmin),z(2),F("ngIf",!b.isLoading&&!b.savedSearch),z(1),F("ngIf",!b.isLoading&&b.savedSearch))},dependencies:[cw,ew,uA,LB,Jz,nM,mM,F0,og,Fw,Ww,Lw,x0],encapsulation:2});var Hkd=function(a){r.call(this,a)};U(Hkd,r);f=Hkd.prototype;f.getAuthor=function(){return Z(this,gi,1)};f.setAuthor=function(a){Yi(this,gi,1,a)};f.getTimestamp=function(){return Z(this,Ch,2)};f.setTimestamp=function(a){return Yi(this,Ch,2,a)};f.hasTimestamp=function(){return Dj(this,Ch,2)};f.getAdd=function(){return Z(this,cj,3)};f.getRemove=function(){return Z(this,cj,4)};f.getAddMask=function(){return Z(this,DC,5)};f.getRemoveMask=function(){return Z(this,DC,6)};f.toObject=function(){return Ikd(this)};
var Ikd=function(a){if(null!=a)return t(a),{author:WC(a.getAuthor()),timestamp:yt(a.getTimestamp()),add:q$b(a.getAdd()),remove:q$b(a.getRemove()),addMask:EC(a.getAddMask()),removeMask:EC(a.getRemoveMask())}};var G7=function(a){r.call(this,a,0,G7.messageId)};U(G7,r);G7.prototype.getUpdatesList=function(){return aj(this,Hkd,1)};G7.repeatedFields_=[1];G7.prototype.toObject=function(){if(null!=this){t(this);var a={updatesList:Kb(this.getUpdatesList(),Ikd)}}else a=void 0;return a};G7.messageId="b.SloHistory";var H7=function(a,b){this.executor=b;this.sloHistories=a.get("slo_histories-second-level-cache")||a.create("slo_histories-second-level-cache",{capacity:25})};H7.prototype.get=function(a){var b=this.sloHistories.get(String(a));return void 0!==b?b:this.sloHistories.put(String(a),Jkd(this,a))};var Jkd=function(a,b){return a.executor.get({url:"action/slo_updates/"+b,responseConstructor:G7}).then(function(c){var d;return{updates:(null!=(d=c.getUpdatesList())?d:[]).map(Xra)}})};
H7.prototype.getUncached=function(a){this.invalidateCache(a);return this.get(a)};H7.prototype.invalidateCache=function(a){this.sloHistories.remove(String(a))};H7.\u0275fac=function(a){return new (a||H7)(u(EG),u(MC))};H7.\u0275prov=qc({token:H7,factory:H7.\u0275fac,providedIn:"root"});var I7=function(a,b,c,d,e,g,h,l,q,x,A,B,K,N,P,Y,X,ka,ma,za){WD.call(this);var Ba=this;this.routeParams=a;this.accessPolicyConverter=b;this.bLocation=c;this.appHistory=e;this.butterBar=g;this.pageTitle=h;this.documentationLinks=q;this.userAccess=A;this.accessPolicyApi=B;this.sloApi=K;this.sloUpdatesApi=N;this.sloUpdatesService=P;this.errorHandler=Y;this.matDialogService=X;this.analytics=ka;this.confirmationDialogService=ma;this.appEvents=za;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(Ba.validity).some(function(Ma){return!Ma})};this.editableAccessPolicy=uQ();this.flattenedAccessPolicy=uQ();this.subscriptions.add(SO(x,function(){return Ba.hasUnsavedChanges()},!1));a=this.routeParams.sloId;this.resourceName=Tl("SLO",Rh(a));if(this.sloEnabled=l.isInternalSession())this.pageTitle.setTitle("SLO Overview"),Kkd(this,a),
this.loadUserAccess(a),this.loadAccessPolicy(a),Lkd(this,a);this.alertState={getValue:function(){return Ba.editableCopy?"ON"===Ba.editableCopy.alertState:!1},getSavedValue:function(){return Ba.slo?"ON"===Ba.slo.alertState:!1},setValue:function(Ma){Ba.editableCopy&&(Ba.editableCopy.alertState=Ma?"ON":"OFF")}};this.currentUserEmail=l.getUserEmail()};U(I7,WD);I7.\u0275dir=WD.\u0275dir;
I7.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)};I7.prototype.ngOnInit=function(){"access"===this.bLocation.hash()&&(this.selectedTabIndex=1)};I7.prototype.updateCollection=function(a){this.editableCopy&&(this.editableCopy.elements=a)};
var Kkd=function(a,b){a.isLoading=!0;a.sloApi.get(b).then(function(c){a.slo=c;a.slo.elements||(a.slo.elements=[]);a.editableCopy=Nh(a.slo);a.pageTitle.setTitle("SLO: "+c.name)}).catch(function(c){a.errorHandler.errorHandler(null,c)}).finally(function(){a.isLoading=!1})};
I7.prototype.loadAccessPolicy=function(a){var b=this;this.accessPolicyApi.get("SLO",Number(a)).then(function(c){b.flattenedAccessPolicy=vQ(c);b.editableAccessPolicy=Nh(b.flattenedAccessPolicy)}).catch(function(c){b.errorHandler.errorHandler(null,c)})};var Mkd=function(a,b){return a.sloUpdatesApi.get(b).then(function(c){a.historyDiffs=c.updates.map(function(d){return v1c(a.sloUpdatesService,d)})}).catch(function(c){a.errorHandler.errorHandler(null,c)})};f=I7.prototype;
f.loadUserAccess=function(a){var b=this;qF(this.userAccess,"admin",Tl("SLO",Rh(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!Mh(this.slo,this.editableCopy)};f.hasUnsavedAccessPolicyChanges=function(){return!Mh(this.flattenedAccessPolicy,this.editableAccessPolicy)};
f.saveMetadata=function(){var a=this;Nkd(this.slo.elements,this.editableCopy.elements)?this.save():this.confirmationDialogService.open({title:"Save SLO changes?",content:jn(fn("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."),hn("br"),hn("br"),fn("Please combine changes into as few updates as possible.")),onConfirm:function(){a.save()},onDismiss:Tu})};
var msb=function(a,b){if(!a.hasUnsavedMetadataChanges()){var c=function(){a.editableCopy.isArchived=b;a.save()};b?a.confirmationDialogService.open({title:"Archive SLO?",content:fn("Archiving this SLO will prevent new usages of the SLO, and will hide the SLO from most searches."),onConfirm:c,onDismiss:Tu}):c()}},Nkd=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};
I7.prototype.save=function(){var a=this,b=this.editableCopy;DF(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.';Nkd(a.slo.elements,a.editableCopy.elements)||(d+=" Propagating this change may take several hours.");DF(a.butterBar,d);a.slo=c;a.slo.elements||(a.slo.elements=[]);a.editableCopy=Nh(c);a.sloUpdatesApi.invalidateCache(a.slo.sloId);a.analytics.trackEvent(Jn.EDIT_SLO,"update")}).catch(function(c){a.errorHandler.errorHandler(null,
c)}).finally(function(){a.isUpdating=!1})};I7.prototype.saveAccessPolicy=function(){var a=this;this.isRevokingAdmin()?this.confirmationDialogService.open({title:"Change SLO admins",content:fn("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:Tu}):this.doSaveAccessPolicy()};
I7.prototype.doSaveAccessPolicy=function(){var a=this;try{var b=wQ(this.editableAccessPolicy)}catch(c){b="An unknown problem occurred";c instanceof Error&&(b=c.message);EF(this.butterBar,b);return}this.isUpdating=!0;DF(this.butterBar,"Saving access settings...");this.accessPolicyApi.update("SLO",this.slo.sloId,b).then(function(c){DF(a.butterBar,"Access settings saved.");a.flattenedAccessPolicy=vQ(c);a.editableAccessPolicy=Nh(a.flattenedAccessPolicy);a.loadUserAccess(a.slo.sloId);a.analytics.trackEvent(Jn.EDIT_SLO,
"updateAccessPolicy")},function(c){EF(a.butterBar,Rl(c),0)}).finally(function(){a.isUpdating=!1})};I7.prototype.isRevokingAdmin=function(){return this.isRevokingDirectAdmin()};var Lkd=function(a,b){Mkd(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"===ei(c.author)&&(a.isImportedFromBugScope=!0);d.author&&"buganizer-system@google.com"===ei(d.author)&&(a.isUneditedFromBugScope=!0)}})};
f=I7.prototype;f.isRevokingDirectAdmin=function(){if(Mh(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;Nkd(this.slo.elements,this.editableCopy.elements)?this.editableCopy=Nh(this.slo):this.confirmationDialogService.open({title:"Revert SLO changes?",content:jn(fn("Revert all changes to this SLO?")),onConfirm:function(){a.editableCopy=Nh(a.slo)},onDismiss:Tu})};f.revertAccessPolicyChanges=function(){this.editableAccessPolicy=Nh(this.flattenedAccessPolicy);this.appEvents.contactChipsRevertChanges.next()};f.isSaving=function(){return this.isUpdating};
f.back=function(){R1(this.appHistory)};f.isEditDisabled=function(){return!this.editableCopy||this.isSaving()||!this.isAdmin()};f.isAdmin=function(){return this.isAdminInternal};f.showUpdateHistoryModal=function(){var a=this;Mkd(this,this.slo.sloId).then(function(){a.matDialogService.open(q6,{width:"600px",data:{updateDiffs:a.historyDiffs}});a.analytics.trackEvent(Jn.UPDATE_HISTORY_MODAL,"open");a.analytics.trackEvent(Jn.EDIT_SLO,"viewHistory")})};
I7.\u0275fac=function(a){return new (a||I7)(C(RI),C(tQ),C(uG),C(vG),C(Q1),C(CF),C(TU),C(gs),C(nI),C(RO),C(pF),C(VF),C(lS),C(H7),C(M1),C(GF),C(Wz),C(gH),C(oI),C(KF))};
I7.\u0275cmp=Gc({type:I7,selectors:[["edit-slo-page"]],viewQuery:function(a,b){a&1&&Uf(mM,5,vd);if(a&2){var c;Tf(c=Wf())&&(b.tabs=c)}},features:[bf],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&&(G(0,"div",0)(1,"div",1)(2,"b-button",2),M("onAction",function(){return b.back()}),I(3,"b-icon",3),H()()(),G(4,"div",4),Q(5,jsb,2,0,"div",5),Q(6,rsb,55,31,"div",6),H());a&2&&(z(5),F("ngIf",b.isLoading),z(1),F("ngIf",!b.isLoading&&b.slo&&b.slo.sloId&&b.editableCopy))},dependencies:[PO,ew,Mw,og,Fw,Gw,Ww,Lw,Jw,sM,AM,nM,mM,x0,vN,F1,sL],encapsulation:2});var J7=function(a,b,c,d){WD.call(this);var e=this;this.routeParams=a;this.issues=b;this.issuePicker=c;this.snackBar=d;this.TEA_DARK=$lc;this.TEA_LIGHT=Zlc;this.getStatus=function(g){return g.snapshot[0].status};this.STATUS_FULL_TEXT=IE;this.STATUS_TERSE=EE;this.id$=this.routeParams.issueId$;this.searchUrl$=this.id$.pipe(D(function(g){return{path:"/issues",params:{q:"blockedbyid:"+g}}}));this.issue$=this.id$.pipe(Se(this.issues.watch));this.blockingIds$=this.issue$.pipe(D(function(g){var h;return null!=
(h=null==g?void 0:g.snapshot[0].blockingIssueId)?h:[]}));this.issuesBeingBlocked$=this.blockingIds$.pipe(Se(this.issues.watchSet));this.blockedAndOpen$=this.issuesBeingBlocked$.pipe(D(function(g){return g.filter(yl)}));this.blockedAndOpenIds$=this.blockedAndOpen$.pipe(D(function(g){return g.map(function(h){return String(h.issueId)})}));this.blockedAndClosed$=this.issuesBeingBlocked$.pipe(D(function(g){return g.filter(function(h){return dva(h)})}));this.blockedAndClosedIds$=this.blockedAndClosed$.pipe(D(function(g){return g.map(function(h){return String(h.issueId)})}));
this.thinking$=this.issues.thinking$;this.getMenuItems=function(g){return[{type:"action",label:"Remove this relationship",action:function(){e.onClickRemove(g)},title:"Remove this relationship",icon:"clear"}]};this.didChooseBlocking=function(g){var h=Vm(e.id$);null!=h&&mH(e.issues,"ADD","BLOCKING",h,g).catch(e.gotErr)};this.gotErr=function(g){e.snackBar.open(Rl(g)||"Error with network request","close",{panelClass:"error"})}};U(J7,WD);J7.\u0275dir=WD.\u0275dir;
J7.prototype.convertIssueStatusStrToTag=function(a){return jj[a]};J7.prototype.onClickAdd=function(){this.issuePicker.open({title:"Add Blocking",allowMultipleIds:!0,edgeType:"blocking"},this.didChooseBlocking)};J7.prototype.onClickRemove=function(a){var b=Vm(this.id$);null!=b&&mH(this.issues,"REMOVE","BLOCKING",b,[String(a)]).catch(this.gotErr)};J7.\u0275fac=function(a){return new (a||J7)(C(QI),C(lH),C(GO),C(AF))};
J7.\u0275cmp=Gc({type:J7,selectors:[["ng-component"]],features:[bf],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&&(G(0,"section",0),Q(1,Fsb,4,2,"ng-container",1),S(2,"async"),H(),Q(3,Gsb,2,0,"aside",2),S(4,"async"));a&2&&(z(1),F("ngIf",T(2,2,b.blockingIds$)),z(2),F("ngIf",T(4,4,b.thinking$)))},dependencies:[dw,ew,pG,Jz,Kz,LB,sL,eS,kw],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 K7=function(){};K7.\u0275fac=function(a){return new (a||K7)};K7.\u0275mod=Ic({type:K7});K7.\u0275inj=rc({imports:[tF,Rx,fy,$w,ax,tG,iC,rM,JC,vO,DM,ZN,ZM,gS]});var Okd="focus-indicator title type team id assignee status menu".split(" "),Pkd=[].concat(Vc(Okd)),Qkd="focus-indicator drag-handle title type id assignee status menu".split(" ");var Nr=function(a){r.call(this,a)};U(Nr,r);Nr.prototype.getFilename=function(){return V(this,1)};Nr.prototype.setFilename=function(a){n(this,1,a)};Nr.prototype.getLineNumber=function(a){return Ss(this,2,a)};Nr.repeatedFields_=[2];Nr.prototype.toObject=function(){return Rkd(this)};var Rkd=function(a){if(null!=a)return t(a),{filename:p(m(a,1)),lineNumberList:p(Fh(a,2)),changeNumber:p(m(a,3))}};var Or=function(a){r.call(this,a)};U(Or,r);Or.prototype.getPackageName=function(){return V(this,1)};Or.repeatedFields_=[2];Or.prototype.toObject=function(){return Skd(this)};var Skd=function(a){if(null!=a)return t(a),{packageName:p(m(a,1)),fileMentionSetList:Kb(aj(a,Nr,2),Rkd)}};var L7=function(a){r.call(this,a,0,L7.messageId)};U(L7,r);L7.repeatedFields_=[3];L7.prototype.toObject=function(){if(null!=this){t(this);var a={totalMentions:p(Os(this,1)),truncated:p(ar(this,2)),packageMentionSetList:Kb(aj(this,Or,3),Skd)}}else a=void 0;return a};L7.messageId="b.MentionSearchResult";var M7=function(a){this.executor=a};M7.\u0275fac=function(a){return new (a||M7)(u(MC))};M7.\u0275prov=qc({token:M7,factory:M7.\u0275fac,providedIn:"root"});var N7=function(a,b,c){this.mentionsApi=a;this.refreshMonitor=b;this.analytics=c},Tkd=function(a,b){var c="https://todo.corp.google.com/?issue="+b;a.cachedId===b&&a.cachedEntry||(a.cachedId=b,a.cachedEntry=Tfc(a.refreshMonitor,(0,E.defer)(function(){return a.mentionsApi.executor.get({url:"action/issues/"+b+"/mentions",responseConstructor:L7}).then(Ksb).then(function(d){return{mentions:d,loadingState:"OK",link:c}}).catch(function(){return{loadingState:"ERROR",link:c}})}).pipe(Re({loadingState:"LOADING",
link:c}))).pipe(Pe({refCount:!0,bufferSize:1})));return a.cachedEntry};N7.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)};N7.prototype.trackSqueegeeClick=function(){this.analytics.trackEvent("codeMentions","clickSqueegeeLink")};N7.\u0275fac=function(a){return new (a||N7)(u(M7),u(jH),u(gH))};N7.\u0275prov=qc({token:N7,factory:N7.\u0275fac,providedIn:"root"});var P7=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(Se(this.issueFridge.watch));this.issueEvents$=this.id$.pipe(Se(this.eventsForIssue.watch),D(function(q){var x;return null!=(x=null==q?void 0:q.events)?x:[]}));this.blockerIssueIds$=this.issue$.pipe(D(function(q){var x;return null!=
(x=null==q?void 0:q.snapshot[0].blockedByIssueId)?x:[]}),Fe(Mh));this.blockedIssueIds$=this.issue$.pipe(D(function(q){var x;return null!=(x=null==q?void 0:q.snapshot[0].blockingIssueId)?x:[]}),Fe(Mh));this.parentIds$=this.issue$.pipe(D(function(q){var x;return null!=(x=null==q?void 0:q.parentIssueIds)?x:[]}),Fe(Mh));this.childrenIds$=this.id$.pipe(Se(this.issueRelationshipsFridge.watch),D(function(q){var x;return null!=(x=null==q?void 0:q.relatedChildren.map(function(A){return A.targetIssueId}))?
x:[]}));this.duplicateIssueIds$=this.issue$.pipe(D(function(q){var x;return null!=(x=null==q?void 0:q.snapshot[0].duplicateIssueId)?x:[]}),Fe(Mh));this.blockersDualCount$=(0,E.combineLatest)([this.id$,this.blockerIssueIds$]).pipe(Se(function(q){var x=k(q);q=x.next().value;x=x.next().value;return O7(l,q,x,["BLOCKED_BY"])}),Pe({bufferSize:1,refCount:!0}));this.countBlockersDisplay$=this.blockersDualCount$.pipe(D(Pr),Pe({bufferSize:1,refCount:!0}));this.blockedDualCount$=(0,E.combineLatest)([this.id$,
this.blockedIssueIds$]).pipe(Se(function(q){var x=k(q);q=x.next().value;x=x.next().value;return O7(l,q,x,["BLOCKING"])}),Pe({bufferSize:1,refCount:!0}));this.countBlockedDisplay$=this.blockedDualCount$.pipe(D(Pr),Pe({bufferSize:1,refCount:!0}));this.childrenDualCount$=(0,E.combineLatest)([this.id$,this.childrenIds$]).pipe(Se(function(q){var x=k(q);q=x.next().value;x=x.next().value;return O7(l,q,x,["CHILDREN"])}),Pe({bufferSize:1,refCount:!0}));this.countChildrenDisplay$=this.childrenDualCount$.pipe(D(Pr),
Pe({bufferSize:1,refCount:!0}));this.parentsDualCount$=(0,E.combineLatest)([this.id$,this.parentIds$]).pipe(Se(function(q){var x=k(q);q=x.next().value;x=x.next().value;return O7(l,q,x,["PARENT"])}),Pe({bufferSize:1,refCount:!0}));this.countParentsDisplay$=this.parentsDualCount$.pipe(D(Pr),Pe({bufferSize:1,refCount:!0}));this.dependenciesDualCount$=(0,E.combineLatest)([this.id$,this.blockerIssueIds$,this.childrenIds$]).pipe(Se(function(q){var x=k(q);q=x.next().value;var A=x.next().value;x=x.next().value;
return O7(l,q,[].concat(Vc(x),Vc(A)),["CHILDREN","BLOCKED_BY"])}));this.countDependenciesDisplay$=this.dependenciesDualCount$.pipe(D(Pr),Pe({bufferSize:1,refCount:!0}));this.duplicatesDualCount$=(0,E.combineLatest)([this.id$,this.duplicateIssueIds$]).pipe(Se(function(q){var x=k(q);q=x.next().value;x=x.next().value;return O7(l,q,x,["DUPLICATE"])}),Pe({bufferSize:1,refCount:!0}));this.countDuplicateDisplay$=this.duplicatesDualCount$.pipe(D(function(q){return q.total}),D(Msb),Pe({bufferSize:1,refCount:!0}));
this.countResourcesDisplay$=this.issue$.pipe(D(function(q){var x;return null!=(x=null==q?void 0:q.relatedLinks)?x:[]}),D(function(q){return l.activeSession.isInternalSession()?q:q.filter(function(x){return!Cva(x)})}),D(function(q){return Qr(q.length)}),D(Msb),Pe({bufferSize:1,refCount:!0}));this.countTodosDisplay$=this.id$.pipe(ye(pi),Se(function(q){return Tkd(l.codeMentions,q)}),D(function(q){var x,A;return Qr(null!=(A=null==(x=q.mentions)?void 0:x.totalMentions)?A:0)}),D(Msb),Pe({bufferSize:1,refCount:!0}));
this.countCommentsDisplay$=this.issueEvents$.pipe(D(function(q){return Qr(q.filter(ul).length)}),D(Msb),Pe({bufferSize:1,refCount:!0}))},O7=function(a,b,c,d){d=void 0===d?[]:d;c=rl(c);if(!b||0===c.length)return(0,E.of)({open:{count:0,exact:!0},total:{count:0,exact:!0}});d=d.map(function(e){return Nsb(b,e)}).filter(pi).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(yl).filter(zl).length;return{open:Qr(e),
total:Qr(c.length)}}):(0,E.combineLatest)(c.map(function(e){return a.issueFridge.watch(e)})).pipe(D(function(e){return{open:Qr(e.filter(pi).filter(yl).filter(zl).length),total:Qr(e.filter(function(g){return!g||zl(g)}).length)}}))};P7.\u0275fac=function(a){return new (a||P7)(u(QI),u(sH),u(lH),u(N7),u(kE),u(SE),u(gs))};P7.\u0275prov=qc({token:P7,factory:P7.\u0275fac,providedIn:"root"});var Q7=function(a,b,c,d,e,g,h,l,q){WD.call(this);var x=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(Se(this.issueFridge.watchOne));this.filters=[];this.shouldResetFilters=new Gv;this.tableColumns=Okd;this.initialSort={active:"status",direction:"asc"};this.canEdit$=this.issuePermissionService.hasAclToEdit$;
this.blockerIds$=this.issue$.pipe(D(function(A){return null==A?void 0:A.snapshot[0]}),D(function(A){var B,K;return null!=(K=null==A?void 0:null==(B=A.blockedByIssueId)?void 0:B.map(String))?K:[]}));this.blockersCount$=this.blockerIds$.pipe(Se(function(A){return 0===A.length?(0,E.of)(0):x.counts.blockersDualCount$.pipe(D(function(B){return B.total.count}))}));this.showBlockersTable$=this.blockersCount$.pipe(D(function(A){return 0<A}),Re(!0));this.getMenuItems=function(A){return[{type:"action",label:"Remove blocker",
action:function(){Ukd(x,A)},title:"Remove blocker",icon:"clear"}]};this.subscriptions.add(this.refreshMonitor.getObservable().subscribe(function(){var A=Vm(x.blockerIds$);if(null!=A){A=k(A);for(var B=A.next();!B.done;B=A.next())x.issueFridge.poke(B.value)}}))};U(Q7,WD);Q7.\u0275dir=WD.\u0275dir;
var Vsb=function(a){var b;return he(function(c){b=Vm(a.issueId$);if(null==b)return c.return();a.analytics.trackEvent(Jn.EDIT_ISSUE,"update","add-blocker");return c.yield(a.issuePicker.open({title:"Add Blockers of "+b,allowMultipleIds:!0,edgeType:"blocker"},function(d){Vkd(a,b,d)}),0)})},Vkd=function(a,b,c){he(function(d){return 0===c.length?d.return():d.yield(mH(a.issueFridge,"ADD","BLOCKED_BY",b,c).catch(function(e){IF(a.errorHandler,e)}),0)})},Ukd=function(a,b){var c,d;he(function(e){if(1==e.nextAddress){c=
Vm(a.issueId$);if(null==c)return e.return();a.analytics.trackEvent(Jn.EDIT_ISSUE,"update","remove-blocker");ie(e,2);var g=e.yield;var h=mH(a.issueFridge,"REMOVE","BLOCKED_BY",c,[b]);return g.call(e,h,4)}if(2!=e.nextAddress)return ms(e,0);d=le(e);EF(a.butterBar,"Could not remove blocker "+b+". "+(Ql(d)?Rl(d):d));me(e)})};Q7.\u0275fac=function(a){return new (a||Q7)(C(lH),C(CF),C(gH),C(jH),C(QI),C($I),C(GO),C(GF),C(P7))};
Q7.\u0275cmp=Gc({type:Q7,selectors:[["b-blockers-table"]],viewQuery:function(a,b){a&1&&Uf(eS,5);if(a&2){var c;Tf(c=Wf())&&(b.issuesTable=c.first)}},inputs:{filters:"filters"},outputs:{shouldResetFilters:"shouldResetFilters"},features:[bf],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&&(G(0,"div",0)(1,
"h4",1)(2,"div",2),I(3,"mat-icon",3),H(),R(4),S(5,"async"),H(),Q(6,Psb,2,1,"ng-container",4),S(7,"async"),H(),Q(8,Rsb,3,3,"ng-container",5),S(9,"async"),Q(10,Ssb,4,2,"p",6),S(11,"async"),Q(12,Usb,6,1,"ng-template",null,7,Zf),Q(14,Wsb,3,3,"ng-template",null,8,Zf));if(a&2){var c=Cf(13);z(4);Df(" Blockers ",T(5,5,b.counts.countBlockersDisplay$)," ");z(2);F("ngIf",T(7,7,b.showBlockersTable$));z(2);F("ngIf",T(9,9,b.showBlockersTable$))("ngIfElse",c);z(2);F("ngIf",T(11,11,null==b.issuesTable?null:b.issuesTable.filteredRowCount$))}},
dependencies:[ew,jw,uA,LB,PO,eS,kw],styles:["[_nghost-%COMP%] {\n      display: block;\n    }\n    b-issues-table[_ngcontent-%COMP%] {\n      display: block;\n      overflow-x: auto;\n    }"],changeDetection:0});var Wkd=function(){this.EMPTY_BLOCKER_LIGHT=Ulc;this.EMPTY_BLOCKER_DARK=Vlc;this.EMPTY_CHILD_LIGHT=Wlc;this.EMPTY_CHILD_DARK=Xlc};Wkd.\u0275fac=function(a){return new (a||Wkd)};
Wkd.\u0275cmp=Gc({type:Wkd,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&&(G(0,"h1",0),R(1,"About Dependencies"),H(),G(2,"div",1)(3,"div",2),I(4,"img",3)(5,"img",3)(6,"img",4)(7,"img",4),H(),G(8,"article")(9,"p",5),R(10," Children are used to separate a large work item (like a project) into smaller pieces. Blockers indicate that something prevents work from starting on this issue. "),G(11,"a",6),R(12,"Learn more"),H()()()(),G(13,"div",7)(14,
"button",8),R(15,"Ok"),H()());a&2&&(z(4),F("src",b.EMPTY_CHILD_LIGHT,Md),z(1),F("src",b.EMPTY_BLOCKER_LIGHT,Md),z(1),F("src",b.EMPTY_CHILD_DARK,Md),z(1),F("src",b.EMPTY_BLOCKER_DARK,Md))},dependencies:[Jz,Xz,Yz,Zz,$z],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 Xkd=function(){return["focus-indicator","load-more-children"]},Ykd=Jn.EDIT_ISSUE,Zkd={type:"data",id:"",issue$:E.NEVER,hasChildren$:E.NEVER,ancestorChain:new IO([]),level:0,expandedCount:0},R7=function(a,b,c,d,e,g,h,l,q,x,A,B,K,N,P){WD.call(this);var Y=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=x;this.cdr=A;this.relationsTableModelFactory=B;this.liveAnnouncer=
K;this.clearcut=N;this.paths=P;this.internalFilters=new iJ;this.isClosed=dva;this.tableColumns=Qkd;this.trackBy=function(X,ka){return ka.ancestorChain.hash()+ka.type};this.isLoadMoreRow=function(X,ka){return"load-more-children"===ka.type};this.isDataRow=function(X,ka){return"data"===ka.type};this.isDraftRow=function(X,ka){return"draft-issue"===ka.type};this.selectionModel=new WO;this.hasLogged=!1;this.correctedDisplayedRows=new Xf;this.TITLE_FIXED_OFFSET_PX=42;this.rowDirectiveMap=new Map;this.getRowIndex=
function(X){var ka;return(null!=(ka=Vm(Y.rows$))?ka:[]).findIndex(function(ma){return Ln(ma,X)})};this.showError=function(X){return function(ka){EF(Y.butterBar,X+". "+(Ql(ka)?Rl(ka):ka))}};this.subscriptions.add(SO(l,function(){return Y.tableModel.draftRows.isSaving()||Y.issueRelationshipsFridge.isSaving()},!1))};U(R7,WD);R7.\u0275dir=WD.\u0275dir;f=R7.prototype;
f.ngOnInit=function(){var a=this;this.tableModel=this.relationsTableModelFactory.create(this.rootIssueId,this.internalFilters);this.rows$=(0,E.scheduled)([this.tableModel.rows$,(0,E.of)([Zkd])],E.asyncScheduler).pipe(te(1),Pe({refCount:!0,bufferSize:1}));var b=this.rows$.pipe(Se(function(c){return(0,E.combineLatest)(c.filter(function(d){return"data"===d.type}).map(function(d){return d.issue$}))}),De(0,E.asapScheduler));this.subscriptions.add(b.subscribe(function(c){a.cdr.detectChanges();a.trackRelationsData(c)}));
this.rowReorderingModel=new UO(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,c.getExpansion(d)||c.setExpansion(d,10))}));this.subscriptions.add(this.rowReorderingModel.onRowsMoved$.subscribe(function(c){var d;return he(function(e){if(1==e.nextAddress)return igc(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")),Qqc(a.tableModel.expansion,c.parentAncestorChain,c.movedRows),e.yield((0,E.firstValueFrom)(a.correctedDisplayedRows.changes.pipe(D(function(g){return g.find(function(h){return"data"===h.row.type&&h.row.ancestorChain.nodeId===c.movedRows[0].nodeId&&h.row.ancestorChain.parentNodeId===
c.insertAt.parentId})}),ye(Boolean),Ae(6E4))),2);d=e.yieldResult;d.focus();me(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;XG(this.clearcut,"view-relations-"+(c?"all-loaded":"some-loaded"));this.analytics.trackEvent(Ykd,"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,XG(this.clearcut,"view-relations-"+(.5<a?"most-estimated":"most-unestimated")),this.analytics.trackEvent(Ykd,"view-relations","ratio-estimated",a))}};
f.ngAfterViewInit=function(){var a=this;this.selectionModel.init(this.displayedRows);(0,E.combineLatest)([this.rows$,this.displayedRows.changes]).pipe(Te(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);Sf(a.correctedDisplayedRows)});this.focusManager=yy(new Snc(this.correctedDisplayedRows,
Ln))};f.toggleExpansion=function(a){this.tableModel.expansion.setExpansion(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(Ykd,"navigate","to-child-issue"),b=Vl(b.id),a.ctrlKey||a.metaKey||a instanceof MouseEvent&&1===a.button?this.domSafe.openInNewTab(b):a&&a.shiftKey?Hn(this.domSafe,b):Rr(this.router,b))};
f.displayAllSiblings=function(a){var b=this,c;return he(function(d){if(1==d.nextAddress)return c=b.getRowIndex(a),b.tableModel.expansion.setExpansion(a.ancestorChain.parentChain,500),d.yield(Cn(),2);b.focusManager.setActiveItem(c);me(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:!Vm(a.hasChildren$),action:function(){var c=Yl({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 he(function(c){if(1==c.nextAddress)return c.yield(Cn(),
2);b.createChildIssue(a);me(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 he(function(c){if(1==c.nextAddress)return c.yield(Cn(),2);b.createSiblingIssue(a);me(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(){qrc(b.rowReorderingModel,b.rowDirectiveMap.get(a.ancestorChain.hash()))},title:"Indent",icon:"arrow-right",hintText:"shift+ctrl+right"},
{type:"action",label:"Unindent",action:function(){prc(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 he(function(e){if(1==e.nextAddress){if(!a.title)return e.return();b.tableModel.saveDraft(a);b.focusManager.setActiveItem(b.getRowIndex(a));return e.yield((0,E.firstValueFrom)(b.displayedRows.changes.pipe(D(function(g){return g.find(function(h){return"data"===h.row.type&&h.row.id===a.issueId})}),ye(Boolean),Ae(6E4))),2)}c=e.yieldResult;Ln(null==(d=b.focusManager.activeItem)?void 0:d.row,a)&&b.focusManager.setActiveItem(c);me(e)})};
f.cancelDraft=function(a){if(!a.saving){this.tableModel.deleteDraftRow(a);var b;Ln(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 he(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);me(e)}})};
f.navigateToCreateIssuePage=function(a,b){var c=this,d,e,g,h,l,q,x,A;return he(function(B){if(1==B.nextAddress)return a.defaultPrevented||"mouseup"===a.type&&a instanceof MouseEvent&&1!==a.button?B.return():B.yield((0,E.firstValueFrom)(b.issue$),2);d=B.yieldResult;x={};A=c.paths.createIssue((x.component=String(null==(e=d)?void 0:e.snapshot[0].componentId),x.parentIssueId=b.ancestorChain.parentChain.nodeId,x.redirectUrl=Wl(c.rootIssueId),x.afterIssueId=b.afterIssueId,x.title=b.title,x.priority=null!=
(l=null==(g=d)?void 0:g.snapshot[0].priority)?l:void 0,x.type=null!=(q=null==(h=d)?void 0:h.snapshot[0].type)?q:void 0,x));if(a.ctrlKey||a.metaKey||a instanceof MouseEvent&&1===a.button)return c.cancelDraft(b),c.domSafe.openInNewTab(A),B.return();if(a&&a.shiftKey)return c.cancelDraft(b),Hn(c.domSafe,A),B.return();Rr(c.router,A);me(B)})};
f.archiveRow=function(a){var b=this,c,d;he(function(e){if(1==e.nextAddress)return b.analytics.trackEvent(Ykd,"update","archive-child-issue"),c=b.getRowIndex(a),b.issueArchiveService.archive(a.id),e.yield((0,E.firstValueFrom)(b.rows$.pipe(D(function(g){return!g.find(function(h){return"data"===h.type&&h.id===a.id})}),ye(Boolean),Ae(6E4))),2);Ln(null==(d=b.focusManager.activeItem)?void 0:d.row,a)&&b.focusManager.setActiveItem(c);me(e)})};
f.unlinkFromParent=function(a){var b=this,c,d;return he(function(e){c=a.ancestorChain.nodeId;d=a.ancestorChain.parentNodeId;b.analytics.trackEvent(Ykd,"update","unlink-child-issue");return e.yield(b.issueRelationshipsFridge.unlinkFromParent(c,d).then(function(){DF(b.butterBar,"Unlinked successfully.")}).catch(b.showError("Failed to unlink child "+c+" from parent "+d)),0)})};
hh.Object.defineProperties(R7.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$}}});R7.\u0275fac=function(a){return new (a||R7)(C(sH),C(nG),C(CF),C(gH),C(QO),C(We),C(vd),C(RO),C(SJ),C(VO),C(cH),C(TO),C(oy),C(VG),C(vG))};
R7.\u0275cmp=Gc({type:R7,selectors:[["b-issue-relations-table"]],viewQuery:function(a,b){a&1&&Uf(VL,5);if(a&2){var c;Tf(c=Wf())&&(b.displayedRows=c)}},inputs:{rootIssueId:"rootIssueId",filters:"filters"},features:[Gf([cH]),bf],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&&(G(0,"table",0),J(1,1),Q(2,Xsb,1,0,"th",2),Q(3,Ysb,2,0,"td",3),L(),J(4,4),Q(5,Zsb,1,0,"th",2),Q(6,$sb,3,0,"td",5),L(),J(7,6),Q(8,atb,2,0,"th",2),Q(9,btb,2,1,"td",7),L(),J(10,8),Q(11,ctb,2,0,"th",2),Q(12,dtb,2,0,"td",7),L(),J(13,9),Q(14,etb,2,0,"th",2),Q(15,
ftb,4,8,"td",7),L(),J(16,10),Q(17,gtb,2,0,"th",2),Q(18,htb,3,3,"td",7),L(),J(19,11),Q(20,itb,2,0,"th",2),Q(21,jtb,3,3,"td",7),L(),J(22,12),Q(23,ktb,2,0,"th",2),Q(24,ltb,3,3,"td",7),L(),J(25,13),Q(26,mtb,2,0,"th",2),Q(27,ntb,3,3,"td",7),L(),J(28,14),Q(29,otb,1,0,"th",2),Q(30,ptb,2,1,"td",7),L(),J(31,15),Q(32,qtb,1,0,"th",2),Q(33,ttb,4,2,"td",16),L(),J(34,17),Q(35,utb,6,7,"td",18),L(),J(36,19),Q(37,vtb,2,0,"th",2),Q(38,wtb,7,6,"td",18),L(),Q(39,xtb,1,0,"tr",20),Q(40,ytb,3,12,"tr",21),Q(41,ztb,1,4,"tr",
22),Q(42,Atb,1,2,"tr",23),H(),I(43,"div",24)(44,"div",25)(45,"div",26));a&2&&(F("dataSource",b.rows$)("trackBy",b.trackBy),z(39),F("matHeaderRowDef",b.tableColumns),z(1),F("matRowDefColumns",b.tableColumns)("matRowDefWhen",b.isDataRow),z(1),F("matRowDefColumns",If(9,Xkd))("matRowDefWhen",b.isLoadMoreRow),z(1),F("matRowDefColumns",b.getDraftColumns())("matRowDefWhen",b.isDraftRow))},dependencies:[fx,ew,uA,fL,YK,bL,ZK,XK,cL,$K,aL,dL,eL,LB,rK,cK,PO,BM,dK,NL,gK,jK,qK,PM,sK,sL,VL,kw],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 S7=function(a,b,c,d,e){WD.call(this);var g=this;this.issueFridge=a;this.butterBar=b;this.analytics=c;this.refreshMonitor=d;this.issueRelationshipsFridge=e;this.parentIssueIds$=new E.BehaviorSubject([]);this.filters=[];this.editIssueDependencies=Wl;this.tableColumns=Pkd;this.getMenuItems=function(h){return[{type:"action",label:"Unlink parent",action:function(){return $kd(g,h)},title:"Unlink parent",icon:"link"}]};this.showError=function(h){return function(l){EF(g.butterBar,h+". "+(Ql(l)?Rl(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)}))};U(S7,WD);S7.\u0275dir=WD.\u0275dir;S7.prototype.ngOnInit=function(){};
var $kd=function(a,b){var c;return he(function(d){a.analytics.trackEvent(Jn.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)})};hh.Object.defineProperties(S7.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$}}});
S7.\u0275fac=function(a){return new (a||S7)(C(lH),C(CF),C(gH),C(jH),C(sH))};
S7.\u0275cmp=Gc({type:S7,selectors:[["b-parents-table"]],viewQuery:function(a,b){a&1&&Uf(eS,5);if(a&2){var c;Tf(c=Wf())&&(b.issuesTable=c.first)}},inputs:{parentIds:"parentIds",filters:"filters",issueId:"issueId"},features:[bf],decls:2,vars:3,consts:[[4,"ngIf"],[3,"issueIds","tableColumns","filters","issueUrlFactory","menuItemFactory"]],template:function(a,b){a&1&&(Q(0,Btb,2,5,"ng-container",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.parentIssueIds$))},dependencies:[ew,eS,kw],encapsulation:2,changeDetection:0});var T7=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 Gv;this.onConfirm=new Gv;this.onCancel=new Gv;this.internalSelectedOptions=new iJ};T7.prototype.confirm=function(a){this.onConfirm.emit(new Set(this.internalSelectedOptions));a.close()};T7.prototype.cancel=function(a){this.onCancel.emit();a.close()};
hh.Object.defineProperties(T7.prototype,{selectedOptions:{configurable:!0,enumerable:!0,set:function(a){this.internalSelectedOptions.reset(a)}}});T7.\u0275fac=function(a){return new (a||T7)};
T7.\u0275cmp=Gc({type:T7,selectors:[["select-menu"]],inputs:{buttonSize:"buttonSize",buttonAriaLabel:"buttonAriaLabel",buttonSvgIcon:"buttonSvgIcon",buttonTooltip:"buttonTooltip",showActiveState:"showActiveState",overlayTitle:"overlayTitle",options:"options",selectedOptions:"selectedOptions",confirmButtonLabel:"confirmButtonLabel",cancelButtonLabel:"cancelButtonLabel",showActionButtons:"showActionButtons"},outputs:{onChange:"onChange",onConfirm:"onConfirm",onCancel:"onCancel"},decls:11,vars:15,consts:[["mat-icon-button",
"","onedevPopupPanelTrigger","","aria-haspopup","true",1,"gmat-button",3,"onedevPopupPanelTriggerFor","color","matTooltip","click"],["trigger","onedevPopupPanelTrigger"],[3,"svgIcon"],[4,"ngIf"],["role","region","className","select-menu-popup"],["optionsPanel","onedevPopupPanel"],[1,"padded-s","flex-kids-y"],["class","title margin-s-x padded-s",4,"ngIf"],["class","flex-kids-x",4,"ngFor","ngForOf"],["class","badge",3,"title",4,"ngIf"],[1,"badge",3,"title"],[1,"title","margin-s-x","padded-s"],[1,"flex-kids-x"],
[1,"option","grow-1","flex-kids-x","align-items-center","padded-x","padded-s-y","gap"],[3,"checked","change"],[1,"flex-kids-x","justify-flex-end","padded-s","gap-s"],["mat-stroked-button","",1,"cancel",3,"click"],["mat-flat-button","","color","primary",1,"confirm",3,"click"]],template:function(a,b){if(a&1){var c=v();G(0,"button",0,1);M("click",function(){w(c);var e=Cf(1),g;null!=(g=e.isOpen)&&g?e.close():e.open();return y()});S(2,"async");I(3,"mat-icon",2);Q(4,Dtb,3,3,"ng-container",3);H();G(5,"onedev-popup-panel",
4,5)(7,"div",6);Q(8,Etb,2,1,"h1",7);Q(9,Htb,7,5,"div",8);Q(10,Itb,7,2,"ng-container",3);H()()}if(a&2){var d=Cf(6);qf("large","large"===b.buttonSize)("small","small"===b.buttonSize);F("onedevPopupPanelTriggerFor",d)("color",b.showActiveState&&T(2,13,b.internalSelectedOptions.size$)?"primary":null)("matTooltip",b.buttonTooltip);gf("aria-label",b.buttonAriaLabel);z(3);F("svgIcon",b.buttonSvgIcon);z(1);F("ngIf",b.showActiveState);z(4);F("ngIf",b.overlayTitle);z(1);F("ngForOf",b.options);z(1);F("ngIf",
b.showActionButtons)}},dependencies:[dw,ew,uA,Jz,vN,tL,LB,IL,JL,kw],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 Otb=function(a){return{filteredCount:a}},ald=function(){return[]},U7=function(a,b,c,d,e,g,h,l,q,x,A,B,K){WD.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=x;this.counts=A;this.matDialog=B;this.butterBar=K;this.recallFilters=UG("deps-filters");this.saveFilters=Qo("deps-filters");this.isThinking$=(0,E.combineLatest)([this.issueFridge.saving$,
this.issueRelationshipsFridge.saving$]).pipe(D(function(P){return P.some(Boolean)}));this.issueId$=this.brain.id$.pipe(ye(pi),D(ln));this.issue$=this.brain.issueJs$.pipe(ye(pi));this.parentIds$=this.issue$.pipe(D(function(P){var Y;return null!=(Y=P.issue.parentIssueIds)?Y:[]}));this.parentIssues$=this.parentIds$.pipe(Se(this.issueFridge.watchSet));this.parentsCount$=this.parentIssues$.pipe(D(function(P){return P.filter(zl).length}));this.childrenIds$=this.issueId$.pipe(Se(this.issueRelationshipsFridge.watch),
D(function(P){var Y;return null!=(Y=null==P?void 0:P.relatedChildren.map(function(X){return X.targetIssueId}))?Y:[]}));this.totalDaysOpen$=this.issue$.pipe(D(function(P){var Y,X;return(null==(Y=Yua(P))?void 0:null==(X=Y.effort)?void 0:X.totalOpen)||0}));this.totalDaysComplete$=this.issue$.pipe(D(function(P){var Y,X;return(null==(Y=Yua(P))?void 0:null==(X=Y.effort)?void 0:X.totalComplete)||0}));this.unarchivedChildIssueCount$=this.childrenIds$.pipe(D(function(P){return P.length}));this.isTotalEstimatesEnabled=
UD(this.activeSession,"enableAggregationRules");this.isNonPublicSession=this.activeSession.isNonPublicSession();this.totalDaysCount$=(0,E.combineLatest)([this.totalDaysOpen$,this.totalDaysComplete$]).pipe(D(function(P){var Y=k(P);P=Y.next().value;Y=Y.next().value;return P+Y}));this.totalDaysDisplayPercent$=gub(this.totalDaysComplete$,this.totalDaysCount$);this.progressHovercardContent$=(0,E.combineLatest)([this.totalDaysComplete$,this.totalDaysOpen$,this.totalDaysDisplayPercent$]).pipe(D(function(P){var Y=
k(P);P=Y.next().value;var X=Y.next().value;Y=Y.next().value;return hub(Math.round(100*P)/100)+" completed | "+hub(Math.round(100*X)/100)+" open | "+Y+"% completed"}));this.canEdit$=this.issuePermissionService.hasAclToEdit$;this.rowCreated$=new E.Subject;this.issueFilters=new iJ;this.ISSUE_FILTER_OPTIONS=[{key:Kn.OPEN.key,title:Kn.OPEN.displayAs,description:"Hides closed issues"},{key:Kn.ASSIGNED_TO_ME.key,title:Kn.ASSIGNED_TO_ME.displayAs,description:"Hides issues not assigned to me"}];(0,E.firstValueFrom)(c8a("b-issue-relations-table tr .mat-column-title a",
this.element.nativeElement).pipe(Te((0,E.merge)(this.destroyed$,this.rowCreated$)))).then(function(){var P=function(){L1c(N.routePerformance,"issue-details-w-tree")};requestAnimationFrame(P);setTimeout(P)}).catch(function(){});try{this.issueFilters.reset(this.recallFilters().filter(UIa))}catch(P){}this.subscriptions.add(this.issueFilters.value$.subscribe(function(P){N.saveFilters([].concat(Vc(P)))}))};U(U7,WD);U7.\u0275dir=WD.\u0275dir;
var cub=function(a){var b,c;return he(function(d){if(1==d.nextAddress)return a.analytics.trackEvent(Jn.EDIT_ISSUE,"update","add-parent"),d.yield((0,E.firstValueFrom)(a.issue$),2);b=d.yieldResult;c=b.issue.issueId;return d.yield(a.issuePicker.open({title:"Add Parent to b/"+c,allowMultipleIds:!1,edgeType:"parent"},function(e){bld(a,c,e)}),0)})},bld=function(a,b,c){var d=k(c).next().value,e,g,h,l;he(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)?(EF(a.butterBar,"Could not add parent"),q.return()):q.yield(a.issueFridge.poke(b),0)})};U7.prototype.shouldResetFilters=function(){this.issueFilters.reset([])};U7.prototype.addChild=function(){this.rowCreated$.next();var a;null==(a=this.relationsTable)||a.addExistingChild()};U7.prototype.createChild=function(){this.rowCreated$.next();var a;null==(a=this.relationsTable)||a.createChildIssue()};
U7.\u0275fac=function(a){return new (a||U7)(C(YI),C(GO),C(sH),C(lH),C(nG),C(T1),C(vd),C(gH),C($I),C(gs),C(P7),C(Wz),C(CF))};
U7.\u0275cmp=Gc({type:U7,selectors:[["b-issue-dependencies"]],viewQuery:function(a,b){a&1&&(Uf(R7,5),Uf(Q7,5),Uf(S7,5));if(a&2){var c;Tf(c=Wf())&&(b.relationsTable=c.first);Tf(c=Wf())&&(b.blockersTable=c.first);Tf(c=Wf())&&(b.parentsTable=c.first)}},features:[bf],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&&(G(0,"div",0),Q(1,Jtb,1,0,"b-spinner",
1),S(2,"async"),G(3,"select-menu",2),M("onChange",function(d){return b.issueFilters.reset(d)}),S(4,"async"),H(),G(5,"button",3),M("click",function(){b.matDialog.open(Wkd,{maxWidth:"1300px",width:"90%"})}),I(6,"mat-icon",4),H()(),Q(7,$tb,40,45,"div",5),S(8,"async"),Q(9,bub,1,1,"ng-template",null,6,Zf),Q(11,dub,3,3,"ng-template",null,7,Zf),Q(13,fub,4,4,"ng-template",null,8,Zf));if(a&2){var c;z(1);F("ngIf",T(2,6,b.isThinking$));z(2);F("options",b.ISSUE_FILTER_OPTIONS)("selectedOptions",null!==(c=T(4,
8,b.issueFilters.value$))&&void 0!==c?c:If(12,ald))("showActionButtons",!1)("showActiveState",!0);z(4);F("ngIf",T(8,10,b.issueId$))}},dependencies:[ew,jw,uA,qJ,vJ,Jz,LB,PO,T7,sL,Q7,R7,S7,kw,qw],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 V7=function(){};V7.\u0275fac=function(a){return new (a||V7)};V7.\u0275mod=Ic({type:V7});V7.\u0275inj=rc({imports:[tF,iC,$N,FS,JC,KL]});var W7=function(){};W7.\u0275fac=function(a){return new (a||W7)};W7.\u0275mod=Ic({type:W7});W7.\u0275inj=rc({imports:[py,fy,Rx,tF,$w,DM,iC,aA,fS,mN,rM,JC,ax,tG,FR,VM,aS,vO,gS,XM,V7,ZN,ZM,WL]});var cld={BLOCKED_BY_ISSUES:"blocked_by",PARENT_ISSUES:"parent"},X7=function(a,b){WD.call(this);var c=this;this.issueFridge=a;this.router=b;this.STATUS_TERSE=EE;this.URLS=Sr;this.ListIssuesHovercardMode=cld;this.mode="blocked_by";this.currentIssueId="";this.issueIds$=new E.ReplaySubject(1);this.init=new E.ReplaySubject(1);this.issues$=this.issueIds$.pipe(ye(pi),Se(this.issueFridge.watchSet),D(function(d){return"parent"===c.mode?d.filter(zl):d.filter(yl)}))};U(X7,WD);X7.\u0275dir=WD.\u0275dir;
X7.prototype.convertIssueStatusStrToTag=function(a){return jj[a]};X7.prototype.priorityClass=function(a){switch(a){case "P0":return"high p0";case "P1":return"high";default:return"low"}};var nub=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([Sr.ISSUE_LIST],{queryParams:{q:d}})})};
X7.prototype.ngOnInit=function(){var a=this;this.issues$.pipe(Te(this.destroyed$)).subscribe(function(){a.init.next()})};hh.Object.defineProperties(X7.prototype,{issueIds:{configurable:!0,enumerable:!0,set:function(a){this.issueIds$.next(a)}}});X7.\u0275fac=function(a){return new (a||X7)(C(lH),C(nG))};
X7.\u0275cmp=Gc({type:X7,selectors:[["b-list-issues-card"]],inputs:{mode:"mode",currentIssueId:"currentIssueId",issueIds:"issueIds",hovercardInstance:"hovercardInstance"},outputs:{init:"init"},features:[bf],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&&(G(0,"div",0),Q(1,iub,5,3,"div",1),Q(2,jub,5,3,"div",1),Q(3,qub,4,3,"div",2),S(4,"async"),
H());a&2&&(z(1),F("ngIf",b.mode===b.ListIssuesHovercardMode.PARENT_ISSUES),z(1),F("ngIf",b.mode===b.ListIssuesHovercardMode.BLOCKED_BY_ISSUES),z(1),F("ngIf",T(4,3,b.issues$)))},dependencies:[cw,dw,ew,uA,pG,Jz,kw],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 Y7=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=[]};Y7.prototype.ngOnChanges=function(a){var b=this;a.ancestors&&dld(this).then(function(c){b.issueIdToTitle=c})};Y7.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,E.firstValueFrom)(a.issueDigestsApi.getAll(new Set(a.reorderedAncestors)).pipe(D(function(c){var d=new Map;c=k(c);for(var e=c.next();!e.done;e=c.next())e=e.value,d.set(e.issueId,e.title);return d})))};
Y7.\u0275fac=function(a){return new (a||Y7)(C(l7),C(vG))};
Y7.\u0275cmp=Gc({type:Y7,selectors:[["ancestors-breadcrumbs"]],inputs:{ancestors:"ancestors",issueId:"issueId"},features:[Zc],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&&(I(0,"mat-icon",0),Q(1,tub,7,4,"ng-container",1),Q(2,uub,4,5,"ng-container",2));a&2&&(z(1),F("ngIf",1<b.multiParentIssueIds.length),z(1),F("ngForOf",b.reorderedAncestors))},dependencies:[dw,ew,uA,kL,qJ,rJ,vJ,sJ,X7],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 Z7=function(a,b,c){var d=this;this.componentFridge=a;this.issueEditComponentService=b;this.currentTracker=c;this.componentId$=new E.ReplaySubject(1);this.viewOnly=!1;this.compactMode$=new E.BehaviorSubject(!1);this.editing=!1;this.component$=this.componentId$.pipe(Se(function(e){return d.componentFridge.watch(e).pipe(Re(void 0))}));this.isArchived$=this.component$.pipe(D(function(e){return null==e?void 0:e.archived}));this.componentPath$=(0,E.combineLatest)([this.componentId$,this.component$,
this.compactMode$]).pipe(D(function(e){var g=k(e);e=g.next().value;var h=g.next().value;g=g.next().value;if(null==h)return mp({componentPathId:[Number(e)]});e=Kr(d.currentTracker,h.componentPathInfo);e=mp(e);if(g){g=[];h=0;for(var l=e.length-1;0<=l;l--){var q=e[l],x=l===e.length-1?48:32;if(h>=x)break;var A=String(q.name),B=void 0;if(h+[].concat(Vc(A)).length>x){var K=x-h;x="";A=void 0===A?"":A;K=void 0===K?48:K;x=void 0===x?"...":x;B=[].concat(Vc(A));B.length<=K||(A=K-[].concat(Vc(x)).length,A=B.slice(-A).join(""),
null!=String.prototype.trimStart&&(A=A.trimStart()),A=x+A);B=!0}h+=[].concat(Vc(A)).length;g.unshift(Object.assign({},q,{name:A,isTruncated:B}));if(B)break}e.length>g.length&&(g[0].isSpliced=!0);e=g}return e}));this.isEmpty$=this.component$.pipe(D(function(e){return!e}));this.isThinkingAndEmpty$=(0,E.combineLatest)([this.componentFridge.thinking$,this.isEmpty$]).pipe(D(function(e){var g=k(e);e=g.next().value;g=g.next().value;return e&&g}));this.isReady$=this.isThinkingAndEmpty$.pipe(D(function(e){return!e}))};
Z7.prototype.ngOnInit=function(){};hh.Object.defineProperties(Z7.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)}}});Z7.\u0275fac=function(a){return new (a||Z7)(C(eF),C(GP),C(lK))};
Z7.\u0275cmp=Gc({type:Z7,selectors:[["b-component-breadcrumb-chip"]],inputs:{componentId:"componentId",issueId:"issueId",viewOnly:"viewOnly",popoutLink:"popoutLink",compactMode:"compactMode"},decls:3,vars:2,consts:[[3,"isReady",4,"ngIf","ngIfElse"],["componentPicker",""],[3,"isReady"],[1,"b-chip","squared","s"],["title","Component folder path",1,"icon-xs",3,"svgIcon"],["class","component-path",4,"ngIf"],[4,"ngIf"],["mat-icon-button","","class","edit-btn","aria-label","Change Component","matTooltip",
"Change Component",3,"click",4,"ngIf"],["mat-icon-button","","class","gmat-button small pop-out-btn","aria-label","View Component (Link opens in a new window)","matTooltip","View Component","target","_blank",3,"routerLinkObj",4,"ngIf"],[1,"component-path"],[4,"ngFor","ngForOf"],["href","javascript:void(0);","title","Show all Components","class","subtle-link","role","button",3,"click",4,"ngIf"],["class","subtle-link",3,"routerLinkObj","onedevHovercardTrigger","muted",4,"ngIf","ngIfElse"],["viewOnlyComponent",
""],["card",""],[4,"onedevHovercardLazyBody"],["href","javascript:void(0);","title","Show all Components","role","button",1,"subtle-link",3,"click"],[1,"subtle-link",3,"routerLinkObj","onedevHovercardTrigger"],[1,"view-only-component"],[3,"onedevIsHovercardReady","componentId"],["cardBody",""],["mat-icon-button","","aria-label","Change Component","matTooltip","Change Component",1,"edit-btn",3,"click"],["svgIcon","edit-outline",1,"icon-xxs"],["mat-icon-button","","aria-label","View Component (Link opens in a new window)",
"matTooltip","View Component","target","_blank",1,"gmat-button","small","pop-out-btn",3,"routerLinkObj"],["svgIcon","pop-out",1,"icon-xs"],["placeholder","Choose Component",3,"selectedComponent","isRequired","shouldFocus","selectedComponentChange","dropdownClosed"]],template:function(a,b){a&1&&(Q(0,Hub,10,12,"b-async-data-placeholder",0),Q(1,Jub,2,5,"ng-template",null,1,Zf));if(a&2){var c=Cf(2);F("ngIf",!b.editing)("ngIfElse",c)}},dependencies:[cK,dw,ew,uA,Jz,Kz,LT,qJ,rJ,vJ,sJ,LB,c7,TM,kw],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 $7=function(a,b,c){this.issueFridge=a;this.hotlistFridge=b;this.hotlistPicker=c;this.issueId$=new E.ReplaySubject(1);this.issue$=this.issueId$.pipe(Se(this.issueFridge.watch));this.hotlistsOnIssue$=this.issue$.pipe(D(function(d){var e;return null!=(e=null==d?void 0:d.snapshot[0].hotlistId)?e:[]}));this.count$=this.hotlistsOnIssue$.pipe(D(function(d){return null==d?void 0:d.length}),Re(0));this.label$=this.count$.pipe(D(function(d){return 0<d?"Hotlists ("+d+")":"Hotlists"}));this.isDisabled$=this.hotlistFridge.saving$;
this.HOTKEYS=FL};$7.prototype.onClick=function(){eEc(this.hotlistPicker,this.issue$)};hh.Object.defineProperties($7.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(String(a))}}});$7.\u0275fac=function(a){return new (a||$7)(C(lH),C(SG),C(VS))};
$7.\u0275cmp=Gc({type:$7,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&&(G(0,"button",0),M("onHotkey",function(){return b.onClick()})("click",function(){return b.onClick()}),S(1,"async"),R(2),S(3,"async"),H());a&2&&(F("hotkey",b.HOTKEYS.OPEN_HOTLIST_PICKER)("disabled",T(1,3,b.isDisabled$)),z(2),Df(" ",T(3,5,b.label$),"\n"))},dependencies:[EL,
Jz,kw],encapsulation:2});var eld=function(){this.availablePanels=new Set;this.iconOnly=!1;this.buttonClassname="";this.openSidebar=new Gv};eld.\u0275fac=function(a){return new (a||eld)};
eld.\u0275cmp=Gc({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&&(G(0,"button",0),M("click",function(){b.openSidebar.emit({panel:void 0})}),jd(),G(1,"svg",1)(2,"g",2),I(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),H()(),Q(13,Kub,2,0,"ng-container",13),H());a&2&&(qf("icon-only-mode",b.iconOnly),
F("ngClass",b.buttonClassname)("disabled",0===b.availablePanels.size),z(13),F("ngIf",!b.iconOnly))},dependencies:[cw,ew,Jz],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 Rc("DevopsGraphLogger",{providedIn:"root",factory:function(){return zh}}),gld=new Rc("DEV_GRAPH",{providedIn:"root",factory:function(){var a;return he(function(b){switch(b.nextAddress){case 1:return ie(b,2),b.yield(Lub(),4);case 4:a=b.yieldResult;ms(b,3);break;case 2:return le(b),b.return();case 3:return ie(b,5),b.yield(a.loadGraph(),7);case 7:ms(b,6);break;case 5:return le(b),b.return();case 6:return b.return(google.corp.devops.tools.graph)}})}});var a8=function(a,b,c,d){var e=this;this.session=a;this.theme=b;this.logger=c;this.graphBuilder=d;this.open$=new E.Subject;this.close$=new E.Subject;this.getContainer=function(){return document.getElementById("graph-sidebar-host")};this.onGraphClose=function(){var g=e.getContainer();null!=g&&(g.classList.remove("open"),e.close$.next())};this.onGraphOpen=function(){var g=e.getContainer();null!=g&&(g.classList.add("open"),e.open$.next())};this.init()};
a8.prototype.init=function(){var a=this,b,c,d,e,g;return he(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=Mub(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")});me(h)})};var hld=function(a,b){var c;return he(function(d){switch(d.nextAddress){case 1:return ie(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:ms(d,0);break;case 2:return c=le(d),a.logger(c),d.return(new Set)}})};
a8.prototype.openSidebar=function(a,b){var c=this,d;return he(function(e){switch(e.nextAddress){case 1:return e.yield(c.init(),2);case 2:if(!c.graphController)return e.return();ie(e,3);return e.yield(c.graphController.openIssueContext(Number(a),b),5);case 5:ms(e,0);break;case 3:d=le(e),c.logger(d),me(e)}})};
a8.prototype.close=function(){var a=this,b;return he(function(c){switch(c.nextAddress){case 1:return c.yield(a.init(),2);case 2:if(!a.graphController)return c.return();ie(c,3);return c.yield(a.graphController.close(),5);case 5:ms(c,0);break;case 3:b=le(c),a.logger(b),me(c)}})};a8.\u0275fac=function(a){return new (a||a8)(u(gs),u(qP),u(fld),u(gld))};a8.\u0275prov=qc({token:a8,factory:a8.\u0275fac,providedIn:"root"});var b8=function(a,b,c,d,e,g,h){WD.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(Se(function(q){return he(function(x){return null!=l.devopsGraph.getContainer()&&q?x.return(hld(l.devopsGraph,q).then(function(A){return{issueId:q,availablePanels:A}})):x.return(void 0)})}),Pe({refCount:!1,bufferSize:1}));this.availablePanels$=this.contexts$.pipe(D(function(q){return q?
q.availablePanels:new Set}));this.shouldShowInsightsGraphMenu$=this.contexts$.pipe(D(function(q){return!!q&&0<q.availablePanels.size&&l.activeSession.isInternalSession()&&null!=l.devopsGraph.getContainer()}));this.shouldShowInsightsGraphButton$=this.contexts$.pipe(D(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 x=l.paramsService.params.showInsights;x&&("default"===x?0<q.size?l.openSidebar():EF(l.butterBar,"Could not open Insights Sidebar: no data for this issue. See go/g3g-guide-buganizer."):q.has(x)?l.openSidebar(x):EF(l.butterBar,"Could not open "+x+" 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)}))};U(b8,WD);b8.\u0275dir=WD.\u0275dir;b8.prototype.openSidebar=function(a){var b=this,c,d,e,g;return he(function(h){c=Vm(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}))})};b8.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})};
b8.\u0275fac=function(a){return new (a||b8)(u(a8),u(QI),u(gH),u(CF),u(nG),u(mm),u(gs))};b8.\u0275prov=qc({token:b8,factory:b8.\u0275fac,providedIn:"root"});var c8=function(a){this.issueInsightsSidebarService=a;this.iconOnly=!1;this.buttonClassname="";this.availablePanels$=this.issueInsightsSidebarService.availablePanels$;this.shouldShowInsightsGraphMenu$=this.issueInsightsSidebarService.shouldShowInsightsGraphMenu$};c8.prototype.openSidebar=function(a){this.issueInsightsSidebarService.openSidebar(a)};c8.\u0275fac=function(a){return new (a||c8)(C(b8))};
c8.\u0275cmp=Gc({type:c8,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&&(Q(0,Oub,3,3,"ng-container",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.availablePanels$))},dependencies:[ew,eld,kw],encapsulation:2,changeDetection:0});var jld=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()}}}},kld=function(a,b){return b.isInternal?{type:"action",label:"Request issue deletion...",title:"Request issue deletion",action:function(){a.requestIssueDeletion()}}:void 0},lld=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)}}},mld=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 d8=function(){this.label=""};d8.prototype.toggle=function(){this.hovercardTrigger&&this.hovercardTrigger.toggle(!this.hovercardTrigger.isExpanded())};d8.\u0275fac=function(a){return new (a||d8)};
d8.\u0275cmp=Gc({type:d8,selectors:[["help-hover"]],viewQuery:function(a,b){a&1&&Uf(vJ,5);if(a&2){var c;Tf(c=Wf())&&(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&&(G(0,"onedev-hovercard",null,0)(2,"div",1)(3,"div",
2),Q(4,Qub,2,1,"ng-container",3),H()()(),I(5,"mat-icon",4));if(a&2){var c=Cf(1);z(2);gf("aria-label",b.label);z(2);F("ngIf",b.content);z(1);F("onedevHovercardTrigger",c)}},dependencies:[ew,jw,uA,qJ,vJ],encapsulation:2});var e8=function(){};e8.\u0275fac=function(a){return new (a||e8)};e8.\u0275mod=Ic({type:e8});e8.\u0275inj=rc({imports:[tF,DM]});var f8=function(a,b,c,d,e,g,h,l,q){WD.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 E.ReplaySubject(1);this.retentionEnabled=this.activeSession.isInternalSession();this.HOTKEYS=FL;this.issue$=this.issueId$.pipe(Se(this.issueFridge.watch));this.issueDerivedProperties$=this.issue$.pipe(D(function(x){var A,B,K,N,P,Y,X;return{modifiedTimeMilliseconds:null!=
(null==x?void 0:null==(A=x.aggregatedData)?void 0:A.modifiedTimeMicros)?x.aggregatedData.modifiedTimeMicros/1E3:void 0,voted:null!=(Y=null==x?void 0:null==(B=x.userData)?void 0:B.voted)?Y:!1,voteCount:null!=(X=null==x?void 0:null==(K=x.aggregatedData)?void 0:K.voteCount)?X:0,notificationSubscription:mi(null==x?void 0:null==(N=x.userData)?void 0:N.notificationSubscription),retentionState:null==x?void 0:null==(P=x.aggregatedData)?void 0:P.retentionState}}));this.menuItems$=nld(this);this.state$=(0,E.combineLatest)([this.issueId$,
this.issueDerivedProperties$,this.menuItems$]).pipe(D(function(x){var A=k(x);x=A.next().value;var B=A.next().value;A=A.next().value;return Object.assign({},{issueId:x},B,{menuItems:A})}))};U(f8,WD);f8.\u0275dir=WD.\u0275dir;f=f8.prototype;f.updateSubscription=function(a){var b=this,c;return he(function(d){if(1==d.nextAddress)return(c=Vm(b.issueId$))?d.yield(b.editIssueService.updateSubscription(c,a),2):d.return();b.analytics.trackEvent(Jn.EDIT_ISSUE,"updateSubscription",a);me(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 he(function(d){return 1==d.nextAddress?b.editIssueService.savingState(a).get("retention")?d.return():d.yield((0,E.firstValueFrom)(Rz(b.matDialogService.open(Ltc,{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 he(function(d){return 1==d.nextAddress?b.editIssueService.savingState(a).get("retention")?d.return():d.yield((0,E.firstValueFrom)(Rz(b.matDialogService.open(Htc,{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 he(function(d){return 1==d.nextAddress?d.yield((0,E.firstValueFrom)(Rz(b.matDialogService.open(Ktc,{maxWidth:560}))),2):(c=d.yieldResult)?d.yield(Gjc(b.editIssueService,String(a)),0):d.jumpTo(0)})};
var nld=function(a){var b={requestIssueDeletion:function(){a.domSafe.openInNewTab(xLa(a.activeSession.isInternalSession()))},showIndefiniteRetentionDialog:function(){var c=Vm(a.issueId$);c&&a.showIndefiniteRetentionDialog(c)},showComponentRetentionDialog:function(){var c=Vm(a.issueId$);c&&a.showComponentRetentionDialog(c)},submitArchivalState:function(c){var d=Vm(a.issueId$);d&&a.issueArchiveService.submitArchivalState(d,c)},showFlagAsSpamDialog:function(){var c=Vm(a.issueId$);c&&a.showFlagAsSpamDialog(c)}};
return(0,E.combineLatest)([a.issue$,a.issuePermissionService.userIsComponentAdmin$,a.issuePermissionService.issuePermissions$]).pipe(D(function(c){var d=k(c);c=d.next().value;var e=d.next().value,g;d={permissions:d.next().value,accessLevel:FAa(c),isArchived:null!=(g=null==c?void 0:c.isArchived)?g:!1,isDeleted:DAa(c),isInternal:a.activeSession.isInternalSession(),isComponentAdmin:e,retentionOverride:IAa(c),retentionState:LAa(c)};return[lld(b,d),mld(b,d),kld(b,d),jld(b,d)].filter(pi)}))};
hh.Object.defineProperties(f8.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)}}});f8.\u0275fac=function(a){return new (a||f8)(C(lH),C($I),C(gs),C(KF),C(QO),C(SJ),C(mJ),C(Wz),C(gH))};
f8.\u0275cmp=Gc({type:f8,selectors:[["issue-actions"]],viewQuery:function(a,b){a&1&&Uf(d8,5);if(a&2){var c;Tf(c=Wf())&&(b.helpHover=c.first)}},inputs:{issueId:"issueId"},features:[bf],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&&(Q(0,Vub,15,13,"ng-container",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.state$))},dependencies:[oO,dw,ew,uA,d8,EL,c8,Jz,DB,BB,CB,LB,s1,n0,m0,cT,$7,kw],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 g8=function(a,b,c,d,e,g,h,l,q){WD.call(this);var x=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 E.BehaviorSubject(null);this.searchResults$=this.internalSearchResults$.pipe(Fe(),Se(function(A){return A?A.changed$:(0,E.of)(null)}));this.issueIds$=this.searchResults$.pipe(D(function(A){var B;return null!=(B=null==
A?void 0:A.issues.map(function(K){return K.id}).map(ln))?B:[]}),Fe(Mh));this.issues$=this.issueIds$.pipe(Se(function(A){return(0,E.combineLatest)(A.map(function(B){return x.issueFridge.watch(B,{trustUncertainMemory:!0})}))}),Se(function(A){return(0,E.combineLatest)(A.map(function(B){return x.componentFridge.watch(String(null==B?void 0:B.snapshot[0].componentId),{trustUncertainMemory:!0}).pipe(D(function(K){return{issue:B,component:K}}))}))}));this.issueId$=this.issueDetailsBrain.id$;this.totalText$=
this.searchResults$.pipe(D(function(A){var B;return null!=(B=null==A?void 0:A.totalText)?B:""}));this.backNavigationLabel$=this.searchResults$.pipe(D(function(A){return(null==A?0:A.params.returnUrl)?"Back to previous search":"Go home"}));this.issueIndex$=(0,E.combineLatest)([this.searchResults$,this.issueId$]).pipe(D(function(A){var B=k(A);A=B.next().value;B=B.next().value;var K;return null!=(K=B&&(null==A?void 0:sX(A,B)))?K:-1}));this.hasPreviousIssue$=(0,E.combineLatest)([this.searchResults$,this.issueId$]).pipe(D(function(A){var B=
k(A);A=B.next().value;B=B.next().value;var K;if(K=B)null==A?A=0:(B=sX(A,B),A=null==B||-1===B?!1:B>A.startIndex||1<A.params.page),K=A;return!!K}));this.hasNextIssue$=(0,E.combineLatest)([this.searchResults$,this.issueId$]).pipe(D(function(A){var B=k(A);A=B.next().value;B=B.next().value;var K;if(K=B)null==A?A=0:(B=sX(A,B),A=null==B||-1===B?!1:B<A.endIndex||A.params.page<A.numPages),K=A;return!!K}));this.subscriptions.add(this.refreshMonitor.getObservable().subscribe(function(){old(x)}));this.subscriptions.add(this.issueDetailsBrain.id$.subscribe(function(A){x.issueId=
A;old(x)}));this.subscriptions.add(this.issues$.subscribe(function(A){var B=x.internalSearchResults$.value;B&&HSc(B,A.filter(function(K){var N=K.component;return K.issue&&N}))}))};U(g8,WD);g8.\u0275dir=WD.\u0275dir;
var pld=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)},Zub=function(a){var b=Vm(a.hasNextIssue$),c=Vm(a.issueIndex$);b&&c&&qld(a,c+1)},Yub=function(a){var b=Vm(a.hasPreviousIssue$),c=Vm(a.issueIndex$);b&&c&&qld(a,c-1)},old=function(a){var b,c,d;he(function(e){if(1==e.nextAddress)return e.yield(PSc(a.issuePagination).catch(Wub),2);b=e.yieldResult;
a.internalSearchResults$.next(null!=(c=b)?c:null);if(!b||!a.issueId)return e.return();d=sX(b,a.issueId);return-1===d?e.jumpTo(0):e.yield(QSc(a.issuePagination,d).catch(Wub),0)})},qld=function(a,b){QSc(a.issuePagination,b).then(function(c){a.bLocation.url(a.paths.editIssue(c))},function(){EF(a.butterBar,"Can't find issue id for index '"+b+"'")})};g8.\u0275fac=function(a){return new (a||g8)(u(YI),u(tX),u(lH),u(eF),u(XI),u(uG),u(vG),u(jH),u(CF))};g8.\u0275prov=qc({token:g8,factory:g8.\u0275fac,providedIn:"root"});var $ub=function(a){return{"invisible zero-width":a}},rld=function(a){this.currentSearchResults=a;this.HOTKEYS=FL};rld.\u0275fac=function(a){return new (a||rld)(C(g8))};
rld.\u0275cmp=Gc({type:rld,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&&(Q(0,avb,9,12,"ng-container",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.currentSearchResults.issueIndex$))},dependencies:[cw,ew,uA,EL,Jz,LB,kw],styles:["[_nghost-%COMP%]{display:inline-block;color:#5f6368;color:var(--muted);white-space:nowrap}.bv2-material   [_nghost-%COMP%]     button.mat-icon-button:not(.mat-primary):not([disabled]){color:#5f6368;color:var(--muted)}output[_ngcontent-%COMP%]{font-weight:500}[mat-icon-button][_ngcontent-%COMP%]{margin-left:-4px}[_nghost-%COMP%]   span.zero-width[_ngcontent-%COMP%]   *[_ngcontent-%COMP%]{width:0}/*# sourceMappingURL=pagination_one_issue.css.map */"],
changeDetection:0});var h8=function(a,b,c,d,e,g,h,l,q,x,A,B,K){WD.call(this);var N=this;this.errorHandler=a;this.issueApi=b;this.issueFridge=c;this.componentFridge=d;this.trackerFridge=e;this.issuePermissionService=g;this.snackBar=h;this.dialogRef=l;this.data=q;this.analytics=x;this.confirmationDialogService=B;this.jspbPrincipalTypes=K;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(D(function(P){var Y;return null!=(Y=null==P?void 0:P.snapshot[0].issueAccessLimitLevel)?Y:N.defaultAccessLimitLevel}));this.updatedAccessLimitLevel$=new E.BehaviorSubject(this.defaultAccessLimitLevel);this.hasAccessLimitLevelSelectionChanged$=(0,E.combineLatest)([this.currentAccessLimitLevel$,this.updatedAccessLimitLevel$]).pipe(D(function(P){var Y=
k(P);P=Y.next().value;Y=Y.next().value;return P!==Y}));this.componentId=this.data.componentId;this.component$=this.componentFridge.watch(this.componentId);this.trackerId$=this.component$.pipe(D(function(P){return null==P?void 0:P.trackerId}));this.tracker$=this.trackerId$.pipe(Se(function(P){return Nl(P)?(0,E.of)(void 0):N.trackerFridge.watch(P)}));this.trustedCollaboratorsEmailToDetailsMap=new Map;this.addedTrustedCollaborators=new Set;this.removedTrustedCollaborators=new Set;this.expandedAccessTooltip$=
this.isImplicitAccessEnabled$.pipe(D(function(P){return P?"This component has expanded access enabled. Assignees, verifiers, and collaborators can edit issues, and CC'd users can add comments.":"This component has expanded access disabled. Being listed on the issue does not confer any additional access privileges."}));this.didSave=function(){N.snackBar.open("Successfully saved access level",void 0,{duration:2500});N.issueFridge.poke(N.issueId)};this.currentUserEmail=A.getUserEmail();this.enableQuickAddCollaborators=
UD(A,"enableQuickAddCollaborators")};U(h8,WD);h8.\u0275dir=WD.\u0275dir;h8.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.currentAccessLimitLevel$.subscribe(function(b){a.updatedAccessLimitLevel$.next(b);bvb(a,b)}));this.subscriptions.add((0,E.combineLatest)([this.tracker$,this.issue$]).subscribe(function(b){var c=k(b);b=c.next().value;c=c.next().value;sld(a,b,c)}));this.analytics.trackEvent(Jn.ISSUE_ACCESS_LIMITS,"view","issue_access_limits_dialog:"+this.issueId)};
var sld=function(a,b,c){var d,e,g,h;he(function(l){if(1==l.nextAddress){a.trustedCollaboratorsEmailToDetailsMap.clear();a.addedTrustedCollaborators.clear();a.removedTrustedCollaborators.clear();if(b&&b.trustedCollaborators)for(d=k(b.trustedCollaborators),e=d.next();!e.done;e=d.next())g=e.value,g.emailAddress&&a.trustedCollaboratorsEmailToDetailsMap.set(g.emailAddress,{user:g,specifiedOnIssue:!1});return c&&c.snapshot&&c.snapshot[0].collaboratorsUsers?l.yield(tld(a,c.snapshot[0].collaboratorsUsers),
3):l.jumpTo(0)}h=l.yieldResult;h.forEach(function(q){a.trustedCollaboratorsEmailToDetailsMap.set(q.emailAddress,{user:q,specifiedOnIssue:!0})});me(l)})},tld=function(a,b){var c,d;return he(function(e){if(1==e.nextAddress)return c=b.map(function(g){return g.emailAddress}).filter(pi),e.yield(Iic(a.jspbPrincipalTypes,c,!1),2);d=e.yieldResult;return e.return(b.filter(function(g){if(!g.emailAddress)return!1;var h;return"GROUP"===(null==(h=d[g.emailAddress])?void 0:h.principalType)}))})},uld=function(a){return a?
"Expanded access on":"Expanded access off"},evb=function(a,b){return 0<a.addedTrustedCollaborators.size||0<a.removedTrustedCollaborators.size||!0===b},bvb=function(a,b){0<a.addedTrustedCollaborators.size&&a.analytics.trackEvent(Jn.ISSUE_ACCESS_LIMITS,"update","idp_added_dryrun:"+a.issueId);0<a.removedTrustedCollaborators.size&&a.analytics.trackEvent(Jn.ISSUE_ACCESS_LIMITS,"update","idp_removed_dryrun:"+a.issueId);a.issueApi.getRetainedAccessPrincipals(a.issueId,b,Array.from(a.addedTrustedCollaborators),
Array.from(a.removedTrustedCollaborators)).then(function(c){a.writers=ui(c.writers);a.appenders=ui(c.appenders);a.readers=ui(c.readers)},function(c){IF(a.errorHandler,c)})};f=h8.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=ti({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:fn(c),onConfirm:function(){a.save()}})}};
f.save=function(){var a=this;this.dialogRef.close();this.issueApi.updateAccessLimit(this.issueId,mi(this.updatedAccessLimitLevel$.value),Array.from(this.addedTrustedCollaborators),Array.from(this.removedTrustedCollaborators)).then(function(b){a.didSave(b);a.analytics.trackEvent(Jn.ISSUE_ACCESS_LIMITS,"update","issue_access_limits_dialog:"+a.updatedAccessLimitLevel$.value);0<a.addedTrustedCollaborators.size&&a.analytics.trackEvent(Jn.ISSUE_ACCESS_LIMITS,"update","idp_added:"+a.issueId);0<a.removedTrustedCollaborators.size&&
a.analytics.trackEvent(Jn.ISSUE_ACCESS_LIMITS,"update","idp_removed:"+a.issueId)},function(b){IF(a.errorHandler,b)})};f.onPressCancel=function(){this.dialogRef.close()};h8.\u0275fac=function(a){return new (a||h8)(C(GF),C(kE),C(lH),C(eF),C(IH),C($I),C(AF),C(Tz),C(Vz),C(gH),C(gs),C(oI),C(MI))};
h8.\u0275cmp=Gc({type:h8,selectors:[["b-issue-access-limits-dialog"]],hostBindings:function(a,b){a&1&&M("keydown.escape",function(){return b.onEscape()})},features:[bf],decls:37,vars:43,consts:[[1,"bv2-issue-limits-title"],[1,"lock-circle"],["svgIcon","lock","color","text-primary"],[1,"issue-limits-dialog-title-txt"],[3,"issueId","componentId","compactMode","popoutLink","viewOnly"],[1,"expanded-access"],[1,"expanded-access-txt"],["svgIcon","help-outline","tabindex","0","aria-hidden","false","aria-label",
"Help","role","button",1,"icon-s","valign-middle",3,"matTooltip"],[3,"disabled","defaultAccessLimitLevel","implicitAccessEnabled","updatedAccessLimitLevel"],[4,"ngIf"],[1,"limit-users-title"],["idForInputBox","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",""],[1,"trusted-groups-title"],["svgIcon","help-outline","tabindex","0","aria-hidden","false","matTooltip","Trusted group collaborators are configured by Tracker admins",1,"icon-s","valign-middle"],[1,"trusted-groups-checkboxes"],[4,"ngFor","ngForOf"],[1,"trusted-group-checkbox",3,"disabled","id","name","checked","click","change"],[1,"trusted-groups-email"],["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&&(G(0,"div",0)(1,"span",1),I(2,"mat-icon",2),H(),G(3,"h1",3),R(4,"Issue access level"),H()(),G(5,"div"),I(6,"b-component-breadcrumb-chip",4),G(7,"span",5),S(8,"async"),G(9,"span",6),R(10),S(11,"async"),H(),I(12,"mat-icon",7),S(13,"async"),H()(),G(14,"b-issue-access-limits-dropdown",8),M("updatedAccessLimitLevel",function(l){b.updatedAccessLimitLevel$.next(l);
bvb(b,l)}),S(15,"async"),S(16,"async"),S(17,"async"),H(),Q(18,dvb,9,7,"ng-container",9),S(19,"async"),G(20,"div")(21,"div",10),R(22,"Users who can edit, comment, and view"),H(),I(23,"b-multi-user-input",11),H(),G(24,"div")(25,"div",10),R(26,"Users who can comment and view"),H(),I(27,"b-multi-user-input",12),H(),G(28,"div")(29,"div",10),R(30,"Users who can only view"),H(),I(31,"b-multi-user-input",13),H(),G(32,"div",14),Q(33,fvb,6,3,"ng-container",15),S(34,"async"),Q(35,gvb,2,0,"ng-template",null,
16,Zf),H());if(a&2){var c=Cf(36),d,e,g,h;z(6);F("issueId",b.issueId)("componentId",b.data.componentId)("compactMode",!0)("popoutLink",b.manageComponentAccessRouterLink)("viewOnly",!0);z(1);qf("expanded-access-on",T(8,27,b.isImplicitAccessEnabled$));z(3);Ef(uld(null!==(d=T(11,29,b.isImplicitAccessEnabled$))&&void 0!==d?d:!1));z(2);F("matTooltip",null!==(e=T(13,31,b.expandedAccessTooltip$))&&void 0!==e?e:"");z(2);F("disabled",!T(15,33,b.hasAclToAdmin$))("defaultAccessLimitLevel",null!==(g=T(16,35,b.currentAccessLimitLevel$))&&
void 0!==g?g:b.defaultAccessLimitLevel)("implicitAccessEnabled",null!==(h=T(17,37,b.isImplicitAccessEnabled$))&&void 0!==h?h:!1);z(4);F("ngIf",b.enableQuickAddCollaborators&&0<b.trustedCollaboratorsEmailToDetailsMap.size&&T(19,39,b.hasAclToAdmin$));z(5);F("users",b.writers)("includeAliases",!1)("includeViewAliases",!1);gf("disabled",!0);z(4);F("users",b.appenders)("includeAliases",!1)("includeViewAliases",!1);gf("disabled",!0);z(4);F("users",b.readers)("includeAliases",!1)("includeViewAliases",!1);
gf("disabled",!0);z(2);F("ngIf",T(34,41,b.hasAclToAdmin$))("ngIfElse",c)}},dependencies:[W_,dw,ew,uA,Z7,Jz,$z,LB,x0,vN,kw,pw],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}.mat-checkbox[_ngcontent-%COMP%]{padding-right:5px}.trusted-groups-title[_ngcontent-%COMP%]{padding:0 5px 5px 0}.trusted-groups-checkboxes[_ngcontent-%COMP%]{padding:5px 10px 20px 0}div.disabled[_ngcontent-%COMP%]{color:var(--text-disabled)}.trusted-groups-email[_ngcontent-%COMP%]{padding-right:20px}.expanded-access-txt[_ngcontent-%COMP%], .issue-limits-component-id[_ngcontent-%COMP%]{padding:5px}\n/*# sourceMappingURL=issue_access_limits_dialog.css.map */"]});
var i8=function(a){this.dialog=a};i8.prototype.open=function(a){this.dialog.open(h8,{panelClass:"no-jitter",data:a,ariaLabel:"Issue access level"})};i8.\u0275fac=function(a){return new (a||i8)(u(Wz))};i8.\u0275prov=qc({token:i8,factory:i8.\u0275fac,providedIn:"root"});var j8=function(a,b,c){this.documentationLinks=a;this.issueLimits=b;this.accessPolicyApi=c;this.implicitAccessEnabled=!1};j8.prototype.ngOnInit=function(){var a=this;this.accessPolicyApi.checkComponentImplicitAccessEnabled(Number(this.componentId)).then(function(b){return a.implicitAccessEnabled=b})};j8.prototype.toggleAccessLimits=function(){var a=this;return he(function(b){a.issueLimits.open({componentId:Number(a.componentId),issueId:a.issueId});me(b)})};
j8.prototype.toggleAccessLimitsWithKeystroke=function(a){this.toggleAccessLimits();a.stopPropagation();a.preventDefault()};j8.prototype.getAccessLimitLevelDisplay=function(a){return"LIMIT_APPEND"===a?"Commenting":"LIMIT_VIEW"===a||"LIMIT_VIEW_TRUSTED"===a?"Visibility":""};
var vld=function(a,b){if(b)a:if(a=a.implicitAccessEnabled,b===jZc.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(m7a),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?Ap.descriptionWithExpandedAccess:Ap.descriptionNoExpandedAccess}else b="";return b};j8.\u0275fac=function(a){return new (a||j8)(C(nI),C(i8),C(VF))};
j8.\u0275cmp=Gc({type:j8,selectors:[["b-access-limits-chip"]],inputs:{issueId:"issueId",componentId:"componentId",accessLimitLevel:"accessLimitLevel"},decls:12,vars:4,consts:[["role","button","matTooltip","Press Alt + Right arrow for more details",1,"chippy","rounded","nowrap","access-limited",3,"onedevHovercardTrigger","click","keydown.enter","keydown.space"],["svgIcon","encrypted_24px",1,"icon-s","valign-middle"],[1,"access-limit-display-name"],["card","onedevHovercard"],[1,"onedev-hovercard-content"],
[1,"onedev-hovercard-body"],[1,"hovertext"],["target","_blank","aria-label","Learn more about issue access limits",3,"href"]],template:function(a,b){a&1&&(G(0,"button",0),M("click",function(){return b.toggleAccessLimits()})("keydown.enter",function(d){return b.toggleAccessLimitsWithKeystroke(d)})("keydown.space",function(d){return b.toggleAccessLimitsWithKeystroke(d)}),I(1,"mat-icon",1),G(2,"span",2),R(3),H()(),G(4,"onedev-hovercard",null,3)(6,"div",4)(7,"div",5)(8,"span",6),R(9),G(10,"a",7),R(11,
" Learn more"),H()()()()());if(a&2){var c=Cf(5);F("onedevHovercardTrigger",c);z(3);Ef(b.getAccessLimitLevelDisplay(b.accessLimitLevel));z(6);Df(" Issue access is limited. ",vld(b,b.accessLimitLevel)," ");z(1);F("href",b.documentationLinks.getIssueAccessLimit(),Md)}},dependencies:[uA,LB,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 wld=function(a){this.brain=a;this.INTERNAL="INTERNAL";this.issue$=this.brain.issueJs$.pipe(D(function(b){return null==b?void 0:b.issue}),ye(pi));this.retentionState$=this.issue$.pipe(D(function(b){var c;return null==(c=b.aggregatedData)?void 0:c.retentionState}));this.modifiedTime$=this.issue$.pipe(D(function(b){var c;return(null==(c=b.aggregatedData)?0:c.modifiedTimeMicros)?b.aggregatedData.modifiedTimeMicros/1E3:void 0}),ye(pi));this.accessLevel$=this.issue$.pipe(D(function(b){var c;return null==
(c=b.accessLimit)?void 0:c.accessLevel}),ye(pi));this.issueAccessLimitLevel$=this.issue$.pipe(D(function(b){return b.snapshot[0].issueAccessLimitLevel}));this.issueId$=this.issue$.pipe(D(function(b){return b.issueId}));this.state$=(0,E.combineLatest)([this.retentionState$,this.issueAccessLimitLevel$,this.modifiedTime$,this.accessLevel$,this.issueId$,this.brain.componentId$]).pipe(D(function(b){var c=k(b);b=c.next().value;var d=c.next().value,e=c.next().value,g=c.next().value,h=c.next().value;c=c.next().value;
return{retentionState:b,isAccessLimited:"LIMIT_VIEW"===d||"LIMIT_APPEND"===d||"LIMIT_VIEW_TRUSTED"===d,isShowingRetention:null==(null==b?void 0:b.scheduledDeletionTime)?!1:I8a(b),isShowingPublicPartner:"INTERNAL"!==g,modifiedTime:e,accessLevel:g,issueId:h,componentId:c,issueAccessLimitLevel:d}}))};wld.\u0275fac=function(a){return new (a||wld)(C(YI))};
wld.\u0275cmp=Gc({type:wld,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&&(Q(0,lvb,2,1,"ng-container",
0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.state$))},dependencies:[j8,ew,hO,o0,kw],encapsulation:2});var k8=function(a,b,c,d,e,g,h){WD.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 E.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=FL;this.issue$=
this.issueId$.pipe(Se(this.issueFridge.watch));this.issueTitle$=this.issue$.pipe(D(function(q){return null==q?void 0:q.snapshot[0].title}));this.starred$=this.issue$.pipe(D(function(q){var x;return mi(null==q?void 0:null==(x=q.userData)?void 0:x.starred)}));this.componentId$=this.issue$.pipe(D(function(q){return mi(null==q?void 0:q.snapshot[0].componentId)}));this.ancestors$=this.issue$.pipe(D(function(q){return mi(null==q?void 0:q.ancestors)}));this.hasAncestors$=this.ancestors$.pipe(D(function(q){return!!(q&&
0<q.size)}));this.teamId$=this.issue$.pipe(D(function(q){var x;return mi(null==q?void 0:null==(x=q.aggregatedData)?void 0:x.teamId)}));this.blockedByids$=this.issue$.pipe(D(function(q){var x;return null!=(x=null==q?void 0:q.snapshot[0].blockedByIssueId)?x:[]}));this.issuesBlockedByCount$=this.blockedByids$.pipe(Se(this.issueFridge.watchSet),D(function(q){return q.filter(yl)}),D(function(q){return q.length}));Um(this.issuesBlockedByCount$.pipe(D(wvb),Te(this.destroyed$)),"Blocked");this.blockedByids$.pipe(D(xvb));
this.blockedByids$.pipe(D(this.blockedIdsToUrlQuery));this.isWithinExternalComponent$=this.issuePermissionService.isWithinExternalComponent$;this.status$=this.issue$.pipe(D(function(q){return(null==q?void 0:q.snapshot[0].status)||void 0}));this.statusCssClass$=this.status$.pipe(D(function(q){return l.computeStatusCssClass(q)}));this.prettyStatus$=this.status$.pipe(ye(pi),D(function(q){return ol[q]}));this.statusIsFeatured$=this.status$.pipe(D(function(q){return!!Fbc[q]}));this.toggleStar=function(){var q=
!!Vm(l.starred$);l.starToggleDisabled=!0;Ufc(l.issueFridge,l.issueId,!q).pipe(Je(),Te(l.destroyed$)).subscribe(function(){l.starToggleDisabled=!1})};this.toggleStarDebounced=NQb(this.toggleStar,1E3)};U(k8,WD);k8.\u0275dir=WD.\u0275dir;var xld=function(a,b){a.editTitleDisabled=!0;Vfc(a.issueFridge,a.issueId,b).pipe(Te(a.destroyed$)).subscribe(function(){a.editTitleDisabled=!1;a.eventsForIssueFridge.poke(a.issueId)})};
k8.prototype.computeStatusCssClass=function(a){return null===a||void 0===a?"":"status-"+jj[a]};k8.prototype.refresh=function(){this.refreshMonitor.refreshRequest.next()};hh.Object.defineProperties(k8.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.internalIssueId=a;this.issueId$.next(a)},get:function(){return this.internalIssueId}}});k8.\u0275fac=function(a){return new (a||k8)(C(lH),C($I),C(nG),C(jH),C(g8),C(lK),C(SE))};
k8.\u0275cmp=Gc({type:k8,selectors:[["issue-header"]],inputs:{issueId:"issueId"},features:[bf],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&&(G(0,"div",0),S(1,"async"),S(2,"async"),S(3,"async"),I(4,"aside",1),S(5,"async"),S(6,"async"),G(7,"div",2)(8,"div",3),Q(9,nvb,2,1,"ng-container",4),S(10,"async"),Q(11,qvb,4,7,"ng-template",null,5,Zf),Q(13,svb,4,7,"ng-template",
null,6,Zf),H(),G(15,"div",7),I(16,"b-pagination-one-issue"),H()(),G(17,"div",8)(18,"div",9)(19,"div",10)(20,"button",11),M("onHotkey",function(){return pld(b.currentSearchResults)})("click",function(){return pld(b.currentSearchResults)}),S(21,"async"),S(22,"async"),I(23,"mat-icon",12),H(),G(24,"button",13),M("onHotkey",function(){return b.refresh()})("click",function(){return b.refresh()}),I(25,"mat-icon",14),H(),G(26,"b-star-toggle",15),M("starClicked",function(){return b.toggleStar()})("onHotkey",
function(){return b.toggleStarDebounced()}),S(27,"async"),H()(),I(28,"issue-chip-indicators"),H(),G(29,"div",16)(30,"issue-title",17),M("updateTitle",function(e){return xld(b,e)}),S(31,"async"),S(32,"async"),H(),Q(33,uvb,3,2,"div",18),S(34,"async"),G(35,"onedev-hovercard",null,19),Q(37,vvb,4,7,"ng-container",20),H(),I(38,"issue-actions",21)(39,"issue-actions",22),H()()());if(a&2){var c=Cf(14),d;qf("overline",T(1,22,b.statusIsFeatured$))("color-field",T(2,24,b.statusIsFeatured$));Af("ngClass",T(3,
26,b.statusCssClass$));z(4);Bf("title","[",T(5,28,b.prettyStatus$),"] ",T(6,30,b.issueTitle$),"");z(5);F("ngIf",T(10,32,b.hasAncestors$))("ngIfElse",c);z(11);F("hotkey",b.HOTKEYS.GO_UP_TO_LIST)("matTooltip",null!==(d=T(21,34,b.currentSearchResults.backNavigationLabel$))&&void 0!==d?d:"");gf("aria-label",T(22,36,b.currentSearchResults.backNavigationLabel$));z(4);F("hotkey",b.HOTKEYS.REFRESH_ISSUE);z(2);F("starred",T(27,38,b.starred$))("disabled",b.starToggleDisabled)("hotkey",b.HOTKEYS.TOGGLE_STAR);
z(4);F("title",T(31,40,b.issueTitle$))("disabled",b.editTitleDisabled)("hasAclToEdit",T(32,42,b.issuePermissionService.hasAclToEdit$));z(3);F("ngIf",T(34,44,b.issuesBlockedByCount$));z(5);F("issueId",b.issueId);z(1);F("issueId",b.issueId)}},dependencies:[Y7,cw,ew,jw,uA,Z7,EL,qJ,rJ,vJ,sJ,ML,aT,X7,Jz,LB,RS,PU,rld,f8,wld,kw],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 l8=function(a,b){var c=this;this.currentTracker=a;this.trackerFridge=b;this.issueTrackerId$=new E.BehaviorSubject("");this.showTrackerBanner$=(0,E.combineLatest)([this.issueTrackerId$,this.currentTracker.trackerId$]).pipe(D(function(d){var e=k(d);d=e.next().value;e=e.next().value;return!!Nl(e)&&!Nl(d)}));this.tracker$=this.issueTrackerId$.pipe(Se(function(d){return Nl(d)?(0,E.of)(void 0):c.trackerFridge.watch(d)}));this.trackerRedirectUrl$=this.tracker$.pipe(D(function(d){return mK(c.currentTracker,
String(c.issueId),d)}))};hh.Object.defineProperties(l8.prototype,{trackerId:{configurable:!0,enumerable:!0,set:function(a){this.issueTrackerId$.next(null!=a?a:"")}}});l8.\u0275fac=function(a){return new (a||l8)(C(lK),C(IH))};
l8.\u0275cmp=Gc({type:l8,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&&(Q(0,yvb,7,6,"div",0),S(1,"async"),S(2,"async"));a&2&&F("ngIf",T(1,1,b.showTrackerBanner$)&&T(2,3,b.tracker$))},dependencies:[ew,Kz,kw],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 m8=function(a,b,c){var d=this;this.currentTracker=a;this.trackerFridge=b;this.activeSession=c;this.trackerId$=new E.BehaviorSubject("");this.tracker$=this.trackerId$.pipe(Se(function(e){return Nl(e)?(0,E.of)(void 0):d.trackerFridge.watch(e)}));this.trackerName$=this.tracker$.pipe(D(function(e){return e?e.name:d.activeSession.getAppName()}));this.currentTrackerLogo$=this.currentTracker.tracker$.pipe(D(function(e){return d.getLogoUrl(e)}));this.trackerLogo$=this.tracker$.pipe(D(function(e){return d.getLogoUrl(e)}));
this.trackerRedirectUrl$=this.tracker$.pipe(D(function(e){var g="";d.issue&&(g=String(d.issueId));d.component&&(g="components/"+d.componentId);return e?mK(d.currentTracker,g,e):cmc(d.currentTracker,g)}))};m8.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:""};
m8.prototype.ngOnChanges=function(a){a.issue&&this.issue&&this.trackerId$.next(this.issue.trackerId||"");a.component&&this.component&&this.trackerId$.next(this.component.trackerId||"")};
hh.Object.defineProperties(m8.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 Jbc[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 ol[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}}});m8.\u0275fac=function(a){return new (a||m8)(C(lK),C(IH),C(gs))};
m8.\u0275cmp=Gc({type:m8,selectors:[["b-tracker-redirect"]],inputs:{issue:"issue",component:"component"},features:[Zc],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&&Q(0,Avb,15,13,"div",0);a&2&&F("ngIf",b.showResourceContainer)},dependencies:[ew,uA,Kz,LB,kw],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 yld=[[["",8,"value-action"]]],n8=function(a){WD.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 Gv;this.toggleAccessLimits=new Gv;this.additionAllowed=!0;this.ListFieldType=AVc;this.userPrincipalValidator=function(c){var d,e,g;return he(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(Iic(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.":"")})}};U(n8,WD);n8.\u0275dir=WD.\u0275dir;n8.\u0275fac=function(a){return new (a||n8)(C(MI))};
n8.\u0275cmp=Gc({type:n8,selectors:[["b-collaborators-field"]],inputs:{readonly:"readonly",collaborators:"collaborators",collaboratorsUsers:"collaboratorsUsers",listFieldDisabled:"listFieldDisabled",teamId:"teamId",isCollapsible:"isCollapsible",additionAllowed:"additionAllowed"},outputs:{valuesChange:"valuesChange",toggleAccessLimits:"toggleAccessLimits"},features:[Gf([cH]),bf],ngContentSelectors:[".value-action"],decls:3,vars:16,consts:[["aria-label","Collaborators are people directly working on this issue.",
1,"full-width",3,"defaultLineCount","readonly","additionAllowed","title","type","isUser","values","users","inputValidator","listFieldDisabled","teamId","isExpanded","collapsiblePanelTitle","isCollapsible","iconName","valuesChange","toggleAccessLimits"],[1,"value-action"]],template:function(a,b){a&1&&(xf(yld),G(0,"b-list-field",0),M("valuesChange",function(c){return b.valuesChange.emit(c)})("toggleAccessLimits",function(){return b.toggleAccessLimits.emit()}),G(1,"div",1),yf(2),H()());a&2&&(Bf("collapsiblePanelTitle",
"",b.collaborators.length," ",1===b.collaborators.length?"user":"users",""),F("defaultLineCount",5)("readonly",b.readonly)("additionAllowed",b.additionAllowed)("title","Collaborators")("type",b.ListFieldType.USERCHIP)("isUser",!0)("values",b.collaborators)("users",b.collaboratorsUsers)("inputValidator",b.userPrincipalValidator)("listFieldDisabled",b.listFieldDisabled)("teamId",b.teamId)("isExpanded",!0)("isCollapsible",b.isCollapsible)("iconName",b.isCollapsible?"groups_24px":""))},dependencies:[HZ],
encapsulation:2});var o8=function(){};o8.\u0275fac=function(a){return new (a||o8)};o8.\u0275mod=Ic({type:o8});o8.\u0275inj=rc({imports:[IZ,tF,JC]});var zld=function(){var a=this;this.pressed=new Gv;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"}};zld.\u0275fac=function(a){return new (a||zld)};
zld.\u0275cmp=Gc({type:zld,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&&(G(0,"button",0),M("click",function(){return b.pressed.emit()}),R(1,"Insights "),jd(),G(2,"svg",1)(3,"g",2),I(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),H()()());a&2&&(F("title",b.getTooltip())("disabled",b.disabled),gf("aria-label",b.getTooltip()))},dependencies:[Jz],styles:["button.gmat-button[_ngcontent-%COMP%]{line-height:20px;padding:0 5px;font-size:.75rem;font-weight:500;font-family:Roboto,Arial,sans-serif}[disabled][_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{filter:grayscale(1);opacity:.5}svg[_ngcontent-%COMP%]{height:14px;width:14px;vertical-align:text-bottom}/*# sourceMappingURL=insights_graph_btn.css.map */"],
changeDetection:0});var Ald=new Rc("PeoplekitClientConfig"),Bld=function(a){this.matcher=a};Bld.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};Bld.prototype.reset=function(){};var p8=function(a,b){null!=b||(b=Ac(We));var c=new K9c;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 G9c;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 Eyc(c.getPeopleApiEnv(),new Fyc(""))}});this.peopleStore=b.peopleStore;this.environmentConfig=b.environmentConfig};p8.\u0275fac=function(a){return new (a||p8)(u(Ald),u(We))};p8.\u0275prov=qc({token:p8,factory:p8.\u0275fac});var q8=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 Gv;this.sessionOptions=(new Jq).setFilter(Cld);this.inputSearchDelay=200;this.destroyed$=new E.ReplaySubject(1);this.inputChanged$=new E.ReplaySubject(1)};f=q8.prototype;f.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete();this.autocomplete.dispose()};
f.ngOnInit=function(){var a=this,b=this.clientConfig.autocompleteFactory.createConfig(this.peopleKitService.environmentConfig);Bvb(b,this.config);this.zone.runOutsideAngular(function(){var c;a.autocomplete=null==(c=a.clientConfig.autocompleteFactory)?void 0:c.create(a.getAnchor(),a.inputEl.nativeElement,a.peopleKitService.peopleStore,b,a.sessionOptions)});l6c(this.autocomplete,function(c){a.selectionChange.emit(c);a.autocomplete.report(4)});this.inputChanged$.pipe(De(this.inputSearchDelay)).subscribe(function(){a.search()})};
f.getAnchor=function(){if(!this.peopleKitService.autocompleteAnchor){var a=this.renderer.createElement("div");this.peopleKitService.autocompleteAnchor=a;this.renderer.addClass(a,"peoplekit-autocomplete-anchor");var b;(null!=(b=oBa(this.inputEl.nativeElement))?b:this.document.body).append(a)}return this.peopleKitService.autocompleteAnchor};f.search=function(){var a=this;this.zone.runOutsideAngular(function(){a.autocomplete.search(a.inputEl.nativeElement.value,a.inputEl.nativeElement)})};
f.cancel=function(){var a=this;this.zone.runOutsideAngular(function(){a.autocomplete.cancel()})};q8.\u0275fac=function(a){return new (a||q8)(C(Ald),C(fh),C(p8),C(vd),C(We),C(fv))};
q8.\u0275dir=Kc({type:q8,selectors:[["input","peoplekitAutocomplete",""]],hostBindings:function(a,b){a&1&&M("input",function(){return b.inputChanged$.next()})("focus",function(){return b.search()})("blur",function(){return b.cancel()})},inputs:{config:["peoplekitAutocompleteConfig","config"],sessionOptions:["peoplekitSearchSessionOptions","sessionOptions"],inputSearchDelay:["peoplekitAutocompleteInputSearchDelay","inputSearchDelay"]},outputs:{selectionChange:"peoplekitAutocompleteSelectionChange"},
exportAs:["peoplekitAutocomplete"]});var Cld=$hb(1);var Dld=["popOver"],Eld=["inputBox"],r8=function(a){this.defaultAutocompleteConfig=a;this.mergedAutocompleteConfig=Object.assign({},Fld,this.defaultAutocompleteConfig);this.displayUnder=!1;this.initialInputValue="";this.openPopOverOnInit=!1;this.closed=new Gv;this.inputValue="";this.sessionOptions=Gld};r8.prototype.ngAfterViewInit=function(){this.openPopOverOnInit&&this.openPopOver(this.initialInputValue)};
r8.prototype.ngOnChanges=function(a){a.autocompleteConfig&&(this.mergedAutocompleteConfig=Object.assign({},Fld,this.defaultAutocompleteConfig,this.autocompleteConfig))};r8.prototype.openPopOver=function(a){var b=this;this.inputValue=a;this.popOver.open();setTimeout(function(){var c;null==(c=b.inputBox)||c.nativeElement.select()})};r8.prototype.onPopOverClose=function(a){this.closed.emit(0===a?this.inputValue:void 0);this.inputValue=""};r8.\u0275fac=function(a){return new (a||r8)(C(Hld,8))};
r8.\u0275cmp=Gc({type:r8,selectors:[["onedev-user-picker-panel","anchor",""]],viewQuery:function(a,b){a&1&&(Uf(Dld,7),Uf(Eld,5));if(a&2){var c;Tf(c=Wf())&&(b.popOver=c.first);Tf(c=Wf())&&(b.inputBox=c.first)}},inputs:{anchor:"anchor",autocompleteConfig:"autocompleteConfig",displayUnder:"displayUnder",initialInputValue:"initialInputValue",openPopOverOnInit:"openPopOverOnInit"},outputs:{closed:"closed"},features:[Zc],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&&(G(0,"onedev-pop-over-edit-panel",0,1),M("closedWithAction",function(d){return b.onPopOverClose(d)}),H(),Q(2,Cvb,2,3,"ng-template",null,2,Zf));if(a&2){var c=Cf(3);F("anchor",b.anchor)("displayUnder",b.displayUnder)("editorTemplate",
c)}},dependencies:[og,Fw,Lw,V5,q8],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 Hld=new Rc("user-picker-autocomplete-config"),Fld={showSuggestions:!0,moveAutocompleteAboveAnchorIfOffscreen:!0,density:2},Gld=(new Jq).setFilter(dib($hb(1),new Bld(function(a){return 0<=a.indexOf("-pager")||0<=a.indexOf("+pager")||0<=a.indexOf("lifeguard-ng")})));var Evb=function(a){return{$implicit:a}},Ild=0,s8=function(){this.val="";this.disabled=!1;this.emailChange=new Gv;this.popOverOpen=this.active=!1;this.contentId="onedev-user-picker-"+Ild;this.onChange=function(){};this.onTouched=function(){};Ild++};U(s8,MY);f=s8.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};
hh.Object.defineProperties(s8.prototype,{email:{configurable:!0,enumerable:!0,get:function(){return this.val},set:function(a){a!==this.val&&this.writeValue(a)}}});s8.\u0275fac=function(a){return new (a||s8)};
s8.\u0275cmp=Gc({type:s8,selectors:[["onedev-user-picker"]],viewQuery:function(a,b){a&1&&Uf(r8,7);if(a&2){var c;Tf(c=Wf())&&(b.popOver=c.first)}},inputs:{email:"email",disabled:"disabled",labelledById:"labelledById",selectedUserTemplate:"selectedUserTemplate",autocompleteConfig:"autocompleteConfig"},outputs:{emailChange:"emailChange"},exportAs:["onedevUserPicker"],features:[Gf([{provide:MY,useExisting:wc(function(){return s8}),multi:!0},{provide:uw,useExisting:wc(function(){return s8}),multi:!0}]),
bf],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&&(G(0,"button",0,1),M("focus",function(){return b.active=!0})("blur",function(){return b.active=!1})("click",function(){return b.openPopOver()}),Q(2,Fvb,2,4,"ng-container",2),Q(3,Gvb,1,1,"ng-template",null,3,Zf),Q(5,Hvb,2,0,"svg",4),H(),G(6,"onedev-user-picker-panel",5),M("closed",function(e){return b.onPopOverClose(e)}),H());if(a&2){var c=Cf(1),d=Cf(4);qf("active",b.isActive());gf("id",b.contentId)("aria-labelledby",b.contentAriaLabelledBy());z(2);F("ngIf",b.selectedUserTemplate)("ngIfElse",
d);z(3);F("ngIf",!b.disabled);z(1);F("anchor",c)("autocompleteConfig",b.autocompleteConfig)}},dependencies:[ew,jw,r8],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 Jld=["picker"],t8=function(){this.disabled=!1;this.emailChange=new Gv;this.userEmail=""};U(t8,MY);t8.prototype.openPopOver=function(){this.picker.openPopOver()};t8.prototype.isActive=function(){return this.picker.isActive()};hh.Object.defineProperties(t8.prototype,{user:{configurable:!0,enumerable:!0,set:function(a){this.userEmail=ei(a)||""}}});t8.\u0275fac=function(){var a;return function(b){return(a||(a=td(t8)))(b||t8)}}();
t8.\u0275cmp=Gc({type:t8,selectors:[["b-user-picker"]],viewQuery:function(a,b){a&1&&Uf(Jld,7);if(a&2){var c;Tf(c=Wf())&&(b.picker=c.first)}},inputs:{user:"user",teamId:"teamId",disabled:"disabled",labelledById:"labelledById"},outputs:{emailChange:"emailChange"},exportAs:["bUserPicker"],features:[Gf([{provide:MY,useExisting:wc(function(){return t8}),multi:!0}]),bf],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&&(G(0,"onedev-user-picker",0,1),M("emailChange",function(d){return b.emailChange.emit(d)}),H(),Q(2,Jvb,1,1,"ng-template",null,2,Zf));if(a&2){var c=Cf(3);F("email",b.userEmail)("disabled",b.disabled)("labelledById",b.labelledById)("selectedUserTemplate",c)}},dependencies:[ew,sO,s8],styles:["b-user-membership-chip[_ngcontent-%COMP%]     .user-chip-small, b-user-membership-chip[_ngcontent-%COMP%]     .internal-non-team-member-chip{width:100%}  .peoplekit-autocomplete-anchor{z-index:1001}/*# sourceMappingURL=user_picker.css.map */"]});var Mvb=function(a){return[a]},Pvb=function(){return[]},Fwb=function(a){return{$implicit:a}},u8=function(a,b,c,d,e,g,h,l,q,x,A,B,K,N,P){var Y=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=x;this.changelistApi=A;this.issueMarkAsDuplicateDialogService=B;this.analytics=K;this.issueInsightsSidebarService=N;this.issueLimits=
P;this.issueId$=new E.ReplaySubject(1);this.distinctIssueId$=this.issueId$.pipe(Fe());this.issue$=this.distinctIssueId$.pipe(Se(function(X){return Y.editIssueService.editableIssue$(X)}));this.enablePeoplekitAc=UD(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=FL;this.trackCustomField=function(X,ka){return"{"+ka.componentId+", "+ka.customFieldId+"}"};this.FieldType=rVc;this.ListFieldType=AVc;this.hasAclToAdmin$=this.issuePermissionService.hasAclToAdmin$;this.hasAclToEdit$=this.issuePermissionService.hasAclToEdit$;this.isCurrentUserCCd$=this.issuePermissionService.isCurrentUserCCd$;this.isCurrentUserCollaborator$=this.issuePermissionService.isCurrentUserCollaborator$;this.isAllowedToEditCC$=this.issuePermissionService.isAllowedToEditCC$;
this.isImplicitAccessEnabled$=this.issuePermissionService.isImplicitAccessEnabled$;this.isWithinExternalComponent$=this.issuePermissionService.isWithinExternalComponent$;this.shouldDisplayWtdmUi$=this.issuePermissionService.isWithinExternalComponent$.pipe(D(function(X){return!Y.activeSession.isExternalSession()&&!X}));this.teamSuggestions$=this.issueDetailsBrain.teamSuggestions$;this.effortSpec$=this.issueDetailsBrain.effortSpec$;this.isEffortEnabled$=this.issueDetailsBrain.isEffortEnabled$;this.canonicalIssueId$=
this.issueDetailsBrain.canonicalIssueId$;this.sloId$=this.issueDetailsBrain.sloId$;this.sloStatus$=this.issueDetailsBrain.sloStatus$;this.createdTimeMicros$=this.issueDetailsBrain.createdTimeMicros$;this.teamId$=this.issueDetailsBrain.teamId$;this.teamWarningType$=this.issueDetailsBrain.team$.pipe(D(qmb));this.component$=this.issueDetailsBrain.component$;this.effort$=this.issueDetailsBrain.effort$;this.accessLimitLevel$=this.issueDetailsBrain.accessLimitLevel$;this.issueFields$=this.distinctIssueId$.pipe(D(function(X){return Y.editIssueService.issueFields(X)}),
Pe({refCount:!0,bufferSize:1}));this.isForgottenFourPrimary$=this.issueFields$.pipe(Se(function(X){return X.isForgottenFourPrimary$}));this.showHiddenFieldsLabel$=this.issueFields$.pipe(Se(function(X){return X.showHiddenFieldsLabel$}));this.hasHiddenFields$=this.issueFields$.pipe(Se(function(X){return X.hasHiddenFields$}));this.isChangelistPrimary$=this.issueFields$.pipe(Se(function(X){return X.isChangelistPrimary$}));this.isSeverityPrimary$=this.issueFields$.pipe(Se(function(X){return X.isSeverityPrimary$}));
this.isSloStatusPrimary$=this.issueFields$.pipe(Se(function(X){return X.isSloStatusPrimary$}));this.hiddenCustomFields$=this.issueFields$.pipe(Se(function(X){return X.hiddenCustomFields$}));this.visibleCustomFields$=this.issueFields$.pipe(Se(function(X){return X.visibleCustomFields$}));this.issueQuickActions$=this.distinctIssueId$.pipe(D(function(X){return Y.editIssueService.issueQuickActions(X)}),Pe({refCount:!0,bufferSize:1}));this.issueAssigneeQuickAction$=this.issueQuickActions$.pipe(Se(function(X){return X.issueAssigneeQuickAction$}));
this.issueStatusQuickAction$=this.issueQuickActions$.pipe(Se(function(X){return X.issueStatusQuickAction$}));this.priorityChoices=this.constants.priorities.map(function(X){return{value:X,displayText:X}});this.severityChoices=this.constants.severities.map(function(X){return{value:X,displayText:X}});this.typeChoices=this.constants.editIssueTypeChoices;this.teamHovercardInputs$=(0,E.combineLatest)([this.issueDetailsBrain.componentId$,this.teamId$]).pipe(D(function(X){var ka=k(X);X=ka.next().value;ka=
ka.next().value;return{teamId:ka?String(ka):"0",componentId:X?String(X):"0"}}));this.isTeamWarningDismissed$=(0,E.combineLatest)([this.issue$,this.userPreferencesManager.preferences$]).pipe(D(function(X){X=k(X);var ka=X.next().value,ma,za;return null==(ma=X.next().value.teamWarningPreferences)?void 0:null==(za=ma.componentTeamWarnings)?void 0:za.some(function(Ba){return Ba.componentId===ka.componentId})}));this.shouldDisplayTeamSuggestions$=(0,E.combineLatest)([this.issuePermissionService.userIsComponentAdmin$,
this.isTeamWarningDismissed$,this.teamWarningType$]).pipe(D(function(X){var ka=k(X);X=ka.next().value;var ma=ka.next().value;ka=ka.next().value;return UD(Y.activeSession,"enableTeamSuggestions")&&X&&!ma&&("MISSING"===ka||"DELETED"===ka)}));this.statusChoices$=this.canonicalIssueId$.pipe(D(function(X){return[].concat(Vc(Nbc.filter(function(ka){return"DUPLICATE"!==ka.value})),[{value:"DUPLICATE",displayText:X?"Duplicate of "+X:"Duplicate"}])}));this.workspaces$=this.distinctIssueId$.pipe(Se(function(X){return dtc(Y.workspaceService,
X)}),Pe({refCount:!0,bufferSize:1}));this.pendingChangelists$=Tfc(this.refreshMonitor,this.distinctIssueId$).pipe(Se(function(X){return Y.changelistApi.getPendingChangelistsForIssue(X)}),D(function(X){return X.changelistNumbers}),D(function(X){return{cls:X,hasError:!1}}),Ce(function(){return(0,E.of)({cls:[],hasError:!0})}),Pe({refCount:!0,bufferSize:1}));this.COLLABORATORS_HOVERCARD_CONFIG=Object.assign({},new tJ,{position:[Yjc]});this.ACCESS_LIMITS_HOVERCARD_CONFIG=Object.assign({},new tJ,{position:[{originX:"start",
originY:"center",overlayX:"end",overlayY:"center",offsetX:-30}]});this.reconcileView={assignee:function(X){var ka,ma;X.value=null!=(ma=null==(ka=Vm(Y.issue$))?void 0:ka.assignee)?ma:""},reporter:function(X){var ka,ma;X.value=null!=(ma=null==(ka=Vm(Y.issue$))?void 0:ka.reporter)?ma:""},verifier:function(X){var ka,ma;X.value=null!=(ma=null==(ka=Vm(Y.issue$))?void 0:ka.verifier)?ma:""},ccs:function(X){var ka,ma;X.values=null!=(ma=null==(ka=Vm(Y.issue$))?void 0:ka.cc)?ma:[]},collaborators:function(X){var ka,
ma;X.collaborators=null!=(ma=null==(ka=Vm(Y.issue$))?void 0:ka.collaborators)?ma:[]}}};u8.prototype.ngOnChanges=function(){this.issueId$.next(this.issueId)};
var ywb=function(a){var b=a.issuePermissionService.isCurrentUserCCd();a.analytics.trackEvent(Jn.EDIT_ISSUE,"toggleCC (appbar)",(!b).toString());var c=a.editIssueService.editableIssue(a.issueId),d=[];d=b?c.cc.filter(function(e){return!ZI(a.issuePermissionService,e)}):[].concat(Vc(c.cc),[a.activeSession.getUserEmail()]);return Ejc(a.editIssueService,a.issueId,d)},uwb=function(a){var b=a.issuePermissionService.isCurrentUserCollaborator();a.analytics.trackEvent(Jn.EDIT_ISSUE,"toggleCollaborators (appbar)",
(!b).toString());var c=a.editIssueService.editableIssue(a.issueId),d=[];d=b?c.collaborators.filter(function(e){return!ZI(a.issuePermissionService,e)}):[].concat(Vc(c.collaborators),[a.activeSession.getUserEmail()]);return Fjc(a.editIssueService,a.issueId,d)};u8.prototype.toggleAccessLimits=function(){var a=this;return he(function(b){a.issueLimits.open({componentId:Number(Vm(a.issueDetailsBrain.componentId$)),issueId:a.issueId});me(b)})};
u8.prototype.toggleAccessLimitsWithKeystroke=function(a){this.toggleAccessLimits();a.stopPropagation();a.preventDefault()};
var hwb=function(a,b,c){return jwb(a.editIssueService,a.issueId,c).finally(function(){a.reconcileView.assignee(b)})},Svb=function(a,b,c){return Uvb(a.editIssueService,a.issueId,c).finally(function(){a.reconcileView.reporter(b)})},owb=function(a,b,c){return qwb(a.editIssueService,a.issueId,c).finally(function(){a.reconcileView.verifier(b)})},txb=function(a,b,c){return Ejc(a.editIssueService,a.issueId,c).finally(function(){a.reconcileView.ccs(b)})},sxb=function(a,b,c){return Fjc(a.editIssueService,
a.issueId,c).finally(function(){a.reconcileView.collaborators(b)})},Tr=function(a,b){a.analytics.trackEvent(Jn.EDIT_ISSUE,"quickAction (sidebar)",null==b?void 0:b.displayText);return Cjc(a.editIssueService,a.issueId,b)},rxb=function(a,b){var c;return he(function(d){return(c=Bua(b))?"DUPLICATE"===c?d.return(SCc(a.issueMarkAsDuplicateDialogService,a.issueId)):d.return(Bjc(a.editIssueService,a.issueId,c)):d.return()})};
u8.prototype.isSaving$=function(a){var b=this;return this.distinctIssueId$.pipe(D(function(c){return b.editIssueService.savingState(c)}),Se(function(c){return Dn(c.propertiesBeingSaved,ln(String(a)))}))};u8.prototype.getAccessLimitLevelDisplay=function(a){return n7a(a)};u8.\u0275fac=function(a){return new (a||u8)(C(gs),C(mJ),C(lH),C($I),C(YI),C(BI),C(jH),C(uI),C(nI),C(oP),C(SC),C(BR),C(gH),C(b8),C(i8))};
u8.\u0275cmp=Gc({type:u8,selectors:[["edit-issue-metadata"]],inputs:{issueId:"issueId"},features:[Zc],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","toggleAccessLimits","valuesChange"],["collaboratorsField",""],[1,"value-action"],["class","bv2-metadata-tool bv2-metadata-link","tabindex","0","role","button",3,"disabled","matTooltip","click","keydown.enter","keydown.space",4,"ngIf"],["collaboratorsCard","onedevHovercard"],["mat-button","","href","https://developers.google.com/issue-tracker/references/glossary-of-fields",
"target","_blank",1,"gmat-button","primary"],["title","CC","iconName","add_alert_24px",1,"full-width",3,"defaultLineCount","readonly","type","isUser","values","users","listFieldDisabled","isCollapsible","isExpanded","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","sloStartTime","sloEndTime","sloId","componentId","isEditable","issueCreationTimestamp","onSloStartTimeChange","onSloEndTimeChange"],[1,"flex-1",3,"name","title","type","tooltip","value","choices",
"readonly","disabled","valueChange"],[3,"readonly","defaultLineCount","title","type","values","listFieldDisabled","valuesChange"],[1,"title-action"],[3,"pressed",4,"ngIf"],[3,"pressed"],[1,"issue-metadata-field-short","issue-metadata-field-short-left",3,"name","title","type","multiline","tooltip","value","readonly","disabled","valueChange"],[3,"name","title","type","multiline","tooltip","value","readonly","disabled","valueChange"],[3,"name","title","type","value","tooltip","readonly","disabled","valueChange"],
[3,"issue","field","readonly","disabled","save"]],template:function(a,b){a&1&&(Q(0,uxb,126,156,"ng-container",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.issue$))},dependencies:[FZ,dw,ew,jw,uA,JZ,DZ,X5,S5,T5,U5,EL,qJ,rJ,vJ,sJ,zld,pO,e6,HZ,n8,LB,aI,G5,t8,gO,VX,sjc,kw],styles:["hr.hidden-fields-separator[_ngcontent-%COMP%]{margin-left:16px;margin-right:10px}.bv2-field-label-spacer[_ngcontent-%COMP%]{width:23%;display:inline-block;min-width:80px;max-width:120px;padding-right:10px}/*# sourceMappingURL=edit_issue_metadata.css.map */"]});var Kld={},Lld=(Kld.COMFORTABLE=330,Kld.COZY=300,Kld.COMPACT=270,Kld),w8=function(a){WD.call(this);var b=this;this.userPreferencesManager=a;this.RIGHT_SIDEBAR_MIN_WIDTH=245;this.density$=this.userPreferencesManager.preferences$.pipe(D(function(c){var d;return null==(d=c.themePreferences)?void 0:d.density}));this.sidebarWidthPreference$=this.userPreferencesManager.preferences$.pipe(D(function(c){var d;return null==(d=c.layoutPreferences)?void 0:d.rightSidebarWidth}));this.rightSidebarWidthChanged$=
new E.Subject;this.currentSidebarWidth$=(0,E.combineLatest)([this.density$,this.sidebarWidthPreference$,this.rightSidebarWidthChanged$.pipe(Re(void 0))]).pipe(D(function(c){var d=k(c);c=d.next().value;var e=d.next().value;d=d.next().value;return null!=d?d:null!=e?e:Lld[null!=c?c:"COMFORTABLE"]}));(0,E.combineLatest)([this.rightSidebarWidthChanged$.pipe(Fe()),this.sidebarWidthPreference$]).pipe(ye(function(c){c=k(c);var d=c.next().value;return c.next().value!==d}),Se(function(c){c=k(c);var d=c.next().value;
c.next();return aic(b.userPreferencesManager,{rightSidebarWidth:d})}),Te(this.destroyed$)).subscribe()};U(w8,WD);w8.\u0275dir=WD.\u0275dir;w8.prototype.ngOnInit=function(){};w8.\u0275fac=function(a){return new (a||w8)(C(uI))};
w8.\u0275cmp=Gc({type:w8,selectors:[["issue-metadata-sidebar"]],inputs:{issueId:"issueId"},features:[bf],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&&(G(0,"h3",0),R(1,"Issue metadata"),H(),G(2,"b-resizable-sidebar",1),M("widthChanged",function(d){return b.rightSidebarWidthChanged$.next(d)}),S(3,"async"),
G(4,"div",2)(5,"div",3),Q(6,vxb,1,1,"edit-issue-metadata",4),H()()());if(a&2){var c;z(2);F("disableToggleBtn",!1)("hideToggleBtnOnOpen",!0)("minWidth",b.RIGHT_SIDEBAR_MIN_WIDTH)("size",null!==(c=T(3,5,b.currentSidebarWidth$))&&void 0!==c?c:0);z(4);F("ngIf",b.issueId)}},dependencies:[ew,XN,u8,kw],styles:["[_nghost-%COMP%] {\n      display: inherit;\n    }"],changeDetection:0});var x8=function(){};x8.prototype.watch=function(a,b){b=void 0===b?document.documentElement:b;return(0,E.concat)((0,E.defer)(function(){return(0,E.of)(document.getElementById(a))}),b8a(b,{attributes:!0,attributeFilter:["id"],childList:!0,subtree:!0}).pipe(D(function(){return document.getElementById(a)}))).pipe(ye(pi),Ge())};x8.\u0275fac=function(a){return new (a||x8)};x8.\u0275prov=qc({token:x8,factory:x8.\u0275fac,providedIn:"root"});var y8=function(a){this.idWatch=a},Mld=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(),D(function(e){e.scrollIntoView();if(e=document.getElementById(c))e.scrollTop-=d}))};y8.\u0275fac=function(a){return new (a||y8)(u(x8))};y8.\u0275prov=qc({token:y8,factory:y8.\u0275fac,providedIn:"root"});var z8=function(a,b,c,d){this.dynamicScrollIntoView=a;this.paths=b;this.routeParams=c;this.baseIssueReferenceResolver=d;this.destroyed$=new E.ReplaySubject(1);var e;this.issueId=null!=(e=this.routeParams.issueId)?e:""};
z8.prototype.visit=function(a){a.event&&(a.event.preventDefault(),a.event.stopPropagation());a.issueId&&a.issueId!==this.issueId||!a.elementId?this.baseIssueReferenceResolver.visit(a):(Mld(this.dynamicScrollIntoView,{elementId:a.elementId,parentElement:document.body,scrollableContainerId:"bv2-edit-issue-details-scroll",scrollPadding:60}).pipe(Te(this.destroyed$)).subscribe(),history&&history.pushState(null,"",this.paths.editIssue(this.issueId)+"#"+a.elementId))};z8.prototype.ngOnDestroy=function(){this.destroyed$.next()};
z8.\u0275fac=function(a){return new (a||z8)(u(y8),u(vG),u(RI),u(v6))};z8.\u0275prov=qc({token:z8,factory:z8.\u0275fac});var A8=function(a,b){WD.call(this);var c=this;this.el=a;this.router=b;this.router.events.pipe(ye(bza),Te(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(ye(aza),Te(this.destroyed$)).subscribe(function(d){d=["scrollY",c.rememberScroll,d.url].join("-");wxb(c.el.nativeElement,d)})};
U(A8,WD);A8.\u0275fac=function(a){return new (a||A8)(C(vd),C(nG))};A8.\u0275dir=Kc({type:A8,selectors:[["","rememberScroll",""]],inputs:{rememberScroll:"rememberScroll"},features:[bf]});var B8=function(){};B8.\u0275fac=function(a){return new (a||B8)};B8.\u0275mod=Ic({type:B8});B8.\u0275inj=rc({imports:[tF,tG]});var Kxb=function(){return{exact:!0}},C8=function(a,b,c,d,e,g,h,l,q,x,A,B,K,N,P,Y,X,ka,ma,za,Ba){WD.call(this);var Ma=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=x;this.routerEvents=A;this.devopsGraph=B;this.refreshMonitor=K;this.eventsForIssueFridge=N;this.issueFetchResponseFridge=P;this.hotlistFridge=Y;this.permissionsFridge=X;this.issueRelationshipsFridge=
ka;this.issueService=ma;this.errorHandler=za;this.currentTracker=Ba;this.id$=this.routeParams.issueId$;this.issue$=this.id$.pipe(Se(this.issueFridge.watch));this.issue404$=(0,E.combineLatest)([this.id$,this.issueFetchResponseFridge.error$]).pipe(D(function(Sa){var Ua=k(Sa);Sa=Ua.next().value;Ua=Ua.next().value;return Ua.idOrKey===Sa&&404===Ua.status}),Re(!1));this.issueTrackerId$=this.issue$.pipe(D(function(Sa){return null==Sa?void 0:Sa.trackerId}));this.showTrackerRedirect$=(0,E.combineLatest)([this.currentTracker.trackerId$,
this.issueTrackerId$]).pipe(D(function(Sa){var Ua=k(Sa);Sa=Ua.next().value;Ua=Ua.next().value;return Ma.shouldShowTrackerRedirect(Sa,oi("")(Ua))}));this.snapshot$=this.issue$.pipe(D(function(Sa){return null==Sa?void 0:Sa.snapshot[0]}));this.archived$=this.snapshot$.pipe(D(function(Sa){return null==Sa?void 0:Sa.isArchived}));this.deleted$=this.snapshot$.pipe(D(function(Sa){return null==Sa?void 0:Sa.isDeleted}));this.undeleteButtonTooltip$=this.permissions.canUndeleteIssue$.pipe(D(function(Sa){return Sa?
void 0:"Only issue admins can undelete issues"}));this.inArchivedComponent$=this.issue$.pipe(D(function(Sa){return(null==Sa?void 0:Sa.isArchived)&&!(null==Sa?0:Sa.snapshot[0].isArchived)}));this.status$=this.issue$.pipe(D(function(Sa){return(null==Sa?void 0:Sa.snapshot[0].status)||void 0}));this.prettyStatus$=this.status$.pipe(ye(pi),D(function(Sa){return ol[Sa]}));this.issue$.pipe(D(function(Sa){var Ua;return null!=(Ua=null==Sa?void 0:Sa.snapshot[0].title)?Ua:""}));this.issuesBeingBlocked$=this.issue$.pipe(D(function(Sa){var Ua;
return null!=(Ua=null==Sa?void 0:Sa.snapshot[0].blockingIssueId)?Ua:[]}),Ee(1E3),Se(this.issueFridge.watchSet));this.issue$.pipe(D(function(Sa){var Ua;return null!=(Ua=null==Sa?void 0:Sa.snapshot[0].duplicateIssueId)?Ua:[]}),Ee(1E3),Se(this.issueFridge.watchSet));this.userHasReadAccess$=this.issueFetchResponseFridge.error$.pipe(D(function(Sa){if(403===Sa.status&&Ma.activeSession.isInternalSession())return!1;Ma.errorHandler.errorHandler(null,Sa);return!0}),Re(!0),Pe({refCount:!0,bufferSize:1}));this.issueMetadata$=
(0,E.defer)(function(){return Ma.id$}).pipe(ye(pi),Se(function(Sa){return Ma.issueService.getMetadata(Sa)}),Pe({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(Vc(UD(this.activeSession,"enableCodeMentionsUi")?[{link:"./todos",title:"TODOs",count$:this.counts.countTodosDisplay$}]:[]))};U(C8,WD);C8.\u0275dir=WD.\u0275dir;C8.prototype.shouldShowTrackerRedirect=function(a,b){return""!==a&&a!==b};
C8.prototype.ngOnInit=function(){var a=this,b,c,d;return he(function(e){if(1==e.nextAddress)return b=xA,c=b.assertExists,e.yield((0,E.firstValueFrom)(a.id$),2);d=c.call(b,e.yieldResult);a.appEvents.issueViewed.next(d);a.issueInteractionsTracking.getState(d);a.subscriptions.add(SO(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(ye(pi),
Ge()).subscribe(function(g){nH(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);qH(a.issueFetchResponseFridge,d);a.eventsForIssueFridge.poke(d);a.hotlistFridge.pokeMany(mfc);nH(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;bjc(g,l,"idp-time-on-page",h.variations);g.resetState(d);a.editIssueService.clear(d)});me(e)})};C8.\u0275fac=function(a){return new (a||C8)(C(QI),C(lH),C(gs),C($I),C(mJ),C(P7),C(KF),C(XI),C(RO),C(CF),C(fH),C(a8),C(jH),C(SE),C(oH),C(SG),C(tH),C(sH),C(iH),C(GF),C(lK))};
C8.\u0275cmp=Gc({type:C8,selectors:[["issue-details-wrapper"]],features:[Gf([cH,nJ,{provide:iL,useClass:z8}]),bf],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&&(Q(0,xxb,2,1,"h2",0),S(1,"async"),Q(2,yxb,1,0,"div",1),S(3,"async"),Q(4,Qxb,2,3,"ng-template",null,2,Zf),Q(6,Rxb,3,3,"ng-template",null,3,Zf),Q(8,Sxb,3,3,"ng-template",null,4,Zf));if(a&2){var c=Cf(5),d=Cf(9);
F("ngIf",T(1,4,b.id$));z(2);F("ngIf",T(3,6,b.userHasReadAccess$))("ngIfThen",c)("ngIfElse",d)}},dependencies:[dw,ew,eG,pG,qG,Jz,pM,qM,sM,Jy,LB,mX,nX,k8,r4,w8,A8,m8,l8,kw],styles:["[mat-tab-nav-bar][_ngcontent-%COMP%]{padding-left:8px}"]});var D8=function(a,b){WD.call(this);var c=this;this.issueFridge=a;this.butterBar=b;this.duplicateIssueIds$=new E.BehaviorSubject([]);this.tableColumns="focus-indicator title team id createdTime reporter menu".split(" ");this.initialSort={active:"createdTime",direction:"desc"};this.getMenuItems=function(d){return[{type:"action",label:"Remove duplicate",action:function(){c.removeDuplicate(d)},title:"Remove duplicate",icon:"clear"}]}};U(D8,WD);D8.\u0275dir=WD.\u0275dir;D8.prototype.ngOnInit=function(){};
D8.prototype.removeDuplicate=function(a){var b=this,c;return he(function(d){if(1==d.nextAddress)return ie(d,2),d.yield(b.issueFridge.removeDuplicate(b.issueId,a),4);if(2!=d.nextAddress)return ms(d,0);c=le(d);EF(b.butterBar,"Could not remove duplicate "+a+". "+c);me(d)})};hh.Object.defineProperties(D8.prototype,{duplicateIds:{configurable:!0,enumerable:!0,set:function(a){this.duplicateIssueIds$.next((null!=a?a:[]).map(function(b){return String(b)}))}}});
D8.\u0275fac=function(a){return new (a||D8)(C(lH),C(CF))};D8.\u0275cmp=Gc({type:D8,selectors:[["b-duplicates-table"]],inputs:{duplicateIds:"duplicateIds",issueId:"issueId"},features:[bf],decls:2,vars:3,consts:[[4,"ngIf"],[3,"issueIds","menuItemFactory","tableColumns","initialSort"]],template:function(a,b){a&1&&(Q(0,Txb,2,4,"ng-container",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.duplicateIssueIds$))},dependencies:[ew,eS,kw],encapsulation:2,changeDetection:0});var E8=function(a,b,c,d,e){WD.call(this);var g=this;this.paramsService=a;this.issues=b;this.issuePicker=c;this.snackBar=d;this.counts=e;this.ROBOT_SLEEPING=Ylc;this.id$=this.paramsService.issueId$;this.dupeUrl$=this.id$.pipe(D(function(h){return{path:"/issues",params:{q:"canonicalid:"+h}}}));this.issue$=this.id$.pipe(Se(this.issues.watch));this.duplicateIds$=this.issue$.pipe(D(function(h){var l;return null!=(l=null==h?void 0:h.snapshot[0].duplicateIssueId)?l:[]}));this.duplicatesCount$=this.duplicateIds$.pipe(Se(function(h){return 0===
h.length?(0,E.of)(0):g.counts.duplicatesDualCount$.pipe(D(function(l){return l.total.count}))}));this.showTable$=this.duplicatesCount$.pipe(D(function(h){return 0<h}),Re(!0));this.didChooseDupes=function(h){var l=Vm(g.id$);null!=l&&Xfc(g.issues,l,h[0]).catch(g.gotErr)};this.gotErr=function(h){g.snackBar.open(Rl(h)||"Error with network request","close",{panelClass:"error"})}};U(E8,WD);E8.\u0275dir=WD.\u0275dir;E8.prototype.isThinking=function(){return this.issues.isThinking()};
var Uxb=function(a){a.issuePicker.open({title:"Add Duplicate",allowMultipleIds:!1,edgeType:"duplicate"},a.didChooseDupes)};E8.\u0275fac=function(a){return new (a||E8)(C(QI),C(lH),C(GO),C(AF),C(P7))};
E8.\u0275cmp=Gc({type:E8,selectors:[["ng-component"]],features:[bf],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&&(G(0,"section",0),
Q(1,Zxb,5,4,"ng-container",1),S(2,"async"),H(),Q(3,$xb,2,0,"aside",2));a&2&&(z(1),F("ngIf",T(2,2,b.duplicateIds$)),z(2),F("ngIf",b.isThinking()))},dependencies:[ew,pG,Jz,Kz,LB,sL,D8,kw],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 F8=function(){};F8.\u0275fac=function(a){return new (a||F8)};F8.\u0275mod=Ic({type:F8});F8.\u0275inj=rc({imports:[tF,Rx,fy,$w,ax,tG,iC,rM,JC,DM,vO,ZN,ZM,gS]});var G8=function(a,b,c,d){WD.call(this);this.preferences=a;this.activeSession=b;this.clearcut=c;this.analytics=d;this.enableCommentFilters=UD(this.activeSession,"enableCommentFiltering");this.selectedFilter=null;a=this.activeSession.isInternalSession();Ur.description=a?"Including CLs, Blunderbuss, etc.":"Including all automated comments";this.filters=Nld;this.showRecentEventsFirst=!1};U(G8,WD);G8.\u0275dir=WD.\u0275dir;
G8.prototype.ngOnInit=function(){var a=this;this.preferences.showRecentEventsFirst$.pipe(ye(pi),Te(this.destroyed$)).subscribe(function(b){a.showRecentEventsFirst=b});this.preferences.commentFilterPreferences$.pipe(Te(this.destroyed$)).subscribe(function(b){b.commentFilter?a.selectedFilter=hyb(b.commentFilter):(a.selectedFilter=vI(a.preferences).showFullHistory?eyb:Ur,a.preferences.save({commentFilterPreferences:{commentFilter:a.selectedFilter.commentFilterType}}).pipe(Te(a.destroyed$)).subscribe())})};
G8.\u0275fac=function(a){return new (a||G8)(C(uI),C(gs),C(VG),C(gH))};
G8.\u0275cmp=Gc({type:G8,selectors:[["b-event-stream-header"]],features:[bf],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&&(G(0,"div",0)(1,"h4",1),R(2,"Comments"),H(),G(3,"div",2),Q(4,byb,5,3,"mat-form-field",3),G(5,"button",4),M("click",function(){Fya("hasClickedCommentSortBtn")(!0);var c=!b.showRecentEventsFirst;XG(b.clearcut,"click_recentFirst_"+c);b.preferences.save({showRecentEventsFirst:c}).pipe(Te(b.destroyed$)).subscribe()}),
Q(6,cyb,4,0,"ng-container",5),Q(7,dyb,4,0,"ng-container",5),H()()());a&2&&(z(4),F("ngIf",b.enableCommentFilters),z(2),F("ngIf",!b.showRecentEventsFirst),z(1),F("ngIf",b.showRecentEventsFirst))},dependencies:[dw,ew,uA,Jz,iA,cO,bO,Lz],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 eyb={name:"Full history",description:"Including everything with audit trail",displayName:"Full history",commentFilterType:"FULL_HISTORY"},Ur={name:"All comments and updates",description:"Including CLs, Blunderbuss, etc.",displayName:"All comments",commentFilterType:"ALL_COMMENTS"},fyb={name:"Users' comments",description:"All human generated comments",displayName:"Users",commentFilterType:"HUMAN_ONLY"},gyb={name:"Team and assignee comments",description:"Issue's owning team and assignee",displayName:"Team and assignee",
commentFilterType:"TEAM_AND_ASSIGNEE"},Nld=[eyb,Ur,fyb,gyb];var H8=function(a){this.matDialogService=a;this.reactionState$=new E.ReplaySubject(1);this.issueId="";this.emails$=this.reactionState$.pipe(ye(pi),D(function(b){return b.recentResponders.map(function(c){return c.emailAddress||c.obfuscatedEmailAddress||""}).filter(function(c){return""!==c}).slice(0,5)}));this.isOverflowReactionCount$=this.reactionState$.pipe(ye(pi),D(function(b){return 5<b.count}));this.overflowReactionCount$=this.reactionState$.pipe(ye(pi),ye(function(b){return 5<b.count}),D(function(b){return b.count-
5}))};hh.Object.defineProperties(H8.prototype,{reactionState:{configurable:!0,enumerable:!0,set:function(a){a&&this.reactionState$.next(a)}}});H8.\u0275fac=function(a){return new (a||H8)(C(Wz))};
H8.\u0275cmp=Gc({type:H8,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&&(G(0,"div",0)(1,"div",1),Q(2,kyb,6,5,"ng-container",2),S(3,"async"),
Q(4,lyb,6,3,"span",3),S(5,"async"),H()());a&2&&(z(2),F("ngForOf",T(3,2,b.emails$)),z(2),F("ngIf",T(5,4,b.isOverflowReactionCount$)))},dependencies:[dw,ew,kw],styles:[".onedev-hovercard-content[_ngcontent-%COMP%]{width:auto;max-width:400px}.normal-link.unstyled-button[_ngcontent-%COMP%]{color:#1a73e8;color:var(--link)}"]});var Old=function(){};Old.\u0275fac=function(a){return new (a||Old)};Old.\u0275cmp=Gc({type:Old,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&&Q(0,nyb,7,2,"ng-container",0);a&2&&F("ngIf",b.event.commentLastModifiedAtDate)},dependencies:[ew,bK],encapsulation:2,changeDetection:0});var I8=function(){this.texts=[]};I8.prototype.getIssueId=function(a){return a.text};I8.prototype.trackByIndex=function(a){return a};I8.\u0275fac=function(a){return new (a||I8)};
I8.\u0275cmp=Gc({type:I8,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&&Q(0,ryb,5,3,"ng-container",0);a&2&&F("ngForOf",b.texts)("ngForTrackBy",b.trackByIndex)},dependencies:[kL,dw,fw,gw,hw,kqc],encapsulation:2,changeDetection:0});var Pld=function(a){this.hotlists=a;this.HOTLIST_SEARCH=Sr.HOTLIST_SEARCH};Pld.\u0275fac=function(a){return new (a||Pld)(C(SG))};Pld.\u0275cmp=Gc({type:Pld,selectors:[["hotlist-link"]],inputs:{id:"id"},decls:3,vars:4,consts:[[3,"href"]],template:function(a,b){a&1&&(G(0,"a",0),R(1),S(2,"async"),H());if(a&2){var c;F("href",b.HOTLIST_SEARCH(b.id),Md);z(1);Ef((null==(c=T(2,2,b.hotlists.watch(b.id)))?null:c.name)||b.id)}},dependencies:[kw],encapsulation:2,changeDetection:0});var J8=function(a){var b=this;this.componentFridge=a;this.id$=new E.ReplaySubject(1);this.name$=this.id$.pipe(Fe(),Se(function(c){return b.componentFridge.watchOne(c).pipe(D(function(d){var e;return d?J6a(null==(e=d.componentPathInfo)?void 0:e.componentPathName,c):c}))}))};J8.prototype.ngOnChanges=function(){this.id$.next(this.id)};J8.\u0275fac=function(a){return new (a||J8)(C(eF))};
J8.\u0275cmp=Gc({type:J8,selectors:[["plain-component-path"]],inputs:{id:"id"},features:[Zc],decls:6,vars:4,consts:[[3,"onedevHovercardTrigger"],["thisHovercard","onedevHovercard"],[4,"onedevHovercardLazyBody"],[3,"onedevIsHovercardReady","componentId"],["cardBody",""]],template:function(a,b){a&1&&(G(0,"span",0),R(1),S(2,"async"),H(),G(3,"onedev-hovercard",null,1),Q(5,syb,3,2,"ng-container",2),H());if(a&2){var c=Cf(4);F("onedevHovercardTrigger",c);z(1);Ef(T(2,2,b.name$)||b.id)}},dependencies:[qJ,
rJ,vJ,sJ,cZ,kw],encapsulation:2,changeDetection:0});var Qyb=function(a){return{"bv2-diff-newvalue-nextline":a}},jzb=function(a,b,c){return{diff:a,change:b,isLast:c}},K8=function(a,b){WD.call(this);this.activeSession=a;this.preferences=b;this.customFieldMap={};this.effortEnabled=!0;this.isStringArray=Ph;this.isLinkedItemArray=Tua;this.isIssueDiff=Qua;this.isHotlistDiff=Rua};U(K8,WD);K8.\u0275dir=WD.\u0275dir;K8.prototype.getAccessLimitLevel=function(a){return n7a(a)};
var Qld=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)},Rld=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)};K8.prototype.ngOnInit=function(){var a=this;this.preferences.showRecentEventsFirst$.pipe(ye(pi),Te(this.destroyed$)).subscribe(function(b){2>a.internalDiffs.length||(b&&Qld(a)||!b&&Rld(a))&&a.internalDiffs.reverse()})};K8.prototype.trackByIndex=function(a){return a};
var vzb=function(a,b,c){return"<none>"===Vca(b,c)?!1:b.customFieldId&&a.customFieldMap[b.customFieldId]&&"DATE"===a.customFieldMap[b.customFieldId].type?!0:!1},wzb=function(a,b,c){return"<none>"===Vca(b,c)?!1:b.customFieldId&&a.customFieldMap[b.customFieldId]&&"REPEATED_DATE"===a.customFieldMap[b.customFieldId].type?!0:!1};K8.prototype.asNumber=function(a){return Number(a)};
K8.prototype.customFieldName=function(a){if(a.customFieldId){var b;return(null==(b=this.customFieldMap[a.customFieldId])?void 0:b.customFieldName)||"customfield"+a.customFieldId}return""};hh.Object.defineProperties(K8.prototype,{diffs:{configurable:!0,enumerable:!0,set:function(a){this.internalDiffs=[].concat(Vc(a))}}});K8.\u0275fac=function(a){return new (a||K8)(C(gs),C(uI))};
K8.\u0275cmp=Gc({type:K8,selectors:[["b-issue-event-details"]],inputs:{diffs:"diffs",customFieldMap:"customFieldMap",effortSpecName:"effortSpecName",effortEnabled:"effortEnabled"},features:[bf],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&&(G(0,"div",0),Q(1,Mzb,2,1,"div",1),H(),Q(2,Vzb,1,1,"ng-template",null,2,Zf),Q(4,Wzb,2,0,"ng-template",null,3,Zf));a&2&&(z(1),F("ngForOf",b.internalDiffs)("ngForTrackBy",b.trackByIndex))},dependencies:[cw,dw,ew,jw,fw,gw,hw,bK,VJ,kL,Pld,J8,ow],styles:["/*# sourceMappingURL=issue_event_details.css.map */"],changeDetection:0});var L8=function(a){WD.call(this);var b=this;a.textDisplayPreferencesSubject$.pipe(Te(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:rh(c.commentDisplayOverride)}})};U(L8,WD);L8.\u0275dir=WD.\u0275dir;
L8.prototype.ngOnInit=function(){};L8.prototype.ngOnChanges=function(){this.rawComment=this.note.unlinkifiedComment||"";Sld(this);this.audience=this.issueAccessLevel&&"INTERNAL"===this.issueAccessLevel?"INTERNAL_AUDIENCE":"EXTERNAL_AUDIENCE";this.idPrefix="b"+this.issueId+"-c"+this.note.commentNumber};
var Sld=function(a){if(2>a.rawComment.split("\n").slice(0,3).filter(Boolean).length)a.rawComment=gBa(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")}};L8.\u0275fac=function(a){return new (a||L8)(C(uI))};
L8.\u0275cmp=Gc({type:L8,selectors:[["b-summarized-note-container"]],inputs:{note:"note",issueId:"issueId",formattingMode:"formattingMode",issueAccessLevel:"issueAccessLevel"},features:[bf,Zc],decls:1,vars:5,consts:[[3,"comment","issueId","audience","formattingMode","idPrefix"]],template:function(a,b){a&1&&I(0,"b-live-preview",0);a&2&&F("comment",b.rawComment)("issueId",b.issueId)("audience",b.audience)("formattingMode",b.formattingModeOverride||b.formattingMode)("idPrefix",b.idPrefix)},dependencies:[QN],
styles:["[_nghost-%COMP%]     b-live-preview .md-preview{background-color:#fff;background-color:var(--background);padding:0}"]});var Tld=["commentActionsMenu"],Uld=["commentReactionButton"],fAb=function(){return[]},vAb=function(a){return{"no-upvote-reactions":a}},M8=function(a,b,c,d,e,g,h,l,q,x,A,B,K,N,P,Y,X,ka,ma){WD.call(this);var za=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=x;this.issueDetailsBrain=A;this.editIssueService=B;this.issuePermissionService=
K;this.commentHistoryDialogService=N;this.issueCommentDialogsService=P;this.dateFormatter=Y;this.paths=X;this.domSafe=ka;this.eventsForIssueFridge=ma;this.isSummarized=!1;this.issueId$=new E.ReplaySubject(1);this.distinctIssueId$=this.issueId$.pipe(Fe());this.event$=new E.ReplaySubject(1);this.isCommentEvent=ul;this.isNonObfuscatedEmail=en;this.commentActionMenuItems$=new E.BehaviorSubject([]);this.isInternalSession=this.activeSession.isInternalSession();this.enableTeamAnnotations=this.activeSession.isInternalSession();
this.formattingMode="PLAIN";this.commentRetentionOverride=null;this.wasSummarized=!1;a={};this.formattingModeMenuItems=(a.PLAIN={type:"select",action:function(){za.formattingMode="PLAIN";za.initializeActionsMenu()},label:"Classic",selected:!0},a.MARKDOWN={type:"select",action:function(){za.formattingMode="MARKDOWN";za.initializeActionsMenu()},label:"Markdown",selected:!1},a.LITERAL={type:"select",action:function(){za.formattingMode="LITERAL";za.initializeActionsMenu()},label:"Source",selected:!1},
a);this.isFormattingOverrideEnabled=!1;this.canEditComment$=this.event$.pipe(Se(function(Ba){return za.issuePermissionService.canEditComment$(Ba)}),Pe({refCount:!0,bufferSize:1}));this.canEditComment=function(){return!!Vm(za.canEditComment$)};this.commentHistoryEnabled=UD(this.activeSession,"enableCommentHistoryUi");this.commentReactionsEnabled=UD(this.activeSession,"enableCommentReaction");this.effortSpec$=this.issueDetailsBrain.effortSpec$;this.isEffortEnabled$=this.issueDetailsBrain.isEffortEnabled$;
this.teamId$=this.issueDetailsBrain.teamId$;this.issue$=this.distinctIssueId$.pipe(Se(function(Ba){return za.editIssueService.editableIssue$(Ba)}));this.modifiedDateDisplay$=this.event$.pipe(D(function(Ba){return new Date(Ba.modifiedDate)}),Se(function(Ba){return Hlc(za.dateFormatter,Ba)}));this.ariaLabelHeading$=(0,E.combineLatest)([this.event$,this.modifiedDateDisplay$]).pipe(D(function(Ba){var Ma=k(Ba);Ba=Ma.next().value;Ma=Ma.next().value;if(null==Ba)Ba="";else{var Sa=[];Ba.commentNumber&&Sa.push("Comment #"+
Ba.commentNumber);Ba.userPerformingActionUser&&Sa.push(ai(Ba.userPerformingActionUser));Sa.push("Modified: "+Ma);Ba=Sa.join(", ")}return Ba}));this.ReactionType=Q8b;this.upvoteReactionCount$=this.event$.pipe(D(function(Ba){var Ma,Sa,Ua;return null!=(Ua=null==(Ma=Ba.commentReactions)?void 0:null==(Sa=Ma.get("UPVOTE"))?void 0:Sa.count)?Ua:0}));this.upvoteReactionCountDisplayString$=this.upvoteReactionCount$.pipe(D(function(Ba){return Ba&&0!==Ba?999<Ba?"999+":String(Ba):null}));this.noUpvoteReactions$=
this.upvoteReactionCount$.pipe(D(function(Ba){return 0===Ba}));this.commentReactionsHovercardConfig=Object.assign({},new tJ,{position:[Zjc]});this.commentReactionIsSaving=!1;this.showRecentEventsFirst$=this.userPreferencesManager.showRecentEventsFirst$;this.showFullHistoryFromFiltering$=this.userPreferencesManager.commentFilterPreferences$.pipe(D(function(Ba){var Ma;return null!=(Ma=Ba.commentFilter)?Ma:""}));this.isFullHistoryPreference$=this.showFullHistoryFromFiltering$.pipe(D(function(Ba){return"FULL_HISTORY"===
Ba}));this.preEventDiffs$=(0,E.combineLatest)([this.event$,this.showRecentEventsFirst$]).pipe(D(function(Ba){Ba=k(Ba);var Ma=Ba.next().value;return Ba.next().value?Ma.postDiffs:Ma.preDiffs}));this.postEventDiffs$=(0,E.combineLatest)([this.event$,this.showRecentEventsFirst$]).pipe(D(function(Ba){Ba=k(Ba);var Ma=Ba.next().value;return Ba.next().value?Ma.preDiffs:Ma.postDiffs}));this.hasAclToUpvoteReact$=(0,E.combineLatest)([this.event$,this.issuePermissionService.hasAclToComment$]).pipe(D(function(Ba){var Ma=
k(Ba);Ba=Ma.next().value;Ma=Ma.next().value;var Sa,Ua;return(null==(Sa=Ba.commentReactions)?void 0:null==(Ua=Sa.get("UPVOTE"))?void 0:Ua.hasReacted)||Ma}));this.showCommentReactionHovercard$=(0,E.combineLatest)([this.issuePermissionService.hasAclToEdit$,this.upvoteReactionCount$]).pipe(D(function(Ba){var Ma=k(Ba);Ba=Ma.next().value;Ma=Ma.next().value;return Ba&&0<Ma&&5>=Ma}));this.isShowingCommentTimestamp$=this.isFullHistoryPreference$.pipe(D(function(Ba){return Ba&&DAb(za)&&(0<za.event.preDiffs.length||
0<za.event.postDiffs.length)}));this.getCommentNumberLink=function(Ba){return rwa(za.issueId,{comment:Ba})}};U(M8,WD);M8.\u0275dir=WD.\u0275dir;
M8.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(Te(this.destroyed$)).subscribe(function(){ul(a.event)&&a.isRestricted()?a.mayReadPii$=a.mayReadPii():a.mayReadPii$=(0,E.of)(void 0)});Vld(this);this.userPreferencesManager.textDisplayPreferencesSubject$.pipe(Te(this.destroyed$)).subscribe(function(b){a.isFormattingOverrideEnabled=
null!=b.commentDisplayOverride;a.initializeActionsMenu()});this.issueDetailsBrain.canonicalIssueId$.pipe(Te(this.destroyed$)).subscribe(function(b){a.canonicalIssueId=b;a.initializeActionsMenu()});this.canEditComment$.pipe(Te(this.destroyed$)).subscribe(function(){a.initializeActionsMenu()});this.issuePermissionService.canChangeCommentRetention$.pipe(Te(this.destroyed$)).subscribe(function(){a.initializeActionsMenu()})};
var Vld=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=M8.prototype;
f.updateCommentRetention=function(a){var b=this;this.event.commentNumber||HF(this.errorHandler,"Comment number is missing");this.analytics.trackEvent(Jn.RESTRICTED_CONTENT,"updateRetention","comment");this.commentService.updateRetention(this.issueId,this.event.commentNumber||0,a).pipe(Te(this.destroyed$)).subscribe({next:function(c){var d;b.event=Object.assign({},b.event,{commentRetention:c.piiRetention,commentRetentionState:null!=(d=c.piiRetentionState)?d:null});DF(b.butterBar,"Comment retention updated",
4E3);b.commentRetentionOverride=2===a?"INDEFINITE":"COMPONENT_DEFAULT";b.initializeActionsMenu()},error:function(){HF(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 Xqa(wi(this.event.commentContentVerdict))};f.isRestricted=function(){if(!this.isInternalSession)return!1;var a=wi(this.event.commentContentVerdict);switch(a){case "NONE_DETECTED":case "PII_SEVERITY_UNSPECIFIED":return!1;case "PII":case "SPII":return!0;default:rh(a)}};
f.isDeleted=function(){return"DELETED"===this.event.commentDeletionStatus};var Wr=function(a){var b;return(null==(b=a.event)?void 0:b.commentRedacted)&&!a.deobfuscatedEvent};
M8.prototype.loadRestrictedComment=function(){var a=this;this.analytics.trackEvent(Jn.RESTRICTED_CONTENT,"viewRestrictedContent","comment");var b=String(this.issueId),c=this.event.commentNumber||0,d=vi(wi(this.event.commentContentVerdict));this.commentService.get(b,c,d).pipe(Ge()).subscribe(function(e){a.deobfuscatedEvent=Object.assign({},a.event,xta(e));a.initializeActionsMenu()},function(e){var g;EF(a.butterBar,"Error showing comment "+c+": "+(null==(g=e.error)?void 0:g.message))})};
M8.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]}),Vld(this)),this.canEditComment()&&b.push({type:"action",action:function(){cAb(a.issueCommentDialogsService,String(a.issueId),a.deobfuscatedEvent||a.event).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},
label:"Edit comment",disabled:Wr(this)}),this.commentHistoryEnabled&&0<(this.event.commentVersion||0)&&!Wr(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:Wr(this)}),this.isDeleted()||this.activeSession.isAnonymous()||b.push({type:"action",action:function(){HCc(a.issueCommentDialogsService,String(a.issueId),a.event.commentNumber).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Copy comment to",disabled:Wr(this)}),fjc(this.issuePermissionService,
this.event)&&b.push({type:"action",action:function(){MCc(a.issueCommentDialogsService,String(a.issueId),a.event.commentNumber,a.event.commentEtag).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Delete comment"}),ejc(this.issuePermissionService,this.event)&&b.push({type:"action",action:function(){JCc(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(){NCc(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;OCc(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)};M8.prototype.getUserEmailIfAvailable=function(){return ei(this.event.userPerformingActionUser)};var DAb=function(a){return ul(a.event)&&!!a.event.unlinkifiedComment};M8.prototype.showCommentHistoryDialog=function(a){return this.commentHistoryDialogService.show(this.issueId,a,-1)};
M8.prototype.mayReadPii=function(){var a=qF(this.userAccess,"reader","issues/"+this.issueId+"/comments/"+this.event.commentNumber);a.catch(function(b){zh("error: ",b);return!1});return(0,E.from)(a)};
var tAb=function(a){if(Vm(a.hasAclToUpvoteReact$)){a.commentReactionIsSaving=!0;var b=wAb(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);QE(a.eventsForIssueFridge,a.issueId,function(g){var h;g.events=Xua(g.events,null!=(h=a.event.commentNumber)?h:2,{commentReactions:d})});a.analytics.trackEvent(Jn.EDIT_ISSUE,
"click",b?"removeUpvoteReaction":"addUpvoteReaction")}})}},wAb=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},uAb=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};
hh.Object.defineProperties(M8.prototype,{event:{configurable:!0,enumerable:!0,set:function(a){this.internalEvent=a;this.event$.next(a)},get:function(){return this.internalEvent}}});M8.\u0275fac=function(a){return new (a||M8)(C(nI),C(gs),C(iL),C(uP),C(vd),C(pF),C(CF),C(GF),C(gH),C(uI),C(YI),C(mJ),C($I),C(tP),C(AR),C(aK),C(vG),C(SJ),C(SE))};
M8.\u0275cmp=Gc({type:M8,selectors:[["b-history-event"]],viewQuery:function(a,b){a&1&&(Uf(Tld,5),Uf(Uld,5));if(a&2){var c;Tf(c=Wf())&&(b.commentActionsMenu=c.first);Tf(c=Wf())&&(b.commentReactionButton=c.first)}},inputs:{issueId:"issueId",issueAccessLevel:"issueAccessLevel",isSummarized:"isSummarized",event:"event"},features:[bf,Zc],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&&(Q(0,EAb,43,33,"ng-container",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.issue$))},dependencies:[rK,CR,SN,cw,dw,ew,jw,uA,bK,qJ,vJ,K8,UJ,BP,ER,TM,WJ,nL,sO,LB,
L8,Jz,H8,Old,I8,kw],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 Wld={FULL:"full",SUMMARIZED:"summarized",FOLDED:"folded",HIDDEN:"hidden"},N8=function(a,b,c,d,e,g,h,l,q,x){WD.call(this);var A=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=x;this.issueId$=new E.ReplaySubject(1);this.internalIssueId="";this.eventDisplayModes=Wld;this.internalEvents=[];this.showRecentEventsFirst=null;
this.currentFilterLevel="FULL_HISTORY";this.enableCommentFiltering=UD(this.activeSession,"enableCommentFiltering");this.issue$=this.issueId$.pipe(Se(function(B){return A.editIssueService.editableIssue$(B)}));this.events$=new E.ReplaySubject(1);this.commentsToFormat$=new E.ReplaySubject(1);this.eventDisplayMode=new Map;this.commentNumbersDisplayed=new Set;this.foldedCommentsCounts=new Map;this.sendAnalytics=NQb(function(){var B=[].concat(Vc(document.querySelectorAll(".bv2-event-note, .bv2-event-major-status"))).map(function(K){return K.innerText}).join("").length;
A.analytics.trackEvent(Jn.EDIT_ISSUE,"updateCommentThread","visibleCharCount",B)},200);this.scrollToCommentOrAttachment=NQb(function(){var B=A.bLocation.hash();if(B&&A.internalEvents){var K,N=k(null!=(K=B.match(RegExp("(comment|attachment)([0-9]+)")))?K:[]);N.next();K=N.next().value;var P=N.next().value;N=K;var Y=P;if("lastcomment"===B){N=bva(A.internalEvents);if(-1===N)return;Y=String(N);N="comment"}N&&Y&&(B=A.internalEvents.findIndex(function(X){return X.commentNumber===Number(Y)}),K=-1<B,P=A.internalEvents.flatMap(function(X){return X.attachments}).some(function(X){return X.attachmentId===
Number(Y)}),K||P)&&(K&&"folded"===A.eventDisplayMode.get(B)&&(A.eventDisplayMode.set(B,"full"),Xld(A,B)),P&&(B=A.internalEvents.findIndex(function(X){return-1<X.attachments.findIndex(function(ka){return ka.attachmentId===Number(Y)})}),A.eventDisplayMode.get(B)||(A.eventDisplayMode.set(B,"full"),Xld(A,B))),Mld(A.dynamicScrollIntoView,{elementId:N+Y,parentElement:A.elementRef.nativeElement,scrollableContainerId:"bv2-edit-issue-details-scroll",scrollPadding:60}).pipe(Te(A.destroyed$)).subscribe())}},
200)};U(N8,WD);N8.\u0275dir=WD.\u0275dir;
N8.prototype.ngOnInit=function(){var a=this;this.preferences.showRecentEventsFirst$.pipe(ye(pi),Te(this.destroyed$),Fe()).subscribe(function(b){a.showRecentEventsFirst!==b&&(a.showRecentEventsFirst=b,Yld(a))});(0,E.combineLatest)([this.events$,this.preferences.commentFilterPreferences$]).subscribe(function(b){b=k(b);var c=b.next().value,d=b.next().value;b=[];if(a.enableCommentFiltering&&d.commentFilter)for(a.currentFilterLevel=d.commentFilter,Zld(a,c,d.commentFilter),$ld(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(ye(pi),Te(this.destroyed$),Se(this.formattedCommentsForIssueFridge.watchSet)).subscribe(function(b){amd(a,b)});this.routerEvents.navigationEnd$.pipe(Te(this.destroyed$)).subscribe(function(){a.internalEvents&&0!==a.internalEvents.length&&a.scrollToCommentOrAttachment()})};
var amd=function(a,b){for(var c={$jscomp$loop$prop$i$2391:0};c.$jscomp$loop$prop$i$2391<a.internalEvents.length;c={$jscomp$loop$prop$i$2391:c.$jscomp$loop$prop$i$2391},c.$jscomp$loop$prop$i$2391++)if(JAb(a.eventDisplayMode.get(c.$jscomp$loop$prop$i$2391))&&ul(a.internalEvents[c.$jscomp$loop$prop$i$2391])){var d=b.find(function(g){return function(h){return h.id.commentId===a.internalEvents[g.$jscomp$loop$prop$i$2391].commentNumber}}(c));if(d){var e=a.internalEvents[c.$jscomp$loop$prop$i$2391];e.formattedComment=
d.formattedComment.formattedComment;e.formattingMode=d.formattedComment.formattingMode;a.internalEvents[c.$jscomp$loop$prop$i$2391]=Object.assign({},e)}}Yld(a)},Zld=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=bmd(b[c]);a.eventDisplayMode.set(c,d?"full":"hidden");ul(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=cmd(b[c]),a.eventDisplayMode.set(c,d?"full":"hidden"),ul(b[c])&&b[c].commentNumber&&d&&(d=void 0,a.commentNumbersDisplayed.add(null!=(d=b[c].commentNumber)?d:0));break;case "HUMAN_ONLY":dmd(a,b,function(e){var g;return null!=(g=e.isHumanAuthor&&e.isMajorEvent)?g:!0});break;case "TEAM_AND_ASSIGNEE":dmd(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"),
ul(b[c])&&b[c].commentNumber&&(d=void 0,a.commentNumbersDisplayed.add(null!=(d=b[c].commentNumber)?d:0))}a.sendAnalytics()},$ld=function(a){if("FULL_HISTORY"!==a.currentFilterLevel)for(var b=0;b<a.internalEvents.length;b++)ul(a.internalEvents[b])&&Cl(a.internalEvents[b])&&(a.eventDisplayMode.set(b,"summarized"),Xld(a,b))},dmd=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;ul(b[h])&&b[h].commentNumber&&(l=void 0,a.commentNumbersDisplayed.add(null!=(l=b[h].commentNumber)?l:0))}else{if(ul(b[h])&&b[h].commentNumber||vl(b[h]))d++,g=h;e++}}if(0<d||0<e)b=1===bva(a.internalEvents)?a.showRecentEventsFirst?0:a.internalEvents.length:emd(a),a.foldedCommentsCounts.set(b,{commentFoldedCount:d,eventFoldedCount:e})},emd=function(a){return waa(a.internalEvents,function(b){var c;return null!=(c=b.isMajorEvent)?c:!1})},bmd=function(a){return ul(a)&&
!!a.unlinkifiedComment||vl(a)||0<a.preDiffs.length||0<a.postDiffs.length},cmd=function(a){var b;return(null!=(b=a.isMajorEvent)?b:!1)&&(ul(a)&&!!a.unlinkifiedComment||vl(a)||0<a.preDiffs.length||0<a.postDiffs.length)},Yld=function(a){if(!(2>a.internalEvents.length)){if(a.showRecentEventsFirst&&a.internalEvents[0].modifiedDate<=fmd(a,a.internalEvents).modifiedDate||!a.showRecentEventsFirst&&a.internalEvents[0].modifiedDate>=fmd(a,a.internalEvents).modifiedDate)if(a.internalEvents.reverse(),a.enableCommentFiltering){var b;
Zld(a,a.internalEvents,null!=(b=a.currentFilterLevel)?b:"FULL_HISTORY");$ld(a)}a.internalEvents&&0!==a.internalEvents.length&&a.scrollToCommentOrAttachment()}},fmd=function(a,b){var c;return null!=(c=b.find(function(d){return a.internalEvents[0].modifiedDate!==d.modifiedDate}))?c:b[1]};N8.prototype.isLoading=function(){return this.formattedCommentsForIssueFridge.isThinking()||this.eventsForIssue.isThinking(this.internalIssueId)};N8.prototype.trackEventByVersion=function(a,b){return b.version};
var Xld=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(Vc(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++)(ul(a.internalEvents[c])||vl(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}},
JAb=function(a){return"summarized"===a||"full"===a};hh.Object.defineProperties(N8.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(Vc(b));b=Object.assign({},b[0],{attachments:[],commentNumber:null,formattedComment:void 0,taggedSummary:[],isMajorEvent:!1});a[0]=b}a&&!Kua(this.internalEvents,a)&&(this.internalEvents=a,this.events$.next(a))}}});
N8.\u0275fac=function(a){return new (a||N8)(C(TF),C(uI),C(SE),C(mJ),C(y8),C(uG),C(vd),C(gs),C(fH),C(gH))};
N8.\u0275cmp=Gc({type:N8,selectors:[["b-event-stream"]],inputs:{issueAccessLevel:"issueAccessLevel",showFullHistory:"showFullHistory",issueId:"issueId",events:"events"},features:[bf],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&&(Q(0,FAb,2,0,"aside",0),G(1,"div",1),Q(2,KAb,3,2,"ng-container",2),H(),Q(3,LAb,2,0,"aside",0));a&2&&(F("ngIf",b.isLoading()&&b.showRecentEventsFirst),z(2),F("ngForOf",b.internalEvents)("ngForTrackBy",b.trackEventByVersion),z(1),F("ngIf",b.isLoading()&&!b.showRecentEventsFirst))},dependencies:[dw,ew,M8,Jz,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 O8=function(a,b){this.message=a;this.snackbarRef=b;this.DEFAULT_MESSAGE="New data is available. Click to refresh."};O8.prototype.onDismiss=function(a){this.snackbarRef.dismiss();a.stopPropagation()};O8.\u0275fac=function(a){return new (a||O8)(C(Scc),C(uF))};
O8.\u0275cmp=Gc({type:O8,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&&(G(0,"div",0),M("click",function(){return hwa(b.snackbarRef)}),
I(1,"mat-icon",1),G(2,"p",2),R(3),H()(),G(4,"button",3),M("click",function(c){return b.onDismiss(c)}),I(5,"mat-icon",4),H());a&2&&(z(3),Df(" ",b.message||b.DEFAULT_MESSAGE," "))},dependencies:[uA,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 P8=function(a){this.snackbar=a},gmd=function(a){var b=FL.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(O8,c);return a.currentSnackBar};P8.\u0275fac=function(a){return new (a||P8)(u(AF))};P8.\u0275prov=qc({token:P8,factory:P8.\u0275fac,providedIn:"root"});var Q8=function(a,b,c,d,e,g,h,l,q,x,A){WD.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=x;this.appEvents=A;this.id$=new E.ReplaySubject(1);this.events$=this.id$.pipe(Se(this.eventsForIssue.watch),D(function(K){var N;return null!=(N=null==K?void 0:K.events)?N:[]}));this.issue$=
this.id$.pipe(Se(function(K){return pH(B.issueFetchResponseFridge,K)}));this.accessLevel$=this.issue$.pipe(D(function(K){var N,P;return null==K?void 0:null==(N=K.issue)?void 0:null==(P=N.accessLimit)?void 0:P.accessLevel}));this.enableInlineScreenshots$=this.preferences.showInlineImages$.pipe(D(function(K){return K&&UD(B.activeSession,"enableImageSummary")}),Re(!0))};U(Q8,WD);Q8.\u0275dir=WD.\u0275dir;
Q8.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=Vm(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(Cwc(this.eventsForIssueWatcher,Vm(this.id$)).subscribe(function(){hmd(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 hmd=function(a){a.analytics.trackEvent(Jn.PUSH_UPDATE,"display","comment");gmd(a.refreshDataNotification)._afterDismissed.subscribe(function(b){b.dismissedByAction?(a.analytics.trackEvent(Jn.PUSH_UPDATE,"fetchResource","comment"),qH(a.issueFetchResponseFridge,Vm(a.id$)),a.eventsForIssue.poke(Vm(a.id$)),a.appEvents.scrollToCommentBox.next()):a.analytics.trackEvent(Jn.PUSH_UPDATE,"dismiss","comment")})};hh.Object.defineProperties(Q8.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.id$.next(a)}}});
Q8.\u0275fac=function(a){return new (a||Q8)(C(SE),C(oH),C(uI),C(gs),C(tP),C(YI),C(GF),C(P8),C(rQ),C(gH),C(KF))};
Q8.\u0275cmp=Gc({type:Q8,selectors:[["issue-event-list"]],inputs:{id:"id"},features:[bf],decls:6,vars:15,consts:[[3,"issueId","events","issueAccessLevel","showFullHistory"]],template:function(a,b){a&1&&(I(0,"b-event-stream",0),S(1,"async"),S(2,"async"),S(3,"async"),S(4,"async"),S(5,"async"));a&2&&(F("issueId",T(2,7,b.id$))("events",T(3,9,b.events$))("issueAccessLevel",T(4,11,b.accessLevel$))("showFullHistory",T(5,13,b.preferences.showFullHistory$)),gf("data-will-inline-screenshots",T(1,5,b.enableInlineScreenshots$)?
!0:null))},dependencies:[N8,kw],styles:["[_nghost-%COMP%]     .bv2-edit-issue-history-stream {\n      padding-left: 0;\n    }"]});var UAb=function(a,b){return{empty:a,"never-focused":b}},R8=function(a,b,c,d,e,g,h,l,q){var x=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 E.ReplaySubject(1);this.distinctIssueId$=this.issueId$.pipe(Fe());this.issue$=this.distinctIssueId$.pipe(Se(function(A){return x.editIssueService.editableIssue$(A)}));this.wasFocused=
!1;this.commentButtonStyle="fill";this.enableRecaptcha=UD(this.activeSession,"enableRecaptcha");this.recaptchaResponse$=new E.BehaviorSubject("");this.commentSubmitted=new Gv;this.HOTKEYS=FL;this.hasAclToEdit$=this.issuePermissionService.hasAclToEdit$;this.hasAclToComment$=this.issuePermissionService.hasAclToComment$;this.isCurrentUserCCd$=this.issuePermissionService.isCurrentUserCCd$;this.accessLevel$=this.issuePermissionService.accessLevel$;this.audience$=this.issuePermissionService.audience$;this.autoCcOnComment$=
this.userPreferencesManager.preferences$.pipe(D(function(A){return A.autoCcOnComment}));this.issueCommentDraft$=this.issueId$.pipe(D(function(A){return x.editIssueService.issueCommentDraft(A)}));this.judgementForNewContent$=this.issueCommentDraft$.pipe(Se(function(A){return A.judgementForNewContent$}));this.comment$=this.issueCommentDraft$.pipe(Se(function(A){return A.comment$}));this.events$=this.issueDetailsBrain.eventsJs$;this.savingState$=this.issueId$.pipe(D(function(A){return x.editIssueService.savingState(A)}));
this.isSaving$=this.savingState$.pipe(Se(function(A){return Dn(A.propertiesBeingSaved,ln("comment"))}));this.commentLimitReached$=this.events$.pipe(D(function(A){var B=x.activeSession.getCommentNumberLimit();return bva(A)>=B}));this.commentPlaceholderText$=this.commentLimitReached$.pipe(D(function(A){return A?"The comment limit has been reached and no additional comments are permitted.":x.activeSession.isAnonymous()?"Sign in to use full features.":x.issuePermissionService.hasAclToComment()?"Add a comment.":
"You do not have access to comment on this issue."}));this.commentBoxEnabled$=(0,E.combineLatest)([this.hasAclToComment$,this.commentLimitReached$,this.isSaving$]).pipe(D(function(A){var B=k(A);A=B.next().value;var K=B.next().value;B=B.next().value;return A&&!K&&!B}));this.showRecaptcha$=(0,E.combineLatest)([this.hasAclToComment$,this.commentLimitReached$]).pipe(D(function(A){var B=k(A);A=B.next().value;B=B.next().value;return A&&!B&&x.enableRecaptcha}));this.commentDraftUpdated$=new E.BehaviorSubject(!0);
this.commentButtonEnabled$=(0,E.combineLatest)([this.hasAclToComment$,this.comment$,this.isSaving$,this.recaptchaResponse$,this.commentDraftUpdated$]).pipe(D(function(A){var B=k(A);A=B.next().value;var K=B.next().value,N=B.next().value;B=B.next().value;return A&&Pic(K)&&!N&&(!x.enableRecaptcha||""!==B)}));this.empty$=(0,E.combineLatest)([this.comment$,this.commentDraftUpdated$]).pipe(D(function(A){var B,K;return null!=(K=null==(B=k(A).next().value)?void 0:B.value)?K:""}),D(function(A){return 0===
A.length}))},NAb=function(a){var b;return he(function(c){b=!vI(a.userPreferencesManager).autoCcOnComment;a.analytics.trackEvent(Jn.EDIT_ISSUE,"toggleAutoCcOnComment",String(b));return c.yield((0,E.firstValueFrom)(a.userPreferencesManager.save({autoCcOnComment:b})),0)})};
R8.prototype.saveCommentDraft=function(){var a=this,b;return he(function(c){if(1==c.nextAddress)return c.yield((0,E.firstValueFrom)(a.comment$),2);b=c.yieldResult;a.draftStore.setDraft(a.internalIssueId,b.value);a.commentDraftUpdated$.next(!0);me(c)})};
R8.prototype.submitCommentBox=function(){var a=this,b;return he(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();me(c)})};R8.prototype.showNewContentJudgementDialog=function(){var a=this;return he(function(b){return b.yield(a.issueCommentDialogsService.showNewContentJudgementDialog(a.internalIssueId),0)})};
R8.prototype.isPlusOneCalloutEnabled=function(){return this.activeSession.isInternalSession()&&UD(this.activeSession,"enableReducePlusOneComments")&&!Vm(this.issueDetailsBrain.voted$)};hh.Object.defineProperties(R8.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a);this.internalIssueId=a},get:function(){return this.internalIssueId}}});R8.\u0275fac=function(a){return new (a||R8)(C($I),C(uI),C(mJ),C(gH),C(mI),C(gs),C(YI),C(AR),C(KF))};
R8.\u0275cmp=Gc({type:R8,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&&(Q(0,WAb,2,1,"ng-container",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.issue$))},dependencies:[PO,x_,RN,cw,ew,hO,EL,vN,xR,kw],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}/*# sourceMappingURL=post_comment.css.map */"]});var imd=[[["","mainSegment",""]],[["","dropdownSegment",""]]],S8=function(){this.mainSegment=!0};S8.\u0275fac=function(a){return new (a||S8)};S8.\u0275dir=Kc({type:S8,selectors:[["button","mainSegment",""]],hostVars:2,hostBindings:function(a,b){a&2&&qf("main-segment",b.mainSegment)}});var T8=function(){this.dropdownAriaLabel=this.dropdownTooltip="";this.disabled=!1;this.dialogClosed=new Gv;this.dialogOpened=new Gv};T8.prototype.ngAfterContentInit=function(){};
T8.prototype.ngOnChanges=function(a){a.dropdownTooltip&&!this.dropdownAriaLabel&&(this.dropdownAriaLabel=this.dropdownTooltip)};hh.Object.defineProperties(T8.prototype,{expanded:{configurable:!0,enumerable:!0,get:function(){var a,b;return null!=(b=null==(a=this.trigger)?void 0:a.isOpen)?b:!1}}});T8.\u0275fac=function(a){return new (a||T8)};
T8.\u0275cmp=Gc({type:T8,selectors:[["split-button"]],contentQueries:function(a,b,c){a&1&&Vf(c,S8,5);if(a&2){var d;Tf(d=Wf())&&(b.mainSegment=d.first)}},viewQuery:function(a,b){a&1&&Uf(JL,5);if(a&2){var c;Tf(c=Wf())&&(b.trigger=c.first)}},hostVars:2,hostBindings:function(a,b){a&2&&qf("expanded",b.expanded)},inputs:{dropdownTooltip:"dropdownTooltip",dropdownAriaLabel:"dropdownAriaLabel",disabled:"disabled"},outputs:{dialogClosed:"dialogClosed",dialogOpened:"dialogOpened"},exportAs:["splitButton"],
features:[Zc],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&&(xf(imd),yf(0),G(1,"button",0,1),
M("click",function(){var d,e;if(null!=(e=null==(d=b.trigger)?void 0:d.isOpen)&&e){var g;null==(g=b.trigger)||g.close()}else{var h;null==(h=b.trigger)||h.open()}})("onedevPopupPanelTriggerOpened",function(){return b.dialogOpened.emit()})("onedevPopupPanelTriggerClosed",function(){return b.dialogClosed.emit()}),I(3,"mat-icon",2),H(),G(4,"onedev-popup-panel",3,4)(6,"div",5),yf(7,1),H()());if(a&2){var c=Cf(5);z(1);F("onedevPopupPanelTriggerFor",c)("matTooltip",b.dropdownTooltip)("disabled",b.disabled);
gf("aria-label",b.dropdownAriaLabel)}},dependencies:[uA,Jz,LB,IL,JL],styles:["[_nghost-%COMP%]    {border:1px solid;border-color:#dadce0;border-color:var(--hairline);border-radius:5px;display:flex;overflow:hidden}[_nghost-%COMP%]     .main-segment{border-radius:5px 0 0 5px;padding-left:8px;padding-right:8px;line-height:13px}[_nghost-%COMP%]    .expanded .dropdown-button mat-icon{transform:rotate(-180deg)}[_nghost-%COMP%]     .dropdown-button:not([disabled]) mat-icon{color:#5f6368;color:var(--icon)}[_nghost-%COMP%]     .dropdown-button{border-left:1px solid;border-color:#dadce0;border-color:var(--divider);border-radius:0;width:30px}[_nghost-%COMP%]     .dropdown-button mat-icon{width:18px;transition:250ms transform}/*# sourceMappingURL=split_button.css.map */"],
changeDetection:0});var dBb=function(a){return{voteCount:a}},U8={},jmd=(U8.REJECTION_REASON_UNSPECIFIED="Unspecified",U8.REVERSED="The relationship is reversed",U8.SIMILAR="The issues are similar, but not duplicate",U8.NOT_SIMILAR="The issues are not similar",U8.OTHER="Other",U8),kmd=new Set(["VERY_HIGH","HIGH"]),V8=function(a,b,c,d,e,g,h,l,q,x){WD.call(this);var A=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=x;this.STATUS_FULL_TEXT=IE;this.STATUS_TERSE=EE;this.REJECT_REASON_TO_DISPLAY=jmd;this.currentIssueId$=new E.ReplaySubject(1);this.currentIssue$=this.currentIssueId$.pipe(Se(function(B){return A.issueFridge.watch(B)}));this.isAlreadyADuplicate$=this.currentIssue$.pipe(D(function(B){return"DUPLICATE"===(null==B?void 0:B.snapshot[0].status)}));this.recommendation$=this.currentIssueId$.pipe(Se(function(B){return A.issueRecommendationsFridge.watch(B+
"-ISSUE_DEDUPLICATION",void 0)}),D(function(B){return null==B?void 0:B.recommendations.filter(function(K){return kmd.has(K.confidence)})}),D(function(B){return null==B?void 0:B[0]}));this.canonicalIssue$=this.recommendation$.pipe(D(function(B){var K;return null==B?void 0:null==(K=B.content)?void 0:K.recommendedIssue}));this.canonicalIssueId$=this.canonicalIssue$.pipe(D(function(B){return null==B?void 0:B.issueId}));this.canonicalComponentId$=this.canonicalIssue$.pipe(D(function(B){var K;return null!=
(K=null==B?void 0:B.snapshot[0].componentId)?K:void 0}));this.canonicalAccessLevel$=this.canonicalIssue$.pipe(D(function(B){var K;return null==B?void 0:null==(K=B.accessLimit)?void 0:K.accessLevel}));this.isCanonicalInExternalComponent$=this.canonicalAccessLevel$.pipe(D(function(B){return!(!B||"INTERNAL"===B)}));this.canonicalTitle$=this.canonicalIssue$.pipe(D(function(B){return null==B?void 0:B.snapshot[0].title}));this.canonicalPriority$=this.canonicalIssue$.pipe(D(function(B){return null==B?void 0:
B.snapshot[0].priority}));this.canonicalVoteCount$=this.canonicalIssue$.pipe(D(function(B){var K;return null==B?void 0:null==(K=B.aggregatedData)?void 0:K.voteCount}));this.canonicalCreateMicros$=this.canonicalIssue$.pipe(D(function(B){var K;return null==B?void 0:null==(K=B.aggregatedData)?void 0:K.createdTimeMicros}));this.canonicalDuplicates$=this.canonicalIssue$.pipe(D(function(B){var K;return null!=(K=null==B?void 0:B.snapshot[0].duplicateIssueId)?K:[]}));this.statusForChip$=this.canonicalIssue$.pipe(D(function(B){return null==
B?void 0:B.snapshot[0].status}),D(function(B){return jj[B]}));this.canonicalEvents$=this.canonicalIssueId$.pipe(Se(function(B){return A.eventsForIssueFridge.watch(B)}),D(function(B){var K;return null!=(K=null==B?void 0:B.events)?K:[]}));this.canonicalDescription$=this.canonicalEvents$.pipe(D(function(B){return B[0]}),D(function(B){var K;return{formattedComment:null==B?void 0:B.formattedComment,commentNumber:1,unlinkifiedComment:(null==B?void 0:B.unlinkifiedComment)||"",formattingMode:null!=(K=null==
B?void 0:B.formattingMode)?K:"UNSPECIFIED_FORMATTING_MODE"}}));this.canonicalComments$=this.canonicalEvents$.pipe(D(function(B){return B.filter(ul)}));this.wasRejected$=new E.BehaviorSubject(!1);this.show$=(0,E.combineLatest)([this.isAlreadyADuplicate$,this.canonicalIssue$,this.wasRejected$]).pipe(D(function(B){var K=k(B);B=K.next().value;var N=K.next().value;K=K.next().value;return!B&&!!N&&!K}));this.isSaving=!1;this.REJECT_REASONS=["NOT_SIMILAR","SIMILAR","REVERSED","OTHER"]};U(V8,WD);
V8.\u0275dir=WD.\u0275dir;V8.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.canonicalIssue$.subscribe(function(b){a.issueFridge.announce(b)}));this.subscriptions.add((0,E.combineLatest)([this.show$.pipe(ye(Boolean)),Tpc(this.scrolledOnScreenService,this.elementRef.nativeElement)]).pipe(Ge()).subscribe(function(){a.analytics.trackEvent(Jn.EDIT_ISSUE,"view","canonical-recommendation");lmd(a,"VIEWED")}))};
V8.prototype.accept=function(){var a=this,b,c;return he(function(d){switch(d.nextAddress){case 1:return a.isSaving=!0,b=Vm(a.canonicalIssueId$),ie(d,2,3),d.yield(Ajc(a.editIssueService,a.currentIssueId,b),5);case 5:return a.analytics.trackEvent(Jn.EDIT_ISSUE,"accept","canonical-recommendation"),d.yield(lmd(a,"ACCEPTED"),3);case 3:je(d);a.isSaving=!1;ke(d,0);break;case 2:c=le(d),IF(a.errorHandler,c),d.jumpTo(3)}})};
V8.prototype.reject=function(a){var b=this;return he(function(c){b.wasRejected$.next(!0);b.analytics.trackEvent(Jn.EDIT_ISSUE,"reject","canonical-recommendation");return c.yield(lmd(b,"REJECTED",a),0)})};
var lmd=function(a,b,c){var d,e;return he(function(g){if(1==g.nextAddress){ie(g,2);d=Vm(a.recommendation$).name;var h=g.yield,l=E.firstValueFrom;var q=a.recommendationsService;var x=[{parent:d,userEngagement:{type:b,rejectionReason:c}}];x=(new QL).setRequestsList(x.map(RFa));q=q.executor.post({url:"action/recommendations/engagements/batch",body:x,responseConstructor:null});return h.call(g,l.call(E,q),4)}if(2!=g.nextAddress)return ms(g,0);e=le(g);IF(a.errorHandler,e);me(g)})};
V8.prototype.getIssueLink=function(a){return this.paths.editIssue(a)};hh.Object.defineProperties(V8.prototype,{currentIssueId:{configurable:!0,enumerable:!0,set:function(a){this.currentIssueId$.next(a)},get:function(){return Vm(this.currentIssueId$)}}});V8.\u0275fac=function(a){return new (a||V8)(C(lH),C(SE),C(vG),C(SL),C(GF),C(mJ),C(gH),C(YN),C(vd),C(TL))};
V8.\u0275cmp=Gc({type:V8,selectors:[["canonical-recommendation"]],inputs:{currentIssueId:"currentIssueId"},features:[bf],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&&(G(0,"div",0),I(1,"mat-icon",1),G(2,"span"),R(3,"Close as duplicate of:"),H(),G(4,"a",2),
I(5,"mat-icon",3),H()(),Q(6,eBb,37,42,"div",4),S(7,"async"));a&2&&(z(6),F("ngIf",T(7,1,b.canonicalIssueId$)))},dependencies:[SN,dw,ew,uA,bK,ML,WH,Jz,Kz,BB,LB,T8,S8,kw],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 W8=function(a,b,c,d,e,g,h,l,q,x,A,B){WD.call(this);var K=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=x;this.issuePermissionService=A;this.llmService=B;this.id$=this.brain.id$;this.issueAndEvents$=(0,E.combineLatest)([this.brain.issueJs$.pipe(ye(Boolean)),this.brain.eventsJs$]);this.enableSummarySection=UD(this.activeSession,"enableSummarySection");this.enableIDPCanonicalRecommendation=
UD(this.activeSession,"enableIDPCanonicalRecommendation");this.enableLamdaDemo=UD(this.activeSession,"enableLamdaDemo");this.showRecentEventsFirst=!1;this.comment$=this.id$.pipe(ye(pi),Se(function(N){return K.editIssueService.issueCommentDraft(N).comment$}));this.finishedRendering$=(0,E.combineLatest)([this.brain.eventsJs$.pipe(Ee(0)),c8a("#AddCommentBox textarea",this.element.nativeElement)]).pipe(Ge());this.userRequestedSummary=!1;this.commentThreadSummary$=this.id$.pipe(ye(pi),Se(function(N){return K.llmService.summarizeCommentThread(N)}),
Pe({bufferSize:1,refCount:!0}))};U(W8,WD);W8.\u0275dir=WD.\u0275dir;
W8.prototype.ngOnInit=function(){var a=this;this.preferences.showRecentEventsFirst$.pipe(ye(pi),Te(this.destroyed$)).subscribe(function(b){a.showRecentEventsFirst=b});this.destroyed$.subscribe(function(){mmd(a)});c8a("#comment1 .critical-feature",this.element.nativeElement).pipe(Te(this.destroyed$)).subscribe(function(){var b=function(){L1c(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;nmd(a,b,c)}));this.subscriptions.add(this.finishedRendering$.pipe(Ve(this.comment$)).subscribe(function(b){b=k(b);b.next();b.next().value.hasContent()&&a.appEvents.scrollToCommentBox.next()}))};
var nmd=function(a,b,c){var d=b.issue,e=c.map(function(g){return g.unlinkifiedComment});b=kva(d,c).length;d=lva(d,c);e=e.filter(Boolean).length;b=5<=b||10<=e||10<=d?"collab":"other";XG(a.clearcut,"view_idp_"+b);Pm("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(Jn.EDIT_ISSUE,"view",c?"hasUpvoteReaction":"noUpvoteReaction")};W8.prototype.unloadPageHandler=function(){mmd(this)};
var mmd=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(Jn.EDIT_ISSUE,"scroll","commentThread",e);WG(a.clearcut,e,"idp-time-scrolling-comments-recentFirst-"+a.showRecentEventsFirst)}};
W8.\u0275fac=function(a){return new (a||W8)(C(YI),C(uI),C(xY),C(gH),C(vd),C(mJ),C(KF),C(T1),C(VG),C(gs),C($I),C(dX))};
W8.\u0275cmp=Gc({type:W8,selectors:[["ng-component"]],hostBindings:function(a,b){a&1&&M("unload",function(){return b.unloadPageHandler()},!1,yd)},features:[bf],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"],["class","summary carded margin-s-sides margin-s-bottom flex-kids-x padded-sides",4,"ngIf"],[1,"carded","margin-s-sides","margin-s-bottom","bg-main","highlighted-left",3,"id"],[1,"rounded","margined-s",3,"currentIssueId"],["canonicalRecommendation",""],[1,"summary","carded","margin-s-sides","margin-s-bottom","flex-kids-x","padded-sides"],["svgIcon","chat_spark_24px","color","primary",1,"margin-s-right","shrink-0"],[1,"flex-kids-y","gap-s"],[1,"uppercase"],["mat-flat-button",
"","color","primary","class","gmat-button small",3,"click",4,"ngIf"],["summaryLoading",""],["mat-flat-button","","color","primary",1,"gmat-button","small",3,"click"],[4,"ngIf","ngIfElse"],[1,"white-space-pre-wrap"],[1,"flex-kids-x","gap-s"],["mat-stroked-button","","color","primary",1,"gmat-button","small"],[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&&(G(0,"div",0),Q(1,lBb,7,7,"ng-container",
1),S(2,"async"),Q(3,mBb,3,5,"issue-summary-card",2),S(4,"async"),Q(5,pBb,5,5,"div",3),S(6,"async"),H());a&2&&(F("bFocus",!0),z(1),F("ngIf",T(2,4,b.id$)),z(2),F("ngIf",b.enableSummarySection&&T(4,6,b.id$)),z(2),F("ngIf",T(6,8,b.id$)))},dependencies:[ew,uA,Jz,V8,G8,CT,WS,GR,Q8,VR,R8,yT,sL,kw],styles:["issue-summary-card[_ngcontent-%COMP%]{padding:8px}.summary[_ngcontent-%COMP%]{background-color:#f2f6ff;background-color:var(--blue-bg)}"]});var X8=function(){};X8.\u0275fac=function(a){return new (a||X8)};X8.\u0275mod=Ic({type:X8});X8.\u0275inj=rc({imports:[tF,iC,jA,dO]});var Y8=function(){};Y8.\u0275fac=function(a){return new (a||Y8)};Y8.\u0275mod=Ic({type:Y8});Y8.\u0275inj=rc({imports:[tF]});var Z8=function(){};Z8.\u0275fac=function(a){return new (a||Z8)};Z8.\u0275mod=Ic({type:Z8});Z8.\u0275inj=rc({imports:[tF,DM,vO,CM,tO,hZ,eO]});var $8=function(){};$8.\u0275fac=function(a){return new (a||$8)};$8.\u0275mod=Ic({type:$8});$8.\u0275inj=rc({imports:[tF,eO]});var a9=function(){};a9.\u0275fac=function(a){return new (a||a9)};a9.\u0275mod=Ic({type:a9});a9.\u0275inj=rc({imports:[FR,KS,eO,tF,CM,DM,Z8,TN,JS,UM,tO,JC,$8,iC,Y8]});var b9=function(){};b9.\u0275fac=function(a){return new (a||b9)};b9.\u0275mod=Ic({type:b9});b9.\u0275inj=rc({imports:[tF,a9,Z8,iC,ZM]});var c9=function(){};c9.\u0275fac=function(a){return new (a||c9)};c9.\u0275mod=Ic({type:c9});c9.\u0275inj=rc({imports:[tF,iC,zF]});var d9=function(){};d9.\u0275fac=function(a){return new (a||d9)};d9.\u0275mod=Ic({type:d9});d9.\u0275inj=rc({imports:[eO,tF,b9,LS,OM,bT,iC,JC,ZM,ZS,c9,tO,zF]});var e9=function(){};e9.\u0275fac=function(a){return new (a||e9)};e9.\u0275mod=Ic({type:e9});e9.\u0275inj=rc({imports:[aS,P_,eO,tF,mO,$w,GL,iC,$N,Q_]});var f9=function(){};f9.\u0275fac=function(a){return new (a||f9)};f9.\u0275mod=Ic({type:f9});f9.\u0275inj=rc({imports:[tF,iC,JC,KL]});var g9=function(){};g9.\u0275fac=function(a){return new (a||g9)};g9.\u0275mod=Ic({type:g9});g9.\u0275inj=rc({imports:[eO,tF,CM,OM,NM,iC,EB,JC,f9]});var h9=function(){};h9.\u0275fac=function(a){return new (a||h9)};h9.\u0275mod=Ic({type:h9});h9.\u0275inj=rc({imports:[tF,fy,Rx,$w,iC,rM,ax,tG,g9,X8,DT,gT,LS,d9,nT,kT,e9,ZN,zT,tO,ZM]});var omd=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(Se(this.issueFridge.watch),ye(pi));this.commentNumberToEventMap$=this.issue$.pipe(D(function(g){return g.issueId}),Se(function(g){return e.eventsForIssueFridge.watch(g)}),D(function(g){var h;return null!=(h=null==g?void 0:g.events)?h:[]}),D(function(g){return new Map(g.filter(function(h){return!!h.commentNumber}).map(function(h){return[h.commentNumber,
h]}))}));this.relatedLinks$=(0,E.combineLatest)([this.issue$,this.commentNumberToEventMap$]).pipe(D(function(g){g=k(g);var h=g.next().value,l=g.next().value,q;return(null==(q=h.relatedLinks)?void 0:q.map(function(x){return Object.assign({},x,{comment:l.get(x.sourceCommentNumber)})}))||[]}));this.issueReferences$=this.relatedLinks$.pipe(D(function(g){return g.filter(Gva)}));this.imageLinks$=this.relatedLinks$.pipe(D(function(g){return g.filter(Cva)}));this.otherLinks$=this.relatedLinks$.pipe(D(function(g){return g.filter(Hva)}))};
omd.\u0275fac=function(a){return new (a||omd)(C(gs),C(lH),C(YI),C(SE))};
omd.\u0275cmp=Gc({type:omd,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&&(G(0,"section",0),Q(1,xBb,7,9,"ng-container",1),S(2,"async"),H());a&2&&(z(1),F("ngIf",T(2,1,b.issue$)))},dependencies:[ew,
uA,MR,JR,OR,kw],styles:["[_nghost-%COMP%]{display:block;padding:8px}h4[_ngcontent-%COMP%]{margin:16px 0}mat-icon[_ngcontent-%COMP%]{vertical-align:text-bottom}"]});var i9=function(){};i9.\u0275fac=function(a){return new (a||i9)};i9.\u0275mod=Ic({type:i9});i9.\u0275inj=rc({imports:[tF,kT,iT,lT]});var j9=function(a,b){var c=this;this.brain=a;this.codeMentions=b;this.ROBOT_SLEEPING=Ylc;this.id$=this.brain.id$.pipe(ye(pi));this.codeMentionsState$=this.id$.pipe(Se(function(d){return Tkd(c.codeMentions,d)}))};j9.prototype.displayPackageNames=function(a){return this.codeMentions.displayPackageNames(a)};j9.prototype.trackSqueegeeClick=function(){this.codeMentions.trackSqueegeeClick()};j9.\u0275fac=function(a){return new (a||j9)(C(YI),C(N7))};
j9.\u0275cmp=Gc({type:j9,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&&(G(0,"section",0),Q(1,DBb,3,3,"ng-container",1),S(2,"async"),H());a&2&&(z(1),F("ngIf",T(2,1,b.id$)))},dependencies:[dw,ew,yid,kw],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 k9=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()};k9.prototype.ngOnInit=function(){this.pageTitle.setTitle("All of my hotlists");this.fetchUserHotlists()};
k9.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)})};k9.\u0275fac=function(a){return new (a||k9)(C(cH,2),C(TU),C(OG),C(vG),C(GF))};
k9.\u0275cmp=Gc({type:k9,selectors:[["list-hotlists-page"]],features:[Gf([cH])],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&&(G(0,"h2",0),R(1,"Browse Hotlists"),H(),G(2,"div",1)(3,"a",2),R(4," Create Hotlist "),H()(),G(5,"div",3),Q(6,EBb,1,1,"b-spinner",4),Q(7,FBb,1,1,"b-hotlist-grid",5),H());
a&2&&(z(3),F("href",b.createHotlistPath,Md),z(3),F("ngIf",b.isLoading),z(1),F("ngIf",!b.isLoading))},dependencies:[ew,N0,sL,Kz],encapsulation:2});var pmd=new Set(["issueId","modifiedTime","createdTime"]),l9=function(a,b,c,d,e,g,h,l,q,x,A,B,K,N,P,Y,X,ka,ma,za,Ba,Ma,Sa,Ua,Lb){WD.call(this);var qb=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=x;this.analytics=A;this.appSearchState=B;this.issuePagination=K;this.userPreferencesManager=N;this.urlPreferences=P;this.gridPreferencesFetcher=Y;this.paths=X;this.timeout=ka;this.errorHandler=
ma;this.statusMessages=za;this.domSafe=Ba;this.appEvents=Ma;this.hotlistFridge=Sa;this.issueFridge=Ua;this.batchIssueRelationshipsService=Lb;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 Ya;null==(Ya=qb.resultsGrid)||a_c(Ya)}},{keys:["k"],displayAs:"k",description:"Move to the previous issue",onPress:function(){var Ya;null==(Ya=qb.resultsGrid)||b_c(Ya)}},{keys:["x"],displayAs:"x",description:"Select/Deselect the current issue",onPress:function(){var Ya;null==(Ya=qb.resultsGrid)||$Zc(Ya)}},{keys:["s"],displayAs:"s",description:"Star/Unstar the current issue",onPress:function(){var Ya;null==(Ya=qb.resultsGrid)||e_c(Ya)}},{keys:[vn("i")],
displayAs:"Shift+i",description:"Mark as read",onPress:function(){var Ya;null==(Ya=qb.resultsGrid)||f_c(Ya,!0)}},{keys:[vn("u")],displayAs:"Shift+u",description:"Mark as unread",onPress:function(){var Ya;null==(Ya=qb.resultsGrid)||f_c(Ya,!1)}},{keys:[wn("*","a")],displayAs:"* then a",description:"Select all issues on this page",onPress:function(){var Ya;null==(Ya=qb.resultsGrid)||Ya.selectAll()}},{keys:[wn("*","n")],displayAs:"* then n",description:"Deselect all issues on this page",onPress:function(){var Ya;
null==(Ya=qb.resultsGrid)||YZc(Ya)}},{keys:["a"],displayAs:"a",description:"Change assignee",onPress:function(){var Ya;null==(Ya=qb.gridControls)||I_(Ya,null,0)}},{keys:["d"],displayAs:"d",description:"Mark as duplicate",onPress:function(){var Ya;null==(Ya=qb.gridControls)||I_(Ya,xl.DUPLICATE,3)}},{keys:["h"],displayAs:"h",description:"Edit hotlists",onPress:function(){var Ya;if(null!=(Ya=qb.gridControls)&&Ya.hasSelectedIssues()){var wa;null==(wa=Ya.hotlistPicker)||wa.open()}}},{keys:["r"],displayAs:"r",
description:"Add comment",onPress:function(){var Ya;null==(Ya=qb.gridControls)||XYc(Ya)}},{keys:["u",vn("r")],displayAs:"u / Shift+r",description:"Refresh search results",onPress:function(){return qb.refreshResults()}},{keys:[wn("p","0"),wn("p","1"),wn("p","2"),wn("p","3"),wn("p","4")],displayAs:"p <n>",description:"Mark selected issues as priority n",onPress:function(Ya){qb.resultsGrid&&qb.sendBulkEditRequest([{actions:[{fieldName:"priority",value:"P"+Ya}],issueIds:qb.resultsGrid.getSelectedIssues().map(function(wa){return wa.issueId})}])}},
{keys:["o","ENTER",sFa("ENTER")],displayAs:"o / Enter",description:"Open the current issue",onPress:function(Ya){var wa=c.document.activeElement;if(1===Ya&&"A"===wa.tagName)if(wa.href)Ya=qb.paths.getBaseUrl(),Th(wa.href,Ya)?qb.bLocation.url(wa.href.slice(Ya.length)):qb.domSafe.openInNewTab(wa.href);else{var Ka;null==(Ka=qb.resultsGrid)||c_c(Ka)}else if(2===Ya){var Na;null==(Na=qb.resultsGrid)||c_c(Na,{openInNewTab:!0})}else{var fb;null==(fb=qb.resultsGrid)||c_c(fb)}}}]};U(l9,WD);
l9.prototype.ngOnInit=function(){var a=this;qmd(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(Te(this.destroyed$)).subscribe(function(){qmd(a)})};
var rmd=function(a){var b=["priority","type","title","assignee","status"];a.activeSession.isInternalSession()&&b.push("minSlo");b.push("issueId","modifiedTime");return b.map(zk)};
l9.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];Mh(d,c)||(d&&ra(a.hotlistChoices,d),a.hotlistChoices.push(c),a.hotlistMap[c.hotlistId]=c,a.cdr.detectChanges())}}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
var qmd=function(a){return smd(a).then(function(){return a.getIssues()}).then(function(){return a.searchResults?tmd(a,a.searchResults.startIndex,a.searchResults.endIndex):Promise.resolve()}).finally(function(){a.cdr.detectChanges()})},umd=function(a){return null!=a.window.document.activeElement&&a.window.document.activeElement!==a.window.document.body},vmd=function(a){var b,c;return null!=(c=null==(b=a.window.document.activeElement)?void 0:b.classList.contains("search-box"))?c:!1},smd=function(a){var b=
Ol();umd(a)&&vmd(a)&&a.window.document.activeElement.blur();a.timeout.schedule(function(){b.resolve()});return b.promise},tmd=function(a,b,c){var d=Ol();umd(a)||wmd(a,b,c);a.timeout.schedule(function(){d.resolve()});return d.promise},xmd=function(a,b){var c=a.activeSession.getMaxAccurateSearchResults();b.numResults>c&&!b.isPreSort&&(b=jn("Number of search results exceeds "+c+" ; some matching issues may be omitted.",hn("BR"),"Please try to restrict your search further or change the sort column to either CREATED or LAST MODIFIED. "),
c={},c=hn("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=jn(hn("BR"),"See ",c," for more details."),b=a.activeSession.isInternalSession()?jn(b,c):b,$cc(a.butterBar,b))};f=l9.prototype;
f.setSort=function(a,b,c){c=void 0===c?!0:c;var d=zk(a);if(d){var e=new Ck(d,"ASC"===b?"ASCENDING":"DESCENDING");sa(this.sortPreferences,function(g){return Mh(g.fieldId,e.fieldId)});!c||pmd.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):Qh(a.fieldId.type),direction:"ASCENDING"===a.direction?"ASC":"DESC"};Mh(a,this.cachedSort)||(this.cachedSort=a);return this.cachedSort};f.saveSortColumns=function(a){Q0(this.urlPreferences,{sortColumns:a,page:1})};
f.initColumns=function(a,b){var c=this;b=void 0===b?ymd:b;a.then(function(d){c.displayColumns=d;c.metaColumns=b;c.isColumnSaveEnabled=!0;c.issueColumnsInternal=[].concat(Vc(b),Vc(Z7a(d)));c.cdr.detectChanges()})};f.saveColumns=function(a){this.displayColumns=a.map(function(b){return zk(b.name)});Q0(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?Hn(this.domSafe,a):this.bLocation.url(a))};f.goToPage=function(a){this.bLocation.search("p",a)};var Xr=function(a,b,c){void 0!==b&&a.goToPage(b+c)};f=l9.prototype;f.refreshResults=function(){uX(this.issuePagination);return qmd(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)||ISc(g,e,d)}this.cdr.detectChanges();DF(this.butterBar,"Saving changes...",0);return nH(this.issueFridge,a[0].issueIds,{markRead:d}).then(function(l){for(var q=k(a[0].issueIds),x=q.next();!x.done;x=q.next()){x=x.value;var A=void 0,
B=void 0;null==(A=c.searchResults)||ISc(A,x,void 0,null!=(B=l)?B:null)}DF(c.butterBar,"Successfully marked issues "+(d?"read.":"unread."))}).catch(function(l){for(var q=k(a[0].issueIds),x=q.next();!x.done;x=q.next()){x=x.value;var A=void 0;null==(A=c.searchResults)||ISc(A,x)}c.errorHandler.errorHandler(null,l)}).finally(function(){c.cdr.detectChanges()})}e=Sza(a).map(function(l){return l.fieldName});this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"bulkEdit",e.join(","));var h={bulkEditOps:a};DF(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()),x=q.next();!x.done;x=q.next()){var A=k(x.value);x=A.next().value;A=A.next().value;l.finishedIssues[A.issueId]&&(x=c.searchResults.issues[x],V_a(x,l.finishedIssues[A.issueId],null),c.loadHotlists(x),Object.assign(c.customFieldMap,
x.customFieldMap))}}A=a[0];q=l.notFinishedIssueIds;x=String(A.actions[0].value);A=A.actions[0].actionType;if("ADD"!==A&&"REMOVE"!==A)throw Error("re");q.length?(l="Failed to update issue(s) "+q.join(", ")+".",EF(c.butterBar,l),c.analytics.trackEvent(c.ANALYTICS_CATEGORY,"bulkEditError",""+q.length)):DF(c.butterBar,("ADD"===A?"Added child issue(s) to parent ["+x+"]":"Removed child issue(s) from parent ["+x+"]")+" 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()),x=q.next();!x.done;x=q.next()){var A=k(x.value);x=A.next().value;A=A.next().value;l.affectedIssues[A.issueId]&&(A=l.affectedIssues[A.issueId],x=c.searchResults.issues[x],V_a(x,A,l.componentMap[oa(A.snapshot).componentId]),c.loadHotlists(x),Object.assign(c.customFieldMap,x.customFieldMap))}}l.errors&&l.errors.length?(q="Failed to update issue(s) "+
(vqa(l.errors,"issueId").join(", ")+"."),EF(c.butterBar,q),c.analytics.trackEvent(c.ANALYTICS_CATEGORY,"bulkEditError",""+l.errors.length)):(l=Cic(c.statusMessages,h,c.customFieldMap))?DF(c.butterBar,l):DF(c.butterBar,"Saved "+Tza(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(Vc(a))).then(function(){for(var h={},l=k(c),q=l.next();!q.done;h={$jscomp$loop$prop$loadedHotlists$2393:h.$jscomp$loop$prop$loadedHotlists$2393},q=l.next()){q=q.value;if(!q.hotlistId)return;
h.$jscomp$loop$prop$loadedHotlists$2393=[];q.hotlists=h.$jscomp$loop$prop$loadedHotlists$2393;q=k(q.hotlistId);for(var x=q.next();!x.done;x=q.next())x=x.value,b.hotlistMap[x]?h.$jscomp$loop$prop$loadedHotlists$2393.push(b.hotlistMap[x]):b.hotlistApi.get(x).then(function(A){return function(B){b.hotlistFridge.announce(B);b.addHotlist(B);A.$jscomp$loop$prop$loadedHotlists$2393.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");DF(this.butterBar,"Creating hotlist "+c+"...",0);this.hotlistApi.createHotlist(c).then(function(e){b.hotlistFridge.announce(e);DF(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;DF(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");Vkc(this.domSafe,this.getCsvUrl())};
var zmd=function(a,b){a.userPreferencesManager.save({resultsPerPage:b}).pipe(Te(a.destroyed$)).subscribe(function(){a.resultsPerPage=b;Q0(a.urlPreferences,{page:1});a.analytics.trackEvent(a.ANALYTICS_CATEGORY,"resultsPerPageSave",b.toString());a.refreshResults();a.cdr.detectChanges()},function(c){yh(c)})},wmd=function(a,b,c){var d=a.issuePagination.focusedIssueIndex_;a.timeout.schedule(function(){if(d>=b&&d<=c)a.focusedRowIndex=d-b;else{RSc(a.issuePagination);a.focusedRowIndex=0;var e=document.querySelector(".bv2-view");
e&&(e.scrollTop=0)}a.cdr.detectChanges()})},NBb=function(){setTimeout(function(){var a=document.querySelector(".b-select-all-toggle");a&&a.focus()})};
hh.Object.defineProperties(l9.prototype,{issueColumns:{configurable:!0,enumerable:!0,get:function(){return this.issueColumnsInternal},set:function(a){Mh(this.issueColumnsInternal,a)||(this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"columnModification",iza(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 ymd=[r0,s0,t0];
l9.\u0275fac=function(a){return new (a||l9)(C(cH),C(fH),C(Window),C(uG),C(FF),C(kE),C(OG),C(GG),C(gs),C(CF),C(gH),C($X),C(tX),C(uI),C(P0),C(R0),C(vG),C(lF),C(GF),C(EI),C(SJ),C(KF),C(SG),C(lH),C(P1))};l9.\u0275dir=Kc({type:l9,features:[bf]});var JBb=function(){return{q:"status:open"}},m9=function(a,b,c,d,e,g,h,l,q,x,A,B,K,N,P,Y,X,ka,ma,za,Ba,Ma,Sa,Ua,Lb,qb,Ya,wa,Ka,Na){l9.call(this,a,b,c,d,g,h,l,q,e,x,A,B,K,N,P,Y,X,ka,Sa,ma,za,Lb,Ya,wa,Na);this.hotkeys=Ba;this.pageTitle=Ma;this.routePerformance=Ua;this.element=qb;this.currentTracker=Ka;this.ANALYTICS_CATEGORY=Jn.LIST_ISSUES;this.isLoading=!0;this.showHotlists=!1;this.SPACE_EMPTY_STATE=amc};U(m9,l9);m9.\u0275dir=l9.\u0275dir;f=m9.prototype;
f.ngOnInit=function(){var a=this;l9.prototype.ngOnInit.call(this);this.subscriptions.add(DL(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]),EF(this.butterBar,b));this.query=this.urlPreferences.getQuery();if(!this.query)return this.activeSession.isAnonymous()?(this.query="",aY(this.appSearchState,this.query),this.searchResults=null,this.setPageTitle(),this.isLoading=!1):(this.routePerformance.ignoringNextNav=!0,Q0(this.urlPreferences,{query:"assignee:"+this.currentUserEmail+" status:open"},!0)),Promise.resolve(void 0);aY(this.appSearchState,
this.query);b=VTc(this.appSearchState);if(0<b)return Oec(this.bLocation,this.paths.viewHotlist(b)),Q0(this.urlPreferences,{query:null},!0),Promise.resolve(void 0);b=WTc(this.appSearchState);if(0<b)return Oec(this.bLocation,this.paths.viewSavedSearch(b)),Q0(this.urlPreferences,{query:null},!0),Promise.resolve(void 0);this.searchResults=null;this.isLoading=!0;this.setPageTitle();this.subscriptions.add((0,E.concat)((0,E.timer)(0).pipe(cja()),c8a("b-issues-grid, #no-results",this.element.nativeElement)).subscribe(function(){var c=
function(){L1c(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:rmd(this)}),c=b.searchPreferences.then(function(g){g=Nh(g);g.query=a.computeQuery(g);g.returnUrl=a.bLocation.url();g.trackerIds=a.appSearchState.currentTrackerScope;return NSc(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){xmd(a,g)}).catch(function(g){"number"===typeof g?Q0(a.urlPreferences,{page:g}):a.errorHandler.errorHandler(null,g)});b=b.displayColumns;this.initColumns(b);return Bn({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 zk(b.name)});eic(this.userPreferencesManager,$7a(a)).pipe(Te(this.destroyed$)).subscribe()};
f.setPageTitle=function(){this.appSearchState.currentQuery===TTc(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===UTc(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(Te(this.destroyed$)).subscribe(function(){Q0(b.urlPreferences,{page:1,sortColumns:null});b.refreshResults().finally(function(){b.isLoading=!1;b.cdr.detectChanges();NBb()})})};f.getCsvUrl=function(){return this.paths.issuesCsvAction(this.query,this.appSearchState.currentTrackerScope,this.sortPreferences,this.displayColumns,this.showHotlists)};
m9.\u0275fac=function(a){return new (a||m9)(C(cH),C(fH),C(VD),C(uG),C(gs),C(FF),C(kE),C(OG),C(GG),C(CF),C(gH),C($X),C(tX),C(uI),C(P0),C(R0),C(vG),C(lF),C(EI),C(SJ),C(CL),C(TU),C(GF),C(T1),C(KF),C(vd),C(SG),C(lH),C(lK),C(P1))};
m9.\u0275cmp=Gc({type:m9,selectors:[["list-issues-page"]],features:[Gf([cH]),bf],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&&(G(0,"h2",0),R(1,"Issue search results"),H(),G(2,"div",1)(3,"b-grid-controls",2),M("init",function(c){return b.gridControls=c})("onRefresh",function(){return b.refreshResults()})("onSave",function(c){return b.sendBulkEditRequest(c.bulkEditOps,c.recaptchaToken)})("onCreateHotlist",function(c){return b.createHotlist(c)})("onLoadHotlist",function(c){return b.loadHotlist(c)})("onExportCsv",
function(){return b.exportCsv()}),H(),G(4,"div",3)(5,"b-pagination",4),M("pageChange",function(c){return b.goToPage(c.page)})("resultsPerPageChange",function(c){return zmd(b,c.option)}),H()()(),G(6,"div",5),Q(7,GBb,4,1,"div",6),Q(8,MBb,9,8,"div",7),Q(9,OBb,2,5,"div",8),H());a&2&&(z(3),F("grid",b.resultsGrid)("hotlistChoices",b.hotlistChoices),z(2),F("searchResults",b.searchResults),z(1),gf("aria-busy",b.isLoading),z(1),F("ngIf",b.isLoading),z(1),F("ngIf",!b.isLoading&&!b.hasResults()),z(1),F("ngIf",
!b.isLoading&&b.hasResults()))},dependencies:[w0,d1,p0,ew,sL,CT,pG,kw],styles:[".empty-state-img[_ngcontent-%COMP%]{max-width:320px;max-height:320px;padding-bottom:56px}/*# sourceMappingURL=list_issues.css.map */"]});var n9=function(){};n9.\u0275fac=function(a){return new (a||n9)};n9.\u0275mod=Ic({type:n9});n9.\u0275inj=rc({imports:[M0,f1,a1,yX,tF,ZM,DT,tG]});var o9=function(a,b,c,d,e,g,h,l,q,x,A,B,K,N,P,Y,X,ka,ma,za,Ba,Ma,Sa,Ua,Lb,qb,Ya,wa,Ka,Na,fb){m9.call(this,a,b,c,d,e,g,h,l,q,x,A,B,K,N,P,Y,X,ka,ma,za,Ba,Ma,Sa,Ua,Lb,qb,wa,Ka,Na,fb);this.issueLru=Ya;this.ANALYTICS_CATEGORY="recentIssues";this.recentIds=Array.from(this.issueLru.viewed.keys());this.initialLoad=!0};U(o9,m9);o9.\u0275dir=m9.\u0275dir;o9.prototype.ngOnInit=function(){m9.prototype.ngOnInit.call(this);this.pageTitle.setTitle("Recent Issues");this.appSearchState.clear();this.initialLoad=!0};
o9.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()})};o9.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("|")};
o9.prototype.processSearchResults=function(a){this.initialLoad&&(a.params.sortColumns=[]);var b;null!=(b=a.params.sortColumns)&&b.length||(a.issues=SBb(this.recentIds,a.issues));return a};o9.\u0275fac=function(a){return new (a||o9)(C(cH),C(fH),C(VD),C(uG),C(gs),C(FF),C(kE),C(OG),C(GG),C(CF),C(gH),C($X),C(tX),C(uI),C(P0),C(R0),C(vG),C(lF),C(EI),C(SJ),C(CL),C(TU),C(GF),C(T1),C(KF),C(vd),C(MU),C(SG),C(lH),C(lK),C(P1))};
o9.\u0275cmp=Gc({type:o9,selectors:[["list-issues-recent"]],features:[Gf([cH]),bf],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&&(G(0,"h2",0),R(1,"Recent Issues"),H(),G(2,"div",1)(3,"b-grid-controls",2),M("init",function(d){return b.gridControls=d})("onRefresh",function(){return b.refreshResults()})("onSave",function(d){return b.sendBulkEditRequest(d.bulkEditOps)})("onCreateHotlist",
function(d){return b.createHotlist(d)})("onLoadHotlist",function(d){return b.loadHotlist(d)})("onExportCsv",function(){return b.exportCsv()}),H(),G(4,"div",3)(5,"b-pagination",4),M("pageChange",function(d){return b.goToPage(d.page)})("resultsPerPageChange",function(d){return zmd(b,d.option)}),H()()(),G(6,"div",5),Q(7,PBb,3,0,"div",6),Q(8,QBb,2,0,"div",7),Q(9,RBb,2,5,"div",8),H());if(a&2){var c;z(3);F("grid",null!==(c=b.resultsGrid)&&void 0!==c?c:void 0)("hotlistChoices",b.hotlistChoices);z(2);F("searchResults",
b.searchResults);z(1);gf("aria-busy",b.isLoading);z(1);F("ngIf",b.isLoading);z(1);F("ngIf",!b.isLoading&&!b.hasResults());z(1);F("ngIf",!b.isLoading&&b.hasResults())}},dependencies:[sL,w0,d1,p0,ew],encapsulation:2});var p9=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};p9.prototype.ngOnInit=function(){this.sloEnabled&&(this.pageTitle.setTitle("Manage SLOs"),Amd(this))};
var Amd=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)})};p9.\u0275fac=function(a){return new (a||p9)(C(cH,2),C(TU),C(vG),C(lS),C(GF),C(gs))};
p9.\u0275cmp=Gc({type:p9,selectors:[["list-slos-page"]],features:[Gf([cH])],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&&(G(0,"div",0)(1,"a",1),R(2," Create SLO "),H()(),G(3,"div",2),Q(4,TBb,5,0,"div",3),Q(5,UBb,1,1,"b-spinner",4),Q(6,XBb,3,2,"ng-container",5),Q(7,aCb,6,5,"ng-container",5),H());a&2&&(z(1),F("href",b.createSloPath,Md),z(3),F("ngIf",b.sloEnabled),z(1),F("ngIf",b.isLoading),z(1),F("ngIf",!b.isLoading),z(1),F("ngIf",!b.isLoading))},dependencies:[ew,
uA,Kz,K1,sL],encapsulation:2});var Bmd=function(a){r.call(this,a)};U(Bmd,r);f=Bmd.prototype;f.getAuthor=function(){return Z(this,gi,1)};f.setAuthor=function(a){Yi(this,gi,1,a)};f.getTimestamp=function(){return Z(this,Ch,2)};f.setTimestamp=function(a){return Yi(this,Ch,2,a)};f.hasTimestamp=function(){return Dj(this,Ch,2)};f.getAdd=function(){return Z(this,Tj,3)};f.getRemove=function(){return Z(this,Tj,4)};f.getAddMask=function(){return Z(this,DC,5)};f.getRemoveMask=function(){return Z(this,DC,6)};f.toObject=function(){return Cmd(this)};
var Cmd=function(a){if(null!=a)return t(a),{author:WC(a.getAuthor()),timestamp:yt(a.getTimestamp()),add:PD(a.getAdd()),remove:PD(a.getRemove()),addMask:EC(a.getAddMask()),removeMask:EC(a.getRemoveMask())}};var q9=function(a){r.call(this,a,0,q9.messageId)};U(q9,r);q9.prototype.getUpdatesList=function(){return aj(this,Bmd,1)};q9.repeatedFields_=[1];q9.prototype.toObject=function(){if(null!=this){t(this);var a={updatesList:Kb(this.getUpdatesList(),Cmd)}}else a=void 0;return a};q9.messageId="b.ComponentHistory";var r9=function(a,b){this.executor=b;this.componentHistoriesCache=a.get("component_histories-second-level-cache")||a.create("component_histories-second-level-cache",{capacity:25})};r9.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:q9}).then(bta))};r9.prototype.getUncached=function(a){this.invalidateCache(a);return this.get(a)};
r9.prototype.invalidateCache=function(a){this.componentHistoriesCache.remove(String(a))};r9.\u0275fac=function(a){return new (a||r9)(u(EG),u(MC))};r9.\u0275prov=qc({token:r9,factory:r9.\u0275fac,providedIn:"root"});var s9=function(){};s9.prototype.ngOnInit=function(){};s9.\u0275fac=function(a){return new (a||s9)};
s9.\u0275cmp=Gc({type:s9,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&&(Q(0,bCb,4,1,"ng-container",0),Q(1,cCb,4,1,"ng-container",0));a&2&&(F("ngIf",b.teamPath),z(1),F("ngIf",b.componentPath))},dependencies:[ew,qZ,k1],styles:["b-component-breadcrumb[_ngcontent-%COMP%], b-team-breadcrumb[_ngcontent-%COMP%]{display:inline-block}"]});var t9=function(a,b,c,d){WD.call(this);var e=this;this.documentationLinks=a;this.recommendationsService=b;this.cachedUserAccess=c;this.confirmationDialogService=d;this.helpLink="http://goto.google.com/buganizer-ml";this.draftSettings$=new E.BehaviorSubject(void 0);this.hasUnsavedChanges=this.draftSettings$.pipe(D(function(g){return!!g&&!Mh(e.savedSettings,g)}),Fe());this.isSaving=new Gv;this.isAdmin=!1};U(t9,WD);t9.\u0275dir=WD.\u0275dir;
t9.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.recommendationsService.executor.get({url:"action/components/"+this.componentId+"/recommendationSettings",responseConstructor:PL}).pipe(D(OFa)).subscribe(function(c){a.savedSettings=c;a.setDraft(a.savedSettings)}));var b=Tl("COMPONENT",this.componentId);qF(this.cachedUserAccess,"admin",b).then(function(c){a.isAdmin=c})};
var dCb=function(a){var b,c;return he(function(d){if(1==d.nextAddress)return b={},d.yield(pI(a.confirmationDialogService,{title:"Opt into data collection?",content:jn(Xu("By opting in, Buganizer will collect data in this component to improve ML features.\n\nIt can take a few months for ML features to show up due to data processing time. "),hn("A",(b.href=a.helpLink,b.target="_blank",b),"Learn more")),confirmButtonText:"Opt in",cancelButtonText:"Cancel"}),2);c=d.yieldResult;if(!c)return d.return();
a.setDraft({optedOutFromDataCollection:!1});return d.yield(a.save(),0)})},fCb=function(a){var b,c;return he(function(d){if(1==d.nextAddress)return b={},d.yield(pI(a.confirmationDialogService,{title:"Opt out from data collection?",content:jn(Xu("ML features will not be available once you opt out.\n\nIf you later decide to opt back in, it can take a few months for ML features to be available again. "),hn("A",(b.href=a.helpLink,b.target="_blank",b),"Learn more")),confirmButtonText:"Opt out",cancelButtonText:"Cancel",
isDestructive:!0}),2);c=d.yieldResult;if(!c)return d.return();a.setDraft({optedOutFromDataCollection:!0,duplicateAssistanceEnabled:!1});return d.yield(a.save(),0)})};
t9.prototype.save=function(){var a=this;return he(function(b){if(1==b.nextAddress){if(Mh(a.savedSettings,a.draftSettings))return b.return();a.isSaving.emit(!0);return b.yield((0,E.firstValueFrom)(Pnc(a.recommendationsService,a.draftSettings)).finally(function(){a.isSaving.emit(!1)}),2)}a.savedSettings=b.yieldResult;a.setDraft(a.savedSettings);me(b)})};t9.prototype.revert=function(){this.setDraft(this.savedSettings)};
var hCb=function(a){if(!a.isAdmin)return"Only component admins can change this setting.";var b;return(null==(b=a.savedSettings)?0:b.optedOutFromDataCollection)?"Opt into data collection to enable ML features":""};t9.prototype.setDraft=function(a){a||this.draftSettings$.next(void 0);this.draftSettings$.next(Object.assign({},this.draftSettings,a))};
hh.Object.defineProperties(t9.prototype,{draftSettings:{configurable:!0,enumerable:!0,get:function(){return this.draftSettings$.value}},isSaving$:{configurable:!0,enumerable:!0,get:function(){return this.isSaving}}});t9.\u0275fac=function(a){return new (a||t9)(C(nI),C(SL),C(pF),C(oI))};
t9.\u0275cmp=Gc({type:t9,selectors:[["recommendation-settings"]],inputs:{componentId:"componentId"},outputs:{hasUnsavedChanges:"hasUnsavedChanges",isSaving:"isSaving"},features:[bf],decls:1,vars:1,consts:[["class","flex-kids-y gap-s",4,"ngIf"],[1,"flex-kids-y","gap-s"],[4,"ngIf","ngIfElse"],["optedIn",""],["name","duplicate-assistance",1,"duplicate-assistance",3,"disabled","checked","matTooltip","change"],["id","ml-features-subtitle",1,"muted"],[1,"link-button","keep-focus-ring",3,"disabled","click"],
[3,"matTooltip"],["target","_blank","aria-describedby","ml-features-subtitle",1,"keep-focus-ring",3,"href"]],template:function(a,b){a&1&&Q(0,iCb,9,7,"div",0);a&2&&F("ngIf",null==b.savedSettings?null:b.savedSettings.showSettings)},dependencies:[ew,xS,LB,kw],styles:["h4[_ngcontent-%COMP%]{margin:0}\n/*# sourceMappingURL=recommendation_settings.css.map */"]});var u9=function(){};u9.\u0275fac=function(a){return new (a||u9)};u9.\u0275mod=Ic({type:u9});u9.\u0275inj=rc({imports:[tF,eT,JC]});var nCb=function(a){r.call(this,a)};U(nCb,r);nCb.prototype.toObject=function(){return Dmd(this)};var Dmd=function(a){if(null!=a)return t(a),{groupEmail:p(m(a,1)),approximateSize:p(m(a,2)),sizeCategory:p(kr(a,3)),permissionCategory:p(kr(a,5))}};var v9=function(a){r.call(this,a,0,v9.messageId)};U(v9,r);v9.repeatedFields_=[1];v9.prototype.toObject=function(){if(null!=this){t(this);var a={groupMetadataList:Kb(aj(this,nCb,1),Dmd)}}else a=void 0;return a};v9.messageId="b.BatchGroupMetadataResult";var w9=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=jCb(e);return KIb(d,function(h){return g[h]||null})})})};w9.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"}})};w9.\u0275fac=function(a){return new (a||w9)(u(x9),u(mF))};
w9.\u0275prov=qc({token:w9,factory:w9.\u0275fac,providedIn:"root"});var x9=function(a){this.executor=a};x9.prototype.bulkGet=function(a){a=[].concat(Vc(new Set(a)));a=Sl(a.join(","));return this.executor.get({url:"action/group_metadata/"+a,responseConstructor:v9}).then(oCb)};x9.\u0275fac=function(a){return new (a||x9)(u(MC))};x9.\u0275prov=qc({token:x9,factory:x9.\u0275fac,providedIn:"root"});var pCb=[{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 y9=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 xp(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:fn("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:fn('"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();
zCb(l,g.componentFlattenedAccessPolicy,g.componentAccessPolicyUnderEdit)?g.confirmationDialogService.open({title:"Component Administrators Changed",content:fn("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){yCb(g.issueDefaultFlattenedAccessPolicy,g.issueDefaultAccessPolicyUnderEdit)?g.confirmationDialogService.open({title:"Group Removed from Restricted+ Readers",content:fn("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=rl([].concat(Vc(Uh(g.componentAccessPolicyUnderEdit.admins,g.componentFlattenedAccessPolicy.admins)),Vc(Uh(g.issueDefaultAccessPolicyUnderEdit.admins,g.issueDefaultFlattenedAccessPolicy.admins)),Vc(Uh(g.issueDefaultAccessPolicyUnderEdit.editors,g.issueDefaultFlattenedAccessPolicy.editors)),
Vc(Uh(g.issueDefaultAccessPolicyUnderEdit.appenders,g.issueDefaultFlattenedAccessPolicy.appenders)),Vc(Uh(g.issueDefaultAccessPolicyUnderEdit.readers,g.issueDefaultFlattenedAccessPolicy.readers)),Vc(Uh(g.issueDefaultAccessPolicyUnderEdit.restrictedReaders,g.issueDefaultFlattenedAccessPolicy.restrictedReaders)),Vc(Uh(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=tCb(h);h=xCb(h);if(0===l.size&&0===h.size)return Promise.resolve(!0);var q=uCb(l.size,h.size);l=vCb(l);h=wCb(h);var x=jn(l,l===Yr?Yr:hn("BR"),h);l={};x=jn(x,hn("P",{},jn("Please review the ",hn("A",(l.href=Shc(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(A){g.confirmationDialogService.open({title:q,content:x,onConfirm:function(){A(!0)},onDismiss:function(){A(!1)},confirmButtonText:"Add Group"})})}):Promise.resolve(!0)};this.performAddedNewInternalAliasesCheck=function(){return new Promise(function(h){if(g.isPublic()&&sCb(g.issueDefaultAccessPolicyUnderEdit,g.issueDefaultFlattenedAccessPolicy)){var l={};l=jn(hn("P",{},"You are about to give a broad category of users permissions on a public component."),hn("P",{},jn("Please review the ",
hn("A",(l.href=Shc(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=hn("A",(h.href=In(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:jn("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:jn("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(Vc(qCb(g.issueDefaultFlattenedAccessPolicy,g.issueDefaultAccessPolicyUnderEdit)),Vc(qCb(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 x=q.next();!x.done;x=q.next())x=g.accessPolicyConverter.stringToAccessPolicyPrincipal(x.value),(Eqa(x)?WAa(x.user.emailAddress):
void 0!==x.group&&WAa(x.group.emailAddress))&&l.add(x)}return[].concat(Vc(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=hn("A",(q.href=Rhc(g.documentationLinks),q)," automation account documentation");g.confirmationDialogService.open({title:"Adding automation accounts",content:jn(fn("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"),
hn("wbr"),q,fn("."),hn.apply(Cg,["OL",{}].concat(Vc(h.map(function(x){if(Eqa(x)){var A;return hn("LI",{},fn(null!=(A=x.user.emailAddress)?A:""))}if(void 0!==x.group){var B;return hn("LI",{},fn(null!=(B=x.group.emailAddress)?B:""))}throw Error("Se`"+JSON.stringify(x));})))),hn("BR",{}),fn("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,x;return he(function(A){switch(A.nextAddress){case 1:l=
k(h),q=l.next();case 2:if(q.done){A.jumpTo(4);break}x=q.value;return A.yield(x(),5);case 5:if(!A.yieldResult)return A.return(!1);q=l.next();A.jumpTo(2);break;case 4:return A.return(!0)}})};this.enableRostersChecks=UD(this.activeSession,"enableRostersChecks");this.enableComponentAutomationCheck=UD(this.activeSession,"enableComponentAutomationCheck")},Emd=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,x,A;return he(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,x=[a.performAccessLimitCheck,a.performDeletedAccountsCheck,a.performAdminAccessRemovalCheck,a.performRestrictedPlusGroupRemovalCheck,a.performAddedLargeOrOpenGroupCheck,
a.performAddedNewInternalAliasesCheck,a.performChangedImplicitAccessCheck,a.performAutomationUserAccessCheck],B.yield(a.runValidation(x),2);A=B.yieldResult;return B.return(A)})};y9.\u0275fac=function(a){return new (a||y9)(u(tQ),u(gs),u(oI),u(nI),u(w9))};y9.\u0275prov=qc({token:y9,factory:y9.\u0275fac});var z9=function(a){WD.call(this);this.principalTypes=a;this.componentReaders=[];this.templates=[]};U(z9,WD);z9.\u0275dir=WD.\u0275dir;
z9.prototype.ngOnChanges=function(){var a=this.componentAccessPolicy,b=this.issueAccessPolicy,c=new Set([].concat(Vc(this.componentReaders))),d=new Set([].concat(Vc(a.admins),Vc(a.inheritedAdmins)));a=new Set([].concat(Vc(d),Vc(a.appenders)));var e=new Set([].concat(Vc(b.admins))),g=new Set([].concat(Vc(e),Vc(b.editors))),h=new Set([].concat(Vc(g),Vc(b.appenders))),l=new Set([].concat(Vc(b.restrictedPlusReaders))),q=new Set([].concat(Vc(l),Vc(b.restrictedReaders)));b=new Set([].concat(Vc(q),Vc(h),
Vc(b.readers)));this.templates=[{permission:"Admin Components",principals:[].concat(Vc(d)).map(Zr)},{permission:"Create Issues",principals:[].concat(Vc(a)).map(Zr)},{permission:"Admin Issues",principals:[].concat(Vc(e)).map(Zr)},{permission:"Edit Issues",principals:[].concat(Vc(g)).map(Zr)},{permission:"Comment Issues",principals:[].concat(Vc(h)).map(Zr)},{permission:"View Issues",principals:[].concat(Vc(b)).map(Zr)},{permission:"View Components",principals:[].concat(Vc(c)).map(Zr)},{permission:"View Restricted",
principals:[].concat(Vc(q)).map(Zr)},{permission:"View Restricted+",principals:[].concat(Vc(l)).map(Zr)}];Fmd(this,this.templates)};
var Fmd=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$2395:d.$jscomp$loop$prop$principal$2395},e=c.next())d.$jscomp$loop$prop$principal$2395=e.value,"ALIAS"===d.$jscomp$loop$prop$principal$2395.principalType?d.$jscomp$loop$prop$principal$2395.detailedUserType="NO_DETAILED_TYPE":LI(a.principalTypes,d.$jscomp$loop$prop$principal$2395.value,!0).then(function(g){return function(h){g.$jscomp$loop$prop$principal$2395.detailedUserType=
h.detailedUserType}}(d))}};z9.\u0275fac=function(a){return new (a||z9)(C(KI))};
z9.\u0275cmp=Gc({type:z9,selectors:[["permissions-view"]],inputs:{issueAccessPolicy:"issueAccessPolicy",componentAccessPolicy:"componentAccessPolicy",componentReaders:"componentReaders",accessLevel:"accessLevel"},features:[bf,Zc],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&&(G(0,"table")(1,"tr",0)(2,"th",1),R(3,"Permission"),H(),G(4,"th",1),R(5,"Users With Permission"),H()(),Q(6,BCb,6,2,"ng-container",2),H());a&2&&(z(6),F("ngForOf",b.templates))},dependencies:[dw,J0],styles:["table[_ngcontent-%COMP%]{border-collapse:collapse;margin-top:10px}.permissions-column-headers[_ngcontent-%COMP%]{display:none}.permission-row[_ngcontent-%COMP%]{border-top:1px solid;border-top-color:#dadce0;border-top-color:var(--divider)}.permission-row[_ngcontent-%COMP%]   th[_ngcontent-%COMP%], .permission-row[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{height:auto;padding:8px;font-size:.8125rem;text-align:left}.permission-row[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:center}b-contact-chip[_ngcontent-%COMP%]{margin-right:5px;margin-top:5px}/*# sourceMappingURL=permissions_view.css.map */"]});var Gmd=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"}),A9={},Hmd=(A9.issueAdmin=new Set(["issueEditor"]),A9.issueEditor=new Set(["issueAppender"]),A9.issueAppender=new Set(["issueReader"]),A9.issueRestrictedReader=
new Set(["issueReader"]),A9.issueRestrictedPlusReader=new Set(["issueRestrictedReader"]),A9.issueReader=new Set(["componentReader"]),A9.componentAdmin=new Set(["componentAppender"]),A9.componentAppender=new Set(["componentReader"]),A9.componentReader=new Set,A9),LCb=dn(Gmd,function(a){return Hmd[a]}),$r=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"}),B9={},Imd=(B9.componentAdmin=new Set(["componentAdmin","issueAdmin"]),B9.issueAdmin=new Set(["issueAdmin","componentAppender"]),B9.issueEditor=new Set(["issueEditor","componentAppender"]),B9.issueContributor=new Set(["issueAppender","componentAppender"]),B9.componentAdminOnly=new Set(["componentAdmin"]),
B9.issueCreator=new Set(["componentAppender"]),B9.issueAdminOnly=new Set(["issueAdmin"]),B9.issueEditorExisting=new Set(["issueEditor"]),B9.issueCommenter=new Set(["issueAppender"]),B9.restrictedPlusViewer=new Set(["issueRestrictedPlusReader"]),B9.restrictedViewer=new Set(["issueRestrictedReader"]),B9.issueViewer=new Set(["issueReader"]),B9),JCb=dn($r,function(a){return Imd[a]}),Jmd=MCb(),ICb=dn($r,function(a){a=[].concat(Vc(JCb.get(a))).flatMap(function(b){return[].concat(Vc(Jmd.get(b)))});return new Set(a)}),
KCb=dn($r,function(a){return new Set($r.filter(function(b){return b!==a&&jqa(ICb.get(b),ICb.get(a))}))});var PCb={componentAdmin:[],componentAdminOnly:[],issueAdminOnly:[],inheritedComponentAdmin:[],issueAdmin:[],editor:[],contributor:[],viewer:[],editExistingIssuesOnly:[],createIssuesOnly:[],commentOnly:[],viewRestricted:[],viewRestrictedPlus:[]},Kmd={admins:[],editors:[],appenders:[],readers:[],restrictedReaders:[],restrictedPlusReaders:[],inheritedAdmins:[],implicitAccess:null};var C9=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=PCb;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(x){q.componentAccessPolicyUnderEdit&&(q.componentAccessPolicyUnderEdit=Object.assign({},q.componentAccessPolicyUnderEdit,{implicitAccess:x?"ALLOW":"DENY"}))},isUpdated:function(){var x;return q.componentAccessPolicyUnderEdit.implicitAccess!==(null==(x=q.componentFlattenedAccessPolicy)?void 0:x.implicitAccess)}};this.componentReaders=[];this.issueDefaultFlattenedAccessPolicy=
this.componentFlattenedAccessPolicy=Kmd;this.componentAccessPolicyUnderEdit=uQ();this.issueDefaultAccessPolicyUnderEdit=uQ();this.restrictedPlusReadersValidators={noRestrictedPlusGroups:function(x){a:{var A=q.issueDefaultFlattenedAccessPolicy;if(x&&A){A=A.restrictedPlusReaders;x=k(x);for(var B=x.next();!B.done;B=x.next())if(B=B.value,0===B.indexOf("GROUP:")&&-1===A.indexOf(B)){A=!1;break a}}A=!0}return A}}};
C9.prototype.hasUnsavedAccessLimitChanges=function(){var a=this.originalComponent,b=this.component;return a&&b?a.accessLimit.accessLevel!==b.accessLimit.accessLevel:!1};
var Lmd=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;DF(a.butterBar,"Changed access level.")},function(b){a.component.accessLimit.accessLevel=a.originalComponent.accessLimit.accessLevel;
var c="Could not change access level. ";Ql(b)&&(c+=Rl(b));EF(a.butterBar,c)}).finally(function(){a.isUpdatingAccessLimit=!1;a.isSaving=a.isUpdatingAccessPolicy||a.isUpdatingAccessLimit})};C9.prototype.updateComponentAndOriginalComponent=function(a){this.component=Nh(a);this.originalComponent=Nh(a)};
C9.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)})};C9.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)})};
C9.prototype.initialize=function(a){var b=this;a=void 0===a?this.componentId:a;if(!a&&!this.componentId)return EF(this.butterBar,"No component found!"),Promise.resolve();this.componentId=a;return Promise.all([this.accessPolicyApi.get("COMPONENT",this.componentId).then(function(c){b.componentFlattenedAccessPolicy=vQ(c);b.componentAccessPolicyUnderEdit=Nh(b.componentFlattenedAccessPolicy)}).catch(function(c){b.errorHandler.errorHandler(null,c)}),this.accessPolicyApi.get("ISSUE_DEFAULTS",this.componentId).then(function(c){b.issueDefaultFlattenedAccessPolicy=
vQ(c);b.issueDefaultAccessPolicyUnderEdit=Nh(b.issueDefaultFlattenedAccessPolicy)}).catch(function(c){b.errorHandler.errorHandler(null,c)}),this.loadComponent(),this.loadUserAccess(this.componentId)]).then(function(){})};
var Mmd=function(a){a.rolesMap=QCb({componentAccessPolicy:a.componentAccessPolicyUnderEdit,issueAccessPolicy:a.issueDefaultAccessPolicyUnderEdit})},Nmd=function(a,b){var c=a.issueDefaultFlattenedAccessPolicy;return c&&SCb(c,a.issueDefaultAccessPolicyUnderEdit)?a.accessPolicyApi.update("ISSUE_DEFAULTS",a.componentId,b):Promise.resolve(void 0)},Omd=function(a){var b=RCb(a.componentAccessPolicyUnderEdit,a.componentFlattenedAccessPolicy),c=a.issueDefaultFlattenedAccessPolicy;a=!(!c||!SCb(c,a.issueDefaultAccessPolicyUnderEdit));
return b||a},Pmd=function(a,b){return RCb(a.componentAccessPolicyUnderEdit,a.componentFlattenedAccessPolicy)?a.accessPolicyApi.get("COMPONENT",a.componentId).then(function(c){var d=vQ(c);if(RCb(d,a.componentAccessPolicyUnderEdit)){if(RCb(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)};C9.prototype.loadUserAccess=function(a){var b=this;return qF(this.userAccess,"admin","components/"+String(a)).then(function(c){b.isAdmin=c;return b.isAdmin?Promise.resolve(!0):qF(b.userAccess,"writer","components/"+String(a))}).catch(function(c){b.errorHandler.errorHandler(null,c);return Promise.resolve(!1)})};
C9.prototype.doSaveAccessPolicy=function(){var a=this;try{var b=wQ(this.componentAccessPolicyUnderEdit);var c=wQ(this.issueDefaultAccessPolicyUnderEdit)}catch(d){return c="An unknown problem occurred",d instanceof Error&&(c=d.message),EF(this.butterBar,c),Promise.resolve()}if(Omd(this))return this.isSaving=this.isUpdatingAccessPolicy=!0,DF(this.butterBar,"Saving access settings...",0),Nmd(this,c).then(function(d){d&&(b.readers=[].concat(Vc(d.admins||[]),Vc(d.editors||[]),Vc(d.appenders||[]),Vc(d.readers||
[]),Vc(d.restrictedPlusReaders||[]),Vc(d.restrictedReaders||[])));return Pmd(a,b).catch(function(e){var g;return he(function(h){if(1==h.nextAddress)return g=wQ(a.issueDefaultFlattenedAccessPolicy),h.yield(Nmd(a,g),2);throw e;})})}).then(function(){return Lmd(a)}).then(function(){return a.initialize()}).then(function(){var d=a.rolesMap;Mmd(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=TCb({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=TCb(g,h);switch(d&&g?2:d?0:g?1:3){case 0:a.analytics.trackEvent(Jn.ROLE_BASED_PERMISSIONS,"update","roles:standard");break;case 1:a.analytics.trackEvent(Jn.ROLE_BASED_PERMISSIONS,"update","roles:advanced");break;case 2:a.analytics.trackEvent(Jn.ROLE_BASED_PERMISSIONS,"update","roles:both");break;default:a.analytics.trackEvent(Jn.ROLE_BASED_PERMISSIONS,"update","roles:neither")}DF(a.butterBar,"Access settings saved",0)}).catch(function(d){EF(a.butterBar,
Rl(d),0)}).finally(function(){return he(function(d){if(1==d.nextAddress)return d.yield(a.loadUserAccess(a.componentId),2);a.isUpdatingAccessPolicy=!1;a.isSaving=a.isUpdatingAccessPolicy||a.isUpdatingAccessLimit;me(d)})});Mmd(this);return Lmd(this)};
var Qmd=function(a,b){b=NCb(b);a.issueDefaultAccessPolicyUnderEdit=Object.assign({},a.issueDefaultAccessPolicyUnderEdit,b.issuesPermissions);a.componentAccessPolicyUnderEdit=Object.assign({},a.componentAccessPolicyUnderEdit,b.componentPermissions)},eDb=function(a,b){a.component&&a.originalComponent&&a.componentFlattenedAccessPolicy&&a.componentAccessPolicyUnderEdit&&a.issueDefaultFlattenedAccessPolicy&&a.issueDefaultAccessPolicyUnderEdit?(Qmd(a,b),Emd(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();DF(a.butterBar,"Update failed: Invalid changes to component permissions",0);return Promise.resolve()})):Promise.resolve()};
hh.Object.defineProperties(C9.prototype,{componentAccessPolicyUnderEdit:{configurable:!0,enumerable:!0,set:function(a){Mh(a,this.componentAccessPolicyUnderEditInternal)||(this.componentAccessPolicyUnderEditInternal=a,this.componentReaders=OCb({componentAccessPolicy:this.componentAccessPolicyUnderEdit,issueAccessPolicy:this.issueDefaultAccessPolicyUnderEdit}))},get:function(){return this.componentAccessPolicyUnderEditInternal}},issueDefaultAccessPolicyUnderEdit:{configurable:!0,enumerable:!0,set:function(a){Mh(a,
this.issueDefaultAccessPolicyUnderEditInternal)||(this.issueDefaultAccessPolicyUnderEditInternal=a,this.componentReaders=OCb({componentAccessPolicy:this.componentAccessPolicyUnderEdit,issueAccessPolicy:this.issueDefaultAccessPolicyUnderEdit}))},get:function(){return this.issueDefaultAccessPolicyUnderEditInternal}}});C9.\u0275fac=function(a){return new (a||C9)(u(VF),u(tQ),u(GF),u(CF),u(pF),u(FT),u(y9),u(gH))};C9.\u0275prov=qc({token:C9,factory:C9.\u0275fac});var D9=function(a,b,c){this.activeSession=a;this.documentationLinks=b;this.rolesEditor=c;this.AccessLevelStrings=H8b};D9.prototype.getRecentIssuesLink=function(){return Zl(this.rolesEditor.component.componentId,{includeArchived:this.rolesEditor.component?this.rolesEditor.component.archived:!1})};D9.prototype.isParentPartner=function(){return!(!this.rolesEditor.parentComponent||!I6a(this.rolesEditor.parentComponent))};
D9.prototype.isParentPublic=function(){return!(!this.rolesEditor.parentComponent||!xp(this.rolesEditor.parentComponent))};D9.\u0275fac=function(a){return new (a||D9)(C(gs),C(nI),C(C9))};
D9.\u0275cmp=Gc({type:D9,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&&(Q(0,XCb,20,7,"div",0),G(1,"div",1)(2,"p"),R(3," Access to issues is granted per component using the settings below. All settings provide access to view the component. "),G(4,"a",2),R(5,"Learn more"),H()()());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=wp(b.rolesEditor.parentComponent)||
wp(b.rolesEditor.component);break a}}else{a=!1;break a}a=void 0}F("ngIf",a);z(4);zf("href","",In(b.documentationLinks),"#recommended-role-based-permissions-configurations",Md)}},dependencies:[ew,og,Ow,Fw,Lw],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;margin-bottom:20px}.component-banner[_ngcontent-%COMP%]{background-color:#f8f9fa;background-color:var(--button-bg);border:1px solid;border-color:#dadce0;border-color:var(--divider);border-radius:8px;margin:15px 0 0;padding:16px}.component-banner[_ngcontent-%COMP%]   .component-visibility-settings[_ngcontent-%COMP%]{min-height:28px}.component-banner[_ngcontent-%COMP%]   .component-visibility-header[_ngcontent-%COMP%]{font-weight:bold}.component-banner.access-level-banner[_ngcontent-%COMP%]{margin-bottom:20px}.component-banner.implicit-access-banner[_ngcontent-%COMP%], .component-banner.template-help-banner[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted);margin:15px 0px 10px 0}/*# sourceMappingURL=access_limit_settings.css.map */"]});var E9=function(a,b){this.documentationLinks=a;this.rolesEditor=b};E9.prototype.isAccessEditDisabled=function(){return this.rolesEditor.isSaving||!this.rolesEditor.isAdmin};E9.prototype.setImplicitAccess=function(a){this.rolesEditor.implicitAccess.setValue(a)};E9.\u0275fac=function(a){return new (a||E9)(C(nI),C(C9))};
E9.\u0275cmp=Gc({type:E9,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&&(G(0,"div",0)(1,"span",1)(2,"mat-checkbox",2),M("change",function(c){return b.setImplicitAccess(c.checked)}),H()(),G(3,"div",3)(4,"strong",4),R(5,"Expanded access"),H(),G(6,"div",5),R(7," When checked, assignees, verifiers, and collaborators can edit issues for this component, and CC'd users can add comments. "),G(8,"a",6),R(9,"Learn more"),H()()()());a&2&&(qf("bv2-edit-resource-readonly",b.isAccessEditDisabled()),z(2),F("checked",
b.rolesEditor.implicitAccess.getValue())("disabled",b.isAccessEditDisabled()),z(6),zf("href","",In(b.documentationLinks),"#expanded-access",Md))},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}/*# sourceMappingURL=expanded_access_settings.css.map */"]});var YCb=function(){return{}},$Cb=function(a,b){return{displayText:a,values:b}},ZCb=function(a){return[a]},aDb=function(){return[]},F9=function(){this.rolesTableData=[];this.canEdit=!1;this.rolesMapUpdated=new Gv;this.formIsValid=new Gv;this.aclFormValidity=new Map};F9.prototype.getIconName=function(a,b){return a.grantedPermissions[b]?"done":"issue-status-wont-fix"};F9.prototype.updateRolesMap=function(a,b){this.rolesMapUpdated.emit({role:a,assignees:b})};F9.\u0275fac=function(a){return new (a||F9)};
F9.\u0275cmp=Gc({type:F9,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&&(G(0,"table")(1,"thead")(2,"tr")(3,"th",0),R(4,"Role Assignments"),H(),G(5,"th",0)(6,"h6"),R(7,"Admin Components"),H()(),G(8,"th",0)(9,"h6"),R(10,"Create Issues"),H()(),G(11,"th",0)(12,"h6"),R(13,"Admin Issues"),H()(),G(14,"th",0)(15,"h6"),R(16,"Edit Issues"),H()(),G(17,"th",0)(18,"h6"),R(19,"Comment Issues"),H()(),G(20,"th",0)(21,"h6"),R(22,"View Issues"),H()(),G(23,
"th",0)(24,"h6"),R(25,"View Restricted"),H()(),G(26,"th",0)(27,"h6"),R(28,"View Restricted+"),H()()()(),G(29,"tbody"),Q(30,bDb,26,29,"ng-container",1),H()());a&2&&(z(30),F("ngForOf",b.rolesTableData))},dependencies:[dw,uA,x0,AM,Jz,LB],styles:["table[_ngcontent-%COMP%]{width:100%;font-size:.8125rem;font-family:Roboto,Arial,sans-serif}table[_ngcontent-%COMP%], thead[_ngcontent-%COMP%], tbody[_ngcontent-%COMP%]{display:flex;flex-direction:column}tr[_ngcontent-%COMP%]{display:flex}th[_ngcontent-%COMP%]:first-child{visibility:hidden;flex:0 0 40%}th[_ngcontent-%COMP%]:not(:first-child){width:20em;height:20px;text-align:center}th[_ngcontent-%COMP%]:not(:first-child)   h6[_ngcontent-%COMP%]{display:inline;font-size:.8125rem}td[_ngcontent-%COMP%]:first-child{min-width:250px;flex:0 0 40%}td[_ngcontent-%COMP%]:not(:first-child){display:flex;justify-content:center;width:20em;padding-top:16px}b-multi-user-input[_ngcontent-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%]     td .edit-field{margin:14px 0 0}[_nghost-%COMP%]     td .edit-field .bv2-multi-user-input{width:auto;max-width:100%}[_nghost-%COMP%]     td .edit-field .bv2-multi-user-input input.bv2-multi-user-embedded-input{max-width:100%}[_nghost-%COMP%]     td .edit-field .bv2-multi-user-input .bv2-multi-user-errors{padding:9px}[_nghost-%COMP%]     td .edit-field .bv2-multi-user-input .bv2-user-chip{max-width:100%}[_nghost-%COMP%]     td .edit-field .bv2-multi-user-input .bv2-user-chip .mat-tooltip-trigger{display:flex}.role-title[_ngcontent-%COMP%]{display:flex;margin:5px 2px}.role-title[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{display:flex}[_nghost-%COMP%]     .mat-icon-button{margin:0 5px;width:inherit;height:inherit}[_nghost-%COMP%]     .mat-icon-button mat-icon{display:flex;height:16px;width:16px}[_nghost-%COMP%]     b-icon{width:2em;margin:30px 0px}/*# sourceMappingURL=roles_view_table.css.map */"]});var Rmd=function(a){this.documentationLinks=a};Rmd.\u0275fac=function(a){return new (a||Rmd)(C(nI))};
Rmd.\u0275cmp=Gc({type:Rmd,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&&Q(0,cDb,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,x=c.viewRestricted,A=c.viewRestrictedPlus;c=[].concat(Vc(c.componentAdmin),Vc(d),Vc(e),Vc(g));a=[].concat(Vc(a),Vc(b),Vc(h),Vc(l),Vc(q),Vc(x),Vc(A));a=0===c.length&&0<a.length}else a=!1;F("ngIf",a)}},dependencies:[ew],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}/*# sourceMappingURL=use_standard_roles_banner.css.map */"]});var G9=function(){this.rolesMap=PCb;this.isSaving=!1;this.saveRolesMap=new Gv;this.rolesUnderEdit=PCb;this.formIsValid=!0;this.displayedTableColumns="role componentAdmin createIssues issueAdmin issueEditor issueCommenter issueReader restrictedReader restrictedPlusReader".split(" ");this.standardRolesTableData=[];this.advancedRolesTableData=[]},Smd=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},Tmd=function(a){return a.advancedRolesTableData.some(function(b){return 0<b.users.length})},Umd=function(a){a.rolesUnderEdit=Object.assign({},a.rolesMap)};f=G9.prototype;f.ngOnInit=function(){Umd(this);Smd(this)};
f.ngOnChanges=function(a){a.rolesMap&&Umd(this);Smd(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()&&(!Mh(this.rolesMap,this.rolesUnderEdit)||this.rolesEditor.implicitAccess.isUpdated()||this.hasUnsavedAccessLimitChanges())&&this.formIsValid};G9.\u0275fac=function(a){return new (a||G9)};
G9.\u0275cmp=Gc({type:G9,selectors:[["roles-view"]],inputs:{rolesMap:"rolesMap",isSaving:"isSaving",component:"component",rolesEditor:"rolesEditor"},outputs:{saveRolesMap:"saveRolesMap"},features:[Zc],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&&(I(0,"access-limit-settings")(1,"use-standard-roles-banner",0),G(2,"roles-view-table",1),M("rolesMapUpdated",function(c){return b.updateRolesMap(c)})("formIsValid",function(c){return b.formIsValid=c}),H(),G(3,"mat-expansion-panel",2)(4,"mat-expansion-panel-header")(5,"mat-panel-title"),R(6," Advanced Roles "),H()(),G(7,"roles-view-table",1),M("rolesMapUpdated",function(c){return b.updateRolesMap(c)})("formIsValid",
function(c){return b.formIsValid=c}),H()(),I(8,"expanded-access-settings"),G(9,"button",3),M("click",function(){b.canSave()&&b.saveRolesMap.emit(b.rolesUnderEdit)}),R(10,"Update"),H(),G(11,"button",4),M("click",function(){Umd(b);Smd(b)}),R(12," Revert Changes\n"),H());a&2&&(z(1),F("rolesMap",b.rolesMap),z(1),F("rolesTableData",b.standardRolesTableData)("displayedTableColumns",b.displayedTableColumns)("canEdit",b.canEdit())("accessLevel",b.getComponentAccessLevel()),z(1),F("expanded",Tmd(b)),z(4),
F("rolesTableData",b.advancedRolesTableData)("displayedTableColumns",b.displayedTableColumns)("canEdit",b.canEdit())("accessLevel",b.getComponentAccessLevel()),z(2),F("disabled",!b.canSave()),z(2),F("disabled",!!Mh(b.rolesMap,b.rolesUnderEdit)))},dependencies:[u7,v7,w7,Jz,F9,D9,E9,Rmd],styles:["[_nghost-%COMP%]     mat-expansion-panel .mat-expansion-panel-body{padding:0}mat-expansion-panel-header[_ngcontent-%COMP%]{margin:0 0 0 8px;padding:0}button[_ngcontent-%COMP%]{margin:0px 10px 5px 0px}/*# sourceMappingURL=roles_view.css.map */"]});var H9=function(a,b){WD.call(this);this.rolesEditor=a;this.route=b};U(H9,WD);H9.\u0275dir=WD.\u0275dir;H9.prototype.ngOnInit=function(){var a=this;this.route.paramMap.pipe(D(function(b){return b.get("componentId")}),ye(pi),Se(function(b){return a.rolesEditor.initialize(Number(b))}),Te(this.destroyed$)).subscribe(function(){Mmd(a.rolesEditor)})};H9.prototype.isSaving=function(){return this.rolesEditor.isSaving};H9.\u0275fac=function(a){return new (a||H9)(C(C9),C(mm))};
H9.\u0275cmp=Gc({type:H9,selectors:[["role-based-permissions"]],features:[Gf([C9,y9]),bf],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&&(Q(0,dDb,2,0,"div",0),Q(1,fDb,7,8,"div",1));a&2&&(F("ngIf",!(null==b.rolesEditor.component?
0:b.rolesEditor.component.componentId)),z(1),F("ngIf",null==b.rolesEditor.component?null:b.rolesEditor.component.componentId))},dependencies:[ew,nM,mM,sL,z9,G9],styles:["/*# sourceMappingURL=role_based_permissions.css.map */"]});var Vmd=new Rc("GMAT_LEGACY_CHECKBOX_OPTION");var Wmd=new Map([["primary","mat-primary"],["accent","mat-accent"],["warn","mat-warn"]]),I9=function(a,b){this.elementRef=a;this.gmatCheckboxOption=b;this.color="primary";this.hasGmatAttribute=a.nativeElement.hasAttribute("gmat-checkbox")};I9.prototype.ngOnInit=function(){this.isEnabled()&&(this.elementRef.nativeElement.classList.remove.apply(this.elementRef.nativeElement.classList,Vc(Wmd.values())),this.elementRef.nativeElement.classList.add(Wmd.get(this.color)))};
I9.prototype.isEnabled=function(){return this.gmatCheckboxOption?this.hasGmatAttribute||this.gmatCheckboxOption.enabled:this.hasGmatAttribute};I9.\u0275fac=function(a){return new (a||I9)(C(vd),C(Vmd,8))};I9.\u0275dir=Kc({type:I9,selectors:[["mat-checkbox","gmat-checkbox",""],["mat-checkbox"]],hostVars:2,hostBindings:function(a,b){a&2&&qf("gmat-checkbox",b.isEnabled())},inputs:{color:"color"}});var Xmd=["archiveDialog"],Ymd=["archiveButton"],Zmd=["metadataForm"],$md={BASIC:"basic",CUSTOM_FIELDS:"customFields",FIELD_ORDERING:"fieldOrdering",TEMPLATES:"templates",ACCESS:"access"},J9=function(a,b,c,d,e,g,h,l,q,x,A,B,K,N,P,Y,X,ka,ma,za,Ba,Ma,Sa,Ua,Lb){WD.call(this);var qb=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=x;this.documentationLinks=A;this.matDialogService=B;this.analytics=
K;this.checkBeforeExit=N;this.userAccess=P;this.componentActions=Y;this.errorHandler=X;this.componentUpdates=ka;this.componentUpdatesApi=ma;this.confirmationDialogService=za;this.appEvents=Ba;this.teamsService=Ma;this.sloApi=Sa;this.sloService=Ua;this.currentTracker=Lb;this.componentId$=new E.ReplaySubject(1);this.Tab=$md;this.componentListRoute=uwa;this.showSloInheritancePath=!1;this.component$=new E.BehaviorSubject(null);this.componentTrackerId$=this.component$.pipe(D(function(Ya){return null==
Ya?void 0:Ya.trackerId}));this.showTrackerRedirect$=(0,E.combineLatest)([this.currentTracker.trackerId$,this.componentTrackerId$]).pipe(D(function(Ya){var wa=k(Ya);Ya=wa.next().value;wa=wa.next().value;return qb.shouldShowTrackerRedirect(Ya,oi("")(wa))}));this.parentComponent$=new E.BehaviorSubject(null);this.componentTeam$=new E.BehaviorSubject(null);this.team$=this.componentTeam$.pipe(Se(function(Ya){return(Ya=null==Ya?void 0:Ya.id)&&"0"!==Ya?AH(qb.teamsService,Ya):(0,E.of)(null)}));this.parentComponentTeam$=
this.parentComponent$.pipe(Se(function(Ya){var wa;return(Ya=null==Ya?void 0:null==(wa=Ya.team)?void 0:wa.id)&&"0"!==Ya?AH(qb.teamsService,Ya):(0,E.of)(null)}));this.inheritedSloMetadata$=(0,E.combineLatest)([this.component$,this.parentComponent$,this.team$]).pipe(D(function(Ya){var wa=k(Ya);Ya=wa.next().value;var Ka=wa.next().value;wa=wa.next().value;if((null==Ya?0:Ya.team)&&!Ya.team.inherit&&"0"!==Ya.team.id){var Na,fb=null!=(Na=null==wa?void 0:wa.slo)?Na:null;if(fb)return{containerType:"TEAM",content:fb}}else if(Na=
null!=(fb=null==Ka?void 0:Ka.slo)?fb:null)return{containerType:"COMPONENT",content:Na};return null}));this.inheritedSlo$=this.inheritedSloMetadata$.pipe(Fe(),Se(function(Ya){var wa="0";Ya&&("TEAM"===Ya.containerType?wa=Ya.content.sloId:"COMPONENT"===Ya.containerType&&(wa=Ya.content.id));return"0"===wa?(0,E.of)({id:"0"}):qb.sloService.get(wa).then(function(Ka){return{id:wa,slo:Ka}})}));this.sloPolicySource$=this.inheritedSloMetadata$.pipe(Fe(),Se(function(Ya){if(!Ya)return(0,E.of)({name:"None",type:"none"});
Ya=xEb(Ya);var wa=Ya.sourceTeamId,Ka=Ya.sourceComponentId;return wa&&"0"!==wa?qb.teamsService.getTeam(wa).pipe(D(function(Na){var fb;return{name:null!=(fb=null==Na?void 0:Na.name)?fb:wa,type:"team",link:{path:"/teams/"+wa+"/edit",fragment:"slo"}}})):Ka?qb.componentActions.get(Number(Ka)).then(function(Na){var fb;return{name:null!=(fb=Na.name)?fb:Ka,type:"component",link:{path:"/components/"+Ka+"/edit"}}}):(0,E.of)(null)}));this.policySourcePath$=(0,E.combineLatest)([this.component$,this.team$,this.parentComponentTeam$,
this.inheritedSloMetadata$]).pipe(D(function(Ya){var wa=k(Ya);Ya=wa.next().value;var Ka=wa.next().value,Na=wa.next().value;wa=wa.next().value;if(!Ya||!Ya.componentPathInfo||!wa)return null;var fb=xEb(wa);wa=fb.sourceComponentId;Ka=zEb(Ka,fb.sourceTeamId,Ya.team,Na);return null===wa?{componentPath:null,teamPath:Ka}:{componentPath:yEb(Ya,wa),teamPath:Ka}}));this.enableSloLockingCheck=UD(this.activeSession,"enableSloLockingCheck");this.enableRecommendationSettingsPage=UD(this.activeSession,"enableRecommendationSettingsPage");
this.component=null;this.effectiveCustomFields=[];this.parentComponent=null;this.descendants=[];this.savingRecommendationSettings=this.hasUnsavedRecommendationSettings=this.isLoading=this.hasInitialized=!1;this.selectedTabIndex=0;this.isAnonymous=this.activeSession.isAnonymous();this.originalParentComponent=this.originalComponent=null;this.isAdminInternal=this.isUpdating=this.isArchiving=!1;this.metadataForm=null;this.error="";this.isComponentSloEditor=this.isEditorInternal=!1;this.updateDiffs=void 0;
this.templates=[];this.isParentComponentRequired=this.commentEditsEnabled=!0;this.retentionIsValid=!1;this.isEnableSloChecked=!0;this.enableSloLockingUi=UD(this.activeSession,"enableSloLockingUi");this.enableTeamLeadSloEditingUi=UD(this.activeSession,"enableTeamLeadSloEditingUi");this.sloLocked$=this.componentId$.pipe(ye(Boolean),Se(function(Ya){return qb.sloApi.executor.get({url:"action/components/"+Ya+"/slo_edit_policy",responseConstructor:xDc}).pipe(D(Kra))}));this.getSloManagementLink=vwa};
U(J9,WD);J9.\u0275dir=WD.\u0275dir;J9.prototype.shouldShowTrackerRedirect=function(a,b){return""!==a&&a!==b};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(){var a=this;this.componentId=Rh(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(SO(this.checkBeforeExit,function(){return a.hasUnsavedChanges()},!1));this.loadUserAccess(this.componentId);this.enableSloLockingCheck&&and(this);this.componentHistoryUiEnabled=this.activeSession.isInternalSession();
bnd(this);this.subscriptions.add(this.appEvents.customFieldsModified.subscribe(function(b){a.effectiveCustomFields=cnd(b)}));this.hasInitialized=!0;this.route.fragment.pipe(Te(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 bnd=function(a){a=[dnd(a,a.componentId),a.loadComponent(a.componentId),a.loadTemplates(a.componentId)];return Promise.all(a).then(function(){})};J9.prototype.isAdmin=function(){return this.isAdminInternal};var bs=function(a){return a.enableSloLockingCheck?a.isComponentSloEditor:a.isAdmin()};f=J9.prototype;f.isSaving=function(){return this.isUpdating||this.isArchiving||this.savingRecommendationSettings};f.isArchived=function(){return this.component?this.component.archived:!1};f.isPublic=function(){return xp(this.component)};
f.isExternal=function(){return wp(this.component)};f.isParentPublic=function(){return!(!this.parentComponent||!xp(this.parentComponent))};f.isParentPartner=function(){return!(!this.parentComponent||!I6a(this.parentComponent))};var QDb=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};
J9.prototype.hasUnsavedMetadataChanges=function(){return!(Mh(this.component,this.originalComponent)&&Mh(this.parentComponent,this.originalParentComponent)&&!this.hasUnsavedRecommendationSettings)};J9.prototype.hasUnsavedChanges=function(){return this.hasUnsavedMetadataChanges()};
var end=function(a){var b=Ol();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:fn("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},fnd=function(a){var b=Ol();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:jn(fn('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.'),hn("BR",{}),hn("BR",{}),fn('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.'),
hn("BR",{}),hn("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};J9.prototype.saveMetadata=function(){var a=this;return gnd(this)?fnd(this).then(function(b){return b?end(a):Promise.resolve(!1)}).then(function(b){b&&a.doSaveMetadata().then(function(){return bnd(a)})}):Promise.resolve()};
J9.prototype.doSaveMetadata=function(){var a=this;this.isUpdating=!0;DF(this.butterBar,"Saving changes ...",0);return hnd(this).then(function(){a.parentComponent&&(a.component.parentComponentId=a.parentComponent.componentId)}).then(function(){return ind(a)}).then(function(){return jnd(a)}).then(function(){var b;return null==(b=a.recommendationSettings)?void 0:b.save()}).then(function(){return knd(a)}).then(function(){DF(a.butterBar,"Save complete.")}).catch(function(b){a.errorHandler.errorHandler(null,
b)}).finally(function(){a.componentUpdatesApi.invalidateCache(a.componentId);a.isUpdating=!1})};
var hnd=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)},ind=function(a){return a.component.slo&&!Mh(a.originalComponent.slo,a.component.slo)?a.componentActions.updateSlo(a.component.componentId,a.component.slo).then(function(){a.analytics.trackEvent(Jn.MANAGE_COMPONENT,
"updateSlo");return!0}).catch(function(b){a.component.slo=a.originalComponent.slo;return Promise.reject(b)}):Promise.resolve(!1)},jnd=function(a){return a.component.team&&!Mh(a.originalComponent.team,a.component.team)?a.componentActions.updateTeam(a.component.componentId,a.component.team).then(function(){a.analytics.trackEvent(Jn.MANAGE_COMPONENT,"updateTeam");return!0}).catch(function(b){a.component.team=a.originalComponent.team;return Promise.reject(b)}):Promise.resolve(!1)},knd=function(a){return lnd(a)?
a.componentActions.update(a.component).then(function(){a.analytics.trackEvent(Jn.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)},lnd=function(a){var b=Nh(a.component);b.team=a.originalComponent.team;b.slo=a.originalComponent.slo;b.parentComponentId=a.originalComponent.parentComponentId;return!Mh(a.originalComponent,b)},gnd=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};J9.prototype.getComponentAccessLevel=function(){if(this.component&&this.component.accessLimit)return this.component.accessLimit.accessLevel};var dnd=function(a,b){return a.componentActions.getChildren(b).then(function(c){a.childComponents=c}).catch(function(c){a.errorHandler.errorHandler(null,c)})};
J9.prototype.revertMetadataChanges=function(){this.updateComponentAndOriginalComponent(this.originalComponent);this.error="";this.parentComponent=Nh(this.originalParentComponent);this.parentComponent$.next(this.parentComponent);this.commentEditsEnabled="ENABLED"==this.component.commentEditState;var a;null==(a=this.recommendationSettings)||a.revert()};
var iEb=function(a){a.componentActions.getUncached(a.componentId).then(function(b){a.effectiveCustomFields=cnd(b.componentPathInfo.allCustomField)})},cnd=function(a){return a?a.filter(function(b){return b.enabledOnIssues}):[]};
J9.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=cnd(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()})};J9.prototype.loadUserAccess=function(a){var b=this,c=Tl("COMPONENT",a);qF(this.userAccess,"admin",c).then(function(d){b.isAdminInternal=d;return b.isAdminInternal?!0:qF(b.userAccess,"writer",c)}).then(function(d){b.isEditorInternal=d}).catch(function(d){b.errorHandler.errorHandler(null,d)})};
var and=function(a){qF(a.userAccess,"writer",Tl("COMPONENT_SLO",a.componentId)).then(function(b){a.isComponentSloEditor=b})},rDb=function(a){var b,c=Kr(a.currentTracker,null==(b=a.parentComponent)?void 0:b.componentPathInfo);return a.currentTracker.inTracker&&(!c||!c.componentPathId||0===c.componentPathId.length)},cs=function(a){return a.isSaving()||!a.isEditorInternal};f=J9.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=Nh(c);return c}).catch(function(c){b.errorHandler.errorHandler(null,c)})};f.getRecentIssuesLink=function(){var a=this.isArchived();return Zl(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 gDb=function(a){a.butterBar.dismiss();a.retentionIsValid?a.hasUnsavedChanges()?EF(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,DF(a.butterBar,"Looking up subcomponents...",0),a.componentActions.getDescendants(a.component.componentId).then(function(b){a.butterBar.dismiss();a.descendants=b;Rz(a.matDialogService.open(a.confirmArchiveDialog,{restoreFocus:!1})).pipe(Te(a.destroyed$)).subscribe(function(){a.archiveButton.focus()})}).catch(function(b){a.errorHandler.errorHandler(null,
b)})):EF(a.butterBar,"Required retention settings are missing or invalid. Please set retention settings before "+a.archiveAction.slice(0,-1)+"ing.")};
J9.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 Oza(a);case "UNSPECIFIED_RETENTION":return"Retention period unspecified";default:rh(b,"unexpected value "+b+"!")}};
J9.prototype.archive=function(){var a=this;this.isArchiving=!0;DF(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);DF(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;DF(a.butterBar,"Could not "+a.archiveAction.toLowerCase()+" component: "+(Ql(b)?Rl(b):b));a.isArchiving=!1})};
J9.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)})};
J9.prototype.setCommentEditState=function(a){this.commentEditsEnabled=a;this.component.commentEditState=this.commentEditsEnabled?"ENABLED":"DISABLED"};
var mnd=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=N2a(d.addMask.paths),h=N2a(d.removeMask.paths),l={author:d.author||null,timestamp:d.timestamp||null,diffs:[]},q=d.add;d=d.remove;for(var x=k(new Set([].concat(Vc(g),Vc(h)))),A=x.next();!A.done;A=x.next()){var B=A.value;if(A=UUc.get(B))if("name"===B){var K=kp(h,B,d.name);B=kp(g,B,q.name);l.diffs.push(lp(A,K,B))}else if("description"===
B)K=kp(h,B,d.description),B=kp(g,B,q.description),l.diffs.push(lp(A,K,B));else if("parentComponentId"===B)K=kp(h,B,String(d.parentComponentId)),B=kp(g,B,String(q.parentComponentId)),l.diffs.push(lp(A,K,B));else if("isArchived"===B)K=kp(h,B,String(d.archived)),B=kp(g,B,String(q.archived)),l.diffs.push(lp(A,K,B));else if("commentEditState"===B){var N=VUc.get(d.commentEditState);K=VUc.get(q.commentEditState);N&&K&&(N=kp(h,B,N),B=kp(g,B,K),l.diffs.push(lp(A,N,B)))}else"defaultTemplateId"===B?(K=kp(h,
B,String(d.defaultTemplateId)),B=kp(g,B,String(q.defaultTemplateId)),l.diffs.push(lp(A,K,B))):"slo"===B?e.sessionIsInternal&&(K=kp(h,B,T2a(d.slo)),B=kp(g,B,T2a(q.slo)),l.diffs.push(lp(A,K,B))):"team"===B?e.sessionIsInternal&&(K=kp(h,B,U2a(d.team)),B=kp(g,B,U2a(q.team)),l.diffs.push(lp(A,K,B))):"retentionSettings"===B?(K=kp(h,B,R2a(d.retentionSettings)),B=kp(g,B,R2a(q.retentionSettings)),l.diffs.push(lp(A,K,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()};J9.prototype.showUpdateHistoryModal=function(){var a=this;mnd(this,this.componentId).then(function(){a.matDialogService.open(q6,{width:"600px",data:{updateDiffs:a.updateDiffs}});a.analytics.trackEvent(Jn.UPDATE_HISTORY_MODAL,"open");a.analytics.trackEvent(Jn.MANAGE_COMPONENT,"viewHistory")})};J9.prototype.onSloChange=function(a){this.component.slo.id=a?a.sloId:"0";a&&nnd(this)};
var MDb=function(a){var b=!!a.parentComponent,c="0"!==a.component.team.id;return bs(a)&&(c||b)},SDb=function(a){var b=!a.component.team||"0"===a.component.team.id,c=!a.parentComponent;return bs(a)&&(!a.component.slo.inherit||c&&b)},vDb=function(a){var b,c,d,e;he(function(g){b=0===a.component.parentComponentId;c="0"!==a.component.team.id;return(0===a.component.parentComponentId?"0"!==a.component.team.id:!a.component.team.inherit&&"0"!==a.component.team.id)||b&&c?g.yield((0,E.firstValueFrom)(a.team$.pipe(D(function(h){a.component.slo.id=
h.slo.sloId;nnd(a)}))),0):(d=ond(a),e=d.id,a.component.slo.id=e,nnd(a),g.jumpTo(0))})},RDb=function(a){var b=a.parentComponent||a.isParentComponentRequired;return"0"!==a.component.team.id||b?!0:!1},ond=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}},cEb=function(a,b){DF(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(Jn.MANAGE_COMPONENT,"updateEffort");var d,e;if(null==(d=a.component)?0:null==(e=d.effortSpec)?0:e.name){var g;DF(a.butterBar,(null==(g=a.component.effortSpec)?void 0:g.name)+" saved")}else DF(a.butterBar,"Estimated Effort saved")}).catch(function(c){a.errorHandler.errorHandler(null,c)}))};
J9.prototype.updateComponentAndOriginalComponent=function(a){this.component=Nh(a);this.component$.next(this.component);this.originalComponent=Nh(a);var b;this.componentTeam$.next(null!=(b=this.component.team)?b:null);nnd(this)};J9.prototype.back=function(){R1(this.appHistory)};var nnd=function(a){var b;(null==(b=a.component)?0:b.slo)?a.isEnableSloChecked="0"!==a.component.slo.id:a.isEnableSloChecked=!1};
J9.\u0275fac=function(a){return new (a||J9)(C(mm),C(cH,2),C(RI),C(uG),C(Icc),C(vG),C(Q1),C(CF),C(TU),C(gs),C(nI),C(Wz),C(gH),C(RO),C(pF),C(FT),C(GF),C(bZ),C(r9),C(oI),C(KF),C(zH),C(kS),C(lS),C(lK))};
J9.\u0275cmp=Gc({type:J9,selectors:[["manage-component-page"]],viewQuery:function(a,b){a&1&&(Uf(Xmd,5),Uf(Ymd,5),Uf(t9,5),Uf(Zmd,5),Uf(mM,5,vd));if(a&2){var c;Tf(c=Wf())&&(b.confirmArchiveDialog=c.first);Tf(c=Wf())&&(b.archiveButton=c.first);Tf(c=Wf())&&(b.recommendationSettings=c.first);Tf(c=Wf())&&(b.metadataForm=c.first);Tf(c=Wf())&&(b.tabs=c)}},features:[Gf([cH]),bf],decls:4,vars:4,consts:[[4,"ngIf","ngIfElse"],["showTrackerRedirect",""],[1,"kd-appbar"],[1,"kd-buttonbar"],[1,"bv2-appbar-left"],
["format","icon","size","large","tooltip","Go back","ariaLabel","Go back",3,"onAction"],["name","arrow-backward","size","large"],[4,"ngIf"],["cdkScrollable","",1,"bv2-view"],["class","bv2-view-loading",4,"ngIf"],["archiveDialog",""],["mat-button","",1,"gmat-button",3,"routerLinkObj"],["format","flat",3,"disabled","onAction",4,"ngIf"],["format","flat",3,"tooltip","disabled","onAction",4,"ngIf"],["format","flat",3,"disabled","onAction"],["archiveButton",""],["format","flat",3,"tooltip","disabled","onAction"],
[1,"bv2-view-loading"],[1,"edit-resource-header"],["class","resource-archived",4,"ngIf"],[1,"keep-focus-ring","margin-s-right",3,"routerLinkObj","click"],[3,"accessLevel"],[3,"trackerId"],[1,"component-hierarchy-container"],["componentPathsLinkTo","settings",3,"componentPathInfo","isArchived","label"],[1,"float-clear"],["gmat-tabs","",1,"bv2-tab-bar",3,"selectedIndex","selectedIndexChange"],["label","Basic Information",3,"id"],[4,"ngTemplateOutlet"],[3,"id","label"],["label","Field Ordering",3,"id"],
["label","Templates",3,"id"],["label","Access Control",3,"id"],["basic",""],["customFields",""],["fieldOrdering",""],["templatesList",""],["access",""],[1,"resource-archived"],[1,"edit-resource-panel"],["name","metadataForm"],["metadataForm",""],[3,"error"],["aria-label","Name",1,"edit-field"],["for","component-name",1,"required"],[1,"edit-field-header"],["type","text","name","name","required","","id","component-name",3,"ngModel","disabled","ngModelChange"],["aria-label","Description",1,"edit-field"],
["tabindex","0",1,"field-label-with-help","keep-focus-ring"],["aria-describedby","component-description-bubble","for","component-description",1,"help-label"],[1,"help-container"],["id","component-description-bubble",1,"help-bubble","jfk-bubble"],[1,"jfk-bubble-arrow","jfk-bubble-arrowleft"],[1,"jfk-bubble-arrowimplbefore"],[1,"jfk-bubble-arrowimplafter"],["name","description","aria-describedby","component-description-bubble","id","component-description",3,"ngModel","disabled","ngModelChange"],["class",
"edit-field","tabindex","0","aria-label","Parent component",4,"ngIf"],["role","region","aria-label","Editable Comments",1,"edit-field","permission-toggle"],[1,"permission-toggle-checkbox"],["ariaLabelledby","editable-comments-label permission-toggle-help",3,"checked","disabled","change"],["id","editable-comments-label",1,"edit-field-help"],["id","permission-toggle-help",1,"permission-toggle-help","edit-field-help"],["target","_blank","aria-label","Learn more about editable comments","class","keep-underline keep-focus-ring",
3,"href",4,"ngIf"],["class","edit-field","role","region","aria-label","Retention Settings",3,"bv2-edit-resource-readonly",4,"ngIf"],["class","edit-field","role","region","tabindex","0","aria-label","Team Configuration",3,"bv2-edit-resource-readonly",4,"ngIf"],["class","edit-field","role","region","tabindex","0","aria-label","SLO Configuration",3,"bv2-edit-resource-readonly",4,"ngIf"],["aria-label","Component alias",1,"edit-field","bv2-edit-resource-readonly"],["aria-describedby","edit-alias-help-bubble",
1,"help-label"],["id","edit-alias-help-bubble",1,"help-bubble","jfk-bubble"],["aria-label","Learn more about component alias","target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],[3,"href"],[3,"componentId","hasUnsavedChanges","isSaving",4,"ngIf"],[1,"edit-button-row"],["class","edit-button-group",4,"ngIf"],[1,"edit-button-group"],["format","hairline","title","View history for 'Basic Information'",3,"onAction",4,"ngIf"],[1,"edit-field","bv2-edit-resource-readonly"],[3,"children","onVisit",
4,"ngIf"],["tabindex","0","aria-label","Parent component",1,"edit-field"],["aria-describedby","edit-parent-help-bubble","for","component-parent-id",1,"help-label"],["id","edit-parent-help-bubble",1,"help-bubble","jfk-bubble"],["id","component-parent-id",3,"selectedComponent","placeholder","isRequired","selectedComponentChange"],["target","_blank","aria-label","Learn more about editable comments",1,"keep-underline","keep-focus-ring",3,"href"],["role","region","aria-label","Retention Settings",1,"edit-field"],
["for","retention-settings",1,"required"],[1,"edit-field-help"],["target","_blank","aria-label","Learn more about choosing a period of time to retain the data stored in this component.",1,"keep-underline","keep-focus-ring",3,"href"],["id","retention-settings"],[3,"issueRetentionDisabled","isExternal","initialModel","modelChange","validChange"],["role","region","tabindex","0","aria-label","Team Configuration",1,"edit-field"],["for","team-picker"],["id","team-picker",4,"ngIf"],["id","team-picker"],
[3,"isAdmin","isTopLevel","parentModel","useInternalLink","anchorTarget","model","modelChange"],["role","region","tabindex","0","aria-label","SLO Configuration",1,"edit-field"],["aria-describedby","edit-slo-help-bubble",1,"help-label"],["id","edit-slo-help-bubble",1,"help-bubble","jfk-bubble"],[1,"metadata","muted"],["class","slo-policy-link",4,"ngIf"],["class","slo-policy-source-link",4,"ngIf"],["class","slo-admins-link",4,"ngIf"],[1,"lock-state"],["class","edit-field less-margin",4,"ngIf"],[1,"slo-policy-link"],
[3,"routerLinkObj",4,"ngIf","ngIfElse"],["noInheritedSlo",""],[3,"routerLinkObj"],[1,"slo-policy-source-link"],["class","keep-focus-ring slo-inheritance-link",3,"routerLinkObj",4,"ngIf","ngIfElse"],["noPolicySource",""],["mat-stroked-button","","type","button","aria-label","Display the full SLO inheritance path below",1,"gmat-button","slo-inheritance-path","small",3,"click"],[1,"keep-focus-ring","slo-inheritance-link",3,"routerLinkObj"],["class","slo-breadcrumbs",4,"ngIf"],[1,"slo-breadcrumbs"],[3,
"componentPath","teamPath"],[1,"slo-admins-link"],["target","_blank",1,"keep-focus-ring",3,"routerLinkObj"],["unlocked",""],["svgIcon","lock-outline"],["svgIcon","lock-open"],[1,"edit-field","less-margin"],["gmat-checkbox","",1,"slo-override",3,"checked","disabled","change"],["class","edit-field component-slo-justification-text",4,"ngIf"],["name","slo-enable","labelPosition","before",1,"slo-enable",3,"ngModel","disabled","ngModelChange","change"],[1,"edit-field","component-slo-id-select"],["for",
"component-slo-id"],["id","component-slo-id","aria-describedby","edit-slo-help-bubble","tabindex","-1",1,"bv2-slo-picker","bv2-picker",3,"bv2Disabled","boundId","bv2Placeholder","onSloSelect"],["mat-icon-button","","class","gmat-button small","aria-label","Go to SLO management page","matTooltip","Go to SLO management page.",3,"routerLinkObj","target",4,"ngIf"],[1,"edit-field","component-slo-justification-text"],["for","component-slo-justification","id","component-settings-slo-justification-label",
1,"required"],["svgIcon","help-outline","tabindex","0","aria-hidden","false","matTooltip","Justification is required to override the org SLO.","aria-label","Justification is required to override the org SLO.",1,"slo-info","icon-s","valign-middle"],["name","comment","aria-labelledby","component-settings-slo-justification-label","required","",3,"ngModel","disabled","ngModelChange"],["mat-icon-button","","aria-label","Go to SLO management page","matTooltip","Go to SLO management page.",1,"gmat-button",
"small",3,"routerLinkObj","target"],["svgIcon","pop-out",1,"icon-s"],[3,"componentId","hasUnsavedChanges","isSaving"],["format","fill",3,"disabled","onAction"],["format","hairline",3,"disabled","onAction"],["format","hairline","title","View history for 'Basic Information'",3,"onAction"],[3,"children","onVisit"],["class","heading-m padded-x margin-top","aria-label","Standard Fields",4,"ngIf"],[3,"effortSpec","parentEffortSpec","disabled","updateComponent",4,"ngIf"],["class","heading-m padded-x margin-top",
"aria-label","Custom Fields",4,"ngIf"],[3,"editMode","isSaving","component","parentComponent"],["aria-label","Standard Fields",1,"heading-m","padded-x","margin-top"],[3,"effortSpec","parentEffortSpec","disabled","updateComponent"],["aria-label","Custom Fields",1,"heading-m","padded-x","margin-top"],[1,"component-banner","implicit-access-banner"],["aria-label","Learn more about field ordering","class","keep-underline keep-focus-ring","target","_blank",3,"href",4,"ngIf"],[3,"fields","componentId","fieldOrdering",
"isAdmin","onReload"],["aria-label","Learn more about field ordering","target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],[3,"componentId","supportCustomFields",4,"ngIf"],[3,"componentId","supportCustomFields"],["class","component-field",4,"ngFor","ngForOf"],[1,"component-field"],["mat-dialog-title",""],[1,"b-archive-component-list"],[4,"ngFor","ngForOf"],["mat-flat-button","","mat-dialog-close","","aria-label","Click to archive the component","color","primary",3,"click"],["mat-button",
"","mat-dialog-close","","aria-label","Click to close the dialog without archiving the component",3,"click"],["aria-label","Learn more about archiving components","target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],["aria-label","Learn more about buganizer retention","target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],[3,"b-archive-warning-indef",4,"ngIf"],[1,"bv2-limited-issue-view"],[3,"component"]],template:function(a,b){a&1&&(Q(0,vEb,12,3,"ng-container",0),S(1,"async"),
Q(2,wEb,2,1,"ng-template",null,1,Zf));if(a&2){var c=Cf(3);F("ngIf",!T(1,2,b.showTrackerRedirect$))("ngIfElse",c)}},dependencies:[PO,dw,ew,jw,uA,hO,qZ,gZ,w5,aid,H5,X_,F0,M5,Mw,og,Fw,Gw,Ww,Lw,Jw,I9,sM,AM,Jz,Kz,vN,Xz,Yz,Zz,$z,Jy,xS,nM,mM,LB,t9,w1,H9,TM,s9,u1,sL,LT,oK,m8,kw,mw],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 WEb=function(a){return[a]},XEb=function(){return[]},fFb=function(a){return{value:a}},pnd={BASIC:"basic",SLO:"slo",MAPPINGS:"componentMapping"},K9=function(a,b,c,d,e,g,h,l,q,x,A,B,K,N){WD.call(this);var P=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=x;this.teamsService=A;this.userAccess=B;this.sloApi=K;this.sloService=N;this.originalSloLock=
!1;this.canEditSloLock=!0;this.sloJustification$=new E.BehaviorSubject("");this.error="";this.justificationRequiredText="Justification is required to override the org SLO.";this.selectedTabIndex=0;this.teamId=this.routeParams.teamId;this.team$=new E.ReplaySubject(1);this.teamSlo$=this.team$.pipe(D(function(X){return X.slo}));this.isSloLeadValid=!1;this.sloLeadEmail$=new E.BehaviorSubject("");this.sloLead$=new E.BehaviorSubject("");this.sloLeadUserValidators={sloLeadNotUser:function(X){if(X){X=k(X);
for(var ka=X.next();!ka.done;ka=X.next())if(0!==ka.value.indexOf("USER:"))return!1}return!0}};this.sloLeadGooglerValidators={sloLeadNotGoogler:function(X){if(X){X=k(X);for(var ka=X.next();!ka.done;ka=X.next())if(0!==ka.value.indexOf("UNRESTRICTED_GOOGLER:"))return!1}return!0}};this.teamAdmins$=(0,E.from)(this.accessPolicyApi.get("TEAM",this.teamId)).pipe(D(function(X){return X.admins.filter(Eqa).map(ti)}));this.teamLeads$=this.team$.pipe(D(function(X){return X.members.filter(function(ka){return ka.isLead}).map(function(ka){var ma,
za;return"USER:"+(null!=(za=null==(ma=ka.user)?void 0:ma.emailAddress)?za:"")})}));this.adminsAndLeads$=(0,E.combineLatest)([this.teamAdmins$,this.teamLeads$]).pipe(D(function(X){var ka=k(X);X=ka.next().value;ka=ka.next().value;var ma=new Set(X);ka=ka.filter(function(za){return!ma.has(za)});return[].concat(Vc(X),Vc(ka))}));this.associatedComponents$=(0,E.from)(this.componentActions.search("directteamid:"+this.teamId));this.teamPath$=this.team$.pipe(D(function(X){var ka=X.pathNames;return X.pathIds.map(function(ma,
za){return{id:ma,name:ka[za]}})}));this.isRootTeam$=this.teamPath$.pipe(D(function(X){return 1>=X.length?!0:!1}));this.parentTeam$=(0,E.combineLatest)([this.isRootTeam$,this.teamPath$]).pipe(Se(function(X){var ka=k(X);X=ka.next().value;ka=ka.next().value;return X?(0,E.of)(null):P.teamsService.getTeam(ka[ka.length-2].id)}));this.parentTeam=null;this.inheritedSlo$=this.parentTeam$.pipe(Se(function(X){var ka,ma=null==X?void 0:null==(ka=X.slo)?void 0:ka.sloId;return ma&&"0"!==ma?P.sloService.get(ma).then(function(za){return{id:ma,
link:vwa(ma),slo:za}}):(0,E.of)({id:"0"})}));this.sloPolicySource$=(0,E.combineLatest)([this.parentTeam$,this.teamPath$]).pipe(D(function(X){var ka=k(X);X=ka.next().value;ka=ka.next().value;var ma,za=null==X?void 0:null==(ma=X.slo)?void 0:ma.sourceTeamId;ma=ka.find(function(Ba){return Ba.id===za});return za&&ma?{name:ma.name,link:{path:"/teams/"+za+"/edit",fragment:"slo"}}:null}));this.Tab=pnd;this.enableSloLockingUi=UD(this.activeSession,"enableSloLockingUi");this.enableSloLead=UD(this.activeSession,
"enableSloLead");this.isSloInheritEnabled$=new E.BehaviorSubject(!0);this.sloId$=new E.BehaviorSubject("0");this.enableSloCheckedInternal=!1;this.sloLocked$=new E.BehaviorSubject(!1);this.hasSloReadAccess$=this.sloId$.pipe(Se(function(X){return qF(P.userAccess,"reader","slos/"+X)}),Re(!1));this.sloPickerLink$=(0,E.combineLatest)([this.sloId$,this.hasSloReadAccess$]).pipe(D(function(X){var ka=k(X);X=ka.next().value;ka=ka.next().value;return X&&0<Number(X)&&ka?vwa(X):null}));this.hasUnsavedChanges$=
(0,E.combineLatest)([this.team$,this.sloId$,this.isSloInheritEnabled$,this.sloLocked$,this.sloJustification$,this.sloLeadEmail$]).pipe(D(function(X){var ka=k(X),ma=ka.next().value;X=ka.next().value;var za=ka.next().value,Ba=ka.next().value,Ma=ka.next().value;ka=ka.next().value;var Sa=ma.slo,Ua,Lb;ma=null!=(Lb=null==(Ua=ma.sloLead)?void 0:Ua.emailAddress)?Lb:"";return Sa.inherit!==za||Sa.sloId!==X||Ba!==P.originalSloLock||Sa.comment!==Ma||ma!==ka}));this.hasEditAccess=!1;this.pageTitle.setTitle("Team Overview");
this.team$.pipe(Te(this.destroyed$)).subscribe(function(X){P.pageTitle.setTitle("Team: "+X.name)});a=UD(this.activeSession,"enableSloLockingCheck")?"teams/"+this.teamId+"/slo":"teams/"+this.teamId;qF(this.userAccess,"writer",a).then(function(X){P.hasEditAccess=X});this.childTeams$=this.teamsService.getChildTeams([this.teamId]).pipe(D(function(X){return X.values().next().value}));this.sloLock$=this.sloApi.executor.get({url:"action/teams/"+this.teamId+"/slo_edit_policy",responseConstructor:hS}).pipe(D(Jra));
var Y=Um(this.hasUnsavedChanges$.pipe(Te(this.destroyed$)),!1);this.subscriptions.add(SO(this.checkBeforeExit,function(){return Y.getValue()},!1))};U(K9,WD);K9.\u0275dir=WD.\u0275dir;
K9.prototype.ngOnInit=function(){var a=this,b,c;return he(function(d){switch(d.nextAddress){case 1:return b=a.location.hash(),"basic"===b?a.selectedTabIndex=0:"slo"===b?a.selectedTabIndex=1:"componentMapping"===b&&(a.selectedTabIndex=2),ie(d,2),d.yield((0,E.firstValueFrom)(a.teamsService.get(a.teamId)),4);case 4:c=d.yieldResult;ms(d,3);break;case 2:return le(d),EF(a.butterBar,"Unable to fetch team ID '"+a.teamId+"'"),d.return();case 3:return a.team$.next(c),$Eb(a),d.yield((0,E.firstValueFrom)(a.parentTeam$),
5);case 5:a.parentTeam=d.yieldResult||null,me(d)}})};K9.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)};K9.prototype.onSloChange=function(a){a&&(this.sloId=a.sloId)};
var ZEb=function(a,b){var c,d,e,g,h,l;return he(function(q){switch(q.nextAddress){case 1:if(!a.validate())return q.return();DF(a.butterBar,"Saving changes...",0);ie(q,2);if(!a.enableSloLead||(null==(c=b.sloLead)?void 0:c.emailAddress)===a.sloLeadEmail){q.jumpTo(4);break}return q.yield((0,E.firstValueFrom)(a.teamsService.updateTeam(Object.assign({},b,{sloLead:{emailAddress:a.sloLeadEmail}}))),5);case 5:d=q.yieldResult,a.team$.next(d);case 4:if(a.sloLocked===a.originalSloLock){q.jumpTo(6);break}var x=
q.yield,A=E.firstValueFrom;var B=a.sloApi;var K=a.teamId,N=a.sloLocked,P=new BD;N=Pi(P,2,N?1:2).setTeamId(Number(K));B=B.executor.post({url:"action/teams/"+K+"/slo_edit_policy",responseConstructor:jS,body:N}).pipe(D(Jra));return x.call(q,A.call(E,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}x=q.yield;A=E.firstValueFrom;N={sloId:a.sloId,inherit:a.isSloInheritEnabled,
comment:a.isSloInheritEnabled?"":a.sloJustification$.getValue(),sourceTeamId:"0"};B=a.teamsService;K=a.teamId;N=Vsa(N);P=(new yH).setTeamId(K);N=Yi(P,Mj,2,N);B=B.executor.post({url:"/action/teams/"+K+"/update_slo",body:N,responseConstructor:OD}).pipe(D(Tsa));return x.call(q,A.call(E,B),9);case 9:h=q.yieldResult,a.team$.next(h);case 8:DF(a.butterBar,"Save complete.");ms(q,0);break;case 2:l=le(q),IF(a.errorHandler,l),me(q)}})};
K9.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 qnd=function(a){(0,E.firstValueFrom)(a.team$).then(function(b){var c;b=null==(c=b.sloLead)?void 0:c.emailAddress;a.sloLead=b?"USER:"+b:""})},rnd=function(a){(0,E.firstValueFrom)(a.teamSlo$).then(function(b){a.sloId=b.sloId;a.isSloInheritEnabled=b.inherit;a.sloJustification$.next(b.comment)})},snd=function(a){(0,E.firstValueFrom)(a.sloLock$).then(function(b){a.originalSloLock=b;a.sloLocked=b})},$Eb=function(a){a.error="";qnd(a);rnd(a);a.enableSloLockingUi&&snd(a)};K9.prototype.back=function(){R1(this.appHistory)};
hh.Object.defineProperties(K9.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()}}});K9.\u0275fac=function(a){return new (a||K9)(C(gs),C(VF),C(Q1),C(CF),C(RO),C(FT),C(GF),C(uG),C(TU),C(RI),C(zH),C(pF),C(kS),C(lS))};
K9.\u0275cmp=Gc({type:K9,selectors:[["manage-team-page"]],viewQuery:function(a,b){a&1&&Uf(mM,5,vd);if(a&2){var c;Tf(c=Wf())&&(b.tabs=c)}},features:[bf],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&&(G(0,"div",0)(1,"div",1)(2,"div",2)(3,"button",3),M("click",function(){return b.back()}),I(4,"mat-icon",4),H()()()(),G(5,"div",5),Q(6,gFb,86,39,"ng-container",6),S(7,"async"),H());a&2&&(z(6),F("ngIf",T(7,1,b.team$)))},dependencies:[cw,dw,ew,uA,F0,og,Fw,Ww,Lw,I9,sM,Jz,Kz,vN,nM,mM,LB,Jy,xS,x0,pG,TM,u1,k1,kw],styles:[".description[_ngcontent-%COMP%]{white-space:pre-wrap}button[_ngcontent-%COMP%]{height:32px;line-height:32px}button.mat-icon-button.large[_ngcontent-%COMP%]{height:36px;line-height:36px;width:36px}.team-hierarchy-container[_ngcontent-%COMP%]{margin-top:-5px;padding-bottom:32px;padding-left:20px}.metadata[_ngcontent-%COMP%]{margin:10px 0}.metadata[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#5f6368;color:var(--icon);width:16px;height:16px}.lock-state[_ngcontent-%COMP%]{display:flex;align-items:center}.team-slo-id-select[_ngcontent-%COMP%]{display:inline-block;width:450px}label[_ngcontent-%COMP%]{display:inline-block;line-height:2.2em}label[_ngcontent-%COMP%]   .edit-field-header[_ngcontent-%COMP%]{font-weight:bold}textarea.slo-justification-text[_ngcontent-%COMP%]{height:3em}div.edit-field.less-margin[_ngcontent-%COMP%]{margin:8px 0}ul[_ngcontent-%COMP%]{padding:0}ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{line-height:1.2}.indented[_ngcontent-%COMP%], .slo-justification[_ngcontent-%COMP%], .team-slo-id-select[_ngcontent-%COMP%]{margin-left:24px}.team-slo-id-select[_ngcontent-%COMP%], mat-slide-toggle.slo-enable[_ngcontent-%COMP%]{display:inline-block}/*# sourceMappingURL=manage_team.css.map */"]});var L9=function(){this.selectedSignals$=(0,E.of)([]);this.selected=new Gv;this.ALL_SIGNAL_TYPES=DVa();this.isOpen=!1};L9.prototype.openMenu=function(){this.isOpen=!0};L9.prototype.closeMenu=function(){this.isOpen=!1};L9.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()};L9.\u0275fac=function(a){return new (a||L9)};
L9.\u0275cmp=Gc({type:L9,selectors:[["select-signals-menu"]],viewQuery:function(a,b){a&1&&Uf(vN,5);if(a&2){var c;Tf(c=Wf())&&(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&&(G(0,"button",0,1),M("click",function(){return b.openMenu()}),I(2,"mat-icon",2),H(),Q(3,lFb,13,3,"ng-template",3),M("detach",function(){return b.closeMenu()})("backdropClick",
function(){return b.closeMenu()}));if(a&2){var c=Cf(1);qf("menu-open",b.isOpen);z(3);F("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",b.isOpen)}},dependencies:[dw,ew,uA,vN,Jz,tL,bz,az,fx,kw],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 M9=function(a){this.dateFormatter=a;this.iconOnly=this.isSelected=this.generalDescriptionOnly=!1;this.count=-1;this.matTooltipShowDelay=0;this.removable=!1;this.onRemove=new Gv};
M9.prototype.getSignalTypeTooltip=function(){var a=this;if(this.generalDescriptionOnly)return this.signal.signalType?(0,E.of)(FVa(this.signal)):(0,E.of)("");var b;return null!=(b=this.signal.timestamp)&&b.seconds?this.dateFormatter.formatUserCalendar(new Date(1E3*this.signal.timestamp.seconds)).pipe(D(function(c){return EVa(a.signal,c)})):(0,E.of)(EVa(this.signal))};M9.prototype.onClickRemove=function(){this.onRemove.emit(this.signal.signalType)};M9.\u0275fac=function(a){return new (a||M9)(C(aK))};
M9.\u0275cmp=Gc({type:M9,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&&Q(0,pFb,5,14,"span",0);a&2&&(a=b.signal.signalType?QFc.has(b.signal.signalType)?QFc.get(b.signal.signalType):null:null,F("ngIf",a))},dependencies:[ew,uA,Jz,LB,kw],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 rFb=function(a){return{signalType:a}},uFb=function(){return[]},N9=function(a,b,c,d,e,g,h,l,q,x,A,B,K,N,P){WD.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=x;this.errorHandler=A;this.snackbar=B;this.currentTracker=K;this.appEvents=N;this.issuePagination=P;this.issues=[];this.columns=[r0,s0,t0,new Bp({name:"alerts",sortable:!1,draggable:!1,fullLabel:"Alerts",
label:"ALERTS"}),Object.assign({},Cp("priority"),{draggable:!1}),Object.assign({},Cp("title"),{draggable:!1}),Object.assign({},Cp("assignee"),{draggable:!1}),Object.assign({},Cp("status"),{draggable:!1}),Object.assign({},Cp("issueId"),{draggable:!1}),new Bp({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=Kbc;this.STATUS_FULL_TEXT=IE;this.STATUS_TERSE=EE;this.ALL_SIGNAL_TYPES=DVa();this.selectedSignals$=new E.BehaviorSubject([]);this.sortConfig={field:"priority",direction:"ASC"};this.HOTKEYS=FL;this.SPACE_EMPTY_STATE=amc};U(N9,WD);N9.\u0275dir=WD.\u0275dir;
N9.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(Te(this.destroyed$)).subscribe(function(){a.fetchIssues()});this.destroyed$.pipe(Ge()).subscribe(function(){var b;null==(b=a.snackBarRefForUndo)||b.dismiss()})};
var tFb=function(a,b){a.selectedSignals$.next(b);a.userPreferencesManager.save({needsAttentionPreferences:{selectedSignals:b}}).pipe(Ge()).subscribe()};N9.prototype.convertIssueStatusStrToTag=function(a){return jj[a]};N9.prototype.hasResults=function(){return 0<this.issues.length-this.lastDismissedRowIssueIds.size};N9.prototype.issueDescription=function(a){return"Needs attention Issue ID "+a.id+" titled: "+a.title};
N9.prototype.goToIssue=function(a,b,c){var d;c&&"A"===(null==(d=c.target)?void 0:d.tagName)||(JFb(this,a),a=this.paths.editIssue(a),c&&(c.ctrlKey||c.metaKey||1===c.button)?this.domSafe.openInNewTab(a):c&&c.shiftKey?Hn(this.domSafe,a):this.bLocation.url(a))};
var JFb=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(Jn.NEEDS_ATTENTION,"viewIssue",d)},DFb=function(a){return 0===a.issues.length?!1:a.issues.every(function(b){return b.selected})};f=N9.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,Ufc(this.issueFridge,String(a.issueId),a.starred).pipe(Ge(),Te(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 wFb=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);PFc(a.needsAttentionApi,b,!0).then(function(){return void tnd(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})};
N9.prototype.dismissIssue=function(a){var b=this;this.dismissInProgress[a.issueId]||(this.dismissInProgress[a.issueId]=!0,PFc(this.needsAttentionApi,[a.issueId],!0).then(function(){return void tnd(b,[a.issueId])},function(c){return void b.errorHandler.errorHandler(null,c)}).finally(function(){b.dismissInProgress[a.issueId]=!1}))};
var tnd=function(a,b){a.analytics.trackEvent(Jn.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&&und(a,b)})},und=function(a,b){PFc(a.needsAttentionApi,b,!1).then(function(){a.analytics.trackEvent(Jn.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=N9.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(Vc(this.ALL_SIGNAL_TYPES)))};
f.fetchIssues=function(){var a=this,b;null==(b=this.snackBarRefForUndo)||b.dismiss();this.lastDismissedRowIssueIds.clear();this.isLoading=!0;b=vnd(this);b={page:1,resultsPerPage:this.needsAttentionApi.COUNT,sortColumns:b?[b]:[],returnUrl:this.paths.needsAttention(),trackerIds:bmc(this.currentTracker),fromNeedsAttention:!0,selectedSignals:this.selectedSignals$.value};uX(this.issuePagination);NSc(this.issuePagination,b).then(function(c){a.issues=c.issues;a.isLoading=!1;a.cdr.detectChanges()})};
var bGb=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})};N9.prototype.toggleSignal=function(a){var b=this.selectedSignals$.value,c=b.indexOf(a);-1===c?b.push(a):b.splice(c,1);tFb(this,[].concat(Vc(b)))};var vnd=function(a){var b=zk(a.sortConfig.field);a="ASC"===a.sortConfig.direction?"ASCENDING":"DESCENDING";return b?new Ck(b,a):null};
N9.prototype.onSortChange=function(a){this.sortConfig=a;this.fetchIssues()};N9.\u0275fac=function(a){return new (a||N9)(C($X),C(TU),C(vG),C(uI),C(hU),C(cH,2),C(gH),C(uG),C(SJ),C(lH),C(GF),C(BF),C(lK),C(KF),C(tX))};
N9.\u0275cmp=Gc({type:N9,selectors:[["ng-component"]],features:[Gf([cH]),bf],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&&(G(0,"h2",0),R(1,"Issues which need your attention"),H(),G(2,"div",1),Q(3,vFb,14,9,"div",2),Q(4,xFb,3,1,"div",3),H(),G(5,"div",4),Q(6,yFb,4,0,"div",5),Q(7,BFb,8,6,"div",6),Q(8,cGb,15,18,"div",7),H());a&2&&(z(3),F("ngIf",!b.someIssuesSelected()),z(1),F("ngIf",b.someIssuesSelected()),z(1),gf("aria-busy",b.isLoading),z(1),F("ngIf",b.isLoading),z(1),F("ngIf",!b.isLoading&&!b.hasResults()),z(1),F("ngIf",!b.isLoading&&
b.hasResults()))},dependencies:[dw,ew,fw,gw,hw,uA,lz,Jz,Kz,c0,h0,d0,e0,f0,sL,RS,j0,hO,o0,PS,RJ,LB,EL,M9,L9,kw,fJ],styles:[".needs-attention-table[_ngcontent-%COMP%]{height:calc(100vh - 120px)}.applied-signals[_ngcontent-%COMP%]{padding-left:5px}.attention-actions[_ngcontent-%COMP%]{min-width:fit-content}.attention-actions[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-weight:normal}.empty-state-img[_ngcontent-%COMP%]{max-width:320px}.select-all-signals[_ngcontent-%COMP%]{cursor:pointer;padding:0 10px 0 8px}.select-all-signals.selected[_ngcontent-%COMP%]{font-weight:500;color:#185abc;color:var(--selected-text);box-shadow:inset 0 0 0 1px #185abc;box-shadow:inset 0 0 0 1px var(--selected-text);background-color:#d2e3fc;background-color:var(--selected-bg)}/*# sourceMappingURL=needs_attention.css.map */"],
changeDetection:0});var eGb=function(a){return{feature:a}},wnd=function(a){this.beapService=a;this.beapFeaturesTF$=Ahd(this.beapService,"TEAM_FOOD");this.beapFeaturesEA$=Ahd(this.beapService,"EARLY_ACCESS");this.hasFeatures$=(0,E.combineLatest)([this.beapFeaturesTF$,this.beapFeaturesEA$]).pipe(D(function(b){var c=k(b);b=c.next().value;c=c.next().value;return 0<b.length+c.length}));this.hasFeaturesTF$=this.beapFeaturesTF$.pipe(D(function(b){return 0<b.length}));this.hasFeaturesEA$=this.beapFeaturesEA$.pipe(D(function(b){return 0<
b.length}));this.linkClicked={}};wnd.\u0275fac=function(a){return new (a||wnd)(C(U4))};
wnd.\u0275cmp=Gc({type:wnd,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&&(Q(0,kGb,5,6,"ng-container",0),S(1,"async"),Q(2,lGb,2,0,"ng-template",null,1,Zf),Q(4,oGb,20,16,"ng-template",null,2,Zf));if(a&2){var c=Cf(3);F("ngIf",T(1,2,b.hasFeatures$))("ngIfElse",c)}},dependencies:function(){return[W4,mX,nX,dw,ew,jw,uA,Kz,xS,LB,kw,O9]},styles:['.feature-stage-container[_ngcontent-%COMP%]{padding-bottom:28px}.feature-stage-container[_ngcontent-%COMP%]   .feature-stage-title[_ngcontent-%COMP%]{font-family:Roboto,Arial,sans-serif;line-height:1rem;font-size:.75rem;letter-spacing:.025em;font-weight:400;font-size:.6875rem;line-height:1.2307692308;margin-bottom:20px;margin-top:25px}.feature-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin-bottom:21px}.feature-container[_ngcontent-%COMP%]   .feature-container-row[_ngcontent-%COMP%]{display:flex;flex:1;align-items:flex-start}.feature-container[_ngcontent-%COMP%]   .feature-badge-col[_ngcontent-%COMP%]{flex-shrink:0;min-width:75px}.feature-container[_ngcontent-%COMP%]   .feature-desc-col[_ngcontent-%COMP%]{flex:0 0 500px;display:flex;flex-direction:column;align-items:flex-start}.feature-container[_ngcontent-%COMP%]   .feature-desc-col[_ngcontent-%COMP%]   .feature-desc[_ngcontent-%COMP%]{font-family:Roboto,Arial,sans-serif;line-height:1.25rem;font-size:.875rem;letter-spacing:.0142857143em;font-weight:400;font-size:.8125rem;line-height:1.3846153846;color:#5f6368;color:var(--text-muted)}.feature-container[_ngcontent-%COMP%]   .feature-desc-col[_ngcontent-%COMP%]   .feature-desc[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-family:Roboto,Arial,sans-serif;line-height:1.25rem;font-size:.875rem;letter-spacing:.0142857143em;font-weight:400;font-size:.8125rem;line-height:1.3846153846}.feature-container[_ngcontent-%COMP%]   .feature-toggle-col[_ngcontent-%COMP%]{flex-shrink:0;min-width:75px}.feature-container[_ngcontent-%COMP%]   .feature-action-bar[_ngcontent-%COMP%]{display:flex;align-items:center;margin-top:10px}.feature-container[_ngcontent-%COMP%]   .feature-title[_ngcontent-%COMP%]{font-family:Roboto,Arial,sans-serif;line-height:1.5rem;font-size:1rem;letter-spacing:.00625em;font-weight:400;margin-bottom:9px}.feature-container[_ngcontent-%COMP%]   b-callout[_ngcontent-%COMP%]{margin-top:10px;width:100%}.feature-empty-state-message[_ngcontent-%COMP%]{font-family:"Google Sans",Roboto,Arial,sans-serif;line-height:1.5rem;font-size:1.125rem;letter-spacing:0em;font-weight:400;margin-top:45px}/*# sourceMappingURL=beap_settings.css.map */'],
changeDetection:0});var O9=function(){};O9.prototype.transform=function(a){return"STATE_ENABLED"===a?!0:!1};O9.\u0275fac=function(a){return new (a||O9)};O9.\u0275pipe=Lc({name:"featureState",type:O9,pure:!0});var P9=function(a,b){this.name=a;this.resourceType=void 0===b?null:b;this.options=[]};P9.prototype.shouldDisplay=function(){return!0};P9.prototype.hasOptions=function(){return!1};P9.prototype.getDefaultOptionId=function(){return null};var Q9=function(a,b){this.name=a;this.resourceType=b;this.options=[]};Q9.prototype.shouldDisplay=function(){return 0<this.options.length};Q9.prototype.hasOptions=function(){return 0<this.options.length};
Q9.prototype.getDefaultOptionId=function(){return this.hasOptions()?this.options[0].id:null};
var xnd=function(a,b){this.id=a;this.name=b},znd=function(a,b,c,d,e,g){var h=this;this.butterBar=a;this.sidebar=b;this.userPreferencesManager=c;this.cdr=d;this.appEvents=e;this.activeSession=g;this.selectedOptionId=null;this.subscriptions=new E.Subscription;this.hotlistMainOption=new Q9("Hotlist","HOTLIST");this.savedSearchMainOption=new Q9("Saved search","SAVED_SEARCH");this.bookmarkGroupMainOption=new Q9("Bookmark group","BOOKMARK_GROUP");this.needsAttentionMainOption=new P9("Needs attention","NEEDS_ATTENTION");
this.experimentalHomepageMainOption=new P9("Home","EXPERIMENTAL_HOMEPAGE");this.mainOptions=[new P9("Assigned issues"),this.hotlistMainOption,this.savedSearchMainOption,this.bookmarkGroupMainOption];UD(this.activeSession,"showNeedsAttentionUI")&&this.activeSession.isInternalSession()&&this.mainOptions.push(this.needsAttentionMainOption);UD(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];ynd(this);this.subscriptions.add(this.appEvents.sidebarUpdated.subscribe(function(){ynd(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,ynd(h)):(h.selectedMainOption=h.mainOptions[0],h.selectedOptionId=null))}))};znd.prototype.destroy=function(){this.subscriptions.unsubscribe()};
var sGb=function(a){DF(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=bic(a.userPreferencesManager,b);b.subscribe(function(){DF(a.butterBar,"Preferences saved.",4E3)})},ynd=function(a){function b(c){return new xnd(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 xnd(String(a.selectedOptionId),a.selectedMainOption.name+" "+a.selectedOptionId)))};var And=Tta[3],R9=function(a,b,c,d,e,g,h,l,q){WD.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,Vc(h.supportedTimeZones.map(function(x){return{value:x.id,label:x.name}})));this.sloEnabled=d.isInternalSession();this.showBugScreensaverSetting=d.isInternalSession();this.showShowInlineImagesSetting=d.isInternalSession()&&UD(this.activeSession,"enableImageSummary")};U(R9,WD);
R9.\u0275dir=WD.\u0275dir;R9.prototype.ngOnInit=function(){var a=this;this.destroyed$.subscribe(function(){var b;null==(b=a.preferredHomepage)||b.destroy()});this.preferredHomepage=new znd(this.butterBar,this.sidebar,this.userPreferencesManager,this.cdr,this.appEvents,this.activeSession);this.userPreferencesManager.preferences$.pipe(Te(this.destroyed$)).subscribe(function(b){a.userPreferences=b;a.cdr.detectChanges()})};
R9.prototype.save=function(a,b,c){var d=this;DF(this.butterBar,"Saving preferences...",0);this.userPreferencesManager.save(this.userPreferences).subscribe(function(){DF(d.butterBar,"Preferences saved.",4E3)});this.analytics.trackEvent("preferences",a,b,c)};var Bnd=function(a){var b;return(null==(b=a.userPreferences.textDisplayPreferences)?void 0:b.commentDisplayOverride)===And};R9.prototype.getShowInlineImages=function(){var a;return null!=(a=this.userPreferences.showInlineImages)?a:!1};
R9.\u0275fac=function(a){return new (a||R9)(C(cH,2),C(uI),C(CF),C(gs),C(nI),C(gH),C(BI),C(IX),C(KF))};
R9.\u0275cmp=Gc({type:R9,selectors:[["b-general-settings"]],features:[Gf([cH]),bf],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&&(G(0,"div")(1,"div",0)(2,"div",1)(3,"p",2),R(4,"Preferred homepage"),H(),G(5,"p",3),R(6," Select your preferred homepage when first opening the app. "),G(7,"a",4),R(8," Learn more "),H()()(),G(9,"div")(10,"div")(11,"mat-form-field",5)(12,"mat-label",6),R(13," Current selection "),
H(),G(14,"mat-select",7),M("ngModelChange",function(c){return b.preferredHomepage.selectedMainOption=c})("selectionChange",function(){var c=b.preferredHomepage;c.selectedOptionId=c.selectedMainOption.getDefaultOptionId();sGb(c);c.cdr.detectChanges()}),Q(15,qGb,2,1,"ng-container",8),H()(),Q(16,tGb,3,2,"mat-form-field",9),H()()(),I(17,"hr",10),G(18,"div",0)(19,"div",1)(20,"p",2),R(21,"Date/time formatting settings"),H(),G(22,"p",3),R(23," Select how you want dates and times to be formatted. "),G(24,
"a",4),R(25," Learn more "),H()()(),G(26,"div")(27,"div")(28,"mat-form-field",11)(29,"mat-label",12),R(30," Dates "),H(),G(31,"mat-select",13),M("ngModelChange",function(c){return b.userPreferences.dateTimePreferences.calendarFormat=c})("selectionChange",function(){return b.save("saveDateTimePreferences")}),Q(32,uGb,2,2,"mat-option",14),H()()(),G(33,"div")(34,"mat-form-field",15)(35,"mat-label",16),R(36," Times "),H(),G(37,"mat-select",13),M("ngModelChange",function(c){return b.userPreferences.dateTimePreferences.timeFormat=
c})("selectionChange",function(){return b.save("saveDateTimePreferences")}),Q(38,vGb,2,2,"mat-option",14),H()()(),G(39,"div")(40,"mat-form-field",17)(41,"mat-label",18),R(42," Time Zones "),H(),G(43,"mat-select",13),M("ngModelChange",function(c){return b.userPreferences.dateTimePreferences.timeZone=c})("selectionChange",function(){return b.save("saveDateTimePreferences")}),Q(44,wGb,2,2,"mat-option",14),H()()()()(),I(45,"hr",10),G(46,"div",0)(47,"div",1)(48,"p",2),R(49,"Keyboard settings"),H()(),G(50,
"div")(51,"div")(52,"mat-slide-toggle",19),M("change",function(c){b.userPreferences.keyboardPreferences.enableAllHotkeys=c.checked;return b.save("saveKeyboardPreferences")}),R(53," Enable all hotkeys "),H()()()(),I(54,"hr",10),G(55,"div",0)(56,"div",1)(57,"p",2),R(58,"Display settings"),H()(),G(59,"div")(60,"div",20)(61,"mat-slide-toggle",21),M("change",function(c){b.userPreferences.textDisplayPreferences&&(b.userPreferences.textDisplayPreferences.commentDisplayOverride=c.checked?And:void 0,b.save("saveTextDisplayPreferences.commentDisplayOverride"))}),
R(62," Force comments to display as plain text "),H()(),G(63,"div",20)(64,"b-toggle-code-font",22),R(65," Force comments to display with code font "),H()(),Q(66,xGb,3,1,"div",23),H()(),I(67,"hr",10),Q(68,yGb,9,1,"ng-container",24),H());a&2&&(z(7),F("href",b.documentationLinks.baseDocumentationUrl+"/guides/set-a-homepage",Md),z(7),F("ngModel",b.preferredHomepage.selectedMainOption),z(1),F("ngForOf",b.preferredHomepage.mainOptions),z(1),F("ngIf",b.preferredHomepage.selectedMainOption.hasOptions()),
z(8),F("href",b.documentationLinks.baseDocumentationUrl+"/guides/set-date-time-formatting",Md),z(7),F("ngModel",b.userPreferences.dateTimePreferences.calendarFormat),z(1),F("ngForOf",b.dateFormats),z(5),F("ngModel",b.userPreferences.dateTimePreferences.timeFormat),z(1),F("ngForOf",b.timeFormats),z(5),F("ngModel",b.userPreferences.dateTimePreferences.timeZone),z(1),F("ngForOf",b.timeZones),z(8),F("checked",b.userPreferences.keyboardPreferences.enableAllHotkeys),z(9),F("checked",Bnd(b)),z(5),F("ngIf",
b.showShowInlineImagesSetting),z(2),F("ngIf",b.showBugScreensaverSetting))},dependencies:[dw,ew,Fw,Lw,iA,hA,cO,Lz,xS,LB,dT],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}/*# sourceMappingURL=settings.css.map */"]});var S9=function(a,b,c,d){WD.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(Te(this.destroyed$)).subscribe(function(g){e.userPreferences=g})};U(S9,WD);S9.\u0275dir=WD.\u0275dir;
S9.prototype.save=function(a,b,c){var d=this;DF(this.butterBar,"Saving preferences...",0);this.userPreferencesManager.save(this.userPreferences).subscribe(function(){DF(d.butterBar,"Preferences saved.",4E3)});this.analytics.trackEvent("preferences",a,b,c)};S9.\u0275fac=function(a){return new (a||S9)(C(uI),C(CF),C(nI),C(gH))};
S9.\u0275cmp=Gc({type:S9,selectors:[["b-notification-settings"]],features:[bf],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&&(G(0,"div",0)(1,"div",1)(2,"p",2),R(3,"Notification settings"),H(),G(4,"p",3),R(5," Select the level of email you want to receive for each issue role. "),G(6,"a",4),R(7," Learn more "),H()()(),G(8,"div")(9,"div")(10,"mat-form-field",5)(11,"mat-label",6),R(12," Assignee "),H(),G(13,"mat-select",
7),M("ngModelChange",function(c){return b.userPreferences.notificationPreferences.assignedPriority=c})("selectionChange",function(){return b.save("saveNotificationPreferences")}),Q(14,zGb,3,4,"mat-option",8),H()()(),G(15,"div")(16,"mat-form-field",9)(17,"mat-label",10),R(18," Reporter "),H(),G(19,"mat-select",7),M("ngModelChange",function(c){return b.userPreferences.notificationPreferences.reportedPriority=c})("selectionChange",function(){return b.save("saveNotificationPreferences")}),Q(20,AGb,3,
4,"mat-option",8),H()()(),G(21,"div")(22,"mat-form-field",11)(23,"mat-label",12),R(24," Verifier "),H(),G(25,"mat-select",7),M("ngModelChange",function(c){return b.userPreferences.notificationPreferences.verifiedPriority=c})("selectionChange",function(){return b.save("saveNotificationPreferences")}),Q(26,BGb,3,4,"mat-option",8),H()()(),G(27,"div")(28,"mat-form-field",13)(29,"mat-label",14),R(30," Collaborator "),H(),G(31,"mat-select",7),M("ngModelChange",function(c){return b.userPreferences.notificationPreferences.collaboratorPriority=
c})("selectionChange",function(){return b.save("saveNotificationPreferences")}),Q(32,CGb,3,4,"mat-option",8),H()()(),G(33,"div")(34,"mat-form-field",15)(35,"mat-label",16),R(36," CC'd "),H(),G(37,"mat-select",7),M("ngModelChange",function(c){return b.userPreferences.notificationPreferences.ccdPriority=c})("selectionChange",function(){return b.save("saveNotificationPreferences")}),Q(38,DGb,3,4,"mat-option",8),H()()(),G(39,"div")(40,"mat-form-field",17)(41,"mat-label",18),R(42," Starred "),H(),G(43,
"mat-select",7),M("ngModelChange",function(c){return b.userPreferences.notificationPreferences.starredPriority=c})("selectionChange",function(){return b.save("saveNotificationPreferences")}),Q(44,EGb,3,4,"mat-option",8),H()()(),G(45,"div")(46,"mat-slide-toggle",19),M("change",function(c){b.userPreferences.notificationPreferences.excludeChangesByMe=c.checked;return b.save("saveNotificationPreferences")}),R(47," Exclude edits made by you "),H()()()());a&2&&(z(6),F("href",b.documentationLinks.baseDocumentationUrl+
"/concepts/settings#email",Md),z(7),F("ngModel",b.userPreferences.notificationPreferences.assignedPriority),z(1),F("ngForOf",b.priorities),z(5),F("ngModel",b.userPreferences.notificationPreferences.reportedPriority),z(1),F("ngForOf",b.priorities),z(5),F("ngModel",b.userPreferences.notificationPreferences.verifiedPriority),z(1),F("ngForOf",b.priorities),z(5),F("ngModel",b.userPreferences.notificationPreferences.collaboratorPriority),z(1),F("ngForOf",b.priorities),z(5),F("ngModel",b.userPreferences.notificationPreferences.ccdPriority),
z(1),F("ngForOf",b.priorities),z(5),F("ngModel",b.userPreferences.notificationPreferences.starredPriority),z(1),F("ngForOf",b.priorities),z(2),F("checked",b.userPreferences.notificationPreferences.excludeChangesByMe))},dependencies:[dw,Fw,Lw,iA,hA,cO,Lz,xS,LB,ojc],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}/*# sourceMappingURL=settings.css.map */"]});var T9=function(a){r.call(this,a,0,T9.messageId)};U(T9,r);T9.repeatedFields_=[1];T9.prototype.toObject=function(){if(null!=this){t(this);var a={subscriptionsList:Kb(aj(this,Xi,1),l$b)}}else a=void 0;return a};T9.messageId="b.ListSloReportSubscriptionsResponse";var U9=function(a){r.call(this,a,0,U9.messageId)};U(U9,r);U9.prototype.getSubscription=function(){return Z(this,Xi,1)};U9.prototype.setSubscription=function(a){return Yi(this,Xi,1,a)};U9.prototype.toObject=function(){if(null!=this){t(this);var a={subscription:l$b(this.getSubscription())}}else a=void 0;return a};U9.messageId="b.SloReportSubscriptionRequest";var V9=function(a){r.call(this,a,0,V9.messageId)};U(V9,r);V9.prototype.getSubscription=function(){return Z(this,Xi,1)};V9.prototype.setSubscription=function(a){return Yi(this,Xi,1,a)};V9.prototype.toObject=function(){if(null!=this){t(this);var a={subscription:l$b(this.getSubscription())}}else a=void 0;return a};V9.messageId="b.SloReportSubscriptionResponse";var W9=function(a){this.executor=a};f=W9.prototype;f.get=function(a){return this.executor.get({url:"action/slo_report_subscriptions/"+a,responseConstructor:V9}).pipe(D(function(b){if(b=b.getSubscription())return Lra(b);throw Error("Te");}))};f.list=function(){return this.executor.get({url:"action/slo_report_subscriptions",responseConstructor:T9}).pipe(D(function(a){return aj(a,Xi,1).map(Lra)}))};
f.create=function(a){if(0!==a.id)throw Error("Ue");return this.executor.post({url:"action/slo_report_subscriptions",body:(new U9).setSubscription(Nra(a)),responseConstructor:V9}).pipe(D(function(b){if(b=b.getSubscription())return Lra(b);throw Error("Ve");}))};
f.update=function(a){if(0===a.id)throw Error("We");return this.executor.post({url:"action/slo_report_subscriptions/"+a.id,body:(new U9).setSubscription(Nra(a)),responseConstructor:V9}).pipe(D(function(b){if(b=b.getSubscription())return Lra(b);throw Error("Ve");}))};f.delete=function(a){return this.executor.delete({url:"action/slo_report_subscriptions/"+a,responseConstructor:YD}).pipe(D(function(){}))};W9.\u0275fac=function(a){return new (a||W9)(u(LC))};
W9.\u0275prov=qc({token:W9,factory:W9.\u0275fac,providedIn:"root"});var Cnd=function(a){this.timeZones=a;this.label="Time zone";this.timezoneId="";this.fullWidth=this.disabled=!1;this.timezoneIdChange=new Gv;this.timeZoneOptions$=Zhc(this.timeZones)};Cnd.\u0275fac=function(a){return new (a||Cnd)(C(sI))};
Cnd.\u0275cmp=Gc({type:Cnd,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&&(G(0,"mat-form-field",0)(1,"mat-label"),R(2),H(),G(3,"mat-select",1),M("ngModelChange",function(c){b.timezoneId!==c&&
(b.timezoneId=c,b.timezoneIdChange.emit(b.timezoneId))}),Q(4,FGb,2,2,"mat-option",2),S(5,"async"),H()());a&2&&(qf("full-width",b.fullWidth),z(2),Df(" ",b.label," "),z(1),F("disabled",b.disabled)("ngModel",b.timezoneId),z(1),F("ngForOf",T(5,6,b.timeZoneOptions$)))},dependencies:[iA,hA,cO,Lz,dw,Fw,Lw,kw],styles:["[_nghost-%COMP%]     .mat-form-field-infix { width: fit-content; }","mat-form-field[_ngcontent-%COMP%] { font-size: 16px; }"]});var Dnd=["sloSubscriptionDialog"],X9=function(a,b,c,d,e,g,h,l){WD.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 E.BehaviorSubject([]);this.isBasicMode$=this.subscriptions$.pipe(D(function(x){return 0===x.length||1===x.length&&x[0].lead.emailAddress===q.currentUser.email}));this.userSubscription$=this.subscriptions$.pipe(D(function(x){x=k(x);for(var A=
x.next();!A.done;A=x.next())if(A=A.value,A.lead.emailAddress===q.currentUser.email)return A;return{id:0,lead:q.currentUser.user,frequency:"weekly",ordinal:1,timeZone:{id:"America/Los_Angeles"},timeOfDay:End[9].timeOfDay}}));this.isThinking$=new E.BehaviorSubject(!1);this.inputHasFocus=!1;this.frequencyOptions=Fnd;this.repeatOnOptions=new Map([["daily",[]],["weekly",WGb],["monthly",Gnd]]);this.DAILY="daily";this.repeatAtOptions$=(0,E.combineLatest)(End.map(function(x){return q.dateFormatter.formatUserTime(x.date).pipe(D(function(A){return{timeOfDay:x.timeOfDay,
display:A}}))}));this.ceoSelected=this.dialogInvalidEmailFormat=!1;this.emailToUser=ii;this.columns=["scope","frequency","actions"];this.frequencyDisplayMap=new Map(Fnd.map(function(x){return[x.frequency,x.display]}));this.timeZoneDisplayMap$=Zhc(this.timeZones).pipe(Ge(),D(function(x){return new Map(x.map(function(A){return[A.id,A.displayName]}))}),Pe({bufferSize:1,refCount:!0}));this.hourOfDayDisplayMap$=this.repeatAtOptions$.pipe(Ge(),D(function(x){return new Map(x.map(function(A){return[A.timeOfDay.hours,
A.display]}))}),Pe({bufferSize:1,refCount:!0}));this.compareTimeOfDay=function(x,A){return x.hours===A.hours&&x.minutes===A.minutes&&x.seconds===A.seconds&&x.nanos===A.nanos}};U(X9,WD);X9.\u0275dir=WD.\u0275dir;X9.prototype.ngOnInit=function(){Hnd(this)};
var PGb=function(a){a.userSubscription$.pipe(Ge(),Se(function(b){if(0===b.id)return a.analytics.trackEvent(Jn.SLO_REPORTS,"enableOwnSubscription"),a.api.create(b);a.analytics.trackEvent(Jn.SLO_REPORTS,"disableOwnSubscription");return a.api.delete(b.id)})).subscribe(function(){Hnd(a)})},Hnd=function(a){a.isThinking$.next(!0);a.api.list().pipe(Ge()).subscribe(function(b){a.isThinking$.next(!1);a.subscriptions$.next(b)})},ds=function(a,b){a.isThinking$.next(!0);a.api.update(b).subscribe(function(){a.analytics.trackEvent(Jn.SLO_REPORTS,
"editSubscription");Hnd(a)})},Ind=function(a,b){a.isThinking$.next(!0);a.api.delete(b.id).subscribe(function(){a.analytics.trackEvent(Jn.SLO_REPORTS,"deleteSubscription");Hnd(a)})},$Gb=function(a,b){a.confirmationDialogService.open({title:"Delete a subscription",content:fn("You will no longer receive reports from '"+b.lead.emailAddress+"'."),confirmButtonText:"Delete",isDestructive:!0,onConfirm:function(){Ind(a,b)}})};X9.prototype.setFrequency=function(a,b){b.frequency=a;mHb(a,b);ds(this,b)};
var mHb=function(a,b){"daily"!==a?b.ordinal="weekly"===a?WGb[0].ordinal:Gnd[0].ordinal:delete b.ordinal};X9.prototype.setTimeZone=function(a,b){ds(this,Object.assign({},b,{timeZone:Object.assign({},b.timeZone,{id:a})}))};
X9.prototype.openDialog=function(a){this.sloSubscriptionDialog&&(a||(a={id:0,frequency:"weekly",ordinal:1,timeZone:{id:"America/Los_Angeles"},timeOfDay:End[9].timeOfDay}),this.ceoSelected=this.dialogInvalidEmailFormat=!1,this.dialogRef=this.dialog.open(this.sloSubscriptionDialog,{data:Nh(a),panelClass:"slo-report-subscription-dialog",width:"500px"}))};
var nHb=function(a,b){return he(function(c){if(1==c.nextAddress)return a.dialogRef&&void 0!==b.lead?c.yield(Jnd(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(Jn.SLO_REPORTS,"createSubscription");Hnd(a)}):ds(a,b);a.dialogRef.close();me(c)})},Jnd=function(a,
b){var c;return he(function(d){if(1==d.nextAddress)return en(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))})};X9.\u0275fac=function(a){return new (a||X9)(C(aK),C(W9),C(QH),C(Wz),C(sI),C(oI),C(KI),C(gH))};
X9.\u0275cmp=Gc({type:X9,selectors:[["b-slo-reports-settings"]],viewQuery:function(a,b){a&1&&Uf(Dnd,7);if(a&2){var c;Tf(c=Wf())&&(b.sloSubscriptionDialog=c.first)}},features:[bf],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&&(Q(0,RGb,12,3,"ng-container",0),S(1,"async"),G(2,"div",1)(3,"div",2)(4,"p",3),R(5,"Advanced settings"),H(),G(6,"p",4),R(7," Add subscriptions to receive other user's reports. "),G(8,"a",5),
R(9,"Learn more"),H()()(),G(10,"div",6)(11,"div",7)(12,"button",8),M("click",function(){return b.openDialog()}),S(13,"async"),R(14," Create subscription "),H()(),Q(15,SGb,2,0,"ng-container",0),S(16,"async"),Q(17,dHb,13,3,"ng-container",0),S(18,"async"),S(19,"async"),H()(),Q(20,oHb,33,15,"ng-template",null,9,Zf));a&2&&(F("ngIf",T(1,4,b.isBasicMode$)),z(12),F("disabled",T(13,6,b.isThinking$)),z(3),F("ngIf",T(16,8,b.isThinking$)),z(2),F("ngIf",!T(18,10,b.isBasicMode$)&&!T(19,12,b.isThinking$)))},dependencies:[dw,
ew,uA,og,Fw,Ww,Lw,Jz,Xz,Yz,Zz,$z,fA,iA,gA,hA,cO,Lz,lA,xS,fL,YK,bL,ZK,XK,cL,$K,aL,dL,eL,DB,BB,CB,Cnd,sL,sR,kw],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}/*# sourceMappingURL=settings.css.map */",
".mat-form-field[_ngcontent-%COMP%]{min-width:300px}.mat-header-cell[_ngcontent-%COMP%]{font-weight:600;background-color:#f1f3f4;background-color:var(--c100)}tr.mat-header-row[_ngcontent-%COMP%], tr.mat-row[_ngcontent-%COMP%]{height:40px}td.mat-cell[_ngcontent-%COMP%], td.mat-header-cell[_ngcontent-%COMP%]{font-size:.8125rem}td.mat-cell[_ngcontent-%COMP%]{color:#202124;color:var(--row-default-text)}.mat-header-cell[_ngcontent-%COMP%]{color:#202124;color:var(--text-high-contrast)}td.mat-column-actions[_ngcontent-%COMP%]{text-align:right}/*# sourceMappingURL=slo_reports_settings.css.map */"]});
var Fnd=[{frequency:"daily",display:"Daily"},{frequency:"weekly",display:"Weekly"},{frequency:"monthly",display:"Monthly"}],WGb=[{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"}],Gnd=[].concat(Vc(Array.from({length:31}).fill(0).keys())).map(function(a){return{ordinal:a+1,display:XGb(a+1)}}),End=[].concat(Vc(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 Y9=function(a,b,c,d){this.activeSession=a;this.location=b;this.routeParams=c;this.beapEnabled=UD(this.activeSession,"enableBeap");this.enableSloReportEmail=this.activeSession.isInternalSession()&&UD(this.activeSession,"enableSloReportEmail");this.selectedTabIndex=0;d.setTitle("Settings")};Y9.prototype.ngAfterViewInit=function(){this.selectedTabIndex=Knd(this,this.routeParams.settingsTab)};
Y9.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(pwa(d))};var Knd=function(a,b){a=a.tabs.toArray().findIndex(function(c){return c.nativeElement.id===b});return 0>a?0:a};Y9.\u0275fac=function(a){return new (a||Y9)(C(gs),C(uG),C(RI),C(TU))};
Y9.\u0275cmp=Gc({type:Y9,selectors:[["b-settings"]],viewQuery:function(a,b){a&1&&Uf(mM,5,vd);if(a&2){var c;Tf(c=Wf())&&(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&&(G(0,"p",0),R(1,"Settings"),H(),G(2,"mat-tab-group",1),M("selectedIndexChange",function(c){return b.tabChange(c)}),G(3,"mat-tab",2)(4,"div",3),I(5,"b-general-settings"),H()(),G(6,"mat-tab",4)(7,"div",3),I(8,"b-notification-settings"),H()(),Q(9,pHb,3,0,"mat-tab",5),Q(10,qHb,3,0,"mat-tab",6),H());a&2&&(z(2),F("selectedIndex",b.selectedTabIndex),z(7),F("ngIf",b.enableSloReportEmail),z(1),F("ngIf",b.beapEnabled))},dependencies:[ew,sM,nM,mM,wnd,R9,S9,X9],styles:["[_nghost-%COMP%]     mat-tab-body{height:calc(100vh - 150px)}mat-form-field[_ngcontent-%COMP%]{font-size:.9375rem}mat-slide-toggle[_ngcontent-%COMP%]{font-size:.875rem}[_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}/*# sourceMappingURL=settings.css.map */"],
changeDetection:0});var Z9=function(a,b,c,d,e,g,h,l,q){WD.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()};U(Z9,WD);Z9.\u0275dir=WD.\u0275dir;f=Z9.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("Xe`"+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("Xe`"+a.resourceType);}};Z9.\u0275fac=function(a){return new (a||Z9)(C(cH,2),C(RI),C(uG),C(TU),C(OG),C(GX),C(vG),C(gs),C(KF))};
Z9.\u0275cmp=Gc({type:Z9,selectors:[["view-bookmark-group-page"]],features:[Gf([cH]),bf],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&&(G(0,"h2",0),R(1),H(),I(2,"div",1),G(3,"div",2),Q(4,uHb,12,5,"div",3),H());a&2&&(z(1),Df("View Bookmark Group ",null==b.bookmarkGroup?null:b.bookmarkGroup.name,""),z(2),gf("aria-busy",
!b.bookmarkGroup),z(1),F("ngIf",b.bookmarkGroup))},dependencies:[dw,ew,RS,LB],encapsulation:2});var $9=function(){};$9.\u0275fac=function(a){return new (a||$9)};$9.\u0275mod=Ic({type:$9});$9.\u0275inj=rc({imports:[tF,ZS,JC]});var a$=function(a,b,c,d,e,g,h,l,q,x,A,B,K,N,P,Y,X,ka,ma,za,Ba,Ma,Sa,Ua,Lb,qb,Ya,wa,Ka,Na,fb){l9.call(this,b,c,d,e,h,l,q,x,g,A,B,K,P,Y,X,ka,ma,za,Lb,Ba,Ma,wa,Ka,Na,fb);this.ngZone=a;this.hotlists=N;this.hotkeys=Sa;this.pageTitle=Ua;this.userAccess=Ya;this.ANALYTICS_CATEGORY="hotlistIssues";this.canAppend=this.isAdmin=this.isStarred=!1;this.hotlist=null;this.isLoading=!0;this.repositioning=this.showHotlists=!1;this.hotlistId=qb.hotlistId};U(a$,l9);a$.\u0275dir=l9.\u0275dir;
a$.prototype.ngOnInit=function(){var a=this;l9.prototype.ngOnInit.call(this);this.subscriptions.add(DL(this.hotkeys,{title:"Hotlist",hotkeys:[].concat(Vc(this.BASE_HOTKEYS),[{keys:[vn("j")],displayAs:"Shift+j",description:"Move the current issue down (when sorting by POS)",onPress:function(){Lnd(a,1)}},{keys:[vn("k")],displayAs:"Shift+k",description:"Move the current issue up (when sorting by POS)",onPress:function(){Lnd(a,-1)}}])}));this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(function(b){b&&
Number(b.hotlistId)===Number(a.hotlistId)&&"view-hotlist"!==b.origin&&Mnd(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)};
a$.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)}};
a$.prototype.loadUserAccess=function(a){var b=this;qF(this.userAccess,"admin","hotlists/"+a).then(function(c){b.isAdmin=c},function(c){b.errorHandler.errorHandler(null,c)});qF(this.userAccess,"appender","hotlists/"+a).then(function(c){b.canAppend=c},function(c){b.errorHandler.errorHandler(null,c)})};
a$.prototype.getIssues=function(){var a=this;this.searchResults=null;this.isLoading=!0;aY(this.appSearchState,"hotlistid:"+this.hotlistId);var b=this.hotlist?Promise.resolve(this.hotlist):Mnd(this);return this.doSearch(b).finally(function(){a.isLoading=!1;a.cdr.detectChanges()})};
var Mnd=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};
a$.prototype.doSearch=function(a){var b=this,c="priority type title assignee status issueId modifiedTime".split(" ").map(zk),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=Nh(g);g.query=d;g.returnUrl=b.bLocation.url();g.hotlistId=b.hotlistId;g.trackerIds=b.appSearchState.currentTrackerScope;
return NSc(b.issuePagination,g)});a.then(function(g){xmd(b,g)}).catch(function(g){"number"===typeof g?Q0(b.urlPreferences,{page:g}):b.errorHandler.errorHandler(null,g)});return Bn({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,Nnd(b)?Ond:Pnd);b.loadHotlists()}).catch(function(){})};
var Nnd=function(a){return 0===a.sortPreferences.length||1===a.sortPreferences.length&&"POSITION"===a.sortPreferences[0].fieldId.type};a$.prototype.getCsvUrl=function(){return this.paths.hotlistIssuesCsvAction(this.hotlistId,this.appSearchState.currentTrackerScope,this.sortPreferences,this.displayColumns,this.showHotlists)};
a$.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 Lnd=function(a,b){if(a.searchResults&&!a.repositioning&&Nnd(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)||a_c(g)}else if(-1===b){var h;null==(h=a.resultsGrid)||b_c(h)}a.repositionIssue(e,c,!0)}}};f=a$.prototype;
f.save=function(){var a=this;if(this.hotlist){var b=this.hotlist,c=this.urlPreferences.getDisplayColumns();if(c){var d=iza(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}});DF(this.butterBar,"Saving changes to hotlist...");Qnd(this,b).then(function(e){DF(a.butterBar,'Saved changes to hotlist "'+
e.name+'".');Q0(a.urlPreferences,{query:null,sortColumns:null,page:null,displayColumns:null});a.analytics.trackEvent(a.ANALYTICS_CATEGORY,"savedParams",d)})}};f.discardChanges=function(){this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"discardChanges");Q0(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?bi(this.hotlist.adminUsers).includes(this.currentUserEmail):!1};f.setSort=function(a,b){var c=this.getSort();"position"===a||c&&"position"===c.field?l9.prototype.setSort.call(this,a,b,!1):l9.prototype.setSort.call(this,a,b)};
var Qnd=function(a,b){return a.hotlistApi.updateMetadata(b.hotlistId,b).then(function(c){a.hotlist=c;Rnd(a,c.hotlistId);return c},function(c){a.errorHandler.errorHandler(null,c);return Promise.reject(c)})},Rnd=function(a,b){a.appEvents.hotlistChanged.next({hotlistId:b,origin:"view-hotlist"})};
a$.prototype.toggleStar=function(){var a=this;this.isStarred=!this.isStarred;var b=Wh(this.hotlistId),c=function(){Rnd(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)};a$.prototype.openEditHotlist=function(){this.bLocation.url(this.paths.editHotlist(this.hotlistId))};var Pnd=[r0,s0,t0,h_c],Ond=[r0,g_c,s0,t0,h_c];
a$.\u0275fac=function(a){return new (a||a$)(C(We),C(cH),C(fH),C(VD),C(uG),C(gs),C(FF),C(kE),C(OG),C(GG),C(CF),C(gH),C($X),C(b1),C(tX),C(uI),C(P0),C(R0),C(vG),C(lF),C(EI),C(SJ),C(CL),C(TU),C(GF),C(RI),C(pF),C(KF),C(SG),C(lH),C(P1))};
a$.\u0275cmp=Gc({type:a$,selectors:[["view-hotlist-page"]],features:[Gf([cH]),bf],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&&(G(0,"div",0)(1,"b-grid-controls",1),M("init",function(c){return b.gridControls=c})("onRefresh",function(){return b.refreshResults()})("onSave",function(c){return b.sendBulkEditRequest(c.bulkEditOps)})("onCreateHotlist",function(c){return b.createHotlist(c)})("onLoadHotlist",function(c){return b.loadHotlist(c)})("onExportCsv",function(){return b.exportCsv()}),H(),G(2,"div",2)(3,"b-pagination",3),M("pageChange",function(c){return b.goToPage(c.page)})("resultsPerPageChange",
function(c){return zmd(b,c.option)}),H()()(),G(4,"div",4),Q(5,EHb,9,7,"div",5),Q(6,FHb,4,1,"div",6),Q(7,GHb,2,2,"div",7),Q(8,HHb,2,5,"div",8),H());a&2&&(z(1),F("grid",b.resultsGrid)("hotlistChoices",b.hotlistChoices)("showHotlistButtons",b.canAppend)("currentHotlistId",b.hotlistId)("isHotlistAdmin",b.isAdmin),z(2),F("searchResults",b.searchResults),z(1),gf("aria-busy",b.isLoading),z(1),F("ngIf",!b.isInitializing),z(1),F("ngIf",b.isLoading),z(1),F("ngIf",!b.isLoading&&!b.hasResults()),z(1),F("ngIf",
!b.isLoading&&b.hasResults()))},dependencies:[w0,d1,RS,p0,LB,ew,sL,CT,Jz],encapsulation:2});var b$=function(){};b$.\u0275fac=function(a){return new (a||b$)};b$.\u0275mod=Ic({type:b$});b$.\u0275inj=rc({imports:[M0,f1,ZS,a1,JC,tF,ZM,DT,iC]});var c$=function(a,b,c,d,e,g,h,l,q,x,A,B,K,N,P,Y,X,ka,ma,za,Ba,Ma,Sa,Ua,Lb,qb,Ya,wa,Ka,Na){l9.call(this,a,b,c,d,g,h,l,x,e,A,B,K,N,P,Y,X,ka,ma,Ua,za,Ba,Ya,wa,Ka,Na);this.savedSearchApi=q;this.hotkeys=Ma;this.pageTitle=Sa;this.userAccess=qb;this.ANALYTICS_CATEGORY="savedSearchIssues";this.isAdmin=!1;this.savedSearch=null;this.isLoading=!0;this.showHotlists=!1;this.savedSearchId=Lb.savedSearchId};U(c$,l9);c$.\u0275dir=l9.\u0275dir;f=c$.prototype;
f.ngOnInit=function(){var a=this;l9.prototype.ngOnInit.call(this);this.subscriptions.add(DL(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(XTc(this.appSearchState,function(b){a.savedSearch?Q0(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;qF(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;aY(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:rmd(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;aY(b.appSearchState,d.query);b.exitLink=b.paths.listIssues({q:d.query});b.cdr.detectChanges();d=Nh(d);d.returnUrl=b.bLocation.url();d.trackerIds=b.appSearchState.currentTrackerScope;
return NSc(b.issuePagination,d)});c.then(function(d){xmd(b,d)}).catch(function(d){"number"===typeof d?Q0(b.urlPreferences,{page:d}):d&&b.errorHandler.errorHandler(null,d)});this.initColumns(a.displayColumns);return Bn({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;DF(this.butterBar,"Saving changes to search...");this.savedSearchApi.update(this.savedSearch.searchId,this.savedSearch).then(function(c){DF(a.butterBar,'Saved changes to search "'+
c.name+'".');a.savedSearch=c;Q0(a.urlPreferences,{query:null,sortColumns:null,page:null,displayColumns:null});a.analytics.trackEvent(a.ANALYTICS_CATEGORY,"savedParams");a.cdr.detectChanges()}).catch(function(c){a.errorHandler.errorHandler(null,c)})};f.discardChanges=function(){this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"discardChanges");Q0(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))};
c$.\u0275fac=function(a){return new (a||c$)(C(cH),C(fH),C(VD),C(uG),C(gs),C(FF),C(kE),C(OG),C(BS),C(GG),C(CF),C(gH),C($X),C(tX),C(uI),C(P0),C(R0),C(vG),C(lF),C(EI),C(SJ),C(CL),C(TU),C(GF),C(RI),C(pF),C(KF),C(SG),C(lH),C(P1))};
c$.\u0275cmp=Gc({type:c$,selectors:[["view-saved-search-page"]],features:[Gf([cH]),bf],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&&(G(0,"div",0)(1,"b-grid-controls",1),M("init",function(c){return b.gridControls=c})("onRefresh",function(){return b.refreshResults()})("onSave",function(c){return b.sendBulkEditRequest(c.bulkEditOps)})("onCreateHotlist",
function(c){return b.createHotlist(c)})("onLoadHotlist",function(c){return b.loadHotlist(c)})("onExportCsv",function(){return b.exportCsv()}),H(),G(2,"div",2)(3,"b-pagination",3),M("pageChange",function(c){return b.goToPage(c.page)})("resultsPerPageChange",function(c){return zmd(b,c.option)}),H()()(),G(4,"div",4)(5,"div",5),Q(6,MHb,4,3,"div",6),Q(7,NHb,8,1,"div",7),H(),Q(8,SHb,4,3,"div",8),H());a&2&&(z(1),F("grid",b.resultsGrid)("hotlistChoices",b.hotlistChoices),z(2),F("searchResults",b.searchResults),
z(1),gf("aria-busy",b.isLoading),z(2),F("ngIf",!b.isInitializing),z(1),F("ngIf",b.hasParamChanges()),z(1),F("ngIf",b.savedSearch))},dependencies:[w0,d1,p0,ew,LB,sL,CT,Jz],encapsulation:2});var d$=function(){};d$.\u0275fac=function(a){return new (a||d$)};d$.\u0275mod=Ic({type:d$});d$.\u0275inj=rc({imports:[M0,f1,a1,tF,JC,ZM,DT,iC]});var Snd=function(){};Snd.\u0275fac=function(a){return new (a||Snd)};
Snd.\u0275cmp=Gc({type:Snd,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&&(G(0,"div",0)(1,"div",1)(2,"div",2),R(3,"My Work"),H(),G(4,"div",3)(5,
"a",4),R(6,"Learn more at go/task-mission-control"),H(),G(7,"a",5),R(8,"Give feedback"),H()()(),G(9,"div",6),I(10,"tp-task-section",7)(11,"tp-task-section",7),H()());a&2&&(z(10),F("isMyWork",!0),z(1),F("isMyWork",!1))},dependencies:[dV,WU,tz],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 Tnd={path:"issues/:issueId",component:C8,children:[{path:"",pathMatch:"full",component:W8},{path:"dependencies",component:U7},{path:"dupes",component:E8},{path:"blocking",component:J7},{path:"resources",component:omd}].concat(Vc(es("enableCodeMentionsUi",{path:"todos",component:j9})))},Und=[{path:"",component:D6,canActivateGuards:[L6]},{path:"issues",component:m9},{path:"recent",component:o9}].concat(Vc(es("enableTaskPrioritization",{path:"work",component:Snd,canActivateGuards:[J6,K6]})),Vc(es("showNeedsAttentionUI",
{path:"attention",component:N9,canActivateGuards:[J6,K6]})),[{path:"issues/new",component:y7}],Vc(es("enableChromeWizard",{path:"issues/wizard",component:b7})),[Tnd,{path:"components/all",component:g6},{path:"components",component:d7},{path:"components/new",component:g7},{path:"components/:componentId/edit",component:J9},{path:"components/:componentId",component:J9},{path:"components/:componentId/manage",component:J9},{path:"teams/:teamId/edit",component:K9},{path:"teams/:teamId",component:K9},{path:"bookmark-groups/new",
component:f7},{path:"bookmark-groups/:groupId",component:Z9},{path:"bookmark-groups/:groupId/edit",component:E7},{path:"hotlists/new",component:h7},{path:"hotlists/:hotlistId",component:a$},{path:"hotlists/:hotlistId/edit",component:E0},{path:"slos/new",component:A7},{path:"slos/:sloId",component:I7},{path:"slos/:sloId/edit",component:I7},{path:"savedsearches/:savedSearchId/edit",component:F7},{path:"hotlists",component:k9},{path:"slos",component:p9},{path:"savedsearches/:savedSearchId",component:c$},
{path:"dashboard/:groupId",component:C7},{path:"settings/:settingsTab?",component:Y9},{path:"settings",component:Y9}],Vc(es("enableHomepageVariantA",{path:"dash",component:hV})),[{path:"**",component:D6,canActivateGuards:[L6]}]);var e$=function(){};e$.\u0275fac=function(a){return new (a||e$)};e$.\u0275mod=Ic({type:e$});e$.\u0275inj=rc({imports:[tF,NM,tG,iC]});var f$=function(){};f$.\u0275fac=function(a){return new (a||f$)};f$.\u0275mod=Ic({type:f$});f$.\u0275inj=rc({imports:[tF,eO,DM,vO,e$]});var g$=function(){};g$.\u0275fac=function(a){return new (a||g$)};g$.\u0275mod=Ic({type:g$});g$.\u0275inj=rc({imports:[VM,tF,iC,jV,DM,JC,e7,tG,UM]});var h$=function(){};h$.\u0275fac=function(a){return new (a||h$)};h$.\u0275mod=Ic({type:h$});h$.\u0275inj=rc({imports:[tF,GL,iC,aA]});var i$=function(){};i$.\u0275fac=function(a){return new (a||i$)};i$.\u0275mod=Ic({type:i$});i$.\u0275inj=rc({imports:[tF,iC,EB,tG]});var j$=function(){};j$.\u0275fac=function(a){return new (a||j$)};j$.\u0275mod=Ic({type:j$});j$.\u0275inj=rc({imports:[uO,tF,e8,GL,i$,iC,FS,EB,JC,t1,Z0,fT,h$]});var k$=function(){};k$.\u0275fac=function(a){return new (a||k$)};k$.\u0275mod=Ic({type:k$});k$.\u0275inj=rc({imports:[tF,GL,iC,JC]});var l$=function(){};l$.\u0275fac=function(a){return new (a||l$)};l$.\u0275mod=Ic({type:l$});l$.\u0275inj=rc({imports:[tF,kO,JC,DM]});var m$=function(){};m$.\u0275fac=function(a){return new (a||m$)};m$.\u0275mod=Ic({type:m$});m$.\u0275inj=rc({imports:[l$,tF,JC,$N,eT,iC,ZM,mO,Z0]});var n$=function(){};n$.\u0275fac=function(a){return new (a||n$)};n$.\u0275mod=Ic({type:n$});n$.\u0275inj=rc({imports:[f$,VM,tF,g$,hZ,GL,DM,OM,bT,e$,iC,FS,JC,tG,ZS,QM,kV,k$,j$,m$]});var o$=function(){};o$.\u0275fac=function(a){return new (a||o$)};o$.\u0275mod=Ic({type:o$});o$.\u0275inj=rc({imports:[tF,iC]});var p$=function(){};p$.\u0275fac=function(a){return new (a||p$)};p$.\u0275mod=Ic({type:p$});p$.\u0275inj=rc({imports:[tF,CM,iC,JC]});var q$=function(){};q$.\u0275fac=function(a){return new (a||q$)};q$.\u0275mod=Ic({type:q$});q$.\u0275inj=rc({imports:[sw]});var r$=function(){};r$.\u0275fac=function(a){return new (a||r$)};r$.\u0275mod=Ic({type:r$});r$.\u0275inj=rc({imports:[sw,$w,a6,q$]});var s$=function(){};s$.\u0275fac=function(a){return new (a||s$)};s$.\u0275mod=Ic({type:s$});s$.\u0275inj=rc({imports:[tF,tO,r$]});var t$=function(){};t$.\u0275fac=function(a){return new (a||t$)};t$.\u0275mod=Ic({type:t$});t$.\u0275inj=rc({imports:[hJ,GZ,tF,KZ,EZ,c6,$5,GL,DM,i$,vO,f6,IZ,o8,JC,ZN,I5,s$,lO,gY,jC]});var u$=function(){};u$.\u0275fac=function(a){return new (a||u$)};u$.\u0275mod=Ic({type:u$});u$.\u0275inj=rc({imports:[tF,Rx,fy,$w,ax,tG,iC,aA,rM,$M,Py,JC,yX,ZN,n$,t4,Z0,mO,eO,t$,B8,p$,o$]});var v$=function(){};v$.\u0275fac=function(a){return new (a||v$)};v$.\u0275mod=Ic({type:v$});v$.\u0275inj=rc({imports:[tF,i6]});var w$=function(){};w$.\u0275fac=function(a){return new (a||w$)};w$.\u0275mod=Ic({type:w$});w$.\u0275inj=rc({imports:[tF,Rx,fy,$w,ax,tG,iC,rM,$M,ZN,uO,u$,h9,W7,K7,F8,v$,i9]});var Vnd=Und.map(function(a){return{path:a.path,component:a.component,canDeactivate:[RO],canActivate:[G6,I6].concat(Vc(a.canActivateGuards||[])),children:a.children,isRootRoute:!0}});Vnd.push({path:"**",canActivate:["dontActivate"],component:D6,isRootRoute:!0});var Wnd=ml().appBaseHref,Xnd,x$={initialNavigation:"disabled"},Ynd={provide:Lec,useFactory:function(){return"guarded"},deps:[[nG,new $u,new av]]},Znd;
Znd=(null==x$?0:x$.preloadingStrategy)?lya(0,[{provide:Kec,useExisting:rG},{provide:Aec,useExisting:x$.preloadingStrategy}]).\u0275providers:[];var $nd;
(null==x$?0:x$.initialNavigation)?$nd=["disabled"===x$.initialNavigation?lya(3,[{provide:uSb,multi:!0,useFactory:function(){var a=Ac(nG);return function(){oec(a)}}},{provide:Jec,useValue:2}]).\u0275providers:[],"enabledBlocking"===x$.initialNavigation?lya(2,[{provide:Jec,useValue:0},{provide:uSb,multi:!0,deps:[bv],useFactory:function(a){var b=a.get(DUb,Promise.resolve());return function(){return b.then(function(){return new Promise(function(c){var d=a.get(nG),e=a.get(Iec);iya(d,function(){c(!0)});
a.get(hG).afterPreactivation=function(){c(!0);return e.closed?(0,E.of)(void 0):e};d.initialNavigation()})})}}}]).\u0275providers:[]]:$nd=[];
Xnd={ngModule:tG,providers:[Mec,[],{provide:aec,multi:!0,useValue:[]},Ynd,{provide:kec,useValue:x$?x$:{}},(null==x$?0:x$.useHash)?{provide:xw,useClass:zw}:{provide:xw,useClass:yw},{provide:Eec,useFactory:function(){var a=Ac(HUb),b=Ac(We),c=Ac(kec),d=Ac(hG),e=Ac($F);c.scrollOffset&&a.setOffset(c.scrollOffset);return new sG(e,d,a,b,c)}},Znd,{provide:RTb,multi:!0,useFactory:function(){return new RTb("Router",nG)}},$nd,(null==x$?0:x$.bindToComponentInputs)?lya(8,[fG,{provide:Adc,useExisting:fG}]).\u0275providers:
[],[{provide:Nec,useFactory:function(){var a=Ac(bv);return function(b){var c=a.get(Wv);if(b===c.components[0]){b=a.get(nG);var d=a.get(Iec);1===a.get(Jec)&&b.initialNavigation();var e;null==(e=a.get(Kec,null,8))||Bec(e);var g;null==(g=a.get(Eec,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:QTb,multi:!0,useExisting:Nec}]]};
var y$=function(a,b){a.config=Vnd.map(xxa);a.navigated=!1;a.lastSuccessfulId=-1;a.initialNavigation();Sic(b)};y$.\u0275fac=function(a){return new (a||y$)(u(nG),u(QI))};y$.\u0275mod=Ic({type:y$});y$.\u0275inj=rc({providers:[{provide:"dontActivate",useValue:function(){return!1}},{provide:kG,useClass:F6},{provide:GUb,useValue:Wnd},I6,G6],imports:[Xnd,E6,w$,tG]});var z$=function(){};z$.\u0275fac=function(a){return new (a||z$)};z$.\u0275mod=Ic({type:z$});z$.\u0275inj=rc({providers:[{provide:TFc,useFactory:THb},{provide:aHc,useValue:{prodApiKey:"AIzaSyB9Ljnt9FDyfTnTH2yeDn6lGM40PQm6Gsk",stagingApiKey:"AIzaSyCYqhU0fWA9T487wYfx1ogB9z2mNJ9AQco",autopushApiKey:"AIzaSyBEveljwBki0sKCHdprNdJJPZrqTnIwIcM"}},{provide:SFc,useValue:"AIzaSyAVSCxcE30nYSaySrZXBXCTumqIjorZA2c"}]});var A$={},aod=(A$.NETWORK_DOWNLOADING=[{type:"INPUT",question:"What specific URL can reproduce the problem?",answerPrefix:"Example URL: "}],A$.AUDIO_VIDEO=[{type:"SELECT",question:"Does this feature work correctly in other browsers?",answerPrefix:"Does this work in other browsers?\n",options:["Not sure - I don't know","Yes - This is just a Chromium problem",{text:"No - I can reproduce the problem in another browser",child:{type:"INPUT",question:"Which other browsers (including versions) also have the problem?"}}]},
{type:"TEXT",question:"Please open chrome://gpu in a new Chrome tab and paste the report here.",answerPrefix:"Contents of chrome://gpu: \n"}],A$.CONTENT=[{type:"INPUT",question:"What specific URL has a problem?",answerPrefix:"Example URL: "},{type:"SELECT",question:"Does the problem occur on multiple sites?",options:["Not sure - I don't know","Yes - Please describe below","No - Just that one URL"]},{type:"SELECT",question:"Is it a problem with a plugin?",options:["Not sure - I don't know",{text:"Yes - Those darn plugins",
child:{type:"INPUT",question:"Which plugin?"}},"No - It's the browser itself"]},{type:"SELECT",question:"Does this feature work correctly in other browsers?",answerPrefix:"Does this work in other browsers? ",options:["Not sure - I don't know","Yes - This is just a Chromium problem",{text:"No - I can reproduce the problem in another browser",child:{type:"INPUT",question:"Which other browsers (including versions) also have the problem?"}}]}],A$.APPS=[{type:"INPUT",question:jn(fn("What is the link to that software in "),
UHb("the Chrome Webstore","https://chrome.google.com/webstore"),fn("?")),answerPrefix:"Webstore page: "}],A$.EXTENSIONS_THEMES=[{type:"SELECT",question:"What kind of software had the problem?",options:["Chrome Extension - Adds new browser functionality",{text:"Chrome Theme - Makes Chrome look awesome",child:{type:"INPUT",question:"Do you know the latest version where it worked?"}}]},{type:"INPUT",question:jn(fn("What is the link to that software in "),UHb("the Chrome Webstore","https://chrome.google.com/webstore"),
fn("?")),answerPrefix:"WebStore page: "}],A$.WEBSTORE=[{type:"INPUT",question:"What is the URL of the Chrome WebStore page that had the problem?",answerPrefix:"Webstore page: "}],A$.CRASHES=[{type:"INPUT",question:"Do you have a Report ID from chrome://crashes?",answerPrefix:"Crashed report ID: "},{type:"SELECT",question:"How severe is the crash?",options:["Just one tab","Just one plugin","The whole browser"],answerPrefix:"How much crashed? "},{type:"SELECT",question:"Is it a problem with a plugin?",
options:["Not sure - I don't know",{text:"Yes - Those darn plugins",child:{type:"INPUT",question:"Which plugin?"}},"No - It's the browser itself"]}],A$.OTHER=[{type:"SELECT",question:"Please select a label to classify your issue:",options:["Not sure - I don't know","Type-Feature - Request for new or improved features","Type-Bug-Regression - Used to work, now broken","Type-Bug - Software not working correctly","Cr-UI-I18N - Issue in translating UI to other languages"]}],A$.API=[{type:"SELECT",question:jn(fn("Which "),
UHb("component","https://bugs.chromium.org/p/chromium/adminComponents"),fn(" does this fall under?")),answerPrefix:"Which component does this fall under?",options:"Not sure - I don't know;Blink>Animation;Blink>BackgroundSync;Blink>Bindings;Blink>Bluetooth;Blink>Canvas;Blink>Compositing;Blink>CSS;Blink>DataTransfer;Blink>DOM;Blink>Editing;Blink>FileAPI;Blink>Focus;Blink>Fonts;Blink>Forms;Blink>Fullscreen;Blink>GamepadAPI;Blink>GetUserMedia;Blink>HitTesting;Blink>HTML;Blink>Image;Blink>INPUT;Blink>Internals;Blink>Javascript;Blink>Layout;Blink>Loader;Blink>Location;Blink>Media;Blink>MediaStream;Blink>MemoryAllocator;Blink>Messaging;Blink>Network;Blink>Paint;Blink>Payments;Blink>PerformanceAPIs;Blink>PermissionsAPI;Blink>PresentationAPI;Blink>PushAPI;Blink>SavePage;Blink>Scheduling;Blink>Scroll;Blink>SecurityFeature;Blink>ServiceWorker;Blink>Speech;Blink>Storage;Blink>SVG;Blink>TEXTAutosize;Blink>TEXTEncoding;Blink>TEXTSELECTion;Blink>USB;Blink>Vibration;Blink>ViewSource;Blink>WebAudio;Blink>WebComponents;Blink>WebCrypto;Blink>WebFonts;Blink>WebGL;Blink>WebGPU;Blink>WebMIDI;Blink>WebRTC;Blink>WebShare;Blink>WebVR;Blink>WindowDialog;Blink>Workers;Blink>XML".split(";")},
{type:"SELECT",question:"Does this feature work correctly in other browsers?",answerPrefix:"Does this work in other browsers? ",options:["Not sure - I don't know","Yes - This is just a Chrome problem",{text:"No - I can reproduce the problem in another browser",child:{type:"TEXT",question:"Details of interop issue"}}]}],A$);var B$=function(){};B$.\u0275fac=function(a){return new (a||B$)};B$.\u0275mod=Ic({type:B$});B$.\u0275inj=rc({imports:[dz,dz]});var C$=function(){};C$.\u0275fac=function(a){return new (a||C$)};C$.\u0275mod=Ic({type:C$});C$.\u0275inj=rc({providers:[ijd,iz],imports:[dz,sw,sx,T6,MB,nz,dz]});var D$=function(){};D$.\u0275fac=function(a){return new (a||D$)};D$.\u0275mod=Ic({type:D$});D$.\u0275inj=rc({providers:[{provide:Yid,useValue:aod}],imports:[N_,tF,$w,iC,B$,$N,mA,aN,dO,C$,Q_]});var E$=function(){};E$.\u0275fac=function(a){return new (a||E$)};E$.\u0275mod=Ic({type:E$});E$.\u0275inj=rc({imports:[tF,iC,JC,zF,$w,ax,G0]});var F$=function(){};F$.\u0275fac=function(a){return new (a||F$)};F$.\u0275mod=Ic({type:F$});F$.\u0275inj=rc({imports:[aS,tF,G0,DT,$w,WM,JC,$N,x1,jV]});var G$=function(){};G$.\u0275fac=function(a){return new (a||G$)};G$.\u0275mod=Ic({type:G$});G$.\u0275inj=rc({imports:[tF,iC,JC,zF,$w,ax,G0]});var H$=function(){};H$.\u0275fac=function(a){return new (a||H$)};H$.\u0275mod=Ic({type:H$});H$.\u0275inj=rc({imports:[aS,WM,ZM,tF,vO,DM,iC]});var I$=function(){};I$.\u0275fac=function(a){return new (a||I$)};I$.\u0275mod=Ic({type:I$});I$.\u0275inj=rc({imports:[sw,$w,dA,a6,ax]});var J$=function(){};J$.\u0275fac=function(a){return new (a||J$)};J$.\u0275mod=Ic({type:J$});J$.\u0275inj=rc({imports:[aS,P_,eO,tR,ZY,b6,jA,DT,$w,YS,S_,WM,Y_,IZ,H$,iC,aA,x7,EB,eT,JC,b6,hJ,ax,I$,jV,tF,Qy,Q_,Z_]});var K$=function(){};K$.\u0275fac=function(a){return new (a||K$)};K$.\u0275mod=Ic({type:K$});K$.\u0275inj=rc({imports:[aS,tF,G0,DT,$w,WM,JC,J1]});var L$=function(){};L$.\u0275fac=function(a){return new (a||L$)};L$.\u0275mod=Ic({type:L$});L$.\u0275inj=rc({imports:[tF,JC,iC,rM,G0,YS,S_,hY,zF,aA,$w,ax,EB,K0]});var M$=function(){};M$.\u0275fac=function(a){return new (a||M$)};M$.\u0275mod=Ic({type:M$});M$.\u0275inj=rc({imports:[aA,$N,tF,cz,iC,eO,oT,Q_]});var N$=function(){};N$.\u0275fac=function(a){return new (a||N$)};N$.\u0275mod=Ic({type:N$});N$.\u0275inj=rc({imports:[tF,JC,iC,rM,G0,zF,aA,$w,ax,EB,K0]});var O$=function(){};O$.\u0275fac=function(a){return new (a||O$)};O$.\u0275mod=Ic({type:O$});O$.\u0275inj=rc({imports:[aS,tF,G0,$w,$M,WM,rM,JC,K0,$N,J1,ZM]});var P$=function(){};P$.\u0275fac=function(a){return new (a||P$)};P$.\u0275mod=Ic({type:P$});P$.\u0275inj=rc({imports:[tF,O0,ZM,iC]});var Q$=function(){};Q$.\u0275fac=function(a){return new (a||Q$)};Q$.\u0275mod=Ic({type:Q$});Q$.\u0275inj=rc({imports:[tF,iC,L1,ZM]});var R$=function(){};R$.\u0275fac=function(a){return new (a||R$)};R$.\u0275mod=Ic({type:R$});R$.\u0275inj=rc({imports:[tF,rZ,l1]});var S$=function(){};S$.\u0275fac=function(a){return new (a||S$)};S$.\u0275mod=Ic({type:S$});S$.\u0275inj=rc({imports:[tF,mO,$w,rM,tO,K0,WM,x7,iC,$N,JC,aA,UM,ZM]});var T$=function(){};T$.\u0275fac=function(a){return new (a||T$)};T$.\u0275mod=Ic({type:T$});T$.\u0275inj=rc({});var U$=function(){};U$.\u0275fac=function(a){return new (a||U$)};U$.\u0275mod=Ic({type:U$});U$.\u0275inj=rc({imports:[aS,tF,mO,rZ,jZ,x5,E5,J5,a0,G0,O5,$w,T$,$M,WM,iC,$N,aA,dO,eT,rM,JC,K0,u9,x1,S$,UM,tG,Qy,R$,v1,ZM,jV,SM,p$]});var V$=function(){};V$.\u0275fac=function(a){return new (a||V$)};V$.\u0275mod=Ic({type:V$});V$.\u0275inj=rc({imports:[tF,G0,$w,T$,$M,iC,$N,rM,JC,eT,K0,tG,UM,Qy,v1,l1]});var W$=function(){};W$.\u0275fac=function(a){return new (a||W$)};W$.\u0275mod=Ic({type:W$});W$.\u0275inj=rc({imports:[dO,tF,$w]});var X$=function(){};X$.\u0275fac=function(a){return new (a||X$)};X$.\u0275mod=Ic({type:X$});X$.\u0275inj=rc({providers:[{provide:Tnc,useValue:{enabled:!0}}],imports:[Y4,yX,tF,$w,$M,$N,iC,iC,aA,dO,mA,eT,mN,EB,rM,JC,JC,AZ,hJ,fT,W$,ZM,tR]});var Y$=function(){};Y$.\u0275fac=function(a){return new (a||Y$)};Y$.\u0275mod=Ic({type:Y$});Y$.\u0275inj=rc({imports:[tF,$w,JC,jA,mA]});var Z$=function(){};Z$.\u0275fac=function(a){return new (a||Z$)};Z$.\u0275mod=Ic({type:Z$});Z$.\u0275inj=rc({imports:[tF,zF,iC]});var bod=function(){};bod.prototype.send=function(a,b){Jza(a);return this.makeRequest(a).then(function(c){return b?Fza(b,c):c})};var hs=function(a,b,c,d,e){this.gapiUrl=a;this.gapiKey=b;this.gapiConfigUpdates=c||{};this.gapiAuthParams=d||{};this.defaultApiId=e};U(hs,bod);hs.prototype.getGapi=function(){var a=this;return $Ga().then(function(b){b=b||window.gapi;a.setGapiConfig(b);return fHa(b,{apiKey:a.gapiKey,clientId:a.gapiAuthParams.clientId,scope:a.gapiAuthParams.scope,hostedDomain:a.gapiAuthParams.hostedDomain,fetchBasicProfile:a.gapiAuthParams.fetchBasicProfile}).then(function(){return b})})};
hs.prototype.makeRequest=function(a){var b=this;return this.getGapi().then(function(c){return he(function(d){if(1==d.nextAddress)return void 0===b.gapiAuthParams.minAuthTokenTimeRemaining?d.jumpTo(2):d.yield(eHa(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})))})})};
hs.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)})})};hs.prototype.setGapiConfig=function(a){for(var b in this.gapiConfigUpdates)this.gapiConfigUpdates.hasOwnProperty(b)&&cHa(a,b,this.gapiConfigUpdates[b])};hs.$inject=["gapiUrl","gapiKey","gapiConfigUpdates","gapiAuthParams","defaultApiId"];var cod={disableCheatSheet:!0};cod=void 0===cod?{}:cod;
var dod=[tF,zY,qO,Rx,fy,VY,Y_,UY,oX,WM,iY,AZ,qX,x1,ZS,kY,OM,aS,V0,MZ,iX,o5,p6,JS,EZ,IZ,KZ,mZ,uO,K$,O$,Q$,P$,D7,n9,b$,d$,F$,U$,V$,$9,O0,L1,a0,Q5,i6,X0,CZ,M0,U_,r6,p5,K5,q5,j6,h1,j1,HP,f1,R_,qY,yX,eO,oT,M$,HO,hX,q1,hY,GZ,t1,N1,Y0,Z0,h6,Q4,ZM,CY,FR,Y$,QM,O4,J5,Z$,O5,t4,tO,mO,CM,X$,Y4,DS,MM,qS,tS,J1,v1,rS,G0,s5,E$,G$,D5,B1,yZ,rZ,sZ,jZ,sS,a1,OZ,I0,c6,S_,H1,z1,f6,E5,WY,$Y,K0,L0,P_,x5,L$,zX,N$,J$,aZ,u$,Z1,z$,Nx,{ngModule:KC,providers:[{provide:P4b,useFactory:function(){var a=ml().config.environmentType||
"QA";return"PROD"===a||"NIGHTLY"===a?{apikey:"AIzaSyB9Ljnt9FDyfTnTH2yeDn6lGM40PQm6Gsk",environment:"prod"}:{apikey:"AIzaSyBEveljwBki0sKCHdprNdJJPZrqTnIwIcM",environment:"nonprod"}},deps:[bv]}]},{ngModule:KM,providers:[hI,{provide:Ghc,useFactory:function(a){return new VHb(new apc("https://appswaldo-pa.clients6.google.com",a.waldoApiKey,a.globalApiKey,Object.assign({},cpc,a.gapiConfig),{scope:"https://www.googleapis.com/auth/calendar.readonly"}))},deps:[bpc]},{provide:bpc,useFactory:function(){return{waldoApiKey:"AIzaSyDvxpDVHooCQawPUQkmQxwrtt-Xdp3Q3so",
globalApiKey:"AIzaSyBuUpn1wi2-0JpM3S-tq2csYx0z2_m_pqc",gapiConfig:{withCredentials:!0}}}}]},{ngModule:q$,providers:[p8,{provide:Ald,useFactory:function(){return{authRealm:1,peopleApiEnv:4,peopleStoreClient:vgd,autocompleteFactory:N8c}}}]},{ngModule:yL,providers:[xL,{provide:unc,useValue:cod}]}];ml().config.enabledFlags.get("enableChromeWizard")&&dod.push(D$);
var eod=[Iid,Q1c,R1c,S1c,T1c,ASc,Ifc,{provide:Znc,useValue:{animationDuration:"0ms"}},{provide:u4b,useValue:{productName:"Buganizer",cooldownMilliseconds:864E5,enableUsageTracking:!0}},{provide:K4b,useValue:{disableTooltipInteractivity:!0}},{provide:Dqc,useValue:"AIzaSyCBj23e6C2MNif_tvceM-CPTXcVDK3sarY"},{provide:Gqc,useValue:"92912"},{provide:mkc,useFactory:WHb},Jid,Sid,Tid,Uid],Vv=function(){};Vv.prototype.ngDoBootstrap=function(){yh("bootstrapping AppModule")};
Vv.\u0275fac=function(a){return new (a||Vv)};Vv.\u0275mod=Ic({type:Vv,bootstrap:[yY,n6]});Vv.\u0275inj=rc({providers:[].concat(Vc(eod)),imports:[dod,y$,BX]});HA(document,"DOMContentLoaded",function(){UTb()});
__._ModuleManager_initialize=function(){};
__._ModuleManager_initialize('c/dSirkf/n90YA/ZGAB2e/b96Luc/M79aPc/nJ4XF',[]);
}catch(e){__._DumpException(e)}
}).call(this,this.default_b);
// Google Inc.
